From 5ef03bb93010acde1a7041246f9ff56e5bb50931 Mon Sep 17 00:00:00 2001 From: Espartaco Palma Date: Mon, 3 Jul 2017 00:33:34 -0700 Subject: [PATCH 0001/2563] Adding To Ruby from Python (es) --- .../ruby-from-other-languages/index.md | 4 +- .../to-ruby-from-python/index.md | 86 +++++++++++++++++++ 2 files changed, 88 insertions(+), 2 deletions(-) create mode 100644 es/documentation/ruby-from-other-languages/to-ruby-from-python/index.md diff --git a/es/documentation/ruby-from-other-languages/index.md b/es/documentation/ruby-from-other-languages/index.md index c71b780e8c..fba1a5c7d5 100644 --- a/es/documentation/ruby-from-other-languages/index.md +++ b/es/documentation/ruby-from-other-languages/index.md @@ -21,6 +21,7 @@ familiarizado. * [A Ruby desde Java](to-ruby-from-java/) * [A Ruby desde PHP](to-ruby-from-php/) +* [A Ruby desde Python](to-ruby-from-python/) Estamos en proceso de traducir todos estos artículos, pero mientras lo hacemos no queremos privarte de que los leas en inglés: @@ -33,8 +34,7 @@ hacemos no queremos privarte de que los leas en inglés: (en inglés) * [To Ruby From PHP](/en/documentation/ruby-from-other-languages/to-ruby-from-php/) (en inglés) -* [To Ruby From Python](/en/documentation/ruby-from-other-languages/to-ruby-from-python/) - (en inglés) + ## Funcionalidades importantes del lenguaje y algunas advertencias diff --git a/es/documentation/ruby-from-other-languages/to-ruby-from-python/index.md b/es/documentation/ruby-from-other-languages/to-ruby-from-python/index.md new file mode 100644 index 0000000000..5ce0c11075 --- /dev/null +++ b/es/documentation/ruby-from-other-languages/to-ruby-from-python/index.md @@ -0,0 +1,86 @@ +--- +layout: page +title: "A Ruby desde Python" +lang: es +--- + +Python es otro muy agradable lenguaje de programación de propósito +general. Al pasar de Python a Ruby encontrarás que hay un poco +más de sintaxis por aprender que con Python. + +### Similaridades + +Como en Python, en Ruby... + +* Existe un prompt interactivo (llamado `irb`). +* Puedes leer la documentación en la línea de comandos (con el +comando `ri` en vez de `pydoc`). +* No hay caracter de terminación de línea (excepto el usual +salto de línea). +* Las cadenas pueden expandirse a varias líneas como las cadenas + de triple entrecomillas. +* Los corchetes son para listas, y las llaves para diccionarios + (los cuales son llamdos “hashes” en Ruby). +* Los Arreglos funcionan de forma similar (al sumarlos se hace uno + mas grande, pero una composición como ésta + `a3 = [ a1, a2 ]` crea un arreglo de arreglos). +* Los objetos están fuerte y dinámicamente tipeados. +* Todo es un objeto, una variable es sólo una referencia a objetos. +* A pesar de que las palabras claves son un poco diferentes, las + excepciones funcionan casi del mismo modo. +* Tiene herramientas de documentación embebidas (la de Ruby se llama + RDoc). +* Existe un buen soporte para programación funcional con + funciones de primera clase, funciones anónimas, y clausuras. + +### Diferencias + +A diferencia de Python, en Ruby... + +* Las cadenas son mutables. +* Puedes tener constantes (variables cuyo valor no pretendes sea modificado). +* Existen algunas convenciones sobre mayúsculas o minísculas (por ejemplo, los + nombres de las clases empiezan con mayúscula, las variables comienzan con + minúscula). +* Existe solo un tipo de contenedores (Array), y es mutable. +* Las cadenas con doble comilla permiten secuencias de escape (como `\t`) + y una sintaxis especial de "expresiones de substitución" (lo que permite + insertar los resultados de una expresión Ruby directamente en otra cadena + sin tener que `"sumar" + "cadenas " + "con operadores"`). Las cadenas + con comilla sencilla son idénticas a los `r"raw strings"` de Python. +* No existe un “nuevo” o “viejo” estilo para definir clases. Solo uno. + (Python 3+ no tiene este problema, pero no es completamente compatible + con Python 2). +* Nunca tienes acceso directo a atributos. En Ruby todo se basa en ejecutar + métodos. +* Los paréntesis en las llamadas a los métodos usualmente son opcionales + y a menudo son omitidos. +* Existe `public`, `private`, y `protected` para restringir el acceso a + métodos, en vez de la `_convencion_` guion bajo `__voluntario__`. +* Se usan los “mixins” en vez de la herencia múltiple. +* Puedes agregar o modificar los métodos de las clases nativas. Ambos + lenguajes permiten abrir y modificar clases en cualquier momento, pero + Python previene la modificación de clases nativas - Ruby no. +* Tienes `true` y `false` en vez de `True` y `False` (y `nil` + en vez de `None`). +* Sólo `false` y `nil` son falsos en las condiciones lógicas. Todo lo demás + es verdadero (incluido `0`, `0.0`, `""`, y `[]`). +* Es `elsif` en vez de `elif`. +* Es `require` en vez de `import`. Por otro lado, su uso es el mismo. +* Los estilo habitual de comentarios es *sobre* la(s) línea(s) superiores + (en vez de los docstrings debajo de ellos) para generar la documentación. +* Hay un cierto número de atajos que, a pesar de que tendrías más cosas + que recordar, aprenderas rápido. Estos tienden a hacer Ruby divertido y + muy productivo. +* No existe una forma de quitar una variable una vez que ha sido establecida + (como el comando `del` de Python). Puedes poner una variable a `nil`, + permitiendo que el contenido anterior sea tomado por el garbage collector, + pero la variable permanecerá en la tabla de símbolos por el tiempo que + siga en su alcance. +* La palabra clave `yield` se comporta de manera diferente. En Python + retornará la ejecución al alcance fuera de la función que lo invoca. + El código externo es reponsable de reiniciar la función. En Ruby `yield` + ejecutará otra función que ha sido pasada como argumento final, y + continuará inmediatamente. +* Python soporta sólo un tipo de funciones anónimas: lambdas, mientras que + Ruby tiene bloques, Procs y lambdas. From 439071784a62c1a8392f4363a7c747a9e5cf629f Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Thu, 19 Oct 2017 23:00:53 +0700 Subject: [PATCH 0002/2563] Improve instructions for mailing lists (id) Add a note for user who cannot subscribe; update translation; add hint to use plain text emails. --- .../mailing-lists/manual-instructions/index.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/id/community/mailing-lists/manual-instructions/index.md b/id/community/mailing-lists/manual-instructions/index.md index 9e83a2ecc0..67a0b7071c 100644 --- a/id/community/mailing-lists/manual-instructions/index.md +++ b/id/community/mailing-lists/manual-instructions/index.md @@ -25,9 +25,12 @@ apabila ada pertanyaan, saran, maupun komentar seputar milis. ### Milis Berbahasa Inggris +CATATAN: Jika Anda tidak dapat berlangganan, mohon mengacu pada +[lists.ruby-lang.org](http://lists.ruby-lang.org). + Untuk berlangganan sebuah milis berbahasa Inggris, silakan kirim e-mail -ke alamat *controller* milis yang Anda inginkan dengan isi pesan (bukan -subjek/judul) sebagai berikut: +ke alamat *controller* milis yang Anda inginkan berikut dengan isi pesan +(bukan judul): subscribe {: .code} @@ -72,6 +75,9 @@ isi pesan “unsubscribe” ke alamat *controller* milis yang Anda inginkan: unsubscribe {: .code} +Pastikan untuk mengirim e-mail yang berisi teks biasa, e-mail yang berisi +HTML mungkin tidak bekerja. + ### Mencari Bantuan Untuk melihat daftar perintah yang ada, kirimkan e-mail dengan isi pesan From 37b1727d3668c2ae992860f9f302cbef506c52fe Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 21 Oct 2017 23:53:43 +0700 Subject: [PATCH 0003/2563] Update community and ruby-core pages (id) Translation improvements; Fix outdated information. --- id/community/index.md | 40 ++++---- id/community/ruby-core/index.md | 165 +++++++++++++++++++------------- 2 files changed, 114 insertions(+), 91 deletions(-) diff --git a/id/community/index.md b/id/community/index.md index f3c5ca05d8..25abdfa2cc 100644 --- a/id/community/index.md +++ b/id/community/index.md @@ -4,27 +4,25 @@ title: "Komunitas" lang: id --- -Satu di antara faktor-faktor penting untuk sebuah bahasa pemrograman -adalah bantuan dari komunitas di sekitar bahasa itu dalam perkembangan -para anggotanya. Ruby mempunyai komunitas yang aktif, ramah dan -berkembang untuk semua orang dari segala tingkatan, dari pemula sampai -pakar. +Komunitas yang menumbuhkan sebuah bahasa pemrograman merupakan salah satu +kekuatan yang paling penting darinya. Ruby memiliki semangat dan komunitas +yang bersahabat untuk semua orang dari segala tingkatan. {: .summary} Jika Anda tertarik untuk berpartisipasi, berikut adalah beberapa tempat untuk memulai petualangan Anda: [Kelompok Pengguna Ruby](user-groups/) -: Kelompok Pengguna Ruby di sekitar tempat Anda adalah tempat yang baik +: Kelompok Pengguna Ruby di sekitar Anda adalah tempat yang baik untuk bertemu dengan programmer Ruby lain. Kelompok-kelompok ini mempunyai otonomi sendiri-sendiri dan biasanya mempunyai pertemuan - bulanan, milis, web situs, dan beberapa grup juga mengadakan codefest - di mana beberapa anggota berkumpul untuk *coding* bersama-sama. + bulanan, milis, web situs, dan jika Anda beruntung, sering + diadakan *codefest*. [Milis Ruby dan Newsgroups](mailing-lists/) -: Ada bermacam-macam milis untuk macam-macam topik di beberapa bahasa. - Para anggota milis tersebut akan dengan senang menjawab - pertanyaan-pertanyaan anda. +: Ruby memiliki bermacam-macam milis untuk berbagai topik dan tersedia + di beberapa bahasa. Jika Anda memiliki pertanyaan terkait Ruby, + menanyakannya di milis adalah cara yang bagus untuk mendapatkan jawaban. **Ruby di IRC** : Anda bisa berbincang-bincang (*chatting*) dengan pengguna Ruby lainnya @@ -34,21 +32,19 @@ untuk memulai petualangan Anda: [#ruby-id](irc://irc.freenode.net/ruby-id) untuk diskusi lokal. [Ruby Core](ruby-core/) -: Selagi Ruby 2.0 sedang dikembangkan, sekarang adalah waktu yang tepat - untuk mengikuti perkembangan Ruby. Jika berminat untuk membantu, - mulailah dari sini +: Sekarang adalah waktu yang tepat untuk mengikuti perkembangan Ruby. + Jika berminat untuk membantu, mulailah dari sini. [Blog tentang Ruby](weblogs/) -: Hampir semua hal yang terjadi di dunia Ruby dikupas tuntas oleh para - blogger yang berdedikasi tinggi. Anda bisa memulai petualangan anda di - dunia Ruby blogging dari daftar ini. +: Sangat jarang yang terjadi pada komunitas Ruby tidak dibicarakan dalam + *blog*. Kami memiliki sebuah daftar saran yang bagus untuk Anda agar + *up to date*. [Ruby Conferences](conferences/) -: Semakin banyak pengguna Ruby di sekeliling dunia hadir di berbagai - konferensi Ruby. Mereka berkumpul dengan pengguna lainnya dan - berbagi-bagi pengalaman, cerita, dan membahas masa depan Ruby. - Pendatang baru di komunitas Ruby janganlah sungkan, Anda dijamin akan - disambut dengan ramah. +: *Programmer* Ruby di seluruh dunia sedang terlibat dalam konferensi- + konferensi, di mana mereka bersama-sama berbagi laporan tentang + *work-in-progress*, diskusi masa depan Ruby, dan menyambut pendatang + baru di komunitas Ruby. [Komunitas Pengguna Ruby Indonesia][2] : Komunitas Pengguna Ruby Indonesia (mayoritas diikuti oleh orang diff --git a/id/community/ruby-core/index.md b/id/community/ruby-core/index.md index e5d160ebb7..a16a459614 100644 --- a/id/community/ruby-core/index.md +++ b/id/community/ruby-core/index.md @@ -4,49 +4,55 @@ title: "Ruby Core" lang: id --- -Sekarang saatnya untuk mengikuti pengembangan Ruby, di saat pengembangan -Ruby terbaru versi 2.0. Dengan semakin banyaknya perhatian masyarakat -informatika terhadap bahasa pemrograman Ruby, semakin dibutuhkan pula -bakat-bakat dari komunitas untuk membantu pengembangan Ruby dan -dokumentasinya. Silakan bergabung! +Sekarang saatnya untuk mengikuti pengembangan Ruby. Dengan bertambahnya +perhatian yang diterima oleh Ruby dalam beberapa tahun terakhir, maka +dibutuhkan bakat yang baik untuk meningkatkan Ruby dan mendokumentasikannya. +Sehingga, dari mana Anda memulai? {: .summary} Topik seputar pengembangan Ruby yang dibahas disini adalah: * [Menggunakan Subversion untuk Memonitor Pengembangan Ruby](#following-ruby) -* [Menyempurnakan Ruby, dengan patch](#patching-ruby) +* [Bagaimana Menggunakan Git pada Repository Utama Ruby](#git-ruby) +* [Menyempurnakan Ruby, Patch by Patch](#patching-ruby) * [Peraturan untuk Developer Inti](#coding-standards) ### Menggunakan Subversion untuk Memonitor Pengembangan Ruby {: #following-ruby} -Instalasi [Subversion][1] terlebih dahulu. - -Lakukan `svn checkout` *source code* Ruby dengan login sebagai anonim. -Jadi di *console* Anda ketik: +Mendapatkan kode sumber Ruby terbaru dengan melakukan *checkout* sebagai anonim +pada repositori [Subversion][1]. Masukan perintah berikut pada *console* Anda: {% highlight sh %} $ svn co https://svn.ruby-lang.org/repos/ruby/trunk ruby {% endhighlight %} -Sekarang direktori `ruby` berisi *source code* Ruby 1.9 yang paling -terbaru (trunk), yang merupakan versi development Ruby, yang akan -dirilis sebagai 1.9.0 di akhir tahun 2007. +Sekarang direktori `ruby` akan berisi kode sumber terbaru dari versi +*development* Ruby (ruby-trunk). Saat ini *patch* yang digunakan oleh *trunk* +di-*backport* ke *branch stable* {{ site.svn.stable.version }}, +{{ site.svn.previous.version }}, dan {{ site.svn.old.version }} (lihat bawah). + +Jika Anda ingin *patching* Ruby {{ site.svn.stable.version }}, +gunakan *branch* {{ site.svn.stable.branch }} ketika sedang *checkout*: + +{% highlight sh %} +$ svn co https://svn.ruby-lang.org/repos/ruby/branches/{{ site.svn.stable.branch }} +{% endhighlight %} -Kalau Anda berminat mempatch Ruby 1.8, gunakan *branch* `ruby_1_8` -ketika svn checkout: +Demikian pula untuk Ruby {{ site.svn.previous.version }}: {% highlight sh %} -$ svn co https://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 +$ svn co https://svn.ruby-lang.org/repos/ruby/branches/{{ site.svn.previous.branch }} {% endhighlight %} -Perintah tadi untuk *checkout* direktori pengembangan Ruby versi 1.8. -Developer yang bekerja di Ruby 1.8 diharapkan melakukan migrasi -perubahan mereka ke trunk Ruby, sangat sering dua branch kelihatan -sangat mirip, dengan pengecualian adanya perbaikan yang dibuat oleh Matz -dan Nobu untuk bahasa Ruby sendiri. +Perintah di atas akan melakukan *checkout* masing-masing ke direktori +`{{ site.svn.stable.branch }}` or `{{ site.svn.previous.branch }}`. +Pekerjaan pengembang pada *maintenance branch* diharapkan untuk migrasi +perubahannya ke Ruby *trunk*, seringkali *branch-branch* kelihatan sangat +mirip, dengan pengecualian ada perbaikan yang dibuat oleh Matz dan Nobu untuk +bahasa Ruby sendiri. -Kalau Anda berminat *browsing*, Anda bisa *browse* [repository Ruby via +Kalau Anda berminat *browsing*, Anda bisa *browse* [repository Ruby melalui web][2]. Untuk informasi lebih lanjut tentang Subversion, silakan lihat [the @@ -54,91 +60,112 @@ Subversion FAQ][3] dan [the Subversion book][4]. Sebagai alternatif, Anda bisa juga dapatkan buku [Pragmatic Version Control with Subversion][5] sebagai buku yang berguna untuk pengenalan svn. +### Bagaimana Menggunakan Git pada Repositori Utama Ruby +{: #git-ruby} + +Bagi mereka yang lebih memilih menggunakan [Git][6] dibanding Subversion dapat +mengikuti instruksi di [mirror on GitHub][7], baik untuk [comitter][8] +maupun [bukan commiter][9]. + ### Menyempurnakan Ruby, dengan Patch {: #patching-ruby} -Rubyforge mempunyai [bug tracker][6] dengan submit patch dan bug report -(laporan adanya bug) ke Matz dan rekan-rekan lainnya (Developer Ruby -Core). Laporan-laporan ini juga di submit ke -[milis Ruby-Core][mailing-lists] untuk didiskusikan, -jadi Anda bisa mengkonfirmasi terlebih dahulu apakah permintaan Anda -akan diperhatikan atau tidak. Anda juga bisa mengirim patch langsung ke -milis. Anda diharapkan untuk berpartisipasi aktif dalam diskusi -tersebut. +Tim Ruby Core merawat [bug tracker][6] untuk memasukkan *patch* dan laporan +*bug* ke Matz dan rekan-rekannya. Laporan-laporan ini juga dimasukkan ke +[milis Ruby-Core][mailing-lists] untuk didiskusikan, jadi Anda bisa +mengkonfirmasi terlebih dahulu apakah permintaan Anda akan diperhatikan atau +tidak. Anda juga bisa mengirim *patch* langsung ke milis. Anda diharapkan +untuk berpartisipasi aktif dalam diskusi tersebut. + +Mohon lihat [Patch Writer's Guide][writing patches] untuk beberapa tips, +langsung dari Matz, bagaimana *patch* Anda dipertimbangkan. -Sebagai ringkasan, jadi langkah-langkah mengirimkan patch adalah sebagai +Sebagai ringkasan, langkah-langkah mengirimkan *patch* adalah sebagai berikut: -1. Jika Anda memperbaiki bug di Ruby 1.8, check out dulu copy dari Ruby - 1.8 dengan svn pada branch `ruby_1_8`. +1. *Checkout* salinan kode sumber Ruby dari Subversion. + Biasanya *patch* untuk *bugfix* atau fitur baru dimasukkan + untuk *trunk* dari kode sumber Ruby. Bahkan jika Anda ingin menambahkan + sebuah fitur ke Ruby {{ site.svn.previous.version }}, perubahan harus + disetujui terlebih dahulu di *trunk*. - $ svn co https://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 + $ svn co https://svn.ruby-lang.org/repos/ruby/trunk ruby - Jika Anda ingin menambahkan fitur ke Ruby, lakukan check out dari - `trunk` Ruby source. Walaupun jika Anda ingin menambahkan fitur ke - Ruby 1.8, fitur tersebut harus disetujui dulu di trunk. + Jika Anda sedang memperbaiki sebuah *bug* yang khusus pada satu *branch + maintenance*, *checkout* salinan dari masing-masing *branch*, + Misal, `{{ site.svn.previous.branch }}`. - $ svn co https://svn.ruby-lang.org/repos/ruby/trunk ruby + $ svn co https://svn.ruby-lang.org/repos/ruby/branches/{{ site.svn.previous.branch }} 2. Tambahkan perbaikan Anda ke *source code* Ruby. -3. Buat patch untuk perbaikan Anda. - $ svn diff > ruby-changes.patch +3. Buat sebuah *patch*. + + $ svn diff > ruby-changes.patch -4. Email patch Anda ke [milis Ruby-Core][mailing-lists] dengan entri - ChangeLog yang menjelaskan patch. -5. Jika tidak ada masalah dengan patch, maka para committer akan - melakukan patch tersebut. +4. Buat sebuah tiket di [issue tracker][10] atau kirim *patch* melalui e-mail + ke [Ruby-Core mailing list][mailing-lists] dengan entri ChangeLog yang + menjelaskan patch. -**Perhatian:** patch harus dikirimkan dalam format [unified diff][7]. -Untuk mengetahui lebih lanjut tentang bagaimana patch digabungkan -(*merge*), lihat [the diffutils reference][8]. +5. Jika tidak ada masalah dengan *patch* tersebut, maka para *committer* akan + memberikan persetujuan untuk menggunakannya. + +**Perhatian:** *patch* harus dikirimkan dalam format [unified diff][12]. +Untuk mengetahui lebih lanjut tentang bagaimana *patch* digabungkan +(*merge*), lihat [the diffutils reference][13]. Diskusi tentang pengembangan Ruby dibicarakan di [milis Ruby-Core][mailing-lists]. Jadi kalau Anda penasaran apakah patch Anda berguna atau tidak atau bila Anda ingin memulai diskusi tentang masa depan Ruby, jangan sungkan untuk datang -kemari. Jangan mempost hal-hal di luar topik (OOT) karena milis ini +kemari. Jangan mengirimkan hal-hal di luar topik (OOT) karena milis ini adalah milis serius. Mari kita menjaga sopan santun karena kita berkorespondensi dengan pembuat Ruby. -Ingatlah Developer Ruby Core tinggal di Jepang dan walau banyak yang -bisa berbicara bahasa Inggris dengan baik tetap ada perbedaan timezone -yang jauh. Mereka juga punya milis development yang menggunakan bahasa -Jepang selain dengan milis yang Bahasa Inggris. Jadi sabarlah jika tidak -ada yang membalas posting anda; jangan menyerah dan coba lagi beberapa +Ingatlah tim Ruby Core tinggal di Jepang dan walau banyak yang +bisa berbicara bahasa Inggris dengan baik tetap ada perbedaan zona waktu +yang jauh. Mereka juga punya milis pengembangan yang menggunakan bahasa +Jepang selain dengan milis berbahasa Inggris. Jadi sabarlah, jika tidak +ada yang membalas kiriman Anda; jangan menyerah dan coba lagi beberapa hari kemudian. ### Pedoman untuk Pengembang Inti {: #coding-standards} -Secara umum developer Ruby harus sudah terbiasa dengan *source code* dan -*style* pengembangan yang digunakan oleh tim Ruby Core. Supaya jelas, +Secara umum developer Ruby harus sudah terbiasa dengan kode sumber dan +gaya pengembangan yang digunakan oleh tim Ruby Core. Supaya jelas, pedoman berikut harus dipatuhi ketika *check-in* (*commit*) ke Subversion: * Semua check-ins harus dijelaskan di `ChangeLog`, yang mengikuti - [standar GNU][9]. (Banyak Developer Ruby Core menggunakan Emacs + [standar GNU][14]. (Banyak Developer Ruby Core menggunakan Emacs `add-log` mode, yang bisa diakses dengan perintah `C-x 4 a`.) -* Tanggal check-in harus diberikan dalam format Time Standar Jepang - (UTC+9). -* Poin-poin ChangeLog Anda harus ditaruh juga di pesan commit - Subversion. Pesan ini secara otomatis di email ke milis Ruby-CVS - setelah Anda commit. -* Deklarasi function ANSI digunakan di seluruh *source code* Ruby dan - *packaged extension*. -* Tolong jangan gunakan comment style C++ (`//`), maintainer Ruby +* Tanggal *check-in* harus diberikan dalam format yang memenuhi standar + waktu Jepang (UTC+9). +* Poin-poin ChangeLog Anda harus ditaruh juga di pesan *commit* + Subversion. Pesan ini secara otomatis di e-mail ke milis Ruby-CVS + setelah Anda *commit*. +* *Function prototype* digunakan di seluruh kode sumber Ruby dan + *packaged extension*-nya. +* Tolong jangan gunakan gaya komentar C++ (`//`), *maintainer* Ruby cenderung memakai komentar multibaris standar C (`/* .. */`). +Lihat juga informasi di [Ruby’s issue tracker][10]. + -[mailing-lists]: /id/community/mailing-lists/ +[mailing-lists]: /en/community/mailing-lists/ +[writing-patches]: /en/community/ruby-core/writing-patches/ [1]: http://subversion.apache.org/ [2]: https://svn.ruby-lang.org/cgi-bin/viewvc.cgi/ [3]: http://subversion.apache.org/faq.html [4]: http://svnbook.org [5]: http://www.pragmaticprogrammer.com/titles/svn/ -[6]: http://rubyforge.org/tracker/?func=browse&group_id=426&atid=1698 -[7]: http://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html -[8]: http://www.gnu.org/software/diffutils/manual/html_node/Merging-with-patch.html#Merging%20with%20patch -[9]: http://www.gnu.org/prep/standards/standards.html#Change-Logs +[6]: http://git-scm.com/ +[7]: https://github.com/ruby/ruby +[8]: https://github.com/shyouhei/ruby/wiki/committerhowto +[9]: https://github.com/shyouhei/ruby/wiki/noncommitterhowto +[10]: https://bugs.ruby-lang.org/ +[12]: http://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html +[13]: http://www.gnu.org/software/diffutils/manual/html_node/Merging-with-patch.html#Merging%20with%20patch +[14]: http://www.gnu.org/prep/standards/standards.html#Change-Logs From 6320b95ec8e1694fe7710f0777260516c9a7d64e Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 24 Oct 2017 20:47:21 +0200 Subject: [PATCH 0004/2563] Remove Solaris section from installation page (en) The section is very out-of-date. --- en/documentation/installation/index.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index fb55f44957..7f2d047c52 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -34,7 +34,7 @@ for different needs and platforms. * [Arch Linux](#pacman) * [OS X](#homebrew) * [FreeBSD](#freebsd) - * [Solaris, OpenIndiana](#solaris) + * [OpenIndiana](#openindiana) * [Other Distributions](#other-systems) * [Installers](#installers) * [ruby-build](#ruby-build) @@ -153,14 +153,8 @@ More information about Ruby and its surrounding ecosystem on FreeBSD can be found on the [FreeBSD Ruby Project website][freebsd-ruby]. -### Ruby on Solaris and OpenIndiana -{: #solaris} - -Ruby 1.8.7 is available for Solaris 8 through Solaris 10 on -[Sunfreeware][sunfreeware] and Ruby 1.8.7 is available at -[Blastwave][blastwave]. -Ruby 1.9.2p0 is also available at [Sunfreeware][sunfreeware], -but this is outdated. +### Ruby on OpenIndiana +{: #openindiana} To install Ruby on [OpenIndiana][openindiana], please use the Image Packaging System (IPS) client. @@ -307,8 +301,6 @@ though, because the installed Ruby won't be managed by any tools. [rubyinstaller]: https://rubyinstaller.org/ [railsinstaller]: http://railsinstaller.org/ [rubystack]: http://bitnami.com/stack/ruby/installer -[sunfreeware]: http://www.sunfreeware.com -[blastwave]: http://www.blastwave.org [openindiana]: http://openindiana.org/ [gentoo-ruby]: http://www.gentoo.org/proj/en/prog_lang/ruby/ [freebsd-ruby]: https://wiki.freebsd.org/Ruby From 077bec13b683435585a58fad0a33bddd9bd6a9f0 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 25 Dec 2017 19:34:03 +0700 Subject: [PATCH 0005/2563] Fix Patch Writer's Guide link --- id/community/ruby-core/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id/community/ruby-core/index.md b/id/community/ruby-core/index.md index a16a459614..a187a542d1 100644 --- a/id/community/ruby-core/index.md +++ b/id/community/ruby-core/index.md @@ -77,7 +77,7 @@ mengkonfirmasi terlebih dahulu apakah permintaan Anda akan diperhatikan atau tidak. Anda juga bisa mengirim *patch* langsung ke milis. Anda diharapkan untuk berpartisipasi aktif dalam diskusi tersebut. -Mohon lihat [Patch Writer's Guide][writing patches] untuk beberapa tips, +Mohon lihat [Patch Writer's Guide][writing-patches] untuk beberapa tips, langsung dari Matz, bagaimana *patch* Anda dipertimbangkan. Sebagai ringkasan, langkah-langkah mengirimkan *patch* adalah sebagai From 40891ff3ecc66b69f725a97f316db1554b08c0a4 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 26 Dec 2017 21:11:10 +0700 Subject: [PATCH 0006/2563] Add Slack chatroom link of Indonesian Ruby community --- id/community/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/id/community/index.md b/id/community/index.md index 25abdfa2cc..d184623392 100644 --- a/id/community/index.md +++ b/id/community/index.md @@ -52,7 +52,9 @@ untuk memulai petualangan Anda: juga orang Indonesia yang sedang tinggal di luar negeri). Berdiskusi tentang Ruby berikut semua varian-varian Ruby (seperti JRuby, Rubinius, XRuby, IronRuby, dan lain sebagainya) termasuk juga - aplikasi-aplikasi yang dibuat dengan Ruby seperti Rails. + aplikasi-aplikasi yang dibuat dengan Ruby seperti Rails. Anda bisa + bergabung ke grup [Slack][6] Ruby Indonesia untuk saling berbagi + dengan komunitas. Informasi Umum Tentang Ruby : * [Ruby Central][3] @@ -65,3 +67,4 @@ Informasi Umum Tentang Ruby [3]: http://rubycentral.org/ [4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ [5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[6]: http://ruby.id/slack/ From 8ae3a4ad8c3fb353c5b790bcfbd0b9c748aedddb Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 13 Jan 2018 21:27:00 +0700 Subject: [PATCH 0007/2563] Translate Ruby 2.4.3 released news (id) --- .../_posts/2017-12-14-ruby-2-4-3-released.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 id/news/_posts/2017-12-14-ruby-2-4-3-released.md diff --git a/id/news/_posts/2017-12-14-ruby-2-4-3-released.md b/id/news/_posts/2017-12-14-ruby-2-4-3-released.md new file mode 100644 index 0000000000..fb1b79c218 --- /dev/null +++ b/id/news/_posts/2017-12-14-ruby-2-4-3-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Ruby 2.4.3 Rilis" +author: "nagachika" +translator: "meisyal" +date: 2017-12-14 00:00:00 +0000 +lang: id +--- + +Ruby 2.4.3 telah dirilis. + +Rilis ini mencakup beberapa perbaikan *bug* dan sebuah celah keamanan. + +* [CVE-2017-17405: Command injection vulnerability in Net::FTP](/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) + +Ada juga beberapa perbaikan *bug*. +Lihat [commit logs](https://github.com/ruby/ruby/compare/v2_4_2...v2_4_3) +untuk lebih detail. + +## Unduh + +* + + SIZE: 12615068 bytes + SHA1: 3ca96536320b915762d57fe1ee540df6810bf631 + SHA256: 0a703dffb7737f56e979c9ebe2482f07751803c71e307c20446b581e0f12cf30 + SHA512: fb4339e30c04d03b1422b6c32ede45902e072cd26325b36f3fc05c341d42eea6431d88718242dcc9ce24d9cad26f3d26772f2e806bd7d93f40be50268c318409 + +* + + SIZE: 14178729 bytes + SHA1: 787b7f4e90fb4b39a61bc1a31eb7765f875a590c + SHA256: fd0375582c92045aa7d31854e724471fb469e11a4b08ff334d39052ccaaa3a98 + SHA512: e6859cee49f74bbfbcfc9dd583aa0f1af007354f9b56ec09959d24764e69ed6ea3d1d59a229ad25b451161a1ea2ac60e0621dbbcc484ad219eed9e55f3825e05 + +* + + SIZE: 10040072 bytes + SHA1: f0a49dddb4e7903a11a80554fd7a317a854cd365 + SHA256: 23677d40bf3b7621ba64593c978df40b1e026d8653c74a0599f0ead78ed92b51 + SHA512: 8bcf60c994a96787da5d743c66f5609a5a6d834d6d61243cdea7fd059197c3b10da43c99e5649be85e2f2329eedcbb1dd76e89ce3ac586be9056348f7449ed09 + +* + + SIZE: 15649173 bytes + SHA1: 19744d7673914804b46f75b374faee87b2ea18d9 + SHA256: a4cd07af2cef121582b8bf7ec57fb9a916d99556c713538bc4469be68bfc1961 + SHA512: 5e51b4337ee12041925dd6b91df6d0c7fc5bf19846c1c8d5aa43823f5410d1291cd428bdb5245f08a399051d06c2cb59fde73a7d3da379cbbd24f9c2b60fcc8c + +## Komentar Rilis + +Banyak *commiter*, pengembang, dan pengguna yang telah menyediakan laporan +*bug* membantu kami untuk membuat rilis ini. +Terima kasih atas kontribusinya. From e1cf60899d4c1961f5c9868469c97488e3454d69 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 15 Jan 2018 21:11:58 +0700 Subject: [PATCH 0008/2563] Translate Ruby 2.5.0-rc1 released news (id) --- .../2017-12-14-ruby-2-5-0-rc1-released.md | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md diff --git a/id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md b/id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md new file mode 100644 index 0000000000..e52d6930cc --- /dev/null +++ b/id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md @@ -0,0 +1,92 @@ +--- +layout: news_post +title: "Ruby 2.5.0-rc1 Rilis" +author: "naruse" +translator: "meisyal" +date: 2017-12-14 00:00:00 +0000 +lang: id + +Kami dengan senang hati mengumumkan rilis dari Ruby 2.5.0-rc1. + +Ruby 2.5.0-rc1 adalah kandidat rilis pertama dari Ruby 2.5.0. +Rilis ini memperkenalkan beberapa fitur baru dan perbaikan performa, sebagai +contoh: + +## Fitur Baru + +* Mencetak *backtrace* dan pesan *error* dalam urutan terbalik jika STDERR + tidak berubah dan adalah sebuah tty. + [Feature #8661] [experimental] + +* *Top-level constant look-up* dihapus. [Feature #11547] + +* rescue/else/ensure diperbolehkan di dalam blok do/end. [Feature #12906] + +* Menambahkan yield\_self. [Feature #6721] + +## Perbaikan performa + +* Instrumentasi dinamis untuk TracePoint *hooks* sebagai ganti penggunaan + instruksi "trace" untuk menghindari *overhead*. [Feature #14104] + +* Performa dari *block passing* menggunakan *block parameter* diperbaiki oleh + alokasi *lazy* Proc. [Feature #14045] + +* Mutex ditulis kembali agar lebih kecil dan cepat. [Feature #13517] + +* SecureRandom sekarang memilih sumber yang disediakan oleh OS daripada + OpenSSL. [Bug #9569] + +## Perubahan penting lainnya sejak 2.4 + +* Memperbarui Onigmo ke 6.1.3. + Ini menambahkan [absence operator](https://github.com/k-takata/Onigmo/issues/87). + Perhatikan jika Ruby 2.4.1 juga memasukkan perubahan ini. +* Menambahkan Bundler ke pustaka standar. +* Memperbarui RubyGems ke 2.7.0. +* Memperbarui RDoc ke 6.0.0. + * Mengubah *lexer* dari yang berbasis IRB ke Ripper; + Ini sangat meningkatkan kecepatan untuk menghasilkan dokumentasi. + [https://github.com/ruby/rdoc/pull/512] + * Memperbaiki banyak *bug* dari belasan tahun terakhir atau lebih. + * Mendukung sintaks Ruby baru dari beberapa tahun terakhir, +* Memperbarui versi Unicode ke 10.0.0. + +Lihat [NEWS](https://github.com/ruby/ruby/blob/v2_5_0_rc1/NEWS) +atau *commit log* untuk detail. + +Dengan perubahan tersebut, +[6162 berkas berubah, 339744 sisipan(+), 28699 terhapus(-)](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0_rc1) +sejak Ruby 2.4.0! + +Nikmati Ruby 2.5.0-rc1! + +## Unduh + +* + + SIZE: 31049529 bytes + SHA1: 15df7e8ff99f360a14f7747a07a3021447d65594 + SHA256: 46c11b347522de174566503d35d2b46e1529b979d292b1f7f7019cfedcd4b07f + SHA512: 41cd298e99d7a25fe5f2ec42946ae5dbc4421bb18f39350ba8a1b02e999541ec1b21b5f6ce0489b3a159f47e37d409178ba7c21c00e177b0fdb410ca6e9d6142 + +* + + SIZE: 35579788 bytes + SHA1: b7ae42eb733d4a0e3a2d135c9f8d4af043daa728 + SHA256: 9858e39fd2e7bf207cc9f8846197b11ada5f4424f433ff4df149fe3d48be8e36 + SHA512: 86c93791d312fd2175909020e448a44892740feb809a532ed706c6d850cb92722fb7ca02ecbdf7a1fbeb5b4f42f1338ce9a15b7c0a41055937bd1fdfb4be6f11 + +* + + SIZE: 29238901 bytes + SHA1: 6aad74ed3d30de63c6ff22048cd0fcbcbe123586 + SHA256: 862a8e9e52432ba383660a23d3e87af11dbc18c863a19ef6367eb8259fc47c09 + SHA512: bf0eb114097f9e505ff846f25e7556a2fb393573b4e8b773f94cf5b47998e221f3962a291db15a3cdbdf4ced5a523812937f80d95f4ee3f7b13c4e37f178d7a7 + +* + + SIZE: 26096412 bytes + SHA1: 05cacd0341b7a23cc68239c2061640643a30da38 + SHA256: a479a1bce69b2cf656821f10104dcb8b426922b56d3d6cbdf48318842fae752c + SHA512: 9f9040abf69337439a3f31b80d440d97736555b0df6533d9d34c141ce52226bc40c3f4f7e596e74b080c879e933649c17a073c893be1a304d9a883bab02e9494 From f012c9913b293612a9b468148305fb30c893bca0 Mon Sep 17 00:00:00 2001 From: Shamil Date: Tue, 16 Jan 2018 23:45:41 +0100 Subject: [PATCH 0009/2563] Add: ruby 2.5.0 release news translation (ru) --- .../_posts/2017-12-25-ruby-2-5-0-released.md | 134 ++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 ru/news/_posts/2017-12-25-ruby-2-5-0-released.md diff --git a/ru/news/_posts/2017-12-25-ruby-2-5-0-released.md b/ru/news/_posts/2017-12-25-ruby-2-5-0-released.md new file mode 100644 index 0000000000..5bcf399298 --- /dev/null +++ b/ru/news/_posts/2017-12-25-ruby-2-5-0-released.md @@ -0,0 +1,134 @@ +--- +layout: news_post +title: "Вышел Ruby 2.5.0" +author: "naruse" +translator: "badalloff" +date: 2017-12-25 00:00:00 +0000 +lang: ru +--- + +Мы рады объявить о выходе Ruby 2.5.0! + +Ruby 2.5.0 является первой стабильной версией в серии Ruby 2.5. Эта версия дает +много новых возможностей и улучшений производительности. +Значимые изменения следующие: + +## Новые возможности + +* `rescue`/`else`/`ensure` теперь допускается использовать непосредственно + с блоками `do`/`end`. + [[Feature #12906]](https://bugs.ruby-lang.org/issues/12906) +* Добавьте `yield_self`, чтобы получить данный блок в его контексте. + В отличие от `tap`, он возвращает результат блока. + [[Feature #6721]](https://bugs.ruby-lang.org/issues/6721) +* Поддержка метрики покрытия тестами ветвления и покрытия тестами метода. + Покрытие ветвления указывает какая ветка была запущена а какая нет. + Покрытие метода указывает какой метод вызывается а какой нет. + Запустив набор тестов с этими функциями, вы узнаете какие + ветви и методы запущены, и оцените общий уровень покрытия тестами + более точно. + [[Feature #13901]](https://bugs.ruby-lang.org/issues/13901) +* Hash#slice [[Feature #8499]](https://bugs.ruby-lang.org/issues/8499) + и Hash#transform_keys [[Feature #13583]](https://bugs.ruby-lang.org/issues/13583) +* Struct.new может создавать классы принимающие именованные аргументы. + [[Feature #11925]](https://bugs.ruby-lang.org/issues/11925) +* Enumerable#any?, all?, none?, и one? принимают шаблон в качестве аргумента. + [[Feature #11286]](https://bugs.ruby-lang.org/issues/11286) +* Поиск констант высшего уровня больше недоступен. + [[Feature #11547]](https://bugs.ruby-lang.org/issues/11547) +* Одна из наших самых любимых библиотек, pp.rb, теперь автоматически + загружается. Вам больше не нужно писать`require "pp"`. + [[Feature #14123]](https://bugs.ruby-lang.org/issues/14123) +* Печать трассировки и сообщений об ошибках в обратном порядке + (старейший вызов первым, новейщий последним). + Когда на вашем терминале появляется длинная трассировка + вы можете с лёгкостью найти строку с причиной в нижней части трассировки. + Учтите что трассировка будет в обратном порядке только когда выводиться на + прямую в терминал. + [[Feature #8661]](https://bugs.ruby-lang.org/issues/8661) [экспериментальный] + +## Улучшения производительности +* Примерно 5-10% улучшения производительности благодаря удалению всех `trace` + инструкций из всего байткода (последовательности инструкций). + Инструкция `trace` была добавлена для поддержки `TracePoint`, + Тем не менее, в большинстве случаев, `TracePoint` не используется и `trace` + инструкции это черезмерные накладные расходы. Вместо этого, теперь мы + используем технологию динамического инструментария. Больше информации об этом + по ссылке [[Feature #14104]](https://bugs.ruby-lang.org/issues/14104). +* Передача блока по параметру блока (прим. `def foo(&b); bar(&b); end`) + в 3 раза быстрее чем в Ruby 2.4 благодаря методу "Lazy Proc allocation". + [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) +* Mutex переписан что бы быть меньше и быстрее. + [[Feature #13517]](https://bugs.ruby-lang.org/issues/13517) +* ERB теперь генерирует код из шаблона в два раза быстрее, чем Ruby 2.4. +* Улучшена производительность некоторых строенных методов, включая + `Array#concat`, `Enumerable#sort_by`, `String#concat`, `String#index`, + `Time#+`, и других. +* IO.copy_stream использует copy_file_range(2) для копирования разгрузки. + [[Feature #13867]](https://bugs.ruby-lang.org/issues/13867) + +## Другие значимые изменения со времени 2.4 версии + +* SecureRandom теперь предпочитает источники предоставленные ОС нежели OpenSSL. + [[Bug #9569]](https://bugs.ruby-lang.org/issues/9569) +* cmath, csv, date, dbm, etc, fcntl, fiddle, fileutils, gdbm, ipaddr, + scanf, sdbm, stringio, strscan, webrick, zlib перемещены из стандартной + библиотеки в гемы по умолчанию. +* Обновлен до [Onigmo](https://github.com/k-takata/Onigmo/) 6.1.3. + * Он добавляет [оператор отсутствия](https://github.com/k-takata/Onigmo/issues/87). + * Учтите что [Ruby 2.4.1](https://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/) + так же включает эти изменения. +* Обновлен до Psych 3.0.2. +* Обновлен до RubyGems 2.7.3. +* Обновлен до RDoc 6.0.1. + * [Переключен лексер с IRB на Ripper](https://github.com/ruby/rdoc/pull/512). + Это значительно улучшает производительность генерации документов. + * Исправлено значительное количество ошибок, которые существовали более + десяти лет. + * Добавлена поддержка нового синтаксиса Ruby из последних версий. +* Обновление поддерживаемой версии Unicode до 10.0.0. +* `Thread.report_on_exception` теперь установлено значение true по умолчанию. + Это изменение помогает отлаживать многопоточные программы. + [[Feature #14143]](https://bugs.ruby-lang.org/issues/14143) +* IO#write теперь принимает множество аргументов. + [[Feature #9323]](https://bugs.ruby-lang.org/issues/9323) + +Подробности находятся в файле [NEWS](https://github.com/ruby/ruby/blob/v2_5_0/NEWS) +или в [логах коммитов](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0). + +Включая эти изменения, реализовано +[6158 изменений файлов, 348484 добавлений(+), 82747 удалений(-)](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0) +с момента выхода Ruby 2.4.0! + +Желаем всем счастливого Рождества, прекрастных каникул, и наслаждайтесь +программированием с Ruby 2.5! + +## Скачать + +* + + SIZE: 15834941 bytes + SHA1: 58f77301c891c1c4a08f301861c26b1ea46509f6 + SHA256: 46e6f3630f1888eb653b15fa811d77b5b1df6fd7a3af436b343cfe4f4503f2ab + SHA512: 0712fe68611f5d0cd6dd54b814f825478e64b6a62bdf67bce431f4dca2dc00b1a33f77bebfbcd0a151118a1152554ab457decde435b424aa1f004bc0aa40580d + +* + + SIZE: 19495617 bytes + SHA1: 700b6f55d689a5c8051c8c292b9e77a1b50bf96e + SHA256: 94559ea6e3c619423da604e503ce1dc1c465d6e0747a07fbdc5f294acaf14c24 + SHA512: e4324064cee8c65b80192e3eff287e915d2d40464d300744c36fb326ae4b1846911400a99d4332192d8a217009d3a5209b43eb5e8bc0b739035bef89cc493e84 + +* + + SIZE: 13955820 bytes + SHA1: 827b9a3bcffa86d1fc9ed96d403cb9dc37731688 + SHA256: d87eb3021f71d4f62e5a5329628ac9a6665902173296e551667edd94362325cc + SHA512: 8f6fdf6708e7470f55bc009db2567cd8d4e633ad0678d83a015441ecf5b5d88bd7da8fb8533a42157ff83b74d00b6dc617d39bbb17fc2c6c12287a1d8eaa0f2c + +* + + SIZE: 11292472 bytes + SHA1: 9c7babcf9e299be3f197d9091024ae458f1a1273 + SHA256: 1da0afed833a0dab94075221a615c14487b05d0c407f991c8080d576d985b49b + SHA512: 55714a33d7661fe8b432f73c34fd67b49699f8b79df1cbd680a74899124d31111ab0f444677672aac1ba725820182940d485efb2db0bf2bc96737c5d40c54578 \ No newline at end of file From fd240d8ef99c424828b20e8aa04880b7f449e9e5 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 23 Jan 2018 20:22:19 +0700 Subject: [PATCH 0010/2563] Fix YAML Front Matter --- id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md | 1 + 1 file changed, 1 insertion(+) diff --git a/id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md b/id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md index e52d6930cc..de3072b480 100644 --- a/id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md +++ b/id/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md @@ -5,6 +5,7 @@ author: "naruse" translator: "meisyal" date: 2017-12-14 00:00:00 +0000 lang: id +--- Kami dengan senang hati mengumumkan rilis dari Ruby 2.5.0-rc1. From a86c75db737a9d669cf8dbee1323a946ceed5552 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Thu, 8 Feb 2018 20:30:32 +0700 Subject: [PATCH 0011/2563] Translate Ruby 2.3.6 released news (id) --- .../_posts/2017-12-14-ruby-2-3-6-released.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 id/news/_posts/2017-12-14-ruby-2-3-6-released.md diff --git a/id/news/_posts/2017-12-14-ruby-2-3-6-released.md b/id/news/_posts/2017-12-14-ruby-2-3-6-released.md new file mode 100644 index 0000000000..f3ca30b6d6 --- /dev/null +++ b/id/news/_posts/2017-12-14-ruby-2-3-6-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Ruby 2.3.6 Rilis" +author: "usa" +translator: "meisyal" +date: 2017-12-14 16:00:00 +0000 +lang: id +--- + +Ruby 2.3.6 telah dirilis. + +Rilis ini mencakup perbaikan 10 *bug* dari rilis sebelumnya, dan juga beberapa perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk lebih detail. + +* [CVE-2017-17405: Command injection vulnerability in Net::FTP](/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) +* [Unsafe Object Deserialization Vulnerability in RubyGems](http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html) + +Lihat [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_6/ChangeLog) untuk detail. + +## Unduh + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.bz2) + + SIZE: 14429114 bytes + SHA1: 07c3b66d544dd22c22fbae3f16cfb3eeb88b7b1e + SHA256: 07aa3ed3bffbfb97b6fc5296a86621e6bb5349c6f8e549bd0db7f61e3e210fd0 + SHA512: bc3c7a115745a38e44bd91eb5637b1e412011c471d9749db7960185ef75737b944dd0e524f22432809649952ca7d93f46d458990e9cd2b0db5ca8abf4bc8ea99 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.gz) + + SIZE: 17840901 bytes + SHA1: 4e6a0f828819e15d274ae58485585fc8b7caace0 + SHA256: 8322513279f9edfa612d445bc111a87894fac1128eaa539301cebfc0dd51571e + SHA512: 104553d888f7d49d1b8df0cff0a3e8aee3086183d75e1a88289730e34c2da669874d7abe83e84bf1b3be9a3337a34f19ea9f9dcfbf1f7fc1136bb8f922776ea4 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.xz) + + SIZE: 11445628 bytes + SHA1: 55e97913180a313f161d2e4e541dd904a477c31d + SHA256: e0d969ac22d4a403c1204868bb9c0d068aa35045bb3934cf50b17b7f66059f56 + SHA512: a09c8715097d16190ee17ee39e7a74438cefc9013add350217b7e3fb4d60aa9dcb30595adf832b0d67a5c45b1fe9d4effb767c995af2759420859f8d763c693a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.zip) + + SIZE: 19892406 bytes + SHA1: 0d631f32e7b360dcbfb9f8f46dfff2445f0a6a51 + SHA256: 6fee49a2099d49a1b98bf0637fe974fd87af3ae64978392c802ba4d10ac70fb5 + SHA512: c6dc2ee01a4ef84850b0ca4d1e60841f07fbff263ebbbc44c8bd0f72ced3172c2e0b9c883496bfc4f5a42f4827a061f8f479d05bda5f693a274c451914e0b03e + +## Komentar Rilis + +Terima kasih kepada semua yang telah membantu rilis ini. + +Perawatan Ruby 2.3, termasuk rilis ini, didasarkan pada "Agreement for the Ruby stable version" dari Ruby Assocuation. From eaf950a5ce8978cfb790220921f3b704b241cc76 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 10 Feb 2018 11:21:24 +0700 Subject: [PATCH 0012/2563] Fix typo --- id/news/_posts/2017-12-14-ruby-2-3-6-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id/news/_posts/2017-12-14-ruby-2-3-6-released.md b/id/news/_posts/2017-12-14-ruby-2-3-6-released.md index f3ca30b6d6..ed983b3560 100644 --- a/id/news/_posts/2017-12-14-ruby-2-3-6-released.md +++ b/id/news/_posts/2017-12-14-ruby-2-3-6-released.md @@ -51,4 +51,4 @@ Lihat [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_6/ChangeLog) un Terima kasih kepada semua yang telah membantu rilis ini. -Perawatan Ruby 2.3, termasuk rilis ini, didasarkan pada "Agreement for the Ruby stable version" dari Ruby Assocuation. +Perawatan Ruby 2.3, termasuk rilis ini, didasarkan pada "Agreement for the Ruby stable version" dari Ruby Association. From a824cda2851afaf345ff945ffa7eaaf1d1bf2981 Mon Sep 17 00:00:00 2001 From: miyohide Date: Sun, 11 Feb 2018 17:53:11 +0900 Subject: [PATCH 0013/2563] Add posts about Rubima 0057 published (ja) RubiMa Editors have released Rubyist Magazine 0057 (in japanese). --- ...8-02-11-rubyist-magazine-0057-published.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md diff --git a/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md b/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md new file mode 100644 index 0000000000..9f2ee89ec4 --- /dev/null +++ b/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md @@ -0,0 +1,28 @@ +--- +layout: news_post +title: "Rubyist Magazine 0057号 発行" +author: "miyohide" +date: 2018-02-11 17:32:15 +0000 +lang: ja +--- + +[日本Rubyの会][1]有志による、ウェブ雑誌[Rubyist Magazine][2]の[0057号][3]がリリースされました([\[ruby-list:50565\]][4])。 + +今号は、 + +* [巻頭言](http://magazine.rubyist.net/?0057-ForeWord) +* [Rubyで始めるゲームプログラミング - DXOpal編 -](http://magazine.rubyist.net/?0057-GameProgramingWithDXOpal) +* [RegionalRubyKaigi レポート (64) Tokyu Ruby 会議 11](http://magazine.rubyist.net/?0057-TokyuRubyKaigi11Report) +* [RegionalRubyKaigi レポート (65) とちぎ Ruby 会議 07](http://magazine.rubyist.net/?0057-TochigiRubyKaigi07Report) +* [RegionalRubyKaigi レポート (66) ぎんざ Ruby 会議 01](http://magazine.rubyist.net/?0057-GinzaRubyKaigi01Report) +* [RegionalRubyKaigi レポート (67) 福岡 Ruby 会議 02](http://magazine.rubyist.net/?0057-FukuokaRubyKaigi02Report) +* [0057 号 アクセスランキング](http://magazine.rubyist.net/?0057-RubyistMagazineRanking) + +という構成となっています。 + +お楽しみください。 + +[1]: http://ruby-no-kai.org +[2]: http://magazine.rubyist.net/ +[3]: http://magazine.rubyist.net/?0057 +[4]: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/50654 From acd0a12086a935c51c6e7cff50b4fb34fdd8c458 Mon Sep 17 00:00:00 2001 From: miyohide Date: Mon, 12 Feb 2018 10:47:01 +0900 Subject: [PATCH 0014/2563] Fix ruby-list ML number --- ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md b/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md index 9f2ee89ec4..4c04960955 100644 --- a/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md +++ b/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md @@ -6,7 +6,7 @@ date: 2018-02-11 17:32:15 +0000 lang: ja --- -[日本Rubyの会][1]有志による、ウェブ雑誌[Rubyist Magazine][2]の[0057号][3]がリリースされました([\[ruby-list:50565\]][4])。 +[日本Rubyの会][1]有志による、ウェブ雑誌[Rubyist Magazine][2]の[0057号][3]がリリースされました([\[ruby-list:50654\]][4])。 今号は、 From 7f0aec019a7866a111820bfea28d00c1660802e0 Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 17 Feb 2018 12:23:18 +0900 Subject: [PATCH 0015/2563] Multiple Vulnerabilities in RubyGems (#1741) --- ...17-multiple-vulnerabilities-in-rubygems.md | 58 ++++++++++++++++++ ...17-multiple-vulnerabilities-in-rubygems.md | 60 +++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md create mode 100644 ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md diff --git a/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md new file mode 100644 index 0000000000..312aae5fdb --- /dev/null +++ b/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "Multiple vulnerabilities in RubyGems" +author: "usa" +translator: +date: 2018-02-17 03:00:00 +0000 +tags: security +lang: en +--- + +There are multiple vulnerabilities in RubyGems bundled by Ruby. +It is [reported at the official blog of RubyGems](http://blog.rubygems.org/2018/02/15/2.7.6-released.html). + +## Details + +The following vulnerabilities have been reported. + +* Prevent path traversal when writing to a symlinked basedir outside of the root. +* Fix possible Unsafe Object Deserialization Vulnerability in gem owner. +* Strictly interpret octal fields in tar headers. +* Raise a security error when there are duplicate files in a package. +* Enforce URL validation on spec homepage attribute. +* Mitigate XSS vulnerability in homepage attribute when displayed via gem server. +* Prevent Path Traversal issue during gem installation. + +It is strongly recommended for Ruby users to take one of the following workarounds as soon as possible. + +## Affected Versions + +* Ruby 2.2 series: 2.2.9 and earlier +* Ruby 2.3 series: 2.3.6 and earlier +* Ruby 2.4 series: 2.4.3 and earlier +* prior to trunk revision 62422 + +## Workarounds + +RubyGems 2.7.6 or later includes the fix for the vulnerabilities, so upgrade RubyGems to the latest version. + +``` +gem update --system +``` + +If you can't upgrade RubyGems, you can apply the following patches as a workaround. + +* [for Ruby 2.2.9](https://bugs.ruby-lang.org/attachments/download/7030/rubygems-276-for-ruby22.patch) +* [for Ruby 2.3.6](https://bugs.ruby-lang.org/attachments/download/7029/rubygems-276-for-ruby23.patch) +* [for Ruby 2.4.3](https://bugs.ruby-lang.org/attachments/download/7028/rubygems-276-for-ruby24.patch) +* [for Ruby 2.5.0](https://bugs.ruby-lang.org/attachments/download/7027/rubygems-276-for-ruby25.patch) + +About the trunk, update to the latest revision. + +## Credits + +This report is based on [the official blog of RubyGems](http://blog.rubygems.org/2018/02/15/2.7.6-released.html). + +## History + +* Originally published at 2018-02-17 03:00:00 UTC diff --git a/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md new file mode 100644 index 0000000000..f65ec916e8 --- /dev/null +++ b/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "RubyGems の複数の脆弱性について" +author: "usa" +translator: +date: 2018-02-17 03:00:00 +0000 +tags: security +lang: ja +--- + +Ruby の標準添付ライブラリである RubyGems に、複数の脆弱性が発見されました。 +RubyGems の公式ブログにて[報告されています](http://blog.rubygems.org/2018/02/15/2.7.6-released.html)。 + +## 詳細 + +以下の脆弱性が報告されています。 + +* Prevent path traversal when writing to a symlinked basedir outside of the root. +* Fix possible Unsafe Object Deserialization Vulnerability in gem owner. +* Strictly interpret octal fields in tar headers. +* Raise a security error when there are duplicate files in a package. +* Enforce URL validation on spec homepage attribute. +* Mitigate XSS vulnerability in homepage attribute when displayed via gem server. +* Prevent Path Traversal issue during gem installation. + +この問題の影響を受けるバージョンの Ruby のユーザーは、下記の回避策を取ってください。 + +## 影響を受けるバージョン + +* Ruby 2.2.9 以前の全ての Ruby 2.2 系列 +* Ruby 2.3.6 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.3 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.0 以前の全ての Ruby 2.4 系列 +* revision 62422 より前の開発版 + +## 回避策 + +以下のコマンドを実行することにより、RubyGems を最新版(2.7.6 以降)に更新することによって、各脆弱性が修正されます。 + +``` +gem update --system +``` + +もし何らかの事情で RubyGems 全体を更新できない場合は、脆弱性対応のみを行うパッチが公開されています。 +各バージョン用に用意されていますので、以下より入手・適用してください。 + +* [Ruby 2.2.9 用](https://bugs.ruby-lang.org/attachments/download/7030/rubygems-276-for-ruby22.patch) +* [Ruby 2.3.6 用](https://bugs.ruby-lang.org/attachments/download/7029/rubygems-276-for-ruby23.patch) +* [Ruby 2.4.3 用](https://bugs.ruby-lang.org/attachments/download/7028/rubygems-276-for-ruby24.patch) +* [Ruby 2.5.0 用](https://bugs.ruby-lang.org/attachments/download/7027/rubygems-276-for-ruby25.patch) + +開発版については、最新のリビジョンに更新してください。 + +## クレジット + +この脆弱性情報は、[RubyGems 公式ブログ](http://blog.rubygems.org/2018/02/15/2.7.6-released.html)に基づいています。 + +## 更新履歴 + +* 2018-02-17 12:00:00 (JST) 初版 From 0274c060458dba73ace2eca39febf864d73d86aa Mon Sep 17 00:00:00 2001 From: Yuji Yaginuma Date: Sat, 17 Feb 2018 15:44:09 +0900 Subject: [PATCH 0016/2563] Fix typo and add mention about 2.5 series to en news (#1743) --- .../_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md | 1 + .../_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md index 312aae5fdb..413c53cb21 100644 --- a/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md +++ b/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -30,6 +30,7 @@ It is strongly recommended for Ruby users to take one of the following workaroun * Ruby 2.2 series: 2.2.9 and earlier * Ruby 2.3 series: 2.3.6 and earlier * Ruby 2.4 series: 2.4.3 and earlier +* Ruby 2.5 series: 2.5.0 and earlier * prior to trunk revision 62422 ## Workarounds diff --git a/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md index f65ec916e8..5e9739bfff 100644 --- a/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md +++ b/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -30,7 +30,7 @@ RubyGems の公式ブログにて[報告されています](http://blog.rubygems * Ruby 2.2.9 以前の全ての Ruby 2.2 系列 * Ruby 2.3.6 以前の全ての Ruby 2.3 系列 * Ruby 2.4.3 以前の全ての Ruby 2.4 系列 -* Ruby 2.5.0 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.0 以前の全ての Ruby 2.5 系列 * revision 62422 より前の開発版 ## 回避策 From 7c8ef845ef4e87ccb41c3444587850444326da9c Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Sat, 17 Feb 2018 07:30:47 +0900 Subject: [PATCH 0017/2563] Translate 20180217 Multiple vulnerabilities post (zh_tw) --- ...17-multiple-vulnerabilities-in-rubygems.md | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 zh_tw/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md diff --git a/zh_tw/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/zh_tw/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md new file mode 100644 index 0000000000..d83a190513 --- /dev/null +++ b/zh_tw/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "RubyGems 存在多個安全性風險" +author: "usa" +translator: "Juanito Fatas" +date: 2018-02-17 03:00:00 +0000 +tags: security +lang: zh_tw +--- + +Ruby 內建的 RubyGems 發現帶有多個安全性風險。 RubyGems 官方部落格[對此事的說明](http://blog.rubygems.org/2018/02/15/2.7.6-released.html)。 + +## Details + +以下為已回報的安全性風險。 + +* 預防寫入 root 以外的軟連結所存在的路徑遍歷風險 +* 修復 gem owner 指令可能存在的物件反序列化風險 +* 嚴格解析 tar 表頭的八進位資料 +* 當 gem 包有重複檔案存在時回報安全性錯誤 +* 強制對 spec 的 homepage 屬性進行 URL 驗證 +* 緩解 gem server 顯示的 homepage 屬性 XSS 風險 +* 預防安裝 gem 所存在的路徑遍歷風險 + +強烈建議 Ruby 使用者儘速採用下列任一個因應措施。 + +## 受影響版本 + +* Ruby 2.2 系列: 2.2.9 以及之前的版本 +* Ruby 2.3 系列: 2.3.6 以及之前的版本 +* Ruby 2.4 系列: 2.4.3 以及之前的版本 +* Ruby 2.5 系列: 2.5.0 以及之前的版本 +* trunk revision 62422 之前的版本 + +## 因應措施 + +請將 RubyGems 升級至最新版本。RubyGems 2.7.6 及後續版本修正了上述風險。 + +``` +gem update --system +``` + +如您無法更新 RubyGems,您可以採用下列補丁。 + +* [對應 Ruby 2.2.9 的補丁](https://bugs.ruby-lang.org/attachments/download/7030/rubygems-276-for-ruby22.patch) +* [對應 Ruby 2.3.6 的補丁](https://bugs.ruby-lang.org/attachments/download/7029/rubygems-276-for-ruby23.patch) +* [對應 Ruby 2.4.3 的補丁](https://bugs.ruby-lang.org/attachments/download/7028/rubygems-276-for-ruby24.patch) +* [對應 Ruby 2.5.0 的補丁](https://bugs.ruby-lang.org/attachments/download/7027/rubygems-276-for-ruby25.patch) + +至於 trunk 則是更新到最新版本即可。 + +## 致謝 + +本文基於 RubyGems [官方部落格的這篇文章](http://blog.rubygems.org/2018/02/15/2.7.6-released.html)。 + +## 歷史 + +* 初次發佈於 2018-02-17 03:00:00 UTC From 225b5535d116e7ff52e190612200394d61323e4f Mon Sep 17 00:00:00 2001 From: Ivo Herweijer Date: Mon, 19 Feb 2018 15:43:51 +0100 Subject: [PATCH 0018/2563] Update all try_ruby links --- _config.yml | 2 +- bg/documentation/index.md | 2 +- de/documentation/index.md | 2 +- en/documentation/index.md | 2 +- es/documentation/index.md | 2 +- fr/documentation/index.md | 2 +- id/documentation/index.md | 2 +- it/documentation/index.md | 2 +- ko/documentation/index.md | 2 +- pl/documentation/index.md | 2 +- pt/documentation/index.md | 2 +- ru/documentation/index.md | 2 +- tr/documentation/index.md | 2 +- vi/documentation/index.md | 2 +- zh_cn/documentation/index.md | 2 +- zh_tw/documentation/index.md | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/_config.yml b/_config.yml index c89a202473..f2e36e7a7b 100644 --- a/_config.yml +++ b/_config.yml @@ -666,7 +666,7 @@ locales: sidebar: try_ruby: &try_ruby - url: http://tryruby.org/ + url: https://easydatawarehousing.github.io/TryRuby/ rubybib: &rubybib url: http://rubybib.org/ diff --git a/bg/documentation/index.md b/bg/documentation/index.md index 967f9ea39c..5ae96b676f 100644 --- a/bg/documentation/index.md +++ b/bg/documentation/index.md @@ -142,7 +142,7 @@ ruby -v Ако имате въпроси относно Ruby, [пощенският списък](/bg/community/mailing-lists/) е чудесно място да ги зададете. -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/de/documentation/index.md b/de/documentation/index.md index d630336708..e17aa57462 100644 --- a/de/documentation/index.md +++ b/de/documentation/index.md @@ -82,7 +82,7 @@ deutschsprachigen Artikeln. Für weitergehende Fragen steht eine große -[1]: http://tryruby.org +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://www.hackety.com/ [3]: http://mislav.uniqpath.com/poignant-guide/ [4]: http://www.moccasoft.de/papers/ruby_tutorial diff --git a/en/documentation/index.md b/en/documentation/index.md index 5e05f2a0b7..8160eb5daf 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -167,7 +167,7 @@ If you have questions about Ruby the -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/es/documentation/index.md b/es/documentation/index.md index db3a11c5db..42115f9ba2 100644 --- a/es/documentation/index.md +++ b/es/documentation/index.md @@ -70,7 +70,7 @@ correo](/es/community/mailing-lists/) es un buen lugar para comenzar. -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://pine.fm/LearnToProgram/ [3]: http://www.ruby-doc.org/docs/ProgrammingRuby/ [4]: http://pragmaticprogrammer.com/titles/ruby/index.html diff --git a/fr/documentation/index.md b/fr/documentation/index.md index f331c46d3b..3b6f69215c 100644 --- a/fr/documentation/index.md +++ b/fr/documentation/index.md @@ -143,7 +143,7 @@ la [liste de diffusion](/en/community/mailing-lists/) est un bon endroit [2]: http://jeveuxapprendreruby.fr/ -[3]: http://tryruby.org/ +[3]: https://easydatawarehousing.github.io/TryRuby/ [4]: http://rubykoans.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://pine.fm/LearnToProgram/ diff --git a/id/documentation/index.md b/id/documentation/index.md index f9a7602d06..9cde788b27 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -164,7 +164,7 @@ adalah tempat yang baik untuk memulai. -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/it/documentation/index.md b/it/documentation/index.md index e26f9c861f..166b3f7725 100644 --- a/it/documentation/index.md +++ b/it/documentation/index.md @@ -143,7 +143,7 @@ iniziare. -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 3cdc31f2aa..d2df167739 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -156,7 +156,7 @@ ruby -v 영어가 되신다면 [메일링 리스트](/ko/community/mailing-lists/)를 사용하실 수도 있습니다. -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/pl/documentation/index.md b/pl/documentation/index.md index 4c0db40f81..02e0eaad14 100644 --- a/pl/documentation/index.md +++ b/pl/documentation/index.md @@ -146,7 +146,7 @@ angielskim). Jeśli szukasz pomocy w języku polskim, zajrzyj na [forum][pl-2]. -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/pt/documentation/index.md b/pt/documentation/index.md index 278f0c1727..b66cf067a8 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -160,7 +160,7 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/ru/documentation/index.md b/ru/documentation/index.md index f28554c16d..7888fc04b1 100644 --- a/ru/documentation/index.md +++ b/ru/documentation/index.md @@ -149,7 +149,7 @@ ruby -v -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/tr/documentation/index.md b/tr/documentation/index.md index 71f5057b89..3a07b3186c 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -109,7 +109,7 @@ listeleri](/en/community/mailing-lists/) iyi bir başlangıç olacaktır. -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://www.hackety.com/ [4]: http://mislav.uniqpath.com/poignant-guide/ diff --git a/vi/documentation/index.md b/vi/documentation/index.md index 4f34fdfad6..ed2acd119f 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -159,7 +159,7 @@ là một nơi tuyệt vời. -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index 07167d83e4..1daec1e2cc 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -121,7 +121,7 @@ ruby -v -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 9e26bc7bbc..63a974208d 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -112,7 +112,7 @@ lang: zh_tw -[1]: http://tryruby.org/ +[1]: https://easydatawarehousing.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ From 50b50b6c06554112976a912445b5f1c9b42a2074 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Tue, 20 Feb 2018 09:58:20 +0900 Subject: [PATCH 0019/2563] update bundles --- Gemfile.lock | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 81a06907a6..f47d5470b1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,26 +4,36 @@ GEM addressable (2.5.2) public_suffix (>= 2.0.2, < 4.0) colorator (1.1.0) + concurrent-ruby (1.0.5) crass (1.0.3) - ffi (1.9.18) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + eventmachine (1.2.5) + ffi (1.9.21) forwardable-extended (2.6.0) - jekyll (3.6.2) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.7.2) addressable (~> 2.4) colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 0.7) jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 1.1) + jekyll-watch (~> 2.0) kramdown (~> 1.14) liquid (~> 4.0) mercenary (~> 0.3.3) pathutil (~> 0.9) - rouge (>= 1.7, < 3) + rouge (>= 1.7, < 4) safe_yaml (~> 1.0) - jekyll-sass-converter (1.5.1) + jekyll-sass-converter (1.5.2) sass (~> 3.4) - jekyll-watch (1.5.1) + jekyll-watch (2.0.0) listen (~> 3.0) json (2.1.0) - kgio (2.11.1) + kgio (2.11.2) kramdown (1.16.2) lanyon (0.4.0) jekyll (>= 2.0, < 4.0) @@ -35,14 +45,14 @@ GEM ruby_dep (~> 1.2) mercenary (0.3.6) mini_portile2 (2.3.0) - nokogiri (1.8.1) + nokogiri (1.8.2) mini_portile2 (~> 2.3.0) paint (1.0.1) pathutil (0.16.1) forwardable-extended (~> 2.6) - public_suffix (3.0.1) - rack (2.0.3) - rack-protection (2.0.0) + public_suffix (3.0.2) + rack (2.0.4) + rack-protection (2.0.1) rack rack-rewrite (1.5.1) rack-ssl (1.4.1) @@ -55,7 +65,7 @@ GEM rouge (1.11.1) ruby_dep (1.5.0) safe_yaml (1.0.4) - sass (3.5.4) + sass (3.5.5) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) From dae0ef63a1295f886a1a357f01032a6c70d85677 Mon Sep 17 00:00:00 2001 From: jBouland Date: Wed, 21 Feb 2018 10:39:21 +0100 Subject: [PATCH 0020/2563] Remove rubydox.net references in documents page (fr, tr) (#1745) * remove rubydox.net rubydox.net is dead and no longer about ruby. It appears it is now a website promoting online gambling and should be removed. --- fr/documentation/index.md | 16 ++++++---------- tr/documentation/index.md | 11 ++++------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/fr/documentation/index.md b/fr/documentation/index.md index f331c46d3b..cd5364670f 100644 --- a/fr/documentation/index.md +++ b/fr/documentation/index.md @@ -127,15 +127,12 @@ pour les nombreuses façons d'obtenir Ruby. : Documentation sur les API Ruby et Ruby On Rails, proposant un système de recherche poussé. -[RubyDox][22] -: Documentation pour Ruby, Rails, gems et plugin Rails. - ### Lectures additionnelles -[Ruby-Doc.org][23] maintient à jour une liste presque exhaustive de la +[Ruby-Doc.org][22] maintient à jour une liste presque exhaustive de la documentation disponible en anglais. Il existe également de nombreux -ouvrages à propos de Ruby : [une liste de livres en anglais][24] -(relativement exhaustive) et [une liste de livres en français][25] +ouvrages à propos de Ruby : [une liste de livres en anglais][23] +(relativement exhaustive) et [une liste de livres en français][24] (incomplète). Par ailleurs, si vous avez des questions à poser sur Ruby, la [liste de diffusion](/en/community/mailing-lists/) est un bon endroit à explorer. @@ -162,7 +159,6 @@ la [liste de diffusion](/en/community/mailing-lists/) est un bon endroit [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [20]: http://rubydoc.info/ [21]: http://rubydocs.org/ -[22]: http://www.rubydox.net/ -[23]: http://ruby-doc.org -[24]: http://www.ruby-doc.org/bookstore -[25]: http://rubyfrance.org/liens/livres/ +[22]: http://ruby-doc.org +[23]: http://www.ruby-doc.org/bookstore +[24]: http://rubyfrance.org/liens/livres/ diff --git a/tr/documentation/index.md b/tr/documentation/index.md index 71f5057b89..6269c6b8df 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -95,13 +95,11 @@ referanslar ve diğer belgeleri bulacaksınız. [Ruby & Rails Searchable API Docs][20] : Akıllı arama özellikleri olan Rails ve Ruby dökümantasyonu. -[RubyDox][21] -: Ruby, Rails, Gem ve Plugin Belgeleri. ### Diğer Belgeler -[Ruby-Doc.org][22] Ruby hakkındaki İngilizce belgeleri bir araya -toplamayı amaçlayan bir site. [Ruby hakkında yazılmış kitaplar][23] da +[Ruby-Doc.org][21] Ruby hakkındaki İngilizce belgeleri bir araya +toplamayı amaçlayan bir site. [Ruby hakkında yazılmış kitaplar][22] da bakılacak diğer kaynaklardan. [Ruby Garden Wiki][9] adresinde kullanıcıların oluşturduğu geniş bir içerik mevcut. Ayrıca Ruby hakkında aklınıza takılan herhangi bir soru için [e-posta @@ -128,6 +126,5 @@ listeleri](/en/community/mailing-lists/) iyi bir başlangıç olacaktır. [17]: http://www.ruby-doc.org/stdlib [19]: http://www.rubydoc.info/ [20]: http://rubydocs.org/ -[21]: http://www.rubydox.net/ -[22]: http://ruby-doc.org -[23]: http://www.ruby-doc.org/bookstore +[21]: http://ruby-doc.org +[22]: http://www.ruby-doc.org/bookstore From 0f31a8a2d3521b7620c12d62e19a48cf9c22826f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 23 Feb 2018 17:24:00 +0100 Subject: [PATCH 0021/2563] Translate RubyGems vulnerabilities post (de) --- ...17-multiple-vulnerabilities-in-rubygems.md | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 de/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md diff --git a/de/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/de/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md new file mode 100644 index 0000000000..bc1c6da968 --- /dev/null +++ b/de/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -0,0 +1,67 @@ +--- +layout: news_post +title: "Zahlreiche Schwachstellen in RubyGems" +author: "usa" +translator: "Marvin Gülker" +date: 2018-02-17 03:00:00 +0000 +tags: security +lang: de +--- + +In RubyGems ist eine Anzahl von Schwachstellen gefunden worden, wie +auf dem [offiziellen RubyGems-Blog beschrieben wird](http://blog.rubygems.org/2018/02/15/2.7.6-released.html). + +## Details + +Die folgenden Sicherheitslücken wurden behoben. + +* Verhinderung von Pfadverfolgung _(path traversal_) bei + Schreibzugriff auf ein per Symlink verlinktes basedir außerhalb des + Wurzelverzeichnisses. +* Möglicherweise unsichere Objektdeserialisierung in gem owner + behoben. +* Oktalfelder in Tar-Kopfzeilen werden jetzt streng beachtet. +* Werfe einen Sicherheitsfehler, wenn in einem Paket Dateien mehrfach + vorkommen. +* Erzwinge URL-Validierung im Homepage-Attribut der Spec +* XSS-Schwachstelle im Homepage-Attribut behoben, wenn es von gem + server angezeigt wird. +* Verhinderung von Pfadverfolgung während der Gem-Installation. + +Es wird nachdrücklich empfohlen, so schnell wie möglich einen der +folgenden Workarounds anzuwenden. + +## Betroffene Versionen + +* Ruby 2.2er-Serie: 2.2.9 and früher +* Ruby 2.3er-Serie: 2.3.6 and früher +* Ruby 2.4er-Serie: 2.4.3 and früher +* Ruby 2.5er-Serie: 2.5.0 and früher +* Trunk vor Revision 62422 + +## Workarounds + +Die Probleme wurden in RubyGems 2.7.6 behoben, weshalb eine +Aktualisierung von RubyGems auf die neueste Version Abilfe schafft. + +``` +gem update --system +``` + +Wenn Sie RubyGems nicht aktualisieren können, wenden Sie die folgenden +Patches als Workaround an. + +* [für Ruby 2.2.9](https://bugs.ruby-lang.org/attachments/download/7030/rubygems-276-for-ruby22.patch) +* [für Ruby 2.3.6](https://bugs.ruby-lang.org/attachments/download/7029/rubygems-276-for-ruby23.patch) +* [für Ruby 2.4.3](https://bugs.ruby-lang.org/attachments/download/7028/rubygems-276-for-ruby24.patch) +* [für Ruby 2.5.0](https://bugs.ruby-lang.org/attachments/download/7027/rubygems-276-for-ruby25.patch) + +Trunk-Nutzer aktualisieren auf die neueste Revision. + +## Danksagung + +Dieser Bericht basiert auf dem [offiziellen RubyGems-Blogpost](http://blog.rubygems.org/2018/02/15/2.7.6-released.html). + +## Historie + +* Erstmals veröffentlicht: 2018-02-17 03:00:00 UTC From e61c20602abb382fe26bfeaca9a7fd84c74dfdf3 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Sat, 24 Feb 2018 14:38:48 +0900 Subject: [PATCH 0022/2563] Ruby 2.6.0-preview1 Released --- ...2018-02-24-ruby-2-6-0-preview1-released.md | 106 ++++++++++++++++++ ...2018-02-24-ruby-2-6-0-preview1-released.md | 87 ++++++++++++++ 2 files changed, 193 insertions(+) create mode 100644 en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md create mode 100644 ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md diff --git a/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md new file mode 100644 index 0000000000..0cabb38c33 --- /dev/null +++ b/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -0,0 +1,106 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview1 Released" +author: "naruse" +translator: +date: 2018-02-24 00:00:00 +0000 +lang: en +--- + +We are pleased to announce the release of Ruby 2.6.0-preview1. + +Ruby 2.6.0-preview1 is the first preview toward Ruby 2.6.0. +This preview1 is released earlier than usual because it includes an important new feature, JIT. + +## JIT + +Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. + +JIT compiler aims to improve performance of any Ruby program execution. +Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native code. +See also: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization + +How to use: Just specify "--jit" in command line or $RUBYOPT environment variable. +Specifying "--jit-verbose=1" allows to print basic information of ongoing JIT compilation. See "ruby --help" for other options. + +The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. +Currently JIT compiler is supported only when Ruby is built by gcc or clang and the compiler is available on runtime. Otherwise you can't use it for now. + +As of 2.6.0-preview1, we're just preparing infrastructure for JIT and very few optimizations are implemented. +You can measure some of potential improvements in micro benchmarks with this release, but it is NOT ready for benchmarking final performance of Ruby's JIT compiler, especially for larger programs like Rails applications. + +We're going to implement method iniling in JIT compiler, which is expected to increase Ruby's performance in order of magnitude. +Also, we're planning to increase the supported platforms, and the next plan is to support Visual Studio. + +Stay tuned for the new age of Ruby's performance. + +## New Features + +* Add Random.bytes. [Feature #4938] +NOTE: 小粒な変更だけど賑やかしのために入れる。preview2ではけす + +* Add Binding#source_location. [Feature #14230] + * This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [Bug #4352]. So, users should use this newly-introduced method instead of `Kernel#eval`. + +* Add :exception option to let Kernel.#system raise error instead of returning false. [Feature #14386] + +## Performance improvements + +* Speedup `Proc#call` because we dont' need to care about `$SAFE` any more. + [Feature #14318] + With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure + x1.4 improvements [Bug #10212]. + +* Speedup `block.call` where `block` is passed block parameter. [Feature #14330] + Ruby 2.5 improves block passing performance. [Feature #14045] + Additionally, Ruby 2.6 improves the performance of passed block calling. + With micro-benchmark we can observe x2.6 improvemnt. + +## Other notable changes since 2.5 + +* $SAFE is a process global state and we can set 0 again. [Feature #14250] + +* Passing safe_level to ERB.new is deprecated. trim_mode and eoutvar arguments are changed to keyword arguments. [Feature #14256] + +* Merge RubyGems 2.7.6 + +See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview1/NEWS) +or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) +for details. + +With those changes, +[1115 files changed, 23023 insertions(+), 14748 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) +since Ruby 2.5.0! + +Today, Feburary 24th, is Ruby's 25th birthday. +Happy birthday Ruby, and enjoy programming with Ruby 2.6.0-preview1! + +## Download + +* + + SIZE: 16082501 bytes + SHA1: 94b4a2f5f992dc9855364284e9c64316bf129c90 + SHA256: 2023c42676d9237481e1a97157d5e2ecc10db5e320d5b9cf872ec1d293265d61 + SHA512: 004696c4f087333ba7cb2285418dcce70f399966ae8fed817aab9759fd2d75beb088c4aeb294fcd4260112e8422f490cd4dbdfce402d73f96bb679b8bb3e1607 + +* + + SIZE: 19807007 bytes + SHA1: 24d76f67bf913348eca783a2ecf6f3faf37299ae + SHA256: 6c883927e80430cf07f2d90728d6c2c71164223f378a48ebf964d3b66319f623 + SHA512: 1e7f318cec1b7875fd9891df671078de7585b556695a2a85708483ddcacfd6e0b63b70ec2535e92ff981b4f72063721ed552df49688e066666fcd7ae520ae667 + +* + + SIZE: 14104578 bytes + SHA1: 9f0fb79643a4673a839b0c8496eccc6e1dbd022d + SHA256: 8bd6c373df6ee009441270a8b4f86413d101b8f88e8051c55ef62abffadce462 + SHA512: d9cb270529a97670d54f43a0236fab072714e715c39277dab70b7a1843ec818e6700e47e1384c7256f9e0ae41ab2c0b768a0de38a5ecf4f4fff5da6ef5ad4944 + +* + + SIZE: 11423984 bytes + SHA1: bbbc89d760cdaadbca3cbff587295864edeff0af + SHA256: 1d99139116e4e245ce543edb137b2a8873c26e9f0bde88d8cee6789617cc8d0e + SHA512: d12ff29778d8d940344619881b4d8247c2fb6b44ac2b2dbddb7078828e893cfac9a5a95b5588f0afdbed52bdb6dea95cff1b9ce3ad47dfa62209e97dab8810b6 diff --git a/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md new file mode 100644 index 0000000000..c6cf51f422 --- /dev/null +++ b/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -0,0 +1,87 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview1 リリース" +author: "naruse" +translator: +date: 2018-02-24 00:00:00 +0000 +lang: ja +--- + +Ruby 2.6.0に向けた最初のプレビューである、Ruby 2.6.0-preview1がリリースされました。 + +Ruby 2.6.0-preview1は、重要な新機能であるJITを含むため、例年よりも早期にリリースすることにしました。 +その一部を以下に紹介します。 + +## JIT + +Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 + +JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 +他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) + +JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 + +今回のリリースはこのJITコンパイル機能を皆さんの環境で動作を確認して頂くとともに、セキュリティ上の問題が無いかを早期に確認するために行っています。 +現在のJITコンパイラはいくつか制限があり、まずgccまたはclangによってビルドされたRubyでかつ、そのコンパイラが実行時に利用可能である必要があります。また、現在はJITコンパイルの基盤を準備している段階で、少数の最適化のみ実装しています。そのため現在でもいくつかのマイクロベンチマークでは潜在的な速度改善が見られるものの、より大きなプログラム、特にRailsアプリケーションなどではJITコンパイラの性能を計測出来る段階ではありません。 + +今後はインライン化等を実装することでRubyの性能を桁違いに向上させます。また、Visual Studioを筆頭に、サポートする環境も増やしていきます。 + +引き続き新時代のRubyの実効性能にご期待ください。 + +## 新機能 + +* Random.bytes の追加 [Feature #4938] +* Binding#source_location の追加 [Feature #14230] + * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [Bug #4352]、この新しいメソッドを用いることが今後は推奨されます。 +* Kernel#system の失敗時に、falseを返す代わりに例外を上げさせる :exception オプションを追加 [Feature #14386] + +## パフォーマンスの改善 + +* 後述の$SAFEの変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [Feature #14318] + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [Bug #10212]. +* `block` がブロックパレメータである時、`block.call`が高速化されました [Feature #14330] + Ruby 2.5ではブロック渡しの性能が改善されましたが [Feature #14045]、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 + マイクロベンチマークにおいては2.6倍高速化されています。 + +## その他の注目すべき 2.5 からの変更点 + +* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました [Feature #14250] +* `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [Feature #14256] +* RubyGems 2.7.6 をマージしました + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview1/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1)を参照してください。 + +なお、こうした変更により、Ruby 2.5.0 以降では [1115 個のファイルに変更が加えられ、23023 行の追加と 14748 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) ! + +今日、2月24日はRubyの25年目の誕生日です。 +誕生日おめでとう! みなさんもRuby 2.6.0-preview1で楽しいプログラミングを! + +## Download + +* + + SIZE: 16082501 bytes + SHA1: 94b4a2f5f992dc9855364284e9c64316bf129c90 + SHA256: 2023c42676d9237481e1a97157d5e2ecc10db5e320d5b9cf872ec1d293265d61 + SHA512: 004696c4f087333ba7cb2285418dcce70f399966ae8fed817aab9759fd2d75beb088c4aeb294fcd4260112e8422f490cd4dbdfce402d73f96bb679b8bb3e1607 + +* + + SIZE: 19807007 bytes + SHA1: 24d76f67bf913348eca783a2ecf6f3faf37299ae + SHA256: 6c883927e80430cf07f2d90728d6c2c71164223f378a48ebf964d3b66319f623 + SHA512: 1e7f318cec1b7875fd9891df671078de7585b556695a2a85708483ddcacfd6e0b63b70ec2535e92ff981b4f72063721ed552df49688e066666fcd7ae520ae667 + +* + + SIZE: 14104578 bytes + SHA1: 9f0fb79643a4673a839b0c8496eccc6e1dbd022d + SHA256: 8bd6c373df6ee009441270a8b4f86413d101b8f88e8051c55ef62abffadce462 + SHA512: d9cb270529a97670d54f43a0236fab072714e715c39277dab70b7a1843ec818e6700e47e1384c7256f9e0ae41ab2c0b768a0de38a5ecf4f4fff5da6ef5ad4944 + +* + + SIZE: 11423984 bytes + SHA1: bbbc89d760cdaadbca3cbff587295864edeff0af + SHA256: 1d99139116e4e245ce543edb137b2a8873c26e9f0bde88d8cee6789617cc8d0e + SHA512: d12ff29778d8d940344619881b4d8247c2fb6b44ac2b2dbddb7078828e893cfac9a5a95b5588f0afdbed52bdb6dea95cff1b9ce3ad47dfa62209e97dab8810b6 From 549123447b0508b74c20b948bbca0edf07e014f1 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Sat, 24 Feb 2018 15:25:45 +0900 Subject: [PATCH 0023/2563] remove editorial note --- en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md | 1 - 1 file changed, 1 deletion(-) diff --git a/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index 0cabb38c33..5f9f1776ae 100644 --- a/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -37,7 +37,6 @@ Stay tuned for the new age of Ruby's performance. ## New Features * Add Random.bytes. [Feature #4938] -NOTE: 小粒な変更だけど賑やかしのために入れる。preview2ではけす * Add Binding#source_location. [Feature #14230] * This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [Bug #4352]. So, users should use this newly-introduced method instead of `Kernel#eval`. From 82b413e2236d11be42599b730acb2655a3e12c4d Mon Sep 17 00:00:00 2001 From: Fumiaki MATSUSHIMA Date: Sat, 24 Feb 2018 16:34:52 +0900 Subject: [PATCH 0024/2563] Add 2.6.0-preview1 to release and download page --- _data/downloads.yml | 2 ++ _data/releases.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/_data/downloads.yml b/_data/downloads.yml index 358fd84067..3711bd3880 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,6 +4,8 @@ # optional preview: + - 2.6.0-preview1 + stable: - 2.5.0 diff --git a/_data/releases.yml b/_data/releases.yml index 5a4b8fc61b..c4dab6a378 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -19,6 +19,21 @@ # In order to get the release listed on the downloads page, # you also need to add an entry to `_data/downloads.yml'. +# 2.6 series + +- version: 2.6.0-preview1 + date: 2018-02-24 + post: /en/news/2018/02/24/ruby-2-6-0-preview1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview1.zip + bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview1.tar.bz2 + xz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview1.tar.xz + sha256: + gz: 2023c42676d9237481e1a97157d5e2ecc10db5e320d5b9cf872ec1d293265d61 + zip: 6c883927e80430cf07f2d90728d6c2c71164223f378a48ebf964d3b66319f623 + bz2: 8bd6c373df6ee009441270a8b4f86413d101b8f88e8051c55ef62abffadce462 + xz: 1d99139116e4e245ce543edb137b2a8873c26e9f0bde88d8cee6789617cc8d0e # 2.5 series From ae58f4486be9a65908c23dd74173ac2dca275d5c Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 24 Feb 2018 16:36:59 +0900 Subject: [PATCH 0025/2563] =?UTF-8?q?Remove=20duplicated=20"=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E3=81=99=E3=82=8C=E3=81=B0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index c6cf51f422..8a6dba92fc 100644 --- a/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -19,7 +19,7 @@ Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) -JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 +JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 今回のリリースはこのJITコンパイル機能を皆さんの環境で動作を確認して頂くとともに、セキュリティ上の問題が無いかを早期に確認するために行っています。 現在のJITコンパイラはいくつか制限があり、まずgccまたはclangによってビルドされたRubyでかつ、そのコンパイラが実行時に利用可能である必要があります。また、現在はJITコンパイルの基盤を準備している段階で、少数の最適化のみ実装しています。そのため現在でもいくつかのマイクロベンチマークでは潜在的な速度改善が見られるものの、より大きなプログラム、特にRailsアプリケーションなどではJITコンパイラの性能を計測出来る段階ではありません。 From 6533de449b9b79dbdcda6b7e44809ce6e76862ab Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Sun, 25 Feb 2018 05:19:32 +0900 Subject: [PATCH 0026/2563] Improves 2.6.0-preview1 post (en, ja) (#1750) * Improves 2.6.0-preview1 post (en, ja) - fix typos - wraps code in code tags - list item description - linkify Vladimir's MJIT branch --- ...2018-02-24-ruby-2-6-0-preview1-released.md | 31 ++++++++++--------- ...2018-02-24-ruby-2-6-0-preview1-released.md | 23 ++++++++------ 2 files changed, 30 insertions(+), 24 deletions(-) diff --git a/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index 5f9f1776ae..a48b055fe5 100644 --- a/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -18,50 +18,51 @@ Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. JIT compiler aims to improve performance of any Ruby program execution. Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native code. -See also: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization +See also: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). -How to use: Just specify "--jit" in command line or $RUBYOPT environment variable. -Specifying "--jit-verbose=1" allows to print basic information of ongoing JIT compilation. See "ruby --help" for other options. +How to use: Just specify `--jit` in command line or `$RUBYOPT` environment variable. Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT compilation. See `ruby --help` for other options. The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. Currently JIT compiler is supported only when Ruby is built by gcc or clang and the compiler is available on runtime. Otherwise you can't use it for now. -As of 2.6.0-preview1, we're just preparing infrastructure for JIT and very few optimizations are implemented. -You can measure some of potential improvements in micro benchmarks with this release, but it is NOT ready for benchmarking final performance of Ruby's JIT compiler, especially for larger programs like Rails applications. +As of 2.6.0-preview1, we're just preparing infrastructure for JIT and very few optimizations are implemented. You can measure some of potential improvements in micro benchmarks with this release, but it is NOT ready for benchmarking final performance of Ruby's JIT compiler, especially for large programs like Rails applications. + +We're going to implement method inlining in JIT compiler, which is expected to increase Ruby's performance significantly. -We're going to implement method iniling in JIT compiler, which is expected to increase Ruby's performance in order of magnitude. Also, we're planning to increase the supported platforms, and the next plan is to support Visual Studio. Stay tuned for the new age of Ruby's performance. ## New Features -* Add Random.bytes. [Feature #4938] +* Add `Random.bytes`. [Feature #4938] +* Add `Binding#source_location`. [Feature #14230] -* Add Binding#source_location. [Feature #14230] - * This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [Bug #4352]. So, users should use this newly-introduced method instead of `Kernel#eval`. + This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores `binding`'s source location [Bug #4352]. So, users should use this newly-introduced method instead of `Kernel#eval`. -* Add :exception option to let Kernel.#system raise error instead of returning false. [Feature #14386] +* Add `:exception` option to let `Kernel.#system` raise error instead of returning `false`. [Feature #14386] ## Performance improvements -* Speedup `Proc#call` because we dont' need to care about `$SAFE` any more. +* Speedup `Proc#call` because we don't need to care about `$SAFE` any more. [Feature #14318] + With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure x1.4 improvements [Bug #10212]. * Speedup `block.call` where `block` is passed block parameter. [Feature #14330] + Ruby 2.5 improves block passing performance. [Feature #14045] Additionally, Ruby 2.6 improves the performance of passed block calling. - With micro-benchmark we can observe x2.6 improvemnt. + With micro-benchmark we can observe 2.6x improvemnt. ## Other notable changes since 2.5 -* $SAFE is a process global state and we can set 0 again. [Feature #14250] +* `$SAFE` is a process global state and we can set `0` again. [Feature #14250] -* Passing safe_level to ERB.new is deprecated. trim_mode and eoutvar arguments are changed to keyword arguments. [Feature #14256] +* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [Feature #14256] -* Merge RubyGems 2.7.6 +* Merged RubyGems 2.7.6 See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview1/NEWS) or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) diff --git a/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index 8a6dba92fc..88a1b0e292 100644 --- a/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/ja/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -17,9 +17,9 @@ Ruby 2.6.0-preview1は、重要な新機能であるJITを含むため、例年 Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 -他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) +他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: [Vladimir MakarovのMJIT organization](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)) -JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 +JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは`$RUBYOPT`環境変数を指定します。`--jit-verbose=1`を指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 今回のリリースはこのJITコンパイル機能を皆さんの環境で動作を確認して頂くとともに、セキュリティ上の問題が無いかを早期に確認するために行っています。 現在のJITコンパイラはいくつか制限があり、まずgccまたはclangによってビルドされたRubyでかつ、そのコンパイラが実行時に利用可能である必要があります。また、現在はJITコンパイルの基盤を準備している段階で、少数の最適化のみ実装しています。そのため現在でもいくつかのマイクロベンチマークでは潜在的な速度改善が見られるものの、より大きなプログラム、特にRailsアプリケーションなどではJITコンパイラの性能を計測出来る段階ではありません。 @@ -30,22 +30,27 @@ JITコンパイルを有効にするには `--jit` オプションをコマン ## 新機能 -* Random.bytes の追加 [Feature #4938] -* Binding#source_location の追加 [Feature #14230] - * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [Bug #4352]、この新しいメソッドを用いることが今後は推奨されます。 -* Kernel#system の失敗時に、falseを返す代わりに例外を上げさせる :exception オプションを追加 [Feature #14386] +* `Random.bytes` の追加 [Feature #4938] +* `Binding#source_location` の追加 [Feature #14230] + + `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` は`binding`のソースコード行を無視する変更を予定しているため [Bug #4352]、この新しいメソッドを用いることが今後は推奨されます。 + +* `Kernel#system` の失敗時に、`false`を返す代わりに例外を上げさせる `:exception` オプションを追加 [Feature #14386] ## パフォーマンスの改善 -* 後述の$SAFEの変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [Feature #14318] +* 後述の`$SAFE`の変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [Feature #14318] + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [Bug #10212]. + * `block` がブロックパレメータである時、`block.call`が高速化されました [Feature #14330] + Ruby 2.5ではブロック渡しの性能が改善されましたが [Feature #14045]、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 マイクロベンチマークにおいては2.6倍高速化されています。 ## その他の注目すべき 2.5 からの変更点 -* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました [Feature #14250] +* `$SAFE` はプロセスグローバルで扱われることになると共に、`0`以外を設定した後に`0`に戻せるようになりました [Feature #14250] * `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [Feature #14256] * RubyGems 2.7.6 をマージしました @@ -56,7 +61,7 @@ JITコンパイルを有効にするには `--jit` オプションをコマン 今日、2月24日はRubyの25年目の誕生日です。 誕生日おめでとう! みなさんもRuby 2.6.0-preview1で楽しいプログラミングを! -## Download +## ダウンロード * From 6ee4eb8505319bc5c90c6e63a77b3be7e84e3e2e Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Sun, 25 Feb 2018 14:05:21 +0800 Subject: [PATCH 0027/2563] Translate 2.6.0-preview1 to Simplified Chinese (zh_cn) Closes #1749 --- ...2018-02-24-ruby-2-6-0-preview1-released.md | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 zh_cn/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md diff --git a/zh_cn/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/zh_cn/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md new file mode 100644 index 0000000000..90420005a1 --- /dev/null +++ b/zh_cn/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -0,0 +1,92 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview1 已发布" +author: "naruse" +translator: "Delton Ding" +date: 2018-02-24 00:00:00 +0000 +lang: zh_cn +--- + +我们高兴地宣布 Ruby 2.6.0-preview1 已发布。 + +Ruby 2.6.0-preview1 是 Ruby 2.6.0 系列的首个测试版本。此次 preview1 发布比以往早,因为其包括了重要新特性:JIT。 + +## JIT + +Ruby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 + +JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语言中常见的 JIT 编译器,Ruby 的 JIT 编译器进行 JIT 编译的过程非常独特。其将生成的 C 代码打印至磁盘并 spawn 常见的 C 编译器进行代码的生成工作。详见:[Vladimir Makarov 的 MJIT 组织](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 + +如何使用:在命令行或 `$RUBYOPT` 环境变量中指定 `--jit` 参数。指定 `--jit-verbose=1` 将允许打印 JIT 编译过程中的调试信息。详见 `ruby --help` 查看更多其他选项。 + +此 JIT 发布的主要目的是检查平台的兼容性,以及在 2.6 版本发布前找出安全风险。目前 JIT 编译器只当 Ruby 由 gcc 或 clang 编译后编译器仍可被运行时发现时可用,除此之外你暂时无法使用 JIT。 + +作为 2.6.0-preview1,我们在为 JIT 的基础设施作准备,所以实现了很少的优化。你可以通过此版本中的 micro benchmarks 测量出潜在的性能提升,但这并 **不是** 准备好接受最终性能测试的 Ruby JIT 编译器,特别是对于大型应用,例如 Rails 的测试。 + +我们正着手实现 JIT 编译器的内联方法,这将有助于大幅提升 Ruby 的性能。此外,我们计划增加支持的平台的数量,而下一个目标是支持 Visual Studio。 + +请保持对 Ruby 新时代性能的关注。 + +## 新特性 + +* 新增 `Random.bytes`。[功能 #4938] + +* 新增 `Binding#source_location`。[功能 #14230] + + 此方法以一个二元组数组 `__FILE__` and `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [漏洞 #4352]。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 + +* 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[功能 #14386] + +## 性能提升 + +* 提升 `Proc#call` 的速度,因为我们无需再关心 `$SAFE`。[功能 #14318] + + 通过 `lc_fizzbuzz` 多次使用 `Proc#call` 的基准测试我们测量到了 1.4 倍性能提升 [漏洞 #10212]。 + +* 提升了当 `block` 是代码块参数时 `block.call` 的性能。[功能 #14330] + + Ruby 2.5 提升了代码块传递的性能。[功能 #14045] 另外,Ruby 2.6 提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。 + +## 其他自 2.5 以来的重要变化 + +* `$SAFE` 成为了进程全局状态,我们可以再次将其设为 `0`。[功能 #14250] + +* 不再建议将 `safe_level` 参数传递给 `ERB.new` 的行为。`trim_mode` 和 `eoutvar` 参数被转换成了关键词参数。[功能 #14256] + +* 合并 RubyGems 2.7.6 + +见 [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview1/NEWS) 或 [提交日志](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) 以查看详情。 + +这些合并后,自 Ruby 2.5.0 已发生了 [1115 个文件变更,23023 行新增(+),14748 行删除(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1)! + +今天 2 月 24 日,是 Ruby 25 周年的生日。祝 Ruby 生日快乐,并享受 Ruby 2.6.0-preview1 的编程吧! + +## 下载 + +* + + SIZE: 16082501 bytes + SHA1: 94b4a2f5f992dc9855364284e9c64316bf129c90 + SHA256: 2023c42676d9237481e1a97157d5e2ecc10db5e320d5b9cf872ec1d293265d61 + SHA512: 004696c4f087333ba7cb2285418dcce70f399966ae8fed817aab9759fd2d75beb088c4aeb294fcd4260112e8422f490cd4dbdfce402d73f96bb679b8bb3e1607 + +* + + SIZE: 19807007 bytes + SHA1: 24d76f67bf913348eca783a2ecf6f3faf37299ae + SHA256: 6c883927e80430cf07f2d90728d6c2c71164223f378a48ebf964d3b66319f623 + SHA512: 1e7f318cec1b7875fd9891df671078de7585b556695a2a85708483ddcacfd6e0b63b70ec2535e92ff981b4f72063721ed552df49688e066666fcd7ae520ae667 + +* + + SIZE: 14104578 bytes + SHA1: 9f0fb79643a4673a839b0c8496eccc6e1dbd022d + SHA256: 8bd6c373df6ee009441270a8b4f86413d101b8f88e8051c55ef62abffadce462 + SHA512: d9cb270529a97670d54f43a0236fab072714e715c39277dab70b7a1843ec818e6700e47e1384c7256f9e0ae41ab2c0b768a0de38a5ecf4f4fff5da6ef5ad4944 + +* + + SIZE: 11423984 bytes + SHA1: bbbc89d760cdaadbca3cbff587295864edeff0af + SHA256: 1d99139116e4e245ce543edb137b2a8873c26e9f0bde88d8cee6789617cc8d0e + SHA512: d12ff29778d8d940344619881b4d8247c2fb6b44ac2b2dbddb7078828e893cfac9a5a95b5588f0afdbed52bdb6dea95cff1b9ce3ad47dfa62209e97dab8810b6 From f61e9426a5db2a8c1d705e3a0e42daff928ee380 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Sun, 25 Feb 2018 14:11:45 +0800 Subject: [PATCH 0028/2563] Translate ruby 2.6.0-preview1 post (zh_tw) Closes #1753 --- ...2018-02-24-ruby-2-6-0-preview1-released.md | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 zh_tw/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md diff --git a/zh_tw/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/zh_tw/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md new file mode 100644 index 0000000000..23916e3d77 --- /dev/null +++ b/zh_tw/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -0,0 +1,92 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview1 已發佈" +author: "naruse" +translator: "Delton Ding" +date: 2018-02-24 00:00:00 +0000 +lang: zh_tw +--- + +我們高興地宣佈 Ruby 2.6.0-preview1 已發佈。 + +Ruby 2.6.0-preview1 是 Ruby 2.6.0 的首個預覽版本。此次 preview1 發佈比以往早,因為其包括了重要新功能:JIT。 + +## JIT + +Ruby 2.6 引入了 JIT (Just-in-time) 編譯器的初始實作。 + +JIT 編譯器旨在提升任何 Ruby 程式的執行速度。不同於其他語言中常見的 JIT 編譯器,Ruby 的 JIT 編譯器進行 JIT 編譯的過程非常獨特。其將生成的 C 程式碼寫到硬碟並 spwan 常見的 C 編譯器進行目的碼的生成工作。詳見:[Vladimir Makarov 的 MJIT Organization](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 + +如何使用:在終端或 `$RUBYOPT` 環境變數中指定 `--jit` 參數。指定 `--jit-verbose=1` 將允許列印 JIT 編譯過程中的除錯訊息。詳見 `ruby --help` 查看更多的選項。 + +此 JIT 發佈的主要目的是檢查平台的相容性,以及在 2.6 版本發佈前找出安全風險。目前 JIT 編譯器只當 Ruby 由 gcc 或 clang 編譯后編譯器仍可被運行環境發現時可用,除此之外你暫時無法使用 JIT。 + +作為 2.6.0-preview1,我們在為 JIT 的基礎設施作準備,所以實作了很少的優化。你可以通過此版本中的 micro benchmarks 測量出潛在的效能提升,但這並**不是**準備好接受最終效能測試的 Ruby JIT 編譯器,特別是對於大型應用,例如 Rails 的測試。 + +我們正著手實作 JIT 編譯器的內聯方法,這將有助於大幅提升 Ruby 的效能。此外,我們計劃支持更多平台,而下一個目標是支持 Visual Studio。 + +請保持對 Ruby 新時代效能的關注。 + +## 新功能 + +* 新增 `Random.bytes`。[Feature #4938] + +* 新增 `Binding#source_location`。[Feature #14230] + + 此方法以一個二元組陣列 `__FILE__` and `__LINE__` 的形式返回 `binding` 的原始碼路徑。傳統上,這可以通過執行 `eval("[__FILE__, __LINE__]", binding)` 來獲得相同的資料。但我們計劃改變這一行為讓 `Kernel#eval` 忽略 `binding` 的原始碼路徑 [Bug #4352]。所以,用戶需要通過新加入的方法來替代之前的 `Kernel#eval`。 + +* 增加 `:exception` 選項,以讓 `Kernel.#system` 拋出例外而不是返回 `false`。[Feature #14386] + +## 效能提升 + +* 提升 `Proc#call` 的速度,因為我們無需再關心 `$SAFE`。[Feature #14318] + + 通過 `lc_fizzbuzz` 多次使用 `Proc#call` 的基準化測試,我們測得了 1.4 倍效能提升 [Bug #10212]。 + +* 提升了當 `block` 是 block 參數時 `block.call` 的效能。[Feature #14330] + + Ruby 2.5 提升了 block 傳遞的效能。[Feature #14045] 另外,Ruby 2.6 提升了傳遞 block 調用時的效能。通過 micro-benchmark 我們測得了 2.6 倍效能提升。 + +## 自 2.5 起重要的變化 + +* `$SAFE` 成為了 Process 全域狀態,我們可以再次將其設為 `0`。[Feature #14250] + +* 不再建議將 `safe_level` 參數傳遞給 `ERB.new` 的行為。`trim_mode` 和 `eoutvar` 参数被轉換成了關鍵詞參數。[Feature #14256] + +* 合併 RubyGems 2.7.6 + +見 [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview1/NEWS) 或 [commit 記錄](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1)來進一步了解。 + +以上自 Ruby 2.5.0 計有 [1115 個文件變更,新增代碼 23023 行,移除了 14748 行](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1)! + +今天 2 月 24 日,是 Ruby 25 週年的生日。祝 Ruby 生日快樂,享受 Ruby 2.6.0-preview1 吧! + +## 下載 + +* + + SIZE: 16082501 bytes + SHA1: 94b4a2f5f992dc9855364284e9c64316bf129c90 + SHA256: 2023c42676d9237481e1a97157d5e2ecc10db5e320d5b9cf872ec1d293265d61 + SHA512: 004696c4f087333ba7cb2285418dcce70f399966ae8fed817aab9759fd2d75beb088c4aeb294fcd4260112e8422f490cd4dbdfce402d73f96bb679b8bb3e1607 + +* + + SIZE: 19807007 bytes + SHA1: 24d76f67bf913348eca783a2ecf6f3faf37299ae + SHA256: 6c883927e80430cf07f2d90728d6c2c71164223f378a48ebf964d3b66319f623 + SHA512: 1e7f318cec1b7875fd9891df671078de7585b556695a2a85708483ddcacfd6e0b63b70ec2535e92ff981b4f72063721ed552df49688e066666fcd7ae520ae667 + +* + + SIZE: 14104578 bytes + SHA1: 9f0fb79643a4673a839b0c8496eccc6e1dbd022d + SHA256: 8bd6c373df6ee009441270a8b4f86413d101b8f88e8051c55ef62abffadce462 + SHA512: d9cb270529a97670d54f43a0236fab072714e715c39277dab70b7a1843ec818e6700e47e1384c7256f9e0ae41ab2c0b768a0de38a5ecf4f4fff5da6ef5ad4944 + +* + + SIZE: 11423984 bytes + SHA1: bbbc89d760cdaadbca3cbff587295864edeff0af + SHA256: 1d99139116e4e245ce543edb137b2a8873c26e9f0bde88d8cee6789617cc8d0e + SHA512: d12ff29778d8d940344619881b4d8247c2fb6b44ac2b2dbddb7078828e893cfac9a5a95b5588f0afdbed52bdb6dea95cff1b9ce3ad47dfa62209e97dab8810b6 From d867919dd74979b62d6d58af0b7a6ed6cdfbb473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Sun, 25 Feb 2018 10:21:04 +0100 Subject: [PATCH 0029/2563] Translate 2.6.0-preview1 release post (de) --- ...2018-02-24-ruby-2-6-0-preview1-released.md | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md diff --git a/de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md new file mode 100644 index 0000000000..e5d59f0187 --- /dev/null +++ b/de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -0,0 +1,144 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview1 veröffentlicht" +author: "naruse" +translator: "Marvin Gülker" +date: 2018-02-24 00:00:00 +0000 +lang: de +--- + +Wir freuen uns, die Veröffentlichung von Ruby 2.6.0-preview1 +bekanntgeben zu können. + +Ruby 2.6.0-preview1 ist die erste Vorschau auf Ruby 2.6.0. Sie wird +dieses Mal besonders früh veröffentlicht, weil sie ein besonders +wichtiges neues Feature enthält: den JIT. + +## JIT + +Ruby 2.6 führt erstmals einen JIT-Compiler _(Just in Time Compiler)_ ein. + +Der JIT-Compiler soll die allgemeine Performanz aller Ruby-Programme +verbessern. Rubys JIT-Compiler arbeitet anders als herkömmliche +JIT-Compiler für andere Programmiersprachen, denn er schreibt C-Code +auf die Festplatte und startet dann einen gewöhnlichen +C-Compiler-Prozess, um Maschinencode zu erzeugen. Siehe dazu auch: +[Die Funktionsweise von MJIT von Wladimir Makarow](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Um den JIT zu benutzen, geben Sie `--jit` als Kommandozeilenoption +oder in der Umgsbungsvariable `$RUBYOPT` an. Bei Angabe von +`--jit-verbose=1` werden Informationen über die durchgeführte +JIT-Kompilation ausgegeben. Siehe auch `ruby --help` für weitere +Optionen. + +Diese Veröffentlichung soll Ihnen Gelegenheit geben, zu überprüfen, ob +der JIT auf Ihrer Plattform funktioniert. Außerdem soll eine Prüfung +auf Sicherheitsprobleme noch vor der Freigabe von 2.6 ermöglicht +werden. Der JIT-Compiler wird derzeit nur unterstützt, wenn Ruby mit +GCC oder Clang gebaut wird und der Compiler auch während des +Programmablaufs verfügbar ist. Ansonsten können Sie ihn momenten leider +nicht verwenden. + +Zum jetzigen Zeitpunkt (2.6.0-preview1) bereiten wir lediglich die +Infrastruktur für den JIT vor und es wurden nur wenige Optimierungen +eingebaut. Zwar kann man in Mikro-Benchmarks einige potenzielle +Verbesserungen feststellen, jedoch ist diese Veröffentlichung absolut +ungeeignet, um die finale Performanz von Rubys JIT-Compiler zu +bestimmen. Dies gilt insbesondere für umfangreiche Programme wie +Rails-Anwendungen. + +Wir erwarten, dass durch die geplante Aufnahme von Methoden-Inlining +in den JIT-Compiler Rubys Performanz erheblich verbessert wird. + +Im Übrigen planen wir, mehr Plattformen zu unterstützen. Nächstes Ziel +in dieser Hinsicht ist die Unterstützung von Visual Studio. + +Machen Sie sich bereit für eine neue Ära von Rubys Performanz. + +## Neue Features + +* `Random.bytes` hinzugefügt [Feature #4938] +* `Binding#source_location` hinzugefügt [Feature #14230] + + Diese Methode gibt ein 2-Element-Array mit den Bestandteilen + `__FILE__` und `__LINE__` zurück, die beschreiben, an welcher Stelle + im Quelltext ein Binding definiert wurde. Dieselbe Information + konnte bisher über `eval("[__FILE__, __LINE__]", binding)` + ermittelt werden, allerdings planen wir, dieses Verhalten so zu + ändern, dass `Kernel#eval` den Definitionsort eines `binding` + ignoriert [Bug #4352]. Nutzern wird deshalb empfohlen, auf diese neu + eingeführte Methode umzusteigen. + +* Option `:exception` zu `Kernel.#system` hinzugefügt. Diese Option + führt dazu, dass #system statt `false` zurückzugeben einen Fehler + verursacht [Feature #14386]. + +## Performanzverbesserungen + +* `Proc#call` beschleunigt, weil wir uns nicht mehr um `$SAFE` kümmern + müssen. [Feature #14318] + + Mithilfe des `lc_fizzbuzz`-Benchmarks, das sehr häufig `Proc#call` + benutzt, haben wir eine 1,4-fache Beschleunigung gemessen. [Bug #10212] + +* `block.call` beschleunigt, wenn `block` als Block-Parameter + übergeben wird. [Feature #14330] + + Bereits Ruby 2.5 verbessert die Performanz bei der Übergabe von + Blöcken. [Feature #14045] + Mit Ruby 2.6 wird auch der Aufruf von übergebenen Blöcken + beschleunigt, sodass wir im Mikro-Benchmark einer 2,6-fache + Beschleunigung messen konnten. + +## Sonstige bemerkenswerte Änderungen seit 2.5 + +* `$SAFE` ist ein prozess-globaler Zustand und kann wieder auf `0` gesetzt + werden. [Feature #14250] + +* Die Übergabe von `safe_level` an `ERB.new` ist als veraltet + markiert worden. Die Parameter `trim_mode` und `eoutvar` wurden in + Schlüsselwortargumente umgesetzt. [Feature #14256] + +* RubyGems 2.7.6 aufgenommen. + +Siehe die [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview1/NEWS) +oder die [Commit-Logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) +für weitere Details. + +Mit diesen Änderungen wurden +[1115 Dateien geändert, 23023 Einfügungen(+), 14748 Löschungen(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) +seit Ruby 2.5.0! + +Am heutigen 24. Februar ist Rubys 25. Geburtstag. +Herzlichen Glückwunsch Ruby, und viel Spaß mit der Programmierung mit +Ruby 2.6.0-preview1! + +## Download + +* + + SIZE: 16082501 bytes + SHA1: 94b4a2f5f992dc9855364284e9c64316bf129c90 + SHA256: 2023c42676d9237481e1a97157d5e2ecc10db5e320d5b9cf872ec1d293265d61 + SHA512: 004696c4f087333ba7cb2285418dcce70f399966ae8fed817aab9759fd2d75beb088c4aeb294fcd4260112e8422f490cd4dbdfce402d73f96bb679b8bb3e1607 + +* + + SIZE: 19807007 bytes + SHA1: 24d76f67bf913348eca783a2ecf6f3faf37299ae + SHA256: 6c883927e80430cf07f2d90728d6c2c71164223f378a48ebf964d3b66319f623 + SHA512: 1e7f318cec1b7875fd9891df671078de7585b556695a2a85708483ddcacfd6e0b63b70ec2535e92ff981b4f72063721ed552df49688e066666fcd7ae520ae667 + +* + + SIZE: 14104578 bytes + SHA1: 9f0fb79643a4673a839b0c8496eccc6e1dbd022d + SHA256: 8bd6c373df6ee009441270a8b4f86413d101b8f88e8051c55ef62abffadce462 + SHA512: d9cb270529a97670d54f43a0236fab072714e715c39277dab70b7a1843ec818e6700e47e1384c7256f9e0ae41ab2c0b768a0de38a5ecf4f4fff5da6ef5ad4944 + +* + + SIZE: 11423984 bytes + SHA1: bbbc89d760cdaadbca3cbff587295864edeff0af + SHA256: 1d99139116e4e245ce543edb137b2a8873c26e9f0bde88d8cee6789617cc8d0e + SHA512: d12ff29778d8d940344619881b4d8247c2fb6b44ac2b2dbddb7078828e893cfac9a5a95b5588f0afdbed52bdb6dea95cff1b9ce3ad47dfa62209e97dab8810b6 From ad07666a167cdd11222665dc41fba4082bcb4847 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 24 Feb 2018 16:13:48 +0900 Subject: [PATCH 0030/2563] Translate 2017-12-27 fukuoka-ruby-award 2018 --- .../2017-12-27-fukuoka-ruby-award-2018.md | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md diff --git a/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md b/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md new file mode 100644 index 0000000000..b1b97ec5fa --- /dev/null +++ b/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md @@ -0,0 +1,67 @@ +--- +layout: news_post +title: "2018 후쿠오카 루비 경진대회 - Matz가 심사합니다" +author: "Fukuoka Ruby" +translator: "shia" +date: 2017-12-27 00:00:00 +0000 +lang: ko +--- + +루비스트 여러분에게, + +일본 후쿠오카 현은 "Matz" 마츠모토씨와 함께 여러분을 다음 경진 대회에 초대합니다. 흥미로운 루비 프로그램을 개발하셨다면 한번 지원해보세요. + +2018 후쿠오카 루비 경진대회 - 대상 - 백만 엔! + +접수 마감: 2018년 1월 31일 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz를 포함한 패널들이 후쿠오카 경진대회의 우승자를 선택합니다. +후쿠오카 경진대회의 대상에게는 백만 엔의 상금이 주어집니다. +이전 이 대회의 우승자로는 Rhomobile (USA)과 APEC 기후 센터(Korea)가 있습니다. + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +대회에 참가하는 프로그램은 완전히 루비로 작성될 필요는 없습니댜. 하지만 루비의 +특징을 살려야 합니다. + +프로젝트는 지난 12개월 동안 개발되거나 완료된 것만이 유효합니다. 추가 설명이나 +참가를 원하신다면 다음 웹사이트를 방문하세요. + +[http://www.digitalfukuoka.jp/events/152](http://www.digitalfukuoka.jp/events/152) +또는 +[http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc) + +지원서는 award@f-ruby.com 로 보내주세요. + +올해에는 다음과 같은 특별상이 준비되어 있습니다. + +AWS 상의 수상자는 다음을 받게 됩니다. + +* 아마존 파이어 타블렛 (모델이 변경될 가능성 있음) +* AWS 아키텍트의 기술 상담 + +GMO 페파보 상의 수상자는 다음을 받게 됩니다. + +* 현지 음식과 과자로 가득찬 선물 바구니(30,000엔 상당) +* 현지에서 사용 가능한 50,000엔 상품권 + +Money Forward 상의 수상자는 다음을 받게 됩니다. + +* Money Forward에서 일하고 있는 루비 커미터와의 저녁 식사 +* 개인 재정 관리 서비스 "Money Forward"의 10년 프리미엄 무료 이용권 + +IIJ GIO 상의 수상자는 다음을 받게 됩니다. + +* 500,000엔 상당의 GIO 무료 쿠폰(유효기간 6개월) + +Salesforce 상의 수상자는 다음을 받게 됩니다. + +* salesforce.com의 새로운 기념품 + +"Matz는 코드를 주의깊게 테스트하고 읽어볼 것이므로, 지원할만한 충분한 가치가 있을 것입니다! 대회에 참가하는 것은 무료입니다." + +감사합니다! From 38bff66459e2166ced2292bf8fec20643e1eacdd Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 24 Feb 2018 16:14:15 +0900 Subject: [PATCH 0031/2563] Tranlate 2018-02-17 multiple vulnerabilities in rubygems --- ...17-multiple-vulnerabilities-in-rubygems.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md diff --git a/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md new file mode 100644 index 0000000000..ec913f8204 --- /dev/null +++ b/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "RubyGems의 취약점 다수 발견" +author: "usa" +translator: "shia" +date: 2018-02-17 03:00:00 +0000 +tags: security +lang: ko +--- + +루비 부가 라이브러리인 RubyGems의 취약점 다수가 발견되었습니다. +[RubyGems 공식 블로그](http://blog.rubygems.org/2018/02/15/2.7.6-released.html)에 보고되었습니다. + +## 세부 내용 + +아래와 같은 취약점이 보고되었습니다. + +* 최상위 디렉토리 외부에 걸려있는 심볼릭 링크에 쓰기를 수행할 때 경로 순회를 하지 않습니다. +* 잼의 소유자의 안전하지 않은 객체 역직렬화 취약점을 수정합니다. +* tar 헤더의 8진수 필드 해석이 엄격해집니다. +* 패키지에 중복되는 파일이 존재하는 경우 보안 에러를 발생시킵니다. +* spec의 homepage 속성의 URL 검증이 강화됩니다. +* 젬 서버를 통해 보여지는 homepage 속성에 대한 XSS 취약점이 완화됩니다. +* 젬 설치 중의 경로 순회 문제를 방지합니다. + +루비 사용자는 가능한 빨리 업그레이드하거나 아래 해결 방법으로 조치하기 바랍니다. + +## 해당 버전 + +* 루비 2.2 버전대: 2.2.9 이하 +* 루비 2.3 버전대: 2.3.6 이하 +* 루비 2.4 버전대: 2.4.3 이하 +* 루비 2.5 버전대: 2.5.0 이하 +* 리비전 62422 이전의 트렁크 + +## 해결 방법 + +루비를 업그레이드할 수 없는 상황이라면 RubyGems를 최신 버전으로 업그레이드하세요. +RubyGems 2.7.6 이후 버전은 취약점을 보완하였습니다. + +``` +gem update --system +``` + +RubyGems를 업그레이드를 할 수 없다면, 차선책으로 다음 패치를 적용할 수 있습니다. + +* [루비 2.2.9](https://bugs.ruby-lang.org/attachments/download/7030/rubygems-276-for-ruby22.patch) +* [루비 2.3.6](https://bugs.ruby-lang.org/attachments/download/7029/rubygems-276-for-ruby23.patch) +* [루비 2.4.3](https://bugs.ruby-lang.org/attachments/download/7028/rubygems-276-for-ruby24.patch) +* [루비 2.5.0](https://bugs.ruby-lang.org/attachments/download/7027/rubygems-276-for-ruby25.patch) + +개발버전에 대하여는, 최신 리비전으로 업데이트합니다. + +## 도움을 준 글 + +이 보고서는 [RubyGems 공식 블로그](http://blog.rubygems.org/2018/02/15/2.7.6-released.html)를 바탕으로 하여 작성하였습니다. + +## 수정 이력 + +* 2018-02-17 12:00:00 (KST) 최초 공개 From a5ad8ce824476166c66e7b7ff623c56c412e476c Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 24 Feb 2018 19:35:57 +0900 Subject: [PATCH 0032/2563] Translate 2018-02-24-ruby-2-6-0-preview1-released --- ...2018-02-24-ruby-2-6-0-preview1-released.md | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md diff --git a/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md new file mode 100644 index 0000000000..5a973c633f --- /dev/null +++ b/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -0,0 +1,102 @@ +--- +layout: news_post +title: "루비 2.6.0-preview1 릴리스" +author: "naruse" +translator: "shia" +date: 2018-02-24 00:00:00 +0000 +lang: ko +--- + +루비 2.6.0-preview1 릴리스를 알리게 되어 기쁘게 생각합니다. + +루비 2.6.0-preview1은 루비 2.6.0의 첫번째 프리뷰입니다. +이 프리뷰는 JIT이라는 중요한 새 기능을 포함하고 있기 때문에 평소보다 빠르게 릴리스됩니다. + +## JIT + +루비 2.6은 JIT (Just-in-time) 컴파일러의 첫 구현체를 포함합니다. + +JIP 컴파일러는 루비 프로그램의 실행 성능을 향상시키는 것이 목적입니다. +다른 언어의 일반적인 JIT 컴파일러와는 다르게, 루비의 JIT 컴파일러는 C 코드를 디스크에 출력한 뒤, 일반적인 C 컴파일러 프로세스를 사용해 네이티브 코드를 생성하도록 합니다. +다음을 참고하세요. [Vladimir Makarov가 작성한 MJIT 구조](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYOPT` 환경 변수에 지정합니다. `--jit-verbose=1`을 지정하면 실행중인 JIT 컴파일의 기본적인 정보를 출력합니다. 다른 옵션에 대해서는 `ruby --help`를 확인하세요. + +이번 JIT 릴리스의 주 목적은 각 플랫폼에서 잘 동작하는지, 보안상의 문제는 발생하는지 미리 확인하는 것입니다. +현재 JIT 컴파일러는 루비가 gcc나 clang로 빌드되었으며, 그리고 해당 컴파일러가 실행 중에 사용가능한 경우에만 이용할 수 있습니다. 그 이외에는 아직 이용할 수 없습니다. + +2.6.0-preview1에서는 JIT를 이용하기 위한 기반을 추가하고 매우 적은 최적화만이 구현되어 있습니다. 이 릴리스에 대해서 간단한 벤치마크를 이용하여 잠재적인 성능 향상을 확인할 수 있습니다만, Rails 애플리케이션과 같은 대규모 프로그램에서 루비의 JIT 컴파일러의 최종적인 성능을 측정할만한 단계는 아닙니다. + +앞으로 루비의 성능을 한단계 향상시켜줄 것으로 기대되고 있는 메소드 인라인화를 구현할 예정입니다. +또한 지원 환경을 늘려나갈 계획이며, 그 첫 번째로는 Visual Studio를 지원하는 것입니다. + +새로운 루비의 성능을 기대해주세요. + +## 새로운 기능 + +* `Random.bytes`를 추가. [Feature #4938] +* `Binding#source_location`를 추가. [Feature #14230] + + 이 메소드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다 [Bug #4352]. 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메소드를 사용해야 합니다. + +* `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가. [Feature #14386] + +## 성능 향상 + +* 뒤에서 설명할 `$SAFE`의 변경으로 고려할 부분이 줄어들었으므로 `Proc#call`의 속도가 빨라졌습니다. [Feature #14318] + + `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크에서는 1.4배 빨라졌습니다. [Bug #10212] + +* `block`이 블록 파라미터인 경우의 `block.call`이 고속화됩니다. [Feature #14330] + + 루비 2.5에서는 블록 넘기기의 성능이 향상되었습니다만 [Feature #14045], + 추가로 2.6에서는 넘겨진 블록의 호출이 개선되었습니다. + 간단한 벤치마크에서 2.6배의 성능 향상을 확인했습니다. + +## 2.5 이후 주목할 만한 변경 + +* `$SAFE`가 프로세스 전역으로 취급되며, `0` 이외의 값을 설정한 후에 `0`으로 되돌리는 것이 가능해집니다. [Feature #14250] + +* `ERB.new`에 `safe_level`을 넘기는 기능이 제거 예정이 되었습니다. 또한 `trim_mode`와 `eoutvar`는 키워드 변수로 변경됩니다. [Feature #14256] + +* RubyGems 2.7.6을 병합했습니다. + +자세한 내용은 [뉴스](https://github.com/ruby/ruby/blob/v2_6_0_preview1/NEWS)와 +[커밋 로그](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1)를 참고하세요. + +이러한 변경사항에 따라, +루비 2.5.0 이후 [파일 1115개 수정, 23023줄 추가(+), 14748줄 삭제(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) +하였습니다! + +2월 24일 오늘은 루비의 25번째 생일입니다. +루비에게 생일 축하를 해주시고, 루비 2.6.0-preview1을 즐겨주시기 바랍니다! + +## 다운로드 + +* + + SIZE: 16082501 bytes + SHA1: 94b4a2f5f992dc9855364284e9c64316bf129c90 + SHA256: 2023c42676d9237481e1a97157d5e2ecc10db5e320d5b9cf872ec1d293265d61 + SHA512: 004696c4f087333ba7cb2285418dcce70f399966ae8fed817aab9759fd2d75beb088c4aeb294fcd4260112e8422f490cd4dbdfce402d73f96bb679b8bb3e1607 + +* + + SIZE: 19807007 bytes + SHA1: 24d76f67bf913348eca783a2ecf6f3faf37299ae + SHA256: 6c883927e80430cf07f2d90728d6c2c71164223f378a48ebf964d3b66319f623 + SHA512: 1e7f318cec1b7875fd9891df671078de7585b556695a2a85708483ddcacfd6e0b63b70ec2535e92ff981b4f72063721ed552df49688e066666fcd7ae520ae667 + +* + + SIZE: 14104578 bytes + SHA1: 9f0fb79643a4673a839b0c8496eccc6e1dbd022d + SHA256: 8bd6c373df6ee009441270a8b4f86413d101b8f88e8051c55ef62abffadce462 + SHA512: d9cb270529a97670d54f43a0236fab072714e715c39277dab70b7a1843ec818e6700e47e1384c7256f9e0ae41ab2c0b768a0de38a5ecf4f4fff5da6ef5ad4944 + +* + + SIZE: 11423984 bytes + SHA1: bbbc89d760cdaadbca3cbff587295864edeff0af + SHA256: 1d99139116e4e245ce543edb137b2a8873c26e9f0bde88d8cee6789617cc8d0e + SHA512: d12ff29778d8d940344619881b4d8247c2fb6b44ac2b2dbddb7078828e893cfac9a5a95b5588f0afdbed52bdb6dea95cff1b9ce3ad47dfa62209e97dab8810b6 From 142e135d44606e786ddfc6beb5c1b9ab7f0c8d7b Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 25 Feb 2018 20:11:47 +0900 Subject: [PATCH 0033/2563] Apply reviews --- .../2017-12-27-fukuoka-ruby-award-2018.md | 26 +++++++++---------- ...17-multiple-vulnerabilities-in-rubygems.md | 6 ++--- ...2018-02-24-ruby-2-6-0-preview1-released.md | 26 +++++++++---------- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md b/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md index b1b97ec5fa..25181b5d70 100644 --- a/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md +++ b/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md @@ -9,7 +9,7 @@ lang: ko 루비스트 여러분에게, -일본 후쿠오카 현은 "Matz" 마츠모토씨와 함께 여러분을 다음 경진 대회에 초대합니다. 흥미로운 루비 프로그램을 개발하셨다면 한번 지원해보세요. +일본 후쿠오카 현은 "Matz" 마츠모토 씨와 함께 여러분을 다음 경진 대회에 초대합니다. 흥미로운 루비 프로그램을 개발하셨다면 한번 지원해보세요. 2018 후쿠오카 루비 경진대회 - 대상 - 백만 엔! @@ -19,9 +19,9 @@ lang: ko Matz를 포함한 패널들이 후쿠오카 경진대회의 우승자를 선택합니다. 후쿠오카 경진대회의 대상에게는 백만 엔의 상금이 주어집니다. -이전 이 대회의 우승자로는 Rhomobile (USA)과 APEC 기후 센터(Korea)가 있습니다. +이전 이 대회의 우승자로는 Rhomobile(미국)과 APEC 기후 센터(한국)가 있습니다. -[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + 대회에 참가하는 프로그램은 완전히 루비로 작성될 필요는 없습니댜. 하지만 루비의 특징을 살려야 합니다. @@ -29,35 +29,35 @@ Matz를 포함한 패널들이 후쿠오카 경진대회의 우승자를 선택 프로젝트는 지난 12개월 동안 개발되거나 완료된 것만이 유효합니다. 추가 설명이나 참가를 원하신다면 다음 웹사이트를 방문하세요. -[http://www.digitalfukuoka.jp/events/152](http://www.digitalfukuoka.jp/events/152) + 또는 -[http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/) + [http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc) -지원서는 award@f-ruby.com 로 보내주세요. +지원서는 award@f-ruby.com으로 보내주세요. 올해에는 다음과 같은 특별상이 준비되어 있습니다. AWS 상의 수상자는 다음을 받게 됩니다. -* 아마존 파이어 타블렛 (모델이 변경될 가능성 있음) +* 아마존 파이어 태블릿 (모델이 변경될 가능성 있음) * AWS 아키텍트의 기술 상담 GMO 페파보 상의 수상자는 다음을 받게 됩니다. -* 현지 음식과 과자로 가득찬 선물 바구니(30,000엔 상당) -* 현지에서 사용 가능한 50,000엔 상품권 +* Lolipop! 공유 호스팅 서비스: 기본 플랜의 10년 구독권이나 클라우드 서비스에서 사용 가능한 100,000엔 분의 쿠폰 +* Muumuu 도메인 DNS 등록 서비스: 1개 도메인의 10년 무료 구독권(매년 10,000엔 이하의 비용이 드는 도메인에 한하여) + +IIJ GIO 상의 수상자는 다음을 받게 됩니다. + +* 500,000엔 상당의 GIO 무료 쿠폰(유효기간 6개월) Money Forward 상의 수상자는 다음을 받게 됩니다. * Money Forward에서 일하고 있는 루비 커미터와의 저녁 식사 * 개인 재정 관리 서비스 "Money Forward"의 10년 프리미엄 무료 이용권 -IIJ GIO 상의 수상자는 다음을 받게 됩니다. - -* 500,000엔 상당의 GIO 무료 쿠폰(유효기간 6개월) - Salesforce 상의 수상자는 다음을 받게 됩니다. * salesforce.com의 새로운 기념품 diff --git a/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md index ec913f8204..b2fe9312c3 100644 --- a/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md +++ b/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -15,12 +15,12 @@ lang: ko 아래와 같은 취약점이 보고되었습니다. -* 최상위 디렉토리 외부에 걸려있는 심볼릭 링크에 쓰기를 수행할 때 경로 순회를 하지 않습니다. -* 잼의 소유자의 안전하지 않은 객체 역직렬화 취약점을 수정합니다. +* 최상위 디렉터리 외부에 걸려있는 심볼릭 링크에 쓰기를 수행할 때 경로 순회를 하지 않습니다. +* 젬의 소유자의 안전하지 않은 객체 역직렬화 취약점을 수정합니다. * tar 헤더의 8진수 필드 해석이 엄격해집니다. * 패키지에 중복되는 파일이 존재하는 경우 보안 에러를 발생시킵니다. * spec의 homepage 속성의 URL 검증이 강화됩니다. -* 젬 서버를 통해 보여지는 homepage 속성에 대한 XSS 취약점이 완화됩니다. +* 젬 서버를 통해 표시되는 homepage 속성에 대한 XSS 취약점이 완화됩니다. * 젬 설치 중의 경로 순회 문제를 방지합니다. 루비 사용자는 가능한 빨리 업그레이드하거나 아래 해결 방법으로 조치하기 바랍니다. diff --git a/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index 5a973c633f..557b383ed6 100644 --- a/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -7,37 +7,37 @@ date: 2018-02-24 00:00:00 +0000 lang: ko --- -루비 2.6.0-preview1 릴리스를 알리게 되어 기쁘게 생각합니다. +루비 2.6.0-preview1 릴리스를 알리게 되어 기쁩니다. 루비 2.6.0-preview1은 루비 2.6.0의 첫번째 프리뷰입니다. 이 프리뷰는 JIT이라는 중요한 새 기능을 포함하고 있기 때문에 평소보다 빠르게 릴리스됩니다. ## JIT -루비 2.6은 JIT (Just-in-time) 컴파일러의 첫 구현체를 포함합니다. +루비 2.6은 JIT(Just-in-time) 컴파일러의 첫 구현체를 포함합니다. JIP 컴파일러는 루비 프로그램의 실행 성능을 향상시키는 것이 목적입니다. 다른 언어의 일반적인 JIT 컴파일러와는 다르게, 루비의 JIT 컴파일러는 C 코드를 디스크에 출력한 뒤, 일반적인 C 컴파일러 프로세스를 사용해 네이티브 코드를 생성하도록 합니다. 다음을 참고하세요. [Vladimir Makarov가 작성한 MJIT 구조](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). -JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYOPT` 환경 변수에 지정합니다. `--jit-verbose=1`을 지정하면 실행중인 JIT 컴파일의 기본적인 정보를 출력합니다. 다른 옵션에 대해서는 `ruby --help`를 확인하세요. +JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYOPT` 환경 변수에 지정합니다. `--jit-verbose=1`을 지정하면 실행 중인 JIT 컴파일의 기본적인 정보를 출력합니다. 다른 옵션에 대해서는 `ruby --help`를 확인하세요. -이번 JIT 릴리스의 주 목적은 각 플랫폼에서 잘 동작하는지, 보안상의 문제는 발생하는지 미리 확인하는 것입니다. -현재 JIT 컴파일러는 루비가 gcc나 clang로 빌드되었으며, 그리고 해당 컴파일러가 실행 중에 사용가능한 경우에만 이용할 수 있습니다. 그 이외에는 아직 이용할 수 없습니다. +이번 JIT 릴리스의 주 목적은 2.6 릴리스 전에 각 플랫폼에서 잘 동작하는지, 보안상의 문제가 발생하는지 미리 확인하는 것입니다. +현재 JIT 컴파일러는 루비가 gcc나 clang로 빌드되었으며, 해당 컴파일러가 런타임에서 사용 가능한 경우에만 이용할 수 있습니다. 그 이외에는 아직 이용할 수 없습니다. -2.6.0-preview1에서는 JIT를 이용하기 위한 기반을 추가하고 매우 적은 최적화만이 구현되어 있습니다. 이 릴리스에 대해서 간단한 벤치마크를 이용하여 잠재적인 성능 향상을 확인할 수 있습니다만, Rails 애플리케이션과 같은 대규모 프로그램에서 루비의 JIT 컴파일러의 최종적인 성능을 측정할만한 단계는 아닙니다. +2.6.0-preview1에서는 JIT를 이용하기 위한 기반을 추가하고 매우 적은 최적화만이 구현되어 있습니다. 이 릴리스에 대해서 간단한 벤치마크를 이용하여 잠재적인 성능 향상을 확인할 수 있습니다만, Rails 애플리케이션과 같은 대규모 프로그램에서 루비 JIT 컴파일러의 최종적인 성능을 측정할만한 단계는 아닙니다. -앞으로 루비의 성능을 한단계 향상시켜줄 것으로 기대되고 있는 메소드 인라인화를 구현할 예정입니다. +앞으로 루비의 성능을 한 단계 향상시켜줄 것으로 기대되고 있는 메소드 인라인화를 구현할 예정입니다. 또한 지원 환경을 늘려나갈 계획이며, 그 첫 번째로는 Visual Studio를 지원하는 것입니다. 새로운 루비의 성능을 기대해주세요. ## 새로운 기능 -* `Random.bytes`를 추가. [Feature #4938] -* `Binding#source_location`를 추가. [Feature #14230] +* `Random.bytes`를 추가했습니다. [Feature #4938] +* `Binding#source_location`을 추가했습니다. [Feature #14230] - 이 메소드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다 [Bug #4352]. 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메소드를 사용해야 합니다. + 이 메소드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다 [Bug #4352]. 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메소드를 사용해야 합니다. * `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가. [Feature #14386] @@ -45,9 +45,9 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO * 뒤에서 설명할 `$SAFE`의 변경으로 고려할 부분이 줄어들었으므로 `Proc#call`의 속도가 빨라졌습니다. [Feature #14318] - `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크에서는 1.4배 빨라졌습니다. [Bug #10212] + `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크가 1.4배 빨라졌습니다. [Bug #10212] -* `block`이 블록 파라미터인 경우의 `block.call`이 고속화됩니다. [Feature #14330] +* `block`이 블록 파라미터인 경우의 `block.call`이 빨라졌습니다. [Feature #14330] 루비 2.5에서는 블록 넘기기의 성능이 향상되었습니다만 [Feature #14045], 추가로 2.6에서는 넘겨진 블록의 호출이 개선되었습니다. @@ -55,7 +55,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO ## 2.5 이후 주목할 만한 변경 -* `$SAFE`가 프로세스 전역으로 취급되며, `0` 이외의 값을 설정한 후에 `0`으로 되돌리는 것이 가능해집니다. [Feature #14250] +* `$SAFE`가 프로세스 전역 변수로 취급되며, `0` 이외의 값을 설정한 후에 `0`으로 되돌리는 것이 가능해집니다. [Feature #14250] * `ERB.new`에 `safe_level`을 넘기는 기능이 제거 예정이 되었습니다. 또한 `trim_mode`와 `eoutvar`는 키워드 변수로 변경됩니다. [Feature #14256] From f20b76f825d56a932d17b8bfbffad442871d1c75 Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 25 Feb 2018 20:17:31 +0900 Subject: [PATCH 0034/2563] Fix updated text --- ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md b/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md index 25181b5d70..7bc05a060a 100644 --- a/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md +++ b/ko/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md @@ -51,7 +51,7 @@ GMO 페파보 상의 수상자는 다음을 받게 됩니다. IIJ GIO 상의 수상자는 다음을 받게 됩니다. -* 500,000엔 상당의 GIO 무료 쿠폰(유효기간 6개월) +* 차후 안내 예정 Money Forward 상의 수상자는 다음을 받게 됩니다. From 8acd7b9ebb7db2116f4a74913401645e5489f407 Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 25 Feb 2018 20:56:25 +0900 Subject: [PATCH 0035/2563] Follow en origin text --- ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index 557b383ed6..2ca9b0316f 100644 --- a/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -43,7 +43,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO ## 성능 향상 -* 뒤에서 설명할 `$SAFE`의 변경으로 고려할 부분이 줄어들었으므로 `Proc#call`의 속도가 빨라졌습니다. [Feature #14318] +* `Proc#call`이 더 이상 `$SAFE`를 고려하지 않아도 되어 속도가 빨라졌습니다. [Feature #14318] `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크가 1.4배 빨라졌습니다. [Bug #10212] From 694081d6ec457ab541d7ca30c008b683c5a7afa3 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Tue, 27 Feb 2018 12:31:07 +0900 Subject: [PATCH 0036/2563] Update svn versions and branches in _config.yml --- _config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index c89a202473..2d73852cbc 100644 --- a/_config.yml +++ b/_config.yml @@ -26,14 +26,14 @@ license: svn: stable: + version: 2.5 + branch: ruby_2_5 + previous: version: 2.4 branch: ruby_2_4 - previous: + old: version: 2.3 branch: ruby_2_3 - old: - version: 2.2 - branch: ruby_2_2 locales: sitelinks: From 4c0690929373d0880eacf0fee22d9f743cea9f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20ATE=C5=9E?= Date: Wed, 7 Mar 2018 22:19:47 +0300 Subject: [PATCH 0037/2563] Fix typo in to ruby from java post (tr) (#1758) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit araşlar -> araçlar --- .../ruby-from-other-languages/to-ruby-from-java/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr/documentation/ruby-from-other-languages/to-ruby-from-java/index.md b/tr/documentation/ruby-from-other-languages/to-ruby-from-java/index.md index d30e53c393..d1a712d7f4 100644 --- a/tr/documentation/ruby-from-other-languages/to-ruby-from-java/index.md +++ b/tr/documentation/ruby-from-other-languages/to-ruby-from-java/index.md @@ -25,7 +25,7 @@ Java’da olduğu gibi Ruby’de de,... Ruby’de Java’dan farklı olarak,... * Kodunuzu derlemeye gerek yoktur, direk olarak çalıştırırsınız. -* Ruby kullanıcıları değişik GUI araşları kullanabilir [WxRuby][1], +* Ruby kullanıcıları değişik GUI araçları kullanabilir [WxRuby][1], [FXRuby][2], [Ruby-GNOME2][3], [Qt][4], ya da Ruby içinde yüklü gelen Tk bunların bazıları. * Sınıflar, metodlar gibi birşeyleri tanımlarken kod bloğunu süslü From f1a632c96fc206ab7abe7093a8a71a73ba023f46 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 17 Mar 2018 20:41:29 +0100 Subject: [PATCH 0038/2563] Add 2.6 branch --- _data/branches.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_data/branches.yml b/_data/branches.yml index 2e03e725f8..00b57f06c0 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -8,6 +8,11 @@ # date: date of first stable release (YYYY-MM-DD) # eol_date: date of EOL (YYYY-MM-DD) +- name: 2.6 + status: preview + date: + eol_date: + - name: 2.5 status: normal maintenance date: 2017-12-25 From 4bd781671b144aea29c2ea59c918b7f6ce165db1 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 17 Mar 2018 21:15:19 +0100 Subject: [PATCH 0039/2563] Fix typo (de) --- de/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md b/de/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md index c7f4cf60c6..2175b77968 100644 --- a/de/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md +++ b/de/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md @@ -66,7 +66,7 @@ Der Gewinner des IIJ GIO Prize erhält: Der Gewinner des Money Forward Prize erhält: -* Ein Abendessen mit den Ruby-Commitern von Money Forward +* Ein Abendessen mit den Ruby-Committern von Money Forward * Gratis-Zehnjahresticket für die Premiumdienste des persönlichen Finanzverwaltungsdienstes „Money Forward“ From 826114aefb5c8a022fe5b5e5ca2de2680b020f26 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 17 Mar 2018 21:55:37 +0100 Subject: [PATCH 0040/2563] Fix typos (de) --- ...02-17-multiple-vulnerabilities-in-rubygems.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/de/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/de/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md index bc1c6da968..a7fbf76e88 100644 --- a/de/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md +++ b/de/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -15,7 +15,7 @@ auf dem [offiziellen RubyGems-Blog beschrieben wird](http://blog.rubygems.org/20 Die folgenden Sicherheitslücken wurden behoben. -* Verhinderung von Pfadverfolgung _(path traversal_) bei +* Verhinderung von Pfadverfolgung _(path traversal)_ bei Schreibzugriff auf ein per Symlink verlinktes basedir außerhalb des Wurzelverzeichnisses. * Möglicherweise unsichere Objektdeserialisierung in gem owner @@ -24,8 +24,8 @@ Die folgenden Sicherheitslücken wurden behoben. * Werfe einen Sicherheitsfehler, wenn in einem Paket Dateien mehrfach vorkommen. * Erzwinge URL-Validierung im Homepage-Attribut der Spec -* XSS-Schwachstelle im Homepage-Attribut behoben, wenn es von gem - server angezeigt wird. +* XSS-Schwachstelle im Homepage-Attribut behoben, wenn es von + gem server angezeigt wird. * Verhinderung von Pfadverfolgung während der Gem-Installation. Es wird nachdrücklich empfohlen, so schnell wie möglich einen der @@ -33,16 +33,16 @@ folgenden Workarounds anzuwenden. ## Betroffene Versionen -* Ruby 2.2er-Serie: 2.2.9 and früher -* Ruby 2.3er-Serie: 2.3.6 and früher -* Ruby 2.4er-Serie: 2.4.3 and früher -* Ruby 2.5er-Serie: 2.5.0 and früher +* Ruby 2.2er-Serie: 2.2.9 und früher +* Ruby 2.3er-Serie: 2.3.6 und früher +* Ruby 2.4er-Serie: 2.4.3 und früher +* Ruby 2.5er-Serie: 2.5.0 und früher * Trunk vor Revision 62422 ## Workarounds Die Probleme wurden in RubyGems 2.7.6 behoben, weshalb eine -Aktualisierung von RubyGems auf die neueste Version Abilfe schafft. +Aktualisierung von RubyGems auf die neueste Version Abhilfe schafft. ``` gem update --system From f432ac6067081505aa370a91b2e67417e1ed560d Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 17 Mar 2018 22:09:14 +0100 Subject: [PATCH 0041/2563] Fix typos (de) --- de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index e5d59f0187..e63573e6ea 100644 --- a/de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/de/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -26,8 +26,8 @@ C-Compiler-Prozess, um Maschinencode zu erzeugen. Siehe dazu auch: [Die Funktionsweise von MJIT von Wladimir Makarow](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). Um den JIT zu benutzen, geben Sie `--jit` als Kommandozeilenoption -oder in der Umgsbungsvariable `$RUBYOPT` an. Bei Angabe von -`--jit-verbose=1` werden Informationen über die durchgeführte +oder in der Umgebungsvariablen `$RUBYOPT` an. Bei Angabe von +`--jit-verbose=1` werden Informationen über die laufende JIT-Kompilation ausgegeben. Siehe auch `ruby --help` für weitere Optionen. @@ -36,7 +36,7 @@ der JIT auf Ihrer Plattform funktioniert. Außerdem soll eine Prüfung auf Sicherheitsprobleme noch vor der Freigabe von 2.6 ermöglicht werden. Der JIT-Compiler wird derzeit nur unterstützt, wenn Ruby mit GCC oder Clang gebaut wird und der Compiler auch während des -Programmablaufs verfügbar ist. Ansonsten können Sie ihn momenten leider +Programmablaufs verfügbar ist. Ansonsten können Sie ihn momentan leider nicht verwenden. Zum jetzigen Zeitpunkt (2.6.0-preview1) bereiten wir lediglich die @@ -87,7 +87,7 @@ Machen Sie sich bereit für eine neue Ära von Rubys Performanz. Bereits Ruby 2.5 verbessert die Performanz bei der Übergabe von Blöcken. [Feature #14045] Mit Ruby 2.6 wird auch der Aufruf von übergebenen Blöcken - beschleunigt, sodass wir im Mikro-Benchmark einer 2,6-fache + beschleunigt, sodass wir im Mikro-Benchmark eine 2,6-fache Beschleunigung messen konnten. ## Sonstige bemerkenswerte Änderungen seit 2.5 From f8677ad99d52e94a326304093eedb5b61ba614aa Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 19 Mar 2018 21:52:15 +0700 Subject: [PATCH 0042/2563] Fix typo --- en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index a48b055fe5..da4fd839a5 100644 --- a/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/en/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -54,7 +54,7 @@ Stay tuned for the new age of Ruby's performance. Ruby 2.5 improves block passing performance. [Feature #14045] Additionally, Ruby 2.6 improves the performance of passed block calling. - With micro-benchmark we can observe 2.6x improvemnt. + With micro-benchmark we can observe 2.6x improvement. ## Other notable changes since 2.5 From e307af6cd5a3ef5667ad77c0a7bd9aadde20fe66 Mon Sep 17 00:00:00 2001 From: Alex S Date: Wed, 21 Feb 2018 12:18:34 +0800 Subject: [PATCH 0043/2563] Translate 20180217 Multiple vulnerabilities post (zh_cn) --- ...17-multiple-vulnerabilities-in-rubygems.md | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 zh_cn/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md diff --git a/zh_cn/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/zh_cn/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md new file mode 100644 index 0000000000..b952e9adb6 --- /dev/null +++ b/zh_cn/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "RubyGems 存在多个安全风险" +author: "usa" +translator: "Alex S" +date: 2018-02-17 03:00:00 +0000 +tags: security +lang: zh_cn +--- + +Ruby 内置的 RubyGems 发现存在多个安全风险。RubyGems 官方博客[对此事的声明](https://blog.rubygems.org/2018/02/15/2.7.6-released.html)。 + +## 详细 + +以下为已报到的安全风险。 + +* 在写入 root 以外软链目录的时候阻止路径遍历 +* 修复 gem owner 命令可能存在的不安全对象反序列化风险 +* 严格解析 tar 文件头的八进制列 +* 当 gem 包存在重复文件时抛出安全性错误 +* 强制对 spec 的 homepage 属性进行 URL 验证 +* 缓和通过 gem server 展示的 homepage 属性的 XSS 风险 +* 阻止在安装 gem 时的路径遍历风险 + +强烈建议 Ruby 使用者尽快采用以下应急之策。 + +## 受影响的版本 + +* Ruby 2.2 系列: 2.2.9 以及之前的版本 +* Ruby 2.3 系列: 2.3.6 以及之前的版本 +* Ruby 2.4 系列: 2.4.3 以及之前的版本 +* Ruby 2.5 系列: 2.5.0 以及之前的版本 +* trunk revision 62422 之前的版本 + +## 应急之策 + +RubyGems 2.7.6 和后续版本已经修复了上述风险,请将 RubyGems 升级到最新版本。 + +``` +gem update --system +``` + +如果您无法更新 RubyGems,您可以采用以下补丁。 + +* [对应 Ruby 2.2.9 的补丁](https://bugs.ruby-lang.org/attachments/download/7030/rubygems-276-for-ruby22.patch) +* [对应 Ruby 2.3.6 的补丁](https://bugs.ruby-lang.org/attachments/download/7029/rubygems-276-for-ruby23.patch) +* [对应 Ruby 2.4.3 的补丁](https://bugs.ruby-lang.org/attachments/download/7028/rubygems-276-for-ruby24.patch) +* [对应 Ruby 2.5.0 的补丁](https://bugs.ruby-lang.org/attachments/download/7027/rubygems-276-for-ruby25.patch) + +对于 trunk,更新到最新版本即可。 + +## 致谢 + +本文基于 RubyGems [官方博客](https://blog.rubygems.org/2018/02/15/2.7.6-released.html)。 + +## 历史 + +* 首发于 2018-02-17 03:00:00 UTC From 3b2d8ca5bdcab1d1bf9dba06eb869db2b0802f57 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 29 Mar 2018 03:01:18 +0900 Subject: [PATCH 0044/2563] Security announcement (#1761) * Security announcement * Ruby 2.2.10 announcement * Ruby 2.3.7 announcement * _data (2.5.1, 2.4.4, 2.3.7 and 2.2.10) --- _data/branches.yml | 2 +- _data/downloads.yml | 8 +-- _data/releases.yml | 56 ++++++++++++++++ ...-buffer-under-read-unpack-cve-2018-8778.md | 36 ++++++++++ ...nse-splitting-in-webrick-cve-2017-17742.md | 34 ++++++++++ ...ge-request-dos-in-webrick-cve-2018-8777.md | 34 ++++++++++ ...-28-poisoned-nul-byte-dir-cve-2018-8780.md | 36 ++++++++++ ...soned-nul-byte-unixsocket-cve-2018-8779.md | 39 +++++++++++ .../_posts/2018-03-28-ruby-2-2-10-released.md | 60 +++++++++++++++++ .../_posts/2018-03-28-ruby-2-3-7-released.md | 67 +++++++++++++++++++ ...-with-directory-traversal-cve-2018-6914.md | 37 ++++++++++ ...-buffer-under-read-unpack-cve-2018-8778.md | 35 ++++++++++ ...nse-splitting-in-webrick-cve-2017-17742.md | 34 ++++++++++ ...ge-request-dos-in-webrick-cve-2018-8777.md | 34 ++++++++++ ...-28-poisoned-nul-byte-dir-cve-2018-8780.md | 34 ++++++++++ ...soned-nul-byte-unixsocket-cve-2018-8779.md | 36 ++++++++++ .../_posts/2018-03-28-ruby-2-2-10-released.md | 58 ++++++++++++++++ .../_posts/2018-03-28-ruby-2-3-7-released.md | 65 ++++++++++++++++++ ...-with-directory-traversal-cve-2018-6914.md | 35 ++++++++++ 19 files changed, 735 insertions(+), 5 deletions(-) create mode 100644 en/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md create mode 100644 en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md create mode 100644 en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md create mode 100644 en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md create mode 100644 en/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md create mode 100644 en/news/_posts/2018-03-28-ruby-2-2-10-released.md create mode 100644 en/news/_posts/2018-03-28-ruby-2-3-7-released.md create mode 100644 en/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md create mode 100644 ja/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md create mode 100644 ja/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md create mode 100644 ja/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md create mode 100644 ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md create mode 100644 ja/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md create mode 100644 ja/news/_posts/2018-03-28-ruby-2-2-10-released.md create mode 100644 ja/news/_posts/2018-03-28-ruby-2-3-7-released.md create mode 100644 ja/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md diff --git a/_data/branches.yml b/_data/branches.yml index 00b57f06c0..7f5dccaba0 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -26,7 +26,7 @@ - name: 2.3 status: normal maintenance date: 2015-12-25 - eol_date: + eol_date: scheduled for 2019-03-31 - name: 2.2 status: security maintenance diff --git a/_data/downloads.yml b/_data/downloads.yml index 3711bd3880..7dbcc41718 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,14 +8,14 @@ preview: stable: - - 2.5.0 - - 2.4.3 - - 2.3.6 + - 2.5.1 + - 2.4.4 + - 2.3.7 # optional security_maintenance: - - 2.2.9 + - 2.2.10 # optional eol: diff --git a/_data/releases.yml b/_data/releases.yml index c4dab6a378..111ee45baf 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -37,6 +37,20 @@ # 2.5 series +- version: 2.5.1 + date: 2018-03-28 + post: /en/news/2018/03/28/ruby-2-5-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.zip + bz2: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.bz2 + xz: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.xz + sha256: + gz: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + zip: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + bz2: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + xz: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + - version: 2.5.0 date: 2017-12-25 post: /en/news/2017/12/25/ruby-2-5-0-released/ @@ -81,6 +95,20 @@ # 2.4 series +- version: 2.4.4 + date: 2018-03-28 + post: /en/news/2018/03/28/ruby-2-4-4-released/ + url: + bz2: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.4.tar.bz2 + gz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.4.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.4.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.4.zip + sha256: + bz2: 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1 + gz: 254f1c1a79e4cc814d1e7320bc5bdd995dc57e08727d30a767664619a9c8ae5a + xz: 1d0034071d675193ca769f64c91827e5f54cb3a7962316a41d5217c7bc6949f0 + zip: d0ca0561be0045f2e094f2ba94f1585e66e9c1e91fe6de3f3035f4d67dce7650 + - version: 2.4.3 date: 2017-12-14 post: /en/news/2017/12/14/ruby-2-4-3-released/ @@ -130,6 +158,20 @@ # 2.3 series +- version: 2.3.7 + date: 2018-03-28 + post: /en/news/2018/03/28/ruby-2-3-7-released/ + url: + bz2: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2 + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip + sha256: + bz2: 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e + gz: 35cd349cddf78e4a0640d28ec8c7e88a2ae0db51ebd8926cd232bb70db2c7d7f + xz: c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb + zip: ffa42eeff928624a05dc7ad39426c855c6e9a757417f17b6fe9e54664ec91012 + - version: 2.3.6 date: 2017-12-14 post: /en/news/2017/12/14/ruby-2-3-6-released/ @@ -182,6 +224,20 @@ # 2.2 series +- version: 2.2.10 + date: 2018-03-28 + post: /en/news/2018/03/28/ruby-2-2-10-released/ + url: + bz2: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2 + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip + sha256: + bz2: a54204d2728283c9eff0cf81d654f245fa5b3447d0824f1a6bc3b2c5c827381e + gz: cd51019eb9d9c786d6cb178c37f6812d8a41d6914a1edaf0050c051c75d7c358 + xz: bf77bcb7e6666ccae8d0882ea12b05f382f963f0a9a5285a328760c06a9ab650 + zip: 6933eb989afb1b916c438d8eeecff1cfb0a6569c07e7190beca56b10b822207a + - version: 2.2.9 date: 2017-12-14 post: /en/news/2017/12/14/ruby-2-2-9-released/ diff --git a/en/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/en/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md new file mode 100644 index 0000000000..b377cce901 --- /dev/null +++ b/en/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -0,0 +1,36 @@ +--- +layout: news_post +title: "CVE-2018-8778: Buffer under-read in String#unpack" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: en +--- + +There is a buffer under-read vulnerability in `String#unpack` method. +This vulnerability has been assigned the CVE identifier [CVE-2018-8778](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8778). + +## Details + +`String#unpack` receives format specifiers as its parameter, and can be specified the position of parsing the data by the specifier `@`. +If a big number is passed with `@`, the number is treated as the negative value, and out-of-buffer read is occurred. +So, if a script accepts an external input as the argument of `String#unpack`, the attacker can read data on heaps. + +All users running an affected release should upgrade immediately. + +## Affected Versions + +* Ruby 2.2 series: 2.2.9 and earlier +* Ruby 2.3 series: 2.3.6 and earlier +* Ruby 2.4 series: 2.4.3 and earlier +* Ruby 2.5 series: 2.5.0 and earlier +* Ruby 2.6 series: 2.6.0-preview1 +* prior to trunk revision r62992 + +## Credit + +Thanks to [aerodudrizzt](https://hackerone.com/aerodudrizzt) for reporting the issue. + +## History + +* Originally published at 2018-03-28 14:00:00 (UTC) diff --git a/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md new file mode 100644 index 0000000000..0ff476ae11 --- /dev/null +++ b/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2017-17742: HTTP response splitting in WEBrick" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: en +--- + +There is an HTTP response splitting vulnerability in WEBrick bundled with Ruby. +This vulnerability has been assigned the CVE identifier [CVE-2017-17742](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17742). + +## Details + +If a script accepts an external input and outputs it without modification as a part of HTTP responses, an attacker can use newline characters to deceive the clients that the HTTP response header is stopped at there, and can inject fake HTTP responses after the newline characters to show malicious contents to the clients. + +All users running an affected release should upgrade immediately. + +## Affected Versions + +* Ruby 2.2 series: 2.2.9 and earlier +* Ruby 2.3 series: 2.3.6 and earlier +* Ruby 2.4 series: 2.4.3 and earlier +* Ruby 2.5 series: 2.5.0 and earlier +* Ruby 2.6 series: 2.6.0-preview1 +* prior to trunk revision r62968 + +## Credit + +Thanks to Aaron Patterson for reporting the issue. + +## History + +* Originally published at 2018-03-28 14:00:00 (UTC) diff --git a/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md new file mode 100644 index 0000000000..e863239b3d --- /dev/null +++ b/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2018-8777: DoS by large request in WEBrick" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: en +--- + +There is a out-of-memory DoS vulnerability with a large request in WEBrick bundled with Ruby. +This vulnerability has been assigned the CVE identifier [CVE-2018-8777](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8777). + +## Details + +If an attacker sends a large request which contains huge HTTP headers, WEBrick try to process it on memory, so the request causes the out-of-memory DoS attack. + +All users running an affected release should upgrade immediately. + +## Affected Versions + +* Ruby 2.2 series: 2.2.9 and earlier +* Ruby 2.3 series: 2.3.6 and earlier +* Ruby 2.4 series: 2.4.3 and earlier +* Ruby 2.5 series: 2.5.0 and earlier +* Ruby 2.6 series: 2.6.0-preview1 +* prior to trunk revision r62965 + +## Credit + +Thanks to Eric Wong for reporting the issue. + +## History + +* Originally published at 2018-03-28 14:00:00 (UTC) diff --git a/en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md new file mode 100644 index 0000000000..5514bab014 --- /dev/null +++ b/en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -0,0 +1,36 @@ +--- +layout: news_post +title: "CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: en +--- + +There is an unintentional directory traversal in some methods in `Dir`. +This vulnerability has been assigned the CVE identifier [CVE-2018-8780](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8780). + +## Details + +`Dir.open`, `Dir.new`, `Dir.entries` and `Dir.empty?` accept the path of the target directory as their parameter. +If the parameter contains NUL (`\0`) bytes, these methods recognize that the path is completed before the NUL bytes. +So, if a script accepts an external input as the argument of these methods, the attacker can make the unintentional directory traversal. + +All users running an affected release should upgrade immediately. + +## Affected Versions + +* Ruby 2.2 series: 2.2.9 and earlier +* Ruby 2.3 series: 2.3.6 and earlier +* Ruby 2.4 series: 2.4.3 and earlier +* Ruby 2.5 series: 2.5.0 and earlier +* Ruby 2.6 series: 2.6.0-preview1 +* prior to trunk revision r62989 + +## Credit + +Thanks to [ooooooo_q](https://hackerone.com/ooooooo_q) for reporting the issue. + +## History + +* Originally published at 2018-03-28 14:00:00 (UTC) diff --git a/en/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/en/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md new file mode 100644 index 0000000000..d0fefa4b7b --- /dev/null +++ b/en/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: en +--- + +There is a unintentional socket creation vulnerability in `UNIXServer.open` method of socket library bundled with Ruby. +And there is also a unintentional socket access vulnerability in `UNIXSocket.open` method. +This vulnerability has been assigned the CVE identifier [CVE-2018-8779](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779). + +## Details + +`UNIXServer.open` accepts the path of the socket to be created at the first parameter. +If the path contains NUL (`\0`) bytes, this method recognize that the path is completed before the NUL bytes. +So, if a script accepts an external input as the argument of this method, the attacker can make the socket file in the unintentional path. +And, `UNIXSocket.open` also accepts the path of the socket to be created at the first parameter without checking NUL bytes like `UNIXServer.open`. +So, if a script accepts an external input as the argument of this method, the attacker can accepts the socket file in the unintentional path. + +All users running an affected release should upgrade immediately. + +## Affected Versions + +* Ruby 2.2 series: 2.2.9 and earlier +* Ruby 2.3 series: 2.3.6 and earlier +* Ruby 2.4 series: 2.4.3 and earlier +* Ruby 2.5 series: 2.5.0 and earlier +* Ruby 2.6 series: 2.6.0-preview1 +* prior to trunk revision r62991 + +## Credit + +Thanks to [ooooooo_q](https://hackerone.com/ooooooo_q) for reporting the issue. + +## History + +* Originally published at 2018-03-28 14:00:00 (UTC) diff --git a/en/news/_posts/2018-03-28-ruby-2-2-10-released.md b/en/news/_posts/2018-03-28-ruby-2-2-10-released.md new file mode 100644 index 0000000000..678c397d4c --- /dev/null +++ b/en/news/_posts/2018-03-28-ruby-2-2-10-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Ruby 2.2.10 Released" +author: "usa" +translator: +date: 2018-03-28 17:00:00 +0000 +lang: en +--- + +Ruby 2.2.10 has been released. +This release includes several security fixes. +Please check the topics below for details. + +* [CVE-2017-17742: HTTP response splitting in WEBrick](/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: DoS by large request in WEBrick](/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir](/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: Buffer under-read in String#unpack](/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket](/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir](/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Multiple vulnerabilities in RubyGems](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Ruby 2.2 is under the state of the security maintenance phase, until the end of the March of 2018. +After the date, maintenance of Ruby 2.2 will be ended. +So, this release is expected to be the last release of Ruby 2.2. +We will never make a new release of Ruby 2.2 unless Ruby 2.2.10 has a serious regression bug. +We recommend you migrating to newer versions of Ruby, such as 2.5. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2) + + SIZE: 13365461 bytes + SHA1: 72ee1dcfd96199d2c3092b77db7a7f439c0abd08 + SHA256: a54204d2728283c9eff0cf81d654f245fa5b3447d0824f1a6bc3b2c5c827381e + SHA512: f8ec96c2a5f4ecf22052ee0b1029989ded52d7bf5d41be24fef67e732e76f72119302240bca08f0547510a9cd29e941a32e263cad9c8a2bf80023d6bc97b2373 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz) + + SIZE: 16694179 bytes + SHA1: b0207c861f3fa41cbe4909ecb89bd2fcac81fe7c + SHA256: cd51019eb9d9c786d6cb178c37f6812d8a41d6914a1edaf0050c051c75d7c358 + SHA512: 051124922240d2e20e74903b9c629fa897279072d2aa9b0a4e3a02331b843fa9c97c16e7073d6faec1b9f2024c3a7e36346014c30eee256f0715c5de226b5db8 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz) + + SIZE: 10508612 bytes + SHA1: c46737f81df819c3d7423df5c644431b3fcb8fee + SHA256: bf77bcb7e6666ccae8d0882ea12b05f382f963f0a9a5285a328760c06a9ab650 + SHA512: 1f35458f2b1c334e64aecf42cd1df3b223fef119b6ad23394285d9f2e72da26b3ba5418950694c4a8c0b4afc43672f78459f2f7281a595cff0967eb239662ae4 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip) + + SIZE: 18540424 bytes + SHA1: 0f4b9c6695d000cb456fe8b89f8bf6d42fb95069 + SHA256: 6933eb989afb1b916c438d8eeecff1cfb0a6569c07e7190beca56b10b822207a + SHA512: dfaa9a76170b0eed9cb2bf41178f2193dd3428492413b1616aaabd67ec35b9b7705b422b0fdfe38b18a1800bbce3ba161b53d229d307ea7f5c0269ef3d031980 + +## Release Comment + +Thanks to everyone who reported vulnerabilities, fixed the vulnerabilities and helped with this release. diff --git a/en/news/_posts/2018-03-28-ruby-2-3-7-released.md b/en/news/_posts/2018-03-28-ruby-2-3-7-released.md new file mode 100644 index 0000000000..0d0d242505 --- /dev/null +++ b/en/news/_posts/2018-03-28-ruby-2-3-7-released.md @@ -0,0 +1,67 @@ +--- +layout: news_post +title: "Ruby 2.3.7 Released" +author: "usa" +translator: +date: 2018-03-28 17:00:00 +0000 +lang: en +--- + +Ruby 2.3.7 has been released. + +This release includes about 70 bug fixes after the previous release, and also includes several security fixes. +Please check the topics below for details. + +* [CVE-2017-17742: HTTP response splitting in WEBrick](/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: DoS by large request in WEBrick](/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir](/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: Buffer under-read in String#unpack](/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket](/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir](/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Multiple vulnerabilities in RubyGems](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +See the [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_7/ChangeLog) for details. + +After this release, we will end the normal maintenance phase of Ruby 2.3, +and start the security maintenance phase of it. +This means that after the release of 2.3.7 we will never backport any bug fixes +to 2.3 except security fixes. +The term of the security maintenance phase is scheduled for 1 year. +By the end of this term, official support of Ruby 2.3 will be over. +Therefore, we recommend that you start planning to upgrade to Ruby 2.5 or 2.4. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2) + + SIZE: 14421177 bytes + SHA1: 3bb88965405da5e4de2432eeb445fffa8a66fb33 + SHA256: 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e + SHA512: e72754f7703f0706c4b0bccd053035536053451fe069a55427984cc0bc5692b86bd51c243c5f62f78527c66b08300d2e4aa19b73e6ded13d6020aa2450e66a7d + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz) + + SIZE: 17859100 bytes + SHA1: 540996fec64984ab6099e34d2f5820b14904f15a + SHA256: 35cd349cddf78e4a0640d28ec8c7e88a2ae0db51ebd8926cd232bb70db2c7d7f + SHA512: 1ceccf00981d6d60e7587e89a04cc028f976950313ee445db5afd03e323472d3e69a35423733b24f9cbd9729f034cf80d2233b5c159764839f5bee4ca7052fe0 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz) + + SIZE: 11438124 bytes + SHA1: c489248730cbce7721edd3e97de81e68eec938b2 + SHA256: c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb + SHA512: fd91c8db3d3aa4cc962a62f27b4d1a71f6b5567ab836e6dbfbbb1553eb269d11e12faf9e36af6c489c33b54fd89dab99bfe81a563158b704877f0628d6f5bc5a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip) + + SIZE: 19911423 bytes + SHA1: ec6870b39125238d8d57d642225592896ed3b6d9 + SHA256: ffa42eeff928624a05dc7ad39426c855c6e9a757417f17b6fe9e54664ec91012 + SHA512: c85255a7f43c7df2fb11be4f9aa96e2ae70a94d3e963ccff4d8c1349ad6d455d9a436812efb24c91e451e68b8f81e5d335c6d5811b2a0e945a7070c305054434 + +## Release Comment + +Thanks to everyone who helped with this release. + +The maintenance of Ruby 2.3, including this release, is based on the “Agreement for the Ruby stable version” of the Ruby Association. diff --git a/en/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/en/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md new file mode 100644 index 0000000000..8051d47698 --- /dev/null +++ b/en/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -0,0 +1,37 @@ +--- +layout: news_post +title: "CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: en +--- + +There is an unintentional directory creation vulnerability in tmpdir library bundled with Ruby. +And there is also an unintentional file creation vulnerability in tempfile library bundled with Ruby, because it uses tmpdir internally. +This vulnerability has been assigned the CVE identifier [CVE-2018-6914](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6914). + +## Details + +`Dir.mktmpdir` method introduced by tmpdir library accepts the prefix and the suffix of the directory which is created as the first parameter. +The prefix can contain relative directory specifiers `"../"`, so this method can be used to target any directory. +So, if a script accepts an external input as the prefix, and the targeted directory has inappropriate permissions or the ruby process has inappropriate privileges, the attacker can create a directory or a file at any directory. + +All users running an affected release should upgrade immediately. + +## Affected Versions + +* Ruby 2.2 series: 2.2.9 and earlier +* Ruby 2.3 series: 2.3.6 and earlier +* Ruby 2.4 series: 2.4.3 and earlier +* Ruby 2.5 series: 2.5.0 and earlier +* Ruby 2.6 series: 2.6.0-preview1 +* prior to trunk revision r62990 + +## Credit + +Thanks to [ooooooo_q](https://hackerone.com/ooooooo_q) for reporting the issue. + +## History + +* Originally published at 2018-03-28 14:00:00 (UTC) diff --git a/ja/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/ja/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md new file mode 100644 index 0000000000..41b6ddaa15 --- /dev/null +++ b/ja/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2018-8778: String#unpack における範囲外読み込みの脆弱性について" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ja +--- + +Ruby の組み込みクラス `String` のメソッド `String#unpack` において、攻撃者により配列の範囲外へのアクセスが可能となりうる脆弱性が発見されました。 +この脆弱性は、[CVE-2018-8778](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8778) として登録されています。 + +## 詳細 + +組み込みクラス `String` のメソッド `String#unpack` では、引数でフォーマット指定子を与えますが、位置指定子 `@` によって指定した位置のデータを読み込むことができます。この際、位置指定として巨大な整数を与えた場合、内部処理的に負数とみなされて、文字列の範囲外のデータにアクセスできてしまっていました。 +このため、外部の入力を `String#unpack` の引数として指定可能な場合、攻撃者によってヒープ上の領域が読み込み可能となっていました。 + +この問題の影響を受けるバージョンの Ruby のユーザーは、速やかに問題の修正されたバージョンに更新してください。 + +## 影響を受けるバージョン + +* Ruby 2.2.9 以前の全ての Ruby 2.2 系列 +* Ruby 2.3.6 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.3 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.0 +* Ruby 2.6.0-preview1 +* revision 62992 より前の開発版 + +## クレジット + +この脆弱性情報は、[aerodudrizzt](https://hackerone.com/aerodudrizzt) 氏によって報告されました。 + +## 更新履歴 + +* 2018-03-28 23:00:00 (JST) 初版 diff --git a/ja/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/ja/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md new file mode 100644 index 0000000000..3c16f2b300 --- /dev/null +++ b/ja/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2017-17742: WEBrick における HTTP レスポンス偽装の脆弱性について" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ja +--- + +Ruby の標準添付ライブラリである WEBrick で、攻撃者により偽の HTTP レスポンス生成を許してしまう脆弱性が発見されました。 +この脆弱性は、[CVE-2017-17742](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17742) として登録されています。 + +## 詳細 + +標準添付ライブラリ WEBrick において、外部からの入力をそのまま HTTP レスポンスの一部として出力するようなスクリプトで利用していた場合、そうした入力中に改行文字を含めることによって、あたかもその HTTP レスポンスがそこで打ち切られたかのように振る舞わせた上で、以降に任意の HTTP レスポンスを出力させることによって、悪意ある内容を利用者に閲覧させることが可能となっていました。 + +この問題の影響を受けるバージョンの Ruby のユーザーは、速やかに問題の修正されたバージョンに更新してください。 + +## 影響を受けるバージョン + +* Ruby 2.2.9 以前の全ての Ruby 2.2 系列 +* Ruby 2.3.6 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.3 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.0 +* Ruby 2.6.0-preview1 +* revision 62968 より前の開発版 + +## クレジット + +この脆弱性情報は、Aaron Patterson 氏 によって報告されました。 + +## 更新履歴 + +* 2018-03-28 23:00:00 (JST) 初版 diff --git a/ja/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/ja/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md new file mode 100644 index 0000000000..1306c72fd7 --- /dev/null +++ b/ja/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2018-8777: WEBrick における巨大リクエストにともなう DoS 脆弱性について" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ja +--- + +Ruby の標準添付ライブラリである WEBrick で、攻撃者により巨大なリクエストが送信された場合、メモリを浪費して DoS が成立しうる脆弱性が発見されました。 +この脆弱性は、[CVE-2018-8777](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8777) として登録されています。 + +## 詳細 + +標準添付ライブラリ WEBrick において、攻撃者によって巨大な HTTP ヘッダを持つリクエストが送信された場合、これをメモリ上で処理しようとしているため、メモリを浪費してしまい DoS 攻撃が成立するようになっていました。 + +この問題の影響を受けるバージョンの Ruby のユーザーは、速やかに問題の修正されたバージョンに更新してください。 + +## 影響を受けるバージョン + +* Ruby 2.2.9 以前の全ての Ruby 2.2 系列 +* Ruby 2.3.6 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.3 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.0 +* Ruby 2.6.0-preview1 +* revision 62965 より前の開発版 + +## クレジット + +この脆弱性情報は、Eric Wong 氏 によって報告されました。 + +## 更新履歴 + +* 2018-03-28 23:00:00 (JST) 初版 diff --git a/ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md new file mode 100644 index 0000000000..48ecb499ce --- /dev/null +++ b/ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2018-8780: Dir において NUL 文字挿入により意図しないディレクトリにアクセスされうる脆弱性について" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ja +--- + +Ruby の組み込みクラス `Dir` のいくつかのメソッドにおいて、ディレクトリ名として渡された引数文字列中に NUL 文字を挿入しておくことによって、意図しないディレクトリにアクセスしうるという脆弱性が発見されました。 +この脆弱性は、[CVE-2018-8780](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8780) として登録されています。 + +## 詳細 + +組み込みクラス `Dir` のメソッド `Dir.open`、`Dir.new`、`Dir.entries`、`Dir.empty?` 等では、引数で対象となるディレクトリのパス名を指定します。この際、指定されたパス名中に NUL 文字 (`\0`) が含まれていた場合、NUL 文字直前でパス名が完結しているとみなして、そのパス名に対してアクセスしていました。このため、外部からの入力を `Dir.open` に与えていた場合、その妥当性をスクリプトで確認していたとしても、意図しないパス名のディレクトリにアクセスしうる場合がありました。 + +この問題の影響を受けるバージョンの Ruby のユーザーは、速やかに問題の修正されたバージョンに更新してください。 + +## 影響を受けるバージョン + +* Ruby 2.2.9 以前の全ての Ruby 2.2 系列 +* Ruby 2.3.6 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.3 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.0 +* Ruby 2.6.0-preview1 +* revision 62989 より前の開発版 + +## クレジット + +この脆弱性情報は、[ooooooo_q](https://hackerone.com/ooooooo_q) 氏によって報告されました。 + +## 更新履歴 + +* 2018-03-28 23:00:00 (JST) 初版 diff --git a/ja/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/ja/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md new file mode 100644 index 0000000000..049de16944 --- /dev/null +++ b/ja/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -0,0 +1,36 @@ +--- +layout: news_post +title: "CVE-2018-8779: UNIX ドメインソケットにおいて NUL 文字挿入により意図しないソケットにアクセスされうる脆弱性について" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ja +--- + +Ruby の標準添付ライブラリである socket のメソッド `UNIXServer.open` で、ソケット名として指定された文字列中に NUL 文字を挿入しておくことによって、意図しないパス名でソケットが生成されうるという脆弱性が発見されました。 +また、同じく `UNIXSocket.open` メソッドにおいても、ソケット名として指定された文字列に NUL 文字を挿入しておくことによって、意図しないパス名のソケットにアクセスしうるという脆弱性も発見されました。 +この脆弱性は、[CVE-2018-8779](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779) として登録されています。 + +## 詳細 + +標準添付ライブラリ socket のメソッド `UNIXServer.open` では、第 1 引数で生成するソケットのパス名を指定します。この際、指定されたパス名中に NUL 文字 (`\0`) が含まれていた場合、NUL 文字直前でパス名が完結しているとみなして、そのパス名でソケットを生成していました。このため、外部からの入力を `UNIXServer.open` に与えていた場合、その妥当性をスクリプトで確認していたとしても、意図しないパス名でソケットが生成されうる場合がありました。 +また、同様に、`UNIXSocket.open` においても、第 1 引数でアクセスするソケットのパス名を指定します。この際にも、指定されたパス名中に NUL 文字が含まれていた場合、`UNIXServer.open` と同様にその直前でパス名が完結しているとみなしてそのパス名でソケットにアクセスしていました。このため、外部からの入力を `UNIXSocket.open` に与えていた場合、その妥当性をスクリプトで確認していたとしても、意図しないパス名のソケットにアクセスしうる場合がありました。 + +この問題の影響を受けるバージョンの Ruby のユーザーは、速やかに問題の修正されたバージョンに更新してください。 + +## 影響を受けるバージョン + +* Ruby 2.2.9 以前の全ての Ruby 2.2 系列 +* Ruby 2.3.6 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.3 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.0 +* Ruby 2.6.0-preview1 +* revision 62991 より前の開発版 + +## クレジット + +この脆弱性情報は、[ooooooo_q](https://hackerone.com/ooooooo_q) 氏によって報告されました。 + +## 更新履歴 + +* 2018-03-28 23:00:00 (JST) 初版 diff --git a/ja/news/_posts/2018-03-28-ruby-2-2-10-released.md b/ja/news/_posts/2018-03-28-ruby-2-2-10-released.md new file mode 100644 index 0000000000..bb8cbb28c1 --- /dev/null +++ b/ja/news/_posts/2018-03-28-ruby-2-2-10-released.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "Ruby 2.2.10 リリース" +author: "usa" +translator: +date: 2018-03-28 17:00:00 +0000 +lang: ja +--- + +Ruby 2.2.10 がリリースされました。 +今回のリリースでは、以下のセキュリティ上の問題への対応が行われています。 + +* [CVE-2017-17742: WEBrick における HTTP レスポンス偽装の脆弱性について](/ja/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/)への対応 +* [CVE-2018-8777: WEBrick における巨大リクエストにともなう DoS 脆弱性について](/ja/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/)への対応 +* [CVE-2018-6914: Tempfile および Tmpdir でのディレクトリトラバーサルを伴う意図しないファイルまたはディレクトリ作成の脆弱性について](/ja/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/)への対応 +* [CVE-2018-8778: String#unpack における範囲外読み込みの脆弱性について](/ja/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/)への対応 +* [CVE-2018-8779: UNIX ドメインソケットにおいて NUL 文字挿入により意図しないソケットにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/)への対応 +* [CVE-2018-8780: Dir において NUL 文字挿入により意図しないディレクトリにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/)への対応 +* [RubyGems の複数の脆弱性について](/ja/news/2018/02/17/multiple-vulnerabilities-in-rubygems/)への対応 + +Ruby 2.2 系列は、セキュリティメンテナンスフェーズにあり、重大なセキュリティ上の問題への対応のみが行われています。 +かねてからの予告通り、今月末をもって、2.2 系列のセキュリティメンテナンスならびに公式サポートは終了する予定です。 +従って、今回のリリースで致命的な新規バグが混入していない限り、以後、2.2 系列からの新たな公式リリースは行われません。 +現在、2.2 系列を利用しているユーザーの皆さんは、なるべく早く、2.5 系列等のより新しいバージョン系列の Ruby への移行を行ってください。 + +## ダウンロード + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2) + + SIZE: 13365461 bytes + SHA1: 72ee1dcfd96199d2c3092b77db7a7f439c0abd08 + SHA256: a54204d2728283c9eff0cf81d654f245fa5b3447d0824f1a6bc3b2c5c827381e + SHA512: f8ec96c2a5f4ecf22052ee0b1029989ded52d7bf5d41be24fef67e732e76f72119302240bca08f0547510a9cd29e941a32e263cad9c8a2bf80023d6bc97b2373 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz) + + SIZE: 16694179 bytes + SHA1: b0207c861f3fa41cbe4909ecb89bd2fcac81fe7c + SHA256: cd51019eb9d9c786d6cb178c37f6812d8a41d6914a1edaf0050c051c75d7c358 + SHA512: 051124922240d2e20e74903b9c629fa897279072d2aa9b0a4e3a02331b843fa9c97c16e7073d6faec1b9f2024c3a7e36346014c30eee256f0715c5de226b5db8 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz) + + SIZE: 10508612 bytes + SHA1: c46737f81df819c3d7423df5c644431b3fcb8fee + SHA256: bf77bcb7e6666ccae8d0882ea12b05f382f963f0a9a5285a328760c06a9ab650 + SHA512: 1f35458f2b1c334e64aecf42cd1df3b223fef119b6ad23394285d9f2e72da26b3ba5418950694c4a8c0b4afc43672f78459f2f7281a595cff0967eb239662ae4 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip) + + SIZE: 18540424 bytes + SHA1: 0f4b9c6695d000cb456fe8b89f8bf6d42fb95069 + SHA256: 6933eb989afb1b916c438d8eeecff1cfb0a6569c07e7190beca56b10b822207a + SHA512: dfaa9a76170b0eed9cb2bf41178f2193dd3428492413b1616aaabd67ec35b9b7705b422b0fdfe38b18a1800bbce3ba161b53d229d307ea7f5c0269ef3d031980 + +## リリースコメント + +脆弱性を報告してくれた皆様、パッチを作成してくれた皆様、そしてリリースに協力してくれた皆様に感謝します。 diff --git a/ja/news/_posts/2018-03-28-ruby-2-3-7-released.md b/ja/news/_posts/2018-03-28-ruby-2-3-7-released.md new file mode 100644 index 0000000000..bfabaa1bbd --- /dev/null +++ b/ja/news/_posts/2018-03-28-ruby-2-3-7-released.md @@ -0,0 +1,65 @@ +--- +layout: news_post +title: "Ruby 2.3.7 リリース" +author: "usa" +translator: +date: 2018-03-28 17:00:00 +0000 +lang: ja +--- + +Ruby 2.3.7 がリリースされました。 +これは安定版 2.3 系列の TEENY リリースです。 + +今回のリリースでは、前回リリースから 70 件ほどのバグ修正が行われ、安定性のさらなる向上が図られています。 +また、以下のセキュリティ上の問題に対する対応が含まれています。 + +* [CVE-2017-17742: WEBrick における HTTP レスポンス偽装の脆弱性について](/ja/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/)への対応 +* [CVE-2018-8777: WEBrick における巨大リクエストにともなう DoS 脆弱性について](/ja/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/)への対応 +* [CVE-2018-6914: Tempfile および Tmpdir でのディレクトリトラバーサルを伴う意図しないファイルまたはディレクトリ作成の脆弱性について](/ja/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/)への対応 +* [CVE-2018-8778: String#unpack における範囲外読み込みの脆弱性について](/ja/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/)への対応 +* [CVE-2018-8779: UNIX ドメインソケットにおいて NUL 文字挿入により意図しないソケットにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/)への対応 +* [CVE-2018-8780: Dir において NUL 文字挿入により意図しないディレクトリにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/)への対応 +* [RubyGems の複数の脆弱性について](/ja/news/2018/02/17/multiple-vulnerabilities-in-rubygems/)への対応 + +詳しくは、対応する [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_7/ChangeLog) を参照してください。 + +今回のリリースをもって、2.3 系列は通常メンテナンスフェーズを終了し、セキュリティメンテナンスフェーズへ移行します。セキュリティメンテナンスフェーズの期間は 1 年間を予定しており、この間は重大なセキュリティ上の問題への対応のみが行われます。セキュリティメンテナンスフェーズ期間の満了をもって、2.3 系列の公式サポートは終了します。 +現在、2.3 系列を利用しているユーザーの皆さんは、なるべく早く、2.5 系列等のより新しいバージョン系列の Ruby への移行を検討されるよう、お勧めします。 + +※ただし、今回のリリースにおいて何らかの重大な互換性問題が発見された場合は、これに対応するためのリリースが行われる可能性はあります。 + +## ダウンロード + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2) + + SIZE: 14421177 bytes + SHA1: 3bb88965405da5e4de2432eeb445fffa8a66fb33 + SHA256: 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e + SHA512: e72754f7703f0706c4b0bccd053035536053451fe069a55427984cc0bc5692b86bd51c243c5f62f78527c66b08300d2e4aa19b73e6ded13d6020aa2450e66a7d + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz) + + SIZE: 17859100 bytes + SHA1: 540996fec64984ab6099e34d2f5820b14904f15a + SHA256: 35cd349cddf78e4a0640d28ec8c7e88a2ae0db51ebd8926cd232bb70db2c7d7f + SHA512: 1ceccf00981d6d60e7587e89a04cc028f976950313ee445db5afd03e323472d3e69a35423733b24f9cbd9729f034cf80d2233b5c159764839f5bee4ca7052fe0 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz) + + SIZE: 11438124 bytes + SHA1: c489248730cbce7721edd3e97de81e68eec938b2 + SHA256: c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb + SHA512: fd91c8db3d3aa4cc962a62f27b4d1a71f6b5567ab836e6dbfbbb1553eb269d11e12faf9e36af6c489c33b54fd89dab99bfe81a563158b704877f0628d6f5bc5a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip) + + SIZE: 19911423 bytes + SHA1: ec6870b39125238d8d57d642225592896ed3b6d9 + SHA256: ffa42eeff928624a05dc7ad39426c855c6e9a757417f17b6fe9e54664ec91012 + SHA512: c85255a7f43c7df2fb11be4f9aa96e2ae70a94d3e963ccff4d8c1349ad6d455d9a436812efb24c91e451e68b8f81e5d335c6d5811b2a0e945a7070c305054434 + +## リリースコメント + +リリースに協力してくれた皆様に感謝します。 + +このリリースを含む Ruby 2.3 系列の保守は、[一般財団法人 Ruby アソシエーション](http://www.ruby.or.jp/)の Ruby 安定版保守委託事業に基いています。 diff --git a/ja/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/ja/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md new file mode 100644 index 0000000000..de4dd60310 --- /dev/null +++ b/ja/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2018-6914: Tempfile および Tmpdir でのディレクトリトラバーサルを伴う意図しないファイルまたはディレクトリ作成の脆弱性について" +author: "usa" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ja +--- + +Ruby の標準添付ライブラリである tmpdir で、攻撃者により任意のディレクトリを一時ディレクトリ作成場所として指定可能な脆弱性が発見されました。また、同じく標準添付ライブラリである tempfile も内部で tmpdir を使用しているため、同様に任意のディレクトリを一時ファイル作成場所として指定可能となっていました。 +この脆弱性は、[CVE-2018-6914](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6914) として登録されています。 + +## 詳細 + +標準添付ライブラリ tmpdir によって追加されるメソッド `Dir.mktmpdir` では、第 1 引数で生成されるディレクトリ名のプレフィックスとサフィックスを指定することができます。このプレフィックスには事実上任意の文字列が指定可能なため、相対ディレクトリ指定 `"../"` を含めることにより、任意のディレクトリを対象とすることが可能となっていました。 +このため、外部の入力をプレフィックスとして指定可能であり、かつ、各ディレクトリに適切なパーミッションが指定されていない場合またはRubyプロセスが不適切に強い権限で実行されている場合には、攻撃者によって任意のディレクトリ上にディレクトリまたはファイルが作成可能となっていました。 + +この問題の影響を受けるバージョンの Ruby のユーザーは、速やかに問題の修正されたバージョンに更新してください。 + +## 影響を受けるバージョン + +* Ruby 2.2.9 以前の全ての Ruby 2.2 系列 +* Ruby 2.3.6 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.3 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.0 +* Ruby 2.6.0-preview1 +* revision 62990 より前の開発版 + +## クレジット + +この脆弱性情報は、[ooooooo_q](https://hackerone.com/ooooooo_q) 氏によって報告されました。 + +## 更新履歴 + +* 2018-03-28 23:00:00 (JST) 初版 From 25a113b525c38271f93ddee4f401a79b5e84cb9a Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 29 Mar 2018 03:01:47 +0900 Subject: [PATCH 0045/2563] Add ruby-2.4.4 release announce. (#1762) * Add ruby-2.4.4 release announce. * Fix title and date of article. * tweak CVE references. * Add link to the article about vuln. in rubygems. * tweak CVE references. * Fix typo in version number. --- .../_posts/2018-03-28-ruby-2-4-4-released.md | 60 +++++++++++++++++++ .../_posts/2018-03-28-ruby-2-4-4-released.md | 57 ++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 en/news/_posts/2018-03-28-ruby-2-4-4-released.md create mode 100644 ja/news/_posts/2018-03-28-ruby-2-4-4-released.md diff --git a/en/news/_posts/2018-03-28-ruby-2-4-4-released.md b/en/news/_posts/2018-03-28-ruby-2-4-4-released.md new file mode 100644 index 0000000000..ca8d028fcf --- /dev/null +++ b/en/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Ruby 2.4.4 Released" +author: "nagachika" +translator: +date: 2018-03-28 00:00:00 +0000 +lang: en +--- + +Ruby 2.4.4 has been released. + +This release includes some bug fixes and some security fixes. + +* [CVE-2017-17742: HTTP response splitting in WEBrick](/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir](/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: DoS by large request in WEBrick](/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: Buffer under-read in String#unpack](/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket](/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir](/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Multiple vulnerabilities in RubyGems](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + + +There are also some bug fixes. +See [commit logs](https://github.com/ruby/ruby/compare/v2_4_3...v2_4_4) for more details. + +## Download + +* + + SIZE: 12659705 bytes + SHA1: 1cc548ba3eb821e29ab92ac13e1d5c7bf23b1526 + SHA256: 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1 + SHA512: ae632852a5f413561d8134e9ef3bb82adb37317696dd293ef92cb76709ecd45718f14116ecce35b12f1c2dd53ccae8dabc7a924a270072b697512d11f4922347 + +* + + SIZE: 14225338 bytes + SHA1: ec82b0d53bd0adad9b19e6b45e44d54e9ec3f10c + SHA256: 254f1c1a79e4cc814d1e7320bc5bdd995dc57e08727d30a767664619a9c8ae5a + SHA512: fa1f6d3a4856046d4f9c3e652be225ae67f3e9ff0d117b6ed327d58cfb717fb9b1ce81d06a3302e486e7da0b5f67b16341666ceb02a554a428d221d008263ed8 + +* + + SIZE: 10049304 bytes + SHA1: 0eac83a0818e1d6bc661abd9f90457cff8868cff + SHA256: 1d0034071d675193ca769f64c91827e5f54cb3a7962316a41d5217c7bc6949f0 + SHA512: 4dc112a149273d4221484ccbf1260c6c5fcad7e0a6e4bc91e4ef69cbc093d3191f7abd71420f80d680f8ea5d111e6803ba2af32166aa501913639e6d5696fde0 + +* + + SIZE: 15685143 bytes + SHA1: 4ac11e6915c168a235b854014aa2a0d540cabd68 + SHA256: d0ca0561be0045f2e094f2ba94f1585e66e9c1e91fe6de3f3035f4d67dce7650 + SHA512: 79b655fda332d44097e108a76c4ff74f16930cd3ef3951c7988df325781aa0b3e724697107d964735f31a2457a835f08fa72c4eadd5ef7d3ccc1e6c9185f37e3 + +## Release Comment + +Many committers, developers, and users who provided bug reports helped +us to make this release. +Thanks for their contributions. diff --git a/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md b/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md new file mode 100644 index 0000000000..77cff7d962 --- /dev/null +++ b/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Ruby 2.4.4 リリース" +author: "nagachika" +translator: +date: 2018-03-28 16:00:00 +0000 +lang: ja +--- + +Ruby 2.4.4 がリリースされました。 +このリリースには以下の脆弱性修正が含まれています。 + + +* [CVE-2017-17742: WEBrick における HTTP レスポンス偽装の脆弱性について](/ja/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/)への対応 +* [CVE-2018-6914: Tempfile および Tmpdir でのディレクトリトラバーサルを伴う意図しないファイルまたはディレクトリ作成の脆弱性について](/ja/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/)への対応 +* [CVE-2018-8777: WEBrick における巨大リクエストにともなう DoS 脆弱性について](/ja/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/)への対応 +* [CVE-2018-8778: String#unpack における範囲外読み込みの脆弱性について](/ja/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/)への対応 +* [CVE-2018-8779: UNIX ドメインソケットにおいて NUL 文字挿入により意図しないソケットにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/)への対応 +* [CVE-2018-8780: Dir において NUL 文字挿入により意図しないディレクトリにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/)への対応 +* [RubyGems の複数の脆弱性について](/ja/news/2018/02/17/multiple-vulnerabilities-in-rubygems/)への対応 + +その他いくつかの不具合修正も含まれます。詳細は [commit log](https://github.com/ruby/ruby/compare/v2_4_2...v2_4_3) を参照してください。 + + +## ダウンロード + +* + + SIZE: 12659705 bytes + SHA1: 1cc548ba3eb821e29ab92ac13e1d5c7bf23b1526 + SHA256: 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1 + SHA512: ae632852a5f413561d8134e9ef3bb82adb37317696dd293ef92cb76709ecd45718f14116ecce35b12f1c2dd53ccae8dabc7a924a270072b697512d11f4922347 + +* + + SIZE: 14225338 bytes + SHA1: ec82b0d53bd0adad9b19e6b45e44d54e9ec3f10c + SHA256: 254f1c1a79e4cc814d1e7320bc5bdd995dc57e08727d30a767664619a9c8ae5a + SHA512: fa1f6d3a4856046d4f9c3e652be225ae67f3e9ff0d117b6ed327d58cfb717fb9b1ce81d06a3302e486e7da0b5f67b16341666ceb02a554a428d221d008263ed8 + +* + + SIZE: 10049304 bytes + SHA1: 0eac83a0818e1d6bc661abd9f90457cff8868cff + SHA256: 1d0034071d675193ca769f64c91827e5f54cb3a7962316a41d5217c7bc6949f0 + SHA512: 4dc112a149273d4221484ccbf1260c6c5fcad7e0a6e4bc91e4ef69cbc093d3191f7abd71420f80d680f8ea5d111e6803ba2af32166aa501913639e6d5696fde0 + +* + + SIZE: 15685143 bytes + SHA1: 4ac11e6915c168a235b854014aa2a0d540cabd68 + SHA256: d0ca0561be0045f2e094f2ba94f1585e66e9c1e91fe6de3f3035f4d67dce7650 + SHA512: 79b655fda332d44097e108a76c4ff74f16930cd3ef3951c7988df325781aa0b3e724697107d964735f31a2457a835f08fa72c4eadd5ef7d3ccc1e6c9185f37e3 + +## リリースコメント + +このリリースにあたり、多くのコミッター、開発者、バグ報告をしてくれたユーザーの皆様に感謝を申し上げます。 From 9277a30a8d7fd73784f2661db4756d025d0bd6f7 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Thu, 29 Mar 2018 03:09:08 +0900 Subject: [PATCH 0046/2563] Ruby 2.5.1 Released (#1763) --- .../_posts/2018-03-28-ruby-2-5-1-released.md | 60 +++++++++++++++++++ .../_posts/2018-03-28-ruby-2-5-1-released.md | 57 ++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 en/news/_posts/2018-03-28-ruby-2-5-1-released.md create mode 100644 ja/news/_posts/2018-03-28-ruby-2-5-1-released.md diff --git a/en/news/_posts/2018-03-28-ruby-2-5-1-released.md b/en/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..2305272d3c --- /dev/null +++ b/en/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Ruby 2.5.1 Released" +author: "naruse" +translator: +date: 2018-03-28 00:00:00 +0000 +lang: en +--- + +Ruby 2.5.1 has been released. + +This release includes some bug fixes and some security fixes. + +* [CVE-2017-17742: HTTP response splitting in WEBrick](/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir](/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: DoS by large request in WEBrick](/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: Buffer under-read in String#unpack](/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket](/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir](/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Multiple vulnerabilities in RubyGems](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + + +There are also some bug fixes. +See [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1) for more details. + +## Download + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## Release Comment + +Many committers, developers, and users who provided bug reports helped +us to make this release. +Thanks for their contributions. diff --git a/ja/news/_posts/2018-03-28-ruby-2-5-1-released.md b/ja/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..1023c0404a --- /dev/null +++ b/ja/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Ruby 2.5.1 リリース" +author: "naruse" +translator: +date: 2018-03-28 16:00:00 +0000 +lang: ja +--- + +Ruby 2.5.1 がリリースされました。 +このリリースには以下の脆弱性修正が含まれています。 + + +* [CVE-2017-17742: WEBrick における HTTP レスポンス偽装の脆弱性について](/ja/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/)への対応 +* [CVE-2018-6914: Tempfile および Tmpdir でのディレクトリトラバーサルを伴う意図しないファイルまたはディレクトリ作成の脆弱性について](/ja/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/)への対応 +* [CVE-2018-8777: WEBrick における巨大リクエストにともなう DoS 脆弱性について](/ja/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/)への対応 +* [CVE-2018-8778: String#unpack における範囲外読み込みの脆弱性について](/ja/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/)への対応 +* [CVE-2018-8779: UNIX ドメインソケットにおいて NUL 文字挿入により意図しないソケットにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/)への対応 +* [CVE-2018-8780: Dir において NUL 文字挿入により意図しないディレクトリにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/)への対応 +* [RubyGems の複数の脆弱性について](/ja/news/2018/02/17/multiple-vulnerabilities-in-rubygems/)への対応 + +その他いくつかの不具合修正も含まれます。詳細は [commit log](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1) を参照してください。 + + +## ダウンロード + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## リリースコメント + +このリリースにあたり、多くのコミッター、開発者、バグ報告をしてくれたユーザーの皆様に感謝を申し上げます。 From 5929dff03a9b1c08a0b05b5d03b780f929c5dddb Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 29 Mar 2018 03:32:12 +0900 Subject: [PATCH 0047/2563] Change release-2-4-4 timestamps (#1764) * Change article timestamp for ruby 2.4.4 release announce * +10 minutes in timestamp * Tweak timestamp of ruby-2.5.1 release annouces --- en/news/_posts/2018-03-28-ruby-2-4-4-released.md | 2 +- en/news/_posts/2018-03-28-ruby-2-5-1-released.md | 2 +- ja/news/_posts/2018-03-28-ruby-2-4-4-released.md | 2 +- ja/news/_posts/2018-03-28-ruby-2-5-1-released.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en/news/_posts/2018-03-28-ruby-2-4-4-released.md b/en/news/_posts/2018-03-28-ruby-2-4-4-released.md index ca8d028fcf..33b693e688 100644 --- a/en/news/_posts/2018-03-28-ruby-2-4-4-released.md +++ b/en/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 2.4.4 Released" author: "nagachika" translator: -date: 2018-03-28 00:00:00 +0000 +date: 2018-03-28 17:10:00 +0000 lang: en --- diff --git a/en/news/_posts/2018-03-28-ruby-2-5-1-released.md b/en/news/_posts/2018-03-28-ruby-2-5-1-released.md index 2305272d3c..ea09f2cb9d 100644 --- a/en/news/_posts/2018-03-28-ruby-2-5-1-released.md +++ b/en/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 2.5.1 Released" author: "naruse" translator: -date: 2018-03-28 00:00:00 +0000 +date: 2018-03-28 17:20:00 +0000 lang: en --- diff --git a/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md b/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md index 77cff7d962..d3e9b0b798 100644 --- a/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md +++ b/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 2.4.4 リリース" author: "nagachika" translator: -date: 2018-03-28 16:00:00 +0000 +date: 2018-03-28 17:10:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2018-03-28-ruby-2-5-1-released.md b/ja/news/_posts/2018-03-28-ruby-2-5-1-released.md index 1023c0404a..3154116ff3 100644 --- a/ja/news/_posts/2018-03-28-ruby-2-5-1-released.md +++ b/ja/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 2.5.1 リリース" author: "naruse" translator: -date: 2018-03-28 16:00:00 +0000 +date: 2018-03-28 17:20:00 +0000 lang: ja --- From a34d3652a229855874a070ddc8fbf05b7d33bea5 Mon Sep 17 00:00:00 2001 From: "U.Nakamura" Date: Thu, 29 Mar 2018 10:31:11 +0900 Subject: [PATCH 0048/2563] Mention about upgrading Rubies --- .../2018-02-17-multiple-vulnerabilities-in-rubygems.md | 6 ++++-- .../2018-02-17-multiple-vulnerabilities-in-rubygems.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md index 413c53cb21..38571d1628 100644 --- a/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md +++ b/en/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -23,7 +23,7 @@ The following vulnerabilities have been reported. * Mitigate XSS vulnerability in homepage attribute when displayed via gem server. * Prevent Path Traversal issue during gem installation. -It is strongly recommended for Ruby users to take one of the following workarounds as soon as possible. +It is strongly recommended for Ruby users to upgrade your Ruby installation or take one of the following workarounds as soon as possible. ## Affected Versions @@ -35,7 +35,8 @@ It is strongly recommended for Ruby users to take one of the following workaroun ## Workarounds -RubyGems 2.7.6 or later includes the fix for the vulnerabilities, so upgrade RubyGems to the latest version. +In principle, you should upgrade your Ruby installation to the latest version. +RubyGems 2.7.6 or later includes the fix for the vulnerabilities, so upgrade RubyGems to the latest version if you can't upgrade Ruby itself. ``` gem update --system @@ -57,3 +58,4 @@ This report is based on [the official blog of RubyGems](http://blog.rubygems.org ## History * Originally published at 2018-02-17 03:00:00 UTC +* Mention about upgrading Rubies at 2018-03-29 01:00:00 UTC diff --git a/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md index 5e9739bfff..0100ef4d58 100644 --- a/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md +++ b/ja/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -23,7 +23,7 @@ RubyGems の公式ブログにて[報告されています](http://blog.rubygems * Mitigate XSS vulnerability in homepage attribute when displayed via gem server. * Prevent Path Traversal issue during gem installation. -この問題の影響を受けるバージョンの Ruby のユーザーは、下記の回避策を取ってください。 +この問題の影響を受けるバージョンの Ruby のユーザーは、最新の Ruby に更新するか、下記の回避策を取ってください。 ## 影響を受けるバージョン @@ -35,7 +35,8 @@ RubyGems の公式ブログにて[報告されています](http://blog.rubygems ## 回避策 -以下のコマンドを実行することにより、RubyGems を最新版(2.7.6 以降)に更新することによって、各脆弱性が修正されます。 +原則としては、Ruby 自体を最新のリリースに更新してください。 +それができない場合は、以下のコマンドを実行することにより、RubyGems を最新版(2.7.6 以降)に更新することによって、各脆弱性が修正されます。 ``` gem update --system @@ -58,3 +59,4 @@ gem update --system ## 更新履歴 * 2018-02-17 12:00:00 (JST) 初版 +* 2018-03-29 10:00:00 (JST) Ruby の最新リリースについて言及 From 11b34e9e1ae864fe2c9076a50b1e73267cef75c2 Mon Sep 17 00:00:00 2001 From: Vincent Lin Date: Wed, 24 Jan 2018 13:18:09 +0800 Subject: [PATCH 0049/2563] Translate 2018 Fukuoka Ruby Award Competition (zh_tw) --- .../2017-12-27-fukuoka-ruby-award-2018.md | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md diff --git a/zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md b/zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md new file mode 100644 index 0000000000..d4f45d4cc8 --- /dev/null +++ b/zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md @@ -0,0 +1,65 @@ +--- +layout: news_post +title: "2018 福岡 Ruby 大賽 ─ Matz 親自審視參賽作品!" +author: "Fukuoka Ruby" +translator: "Vincent Lin" +date: 2017-12-27 00:00:00 +0000 +lang: zh_tw +--- + +親愛的 Ruby 愛好者, + +日本福岡市政府與松本行弘(“Matz”)先生誠摯邀您一起來參加 Ruby 大賽。有開發出什麼有趣的 Ruby 應用嗎?歡迎參賽。 + +2018 福岡 Ruby 大賽──最大獎──壹百萬日圓! + +截止日期:2018 年 1 月 31 日。 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz 與評審委員小組會選出本次大賽的優勝者。福岡 Ruby 大賽的最大獎是壹百萬日圓。過去的優勝者有來自美國的 Rhomobile 公司以及韓國釜山的亞太經貿氣候中心。 + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +參賽的作品不需要完全是用 Ruby 寫的,但需要用到 Ruby 獨一無二的特色。 + +必須是過去一年內所開發的作品才有效,進一步了解請造訪下列福岡市政府網站: + +[http://www.digitalfukuoka.jp/events/152](http://www.digitalfukuoka.jp/events/152) + +或參考 + +[http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc) + +請將報名表 Email 至 award@f-ruby.com。 + +今年我們有以下特別獎: + +AWS 特賞得獎者將獲得: + +* Amazon Fire Tablet(可能會修改) +* 免費 AWS 架構技術諮詢服務 + +GMO Pepabo 特賞將獲得: + +* Lolipop! 共享主機服務的標準方案十年免費,或是 Managed Cloud 的流量方案價值日幣十萬元的折價券 +* Muumuu Domain DNS 註冊服務:十年免費域名一個(限每年費用低於一萬日圓的域名) + +IIJ GIO 特賞將獲得: + +* 更多細節將在稍後公佈 + +Money Forward 特賞將獲得: + +* 與 Money Forward 的 Ruby 提交者共享晚餐 +* 個人金融管理系統 "Money Forward" 的高級服務十年免費優待券一張 + +Salesforce 特賞將獲得: + +* salesforce.com 的新奇禮品 + +“Matz 會仔細審閱、測試作品的原始碼,參加的意義非凡啊!大賽免費參加!” + +謝謝! From cbad3f739c543e131bd3d5940aa6bdf06b6483af Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Fri, 30 Mar 2018 15:43:12 +0900 Subject: [PATCH 0050/2563] Mention about upgrading Rubies (ko) (#1768) --- .../_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md index b2fe9312c3..9888df98ca 100644 --- a/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md +++ b/ko/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -35,6 +35,7 @@ lang: ko ## 해결 방법 +원칙적으로는 루비를 업그레이드해야 합니다. 루비를 업그레이드할 수 없는 상황이라면 RubyGems를 최신 버전으로 업그레이드하세요. RubyGems 2.7.6 이후 버전은 취약점을 보완하였습니다. @@ -58,3 +59,4 @@ RubyGems를 업그레이드를 할 수 없다면, 차선책으로 다음 패치 ## 수정 이력 * 2018-02-17 12:00:00 (KST) 최초 공개 +* 2018-03-29 10:00:00 (KST) 루비 업그레이드 언급 From f0fdf2632bdca9aea86dfd42a05a50bb18bb5d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 30 Mar 2018 13:52:33 +0200 Subject: [PATCH 0051/2563] Translate CVE-2018-8778 post (de) --- ...-buffer-under-read-unpack-cve-2018-8778.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 de/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md diff --git a/de/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/de/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md new file mode 100644 index 0000000000..e14f2cb391 --- /dev/null +++ b/de/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "CVE-2018-8778: Pufferunterlauf in String#unpack" +author: "usa" +translator: "Marvin Gülker" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: de +--- + +In der Methode `String#unpack` ist ein Pufferunterlauf entdeckt +worden. Dieser Sicherheitslücke wurde die CVE-Nummer +[CVE-2018-8778](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8778) +zugewiesen. + +## Details + +`String#unpack` nimmt Formatierungsanweisungen als Parameter an, unter +denen sich auch eine Angabe der Parsing-Position über die Anweisung +`@` befindet. Wenn man `@` einen großen Wert übergibt, wird die Zahl +als negativ behandelt und es kommt zu einem Lesevorgang außerhalb des +vorgesehenen Puffers. Wenn also ein Skript externe Eingaben als +Argument für `String#unpack` verwendet, kann ein Angreifer Daten aus +dem Heap lesen. + +Alle Nutzer betroffener Versionen sollten umgehend aktualisieren. + +## Betroffene Versionen + +* Ruby 2.2er-Serie: 2.2.9 und früher +* Ruby 2.3er-Serie: 2.3.6 und früher +* Ruby 2.4er-Serie: 2.4.3 und früher +* Ruby 2.5er-Serie: 2.5.0 und früher +* Ruby 2.6er-Serie: 2.6.0-preview1 +* Trunk vor Revision r62992 + +## Danksagung + +Dank geht an [aerodudrizzt](https://hackerone.com/aerodudrizzt) für +die Meldung des Problems. + +## Historie + +* Erstveröffentlicht am 2018-03-28 14:00:00 (UTC) From c2d8b8cb2df0314b11d32499e3bceb08f917f247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 30 Mar 2018 13:52:46 +0200 Subject: [PATCH 0052/2563] Translate CVE-2017-17742 post (de) --- ...nse-splitting-in-webrick-cve-2017-17742.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 de/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md diff --git a/de/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/de/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md new file mode 100644 index 0000000000..02169078f6 --- /dev/null +++ b/de/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2017-17742: HTTP-Antwortveränderung in WEBrick" +author: "usa" +translator: "Marvin Gülker" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: de +--- + +In dem in Ruby enthaltenen WEBrick ist eine Sicherheitslücke entdeckt +worden, die zur Veränderung von HTTP-Antworten genutzt werden +kann. Man hat dieser Sicherheitslücke die CVE-Nummer +[CVE-2017-17742](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17742) +zugewiesen. + +## Details + +Wenn ein Skript externe Eingaben annimmt und ohne Veränderung als Teil +einer HTTP-Antwort weitergibt, kann ein Angreifer Zeilenumbrüche +einfügen, die die Clients glauben machen, dass die HTTP-Kopfzeilen der +Antwort an dieser Stelle zu Ende seien. Nach den Zeilenumbrüchen kann er gefälschte +HTTP-Antworten einfügen, um den Clients beliebige Inhalte zuzuführen. + +Alle Nutzer betroffener Versionen sollten umgehend aktualisieren. + +## Betroffene Versionen + +* Ruby 2.2er-Serie: 2.2.9 und früher +* Ruby 2.3er-Serie: 2.3.6 und früher +* Ruby 2.4er-Serie: 2.4.3 und früher +* Ruby 2.5er-Serie: 2.5.0 und früher +* Ruby 2.6er-Serie: 2.6.0-preview1 +* Trunk vor Revision r62968 + +## Danksagung + +Dank an Aaron Patterson für die Meldung des +Problems. + +## Historie + +* Erstveröffentlicht am 2018-03-28 14:00:00 (UTC) From ff66e47d78f4c1551104422f03841b9d80995e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 30 Mar 2018 13:52:58 +0200 Subject: [PATCH 0053/2563] Translate CVE-2018-8777 post (de) --- ...ge-request-dos-in-webrick-cve-2018-8777.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 de/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md diff --git a/de/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/de/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md new file mode 100644 index 0000000000..17ce2b0d9b --- /dev/null +++ b/de/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "CVE-2018-8777: DoS-Angriff durch große Anfrage an WEBrick" +author: "usa" +translator: "Marvin Gülker" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: de +--- + +Der in Ruby enthaltene WEBrick verbraucht den gesamten +Arbeitsspeicher, wenn man ihm eine große Anfrage schickt. Dieser +Schwachstelle wurde die CVE-Nummer +[CVE-2018-8777](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8777) +zugewiesen. + +## Details + +Wenn ein Angreifer eine große Anfrage mit riesigen HTTP-Kopfzeilen an +WEBrick schickt, versucht die Software, diese vollständig im +Arbeitsspeicher zu verarbeiten. Dadurch kann die Anfrage zum Verbrauch +des Arbeitsspeichers und so zu einem DoS-Angriff benutzt werden. + +Alle Nutzer betroffener Versionen sollten umgehend aktualisieren. + +## Betroffene Versionen + +* Ruby 2.2er-Serie: 2.2.9 und früher +* Ruby 2.3er-Serie: 2.3.6 und früher +* Ruby 2.4er-Serie: 2.4.3 und früher +* Ruby 2.5er-Serie: 2.5.0 und früher +* Ruby 2.6er-Serie: 2.6.0-preview1 +* Trunk vor Revision r62965 + +## Danksagung + +Dank geht an Eric Wong , der den Fehler gemeldet hat. + +## Historie + +* Erstveröffentlicht am 2018-03-28 14:00:00 (UTC) From e6b5744537c4e433deaeb5dca5b49e43d0f71888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 30 Mar 2018 13:53:10 +0200 Subject: [PATCH 0054/2563] Translate CVE-2018-8780 post (de) --- ...-28-poisoned-nul-byte-dir-cve-2018-8780.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 de/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md diff --git a/de/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/de/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md new file mode 100644 index 0000000000..e5f9f053da --- /dev/null +++ b/de/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "CVE-2018-8780: Unbeabsichtigte Dir Traversal durch NUL-Byte in Dir" +author: "usa" +translator: "Marvin Gülker" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: de +--- + +Einige Methoden in `Dir` tasten ungewollt Verzeichnisse ab. Diese +Sicherheitslücke wird unter der CVE-Nummer +[CVE-2018-8780](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8780) +geführt. + +## Details + +`Dir.open`, `Dir.new`, `Dir.entries` und `Dir.empty?` nehmen als +Parameter den Pfad zum Zielverzeichnis entgegen. Enthält dieser +Parameter ein NUL-Byte (`\0`), dann meinen diese Methoden, dass der +Pfad vor dem NUL-Byte zu Ende ist. Wenn ein Skript daher externe +Eingaben als Argument für diese Methoden benutzt, kann ein Angreifer +dies ausnutzen, um ungewollt Verzeichnisse zu untersuchen _(Directory +Traversal)_. + +Alle Nutzer betroffener Versionen sollten umgehend aktualisieren. + +## Betroffene Versionen + +* Ruby 2.2er-Serie: 2.2.9 und früher +* Ruby 2.3er-Serie: 2.3.6 und früher +* Ruby 2.4er-Serie: 2.4.3 und früher +* Ruby 2.5er-Serie: 2.5.0 und früher +* Ruby 2.6er-Serie: 2.6.0-preview1 +* Trunk vor Revision r62989 + +## Credit + +Dank geht an [ooooooo_q](https://hackerone.com/ooooooo_q), der den +Fehler gemeldet hat. + +## Historie + +* Erstveröffentlicht am 2018-03-28 14:00:00 (UTC) From 03aa8616c78e744dcfb889d7f024818d929431b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 30 Mar 2018 13:53:27 +0200 Subject: [PATCH 0055/2563] Translate CVE-2018-8779 post (de) --- ...soned-nul-byte-unixsocket-cve-2018-8779.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 de/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md diff --git a/de/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/de/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md new file mode 100644 index 0000000000..c83a1f663b --- /dev/null +++ b/de/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "CVE-2018-8779: Fehlerhafte Socket-Erstellung durch NUL-Byte in UNIXServer und UNIXSocket" +author: "usa" +translator: "Marvin Gülker" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: de +--- + +Die in Ruby enthaltene Methode `UNIXServer.open` erstellt Sockets +fehlerhaft, außerdem kann man `UNIXSocket.open` dazu bewegen, andere +als die gewünschten Sockets zu öffnen. Die Schwachstellen führen die +CVE-Nummer [CVE-2018-8779](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779). + +## Details + +`UNIXServer.open` nimmt als Parameter den Pfad entgegen, an dem der +Socket erstellt werden soll. Enthält das Argument ein NUL-Byte (`\0`), +glaubt die Methode, dass der Pfad vor dem NUL-Byte zu Ende ist. Das +kann ein Angreifer ausnutzen, um den Socket in einem unerwünschten +Verzeichnis zu erstellen, wenn ein Skript Nutzereingaben direkt als +Argument an die genannte Methode weiterreicht. + +Ähnlich verhält es sich mit `UNIXSocket.open`; auch diese Methode +nimmt einen Zielpfad entgegen und auch hier kann man mit einem +NUL-Byte die Methode glauben machen, dass der Pfad vor dem NUL-Byte +zu Ende sei. Benutzt ein Skript Nutzereingaben als Argument für diese +Methode, kann ein Angreifer das ausnutzen, um einen anderen als den +gewünschten Socket zu öffnen. + +Alle Nutzer betroffener Versionen sollten umgehend aktualisieren. + +## Betroffene Versionen + +* Ruby 2.2er-Serie: 2.2.9 und früher +* Ruby 2.3er-Serie: 2.3.6 und früher +* Ruby 2.4er-Serie: 2.4.3 und früher +* Ruby 2.5er-Serie: 2.5.0 und früher +* Ruby 2.6er-Serie: 2.6.0-preview1 +* Trunk vor Revision r62991 + +## Credit + +Dank an [ooooooo_q](https://hackerone.com/ooooooo_q), der den Fehler +gemeldet hat. + +## Historie + +* Erstveröffentlicht am 2018-03-28 14:00:00 (UTC) From 64273572ef8a72b79818ad867454592787c90f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 30 Mar 2018 13:53:38 +0200 Subject: [PATCH 0056/2563] Translate CVE-2018-6914 post (de) --- ...-with-directory-traversal-cve-2018-6914.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 de/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md diff --git a/de/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/de/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md new file mode 100644 index 0000000000..e88cd2eaf2 --- /dev/null +++ b/de/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "CVE-2018-6914: Unbeabsichtigte Datei- und Verzeichniserstellung sowie Directory Traversal in Tempfile und Tmpdir" +author: "usa" +translator: "Marvin Gülker" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: de +--- + +Es gibt ein Sicherheitsproblem mit der in Ruby enthaltenen +tmpdir-Bibliothek, das zur Erzeugung unerwünschter Verzeichnisse +führen kann. Ebenso kann es bei Verwendung der tempfile-Bibliothek zur +Erzeugung unerwünschter Dateien kommen, da diese Bibliothek intern +tmpdir benutzt. Die Schwachstelle trägt die CVE-Nummer +[CVE-2018-6914](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6914). + +## Details + +Die Methode `Dir.mktmpdir` aus der tmpdir-Bibliothek akzeptiert als +Präfix und Suffix Verzeichnisnamen als ersten Parameter. Da das Präfix +auch relative Verzeichnispfade wie `"../"` enthalten kann, kann diese +Methode benutzt werden, um beliebige Verzeichnisse zu nutzen. Wenn ein +Skript Nutzereingaben als Präfix benutzt und das Zielverzeichnis +fehlerhafte Zugriffsrechte oder der Ruby-Prozess fehlerhafte +Privilegien hat, kann ein Angreifer ein Verzeichnis oder eine Datei in +jedem beliebigen Verzeichnis erstellen. + +Alle Nutzer betroffener Versionen sollten umgehend aktualisieren. + +## Affected Versions + +* Ruby 2.2er-Serie: 2.2.9 und früher +* Ruby 2.3er-Serie: 2.3.6 und früher +* Ruby 2.4er-Serie: 2.4.3 und früher +* Ruby 2.5er-Serie: 2.5.0 und früher +* Ruby 2.6er-Serie: 2.6.0-preview1 +* Trunk vor Revision r62990 + +## Danksagung + +Dank an [ooooooo_q](https://hackerone.com/ooooooo_q) für die Meldung +des Problems. + +## Historie + +* Erstveröffentlicht am 2018-03-28 14:00:00 (UTC) From 5edf45d5159adae36112b14b44c8a3d32eda1622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 30 Mar 2018 13:53:53 +0200 Subject: [PATCH 0057/2563] Translate all the recent release posts (de) --- .../_posts/2018-03-28-ruby-2-2-10-released.md | 63 ++++++++++++++++ .../_posts/2018-03-28-ruby-2-3-7-released.md | 74 +++++++++++++++++++ .../_posts/2018-03-28-ruby-2-4-4-released.md | 61 +++++++++++++++ .../_posts/2018-03-28-ruby-2-5-1-released.md | 60 +++++++++++++++ 4 files changed, 258 insertions(+) create mode 100644 de/news/_posts/2018-03-28-ruby-2-2-10-released.md create mode 100644 de/news/_posts/2018-03-28-ruby-2-3-7-released.md create mode 100644 de/news/_posts/2018-03-28-ruby-2-4-4-released.md create mode 100644 de/news/_posts/2018-03-28-ruby-2-5-1-released.md diff --git a/de/news/_posts/2018-03-28-ruby-2-2-10-released.md b/de/news/_posts/2018-03-28-ruby-2-2-10-released.md new file mode 100644 index 0000000000..f1d4d36468 --- /dev/null +++ b/de/news/_posts/2018-03-28-ruby-2-2-10-released.md @@ -0,0 +1,63 @@ +--- +layout: news_post +title: "Ruby 2.2.10 veröffentlicht" +author: "usa" +translator: "Marvin Gülker" +date: 2018-03-28 17:00:00 +0000 +lang: de +--- + +Ruby 2.2.10 ist veröffentlicht worden. Es handelt sich um eine +Veröffentlichung zum Zwecke der Behebung diverser Sicherheitslücken. +Siehe unten für weitere Details. + +* [CVE-2017-17742: HTTP-Antwortveränderung in WEBrick](/de/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: DoS-Angriff durch große Anfrage an WEBrick](/de/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: Unbeabsichtigte Datei- und Verzeichniserstellung sowie Directory Traversal in Tempfile und Tmpdir](/de/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: Pufferunterlauf in String#unpack](/de/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Fehlerhafte Socket-Erstellung durch NUL-Byte in UNIXServer und UNIXSocket](/de/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unbeabsichtigte Dir Traversal durch NUL-Byte in Dir](/de/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Zahlreiche Schwachstellen in RubyGems](/de/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Ruby 2.2 befindet sich noch bis Ende März 2018 in der Phase der +Sicherheitsunterstützung, danach wird die Unterstützung von Ruby 2.2 +eingestellt. Es wird deshalb keine weitere Veröffentlichung von Ruby +2.2 geben, wenn Ruby 2.2.10 nicht eine schwerwiegende Regression +aufweist. +Wir empfehlen Ihnen, auf neuere Versionen von Ruby, etwa 2.5, zu +aktualisieren. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2) + + SIZE: 13365461 bytes + SHA1: 72ee1dcfd96199d2c3092b77db7a7f439c0abd08 + SHA256: a54204d2728283c9eff0cf81d654f245fa5b3447d0824f1a6bc3b2c5c827381e + SHA512: f8ec96c2a5f4ecf22052ee0b1029989ded52d7bf5d41be24fef67e732e76f72119302240bca08f0547510a9cd29e941a32e263cad9c8a2bf80023d6bc97b2373 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz) + + SIZE: 16694179 bytes + SHA1: b0207c861f3fa41cbe4909ecb89bd2fcac81fe7c + SHA256: cd51019eb9d9c786d6cb178c37f6812d8a41d6914a1edaf0050c051c75d7c358 + SHA512: 051124922240d2e20e74903b9c629fa897279072d2aa9b0a4e3a02331b843fa9c97c16e7073d6faec1b9f2024c3a7e36346014c30eee256f0715c5de226b5db8 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz) + + SIZE: 10508612 bytes + SHA1: c46737f81df819c3d7423df5c644431b3fcb8fee + SHA256: bf77bcb7e6666ccae8d0882ea12b05f382f963f0a9a5285a328760c06a9ab650 + SHA512: 1f35458f2b1c334e64aecf42cd1df3b223fef119b6ad23394285d9f2e72da26b3ba5418950694c4a8c0b4afc43672f78459f2f7281a595cff0967eb239662ae4 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip) + + SIZE: 18540424 bytes + SHA1: 0f4b9c6695d000cb456fe8b89f8bf6d42fb95069 + SHA256: 6933eb989afb1b916c438d8eeecff1cfb0a6569c07e7190beca56b10b822207a + SHA512: dfaa9a76170b0eed9cb2bf41178f2193dd3428492413b1616aaabd67ec35b9b7705b422b0fdfe38b18a1800bbce3ba161b53d229d307ea7f5c0269ef3d031980 + +## Veröffentlichungskommentar + +Dank an alle, die die Sicherheitslücken gemeldet, sie behoben, und +auch sonst mit dieser Veröffentlichung geholfen haben. diff --git a/de/news/_posts/2018-03-28-ruby-2-3-7-released.md b/de/news/_posts/2018-03-28-ruby-2-3-7-released.md new file mode 100644 index 0000000000..d6ae253181 --- /dev/null +++ b/de/news/_posts/2018-03-28-ruby-2-3-7-released.md @@ -0,0 +1,74 @@ +--- +layout: news_post +title: "Ruby 2.3.7 veröffentlicht" +author: "usa" +translator: "Marvin Gülker" +date: 2018-03-28 17:00:00 +0000 +lang: de +--- + +Ruby 2.3.7 ist veröffentlicht worden. + +In dieser Veröffentlichung wurden gegenüber der Vorversion etwa 70 +Fehler behoben, darunter einige Sicherheitsprobleme. Siehe unten für +weitere Informationen. + +* [CVE-2017-17742: HTTP-Antwortveränderung in WEBrick](/de/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: DoS-Angriff durch große Anfrage an WEBrick](/de/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: Unbeabsichtigte Datei- und Verzeichniserstellung sowie Directory Traversal in Tempfile und Tmpdir](/de/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: Pufferunterlauf in String#unpack](/de/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Fehlerhafte Socket-Erstellung durch NUL-Byte in UNIXServer und UNIXSocket](/de/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unbeabsichtigte Dir Traversal durch NUL-Byte in Dir](/de/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Zahlreiche Schwachstellen in RubyGems](/de/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Siehe das +[ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_7/ChangeLog) +für Details. + +Mit dieser Veröffentlichung endet die normale Unterstützungsphase von +Ruby 2.3 und es beginnt die Phase der +Sicherheitsunterstützung. Das bedeutet, dass nach 2.3.7 abgesehen +von Sicherheitskorrekturen keinerlei Fehlerbehebungen mehr nach 2.3 +zurückportiert werden. +Die Phase der Sicherheitsunterstützung ist auf ein Jahr +angesetzt. Danach wird die offizielle Unterstützung von Ruby 2.3 +eingestellt. Wir empfehlen Ihnen daher, mit der Planung einer +Aktualisierung auf Ruby 2.5 oder 2.4 zu beginnen. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2) + + SIZE: 14421177 bytes + SHA1: 3bb88965405da5e4de2432eeb445fffa8a66fb33 + SHA256: 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e + SHA512: e72754f7703f0706c4b0bccd053035536053451fe069a55427984cc0bc5692b86bd51c243c5f62f78527c66b08300d2e4aa19b73e6ded13d6020aa2450e66a7d + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz) + + SIZE: 17859100 bytes + SHA1: 540996fec64984ab6099e34d2f5820b14904f15a + SHA256: 35cd349cddf78e4a0640d28ec8c7e88a2ae0db51ebd8926cd232bb70db2c7d7f + SHA512: 1ceccf00981d6d60e7587e89a04cc028f976950313ee445db5afd03e323472d3e69a35423733b24f9cbd9729f034cf80d2233b5c159764839f5bee4ca7052fe0 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz) + + SIZE: 11438124 bytes + SHA1: c489248730cbce7721edd3e97de81e68eec938b2 + SHA256: c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb + SHA512: fd91c8db3d3aa4cc962a62f27b4d1a71f6b5567ab836e6dbfbbb1553eb269d11e12faf9e36af6c489c33b54fd89dab99bfe81a563158b704877f0628d6f5bc5a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip) + + SIZE: 19911423 bytes + SHA1: ec6870b39125238d8d57d642225592896ed3b6d9 + SHA256: ffa42eeff928624a05dc7ad39426c855c6e9a757417f17b6fe9e54664ec91012 + SHA512: c85255a7f43c7df2fb11be4f9aa96e2ae70a94d3e963ccff4d8c1349ad6d455d9a436812efb24c91e451e68b8f81e5d335c6d5811b2a0e945a7070c305054434 + +## Veröffentlichungskommentar + +Dank geht an alle, die mit dieser Veröffentlichung geholfen haben. + +Die Unterstützung von Ruby 2.3, diese Veröffentlichung eingeschlossen, +beruht auf der „Vereinbarung über die stabile Version von Ruby“ der +Ruby Association. diff --git a/de/news/_posts/2018-03-28-ruby-2-4-4-released.md b/de/news/_posts/2018-03-28-ruby-2-4-4-released.md new file mode 100644 index 0000000000..ea0ed0808c --- /dev/null +++ b/de/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -0,0 +1,61 @@ +--- +layout: news_post +title: "Ruby 2.4.4 veröffentlicht" +author: "nagachika" +translator: "Marvin Gülker" +date: 2018-03-28 17:10:00 +0000 +lang: de +--- + +Ruby 2.4.4 ist veröffentlicht worden. + +Diese Veröffentlichung enthält ein paar Bugfixes, außerdem wurden einige +Sicherheitsprobleme behoben. + +* [CVE-2017-17742: HTTP-Antwortveränderung in WEBrick](/de/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: DoS-Angriff durch große Anfrage an WEBrick](/de/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: Unbeabsichtigte Datei- und Verzeichniserstellung sowie Directory Traversal in Tempfile und Tmpdir](/de/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: Pufferunterlauf in String#unpack](/de/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Fehlerhafte Socket-Erstellung durch NUL-Byte in UNIXServer und UNIXSocket](/de/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unbeabsichtigte Dir Traversal durch NUL-Byte in Dir](/de/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Zahlreiche Schwachstellen in RubyGems](/de/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Siehe die +[Commit-Logs](https://github.com/ruby/ruby/compare/v2_4_3...v2_4_4) +für weitere Informationen. + +## Download + +* + + SIZE: 12659705 bytes + SHA1: 1cc548ba3eb821e29ab92ac13e1d5c7bf23b1526 + SHA256: 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1 + SHA512: ae632852a5f413561d8134e9ef3bb82adb37317696dd293ef92cb76709ecd45718f14116ecce35b12f1c2dd53ccae8dabc7a924a270072b697512d11f4922347 + +* + + SIZE: 14225338 bytes + SHA1: ec82b0d53bd0adad9b19e6b45e44d54e9ec3f10c + SHA256: 254f1c1a79e4cc814d1e7320bc5bdd995dc57e08727d30a767664619a9c8ae5a + SHA512: fa1f6d3a4856046d4f9c3e652be225ae67f3e9ff0d117b6ed327d58cfb717fb9b1ce81d06a3302e486e7da0b5f67b16341666ceb02a554a428d221d008263ed8 + +* + + SIZE: 10049304 bytes + SHA1: 0eac83a0818e1d6bc661abd9f90457cff8868cff + SHA256: 1d0034071d675193ca769f64c91827e5f54cb3a7962316a41d5217c7bc6949f0 + SHA512: 4dc112a149273d4221484ccbf1260c6c5fcad7e0a6e4bc91e4ef69cbc093d3191f7abd71420f80d680f8ea5d111e6803ba2af32166aa501913639e6d5696fde0 + +* + + SIZE: 15685143 bytes + SHA1: 4ac11e6915c168a235b854014aa2a0d540cabd68 + SHA256: d0ca0561be0045f2e094f2ba94f1585e66e9c1e91fe6de3f3035f4d67dce7650 + SHA512: 79b655fda332d44097e108a76c4ff74f16930cd3ef3951c7988df325781aa0b3e724697107d964735f31a2457a835f08fa72c4eadd5ef7d3ccc1e6c9185f37e3 + +## Veröffentlichungskommentar + +Viele Commiter, Entwickler und Nutzer, die Fehler gemeldet haben, +halfen uns bei der Veröffentlichung dieser Version. Danke für ihre +Mitarbeit. diff --git a/de/news/_posts/2018-03-28-ruby-2-5-1-released.md b/de/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..6b53027154 --- /dev/null +++ b/de/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Ruby 2.5.1 veröffentlicht" +author: "naruse" +translator: "Marvin Gülker" +date: 2018-03-28 17:20:00 +0000 +lang: de +--- + +Ruby 2.5.1 ist veröffentlicht worden. + +Diese Version behebt ein paar Fehler und einige Sicherheitsprobleme. + +* [CVE-2017-17742: HTTP-Antwortveränderung in WEBrick](/de/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: DoS-Angriff durch große Anfrage an WEBrick](/de/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: Unbeabsichtigte Datei- und Verzeichniserstellung sowie Directory Traversal in Tempfile und Tmpdir](/de/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: Pufferunterlauf in String#unpack](/de/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Fehlerhafte Socket-Erstellung durch NUL-Byte in UNIXServer und UNIXSocket](/de/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unbeabsichtigte Dir Traversal durch NUL-Byte in Dir](/de/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Zahlreiche Schwachstellen in RubyGems](/de/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Siehe die +[Commit-Logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1) +für mehr Informationen. + +## Download + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## Veröffentlichungskommentar + +Viele Commiter, Entwickler und Nutzer, die Fehler gemeldet haben, +halfen uns bei der Veröffentlichung dieser Version. Danke für ihre +Mitarbeit. From 2c17c15c3467cb32b8eb0e3cfa08768aed9d9436 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Fri, 30 Mar 2018 21:11:42 +0900 Subject: [PATCH 0058/2563] Fix wrong translation --- .../_posts/2013-12-21-ruby-version-policy-changes-with-2-1-0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2013-12-21-ruby-version-policy-changes-with-2-1-0.md b/ja/news/_posts/2013-12-21-ruby-version-policy-changes-with-2-1-0.md index ebfba4b2b8..25321c9de6 100644 --- a/ja/news/_posts/2013-12-21-ruby-version-policy-changes-with-2-1-0.md +++ b/ja/news/_posts/2013-12-21-ruby-version-policy-changes-with-2-1-0.md @@ -7,7 +7,7 @@ date: 2013-12-21 2:00:00 +0000 lang: ja --- Ruby 2.1.0 以降、[Semantic Versioning](http://semver.org/) ([日本語訳](http://semver.org/lang/ja/)) -に沿ったバージョニングに移行することを決定しました。 +に寄せたバージョニングに移行することを決定しました。 Ruby に、より明確で適切なバージョニングスキーマを提供するため、われわれは以下のポリシーに段階的に移行します。 From 847ac6aaa4ea9e7e6574b65a84e7e795a7002867 Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Fri, 30 Mar 2018 11:30:09 +0900 Subject: [PATCH 0059/2563] Translate latest release posts and news (zh_tw) --- ...-buffer-under-read-unpack-cve-2018-8778.md | 37 ++++++++++++ ...nse-splitting-in-webrick-cve-2017-17742.md | 35 +++++++++++ ...ge-request-dos-in-webrick-cve-2018-8777.md | 35 +++++++++++ ...-28-poisoned-nul-byte-dir-cve-2018-8780.md | 36 ++++++++++++ ...soned-nul-byte-unixsocket-cve-2018-8779.md | 38 ++++++++++++ .../_posts/2018-03-28-ruby-2-2-10-released.md | 56 ++++++++++++++++++ .../_posts/2018-03-28-ruby-2-3-7-released.md | 58 +++++++++++++++++++ .../_posts/2018-03-28-ruby-2-4-4-released.md | 56 ++++++++++++++++++ .../_posts/2018-03-28-ruby-2-5-1-released.md | 56 ++++++++++++++++++ ...-with-directory-traversal-cve-2018-6914.md | 36 ++++++++++++ 10 files changed, 443 insertions(+) create mode 100644 zh_tw/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md create mode 100644 zh_tw/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md create mode 100644 zh_tw/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md create mode 100644 zh_tw/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md create mode 100644 zh_tw/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md create mode 100644 zh_tw/news/_posts/2018-03-28-ruby-2-2-10-released.md create mode 100644 zh_tw/news/_posts/2018-03-28-ruby-2-3-7-released.md create mode 100644 zh_tw/news/_posts/2018-03-28-ruby-2-4-4-released.md create mode 100644 zh_tw/news/_posts/2018-03-28-ruby-2-5-1-released.md create mode 100644 zh_tw/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md diff --git a/zh_tw/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/zh_tw/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md new file mode 100644 index 0000000000..cccc9ef3a5 --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -0,0 +1,37 @@ +--- +layout: news_post +title: "CVE-2018-8778: String#unpack 緩衝區溢位" +author: "usa" +translator: "Juanito Fatas" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_tw +--- + +`String#unpack` 方法存在緩衝區溢位的安全性風險。 +此風險的 CVE 識別號為 [CVE-2018-8778](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8778)。 + +## 細節 + +`String#unpack` 收到 format specifiers 為參數時,可用 `@` 指定解析資料的位置。若 `@` 指定了一個很大的數字,數字會被當成是負數,導致緩衝區溢出。 + +若腳本使用了 `String#unpack` 接受外來輸入,攻擊者可以利用此風險讀出 heap 的資料。 + +所有使用受影響版本的使用者應立即升級。 + +## 受影響版本 + +* Ruby 2.2 系列: 2.2.9 以及之前的版本 +* Ruby 2.3 系列: 2.3.6 以及之前的版本 +* Ruby 2.4 系列: 2.4.3 以及之前的版本 +* Ruby 2.5 系列: 2.5.0 以及之前的版本 +* Ruby 2.6 系列: 2.6.0-preview1 +* trunk revision r62992 之前的版本 + +## 致謝 + +感謝 [aerodudrizzt](https://hackerone.com/aerodudrizzt) 回報此問題。 + +## 歷史 + +* 初次發佈於 2018-03-28 14:00:00 (UTC) diff --git a/zh_tw/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/zh_tw/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md new file mode 100644 index 0000000000..70d554e0fd --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2017-17742: WEBrick HTTP 響應切分" +author: "usa" +translator: "Juanito Fatas" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_tw +--- + +Ruby 內建的 WEBrick 存在 HTTP 響應切分(response splitting)安全性風險。 +此風險的 CVE 識別號為 [CVE-2017-17742](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17742)。 + +## 細節 + +如腳本接受外來輸入,並原封不動地返回作為 HTTP 響應。攻擊者可利用換行字元來騙過客戶端,使客戶端錯信表頭已結束,而讀取攻擊者準備的假響應,來顯示惡意內容。 + +所有使用受影響版本的使用者應立即升級。 + +## 受影響版本 + +* Ruby 2.2 系列: 2.2.9 以及之前的版本 +* Ruby 2.3 系列: 2.3.6 以及之前的版本 +* Ruby 2.4 系列: 2.4.3 以及之前的版本 +* Ruby 2.5 系列: 2.5.0 以及之前的版本 +* Ruby 2.6 系列: 2.6.0-preview1 +* trunk revision r62968 之前的版本 + +## 致謝 + +感謝 Aaron Patterson 回報此問題。 + +## 歷史 + +* 初次發佈於 2018-03-28 14:00:00 (UTC) diff --git a/zh_tw/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/zh_tw/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md new file mode 100644 index 0000000000..207c910b86 --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2018-8777: WEBrick 巨大請求造成的阻斷服務" +author: "usa" +translator: "Juanito Fatas" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_tw +--- + +Ruby 內建的 WEBrick 在處理巨大請求時存在記憶體溢出風險。 +此風險的 CVE 識別號為 [CVE-2018-8777](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8777)。 + +## 細節 + +攻擊者發送帶有龐大 header 的巨大請求時,WEBrick 會試圖在記憶體裡處理,故存在記憶體溢出風險。 + +所有使用受影響版本的使用者應立即升級。 + +## 受影響版本 + +* Ruby 2.2 系列: 2.2.9 以及之前的版本 +* Ruby 2.3 系列: 2.3.6 以及之前的版本 +* Ruby 2.4 系列: 2.4.3 以及之前的版本 +* Ruby 2.5 系列: 2.5.0 以及之前的版本 +* Ruby 2.6 系列: 2.6.0-preview1 +* trunk revision r62965 之前的版本 + +## 致謝 + +感謝 Eric Wong 回報此問題。 + +## 歷史 + +* 初次發佈於 2018-03-28 14:00:00 (UTC) diff --git a/zh_tw/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/zh_tw/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md new file mode 100644 index 0000000000..35d8d34b50 --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -0,0 +1,36 @@ +--- +layout: news_post +title: "CVE-2018-8780: Dir 非預期的目錄遍歷" +author: "usa" +translator: "Juanito Fatas" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_tw +--- + +`Dir` 存在不預期的目錄遍歷風險。 +此風險的 CVE 識別號為 [CVE-2018-8780](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8780)。 + +## 細節 + +`Dir.open`、`Dir.new`、`Dir.entries` 及 `Dir.empty?` 接受目標路徑作為參數。若參數含有 NUL `\0` 位元組,這些方法讀取路徑時會在 NUL 位元組之前結束。 +若腳本有用這些方法接受外來輸入,攻擊者可利用此風險來遍歷目錄。 + +所有使用受影響版本的使用者應立即升級。 + +## 受影響版本 + +* Ruby 2.2 系列: 2.2.9 以及之前的版本 +* Ruby 2.3 系列: 2.3.6 以及之前的版本 +* Ruby 2.4 系列: 2.4.3 以及之前的版本 +* Ruby 2.5 系列: 2.5.0 以及之前的版本 +* Ruby 2.6 系列: 2.6.0-preview1 +* trunk revision r62989 之前的版本 + +## 致謝 + +感謝 [ooooooo_q](https://hackerone.com/ooooooo_q) 回報此問題。 + +## 歷史 + +* 初次發佈於 2018-03-28 14:00:00 (UTC) diff --git a/zh_tw/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/zh_tw/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md new file mode 100644 index 0000000000..4603e3c888 --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2018-8779: UNIXServer 與 UNIXSocket 可傳入 NUL 字元肆意建立 socket" +author: "usa" +translator: "Juanito Fatas" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_tw +--- + +Ruby 內建的 socket 函式庫 `UNIXServer.open` 建立 socket 存在安全性風險。`UNIXSocket.open` 存在非預期的存取風險。 + +此風險的 CVE 識別號為 [CVE-2018-8779](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779)。 + +## 細節 + +`UNIXServer.open` 第一個參數是 socket 路徑,若路徑帶有 `\0` NUL 字元組,讀取路徑時會在 NUL 位元組之前結束。 + +若腳本使用了此方法,接受外來輸入作參數。攻擊者可在非預期的路徑建立 socket。同理 `UNIXSocket.open` 也可以讓攻擊者在任何地方新建一個 socket。 + +所有使用受影響版本的使用者應立即升級。 + +## 受影響版本 + +* Ruby 2.2 系列: 2.2.9 以及之前的版本 +* Ruby 2.3 系列: 2.3.6 以及之前的版本 +* Ruby 2.4 系列: 2.4.3 以及之前的版本 +* Ruby 2.5 系列: 2.5.0 以及之前的版本 +* Ruby 2.6 系列: 2.6.0-preview1 +* trunk revision r62991 之前的版本 + +## 致謝 + +感謝 [ooooooo_q](https://hackerone.com/ooooooo_q) 回報此問題。 + +## 歷史 + +* 初次發佈於 2018-03-28 14:00:00 (UTC) diff --git a/zh_tw/news/_posts/2018-03-28-ruby-2-2-10-released.md b/zh_tw/news/_posts/2018-03-28-ruby-2-2-10-released.md new file mode 100644 index 0000000000..81ee0b3859 --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-ruby-2-2-10-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Ruby 2.2.10 發布" +author: "usa" +translator: "Juanito Fatas" +date: 2018-03-28 17:00:00 +0000 +lang: zh_tw +--- + +Ruby 2.2.10 已發布。本發行版包含幾個安全性更新。請參考下列文章來進一步了解。 + +* [CVE-2017-17742: WEBrick HTTP 響應切分](/zh_tw/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Tempfile 與 Tmpdir 肆意建立檔案與目錄](/zh_tw/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: WEBrick 巨大請求造成的阻斷服務](/zh_tw/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: String#unpack 緩衝區溢位](/zh_tw/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer 與 UNIXSocket 可傳入 NUL 字元肆意建立 socket](/zh_tw/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir 非預期的目錄遍歷](/zh_tw/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems 存在多個安全性風險](/zh_tw/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Ruby 2.2 處於安全維護期,於 2018 年 3 月結束。此後 Ruby 2.2 的維護會全部停止。本次應是 2.2 的最後一次發行版。除非 2.2.10 發現重大漏洞,我們將不會再發布新版本。 + +我們建議您著手遷移到更新的 Ruby 版本,例如 2.5。 + +## 下載 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2) + + SIZE: 13365461 bytes + SHA1: 72ee1dcfd96199d2c3092b77db7a7f439c0abd08 + SHA256: a54204d2728283c9eff0cf81d654f245fa5b3447d0824f1a6bc3b2c5c827381e + SHA512: f8ec96c2a5f4ecf22052ee0b1029989ded52d7bf5d41be24fef67e732e76f72119302240bca08f0547510a9cd29e941a32e263cad9c8a2bf80023d6bc97b2373 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz) + + SIZE: 16694179 bytes + SHA1: b0207c861f3fa41cbe4909ecb89bd2fcac81fe7c + SHA256: cd51019eb9d9c786d6cb178c37f6812d8a41d6914a1edaf0050c051c75d7c358 + SHA512: 051124922240d2e20e74903b9c629fa897279072d2aa9b0a4e3a02331b843fa9c97c16e7073d6faec1b9f2024c3a7e36346014c30eee256f0715c5de226b5db8 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz) + + SIZE: 10508612 bytes + SHA1: c46737f81df819c3d7423df5c644431b3fcb8fee + SHA256: bf77bcb7e6666ccae8d0882ea12b05f382f963f0a9a5285a328760c06a9ab650 + SHA512: 1f35458f2b1c334e64aecf42cd1df3b223fef119b6ad23394285d9f2e72da26b3ba5418950694c4a8c0b4afc43672f78459f2f7281a595cff0967eb239662ae4 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip) + + SIZE: 18540424 bytes + SHA1: 0f4b9c6695d000cb456fe8b89f8bf6d42fb95069 + SHA256: 6933eb989afb1b916c438d8eeecff1cfb0a6569c07e7190beca56b10b822207a + SHA512: dfaa9a76170b0eed9cb2bf41178f2193dd3428492413b1616aaabd67ec35b9b7705b422b0fdfe38b18a1800bbce3ba161b53d229d307ea7f5c0269ef3d031980 + +## 發布記 + +感謝回報安全性風險、幫助修復及發布本版本的所有人。 diff --git a/zh_tw/news/_posts/2018-03-28-ruby-2-3-7-released.md b/zh_tw/news/_posts/2018-03-28-ruby-2-3-7-released.md new file mode 100644 index 0000000000..f683ae9bd5 --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-ruby-2-3-7-released.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "Ruby 2.3.7 發布" +author: "usa" +translator: "Juanito Fatas" +date: 2018-03-28 17:00:00 +0000 +lang: zh_tw +--- + +Ruby 2.3.7 已發布。本發行版包含 70 個錯誤修正及安全性更新。請參考下列文章來進一步了解。 + +* [CVE-2017-17742: WEBrick HTTP 響應切分](/zh_tw/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Tempfile 與 Tmpdir 肆意建立檔案與目錄](/zh_tw/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: WEBrick 巨大請求造成的阻斷服務](/zh_tw/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: String#unpack 緩衝區溢位](/zh_tw/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer 與 UNIXSocket 可傳入 NUL 字元肆意建立 socket](/zh_tw/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir 非預期的目錄遍歷](/zh_tw/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems 存在多個安全性風險](/zh_tw/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +詳見 [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_7/ChangeLog) 來進一步了解。 + +本次發布後,我們將結束 2.3 的正常維護週期,進入安全性維護週期。這表示 2.3.7 之後只會進行安全性發布。安全性維護週期為期一年。一年後 2.3 將會結束維護。因此我們建議您著手更新至新版本如 Ruby 2.5 或 2.4。 + +## 下載 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2) + + SIZE: 14421177 bytes + SHA1: 3bb88965405da5e4de2432eeb445fffa8a66fb33 + SHA256: 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e + SHA512: e72754f7703f0706c4b0bccd053035536053451fe069a55427984cc0bc5692b86bd51c243c5f62f78527c66b08300d2e4aa19b73e6ded13d6020aa2450e66a7d + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz) + + SIZE: 17859100 bytes + SHA1: 540996fec64984ab6099e34d2f5820b14904f15a + SHA256: 35cd349cddf78e4a0640d28ec8c7e88a2ae0db51ebd8926cd232bb70db2c7d7f + SHA512: 1ceccf00981d6d60e7587e89a04cc028f976950313ee445db5afd03e323472d3e69a35423733b24f9cbd9729f034cf80d2233b5c159764839f5bee4ca7052fe0 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz) + + SIZE: 11438124 bytes + SHA1: c489248730cbce7721edd3e97de81e68eec938b2 + SHA256: c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb + SHA512: fd91c8db3d3aa4cc962a62f27b4d1a71f6b5567ab836e6dbfbbb1553eb269d11e12faf9e36af6c489c33b54fd89dab99bfe81a563158b704877f0628d6f5bc5a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip) + + SIZE: 19911423 bytes + SHA1: ec6870b39125238d8d57d642225592896ed3b6d9 + SHA256: ffa42eeff928624a05dc7ad39426c855c6e9a757417f17b6fe9e54664ec91012 + SHA512: c85255a7f43c7df2fb11be4f9aa96e2ae70a94d3e963ccff4d8c1349ad6d455d9a436812efb24c91e451e68b8f81e5d335c6d5811b2a0e945a7070c305054434 + +## 發布記 + +感謝幫助發布本版的所有人。 + +Ruby 2.3 的維護,包含此次發布,都是基於 Ruby 協會的『 Ruby 穩定版協議』。 diff --git a/zh_tw/news/_posts/2018-03-28-ruby-2-4-4-released.md b/zh_tw/news/_posts/2018-03-28-ruby-2-4-4-released.md new file mode 100644 index 0000000000..5b713a7bcd --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Ruby 2.4.4 發布" +author: "nagachika" +translator: "Juanito Fatas" +date: 2018-03-28 17:10:00 +0000 +lang: zh_tw +--- + +Ruby 2.4.4 已發布。本發行版包含錯誤修正及安全性更新。 + +* [CVE-2017-17742: WEBrick HTTP 響應切分](/zh_tw/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Tempfile 與 Tmpdir 肆意建立檔案與目錄](/zh_tw/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: WEBrick 巨大請求造成的阻斷服務](/zh_tw/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: String#unpack 緩衝區溢位](/zh_tw/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer 與 UNIXSocket 可傳入 NUL 字元肆意建立 socket](/zh_tw/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir 非預期的目錄遍歷](/zh_tw/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems 存在多個安全性風險](/zh_tw/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +此外還有許多錯誤修正,詳見 [commit logs](https://github.com/ruby/ruby/compare/v2_4_3...v2_4_4) 來進一步了解。 + +## 下載 + +* + + SIZE: 12659705 bytes + SHA1: 1cc548ba3eb821e29ab92ac13e1d5c7bf23b1526 + SHA256: 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1 + SHA512: ae632852a5f413561d8134e9ef3bb82adb37317696dd293ef92cb76709ecd45718f14116ecce35b12f1c2dd53ccae8dabc7a924a270072b697512d11f4922347 + +* + + SIZE: 14225338 bytes + SHA1: ec82b0d53bd0adad9b19e6b45e44d54e9ec3f10c + SHA256: 254f1c1a79e4cc814d1e7320bc5bdd995dc57e08727d30a767664619a9c8ae5a + SHA512: fa1f6d3a4856046d4f9c3e652be225ae67f3e9ff0d117b6ed327d58cfb717fb9b1ce81d06a3302e486e7da0b5f67b16341666ceb02a554a428d221d008263ed8 + +* + + SIZE: 10049304 bytes + SHA1: 0eac83a0818e1d6bc661abd9f90457cff8868cff + SHA256: 1d0034071d675193ca769f64c91827e5f54cb3a7962316a41d5217c7bc6949f0 + SHA512: 4dc112a149273d4221484ccbf1260c6c5fcad7e0a6e4bc91e4ef69cbc093d3191f7abd71420f80d680f8ea5d111e6803ba2af32166aa501913639e6d5696fde0 + +* + + SIZE: 15685143 bytes + SHA1: 4ac11e6915c168a235b854014aa2a0d540cabd68 + SHA256: d0ca0561be0045f2e094f2ba94f1585e66e9c1e91fe6de3f3035f4d67dce7650 + SHA512: 79b655fda332d44097e108a76c4ff74f16930cd3ef3951c7988df325781aa0b3e724697107d964735f31a2457a835f08fa72c4eadd5ef7d3ccc1e6c9185f37e3 + +## 發布記 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈。 + +在此感謝他們。 diff --git a/zh_tw/news/_posts/2018-03-28-ruby-2-5-1-released.md b/zh_tw/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..bba3e7d2e4 --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Ruby 2.5.1 發布" +author: "naruse" +translator: "Juanito Fatas" +date: 2018-03-28 17:20:00 +0000 +lang: zh_tw +--- + +Ruby 2.5.1 已發布。本發行版包含錯誤修正及安全性更新。 + +* [CVE-2017-17742: WEBrick HTTP 響應切分](/zh_tw/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Tempfile 與 Tmpdir 肆意建立檔案與目錄](/zh_tw/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: WEBrick 巨大請求造成的阻斷服務](/zh_tw/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: String#unpack 緩衝區溢位](/zh_tw/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer 與 UNIXSocket 可傳入 NUL 字元肆意建立 socket](/zh_tw/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir 非預期的目錄遍歷](/zh_tw/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems 存在多個安全性風險](/zh_tw/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +此外還有許多錯誤修正,詳見 [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1) 來進一步了解。 + +## 下載 + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## 發布記 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈。 + +在此感謝他們。 diff --git a/zh_tw/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/zh_tw/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md new file mode 100644 index 0000000000..d0a0bb7c3d --- /dev/null +++ b/zh_tw/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -0,0 +1,36 @@ +--- +layout: news_post +title: "CVE-2018-6914: Tempfile 與 Tmpdir 肆意建立檔案與目錄" +author: "usa" +translator: "Juanito Fatas" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_tw +--- + +Ruby 內建的 tmpdir 函式庫存在非預期的目錄建立風險。Ruby 內建的 tmpfile 函式庫內部用了 tmpdir,因此也存在檔案建立存在安全性風險。 + +此風險的 CVE 識別號為 [CVE-2018-6914](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6914)。 + +## 細節 + +tmpdir 函式庫的 `Dir.mktmpdir` 方法第一個參數接受目錄的前綴與後綴。前綴可包含任何相對目錄 `"../"`,所以此方法可以在任何地方建立目錄。若腳本接受外來參數作為前綴,目標路徑或 ruby 進程的權限不夠安全,則攻擊者可以在任何目錄下建立檔案或目錄。 + +所有使用受影響版本的使用者應立即升級。 + +## 受影響版本 + +* Ruby 2.2 系列: 2.2.9 以及之前的版本 +* Ruby 2.3 系列: 2.3.6 以及之前的版本 +* Ruby 2.4 系列: 2.4.3 以及之前的版本 +* Ruby 2.5 系列: 2.5.0 以及之前的版本 +* Ruby 2.6 系列: 2.6.0-preview1 +* trunk revision r62990 之前的版本 + +## 致謝 + +感謝 [ooooooo_q](https://hackerone.com/ooooooo_q) 回報此問題。 + +## 歷史 + +* 初次發佈於 2018-03-28 14:00:00 (UTC) From 94be2ab1cba3de6423ecc370a9b1eee7e1da8fd9 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 31 Mar 2018 01:49:21 +0900 Subject: [PATCH 0060/2563] Translate 2018-03-28 news (ko) (#1766) * [ko] Translate 2018-03-28 news * Apply reviews --- ...-buffer-under-read-unpack-cve-2018-8778.md | 37 +++++++++++ ...nse-splitting-in-webrick-cve-2017-17742.md | 35 ++++++++++ ...ge-request-dos-in-webrick-cve-2018-8777.md | 35 ++++++++++ ...-28-poisoned-nul-byte-dir-cve-2018-8780.md | 37 +++++++++++ ...soned-nul-byte-unixsocket-cve-2018-8779.md | 40 +++++++++++ .../_posts/2018-03-28-ruby-2-2-10-released.md | 60 +++++++++++++++++ .../_posts/2018-03-28-ruby-2-3-7-released.md | 66 +++++++++++++++++++ .../_posts/2018-03-28-ruby-2-4-4-released.md | 59 +++++++++++++++++ .../_posts/2018-03-28-ruby-2-5-1-released.md | 59 +++++++++++++++++ ...-with-directory-traversal-cve-2018-6914.md | 38 +++++++++++ 10 files changed, 466 insertions(+) create mode 100644 ko/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md create mode 100644 ko/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md create mode 100644 ko/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md create mode 100644 ko/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md create mode 100644 ko/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md create mode 100644 ko/news/_posts/2018-03-28-ruby-2-2-10-released.md create mode 100644 ko/news/_posts/2018-03-28-ruby-2-3-7-released.md create mode 100644 ko/news/_posts/2018-03-28-ruby-2-4-4-released.md create mode 100644 ko/news/_posts/2018-03-28-ruby-2-5-1-released.md create mode 100644 ko/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md diff --git a/ko/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/ko/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md new file mode 100644 index 0000000000..f807beab7b --- /dev/null +++ b/ko/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -0,0 +1,37 @@ +--- +layout: news_post +title: "CVE-2018-8778: String#unpack의 범위 외 읽기 취약점" +author: "usa" +translator: "shia" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ko +--- + +루비의 `String#unpack` 메소드에서 공격자가 배열 범위 바깥을 읽을 수 있는 취약점이 발견되었습니다. +이 취약점은 CVE 아이디 [CVE-2018-8778](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8778)로 할당되었습니다. + +## 세부 내용 + +`String#unpack`은 인수로 포맷 식별자를 받으며, 식별자 `@`를 사용해 지정한 위치의 데이터를 읽어올 수 있습니다. +이때 `@`와 함께 커다란 숫자를 넘겨주는 경우, 그 숫자는 음수로 취급되어 문자열 범위 외의 데이터에 접근하는 것이 가능해집니다. +그러므로 외부 입력을 `String#unpack`의 인수로 지정하는 경우, 공격자는 힙 상의 데이터를 읽을 수 있습니다. + +해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. + +## 해당 버전 + +* 루비 2.2 버전대: 2.2.9 이하 +* 루비 2.3 버전대: 2.3.6 이하 +* 루비 2.4 버전대: 2.4.3 이하 +* 루비 2.5 버전대: 2.5.0 이하 +* 루비 2.6 버전대: 2.6.0-preview1 +* 리비전 62992 이전의 트렁크 + +## 도움을 준 사람 + +이 문제는 [aerodudrizzt](https://hackerone.com/aerodudrizzt)가 보고했습니다. + +## 수정 이력 + +* 2018-03-28 23:00:00 (KST) 최초 공개 diff --git a/ko/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/ko/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md new file mode 100644 index 0000000000..8ebf8fca29 --- /dev/null +++ b/ko/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2017-17742: WEBrick의 HTTP 응답 위장 취약점" +author: "usa" +translator: "shia" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ko +--- + +루비에 포함된 WEBrick에서 공격자가 가짜 HTTP 응답을 생성할 수 있는 취약점이 발견되었습니다. +이 취약점은 CVE 아이디 [CVE-2017-17742](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17742)로 할당되었습니다. + +## 세부 내용 + +WEBrick에서 외부의 입력을 받아 변경없이 그대로 HTTP 응답의 일부로 사용하면, 공격자는 개행 문자를 사용해 마치 HTTP 응답 헤더가 거기에서 종료된 것처럼 속이고, 그 이후에 임의의 HTTP 응답을 주입하여 이용자에게 악의적인 정보를 보여줄 수 있습니다. + +해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. + +## 해당 버전 + +* 루비 2.2 버전대: 2.2.9 이하 +* 루비 2.3 버전대: 2.3.6 이하 +* 루비 2.4 버전대: 2.4.3 이하 +* 루비 2.5 버전대: 2.5.0 이하 +* 루비 2.6 버전대: 2.6.0-preview1 +* 리비전 62968 이전의 트렁크 + +## 도움을 준 사람 + +이 문제는 Aaron Patterson 이 보고했습니다. + +## 수정 이력 + +* 2018-03-28 23:00:00 (KST) 최초 공개 diff --git a/ko/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/ko/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md new file mode 100644 index 0000000000..5874547bcd --- /dev/null +++ b/ko/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2018-8777: WEBrick의 커다란 요청을 통한 서비스 거부 공격 취약점" +author: "usa" +translator: "shia" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ko +--- + +루비에 내장된 WEBrick에서 공격자가 커다란 요청을 전송하는 것으로 메모리를 소비하도록 만들어 서비스 거부 공격을 가능하게 하는 취약점이 발견되었습니다. +이 취약점은 CVE 아이디 [CVE-2018-8777](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8777)로 할당되었습니다. + +## 세부 내용 + +공격자가 커다란 HTTP 헤더를 포함하는 요청을 보내는 경우, WEBrick은 그 요청을 메모리 상에서 처리하려고 시도하기 때문에 메모리를 소비하여 서비스 거부 공격을 가능하게 합니다. + +해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. + +## 해당 버전 + +* 루비 2.2 버전대: 2.2.9 이하 +* 루비 2.3 버전대: 2.3.6 이하 +* 루비 2.4 버전대: 2.4.3 이하 +* 루비 2.5 버전대: 2.5.0 이하 +* 루비 2.6 버전대: 2.6.0-preview1 +* 리비전 62965 이전의 트렁크 + +## 도움을 준 사람 + +이 문제는 Eric Wong 이 보고했습니다. + +## 수정 이력 + +* 2018-03-28 23:00:00 (KST) 최초 공개 diff --git a/ko/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/ko/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md new file mode 100644 index 0000000000..1d1a1e1895 --- /dev/null +++ b/ko/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -0,0 +1,37 @@ +--- +layout: news_post +title: "CVE-2018-8780: Dir에서 NUL 문자 주입을 통한 의도하지 않은 디렉터리 접근 취약점" +author: "usa" +translator: "shia" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ko +--- + +`Dir`의 몇몇 메소드에서 디렉터리 명으로 넘겨진 인수 문자열에 NUL 문자를 삽입하는 것으로, 의도하지 않은 디렉터리에 접근할 수 있는 취약점이 발견되었습니다. +이 취약점은 CVE 아이디 [CVE-2018-8780](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8780)으로 할당되었습니다. + +## 세부 내용 + +`Dir.open`, `Dir.new`, `Dir.entries`, `Dir.empty?`는 각자의 인수로 대상 디렉터리의 경로를 지정합니다. +만약 인수가 NUL(`\0`) 문자를 포함하는 경우, 이 메소드들은 NUL 문자 직전까지를 경로명으로 인식합니다. +그러므로 만약 외부 입력을 이 메소드들의 인수로 사용하는 경우, 공격자는 의도하지 않은 디렉터리에 접근할 수 있습니다. + +해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. + +## 해당 버전 + +* 루비 2.2 버전대: 2.2.9 이하 +* 루비 2.3 버전대: 2.3.6 이하 +* 루비 2.4 버전대: 2.4.3 이하 +* 루비 2.5 버전대: 2.5.0 이하 +* 루비 2.6 버전대: 2.6.0-preview1 +* 리비전 62989 이전의 트렁크 + +## 도움을 준 사람 + +이 문제는 [ooooooo_q](https://hackerone.com/ooooooo_q)가 보고했습니다. + +## 수정 이력 + +* 2018-03-28 23:00:00 (KST) 최초 공개 diff --git a/ko/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/ko/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md new file mode 100644 index 0000000000..10f1209533 --- /dev/null +++ b/ko/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -0,0 +1,40 @@ +--- +layout: news_post +title: "CVE-2018-8779: UNIXServer, UNIXSocket에서 NUL 문자 삽입을 통한 의도치 않은 소켓 생성 취약점" +author: "usa" +translator: "shia" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ko +--- + +루비에 내장되어 있는 소켓 라이브러리의 `UNIXServer.open` 메소드를 사용하여 의도치 않은 소켓을 생성할 수 있는 취약점이 발견되었습니다. +그리고 `UNIXSocket.open` 메소드에서는 의도치 않은 소켓 접근을 할 수 있는 취약점이 발견되었습니다. +이 취약점은 CVE 아이디 [CVE-2018-8779](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779)로 할당되었습니다. + +## 세부 내용 + +`UNIXServer.open`은 첫 번째 매개변수로 생성할 소켓의 경로를 넘겨받습니다. +만약 이 경로가 NUL(`\0`) 문자를 포함하는 경우, 이 메소드는 NUL 문자 직전까지를 경로명으로 인식합니다. +그러므로 만약 외부 입력을 이 메소드의 인수로 사용하는 경우, 공격자는 의도하지 않은 경로에 소켓 파일을 생성할 수 있습니다. +그리고 `UNIXSocket.open`도 마찬가지로 첫 번째 매개변수로 생성할 소켓의 경로를 받으며, `UNIXServer.open`과 마찬가지로 NUL 문자 확인을 하지 않습니다. +그러므로 만약 외부 입력을 이 메소드의 인수로 사용하는 경우, 공격자는 의도하지 않은 경로의 소켓 파일에 접근할 수 있습니다. + +해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. + +## 해당 버전 + +* 루비 2.2 버전대: 2.2.9 이하 +* 루비 2.3 버전대: 2.3.6 이하 +* 루비 2.4 버전대: 2.4.3 이하 +* 루비 2.5 버전대: 2.5.0 이하 +* 루비 2.6 버전대: 2.6.0-preview1 +* 리비전 62991 이전의 트렁크 + +## 도움을 준 사람 + +이 문제는 [ooooooo_q](https://hackerone.com/ooooooo_q)가 보고했습니다. + +## 수정 이력 + +* 2018-03-28 23:00:00 (KST) 최초 공개 diff --git a/ko/news/_posts/2018-03-28-ruby-2-2-10-released.md b/ko/news/_posts/2018-03-28-ruby-2-2-10-released.md new file mode 100644 index 0000000000..adfe747990 --- /dev/null +++ b/ko/news/_posts/2018-03-28-ruby-2-2-10-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "루비 2.2.10 릴리스" +author: "usa" +translator: "shia" +date: 2018-03-28 17:00:00 +0000 +lang: ko +--- + +루비 2.2.10이 릴리스 되었습니다. +이번 릴리스는 다수의 보안 수정을 포함합니다. +세부 내용은 아래 주제를 확인해주세요. + +* [CVE-2017-17742: WEBrick의 HTTP 응답 위장 취약점](/ko/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: WEBrick의 커다란 요청을 통한 서비스 거부 공격 취약점](/ko/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: tempfile, tmpdir에서 디렉터리 순회를 동반하는 의도하지 않은 파일, 또는 디렉터리 생성 취약점](/ko/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: String#unpack의 범위 외 읽기 취약점](/ko/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer, UNIXSocket에서 NUL 문자 삽입을 통한 의도치 않은 소켓 생성 취약점](/ko/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir에서 NUL 문자 주입을 통한 의도하지 않은 디렉터리 접근 취약점](/ko/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems의 취약점 다수 발견](/ko/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +루비 2.2는 현재 보안 유지보수 단계이고, 기한은 2018년 3월입니다. +이 날 이후 루비 2.2의 유지보수는 종료됩니다. +그러므로 이 릴리스는 루비 2.2의 마지막 릴리스가 될 것입니다. +루비 2.2.10이 심각한 문제를 가지고 있지 않는 이상 루비 2.2의 추가 릴리스는 없을 것입니다. +루비 2.5 등의 새 루비 버전으로 업그레이드할 계획을 세우길 바랍니다. + +## 다운로드 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2) + + SIZE: 13365461 bytes + SHA1: 72ee1dcfd96199d2c3092b77db7a7f439c0abd08 + SHA256: a54204d2728283c9eff0cf81d654f245fa5b3447d0824f1a6bc3b2c5c827381e + SHA512: f8ec96c2a5f4ecf22052ee0b1029989ded52d7bf5d41be24fef67e732e76f72119302240bca08f0547510a9cd29e941a32e263cad9c8a2bf80023d6bc97b2373 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz) + + SIZE: 16694179 bytes + SHA1: b0207c861f3fa41cbe4909ecb89bd2fcac81fe7c + SHA256: cd51019eb9d9c786d6cb178c37f6812d8a41d6914a1edaf0050c051c75d7c358 + SHA512: 051124922240d2e20e74903b9c629fa897279072d2aa9b0a4e3a02331b843fa9c97c16e7073d6faec1b9f2024c3a7e36346014c30eee256f0715c5de226b5db8 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz) + + SIZE: 10508612 bytes + SHA1: c46737f81df819c3d7423df5c644431b3fcb8fee + SHA256: bf77bcb7e6666ccae8d0882ea12b05f382f963f0a9a5285a328760c06a9ab650 + SHA512: 1f35458f2b1c334e64aecf42cd1df3b223fef119b6ad23394285d9f2e72da26b3ba5418950694c4a8c0b4afc43672f78459f2f7281a595cff0967eb239662ae4 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip) + + SIZE: 18540424 bytes + SHA1: 0f4b9c6695d000cb456fe8b89f8bf6d42fb95069 + SHA256: 6933eb989afb1b916c438d8eeecff1cfb0a6569c07e7190beca56b10b822207a + SHA512: dfaa9a76170b0eed9cb2bf41178f2193dd3428492413b1616aaabd67ec35b9b7705b422b0fdfe38b18a1800bbce3ba161b53d229d307ea7f5c0269ef3d031980 + +## 릴리스 코멘트 + +취약점을 보고하고 고친 분들을 포함하여, 이 릴리스를 만드는 데 도움을 준 모든 분에게 감사합니다. diff --git a/ko/news/_posts/2018-03-28-ruby-2-3-7-released.md b/ko/news/_posts/2018-03-28-ruby-2-3-7-released.md new file mode 100644 index 0000000000..574a59b988 --- /dev/null +++ b/ko/news/_posts/2018-03-28-ruby-2-3-7-released.md @@ -0,0 +1,66 @@ +--- +layout: news_post +title: "루비 2.3.7 릴리스" +author: "usa" +translator: "shia" +date: 2018-03-28 17:00:00 +0000 +lang: ko +--- + +루비 2.3.7이 릴리스 되었습니다. + +이번 릴리스는 70여개의 버그 수정과 다수의 보안 수정을 포함합니다. +세부 내용은 아래 주제를 확인해주세요. + +* [CVE-2017-17742: WEBrick의 HTTP 응답 위장 취약점](/ko/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: WEBrick의 커다란 요청을 통한 서비스 거부 공격 취약점](/ko/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: tempfile, tmpdir에서 디렉터리 순회를 동반하는 의도하지 않은 파일, 또는 디렉터리 생성 취약점](/ko/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: String#unpack의 범위 외 읽기 취약점](/ko/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer, UNIXSocket에서 NUL 문자 삽입을 통한 의도치 않은 소켓 생성 취약점](/ko/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir에서 NUL 문자 주입을 통한 의도하지 않은 디렉터리 접근 취약점](/ko/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems의 취약점 다수 발견](/ko/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +[ChangeLog](http://svn.ruby-lang.org/repos/ruby/tags/v2_3_7/ChangeLog)를 확인해주세요. + +이번 릴리스를 마지막으로 루비 2.3의 통상적인 유지보수 단계는 끝나게 되며, +보안 유지보수 단계가 시작됩니다. +다시 말하면, 2.3.7 릴리스 이후에는 버그 픽스에 대한 백포트는 없을 것이며 보안 패치만 이루어지게 되는 것입니다. +보안 유지보수 기간은 1년으로 예정되어 있습니다. +이 기간이 끝나면 공식적인 루비 2.3 유지보수가 종료됩니다. +그러므로 루비 2.5나 2.4로 업그레이드할 계획을 세우시길 추천합니다. + +## 다운로드 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2) + + SIZE: 14421177 bytes + SHA1: 3bb88965405da5e4de2432eeb445fffa8a66fb33 + SHA256: 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e + SHA512: e72754f7703f0706c4b0bccd053035536053451fe069a55427984cc0bc5692b86bd51c243c5f62f78527c66b08300d2e4aa19b73e6ded13d6020aa2450e66a7d + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz) + + SIZE: 17859100 bytes + SHA1: 540996fec64984ab6099e34d2f5820b14904f15a + SHA256: 35cd349cddf78e4a0640d28ec8c7e88a2ae0db51ebd8926cd232bb70db2c7d7f + SHA512: 1ceccf00981d6d60e7587e89a04cc028f976950313ee445db5afd03e323472d3e69a35423733b24f9cbd9729f034cf80d2233b5c159764839f5bee4ca7052fe0 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz) + + SIZE: 11438124 bytes + SHA1: c489248730cbce7721edd3e97de81e68eec938b2 + SHA256: c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb + SHA512: fd91c8db3d3aa4cc962a62f27b4d1a71f6b5567ab836e6dbfbbb1553eb269d11e12faf9e36af6c489c33b54fd89dab99bfe81a563158b704877f0628d6f5bc5a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip) + + SIZE: 19911423 bytes + SHA1: ec6870b39125238d8d57d642225592896ed3b6d9 + SHA256: ffa42eeff928624a05dc7ad39426c855c6e9a757417f17b6fe9e54664ec91012 + SHA512: c85255a7f43c7df2fb11be4f9aa96e2ae70a94d3e963ccff4d8c1349ad6d455d9a436812efb24c91e451e68b8f81e5d335c6d5811b2a0e945a7070c305054434 + +## 릴리스 코멘트 + +이 릴리스를 만드는 데 도움을 준 모든 분에게 감사합니다. + +이 릴리스를 포함한 루비 2.3의 유지보수는 [Ruby Association](http://www.ruby.or.jp/)의 "루비 안정 버전에 관한 협의"에 기반해 이루어집니다. diff --git a/ko/news/_posts/2018-03-28-ruby-2-4-4-released.md b/ko/news/_posts/2018-03-28-ruby-2-4-4-released.md new file mode 100644 index 0000000000..f8102fe435 --- /dev/null +++ b/ko/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -0,0 +1,59 @@ +--- +layout: news_post +title: "루비 2.4.4 릴리스" +author: "nagachika" +translator: "shia" +date: 2018-03-28 17:10:00 +0000 +lang: ko +--- + +루비 2.4.4가 릴리스 되었습니다. + +이번 릴리스는 몇몇 버그 수정과 보안 취약점 수정을 포함합니다. + +* [CVE-2017-17742: WEBrick의 HTTP 응답 위장 취약점](/ko/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: WEBrick의 커다란 요청을 통한 서비스 거부 공격 취약점](/ko/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: tempfile, tmpdir에서 디렉터리 순회를 동반하는 의도하지 않은 파일, 또는 디렉터리 생성 취약점](/ko/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: String#unpack의 범위 외 읽기 취약점](/ko/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer, UNIXSocket에서 NUL 문자 삽입을 통한 의도치 않은 소켓 생성 취약점](/ko/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir에서 NUL 문자 주입을 통한 의도하지 않은 디렉터리 접근 취약점](/ko/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems의 취약점 다수 발견](/ko/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +이번 릴리스는 몇몇 버그 수정 또한 포함됩니다. +[커밋 로그](https://github.com/ruby/ruby/compare/v2_4_3...v2_4_4)를 확인해주세요. + +## 다운로드 + +* + + SIZE: 12659705 bytes + SHA1: 1cc548ba3eb821e29ab92ac13e1d5c7bf23b1526 + SHA256: 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1 + SHA512: ae632852a5f413561d8134e9ef3bb82adb37317696dd293ef92cb76709ecd45718f14116ecce35b12f1c2dd53ccae8dabc7a924a270072b697512d11f4922347 + +* + + SIZE: 14225338 bytes + SHA1: ec82b0d53bd0adad9b19e6b45e44d54e9ec3f10c + SHA256: 254f1c1a79e4cc814d1e7320bc5bdd995dc57e08727d30a767664619a9c8ae5a + SHA512: fa1f6d3a4856046d4f9c3e652be225ae67f3e9ff0d117b6ed327d58cfb717fb9b1ce81d06a3302e486e7da0b5f67b16341666ceb02a554a428d221d008263ed8 + +* + + SIZE: 10049304 bytes + SHA1: 0eac83a0818e1d6bc661abd9f90457cff8868cff + SHA256: 1d0034071d675193ca769f64c91827e5f54cb3a7962316a41d5217c7bc6949f0 + SHA512: 4dc112a149273d4221484ccbf1260c6c5fcad7e0a6e4bc91e4ef69cbc093d3191f7abd71420f80d680f8ea5d111e6803ba2af32166aa501913639e6d5696fde0 + +* + + SIZE: 15685143 bytes + SHA1: 4ac11e6915c168a235b854014aa2a0d540cabd68 + SHA256: d0ca0561be0045f2e094f2ba94f1585e66e9c1e91fe6de3f3035f4d67dce7650 + SHA512: 79b655fda332d44097e108a76c4ff74f16930cd3ef3951c7988df325781aa0b3e724697107d964735f31a2457a835f08fa72c4eadd5ef7d3ccc1e6c9185f37e3 + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 신고해 준 사용자들이 이 릴리스를 만드는 데 도움을 +주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2018-03-28-ruby-2-5-1-released.md b/ko/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..aa432a5949 --- /dev/null +++ b/ko/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,59 @@ +--- +layout: news_post +title: "루비 2.5.1 릴리스" +author: "naruse" +translator: "shia" +date: 2018-03-28 17:20:00 +0000 +lang: ko +--- + +루비 2.5.1이 릴리스 되었습니다. + +이번 릴리스는 몇몇 버그 수정과 보안 수정을 포함합니다. + +* [CVE-2017-17742: WEBrick의 HTTP 응답 위장 취약점](/ko/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: WEBrick의 커다란 요청을 통한 서비스 거부 공격 취약점](/ko/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: tempfile, tmpdir에서 디렉터리 순회를 동반하는 의도하지 않은 파일, 또는 디렉터리 생성 취약점](/ko/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: String#unpack의 범위 외 읽기 취약점](/ko/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer, UNIXSocket에서 NUL 문자 삽입을 통한 의도치 않은 소켓 생성 취약점](/ko/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir에서 NUL 문자 주입을 통한 의도하지 않은 디렉터리 접근 취약점](/ko/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems의 취약점 다수 발견](/ko/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +이번 릴리스는 몇몇 버그 수정 또한 포함됩니다. +[커밋 로그](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1)를 확인해주세요. + +## 다운로드 + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 신고해 준 사용자들이 이 릴리스를 만드는 데 도움을 +주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/ko/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md new file mode 100644 index 0000000000..9d54bdd065 --- /dev/null +++ b/ko/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2018-6914: tempfile, tmpdir에서 디렉터리 순회를 동반하는 의도하지 않은 파일, 또는 디렉터리 생성 취약점" +author: "usa" +translator: "shia" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: ko +--- + +루비에 내장된 라이브러리인 tmpdir에서 의도하지 않은 디렉터리를 생성하는 취약점이 발견되었습니다. +또한 내부에서 tmpdir를 사용하는 루비에 내장된 tempfile 라이브러리에서도 의도하지 않은 파일 생성 취약점이 발견되었습니다. +이 취약점은 CVE 아이디 [CVE-2018-6914](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6914)로 할당되었습니다. + +## 세부 내용 + +tmpdir 라이브러리에 의해 추가되는 `Dir.mktmpdir` 메소드는 생성할 디렉터리명의 접두사나 접미사를 첫 번째 매개변수로 받습니다. +접두사는 `"../"`와 같은 상대 경로를 포함할 수 있기 때문에 임의의 디렉터리를 대상으로 사용할 수 있습니다. +그러므로 외부 입력을 접두사로 사용하는 경우, 대상 디렉터리가 부적절한 권한을 가지고 있거나, 루비 프로세스가 부적절한 권한을 가지고 있다면 공격자는 임의의 디렉터리에 디렉터리나 파일을 생성할 수 있습니다. + +해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. + +## 해당 버전 + +* 루비 2.2 버전대: 2.2.9 이하 +* 루비 2.3 버전대: 2.3.6 이하 +* 루비 2.4 버전대: 2.4.3 이하 +* 루비 2.5 버전대: 2.5.0 이하 +* 루비 2.6 버전대: 2.6.0-preview1 +* 리비전 62990 이전의 트렁크 + +## 도움을 준 사람 + +이 문제는 [ooooooo_q](https://hackerone.com/ooooooo_q)가 보고했습니다. + +## 수정 이력 + +* 2018-03-28 23:00:00 (KST) 최초 공개 From 6b8a7eef8a0ab3592f5841341f943ebbfe95d2c0 Mon Sep 17 00:00:00 2001 From: willnet Date: Mon, 2 Apr 2018 22:34:21 +0900 Subject: [PATCH 0061/2563] Fix url of maglev it seems to be changed to github pages. --- bg/about/index.md | 2 +- de/about/index.md | 2 +- en/about/index.md | 2 +- id/about/index.md | 2 +- ja/about/index.md | 2 +- ko/about/index.md | 2 +- pl/about/index.md | 2 +- pt/about/index.md | 2 +- ru/about/index.md | 2 +- zh_cn/about/index.md | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bg/about/index.md b/bg/about/index.md index bb8670cb62..e36b972be4 100644 --- a/bg/about/index.md +++ b/bg/about/index.md @@ -214,6 +214,6 @@ Ruby притежава множество други черти, като ня [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/de/about/index.md b/de/about/index.md index 50471bbfaa..8ba16ace43 100644 --- a/de/about/index.md +++ b/de/about/index.md @@ -249,6 +249,6 @@ November 2001. [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/en/about/index.md b/en/about/index.md index 5c008242c6..da2b35c6f8 100644 --- a/en/about/index.md +++ b/en/about/index.md @@ -233,6 +233,6 @@ Here’s a list: [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/id/about/index.md b/id/about/index.md index 19640393c0..f245c9ed84 100644 --- a/id/about/index.md +++ b/id/about/index.md @@ -251,6 +251,6 @@ di Ruby, dalam Bahasa Inggris), 22 Desember 2003. [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/ja/about/index.md b/ja/about/index.md index fcb1d5e7a8..a8599f4038 100644 --- a/ja/about/index.md +++ b/ja/about/index.md @@ -201,6 +201,6 @@ MRI以外のRuby処理系には以下のようなものがあります。 [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/ko/about/index.md b/ko/about/index.md index 87014fefb8..e0b23e4712 100644 --- a/ko/about/index.md +++ b/ko/about/index.md @@ -186,6 +186,6 @@ MRI가 지원하지 않는 특별한 기능을 가지거나 합니다. [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/pl/about/index.md b/pl/about/index.md index 45a5e5268a..25aab72d2b 100644 --- a/pl/about/index.md +++ b/pl/about/index.md @@ -237,6 +237,6 @@ Tu jest lista: [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/pt/about/index.md b/pt/about/index.md index 63706a5dfd..b327714640 100644 --- a/pt/about/index.md +++ b/pt/about/index.md @@ -249,6 +249,6 @@ Nov. 2001. [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/ru/about/index.md b/ru/about/index.md index b94ef45c82..58fea81d7f 100644 --- a/ru/about/index.md +++ b/ru/about/index.md @@ -245,6 +245,6 @@ Ruby как язык имеет несколько разных имплемен [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org diff --git a/zh_cn/about/index.md b/zh_cn/about/index.md index 710c715c7a..30b67d9d7f 100644 --- a/zh_cn/about/index.md +++ b/zh_cn/about/index.md @@ -152,6 +152,6 @@ Ruby 还有其他众多特性,下面列举一些: [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net -[maglev]: http://ruby.gemstone.com +[maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org From d2b4869282784c05c18983b79715bea16d10b362 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 4 Apr 2018 10:50:57 +0200 Subject: [PATCH 0062/2563] Update maintenance status for Ruby 2.3 branch --- _data/branches.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/branches.yml b/_data/branches.yml index 7f5dccaba0..d1e1366449 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -24,7 +24,7 @@ eol_date: - name: 2.3 - status: normal maintenance + status: security maintenance date: 2015-12-25 eol_date: scheduled for 2019-03-31 From 56a637af576b3ee7abd5c99a1428c0cdcdb352c3 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Wed, 11 Apr 2018 11:01:18 +0900 Subject: [PATCH 0063/2563] update bundles and bump ruby version to 2.5.1 --- Gemfile | 2 +- Gemfile.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Gemfile b/Gemfile index dca00a88e2..5d5bca93f2 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source "https://rubygems.org" -ruby ENV['CUSTOM_RUBY_VERSION'] || '~> 2.5.0' +ruby ENV['CUSTOM_RUBY_VERSION'] || '~> 2.5.1' gem 'rake' gem 'jekyll', '~> 3.0' diff --git a/Gemfile.lock b/Gemfile.lock index f47d5470b1..fb1086f2ab 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,17 +5,17 @@ GEM public_suffix (>= 2.0.2, < 4.0) colorator (1.1.0) concurrent-ruby (1.0.5) - crass (1.0.3) + crass (1.0.4) em-websocket (0.5.1) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) eventmachine (1.2.5) - ffi (1.9.21) + ffi (1.9.23) forwardable-extended (2.6.0) http_parser.rb (0.6.0) i18n (0.9.5) concurrent-ruby (~> 1.0) - jekyll (3.7.2) + jekyll (3.7.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -58,19 +58,19 @@ GEM rack-ssl (1.4.1) rack raindrops (0.19.0) - rake (12.3.0) - rb-fsevent (0.10.2) + rake (12.3.1) + rb-fsevent (0.10.3) rb-inotify (0.9.10) ffi (>= 0.5.0, < 2) rouge (1.11.1) ruby_dep (1.5.0) safe_yaml (1.0.4) - sass (3.5.5) + sass (3.5.6) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - slop (4.6.1) + slop (4.6.2) spidr (0.6.0) nokogiri (~> 1.3) tidy_ffi (0.1.6) @@ -78,7 +78,7 @@ GEM unicorn (5.4.0) kgio (~> 2.6) raindrops (~> 0.7) - validate-website (1.8.0) + validate-website (1.8.1) crass (~> 1) paint (~> 1) slop (~> 4.2) @@ -105,7 +105,7 @@ DEPENDENCIES validate-website (~> 1.6) RUBY VERSION - ruby 2.5.0p-1 + ruby 2.5.1p57 BUNDLED WITH 1.16.1 From 980da1c15f6c3ca011877a520fdc9f57dc553120 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Wed, 11 Apr 2018 11:09:59 +0900 Subject: [PATCH 0064/2563] update ruby on travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index da518d7e01..2aed3d2244 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: ruby sudo: false -rvm: 2.5.0 +rvm: 2.5.1 cache: bundler: true before_script: From 52f6648ae3ed02658f111141ec6fdbbd02315428 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Wed, 11 Apr 2018 11:40:52 +0900 Subject: [PATCH 0065/2563] workaround for 'bundler/dep_proxy' error. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 2aed3d2244..2d702040bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ cache: before_script: # https://github.com/travis-ci/travis-ci/issues/8978 - gem update --system + - gem install bundler -v 1.16.1 script: bundle exec rake ci # Notifications, used by our Gitter channel. notifications: From 4475995ef67c1aecc16210fd1790bdb9f12c20f5 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 20 Mar 2018 20:44:32 +0700 Subject: [PATCH 0066/2563] Translate Ruby 2.6.0-preview1 released news (id) --- ...2018-02-24-ruby-2-6-0-preview1-released.md | 123 ++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 id/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md diff --git a/id/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/id/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md new file mode 100644 index 0000000000..375340f1bc --- /dev/null +++ b/id/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -0,0 +1,123 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview1 Rilis" +author: "naruse" +translator: "meisyal" +date: 2018-02-24 00:00:00 +0000 +lang: id +--- + +Kami dengan senang hati mengumumkan rilis dari Ruby 2.6.0-preview1. + +Ruby 2.6.0-preview1 adalah *preview* pertama menuju Ruby 2.6.0. +preview1 ini dirilis lebih awal daripada biasanya karena rilis ini mengandung +sebuah fitur baru yang penting, JIT. + +## JIT + +Ruby 2.6 memperkenalkan sebuah implementasi awal dari *compiler* JIT (Just-in-time). + +*Compiler* JIT bertujuan untuk memperbaiki performa dari program Ruby apapun +yang dieksekusi. Berbeda dengan JIT *compiler* biasanya pada bahasa pemrograman +lain, *compiler* JIT dari Ruby melakukan kompilasi JIT melalui sebuah jalan +unik, yang mencetak kode C ke sebuah *disk* dan mengeluarkan proses *compiler* +C untuk menghasilkan kode asli. +Lihat juga: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Bagaimana cara menggunakan: Tetapkan `--jit` pada *command line* atau `$RUBYOPT` +*environment variable*. Menetapkan `--jit-verbose=1` memperbolehkan untuk +mencetak informasi dasar dari kompilasi JIT yang berjalan. Lihat `ruby --help` +untuk pilihan lainnya. + +Tujuan utama dari rilis JIT ini adalah untuk menyediakan sebuah kesempatan untuk +mengecek jika ini berjalan di *platform* Anda dan menemukan risiko keamanan +sebelum rilis 2.6. Saat ini, *compiler* JIT didukung hanya ketika Ruby dibuat +oleh gcc atau clang dan *compiler* tersedia saat *runtime*. Jika sebaliknya, +Anda tidak dapat menggunakannya. + +Sampai versi 2.6.0-preview1, kami hanya menyiapkan infrastruktur untuk JIT dan +sangat sedikit optimasi yang diimplementasikan. Anda dapat mengukur beberapa +potensi perbaikan ke dalam mikro *benchmark* melalui rilis ini, tetapi +ini tidak siap untuk proses final *benchmark* performa dari *compiler* JIT-nya +Ruby, khususnya untuk program yang besar seperti aplikasi Rail. + +Kami akan mengimplementasikan *method inlining* di *compiler* JIT, yang mana +diharapkan meningkatkan performa Ruby secara signifikan. + +Begitu juga, kami sedang merencanakan untuk menambah *platform* yang didukung, +dan rencana selanjutnya adalah mendukung Visual Studio. + +Nantikan era baru dari performa Ruby. + +## Fitur Baru + +* Menambahkan `Random.bytes`. [Feature #4938] +* Menambahkan `Binding#source_location`. [Feature #14230] + + *Method* ini mengembalikan lokasi sumber *binding*, sebuah *array* dua elemen dari `__FILE__` dan `__LINE__`. Secara tradisional, informasi yang sama mungkin dapat diambil dengan `eval("[__FILE__, __LINE__]")`, tetapi kami sedang merencanakan untuk mengubah perilaku ini sehingga `Kernel#eval` mengabaikan sumber lokasi `binding` [Bug #4352]. Sehingga, pengguna menggunakan *method* baru yang dikenalkan daripada `Kernel#eval`. + +* Menambahkan opsi `:exception` agar membiarkan `Kernel.#system` menampilkan *error* daripada mengembalikan `false`. [Feature #14386] + +## Perbaikan performa + +* Mempercepat `Proc#call` karena kami tidak peduli dengan `$SAFE` lagi. + [Feature #14318] + + Dengan *benchmark* `lc_fizzbuzz` yang menggunakan `Proc#call` berkali-kali, + kita dapat mengukur x1.4 kemajuan [Bug #10212]. + +* Mempercepat `block.call` di mana `block` diterima parameter *block*. [Feature #14330] + + Ruby 2.5 memperbaiki performa *block passing*. [Feature #14045] + Selain itu, Ruby 2.6 memperbaiki performa dari pemanggilan *passed block*. + Dengan mikro *benchmark* kita dapat mengamati 2.6x kemajuan. + +## Perubahan penting lainnya sejak 2.5 + +* `$SAFE` adala sebuah proses *state* global dan kita dapat mengatur ke `0` lagi. [Feature #14250] + +* Menempatkan parameter `safe_level` ke `ERB.new` tidak berlaku lagi. Argumen + `trim_mode` dan `eoutvar` diubah menjadi argumen kata kunci. [Feature #14256] + +* Menggabungkan RubyGems 2.7.6 + +Lihat [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview1/NEWS) +atau [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) +untuk detail. + +Dengan perubahan tersebut, +[1115 berkas berubah, 23023 sisipan(+), 14748 terhapus(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview1) +sejak Ruby 2.5.0! + +Hari ini, 24 Februari, adalah ulang tahun Ruby ke-25. +Selamat ulang tahun Ruby, dan nikmati memprogram dengan Ruby 2.6.0-preview1! + +## Unduh + +* + + SIZE: 16082501 bytes + SHA1: 94b4a2f5f992dc9855364284e9c64316bf129c90 + SHA256: 2023c42676d9237481e1a97157d5e2ecc10db5e320d5b9cf872ec1d293265d61 + SHA512: 004696c4f087333ba7cb2285418dcce70f399966ae8fed817aab9759fd2d75beb088c4aeb294fcd4260112e8422f490cd4dbdfce402d73f96bb679b8bb3e1607 + +* + + SIZE: 19807007 bytes + SHA1: 24d76f67bf913348eca783a2ecf6f3faf37299ae + SHA256: 6c883927e80430cf07f2d90728d6c2c71164223f378a48ebf964d3b66319f623 + SHA512: 1e7f318cec1b7875fd9891df671078de7585b556695a2a85708483ddcacfd6e0b63b70ec2535e92ff981b4f72063721ed552df49688e066666fcd7ae520ae667 + +* + + SIZE: 14104578 bytes + SHA1: 9f0fb79643a4673a839b0c8496eccc6e1dbd022d + SHA256: 8bd6c373df6ee009441270a8b4f86413d101b8f88e8051c55ef62abffadce462 + SHA512: d9cb270529a97670d54f43a0236fab072714e715c39277dab70b7a1843ec818e6700e47e1384c7256f9e0ae41ab2c0b768a0de38a5ecf4f4fff5da6ef5ad4944 + +* + + SIZE: 11423984 bytes + SHA1: bbbc89d760cdaadbca3cbff587295864edeff0af + SHA256: 1d99139116e4e245ce543edb137b2a8873c26e9f0bde88d8cee6789617cc8d0e + SHA512: d12ff29778d8d940344619881b4d8247c2fb6b44ac2b2dbddb7078828e893cfac9a5a95b5588f0afdbed52bdb6dea95cff1b9ce3ad47dfa62209e97dab8810b6 From 3dcdb4bc472304202082360863544a9f7d152a13 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 27 Feb 2018 21:26:58 +0700 Subject: [PATCH 0067/2563] Translate 2018 Fukuoka Ruby Award Competition news (id) --- .../2017-12-27-fukuoka-ruby-award-2018.md | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 id/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md diff --git a/id/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md b/id/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md new file mode 100644 index 0000000000..b14d4df27d --- /dev/null +++ b/id/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md @@ -0,0 +1,76 @@ +--- +layout: news_post +title: "2018 Fukuoka Ruby Award Competition - Peserta akan dinilai oleh Matz" +author: "Fukuoka Ruby" +translator: "meisyal" +date: 2017-12-27 00:00:00 +0000 +lang: id +--- + +Penggemar Ruby terhormat, + +Pemerintah Fukuoka, Jepang, bersama dengan "Matz" Matsumoto ingin +mengundang Anda untuk mengikuti kompetisi Ruby berikut. Jika Anda pernah +mengembangkan sebuah program Ruby yang menarik, dianjurkan untuk mengikuti +kompetisi ini. + +2018 Fukuoka Ruby Award Competition - Hadiah Utama - 1 Juta Yen! + +Batas akhir masuk: 31 Januari 2018 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz dan sebuah grup dari panelis akan memilih pemenang kompetisi ini. +Hadiah utama dari kompetisi ini adalah 1 juta Yen. Hadiah pemenang sebelumnya +termasuk *Rhomobile* (USA) dan APEC *Climate Center* (Korea). + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +Program-program yang masuk dalam kompetisi tidak harus ditulis seluruhnya +dengan Ruby, tetapi harus mengambil kemudahan dari karakteristik unik yang +diberikan oleh Ruby. + +Proyek harus dikembangan atau diselesaikan selama 12 bulan untuk memenuhi +persyaratan. Silakan kunjungi laman Fukuoka berikut untuk detail lebih lanjut +atau pengajuan: + +[http://www.digitalfukuoka.jp/events/152](http://www.digitalfukuoka.jp/events/152) +atau +[http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc) + +Silakan kirim formulir pengajuan ke award@f-ruby.com + +Tahun ini, Fukuoka Ruby Award Competition memiliki hadiah spesial sebagai berikut: + +Pemenang *AWS Prize* akan menerima: + +* *Amazon Fire Tablet* (dapat berubah sewaktu-waktu) +* *AWS architect technical consultation* + +Pemenang *GMO Pepabo Prize* akan menerima: + +* layanan *shared hosting* Lolipop!: 10 tahun gratis berlangganan *Standard Plan*, + atau kupon 100,000 Yen untuk *metered plan* dari *Managed Cloud*. +* layanan registrasi DNS Muumuu: 10 tahun gratis berlangganan satu domain + (untuk sebuah domain yang memiliki harga 10,000 Yen atau kuran per tahun). + +Pemenang *IIJ GIO Prize* akan menerima: + +* detail lebih lanjut akan diumumkan kemudian. + +Pemenang *Money Forward Prize* akan menerima: + +* makan malam dengan *commiter* Money Forward. +* satu buah tiket gratis 10 tahun menggunakan layanan premium manajemen + finansial pribadi "Money Forward". + +Pemenang *Salesforce Prize* akan menerima: + +* salesforce.com *novelty goods* + +"Matz akan mengetes dan mengulas program dari kode sumber Anda secara seksama, +sehingga ini sangat berarti untuk mengajukan! Kompetisi ini gratis untuk diikuti." + +Terima kasih! From a251ac947fed3ec86cc06354ba36028ca02876a0 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 27 Jan 2018 18:20:16 +0700 Subject: [PATCH 0068/2563] Translate CVE-2017-17405 post (id) --- ...et-ftp-command-injection-cve-2017-17405.md | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 id/news/_posts/2017-12-14-net-ftp-command-injection-cve-2017-17405.md diff --git a/id/news/_posts/2017-12-14-net-ftp-command-injection-cve-2017-17405.md b/id/news/_posts/2017-12-14-net-ftp-command-injection-cve-2017-17405.md new file mode 100644 index 0000000000..e7e50f3601 --- /dev/null +++ b/id/news/_posts/2017-12-14-net-ftp-command-injection-cve-2017-17405.md @@ -0,0 +1,40 @@ +--- +layout: news_post +title: "CVE-2017-17405: Kerentanan command injection pada Net::FTP" +author: "nagachika" +translator: "meisyal" +date: 2017-12-14 16:00:00 +0000 +tags: security +lang: id +--- + +Ada sebuah kerentanan *command injection* pada Net::FTP yang di-*bundle* dengan Ruby. +Kerentanan ini telah ditetapkan dalam penanda CVE +[CVE-2017-17405](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17405). + +## Detail + +`Net::FTP#get`, `getbinaryfile`, `gettextfile`, `put`, `putbinaryfile`, dan +`puttextfile` menggunakan `Kernel#open` untuk membuka sebuah berkas lokal. +Jika argumen `localfile` mulai dengan karakter pipa `"|"`, perintah yang +mengikuti karakter pipa tersebut dieksekusi. Nilai *default* dari `localfile` +adalah `File.basename(remotefile)`, sehingga *server* FTP yang berbahaya +dapat menyebabkan eksekusi perintah semaunya. + +Semua pengguna yang menggunakan rilis yang terimbas seharusnya segera memperbarui. + +## Versi Terimbas + +* Rangkaian Ruby 2.2: 2.2.8 dan sebelumnya +* Rangkaian Ruby 2.3: 2.3.5 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.2 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.0-preview1 +* sebelum revisi *trunk* r61242 + +## Pujian + +Terima kasih kepada Etienne Stalmans dari Heroku *product security team* atas laporan masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2017-12-14 16:00:00 (UTC) From 669f10b090eeaac3ec2b29a22710505967a42ead Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 7 Apr 2018 15:24:51 +0700 Subject: [PATCH 0069/2563] Translate CVE-2018-8778: Buffer under-read in String#unpack news (id) --- ...-buffer-under-read-unpack-cve-2018-8778.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 id/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md diff --git a/id/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/id/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md new file mode 100644 index 0000000000..7ac42f53ae --- /dev/null +++ b/id/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "CVE-2018-8778: Buffer under-read pada String#unpack" +author: "usa" +translator: "meisyal" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: id +--- + +Ada sebuah kerentanan *buffer under-read* pada *method* `String#unpack`. +Kerentanan ini telah ditetapkan sebagai penanda CVE [CVE-2018-8778](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8778). + +## Detail + +`String#unpack` menerima penentu format sebagai parameternya, dan dapat +dispesifikasikan posisi dari data yang di-*parsing* oleh penentu `@`. +Jika sebuah angka yang sangat besar di-*parsing* dengan `@`, angka tersebut +dianggap sebagai nilai negatif, dan pembacaan *out-of-buffer* terjadi. +Sehingga, jika sebuah skrip menerima sebuah masukan dari luar sebagai *argument* +dari `String#unpack`, penyerang dapat membaca data di *heap*. + +Semua pengguna yang terimbas dengan rilis ini seharusnya memperbarui segera. + +## Versi Terimbas + +* Rangkaian Ruby 2.2: 2.2.9 dan sebelumnya +* Rangkaian Ruby 2.3: 2.3.6 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.3 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.0 dan sebelumnya +* Rangkaian Ruby 2.6: 2.6.0-preview1 +* Sebelum revisi *trunk* r62992 + +## Rujukan + +Terima kasih kepada [aerodudrizzt](https://hackerone.com/aerodudrizzt) telah +melaporkan masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2018-03-28 14:00:00 (UTC) From b4a983387287e9016caaa99387a3fbabf295ab2f Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 5 Mar 2018 23:29:43 +0700 Subject: [PATCH 0070/2563] Translate Multiple vulnerabilities in RubyGems news (id) --- ...17-multiple-vulnerabilities-in-rubygems.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 id/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md diff --git a/id/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/id/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md new file mode 100644 index 0000000000..15bb4d8079 --- /dev/null +++ b/id/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Beberapa kerentanan pada RubyGems" +author: "usa" +translator: "meisyal" +date: 2018-02-17 03:00:00 +0000 +tags: security +lang: id +--- + +Ada beberapa kerentanan pada RubyGems yang di-*bundle* oleh Ruby. +Ini [dilaporkan pada blog resmi RubyGems](http://blog.rubygems.org/2018/02/15/2.7.6-released.html). + +## Detail + +Kerentanan berikut ini telah dilaporkan. + +* Mencegah *path traversal* ketika menulis sebuah *symlinked basedir* di luar *root*. +* Memperbaiki kemungkinan *Unsafe Object Deserialization Vulnerability* pada pemilik gem. +* Menafsirkan *octal fields* pada *tar headers* dengan ketat. +* Memunculkan sebuah kesalahan keamanan ketika ada beberapa duplikat berkas dalam satu paket. +* Melakukan validasi URL pada atribut halaman utama *spec*. +* Menangani kerentanan XSS pada halaman awal atribut ketika ditampilkan melalui gem *server*. +* Mencegah *Path Traversal* selama pemasangan gem. + +Ini sangat direkomendasikan kepada pengguna Ruby untuk mengambil salah satu solusi berikut segera mungkin. + +## Versi Terimbas + +* Rangkaian Ruby 2.2: 2.2.9 dan sebelumnya +* Rangkaian Ruby 2.3: 2.3.6 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.3 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.0 dan sebelumnya +* sebelum revisi *trunk* 62422 + +## Solusi + +RubyGems 2.7.6 atau setelahnya berisi perbaikan dari kerentanan di atas, sehingga +perbarui RubyGems ke versi terbaru. + +``` +gem update --system +``` + +Jika Anda tidak dapat memperbarui RubyGems, Anda dapat mengaplikasikan *patch* berikut sebagai solusi. + +* [untuk Ruby 2.2.9](https://bugs.ruby-lang.org/attachments/download/7030/rubygems-276-for-ruby22.patch) +* [untuk Ruby 2.3.6](https://bugs.ruby-lang.org/attachments/download/7029/rubygems-276-for-ruby23.patch) +* [untuk Ruby 2.4.3](https://bugs.ruby-lang.org/attachments/download/7028/rubygems-276-for-ruby24.patch) +* [untuk Ruby 2.5.0](https://bugs.ruby-lang.org/attachments/download/7027/rubygems-276-for-ruby25.patch) + +Tentang *trunk*, perbarui ke revisi terbaru. + +## Rujukan + +Laporan ini didasarkan pada [blog resmi RubyGems](http://blog.rubygems.org/2018/02/15/2.7.6-released.html). + +## Riwayat + +* Semula dipublikasikan pada 2018-02-17 03:00:00 UTC From 0f4d3b6c9fe6c755e01620ccab3cab24cd1e036b Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sun, 8 Apr 2018 21:33:29 +0700 Subject: [PATCH 0071/2563] Translate CVE-2017-17742: HTTP response splitting in WEBrick news (id) --- ...nse-splitting-in-webrick-cve-2017-17742.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 id/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md diff --git a/id/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/id/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md new file mode 100644 index 0000000000..b5872ef46f --- /dev/null +++ b/id/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "CVE-2017-17742: Pemisahan respons HTTP pada WEBrick" +author: "usa" +"translator": "meisyal" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: id +--- + +Ada sebuah kerentanan pemisahan respons HTTP pada WEBrick yang di-*bundle* +dengan Ruby. Kerentanan ini telah ditetapkan sebagai penanda CVE +[CVE-2017-17742](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17742). + +## Detail + +Jika sebuah skrip menerima sebuah masukan dari luar dan mengeluarkan hasilnya +tanpa ada modifikasi bagian dari respons HTTP, seorang penyerang dapat +menggunakan karakter *newline* untuk mengelabui *client* bahwa respons *header* +berhenti di sana, dan dapat menginjeksi respons HTTP palsu setelah karakter +*newline* untuk menampilkan informasi berbahaya kepada *client*. + +Semua pengguna yang terkena imbas ini seharusnya memperbarui segera. + +## Versi Terimbas + +* Rangkaian Ruby 2.2: 2.2.9 dan sebelumnya +* Rangkaian Ruby 2.3: 2.3.6 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.3 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.0 dan sebelumnya +* Rangkaian Ruby 2.6: 2.6.0-preview1 +* Sebelum revisi *trunk* r62968 + +## Rujukan + +Terima kasih kepada Aaron Patterson yang telah +melaporkan masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2018-03-28 14:00:00 (UTC) From 054557590fec74af3a8908e30bfcf27eed2c592b Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 13 Feb 2018 21:35:18 +0700 Subject: [PATCH 0072/2563] Translate Ruby 2.5.0 released news (id) --- .../_posts/2017-12-25-ruby-2-5-0-released.md | 131 ++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 id/news/_posts/2017-12-25-ruby-2-5-0-released.md diff --git a/id/news/_posts/2017-12-25-ruby-2-5-0-released.md b/id/news/_posts/2017-12-25-ruby-2-5-0-released.md new file mode 100644 index 0000000000..4200fa6f61 --- /dev/null +++ b/id/news/_posts/2017-12-25-ruby-2-5-0-released.md @@ -0,0 +1,131 @@ +--- +layout: news_post +title: "Ruby 2.5.0 Rilis" +author: "naruse" +translator: "meisyal" +date: 2017-12-25 00:00:00 +0000 +lang: id +--- + +Kami dengan senang hati mengumumkan rilis dari Ruby 2.5.0. + +Ruby 2.5.0 adalah rilis pertama yang *stable* dari rangkaian Ruby 2.5. +Versi ini mengenalkan banyak fitur baru dan perbaikan performa. +Perubahan-perubahan penting tersebut di antaranya sebagai berikut: + +## Fitur Baru + +* `rescue`/`else`/`ensure` sekarang diperbolehkan untuk digunakan langsung dengan + blok `do`/`end`. + [[Feature #12906]](https://bugs.ruby-lang.org/issues/12906) +* Menambahkan `yield_self` untuk menghasilkan blok yang diberikan dalam konteksnya. + Tidak seperti `tap`, yang mengembalikan hasil dari blok. + [[Feature #6721]](https://bugs.ruby-lang.org/issues/6721) +* Mendukung pengukuran *branch coverage* dan *method coverage*. + *Branch coverage* mengindikasikan *branch* mana yang dieksekusi dan yang tidak. + *Method coverage* mengindikasikan *method* mana yang dipanggil dan yang tidak. + Dengan menjalankan sebuah *test suite* dengan fitur baru ini, Anda akan tahu + *branch* dan *method* mana yang dieksekusi, dan menilai jumlah *coverage* dari + *test suite* lebih ketat. + [[Feature #13901]](https://bugs.ruby-lang.org/issues/13901) +* Hash#slice [[Feature #8499]](https://bugs.ruby-lang.org/issues/8499) + dan Hash#transform_keys [[Feature #13583]](https://bugs.ruby-lang.org/issues/13583) +* Struct.new dapat membuat kelas-kelas yang menerima *keyword argument*. + [[Feature #11925]](https://bugs.ruby-lang.org/issues/11925) +* Enumerable#any?, all?, none?, and one? menerima sebuah *pattern argument*. + [[Feature #11286]](https://bugs.ruby-lang.org/issues/11286) +* *Top-level constant look-up* tidak lagi ada. + [[Feature #11547]](https://bugs.ruby-lang.org/issues/11547) +* Salah satu pustaka yang kami sayangi, pp.rb, is sekarang dimuat secara otomatis. + Anda tidak perlu lagi menulis `require "pp"`. + [[Feature #14123]](https://bugs.ruby-lang.org/issues/14123) +* Mencetak *backtrace* dan pesan error dengan urutan terbalik (paling akhir dipanggil pertama, + paling awal dipaggil terakhir). Ketika sebuah *backtrace* panjang muncul di terminal Anda (TTY), + Anda dapat dengan mudah menemukan penyebabnya pada baris paling bawah dari *backtrace*. + Perhatikan bahwa urutan dibalik jika *backtrace* dicetak + ke terminal langsung. + [[Feature #8661]](https://bugs.ruby-lang.org/issues/8661) [experimental] + +## Perbaikan performa + +* Sekitar 5-10% perbaikan performa dengan menghilangkan semua instruksi `trace` + dari keseluruhan *bytecode* (urutan instruksi). + Instruksi `trace` ditambahkan untuk mendukung `TracePoint`. + Namun, pada umumnya, `TracePoint` tidak digunakan dan instruksi `trace` + adalah murni *overhead*. Sebagai gantinya, sekarang kami menggunakan sebuah teknik + instrumentasi yang dinamis. + Lihat [[Feature #14104]](https://bugs.ruby-lang.org/issues/14104) untuk lebih detail. +* *Block passing* oleh sebuah *block parameter* (misal `def foo(&b); bar(&b); end`) + sekitar 3 kali lebih cepat dibanding Ruby 2.4 dengan teknik "Lazy Proc allocation". + [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) +* *Mutex* ditulis kembali menjadi lebih kecil dan cepat. + [[Feature #13517]](https://bugs.ruby-lang.org/issues/13517) +* ERB sekarang menghasilkan kode dari sebuah *template* dua kali secepat Ruby 2.4. +* Memperbaiki performa dari beberapa *built-in method* di antaranya `Array#concat`, + `Enumerable#sort_by`, `String#concat`, `String#index`, `Time#+`, dan lainnya. +* IO.copy_stream menggunakan copy_file_range(2) untuk menyalin *offload*. + [[Feature #13867]](https://bugs.ruby-lang.org/issues/13867) + +## Perubahan penting lainnya sejak 2.4 + +* SecureRandom sekarang menggunakan sumber yang disediakan oleh OS ketimbang OpenSSL. + [[Bug #9569]](https://bugs.ruby-lang.org/issues/9569) +* Mengubah cmath, csv, date, dbm, etc, fcntl, fiddle, fileutils, gdbm, ipaddr, + scanf, sdbm, stringio, strscan, webrick, zlib dari pustaka standar + menjadi *default gem*. +* Memperbarui [Onigmo](https://github.com/k-takata/Onigmo/) ke 6.1.3. + * Ini menambahkan [absence operator](https://github.com/k-takata/Onigmo/issues/87). + * Perhatikan bahwa [Ruby 2.4.1](https://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/) juga mengandung perubahan ini. +* Memperbarui Psych ke 3.0.2. +* Memperbarui RubyGems ke 2.7.3. +* Memperbarui RDoc ke 6.0.1 + * [Switch the lexer from IRB based one to Ripper](https://github.com/ruby/rdoc/pull/512). + Ini memperbaiki performasi dari *document generation* secara dramatis. + * Memperbaiki *bug* signifikan yang ada selama sepuluh tahun. + * Menambahkan dukungan sintaks Ruby baru dari versi terbaru. +* Memperbarui versi Unicode ke 10.0.0. +* `Thread.report_on_exception` sekaran diatur menjadi *true* secara *default*. + Perubahan ini membantu *debugging* dari program yang *multi-threaded*. + [[Feature #14143]](https://bugs.ruby-lang.org/issues/14143) +* IO#Write sekarang menerima banyak argumen. + [[Feature #9323]](https://bugs.ruby-lang.org/issues/9323) + +Lihat [NEWS](https://github.com/ruby/ruby/blob/v2_5_0/NEWS) +atau [commit logs](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0) +untuk detail. + +Dengan perubahan-perubahan tersebut, +[6158 berkas berubah, 348484 sisipan(+), 82747 terhapus(-)](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0) +sejak Ruby 2.4.0! + +Selamat Natal, Selamat Berlibur, dan nikmati memprogram dengan Ruby 2.5! + +## Unduh + +* + + SIZE: 15834941 bytes + SHA1: 58f77301c891c1c4a08f301861c26b1ea46509f6 + SHA256: 46e6f3630f1888eb653b15fa811d77b5b1df6fd7a3af436b343cfe4f4503f2ab + SHA512: 0712fe68611f5d0cd6dd54b814f825478e64b6a62bdf67bce431f4dca2dc00b1a33f77bebfbcd0a151118a1152554ab457decde435b424aa1f004bc0aa40580d + +* + + SIZE: 19495617 bytes + SHA1: 700b6f55d689a5c8051c8c292b9e77a1b50bf96e + SHA256: 94559ea6e3c619423da604e503ce1dc1c465d6e0747a07fbdc5f294acaf14c24 + SHA512: e4324064cee8c65b80192e3eff287e915d2d40464d300744c36fb326ae4b1846911400a99d4332192d8a217009d3a5209b43eb5e8bc0b739035bef89cc493e84 + +* + + SIZE: 13955820 bytes + SHA1: 827b9a3bcffa86d1fc9ed96d403cb9dc37731688 + SHA256: d87eb3021f71d4f62e5a5329628ac9a6665902173296e551667edd94362325cc + SHA512: 8f6fdf6708e7470f55bc009db2567cd8d4e633ad0678d83a015441ecf5b5d88bd7da8fb8533a42157ff83b74d00b6dc617d39bbb17fc2c6c12287a1d8eaa0f2c + +* + + SIZE: 11292472 bytes + SHA1: 9c7babcf9e299be3f197d9091024ae458f1a1273 + SHA256: 1da0afed833a0dab94075221a615c14487b05d0c407f991c8080d576d985b49b + SHA512: 55714a33d7661fe8b432f73c34fd67b49699f8b79df1cbd680a74899124d31111ab0f444677672aac1ba725820182940d485efb2db0bf2bc96737c5d40c54578 From 3b13ad89c9fbdc4f508bb55db9c3bb6199a7bb69 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 24 Apr 2018 23:19:28 +0700 Subject: [PATCH 0073/2563] Translate Ruby 2.2.9 released news (id) (#1737) --- .../_posts/2017-12-14-ruby-2-2-9-released.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 id/news/_posts/2017-12-14-ruby-2-2-9-released.md diff --git a/id/news/_posts/2017-12-14-ruby-2-2-9-released.md b/id/news/_posts/2017-12-14-ruby-2-2-9-released.md new file mode 100644 index 0000000000..a29d1c3b51 --- /dev/null +++ b/id/news/_posts/2017-12-14-ruby-2-2-9-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 2.2.9 Rilis" +author: "usa" +translator: "meisyal" +date: 2017-12-14 16:00:00 +0000 +lang: id +--- + +Ruby 2.2.9 telah dirilis. +Rilis ini mencakup beberapa perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk lebih detail. + +* [CVE-2017-17405: Kerentanan command injection pada Net::FTP](/id/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) +* [Unsafe Object Deserialization Vulnerability in RubyGems](http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html) + +Ruby 2.2 saat ini berada tahap perawatan keamanan, hingga akhir Maret 2018. +Setelah tanggal tersebut, perawatan Ruby 2.2 akan diakhiri. +Kami merekomendasikan Anda untuk merencanakan migrasi ke versi Ruby paling baru, seperti 2.4 atau 2.3. + +## Unduh + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.bz2) + + SIZE: 13371232 bytes + SHA1: 773ba9b51bde612866f656c4531f59660e2b0087 + SHA256: 5e3cfcc3b69638e165f72f67b1321fa05aff62b0f9e9b32042a5a79614e7c70a + SHA512: 2a8c8770fda20a22b79c9115b6f468f8e7ea1092c84a5089af7a3122163e5ad298b493e6637e4d93ba02d899d8a619c94064dda8ac98cf3b93f64f45d5401085 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.gz) + + SIZE: 16681209 bytes + SHA1: cbeb1b892ffcaca8728c1cb8d513e1b485bc5eba + SHA256: 2f47c77054fc40ccfde22501425256d32c4fa0ccaf9554f0d699ed436beca1a6 + SHA512: 34e440d529b3bb6b2a7c0e68e64c66c903b96b736ca527398d4493e7451353c08f7cc68b83c55011b53d76411c118fcb3c9e70c1a08439a591eeee98c430c297 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.xz) + + SIZE: 10511456 bytes + SHA1: 1144e19b4cdc77ee036847d261013c88fc59b5f8 + SHA256: 313b44b1105589d00bb30b9cccf7da44d263fe20a2d8d269ada536d4a7ef285c + SHA512: c4ef84cd00f72f60d6c168f0726d9d7e9573549c2bbae83893e1a9d5e64fc7938f4c9d50a47147b28b37cbf36263f95e10a810c0797bad941775a48d75a8c933 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.zip) + + SIZE: 18523114 bytes + SHA1: ebc8ba0ae1178bf4a84b38dd0fdd97de82406cf4 + SHA256: c3055ef4f985079d392dddebb1eab1e91851bfc19c0e8a11779872647d89b3b1 + SHA512: 41de195641bc8cca43a726c1d707720dc9d3b8a853002548a31d171508b78dc353328c9a526dfbbc76493307c0e9e5fce669cc9fc3efc9626f84f2af5aca1a55 + +## Komentar Rilis + +Terima kasih kepada semua yang telah membantu rilis ini. From a714577201ff318e2145e25a5f792f7b7ad1d569 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 25 Apr 2018 17:15:09 +0700 Subject: [PATCH 0074/2563] Translate CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir (id) (#1778) --- ...-28-poisoned-nul-byte-dir-cve-2018-8780.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 id/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md diff --git a/id/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/id/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md new file mode 100644 index 0000000000..2a103bded6 --- /dev/null +++ b/id/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "CVE-2018-8780: Directory traversal yang tidak disengaja oleh poisoned NUL byte pada Dir" +author: "usa" +translator: "meisyal" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: id +--- + +Ada sebuah *directory traversal* yang tidak disengaja pada beberapa *method* +pada `Dir`. Kerentanan ini telah ditetapkan sebagai penanda CVE +[CVE-2018-8780](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8780). + +## Detail + +`Dir.open`, `Dir.new`, `Dir.entries` dan `Dir.empty?` menerima *path* dari +*directory* target sebagai parameternya. Jika parameter mengandung NUL (`\0`) +*bytes*, *method-method* ini mengenali *path* tersebut lengkap sebelum NUL +*bytes*. Sehingga, jika sebuah skrip menerima sebuah masukan dari luar sebagai +argumen dari *method-method* ini, penyerang dapat membuat *directory traversal* +yang tidak sengaja. + +Semua pengguna yang terimbas rilis ini seharusnya segera memperbarui. + +## Versi Terimbas + +* Rangkaian Ruby 2.2: 2.2.9 dan sebelumnya +* Rangkaian Ruby 2.3: 2.3.6 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.3 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.0 dan sebelumnya +* Rangkaian Ruby 2.6L 2.6.0-preview1 +* sebelum revisi *trunk* r62989 + +## Rujukan + +Terima kasih kepada [ooooooo_q](https://hackerone.com/ooooooo_q) atas laporan +masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2018-03-28 14:00:00 (UTC) From 56eb4f0890b7c338c645bc710b8463a007c518af Mon Sep 17 00:00:00 2001 From: Hoai-Thu Vuong Date: Wed, 25 Apr 2018 21:31:56 +0700 Subject: [PATCH 0075/2563] Fix typo in latest news in 2.4.1 release post (vi) (#1779) --- vi/news/_posts/2017-03-22-ruby-2-4-1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vi/news/_posts/2017-03-22-ruby-2-4-1-released.md b/vi/news/_posts/2017-03-22-ruby-2-4-1-released.md index 866ab235a3..be3b624881 100644 --- a/vi/news/_posts/2017-03-22-ruby-2-4-1-released.md +++ b/vi/news/_posts/2017-03-22-ruby-2-4-1-released.md @@ -7,7 +7,7 @@ date: 2017-03-22 03:00:00 +0000 lang: vi --- -Chúng tôi hân hạnh công bố ân bản Ruby 2.4.1. +Chúng tôi hân hạnh công bố ấn bản Ruby 2.4.1. Đấy là bản TEENY đầu tiên của chuỗi ấn bản ổn định 2.4. Xem [commit logs](https://github.com/ruby/ruby/compare/v2_4_0...v2_4_1) From 63c50f66ba7c66fcb7ca190e8e3973bb79b62d01 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Thu, 26 Apr 2018 11:20:57 +0700 Subject: [PATCH 0076/2563] Translate CVE-2018-8777: DoS by large request in WEBrick news (id) (#1775) --- ...ge-request-dos-in-webrick-cve-2018-8777.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 id/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md diff --git a/id/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/id/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md new file mode 100644 index 0000000000..d69d870c74 --- /dev/null +++ b/id/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "CVE-2018-8777: DoS karena permintaan yang besar pada WEBrick" +author: "usa" +translator: "meisyal" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: id +--- + +Ada sebuah kerentanan *out-of-memory* DoS dengan sebuah permintaan yang besar +pada WEBrick yang dikemas dengan Ruby. Kerentanan ini telah +ditetapkan sebagai penanda [CVE-2018-8777](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8777). + +## Detail + +Jika seorang penyerang mengirim sebuah permintaan yang berisi HTTP *header* +yang besar, WEBrick mencoba untuk memprosesnya ke dalam memori, sehingga +permintaan tersebut menyebabkan serangan *out-of-memory* DoS. + +Semua pengguna yang terkena imbas dari masalah ini seharusnya memperbarui +segera. + +## Versi Terimbas + +* Rangkaian Ruby 2.2: 2.2.9 dan sebelumnya +* Rangkaian Ruby 2.3: 2.3.6 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.3 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.0 dan sebelumnya +* Rangkaian Ruby 2.6: 2.6.0-preview1 +* Sebelum revisi *trunk* r62965 + +## Rujukan + +Terima kasih kepada Eric Wong atas laporan masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2018-03-28 14:00:00 (UTC) From c86a6424ea5ed942ca1879888c12df1fb55f0c8c Mon Sep 17 00:00:00 2001 From: Felipe Gentil Date: Wed, 27 Dec 2017 12:48:29 -0200 Subject: [PATCH 0077/2563] Translate Ruby 2.2.9 released (pt) --- .../_posts/2017-12-14-ruby-2-2-9-released.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pt/news/_posts/2017-12-14-ruby-2-2-9-released.md diff --git a/pt/news/_posts/2017-12-14-ruby-2-2-9-released.md b/pt/news/_posts/2017-12-14-ruby-2-2-9-released.md new file mode 100644 index 0000000000..eb7f46d034 --- /dev/null +++ b/pt/news/_posts/2017-12-14-ruby-2-2-9-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Lançado Ruby 2.2.9" +author: "usa" +translator: "fpgentil" +date: 2017-12-14 16:00:00 +0000 +lang: pt +--- + +Ruby 2.2.9 foi lançado. +Esse lançamento inclui várias correções de segurança. +Por favor, verifiquem os tópicos abaixo para mais detalhes. + +* [CVE-2017-17405: Vulnerabilidade de injeção de comandos em Net::FTP](/pt/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) +* [Unsafe Object Deserialization Vulnerability in RubyGems (English)](http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html) + +Ruby 2.2 está agora em fase de manutenção de segurança até o final de Março de 2018. +Após essa data, a manutenção do Ruby 2.2 será encerrada. +Recomendamos fortemente que você planeje em migrar para uma nova versão do Ruby, como 2.4 ou 2.3. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.bz2) + + SIZE: 13371232 bytes + SHA1: 773ba9b51bde612866f656c4531f59660e2b0087 + SHA256: 5e3cfcc3b69638e165f72f67b1321fa05aff62b0f9e9b32042a5a79614e7c70a + SHA512: 2a8c8770fda20a22b79c9115b6f468f8e7ea1092c84a5089af7a3122163e5ad298b493e6637e4d93ba02d899d8a619c94064dda8ac98cf3b93f64f45d5401085 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.gz) + + SIZE: 16681209 bytes + SHA1: cbeb1b892ffcaca8728c1cb8d513e1b485bc5eba + SHA256: 2f47c77054fc40ccfde22501425256d32c4fa0ccaf9554f0d699ed436beca1a6 + SHA512: 34e440d529b3bb6b2a7c0e68e64c66c903b96b736ca527398d4493e7451353c08f7cc68b83c55011b53d76411c118fcb3c9e70c1a08439a591eeee98c430c297 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.xz) + + SIZE: 10511456 bytes + SHA1: 1144e19b4cdc77ee036847d261013c88fc59b5f8 + SHA256: 313b44b1105589d00bb30b9cccf7da44d263fe20a2d8d269ada536d4a7ef285c + SHA512: c4ef84cd00f72f60d6c168f0726d9d7e9573549c2bbae83893e1a9d5e64fc7938f4c9d50a47147b28b37cbf36263f95e10a810c0797bad941775a48d75a8c933 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.zip) + + SIZE: 18523114 bytes + SHA1: ebc8ba0ae1178bf4a84b38dd0fdd97de82406cf4 + SHA256: c3055ef4f985079d392dddebb1eab1e91851bfc19c0e8a11779872647d89b3b1 + SHA512: 41de195641bc8cca43a726c1d707720dc9d3b8a853002548a31d171508b78dc353328c9a526dfbbc76493307c0e9e5fce669cc9fc3efc9626f84f2af5aca1a55 + +## Comentários da versão + +Obrigado a todos que contribuiram com esse lançamento. From c3ad418318fc2e536616ca8643f00bcb2624ba0e Mon Sep 17 00:00:00 2001 From: Felipe Gentil Date: Thu, 28 Dec 2017 15:46:49 -0200 Subject: [PATCH 0078/2563] Translate Ruby 2.3.6 released (pt) --- .../_posts/2017-12-14-ruby-2-3-6-released.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 pt/news/_posts/2017-12-14-ruby-2-3-6-released.md diff --git a/pt/news/_posts/2017-12-14-ruby-2-3-6-released.md b/pt/news/_posts/2017-12-14-ruby-2-3-6-released.md new file mode 100644 index 0000000000..bf13c99785 --- /dev/null +++ b/pt/news/_posts/2017-12-14-ruby-2-3-6-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Lançado Ruby 2.3.6" +author: "usa" +translator: "fpgentil" +date: 2017-12-14 16:00:00 +0000 +lang: pt +--- + +Ruby 2.3.6 foi lançado. + +Esse lançamento inclui cerca de 10 correções de _bugs_ desde o último lançamento, e também inclui algumas correções de segurança. +Por favor, verifiquem os tópicos abaixo para mais detalhes. + +* [CVE-2017-17405: Vulnerabilidade de injeção de comandos em Net::FTP](/pt/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) +* [Unsafe Object Deserialization Vulnerability in RubyGems (English)](http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html) + +Veja o [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_6/ChangeLog) para detalhes. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.bz2) + + SIZE: 14429114 bytes + SHA1: 07c3b66d544dd22c22fbae3f16cfb3eeb88b7b1e + SHA256: 07aa3ed3bffbfb97b6fc5296a86621e6bb5349c6f8e549bd0db7f61e3e210fd0 + SHA512: bc3c7a115745a38e44bd91eb5637b1e412011c471d9749db7960185ef75737b944dd0e524f22432809649952ca7d93f46d458990e9cd2b0db5ca8abf4bc8ea99 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.gz) + + SIZE: 17840901 bytes + SHA1: 4e6a0f828819e15d274ae58485585fc8b7caace0 + SHA256: 8322513279f9edfa612d445bc111a87894fac1128eaa539301cebfc0dd51571e + SHA512: 104553d888f7d49d1b8df0cff0a3e8aee3086183d75e1a88289730e34c2da669874d7abe83e84bf1b3be9a3337a34f19ea9f9dcfbf1f7fc1136bb8f922776ea4 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.xz) + + SIZE: 11445628 bytes + SHA1: 55e97913180a313f161d2e4e541dd904a477c31d + SHA256: e0d969ac22d4a403c1204868bb9c0d068aa35045bb3934cf50b17b7f66059f56 + SHA512: a09c8715097d16190ee17ee39e7a74438cefc9013add350217b7e3fb4d60aa9dcb30595adf832b0d67a5c45b1fe9d4effb767c995af2759420859f8d763c693a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.zip) + + SIZE: 19892406 bytes + SHA1: 0d631f32e7b360dcbfb9f8f46dfff2445f0a6a51 + SHA256: 6fee49a2099d49a1b98bf0637fe974fd87af3ae64978392c802ba4d10ac70fb5 + SHA512: c6dc2ee01a4ef84850b0ca4d1e60841f07fbff263ebbbc44c8bd0f72ced3172c2e0b9c883496bfc4f5a42f4827a061f8f479d05bda5f693a274c451914e0b03e + +## Comentários da versão + +Obrigado a todos que contribuiram com esse lançamento. + +A manutenção do Ruby 2.3, incluindo esse lançamento, é baseada no “Agreement for the Ruby stable version” da _Ruby Association_. From d4a95997df63fa56166278aa9ec4a82145da524a Mon Sep 17 00:00:00 2001 From: Felipe Gentil Date: Thu, 4 Jan 2018 18:29:42 -0200 Subject: [PATCH 0079/2563] Translate Ruby 2.4.3 released (pt) --- .../_posts/2017-12-14-ruby-2-4-3-released.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pt/news/_posts/2017-12-14-ruby-2-4-3-released.md diff --git a/pt/news/_posts/2017-12-14-ruby-2-4-3-released.md b/pt/news/_posts/2017-12-14-ruby-2-4-3-released.md new file mode 100644 index 0000000000..8906bea9ca --- /dev/null +++ b/pt/news/_posts/2017-12-14-ruby-2-4-3-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Lançado Ruby 2.4.3" +author: "nagachika" +translator: "fpgentil" +date: 2017-12-14 00:00:00 +0000 +lang: pt +--- + +Ruby 2.4.3 foi lançado. + +Este lançamento inclui algumas correções de _bugs_ e de segurança. + +* [CVE-2017-17405: Vulnerabilidade de injeção de comandos em Net::FTP](/pt/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) + +Existem também algumas correções de _bugs_. +Veja [commit logs](https://github.com/ruby/ruby/compare/v2_4_2...v2_4_3) para maiores detalhes. + +## Download + +* + + SIZE: 12615068 bytes + SHA1: 3ca96536320b915762d57fe1ee540df6810bf631 + SHA256: 0a703dffb7737f56e979c9ebe2482f07751803c71e307c20446b581e0f12cf30 + SHA512: fb4339e30c04d03b1422b6c32ede45902e072cd26325b36f3fc05c341d42eea6431d88718242dcc9ce24d9cad26f3d26772f2e806bd7d93f40be50268c318409 + +* + + SIZE: 14178729 bytes + SHA1: 787b7f4e90fb4b39a61bc1a31eb7765f875a590c + SHA256: fd0375582c92045aa7d31854e724471fb469e11a4b08ff334d39052ccaaa3a98 + SHA512: e6859cee49f74bbfbcfc9dd583aa0f1af007354f9b56ec09959d24764e69ed6ea3d1d59a229ad25b451161a1ea2ac60e0621dbbcc484ad219eed9e55f3825e05 + +* + + SIZE: 10040072 bytes + SHA1: f0a49dddb4e7903a11a80554fd7a317a854cd365 + SHA256: 23677d40bf3b7621ba64593c978df40b1e026d8653c74a0599f0ead78ed92b51 + SHA512: 8bcf60c994a96787da5d743c66f5609a5a6d834d6d61243cdea7fd059197c3b10da43c99e5649be85e2f2329eedcbb1dd76e89ce3ac586be9056348f7449ed09 + +* + + SIZE: 15649173 bytes + SHA1: 19744d7673914804b46f75b374faee87b2ea18d9 + SHA256: a4cd07af2cef121582b8bf7ec57fb9a916d99556c713538bc4469be68bfc1961 + SHA512: 5e51b4337ee12041925dd6b91df6d0c7fc5bf19846c1c8d5aa43823f5410d1291cd428bdb5245f08a399051d06c2cb59fde73a7d3da379cbbd24f9c2b60fcc8c + +## Comentários da versão + +Muitos contribuintes, desenvolvedores e usuários que reportaram _bugs_ nos ajudaram +com o lançamento dessa versao. +Agradecemos suas contribuições. From 261279abaa4304ad42bc1daaba7d2904c04ec725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sat, 23 Dec 2017 16:26:32 -0500 Subject: [PATCH 0080/2563] Translated news of 2017-12-14 (es) --- ...et-ftp-command-injection-cve-2017-17405.md | 40 ++++++++ .../_posts/2017-12-14-ruby-2-2-9-released.md | 54 +++++++++++ .../_posts/2017-12-14-ruby-2-3-6-released.md | 56 +++++++++++ .../_posts/2017-12-14-ruby-2-4-3-released.md | 53 +++++++++++ .../2017-12-14-ruby-2-5-0-rc1-released.md | 93 +++++++++++++++++++ 5 files changed, 296 insertions(+) create mode 100644 es/news/_posts/2017-12-14-net-ftp-command-injection-cve-2017-17405.md create mode 100644 es/news/_posts/2017-12-14-ruby-2-2-9-released.md create mode 100644 es/news/_posts/2017-12-14-ruby-2-3-6-released.md create mode 100644 es/news/_posts/2017-12-14-ruby-2-4-3-released.md create mode 100644 es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md diff --git a/es/news/_posts/2017-12-14-net-ftp-command-injection-cve-2017-17405.md b/es/news/_posts/2017-12-14-net-ftp-command-injection-cve-2017-17405.md new file mode 100644 index 0000000000..5ed12f80c2 --- /dev/null +++ b/es/news/_posts/2017-12-14-net-ftp-command-injection-cve-2017-17405.md @@ -0,0 +1,40 @@ +--- +layout: news_post +title: "CVE-2017-17405: Vulnerabilidad de inyección de ordenes en Net::FTP" +author: "nagachika" +translator: "vtamara" +date: 2017-12-14 16:00:00 +0000 +tags: security +lang: es +--- + +Hay una vulnerabilidad de inyección de ordenes en el Net::FTP incluido en Ruby. +A esta vulnerabilidad se le ha asignado el identificador CVE +[CVE-2017-17405](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17405). + +## Detalles + +`Net::FTP#get`, `getbinaryfile`, `gettextfile`, `put`, `putbinaryfile`, y +`puttextfile` usan `Kernel#open` para abrir archivos locales. Si el argumento +`localfile` comienza con el caracter tubería `"|"`, la orden que sigue al caracter +tubería se ejecuta. El valor por omisión de `localfile` es +`File.basename(remotefile)`, así que un servidor FTP malicioso podría causar +la ejecución arbitraría de una orden. + +Todos los usuarios que corren la versión afectada deben actualizar de inmediato. + +## Versiones afectadas + +* Serie Ruby 2.2: 2.2.8 y anteriores +* Serie Ruby 2.3: 2.3.5 y anteriores +* Serie Ruby 2.4: 2.4.2 y anteriores +* Serie Ruby 2.5: 2.5.0-preview1 +* anteriores a la versión trunk r61242 + +## Credito + +Gracias a Etienne Stalmans del equipo de seguridad del proyecto Heroku por reportar el problema. + +## Historia + +* Publicado originalmente en inglés el 2017-12-14 16:00:00 (UTC) diff --git a/es/news/_posts/2017-12-14-ruby-2-2-9-released.md b/es/news/_posts/2017-12-14-ruby-2-2-9-released.md new file mode 100644 index 0000000000..fdb4808389 --- /dev/null +++ b/es/news/_posts/2017-12-14-ruby-2-2-9-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Ruby 2.2.9 publicado" +author: "usa" +translator: "vtamara" +date: 2017-12-14 16:00:00 +0000 +lang: es +--- + +Ruby 2.2.9 ha sido publicado. +Esta versión incluye diversas correcciones a fallas de seguridad. +Por favor revise los temas siguientes para ver detalles. + +* [CVE-2017-17405: Vulnerabilidad de inyección de ordenes en Net::FTP](/es/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) +* [Vulnerabilidad de Des-serialización de objetos no segura en RubyGems](http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html) + +Ruby 2.2 ahora está en la fase de mantenimiento de seguridad, hasta finales de Marzo de 2018. +Después de esa fecha, terminará el mantenimiento de Ruby 2.2. +Le recomendamos comenzar a planear la migración a una versión más nueva +de Ruby, como 2.4 o 2.3. + +## Descargas + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.bz2) + + SIZE: 13371232 bytes + SHA1: 773ba9b51bde612866f656c4531f59660e2b0087 + SHA256: 5e3cfcc3b69638e165f72f67b1321fa05aff62b0f9e9b32042a5a79614e7c70a + SHA512: 2a8c8770fda20a22b79c9115b6f468f8e7ea1092c84a5089af7a3122163e5ad298b493e6637e4d93ba02d899d8a619c94064dda8ac98cf3b93f64f45d5401085 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.gz) + + SIZE: 16681209 bytes + SHA1: cbeb1b892ffcaca8728c1cb8d513e1b485bc5eba + SHA256: 2f47c77054fc40ccfde22501425256d32c4fa0ccaf9554f0d699ed436beca1a6 + SHA512: 34e440d529b3bb6b2a7c0e68e64c66c903b96b736ca527398d4493e7451353c08f7cc68b83c55011b53d76411c118fcb3c9e70c1a08439a591eeee98c430c297 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.xz) + + SIZE: 10511456 bytes + SHA1: 1144e19b4cdc77ee036847d261013c88fc59b5f8 + SHA256: 313b44b1105589d00bb30b9cccf7da44d263fe20a2d8d269ada536d4a7ef285c + SHA512: c4ef84cd00f72f60d6c168f0726d9d7e9573549c2bbae83893e1a9d5e64fc7938f4c9d50a47147b28b37cbf36263f95e10a810c0797bad941775a48d75a8c933 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.zip) + + SIZE: 18523114 bytes + SHA1: ebc8ba0ae1178bf4a84b38dd0fdd97de82406cf4 + SHA256: c3055ef4f985079d392dddebb1eab1e91851bfc19c0e8a11779872647d89b3b1 + SHA512: 41de195641bc8cca43a726c1d707720dc9d3b8a853002548a31d171508b78dc353328c9a526dfbbc76493307c0e9e5fce669cc9fc3efc9626f84f2af5aca1a55 + +## Comentarios de la versión + +Gracias a todos los que ayudaron con esta versión. diff --git a/es/news/_posts/2017-12-14-ruby-2-3-6-released.md b/es/news/_posts/2017-12-14-ruby-2-3-6-released.md new file mode 100644 index 0000000000..a2e11891fb --- /dev/null +++ b/es/news/_posts/2017-12-14-ruby-2-3-6-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Ruby 2.3.6 Publicado" +author: "usa" +translator: "vtamara" +date: 2017-12-14 16:00:00 +0000 +lang: es +--- + +Ruby 2.3.6 ha sido publicado. + +Esta versión incluye cerca de 10 correcciones a fallas posteriores a la +versión anterior, y también incluya diversas correcciones a fallas de +seguridad. +Por favor revise los temas siguientes para ver más detalles. + +* [CVE-2017-17405: Vulnerabilidad de inyección de ordenes en Net::FTP](/es/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) +* [Unsafe Object Deserialization Vulnerability in RubyGems](http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html) + +Vea detalles en el archivo [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_6/ChangeLog). + +## Descargas + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.bz2) + + SIZE: 14429114 bytes + SHA1: 07c3b66d544dd22c22fbae3f16cfb3eeb88b7b1e + SHA256: 07aa3ed3bffbfb97b6fc5296a86621e6bb5349c6f8e549bd0db7f61e3e210fd0 + SHA512: bc3c7a115745a38e44bd91eb5637b1e412011c471d9749db7960185ef75737b944dd0e524f22432809649952ca7d93f46d458990e9cd2b0db5ca8abf4bc8ea99 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.gz) + + SIZE: 17840901 bytes + SHA1: 4e6a0f828819e15d274ae58485585fc8b7caace0 + SHA256: 8322513279f9edfa612d445bc111a87894fac1128eaa539301cebfc0dd51571e + SHA512: 104553d888f7d49d1b8df0cff0a3e8aee3086183d75e1a88289730e34c2da669874d7abe83e84bf1b3be9a3337a34f19ea9f9dcfbf1f7fc1136bb8f922776ea4 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.xz) + + SIZE: 11445628 bytes + SHA1: 55e97913180a313f161d2e4e541dd904a477c31d + SHA256: e0d969ac22d4a403c1204868bb9c0d068aa35045bb3934cf50b17b7f66059f56 + SHA512: a09c8715097d16190ee17ee39e7a74438cefc9013add350217b7e3fb4d60aa9dcb30595adf832b0d67a5c45b1fe9d4effb767c995af2759420859f8d763c693a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.zip) + + SIZE: 19892406 bytes + SHA1: 0d631f32e7b360dcbfb9f8f46dfff2445f0a6a51 + SHA256: 6fee49a2099d49a1b98bf0637fe974fd87af3ae64978392c802ba4d10ac70fb5 + SHA512: c6dc2ee01a4ef84850b0ca4d1e60841f07fbff263ebbbc44c8bd0f72ced3172c2e0b9c883496bfc4f5a42f4827a061f8f479d05bda5f693a274c451914e0b03e + +## Comentario de la versión + +Gracias a todos los que ayudaron con esta versión. + +El mantenimiento de Ruby 2.3, incluyendo esta versión, se basa en el “Acuerdo por una versión estable de Ruby” de la Asociacioń Ruby. diff --git a/es/news/_posts/2017-12-14-ruby-2-4-3-released.md b/es/news/_posts/2017-12-14-ruby-2-4-3-released.md new file mode 100644 index 0000000000..9faba4e183 --- /dev/null +++ b/es/news/_posts/2017-12-14-ruby-2-4-3-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Publicado Ruby 2.4.3" +author: "nagachika" +translator: "vtamara" +date: 2017-12-14 00:00:00 +0000 +lang: es +--- + +Ruby 2.4.3 ha sido publicado. + +Esta versión incluye la corrección a una falla de seguridad. + +* [CVE-2017-17405: Vulnerabilitad de inuyección de ordenes en Net::FTP](/es/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/) + +También hay algunas correcciones a otras fallas. +Ver más detalles en la [bitácora de commits](https://github.com/ruby/ruby/compare/v2_4_2...v2_4_3). + +## Descargas + +* + + SIZE: 12615068 bytes + SHA1: 3ca96536320b915762d57fe1ee540df6810bf631 + SHA256: 0a703dffb7737f56e979c9ebe2482f07751803c71e307c20446b581e0f12cf30 + SHA512: fb4339e30c04d03b1422b6c32ede45902e072cd26325b36f3fc05c341d42eea6431d88718242dcc9ce24d9cad26f3d26772f2e806bd7d93f40be50268c318409 + +* + + SIZE: 14178729 bytes + SHA1: 787b7f4e90fb4b39a61bc1a31eb7765f875a590c + SHA256: fd0375582c92045aa7d31854e724471fb469e11a4b08ff334d39052ccaaa3a98 + SHA512: e6859cee49f74bbfbcfc9dd583aa0f1af007354f9b56ec09959d24764e69ed6ea3d1d59a229ad25b451161a1ea2ac60e0621dbbcc484ad219eed9e55f3825e05 + +* + + SIZE: 10040072 bytes + SHA1: f0a49dddb4e7903a11a80554fd7a317a854cd365 + SHA256: 23677d40bf3b7621ba64593c978df40b1e026d8653c74a0599f0ead78ed92b51 + SHA512: 8bcf60c994a96787da5d743c66f5609a5a6d834d6d61243cdea7fd059197c3b10da43c99e5649be85e2f2329eedcbb1dd76e89ce3ac586be9056348f7449ed09 + +* + + SIZE: 15649173 bytes + SHA1: 19744d7673914804b46f75b374faee87b2ea18d9 + SHA256: a4cd07af2cef121582b8bf7ec57fb9a916d99556c713538bc4469be68bfc1961 + SHA512: 5e51b4337ee12041925dd6b91df6d0c7fc5bf19846c1c8d5aa43823f5410d1291cd428bdb5245f08a399051d06c2cb59fde73a7d3da379cbbd24f9c2b60fcc8c + +## Comentario de la versión + +Muchas personas que contribuyeron, desarrolladores y usuarios que proveyeron reportes de fallas +nos ayudaron a lograr esta versión. +Gracias por sus contribuciones. diff --git a/es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md b/es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md new file mode 100644 index 0000000000..cad9ea1300 --- /dev/null +++ b/es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md @@ -0,0 +1,93 @@ +--- +layout: news_post +title: "Ruby 2.5.0-rc1 Publicado" +author: "naruse" +translator: "vtamara" +date: 2017-12-14 00:00:00 +0000 +lang: es +--- + +Nos complace anunciar la publicación de Ruby 2.5.0-rc1. + +Ruby 2.5.0-rc1 es el primer candidato de publicación de Ruby 2.5.0. +Introduce algunas características nuevas y mejoras al desempeño, por ejemplo: + +## Nuevas características + +* Imprimir trazas y mensajes de error en orden inverso si no se ha + cambiado STDERR y es un tty. [Feature #8661] [experimental] + +* Se ha eliminado la búsqueda de constantes en el nivel superior + cuando no se encuentran en una clase. [Feature #11547] + +* rescue/else/ensure se permiten al interior de bloques do/end. [Feature #12906] + +* Agregado yield\_self. [Feature #6721] + +## Mejoras en desempeño + +* Instrumentación dinámica para ganchos TracePoint en lugar de usar + la instrucción "trace" para evitar costos. [Feature #14104] + +* El desempeño al pasar bloques usando parámetros de bloque se ha + mejorado empleando localización de Proc retardada. [Feature #14045] + +* Se ha vuelto a escribir mutex para que sea más pequeño y + veloz. [Feature #13517] + +* SecureRandom ahora prefiere fuentes proveidas por el sistema operativo + en lugar de OpenSSL. [Bug #9569] + +## Otros cambios notables desde la versión 2.4 + +* Actualizado a Onigmo 6.1.3. + Añade el [operado ausente](https://github.com/k-takata/Onigmo/issues/87). + Note que Ruby 2.4.1 también incluía este cambio. +* Bundler agregado a las librerías estándar. +* Actualización a RubyGems 2.7.0. +* Actualización a RDoc 6.0.0. + * Cambiado el analizador léxico de IRB por uno basado en Ripper; + esto mejora considerablemente la velocidad de generación de la + documentación. [https://github.com/ruby/rdoc/pull/512] + * Resuletas muchas fallas de la última docena de años aproximadamente. + * Soporta las nuevas sintaxis de Ruby de los últimos años. +* Actualizada versión soportada de Unicode a 10.0.0. + +Ver detalles en [NEWS](https://github.com/ruby/ruby/blob/v2_5_0_rc1/NEWS) +o en la bitácora de commits. + +Con esos cambios, +[6162 archivos cambiados, 339744 inserciones(+), 28699 eliminaciones(-)](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0_rc1) +desde Ruby 2.4.0! + +Disfrute Ruby 2.5.0-rc1! + +## Descargas + +* + + SIZE: 31049529 bytes + SHA1: 15df7e8ff99f360a14f7747a07a3021447d65594 + SHA256: 46c11b347522de174566503d35d2b46e1529b979d292b1f7f7019cfedcd4b07f + SHA512: 41cd298e99d7a25fe5f2ec42946ae5dbc4421bb18f39350ba8a1b02e999541ec1b21b5f6ce0489b3a159f47e37d409178ba7c21c00e177b0fdb410ca6e9d6142 + +* + + SIZE: 35579788 bytes + SHA1: b7ae42eb733d4a0e3a2d135c9f8d4af043daa728 + SHA256: 9858e39fd2e7bf207cc9f8846197b11ada5f4424f433ff4df149fe3d48be8e36 + SHA512: 86c93791d312fd2175909020e448a44892740feb809a532ed706c6d850cb92722fb7ca02ecbdf7a1fbeb5b4f42f1338ce9a15b7c0a41055937bd1fdfb4be6f11 + +* + + SIZE: 29238901 bytes + SHA1: 6aad74ed3d30de63c6ff22048cd0fcbcbe123586 + SHA256: 862a8e9e52432ba383660a23d3e87af11dbc18c863a19ef6367eb8259fc47c09 + SHA512: bf0eb114097f9e505ff846f25e7556a2fb393573b4e8b773f94cf5b47998e221f3962a291db15a3cdbdf4ced5a523812937f80d95f4ee3f7b13c4e37f178d7a7 + +* + + SIZE: 26096412 bytes + SHA1: 05cacd0341b7a23cc68239c2061640643a30da38 + SHA256: a479a1bce69b2cf656821f10104dcb8b426922b56d3d6cbdf48318842fae752c + SHA512: 9f9040abf69337439a3f31b80d440d97736555b0df6533d9d34c141ce52226bc40c3f4f7e596e74b080c879e933649c17a073c893be1a304d9a883bab02e9494 From eefa6506a4c8d0277bb5c40e08ed45f5c8c3dd28 Mon Sep 17 00:00:00 2001 From: Filipe Rocha Date: Thu, 24 Nov 2016 12:09:10 +0000 Subject: [PATCH 0081/2563] Translate November 2016 posts (pt) --- ...2016-11-09-ruby-2-4-0-preview3-released.md | 135 ++++++++++++++++++ .../_posts/2016-11-15-ruby-2-2-6-released.md | 52 +++++++ .../_posts/2016-11-15-ruby-2-3-2-released.md | 53 +++++++ .../_posts/2016-11-21-ruby-2-3-3-released.md | 54 +++++++ 4 files changed, 294 insertions(+) create mode 100644 pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md create mode 100644 pt/news/_posts/2016-11-15-ruby-2-2-6-released.md create mode 100644 pt/news/_posts/2016-11-15-ruby-2-3-2-released.md create mode 100644 pt/news/_posts/2016-11-21-ruby-2-3-3-released.md diff --git a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md new file mode 100644 index 0000000000..83e915e9df --- /dev/null +++ b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -0,0 +1,135 @@ +--- +layout: news_post +title: "Lançado o Ruby 2.4.0-preview3" +author: "naruse" +translator: "Filipe Rocha" +date: 2016-11-09 18:00:00 +0900 +lang: pt +--- + +Temos o gosto de anunciar a versão 2.4.0-preview3 do Ruby. + +A versão 2.4.0-preview3 do Ruby é a terceira *preview* do Ruby 2.4.0, +lançada com o fim de obter *feedback* da comunidade. + +Poderão +[enviar *feedback*](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +uma vez que ainda podem influenciar das funcionalidades. + +## [Introdução de melhorias nas hash tables por Vladimir Makarov](https://bugs.ruby-lang.org/issues/12142) + +Melhorar a estrutura interna da hash table (st_table) introduzindo o *open addressing* +e introdução de um *array* com a ordem de inclusão. + +## Binding#irb: Iniciar uma sessão REPL como `binding.pry` + +Enquanto está a fazer o *debug*, poderá utilizar `p` para listar o valor das variáveis. +Com o [pry](https://github.com/pry/pry) e incluindo `binding.pry` na sua aplicação, +será lançado este REPL para correr qualquer código ruby. +[r56624](https://github.com/ruby/ruby/commit/493e48897421d176a8faf0f0820323d79ecdf94a) introduz `binding.irb` com o mesmo comportamento para o irb. + +## [Unificar as classes Fixnum e Bignum na classe Integer](https://bugs.ruby-lang.org/issues/12005) + +Apesar do [ISO/IEC 30170:2012](http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579) +não especificar os detalhes da classe Integer, +o Ruby teve duas classes Integer visíveis: Fixnum and Bignum. +O Ruby 2.4 unifica-as na classe Integer. +Todas as extensões C que utilizam a classe Fixnum ou Bignum necessitam de ser corrigidas. + +Consultar também [o ticket](https://bugs.ruby-lang.org/issues/12005) e os [slides do akr](http://www.a-k-r.org/pub/2016-09-08-rubykaigi-unified-integer.pdf). + +## [String suporta Unicode case mappings](https://bugs.ruby-lang.org/issues/10085) + +`String/Symbol#upcase/downcase/swapcase/capitalize(!)` manipula, agora, +maiúsculas e minúsculas em Unicode em vez de o fazer somente em ASCII. + +## Melhorias de desempenho + +O Ruby 2.4 contém, também, as seguintes melhorias na performance incluindo melhorias na linguagem: + +### [Array#max, Array#min](https://bugs.ruby-lang.org/issues/12172) + +`[x, y].max` e `[x, y].min` estão optimizadas para evitar a criação de um array temporário em certas condições. + +### [Regexp#match?](https://bugs.ruby-lang.org/issues/8110) + +Adicionado `Regexp#match?`, que executa um *regexp match* sem a criação +de um objecto de referência e alterando `$~` para reduzir a alocação de objectos. + +### Outras melhorias de desempenho + +* [acelerar o acesso às variáveis de instância](https://bugs.ruby-lang.org/issues/12274) + +## Depuração + +### [Thread#report_on_exception and Thread.report_on_exception](https://bugs.ruby-lang.org/issues/6647) + +O Ruby ignora exceções nas *threads*, a não ser que outra *thread* se junte a elas. +Utilizando `report_on_exception = true`, +poderá verificar se uma *thread* terminou devido a uma exceção não tratada. + +Enviem-nos *feedback* sobre qual deverá ser o valor pré-definido para `report_on_exception` +e sobre report-on-GC, que mostra um relatório quando uma *thread* é *garbage collected* sem se juntar. + +### [Deteção de *deadlocks* em *threads* mostra todas as *threads* com o seu *backtrace* e dependencias](https://bugs.ruby-lang.org/issues/8214) ola + +O Ruby tem deteção de *deadlocks* de *threads* em espera, mas relatório não +inclui informação suficiente para depuração. +A deteção de *deadlocks* no Ruby 2.4 mostra *threads* com o seu *backtrace* e *threads* dependentes. + +Experimente e desfrute a programação com o Ruby 2.4.0-preview3 e +[envie-nos o seu *feedback*](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! + +## Outras alterações importantes desde a versão 2.3 + +* Suporta OpenSSL 1.1.0 +* ext/tk foi removido de stdlib [Feature #8539](https://bugs.ruby-lang.org/issues/8539) +* XMLRPC foi removido de stdlib [Feature #12160](https://bugs.ruby-lang.org/issues/12160) + +Consultar as [Notícias](https://github.com/ruby/ruby/blob/v2_4_0_preview3/NEWS) +e o [ChangeLog](https://github.com/ruby/ruby/blob/v2_4_0_preview3/ChangeLog) +para detalhes. + +Com todas as alterações, +[2470 ficheiros alterados, 283051 inserções(+), 64902 eliminações(-)](https://github.com/ruby/ruby/compare/v2_3_0...v2_4_0_preview3) +desde o Ruby 2.3.0! + +## Download + +* + + SIZE: 12615328 bytes + SHA1: fefe49f6a7d5b642936c324f3b05aaac827355db + SHA256: 305a2b2c627990e54965393f6eb1c442eeddfa149128ccdd9f4334e2e00a2a52 + SHA512: 6602c65a7b1e3bc680acc48217108f4335e84fdd74a9cf06f2e2f9ad00a2fccacf9fa035a912bc9d5cc3f0c7a5 +e21475971dfac37b0364311ef3645f25c7ddf9 + +* + + SIZE: 15758023 bytes + SHA1: f6a6ec9f7fedad0bf4efee2e42801cc963f60dca + SHA256: c35fe752ccfabf69bf48e6aab5111c25a05938b428936f780638e2111934c9dd + SHA512: 68556d5252b6813b4c8eeba32733e940207f80694b5c5d20e69bf01eb52929ed2466496b05a895a5ad4831d430 +695e17624eb35b728b2d4d7cf02df756ac48b4 + +* + + SIZE: 9957596 bytes + SHA1: 66592b1a52f985638d639e7c3dd6bdda4e0569d0 + SHA256: b14be2b5c80bff0d6894ae2b37afdb17a968413e70236ec860f3e2d670b4c317 + SHA512: 5be20f0b2609745790c2b22f2228e69a840f63c34a117a1f95fd5436af211f0a6db2758d513d3e095a2d97c53c +80793579cb2a1e00e70cf72c487a88c4a40d33 + +* + + SIZE: 17579012 bytes + SHA1: 15d08cff952da3844ae54887b7f74b12d47c9ee2 + SHA256: b95a8f67fb7d6e852db77c5660c8878c14d68eb72c5501dac164a7e640ecb06e + SHA512: fa15e1b7ab0cab56c9a580e1b1e2fee250ee0b9c59546079675a1931a36e37131bd37d64033c75e05d8e9d9fcc +33ce7850254d3acaca2136cf3bd08b070244f0 + +## Comentários de Lançamento + +Consulte também o calendário de lançamentos e outras informações: + +[ReleaseEngineering24](https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering24) diff --git a/pt/news/_posts/2016-11-15-ruby-2-2-6-released.md b/pt/news/_posts/2016-11-15-ruby-2-2-6-released.md new file mode 100644 index 0000000000..386a537f02 --- /dev/null +++ b/pt/news/_posts/2016-11-15-ruby-2-2-6-released.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "Lançado o Ruby 2.2.6" +author: "usa" +translator: "Filipe Rocha" +date: 2016-11-15 12:00:00 +0000 +lang: pt +--- + +Foi lançado o Ruby 2.2.6. + +Esta versão inclui os novos certificados SSL para o RubyGems, e ainda a correção de 80 *bugs* desde a última versão. +Consulte o [ChangeLog](http://svn.ruby-lang.org/repos/ruby/tags/v2_2_6/ChangeLog) +para mais detalhes. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.bz2) + + SIZE: 13378616 bytes + SHA1: 67b15fcc394bb1ffb5a7e926dcd6222d8e988188 + SHA256: e845ba41ea3525aafaa4094212f1eadc57392732232b67b4394a7e0f046dddf7 + SHA512: 7a93f72d236521ac28c8a0bc0c73cf805797a8813d22e02f42c5fc05dd39f6e422817272e0db6a24c245f6f97ad4b2b412a9a47ac50156ab186df596918a5f34 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.gz) + + SIZE: 16663387 bytes + SHA1: a5aaf19694470e543c8216e3f1189e48b6dbb0da + SHA256: de8e192791cb157d610c48a9a9ff6e7f19d67ce86052feae62b82e3682cc675f + SHA512: 221ea2d18ff23e65539ee184e09ef78643e46266a0ca18ccd2cb251970a6c057b843363f7c97541b2a6e68e1c3c41a36e2ae5c8218da888e0429473504abf66d + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.xz) + + SIZE: 10487776 bytes + SHA1: 6248eb97cbb5533009ef91c100d42e72af283f16 + SHA256: 9414ecc0d09cf71c9a24e8dc82fcc87919ac7359fb08db2791d6c32bfd157339 + SHA512: a2cfde1c6df4df6b996f8d86c52b255fd43b469f8b9f0d7a81ce5f4de949a67025d8bead4ce61f03263eb6a8378b156b843f97b429208afaa1d3bfd0a7af4ef4 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.zip) + + SIZE: 18506149 bytes + SHA1: 6e207a91f13e301379d4fd37b7af847808185e41 + SHA256: 71bafc98c0b6f7b70cd79473952060e9b9fc36c8d57ee21c6b775451a16e6f9a + SHA512: dfce7a0e1c3e3d64490dfad101897e8aaacb6f1c0b193a97a38a4288532ec65464796de898685497ba35f199ed6d8eeaf9bb84d31cab0ea4cfd762466597a840 + +## Comentários de Lançamento + +Obrigado a todos os que nos ajudaram neste lançamento. + +A manutenção do Ruby 2.2, incluindo esta versão, +é baseada no *"Agreement for the Ruby stable version"* da +[Ruby Association](http://www.ruby.or.jp/). diff --git a/pt/news/_posts/2016-11-15-ruby-2-3-2-released.md b/pt/news/_posts/2016-11-15-ruby-2-3-2-released.md new file mode 100644 index 0000000000..31367adc17 --- /dev/null +++ b/pt/news/_posts/2016-11-15-ruby-2-3-2-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Lançado o Ruby 2.3.2" +author: "nagachika" +translator: "Filipe Rocha" +date: 2016-11-15 12:00:00 +0000 +lang: pt +--- + +Foi lançado o Ruby 2.3.2. + +Esta é uma versão *TEENY* da série 2.3 stable. + +Esta versão inclui uma atualização do RubyGems 2.5.2 e dos certificados ssl incluídos. + +Inclui, também, muitas correções de erros. +Consulte o [ChangeLog](http://svn.ruby-lang.org/repos/ruby/tags/v2_3_2/ChangeLog) +para detalhes. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.tar.bz2) + + SIZE: 14428572 bytes + SHA1: 7adc23d308d335486a03f0099dad2b2f44b8a4a8 + SHA256: e6ce83d46819c4120c9295ff6b36b90393dd5f6bef3bb117a06d7399c11fc7c0 + SHA512: 78699bae5b0a2382a58f9d51f7d891341f00ad3a90d9ca06b68b1b245cf5acebc3a82133e39bf6a412ac999a5c0f778a0dab177c2569ffbee085ffff6f6ec38e + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.tar.gz) + + SIZE: 17814200 bytes + SHA1: baef56b27941bfbfac6e2cd005b686d320c7f124 + SHA256: 8d7f6ca0f16d77e3d242b24da38985b7539f58dc0da177ec633a83d0c8f5b197 + SHA512: 833e76555c72fd142d89701715e6c6d838121347c4c7aa857478ba1e8f7596aa7c4fd1950046322747e46db041288747e4c1943cf9b13e064c6e85ee60d6515a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.tar.xz) + + SIZE: 11420276 bytes + SHA1: b7c780dbfc34b5baea116504ae700f68c92379a0 + SHA256: 5c78f311045ce48160092160444dec2744941a5e37d7865032978bd5bf392f0c + SHA512: f2e602281cbcfad81b8197b9555bf637a1ef34f51dbc7548e5e0c5996ab1b7db5bd9eeb902128d37eed90f39b559c569aa75f2b29fe5f65085be65a63206fd72 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.zip) + + SIZE: 19861601 bytes + SHA1: 1ac64ad7cb1ed9004101812f5b707c151570dd84 + SHA256: b8ad5b47fad22610476a4abc1c32b8e558265f9b20a5865a12836709028cbd76 + SHA512: 8a794c8eed53380b026b150b0ce176af2a6ba278d5f7a5067e27615940ae85b6af28ac7187adc5d7af04c82442271ed0d8530d9fe751810ecc6c75340f81bd03 + +## Comentários de Lançamento + +Muitos *committers*, programadores e utilizadores que forneceram relatórios de *bugs* ajudaram-nos nesta versão. +Obrigado pelas contribuições. diff --git a/pt/news/_posts/2016-11-21-ruby-2-3-3-released.md b/pt/news/_posts/2016-11-21-ruby-2-3-3-released.md new file mode 100644 index 0000000000..a899d72020 --- /dev/null +++ b/pt/news/_posts/2016-11-21-ruby-2-3-3-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Lançado o Ruby 2.3.3" +author: "nagachika" +translator: "Filipe Rocha" +date: 2016-11-21 10:30:00 +0000 +lang: pt +--- + +Foi lançado o Ruby 2.3.3. + +Esta versão inclui uma correção em `Refinements` e `Module#prepend`. +Uma utilização de `Module#refine` com `Module#prepend` na mesma classe poderá causar um `NoMethodError`. +Esta versão é uma regressão ao Ruby 2.3.2 lançado na semana passada. +Ver [[Bug #12920]](https://bugs.ruby-lang.org/issues/12920) para detalhes. + +Inclui, também, algumas correcções de erros. +Consulte o [ChangeLog](http://svn.ruby-lang.org/repos/ruby/tags/v2_3_3/ChangeLog) +para mais detalhes. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.bz2) + + SIZE: 14433673 bytes + SHA1: a8db9ce7f9110320f33b8325200e3ecfbd2b534b + SHA256: 882e6146ed26c6e78c02342835f5d46b86de95f0dc4e16543294bc656594cc5b + SHA512: 88f7782effd35bfe0b4c33140b5eb147d09b63fbb35b9c42d2200c010f387e2b70984ead1eca86569e8ec31f08b35289d440c0ca76b662dadb760f848e863d91 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.gz) + + SIZE: 17813577 bytes + SHA1: 1014ee699071aa2ddd501907d18cbe15399c997d + SHA256: 241408c8c555b258846368830a06146e4849a1d58dcaf6b14a3b6a73058115b7 + SHA512: 80d9f3aaf1d60b9b2f4a6fb8866713ce1e201a3778ef9e16f1bedb7ccda35aefdd7babffbed1560263bd95ddcfe948f0c9967b5077a89db8b2e18cacc7323975 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.xz) + + SIZE: 11444164 bytes + SHA1: f2318460606d410e80dd5c82862a93e5736534de + SHA256: 1a4fa8c2885734ba37b97ffdb4a19b8fba0e8982606db02d936e65bac07419dc + SHA512: 73dd6ed896ff52d953b153b2cab359c87953ea77521878f1ee16c1e217cc46bcb253100debe61ba631e6ffa0bc773e592d603a374508ed5189a311136ccd8d20 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.zip) + + SIZE: 19862248 bytes + SHA1: f0723ce176a829c9c33c31cdab6eca6ce0aef73e + SHA256: cbffda17fdb1bbd86dd36de093524b0a9b5c92e007fd60acac1c9804b429886e + SHA512: 5f75b77962c9d01fe591d87e20900d71a54c737e0d1198fae437729f21a9af84278a91ee73e850b5f49361b3cbf48af7a0a3ed9920cce932b58fd8e2420d5b26 + +## Comentários de Lançamento + +Muitos *committers*, programadores e utilizadores que forneceram relatórios de *bugs* ajudaram-nos nesta versão. +Obrigado pelas contribuições. From 38ab00707956fcc64454692bc251694a58f0adf2 Mon Sep 17 00:00:00 2001 From: Filipe Rocha Date: Thu, 24 Nov 2016 13:14:33 +0000 Subject: [PATCH 0082/2563] Translate September 2016 posts (pt) --- pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index 83e915e9df..d0738b382d 100644 --- a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -49,7 +49,7 @@ O Ruby 2.4 contém, também, as seguintes melhorias na performance incluindo mel ### [Array#max, Array#min](https://bugs.ruby-lang.org/issues/12172) -`[x, y].max` e `[x, y].min` estão optimizadas para evitar a criação de um array temporário em certas condições. +`[x, y].max` e `[x, y].min` estão optimizados para evitar a criação de um array temporário em certas condições. ### [Regexp#match?](https://bugs.ruby-lang.org/issues/8110) @@ -71,7 +71,7 @@ poderá verificar se uma *thread* terminou devido a uma exceção não tratada. Enviem-nos *feedback* sobre qual deverá ser o valor pré-definido para `report_on_exception` e sobre report-on-GC, que mostra um relatório quando uma *thread* é *garbage collected* sem se juntar. -### [Deteção de *deadlocks* em *threads* mostra todas as *threads* com o seu *backtrace* e dependencias](https://bugs.ruby-lang.org/issues/8214) ola +### [Deteção de *deadlocks* em *threads* mostra todas as *threads* com o seu *backtrace* e dependencias](https://bugs.ruby-lang.org/issues/8214) O Ruby tem deteção de *deadlocks* de *threads* em espera, mas relatório não inclui informação suficiente para depuração. From 1c952c4c83c231c35fe4a3b925520c583c066192 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Fri, 27 Apr 2018 18:32:26 +0700 Subject: [PATCH 0083/2563] Translate CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket (id) --- ...soned-nul-byte-unixsocket-cve-2018-8779.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 id/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md diff --git a/id/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/id/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md new file mode 100644 index 0000000000..f766f2ed40 --- /dev/null +++ b/id/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "CVE-2018-8779: Pembuatan socket yang tidak disengaja karena poisoned NUL byte pada UNIXServer dan UNIXSocket" +author: "usa" +translator: "meisyal" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: id +--- + +Ada sebuah kerentanan pembuatan *socket* yang tidak disengaja pada *method* +`UNIXServer.open` dari pustaka *socket* yang dikemas dengan Ruby. Dan ada juga +kerentanan akses *socket* yang tidak disengaja pada *method* `UNIXSocket.open`. +Kerentanan ini telah ditetapkan sebagai penanda CVE [CVE-2018-8779](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779). + +## Detail + +`UNIXServer.open` menerima *path* dari *socket* yang akan dibuat pada parameter +pertamanya. Jika *path* mengandung NUL (`\0`) *bytes*, *method* ini mengenali +*path* tersebut lengkap sebelum NUL *bytes*. Jika sebuah skrip menerima sebuah +masukan dari luar sebagai argumen dari *method* ini, penyerang dapat membuat +berkas *socket* pada *path* yang tidak diinginkan. Dan, `UNIXSocket.open` juga +menerima *path* dari *socket* yang akan dibuat pada parameter pertamanya tanpa +mengecek NUL *bytes* seperti `UNIXServer.open`. Sehingga, jika sebuah skrip +menerima masukan dari luar sebagai argumen *method* ini, penyerang dapat +menerima berkas *socket* pada *path* yang tidak diinginkan. + +Semua pengguna yang terimbas dengan rilis ini seharusnya segera memperbarui. + +## Versi Terimbas + +* Rangkaian Ruby 2.2: 2.2.9 dan sebelumnya +* Rangkaian Ruby 2.3: 2.3.6 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.3 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.0 dan sebelumnya +* Rangkaian Ruby 2.6: 2.6.0-preview1 +* Sebelum revisi *trunk* r62991 + +## Rujukan + +Terima kasih kepada [ooooooo_q](https://hackerone.com/ooooooo_q) atas laporan +masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2018-03-28 14:00:00 (UTC) From f94c575e544153bac1552fdc32f7055a24142d70 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 29 Apr 2018 14:46:50 +0200 Subject: [PATCH 0084/2563] Add comment about bundler/dep_proxy failure --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 2d702040bd..9177646196 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ cache: before_script: # https://github.com/travis-ci/travis-ci/issues/8978 - gem update --system + # Fix bundler/dep_proxy failure - gem install bundler -v 1.16.1 script: bundle exec rake ci # Notifications, used by our Gitter channel. From 6d1273d4bcef1bd4c9e8b5e366a856d95020921d Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 29 Apr 2018 14:52:25 +0200 Subject: [PATCH 0085/2563] Small style fix --- ...8-03-28-http-response-splitting-in-webrick-cve-2017-17742.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/id/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md index b5872ef46f..9bc711c61b 100644 --- a/id/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md +++ b/id/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -2,7 +2,7 @@ layout: news_post title: "CVE-2017-17742: Pemisahan respons HTTP pada WEBrick" author: "usa" -"translator": "meisyal" +translator: "meisyal" date: 2018-03-28 14:00:00 +0000 tags: security lang: id From 42285350fc4e09c756c861a72ca66972a5575efb Mon Sep 17 00:00:00 2001 From: Asayama Kodai Date: Mon, 30 Apr 2018 17:48:25 +0900 Subject: [PATCH 0086/2563] Fix typo in Japanese MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit a small typo fix before `プライベード` after `プライベート` --- .../ruby-from-other-languages/to-ruby-from-java/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/documentation/ruby-from-other-languages/to-ruby-from-java/index.md b/ja/documentation/ruby-from-other-languages/to-ruby-from-java/index.md index 9bde7833a3..1cfb741b3c 100644 --- a/ja/documentation/ruby-from-other-languages/to-ruby-from-java/index.md +++ b/ja/documentation/ruby-from-other-languages/to-ruby-from-java/index.md @@ -29,7 +29,7 @@ Javaと違って、Rubyは... あるいはRubyに同梱されているRuby Tkなどを利用します。 * クラスなどの定義の最後には`end`キーワードを使います。コードのまとまりを波括弧で括ることはしません。 * `import`の代わりに`require`を使います。 -* すべてのメンバ変数はプライベード変数です。オブジェクトの外側からはメソッドを介してそれらにアクセスします。 +* すべてのメンバ変数はプライベート変数です。オブジェクトの外側からはメソッドを介してそれらにアクセスします。 * メソッド呼び出しの括弧は基本的にオプションで、しばしば省略されます。 * 2や3.14159といった数値も含めて、すべてのものはオブジェクトです。 * 静的型チェックはありません。 From 29fbffc21260fe50fc02d25c0d02dec876df3a4e Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 30 Apr 2018 17:40:41 +0700 Subject: [PATCH 0087/2563] Mention about upgrading Rubies (id) --- ...018-02-17-multiple-vulnerabilities-in-rubygems.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/id/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md b/id/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md index 15bb4d8079..f4a8f56138 100644 --- a/id/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md +++ b/id/news/_posts/2018-02-17-multiple-vulnerabilities-in-rubygems.md @@ -8,7 +8,7 @@ tags: security lang: id --- -Ada beberapa kerentanan pada RubyGems yang di-*bundle* oleh Ruby. +Ada beberapa kerentanan pada RubyGems yang dikemas dengan Ruby. Ini [dilaporkan pada blog resmi RubyGems](http://blog.rubygems.org/2018/02/15/2.7.6-released.html). ## Detail @@ -23,7 +23,8 @@ Kerentanan berikut ini telah dilaporkan. * Menangani kerentanan XSS pada halaman awal atribut ketika ditampilkan melalui gem *server*. * Mencegah *Path Traversal* selama pemasangan gem. -Ini sangat direkomendasikan kepada pengguna Ruby untuk mengambil salah satu solusi berikut segera mungkin. +Ini sangat direkomendasikan kepada pengguna Ruby untuk memperbarui Ruby atau +mengambil salah satu solusi berikut segera mungkin. ## Versi Terimbas @@ -35,8 +36,10 @@ Ini sangat direkomendasikan kepada pengguna Ruby untuk mengambil salah satu solu ## Solusi -RubyGems 2.7.6 atau setelahnya berisi perbaikan dari kerentanan di atas, sehingga -perbarui RubyGems ke versi terbaru. +Pada prinsipnya, Anda harus memperbarui Ruby ke versi terbaru. +RubyGems 2.7.6 atau setelahnya berisi perbaikan dari kerentanan di atas, +sehingga perbarui RubyGems ke versi terbaru jika Anda tidak dapat memperbarui +Ruby itu sendiri. ``` gem update --system @@ -58,3 +61,4 @@ Laporan ini didasarkan pada [blog resmi RubyGems](http://blog.rubygems.org/2018/ ## Riwayat * Semula dipublikasikan pada 2018-02-17 03:00:00 UTC +* Sebut memperbarui Ruby pada 2018-03-29 01:00:00 UTC From 49b072ccd7b6610f53d486b9f5885036c31dc3ff Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 30 Apr 2018 20:28:43 +0200 Subject: [PATCH 0088/2563] List Ruby 2.3.7 under security maintenance on downloads page Ruby 2.3.7 is in the security maintenance phase for some time now, see `_data/branches.yml', but not listed as such on the downloads page. --- _data/downloads.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 7dbcc41718..a4d91d5796 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -10,11 +10,11 @@ stable: - 2.5.1 - 2.4.4 - - 2.3.7 # optional security_maintenance: + - 2.3.7 - 2.2.10 # optional From d961efbb04953994776dcfd722a0d07e480c5bd6 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 9 May 2018 21:17:34 +0200 Subject: [PATCH 0089/2563] Fix time zone offset for post dates (pl, pt) --- pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 2 +- pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 2 +- pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 2 +- pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index e6a1f41513..ab167aafbe 100644 --- a/pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Wydano Ruby 2.4.0-preview1" author: "naruse" translator: 'Michał "Quintasan" Zając' -date: 2016-06-20 18:00:00 +0900 +date: 2016-06-20 09:00:00 +0000 lang: pl --- diff --git a/pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 81c538ea7d..bbc216721b 100644 --- a/pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Lançado Ruby 2.4.0-preview1" author: "naruse" translator: "jcserracampos" -date: 2016-06-20 18:00:00 +0900 +date: 2016-06-20 09:00:00 +0000 lang: pt --- diff --git a/pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index 527f54c522..60ffa235e4 100644 --- a/pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Lançado Ruby 2.4.0-preview2" author: "naruse" translator: "jcserracampos" -date: 2016-09-08 18:00:00 +0900 +date: 2016-09-08 09:00:00 +0000 lang: pt --- diff --git a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index d0738b382d..65d5c61088 100644 --- a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Lançado o Ruby 2.4.0-preview3" author: "naruse" translator: "Filipe Rocha" -date: 2016-11-09 18:00:00 +0900 +date: 2016-11-09 09:00:00 +0000 lang: pt --- From dec2871e214a7017df2536e56cdb8338042614a1 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 9 May 2018 21:17:40 +0200 Subject: [PATCH 0090/2563] Remove trailing whitespace (en, es) --- ...ttp-response-splitting-in-webrick-cve-2017-17742.md | 2 +- ...03-28-large-request-dos-in-webrick-cve-2018-8777.md | 2 +- es/news/_posts/2017-12-14-ruby-2-3-6-released.md | 4 ++-- es/news/_posts/2017-12-14-ruby-2-4-3-released.md | 2 +- es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md | 10 +++++----- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md index 0ff476ae11..dfcb24b912 100644 --- a/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md +++ b/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -12,7 +12,7 @@ This vulnerability has been assigned the CVE identifier [CVE-2017-17742](http:// ## Details -If a script accepts an external input and outputs it without modification as a part of HTTP responses, an attacker can use newline characters to deceive the clients that the HTTP response header is stopped at there, and can inject fake HTTP responses after the newline characters to show malicious contents to the clients. +If a script accepts an external input and outputs it without modification as a part of HTTP responses, an attacker can use newline characters to deceive the clients that the HTTP response header is stopped at there, and can inject fake HTTP responses after the newline characters to show malicious contents to the clients. All users running an affected release should upgrade immediately. diff --git a/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md index e863239b3d..36be898b40 100644 --- a/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md +++ b/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -7,7 +7,7 @@ tags: security lang: en --- -There is a out-of-memory DoS vulnerability with a large request in WEBrick bundled with Ruby. +There is a out-of-memory DoS vulnerability with a large request in WEBrick bundled with Ruby. This vulnerability has been assigned the CVE identifier [CVE-2018-8777](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8777). ## Details diff --git a/es/news/_posts/2017-12-14-ruby-2-3-6-released.md b/es/news/_posts/2017-12-14-ruby-2-3-6-released.md index a2e11891fb..ef866327fe 100644 --- a/es/news/_posts/2017-12-14-ruby-2-3-6-released.md +++ b/es/news/_posts/2017-12-14-ruby-2-3-6-released.md @@ -9,8 +9,8 @@ lang: es Ruby 2.3.6 ha sido publicado. -Esta versión incluye cerca de 10 correcciones a fallas posteriores a la -versión anterior, y también incluya diversas correcciones a fallas de +Esta versión incluye cerca de 10 correcciones a fallas posteriores a la +versión anterior, y también incluya diversas correcciones a fallas de seguridad. Por favor revise los temas siguientes para ver más detalles. diff --git a/es/news/_posts/2017-12-14-ruby-2-4-3-released.md b/es/news/_posts/2017-12-14-ruby-2-4-3-released.md index 9faba4e183..fdd5f985a0 100644 --- a/es/news/_posts/2017-12-14-ruby-2-4-3-released.md +++ b/es/news/_posts/2017-12-14-ruby-2-4-3-released.md @@ -48,6 +48,6 @@ Ver más detalles en la [bitácora de commits](https://github.com/ruby/ruby/comp ## Comentario de la versión -Muchas personas que contribuyeron, desarrolladores y usuarios que proveyeron reportes de fallas +Muchas personas que contribuyeron, desarrolladores y usuarios que proveyeron reportes de fallas nos ayudaron a lograr esta versión. Gracias por sus contribuciones. diff --git a/es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md b/es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md index cad9ea1300..901e98cf3e 100644 --- a/es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md +++ b/es/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md @@ -14,10 +14,10 @@ Introduce algunas características nuevas y mejoras al desempeño, por ejemplo: ## Nuevas características -* Imprimir trazas y mensajes de error en orden inverso si no se ha +* Imprimir trazas y mensajes de error en orden inverso si no se ha cambiado STDERR y es un tty. [Feature #8661] [experimental] -* Se ha eliminado la búsqueda de constantes en el nivel superior +* Se ha eliminado la búsqueda de constantes en el nivel superior cuando no se encuentran en una clase. [Feature #11547] * rescue/else/ensure se permiten al interior de bloques do/end. [Feature #12906] @@ -26,13 +26,13 @@ Introduce algunas características nuevas y mejoras al desempeño, por ejemplo: ## Mejoras en desempeño -* Instrumentación dinámica para ganchos TracePoint en lugar de usar +* Instrumentación dinámica para ganchos TracePoint en lugar de usar la instrucción "trace" para evitar costos. [Feature #14104] * El desempeño al pasar bloques usando parámetros de bloque se ha mejorado empleando localización de Proc retardada. [Feature #14045] -* Se ha vuelto a escribir mutex para que sea más pequeño y +* Se ha vuelto a escribir mutex para que sea más pequeño y veloz. [Feature #13517] * SecureRandom ahora prefiere fuentes proveidas por el sistema operativo @@ -47,7 +47,7 @@ Introduce algunas características nuevas y mejoras al desempeño, por ejemplo: * Actualización a RubyGems 2.7.0. * Actualización a RDoc 6.0.0. * Cambiado el analizador léxico de IRB por uno basado en Ripper; - esto mejora considerablemente la velocidad de generación de la + esto mejora considerablemente la velocidad de generación de la documentación. [https://github.com/ruby/rdoc/pull/512] * Resuletas muchas fallas de la última docena de años aproximadamente. * Soporta las nuevas sintaxis de Ruby de los últimos años. From baf51a185abc3e50670f4465ab964131fefe8d48 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 9 May 2018 21:17:44 +0200 Subject: [PATCH 0091/2563] Add newline at end of file (pt, vi, zh_cn) --- pt/news/_posts/2017-09-14-ruby-2-2-8-released.md | 2 +- pt/news/_posts/2017-09-14-ruby-2-3-5-released.md | 2 +- pt/news/_posts/2017-09-14-ruby-2-4-2-released.md | 2 +- .../_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md | 2 +- ...brick-basic-auth-escape-sequence-injection-cve-2017-10784.md | 2 +- pt/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md | 2 +- vi/news/_posts/2013-11-22-ruby-1-9-3-p484-is-released.md | 2 +- vi/news/_posts/2013-11-22-ruby-2-0-0-p353-is-released.md | 2 +- vi/news/_posts/2014-01-10-ruby-1-9-3-will-end-on-2015.md | 2 +- vi/news/_posts/2014-05-16-ruby-1-9-3-p547-released.md | 2 +- .../2015-04-13-ruby-openssl-hostname-matching-vulnerability.md | 2 +- vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 2 +- zh_cn/community/conferences/index.md | 2 +- zh_cn/community/user-groups/index.md | 2 +- zh_cn/news/_posts/2014-02-24-ruby-2-0-0-p451-is-released.md | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pt/news/_posts/2017-09-14-ruby-2-2-8-released.md b/pt/news/_posts/2017-09-14-ruby-2-2-8-released.md index b4973773e1..0dbf31d6c8 100644 --- a/pt/news/_posts/2017-09-14-ruby-2-2-8-released.md +++ b/pt/news/_posts/2017-09-14-ruby-2-2-8-released.md @@ -54,4 +54,4 @@ Recomendamos que você comece planejando a migração para versões mais novas d ## Comentário de Versão -Obrigado a todos que ajudaram com esta versão, especialmente, com informe de vulnerabilidades. \ No newline at end of file +Obrigado a todos que ajudaram com esta versão, especialmente, com informe de vulnerabilidades. diff --git a/pt/news/_posts/2017-09-14-ruby-2-3-5-released.md b/pt/news/_posts/2017-09-14-ruby-2-3-5-released.md index 87b3ca690a..25760a1b5e 100644 --- a/pt/news/_posts/2017-09-14-ruby-2-3-5-released.md +++ b/pt/news/_posts/2017-09-14-ruby-2-3-5-released.md @@ -65,4 +65,4 @@ Arrumaremos este problema com a próxima versão, mas se você estiver enfrentan Obrigado a todos que ajudaram com esta versão. -A manuntenção de Ruby 2.3, incluindo esta versão, é baseado no “Agreement for the Ruby stable version” da _Ruby Association_. \ No newline at end of file +A manuntenção de Ruby 2.3, incluindo esta versão, é baseado no “Agreement for the Ruby stable version” da _Ruby Association_. diff --git a/pt/news/_posts/2017-09-14-ruby-2-4-2-released.md b/pt/news/_posts/2017-09-14-ruby-2-4-2-released.md index 11ce39312d..a7e3e06fbe 100644 --- a/pt/news/_posts/2017-09-14-ruby-2-4-2-released.md +++ b/pt/news/_posts/2017-09-14-ruby-2-4-2-released.md @@ -63,4 +63,4 @@ Arrumaremos este problema com a próxima versão, mas se você estiver enfrentan ## Comentário de Versão Muitos contribuidores, desenvolvedores e usuários que forneceram relatórios de _bug_ que nos ajudaram a fazer esta versão. -Obrigado por suas contribuições. \ No newline at end of file +Obrigado por suas contribuições. diff --git a/pt/news/_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md b/pt/news/_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md index 0b8b48bf0a..2fe0d996f2 100644 --- a/pt/news/_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md +++ b/pt/news/_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md @@ -31,4 +31,4 @@ Obrigado [aerodudrizzt](https://hackerone.com/aerodudrizzt) por reportar este pr ## Histórico -* Originalmente publicado em 14 de setembro de 2017 12:00:00 (UTC) \ No newline at end of file +* Originalmente publicado em 14 de setembro de 2017 12:00:00 (UTC) diff --git a/pt/news/_posts/2017-09-14-webrick-basic-auth-escape-sequence-injection-cve-2017-10784.md b/pt/news/_posts/2017-09-14-webrick-basic-auth-escape-sequence-injection-cve-2017-10784.md index 5a27bd24b5..8af9ec2bb7 100644 --- a/pt/news/_posts/2017-09-14-webrick-basic-auth-escape-sequence-injection-cve-2017-10784.md +++ b/pt/news/_posts/2017-09-14-webrick-basic-auth-escape-sequence-injection-cve-2017-10784.md @@ -33,4 +33,4 @@ Obrigado Yusuke Endoh por reportar este problema. ## History -* Originalmente publicado em 14 de setembro de 2017 12:00:00 (UTC) \ No newline at end of file +* Originalmente publicado em 14 de setembro de 2017 12:00:00 (UTC) diff --git a/pt/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md b/pt/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md index 4da16b1349..d4eb3a391e 100644 --- a/pt/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md +++ b/pt/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md @@ -75,4 +75,4 @@ Aproveite Ruby 2.5.0-preview1! SIZE: 11383812 bytes SHA1: eef2901270c235a97d132ebcfb275f130ba368fd SHA256: c2f518eb04b38bdd562ba5611abd2521248a1608fc466368563dd794ddeddd09 - SHA512: 1153a1fc4eb1a9556af2d392743998eb9cffd2a07e4648bf124dea1044bb378c7f4534dd87c0d30563ec438d2995ba1832faaaf4261db5d0840ca32ae7ea65d9 \ No newline at end of file + SHA512: 1153a1fc4eb1a9556af2d392743998eb9cffd2a07e4648bf124dea1044bb378c7f4534dd87c0d30563ec438d2995ba1832faaaf4261db5d0840ca32ae7ea65d9 diff --git a/vi/news/_posts/2013-11-22-ruby-1-9-3-p484-is-released.md b/vi/news/_posts/2013-11-22-ruby-1-9-3-p484-is-released.md index 4ccd89ce38..1d2ef2557a 100644 --- a/vi/news/_posts/2013-11-22-ruby-1-9-3-p484-is-released.md +++ b/vi/news/_posts/2013-11-22-ruby-1-9-3-p484-is-released.md @@ -43,4 +43,4 @@ Bạn có thể tải bản phát hành này tại: ## Chú thích Tôi muốn cảm ơn các lập trình viên, các thành viên tham gia kiểm tra -và thông báo lỗi đã giúp tôi hoàn thành ấn bản này. \ No newline at end of file +và thông báo lỗi đã giúp tôi hoàn thành ấn bản này. diff --git a/vi/news/_posts/2013-11-22-ruby-2-0-0-p353-is-released.md b/vi/news/_posts/2013-11-22-ruby-2-0-0-p353-is-released.md index 7ed0ea0538..e033605929 100644 --- a/vi/news/_posts/2013-11-22-ruby-2-0-0-p353-is-released.md +++ b/vi/news/_posts/2013-11-22-ruby-2-0-0-p353-is-released.md @@ -43,4 +43,4 @@ Bạn có thể tải bản phát hành này tại: ## Chú thích Tôi muốn cảm ơn các lập trình viên, các thành viên tham gia kiểm tra -và thông báo lỗi đã giúp tôi hoàn thành ấn bản này. \ No newline at end of file +và thông báo lỗi đã giúp tôi hoàn thành ấn bản này. diff --git a/vi/news/_posts/2014-01-10-ruby-1-9-3-will-end-on-2015.md b/vi/news/_posts/2014-01-10-ruby-1-9-3-will-end-on-2015.md index 948ed113d4..ea6e28f6ea 100644 --- a/vi/news/_posts/2014-01-10-ruby-1-9-3-will-end-on-2015.md +++ b/vi/news/_posts/2014-01-10-ruby-1-9-3-will-end-on-2015.md @@ -14,4 +14,4 @@ Hiện nhánh này đang ở chế độ bảo trì, và sẽ tiếp tục cho Sau 23/02/2014, chúng tôi sẽ chỉ cung cấp vá bảo mật cho đến hết 23/02/2015, sau đó toàn bộ hỗ trợ cho 1.9.3 sẽ chấm dứt. -Chúng tôi khuyến khích bạn nâng lên Ruby 2.1.0 hoặc 2.0.0 càng sớm càng tốt. \ No newline at end of file +Chúng tôi khuyến khích bạn nâng lên Ruby 2.1.0 hoặc 2.0.0 càng sớm càng tốt. diff --git a/vi/news/_posts/2014-05-16-ruby-1-9-3-p547-released.md b/vi/news/_posts/2014-05-16-ruby-1-9-3-p547-released.md index 3635eba8ab..87d2cae60d 100644 --- a/vi/news/_posts/2014-05-16-ruby-1-9-3-p547-released.md +++ b/vi/news/_posts/2014-05-16-ruby-1-9-3-p547-released.md @@ -49,4 +49,4 @@ Lần phát hành này bao gồm hai sự thay đổi: ## Chú thích của lần phát hành -Cảm ơn bạn đã báo cáo. \ No newline at end of file +Cảm ơn bạn đã báo cáo. diff --git a/vi/news/_posts/2015-04-13-ruby-openssl-hostname-matching-vulnerability.md b/vi/news/_posts/2015-04-13-ruby-openssl-hostname-matching-vulnerability.md index bd1648ba6e..07ac8aeae9 100644 --- a/vi/news/_posts/2015-04-13-ruby-openssl-hostname-matching-vulnerability.md +++ b/vi/news/_posts/2015-04-13-ruby-openssl-hostname-matching-vulnerability.md @@ -50,4 +50,4 @@ Chúng tôi xin gửi lời cảm ơn đến Tony Arcieri, Jeffrey Walton, và S [CVE-2015-1855]: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1855 [RFC-6125]: https://tools.ietf.org/html/rfc6125 [RFC-5280]: https://tools.ietf.org/html/rfc5280 -[Bug-9644]: https://bugs.ruby-lang.org/issues/9644 \ No newline at end of file +[Bug-9644]: https://bugs.ruby-lang.org/issues/9644 diff --git a/vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 016bc2d706..bfce696916 100644 --- a/vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -112,4 +112,4 @@ Với lần cập nhật này, [1140 files đã được cập nhật, bao gồm Xem thêm thông tin về kế hoạch release và các nội dung khác ở đây: -[ReleaseEngineering24](https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering24) \ No newline at end of file +[ReleaseEngineering24](https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering24) diff --git a/zh_cn/community/conferences/index.md b/zh_cn/community/conferences/index.md index 8ec3eb3c08..d210e37f7c 100644 --- a/zh_cn/community/conferences/index.md +++ b/zh_cn/community/conferences/index.md @@ -82,4 +82,4 @@ Ruby 相关的内容都在逐年增加。许多研讨会都以 [Ruby on Rails][1 [17]: http://ruby.onales.com/ [18]: http://burlingtonrubyconference.com [19]: http://goruco.com/ -[20]: http://www.deccanrubyconf.org/ \ No newline at end of file +[20]: http://www.deccanrubyconf.org/ diff --git a/zh_cn/community/user-groups/index.md b/zh_cn/community/user-groups/index.md index 7350002640..248b0280c4 100644 --- a/zh_cn/community/user-groups/index.md +++ b/zh_cn/community/user-groups/index.md @@ -28,4 +28,4 @@ Ruby 的,他们最典型的特征是有月度聚会、邮件列表、 web 站 [1]: http://www.rubyusergroups.org/ -[2]: http://ruby.meetup.com \ No newline at end of file +[2]: http://ruby.meetup.com diff --git a/zh_cn/news/_posts/2014-02-24-ruby-2-0-0-p451-is-released.md b/zh_cn/news/_posts/2014-02-24-ruby-2-0-0-p451-is-released.md index 2c3d56aa57..55e29dc230 100644 --- a/zh_cn/news/_posts/2014-02-24-ruby-2-0-0-p451-is-released.md +++ b/zh_cn/news/_posts/2014-02-24-ruby-2-0-0-p451-is-released.md @@ -37,4 +37,4 @@ lang: zh_cn ## 发布评论 -许多贡献缺陷报告的代码提交者、开发者和用户帮助我发布了这个版本。感谢他们的贡献。 \ No newline at end of file +许多贡献缺陷报告的代码提交者、开发者和用户帮助我发布了这个版本。感谢他们的贡献。 From b908938a3ab41195884f723d8730be9058b995d1 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 9 May 2018 21:17:49 +0200 Subject: [PATCH 0092/2563] Fix 'translator' variable in news post (pt) --- pt/news/_posts/2016-07-25-ruby-prize-2016.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt/news/_posts/2016-07-25-ruby-prize-2016.md b/pt/news/_posts/2016-07-25-ruby-prize-2016.md index d433aa87c1..2304248dda 100644 --- a/pt/news/_posts/2016-07-25-ruby-prize-2016.md +++ b/pt/news/_posts/2016-07-25-ruby-prize-2016.md @@ -2,7 +2,7 @@ layout: news_post title: "Nomeações para Ruby Prize 2016 estão abertas" author: "Ruby Association" -translato: "jcserracampos" +translator: "jcserracampos" date: 2016-07-25 12:00:00 +0000 lang: pt --- From a817ff2f862f3c9ef5b7d827770e2ce91dfca7d3 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 9 May 2018 21:17:52 +0200 Subject: [PATCH 0093/2563] Add translator variable to news posts (en, ja) --- en/news/_posts/2016-07-25-ruby-prize-2016.md | 1 + .../_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md | 1 + ...18-03-28-http-response-splitting-in-webrick-cve-2017-17742.md | 1 + .../2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md | 1 + en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md | 1 + .../2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md | 1 + ...-directory-creation-with-directory-traversal-cve-2018-6914.md | 1 + ja/news/_posts/2013-05-30-rubyist-magazine-0042-published.md | 1 + ja/news/_posts/2013-09-30-rubyist-magazine-0044-published.md | 1 + ja/news/_posts/2013-12-21-rubyist-magazine-0045-published.md | 1 + ja/news/_posts/2014-04-04-rubyist-magazine-0046-published.md | 1 + ja/news/_posts/2014-06-30-rubyist-magazine-0047-published.md | 1 + ja/news/_posts/2014-11-13-ruby-1-9-3-p551-is-released.md | 1 + ja/news/_posts/2014-11-13-ruby-2-0-0-p598-is-released.md | 1 + ja/news/_posts/2014-11-13-ruby-2-1-5-is-released.md | 1 + ja/news/_posts/2014-12-26-mac-mini.md | 1 + ja/news/_posts/2015-02-25-ruby-2-0-0-p643-is-released.md | 1 + ja/news/_posts/2015-05-10-rubyist-magazine-0050-published.md | 1 + ja/news/_posts/2015-06-30-ruby-prize-2015.md | 1 + ja/news/_posts/2015-09-06-rubyist-magazine-0051-published.md | 1 + ja/news/_posts/2015-12-06-rubyist-magazine-0052-published.md | 1 + ja/news/_posts/2016-04-03-rubyist-magazine-0053-published.md | 1 + ja/news/_posts/2016-07-25-ruby-prize-2016.md | 1 + ja/news/_posts/2016-08-22-rubyist-magazine-0054-published.md | 1 + ja/news/_posts/2017-03-26-rubyist-magazine-0055-published.md | 1 + ja/news/_posts/2017-08-27-rubyist-magazine-0056-published.md | 1 + ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md | 1 + .../_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md | 1 + ...18-03-28-http-response-splitting-in-webrick-cve-2017-17742.md | 1 + .../2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md | 1 + ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md | 1 + .../2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md | 1 + ...-directory-creation-with-directory-traversal-cve-2018-6914.md | 1 + 33 files changed, 33 insertions(+) diff --git a/en/news/_posts/2016-07-25-ruby-prize-2016.md b/en/news/_posts/2016-07-25-ruby-prize-2016.md index c904a6e8d4..dd37e4f231 100644 --- a/en/news/_posts/2016-07-25-ruby-prize-2016.md +++ b/en/news/_posts/2016-07-25-ruby-prize-2016.md @@ -2,6 +2,7 @@ layout: news_post title: "Ruby Prize 2016 nominations are now open" author: "Ruby Association" +translator: date: 2016-07-25 12:00:00 +0000 lang: en --- diff --git a/en/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/en/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md index b377cce901..1a6dce6524 100644 --- a/en/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md +++ b/en/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-8778: Buffer under-read in String#unpack" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: en diff --git a/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md index dfcb24b912..7e2b449b7e 100644 --- a/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md +++ b/en/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2017-17742: HTTP response splitting in WEBrick" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: en diff --git a/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md index 36be898b40..de1f84b782 100644 --- a/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md +++ b/en/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-8777: DoS by large request in WEBrick" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: en diff --git a/en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md index 5514bab014..db5110a454 100644 --- a/en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md +++ b/en/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: en diff --git a/en/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/en/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md index d0fefa4b7b..107c41e393 100644 --- a/en/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md +++ b/en/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: en diff --git a/en/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/en/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md index 8051d47698..ef992ed3e7 100644 --- a/en/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md +++ b/en/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: en diff --git a/ja/news/_posts/2013-05-30-rubyist-magazine-0042-published.md b/ja/news/_posts/2013-05-30-rubyist-magazine-0042-published.md index 020dca2e5a..526a113bc5 100644 --- a/ja/news/_posts/2013-05-30-rubyist-magazine-0042-published.md +++ b/ja/news/_posts/2013-05-30-rubyist-magazine-0042-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0042号 発行" author: "oshow" +translator: date: 2013-05-30 00:40:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2013-09-30-rubyist-magazine-0044-published.md b/ja/news/_posts/2013-09-30-rubyist-magazine-0044-published.md index 0724ca8496..97103f6e41 100644 --- a/ja/news/_posts/2013-09-30-rubyist-magazine-0044-published.md +++ b/ja/news/_posts/2013-09-30-rubyist-magazine-0044-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0044号 発行" author: "sunaot" +translator: date: 2013-09-30 14:30:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2013-12-21-rubyist-magazine-0045-published.md b/ja/news/_posts/2013-12-21-rubyist-magazine-0045-published.md index 68c7cbfccb..fee307618f 100644 --- a/ja/news/_posts/2013-12-21-rubyist-magazine-0045-published.md +++ b/ja/news/_posts/2013-12-21-rubyist-magazine-0045-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0045号 発行" author: "hokkai7go" +translator: date: 2013-12-21 12:00:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2014-04-04-rubyist-magazine-0046-published.md b/ja/news/_posts/2014-04-04-rubyist-magazine-0046-published.md index 94ac8daf02..e9710e4da6 100644 --- a/ja/news/_posts/2014-04-04-rubyist-magazine-0046-published.md +++ b/ja/news/_posts/2014-04-04-rubyist-magazine-0046-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0046号 発行" author: "sunaot" +translator: date: 2014-04-04 19:50:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2014-06-30-rubyist-magazine-0047-published.md b/ja/news/_posts/2014-06-30-rubyist-magazine-0047-published.md index c958fa5b2d..8e554a0b46 100644 --- a/ja/news/_posts/2014-06-30-rubyist-magazine-0047-published.md +++ b/ja/news/_posts/2014-06-30-rubyist-magazine-0047-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0047号 発行" author: "sunaot" +translator: date: 2014-06-30 19:30:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2014-11-13-ruby-1-9-3-p551-is-released.md b/ja/news/_posts/2014-11-13-ruby-1-9-3-p551-is-released.md index 44c38953cc..6d0c1f72c5 100644 --- a/ja/news/_posts/2014-11-13-ruby-1-9-3-p551-is-released.md +++ b/ja/news/_posts/2014-11-13-ruby-1-9-3-p551-is-released.md @@ -2,6 +2,7 @@ layout: news_post title: "Ruby 1.9.3-p551 リリース" author: "usa" +translator: date: 2014-11-13 12:00:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2014-11-13-ruby-2-0-0-p598-is-released.md b/ja/news/_posts/2014-11-13-ruby-2-0-0-p598-is-released.md index 0f413b3f89..3a0f8ebb36 100644 --- a/ja/news/_posts/2014-11-13-ruby-2-0-0-p598-is-released.md +++ b/ja/news/_posts/2014-11-13-ruby-2-0-0-p598-is-released.md @@ -2,6 +2,7 @@ layout: news_post title: "Ruby 2.0.0-p598 リリース" author: "usa" +translator: date: 2014-11-13 12:00:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2014-11-13-ruby-2-1-5-is-released.md b/ja/news/_posts/2014-11-13-ruby-2-1-5-is-released.md index 6f3066668f..ce1eb636aa 100644 --- a/ja/news/_posts/2014-11-13-ruby-2-1-5-is-released.md +++ b/ja/news/_posts/2014-11-13-ruby-2-1-5-is-released.md @@ -2,6 +2,7 @@ layout: news_post title: "Ruby 2.1.5 リリース" author: "nagachika" +translator: date: 2014-11-13 12:00:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2014-12-26-mac-mini.md b/ja/news/_posts/2014-12-26-mac-mini.md index 4921b43434..2a0e57a375 100644 --- a/ja/news/_posts/2014-12-26-mac-mini.md +++ b/ja/news/_posts/2014-12-26-mac-mini.md @@ -2,6 +2,7 @@ layout: news_post title: "Ruby インタプリタ開発用 OS X 環境の追加" author: "ko1" +translator: date: 2014-12-26 15:54:29 +0000 lang: ja --- diff --git a/ja/news/_posts/2015-02-25-ruby-2-0-0-p643-is-released.md b/ja/news/_posts/2015-02-25-ruby-2-0-0-p643-is-released.md index 5ded8bc532..d261a70451 100644 --- a/ja/news/_posts/2015-02-25-ruby-2-0-0-p643-is-released.md +++ b/ja/news/_posts/2015-02-25-ruby-2-0-0-p643-is-released.md @@ -2,6 +2,7 @@ layout: news_post title: "Ruby 2.0.0-p643 リリース" author: "usa" +translator: date: 2015-02-25 12:00:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2015-05-10-rubyist-magazine-0050-published.md b/ja/news/_posts/2015-05-10-rubyist-magazine-0050-published.md index 31133bb493..f7a97e8658 100644 --- a/ja/news/_posts/2015-05-10-rubyist-magazine-0050-published.md +++ b/ja/news/_posts/2015-05-10-rubyist-magazine-0050-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0050号 発行" author: "gunjisatoshi" +translator: date: 2015-05-10 13:30:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2015-06-30-ruby-prize-2015.md b/ja/news/_posts/2015-06-30-ruby-prize-2015.md index 19c9f7a89e..4d6c2f6912 100644 --- a/ja/news/_posts/2015-06-30-ruby-prize-2015.md +++ b/ja/news/_posts/2015-06-30-ruby-prize-2015.md @@ -2,6 +2,7 @@ layout: news_post title: "Ruby Prize 2015 推薦受付開始" author: "Koji Shimada" +translator: date: 2015-06-30 19:15:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2015-09-06-rubyist-magazine-0051-published.md b/ja/news/_posts/2015-09-06-rubyist-magazine-0051-published.md index 2dfd479487..e5bf046530 100644 --- a/ja/news/_posts/2015-09-06-rubyist-magazine-0051-published.md +++ b/ja/news/_posts/2015-09-06-rubyist-magazine-0051-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0051号 発行" author: "gunjisatoshi" +translator: date: 2015-09-06 13:30:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2015-12-06-rubyist-magazine-0052-published.md b/ja/news/_posts/2015-12-06-rubyist-magazine-0052-published.md index 73ad60fd2f..8b0589bd2c 100644 --- a/ja/news/_posts/2015-12-06-rubyist-magazine-0052-published.md +++ b/ja/news/_posts/2015-12-06-rubyist-magazine-0052-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0052号 発行" author: "miyohide" +translator: date: 2015-12-06 11:45:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2016-04-03-rubyist-magazine-0053-published.md b/ja/news/_posts/2016-04-03-rubyist-magazine-0053-published.md index b63d84de13..3a318935db 100644 --- a/ja/news/_posts/2016-04-03-rubyist-magazine-0053-published.md +++ b/ja/news/_posts/2016-04-03-rubyist-magazine-0053-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0053号 発行" author: "kurotaky" +translator: date: 2016-04-03 18:50:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2016-07-25-ruby-prize-2016.md b/ja/news/_posts/2016-07-25-ruby-prize-2016.md index 536da0c852..b5b89e8b1f 100644 --- a/ja/news/_posts/2016-07-25-ruby-prize-2016.md +++ b/ja/news/_posts/2016-07-25-ruby-prize-2016.md @@ -2,6 +2,7 @@ layout: news_post title: "Ruby Prize 2016 推薦受付開始" author: "Ruby Association" +translator: date: 2016-07-25 12:00:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2016-08-22-rubyist-magazine-0054-published.md b/ja/news/_posts/2016-08-22-rubyist-magazine-0054-published.md index c9692b29e3..7bc39285b4 100644 --- a/ja/news/_posts/2016-08-22-rubyist-magazine-0054-published.md +++ b/ja/news/_posts/2016-08-22-rubyist-magazine-0054-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0054号 発行" author: "miyohide" +translator: date: 2016-08-22 21:22:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2017-03-26-rubyist-magazine-0055-published.md b/ja/news/_posts/2017-03-26-rubyist-magazine-0055-published.md index 02d08083bb..7e5c3f861c 100644 --- a/ja/news/_posts/2017-03-26-rubyist-magazine-0055-published.md +++ b/ja/news/_posts/2017-03-26-rubyist-magazine-0055-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0055号 発行" author: "miyohide" +translator: date: 2017-03-26 23:00:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2017-08-27-rubyist-magazine-0056-published.md b/ja/news/_posts/2017-08-27-rubyist-magazine-0056-published.md index 79574b1791..b65ab649c7 100644 --- a/ja/news/_posts/2017-08-27-rubyist-magazine-0056-published.md +++ b/ja/news/_posts/2017-08-27-rubyist-magazine-0056-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0056号 発行" author: "miyohide" +translator: date: 2017-08-27 15:55:00 +0000 lang: ja --- diff --git a/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md b/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md index 4c04960955..6b676f00ce 100644 --- a/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md +++ b/ja/news/_posts/2018-02-11-rubyist-magazine-0057-published.md @@ -2,6 +2,7 @@ layout: news_post title: "Rubyist Magazine 0057号 発行" author: "miyohide" +translator: date: 2018-02-11 17:32:15 +0000 lang: ja --- diff --git a/ja/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/ja/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md index 41b6ddaa15..ef6442621c 100644 --- a/ja/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md +++ b/ja/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-8778: String#unpack における範囲外読み込みの脆弱性について" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: ja diff --git a/ja/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/ja/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md index 3c16f2b300..03b8bcd158 100644 --- a/ja/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md +++ b/ja/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2017-17742: WEBrick における HTTP レスポンス偽装の脆弱性について" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: ja diff --git a/ja/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/ja/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md index 1306c72fd7..d8c8556d59 100644 --- a/ja/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md +++ b/ja/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-8777: WEBrick における巨大リクエストにともなう DoS 脆弱性について" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: ja diff --git a/ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md index 48ecb499ce..9516f1dd6a 100644 --- a/ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md +++ b/ja/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-8780: Dir において NUL 文字挿入により意図しないディレクトリにアクセスされうる脆弱性について" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: ja diff --git a/ja/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/ja/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md index 049de16944..7290caabe7 100644 --- a/ja/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md +++ b/ja/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-8779: UNIX ドメインソケットにおいて NUL 文字挿入により意図しないソケットにアクセスされうる脆弱性について" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: ja diff --git a/ja/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/ja/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md index de4dd60310..f2b1585808 100644 --- a/ja/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md +++ b/ja/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -2,6 +2,7 @@ layout: news_post title: "CVE-2018-6914: Tempfile および Tmpdir でのディレクトリトラバーサルを伴う意図しないファイルまたはディレクトリ作成の脆弱性について" author: "usa" +translator: date: 2018-03-28 14:00:00 +0000 tags: security lang: ja From 03cbf4bc136b3d2e792cd9a94e9ebf0acdf176c0 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 27 Dec 2017 14:05:00 +0100 Subject: [PATCH 0094/2563] Extract code from Rakefile to lib/ --- Rakefile | 133 ++++-------------------------------------- _config.yml | 1 + lib/link_checker.rb | 42 +++++++++++++ lib/linter.rb | 97 ++++++++++++++++++++++++++++++ lib/markup_checker.rb | 16 +++++ 5 files changed, 166 insertions(+), 123 deletions(-) create mode 100644 lib/link_checker.rb create mode 100644 lib/linter.rb create mode 100644 lib/markup_checker.rb diff --git a/Rakefile b/Rakefile index 950f1d3ced..e0697451d8 100644 --- a/Rakefile +++ b/Rakefile @@ -10,8 +10,6 @@ rescue LoadError => e exit -1 end -require 'pathname' - HOST = 'www.ruby-lang.org' LANGUAGES = %w[bg de en es fr id it ja ko pl pt ru tr vi zh_cn zh_tw] CONFIG = "_config.yml" @@ -113,147 +111,36 @@ task :test => [:check] namespace :check do - def read_yaml(filename) - require 'yaml' - match_data = File.read(filename).match(/\A(---\s*\n.*?\n?)^(---\s*$\n?)/m) - data = YAML.load(match_data[1]) if match_data - - data || {} - end - - def author_variable_defined?(filename) - read_yaml(filename).has_key?('author') - end - - def lang_variable_defined?(filename) - read_yaml(filename).has_key?('lang') - end - - def pub_date_utc(filename) - date = read_yaml(filename)['date'] - - date ? date.getutc.strftime('%Y/%m/%d') : nil - end - - def glob(pattern) - Pathname.glob(pattern).reject {|path| path.expand_path.to_s =~ %r{\A#{Regexp.escape(Bundler.bundle_path.to_s)}/} }.map(&:to_s) - end - desc "Check for missing author variables in news posts" task :author do - print "Checking for missing author variables in news posts..." - - md_files = glob("**/_posts/*.md") - - author_missing = md_files.select {|fn| !author_variable_defined?(fn) } - if author_missing.empty? - puts " ok" - else - puts "\nNo author variable defined in:" - puts author_missing.map {|s| " #{s}\n"}.join - - raise - end + require_relative "lib/linter" + Linter.new.check_author end desc "Check for missing lang variables in markdown files" task :lang do - print "Checking for missing lang variables in markdown files..." - - md_files = glob("**/*.md") - skip_patterns = [/README.md/, %r{[^/]*/examples/}, %r{\A_includes/}] - - skip_patterns.each do |pattern| - md_files.delete_if {|fn| fn =~ pattern } - end - - lang_missing = md_files.select {|fn| !lang_variable_defined?(fn) } - if lang_missing.empty? - puts " ok" - else - puts "\nNo lang variable defined in:" - puts lang_missing.map {|s| " #{s}\n"}.join - - raise - end + require_relative "lib/linter" + Linter.new.check_lang end desc "Check publication dates (UTC) for consistency with filename" task :pubdates do - print "Checking for date mismatch in posts (filename / YAML front matter)..." - - posts = glob("**/_posts/*.md") - - date_mismatch = [] - posts.each do |post| - filename_date = File.basename(post).split('-',4)[0..2].join('/') - yaml_date = pub_date_utc(post) - - date_mismatch << post if yaml_date && yaml_date != filename_date - end - - if date_mismatch.empty? - puts " ok" - else - puts "\nDate mismatch in:" - puts date_mismatch.map {|s| " #{s}\n"}.join - - raise - end + require_relative "lib/linter" + Linter.new.check_pubdates end localport = 9292 desc "Check for broken links on http://localhost:#{localport}/" task :links do - gem 'spidr', '~> 0.6' - require 'spidr' - - url_map = Hash.new { |hash,key| hash[key] = [] } - - Spidr.site("http://localhost:#{localport}/") do |agent| - LANGUAGES.each do |lang| - agent.enqueue("http://localhost:#{localport}/#{lang}/") - end - - agent.every_link do |origin,dest| - url_map[dest] << origin - end - - agent.every_page do |page| - if page.code == 404 - origin = url_map[page.url].last - dest = page.url.request_uri - - external = URI::HTTP.build( - :host => HOST, - :path => page.url.path, - :query => page.url.query - ) - - if Net::HTTP.get_response(external).code == '404' - puts "Old Broken Link: #{origin} -> #{dest}" - else - puts "New Broken Link: #{origin} -> #{dest}" - end - - raise - end - end - end + require_relative "lib/link_checker" + LinkChecker.new.check(localport: localport, languages: LANGUAGES, host: HOST) end desc 'Validate _site markup with validate-website' task :markup => :build do - require 'jekyll' - options = Jekyll.configuration - Dir.chdir('_site') do - system("validate-website-static", - "--verbose", - "--exclude", "examples", - "--site", "#{options['url']}/") - exit($?.exitstatus) - end + require_relative "lib/markup_checker" + MarkupChecker.new.check end end diff --git a/_config.yml b/_config.yml index 2d73852cbc..e1fc026d96 100644 --- a/_config.yml +++ b/_config.yml @@ -17,6 +17,7 @@ exclude: - Rakefile - README.md - unicorn.rb + - lib - vendor url: https://www.ruby-lang.org diff --git a/lib/link_checker.rb b/lib/link_checker.rb new file mode 100644 index 0000000000..f70b0bdbbb --- /dev/null +++ b/lib/link_checker.rb @@ -0,0 +1,42 @@ +gem "spidr", "~> 0.6" +require "spidr" + +class LinkChecker + + # Check for broken links on http://localhost:localport/ + def check(localport:, languages:, host:) + + url_map = Hash.new { |hash,key| hash[key] = [] } + + Spidr.site("http://localhost:#{localport}/") do |agent| + languages.each do |lang| + agent.enqueue("http://localhost:#{localport}/#{lang}/") + end + + agent.every_link do |origin,dest| + url_map[dest] << origin + end + + agent.every_page do |page| + if page.code == 404 + origin = url_map[page.url].last + dest = page.url.request_uri + + external = URI::HTTP.build( + :host => host, + :path => page.url.path, + :query => page.url.query + ) + + if Net::HTTP.get_response(external).code == '404' + puts "Old Broken Link: #{origin} -> #{dest}" + else + puts "New Broken Link: #{origin} -> #{dest}" + end + + raise + end + end + end + end +end diff --git a/lib/linter.rb b/lib/linter.rb new file mode 100644 index 0000000000..8e70f7b816 --- /dev/null +++ b/lib/linter.rb @@ -0,0 +1,97 @@ +require "bundler/setup" +require "pathname" +require 'yaml' + + +class Linter + + # Check for missing lang variables in markdown files + def check_lang + print "Checking for missing lang variables in markdown files..." + + md_files = glob("**/*.md") + skip_patterns = [/README.md/, %r{[^/]*/examples/}, %r{\A_includes/}] + + skip_patterns.each do |pattern| + md_files.delete_if {|fn| fn =~ pattern } + end + + lang_missing = md_files.select {|fn| !lang_variable_defined?(fn) } + if lang_missing.empty? + puts " ok" + else + puts "\nNo lang variable defined in:" + puts lang_missing.map {|s| " #{s}\n"}.join + + raise + end + end + + # Check for missing author variables in news posts + def check_author + print "Checking for missing author variables in news posts..." + + md_files = glob("**/_posts/*.md") + + author_missing = md_files.select {|fn| !author_variable_defined?(fn) } + if author_missing.empty? + puts " ok" + else + puts "\nNo author variable defined in:" + puts author_missing.map {|s| " #{s}\n"}.join + + raise + end + end + + # Check publication dates (UTC) for consistency with filename + def check_pubdates + print "Checking for date mismatch in posts (filename / YAML front matter)..." + + posts = glob("**/_posts/*.md") + + date_mismatch = [] + posts.each do |post| + filename_date = File.basename(post).split('-',4)[0..2].join('/') + yaml_date = pub_date_utc(post) + + date_mismatch << post if yaml_date && yaml_date != filename_date + end + + if date_mismatch.empty? + puts " ok" + else + puts "\nDate mismatch in:" + puts date_mismatch.map {|s| " #{s}\n"}.join + + raise + end + end + + private + + def read_yaml(filename) + match_data = File.read(filename).match(/\A(---\s*\n.*?\n?)^(---\s*$\n?)/m) + data = YAML.load(match_data[1]) if match_data + + data || {} + end + + def author_variable_defined?(filename) + read_yaml(filename).has_key?('author') + end + + def lang_variable_defined?(filename) + read_yaml(filename).has_key?('lang') + end + + def pub_date_utc(filename) + date = read_yaml(filename)['date'] + + date ? date.getutc.strftime('%Y/%m/%d') : nil + end + + def glob(pattern) + Pathname.glob(pattern).reject {|path| path.expand_path.to_s =~ %r{\A#{Regexp.escape(Bundler.bundle_path.to_s)}/} }.map(&:to_s) + end +end diff --git a/lib/markup_checker.rb b/lib/markup_checker.rb new file mode 100644 index 0000000000..8825e7967a --- /dev/null +++ b/lib/markup_checker.rb @@ -0,0 +1,16 @@ +require "jekyll" + +class MarkupChecker + + # Validate _site markup with validate-website + def check + options = Jekyll.configuration + Dir.chdir("_site") do + system("validate-website-static", + "--verbose", + "--exclude", "examples", + "--site", "#{options['url']}/") + exit($?.exitstatus) + end + end +end From ab04d7d3834b9605c546ddd7b0b580bca5c2d24f Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 28 Dec 2017 13:17:49 +0100 Subject: [PATCH 0095/2563] Remove build dependency from 'check:markup' task The site might already be built for previewing, and re-generating takes a very long time. It's better to trigger the build manually, if necessary. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index e0697451d8..e995163133 100644 --- a/Rakefile +++ b/Rakefile @@ -138,7 +138,7 @@ namespace :check do end desc 'Validate _site markup with validate-website' - task :markup => :build do + task :markup do require_relative "lib/markup_checker" MarkupChecker.new.check end From 98ef1f9cee834e1fbd59489cac96cb10b879e056 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 28 Dec 2017 13:27:27 +0100 Subject: [PATCH 0096/2563] Drop Jekyll dependency from 'check:markup' task Retrieve URL from HOST constant in Rakefile instead of from the Jekyll configuration. --- Rakefile | 2 +- lib/markup_checker.rb | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Rakefile b/Rakefile index e995163133..47eeb5b9b4 100644 --- a/Rakefile +++ b/Rakefile @@ -140,7 +140,7 @@ namespace :check do desc 'Validate _site markup with validate-website' task :markup do require_relative "lib/markup_checker" - MarkupChecker.new.check + MarkupChecker.new.check(host: HOST) end end diff --git a/lib/markup_checker.rb b/lib/markup_checker.rb index 8825e7967a..3a65fcb9e8 100644 --- a/lib/markup_checker.rb +++ b/lib/markup_checker.rb @@ -1,15 +1,14 @@ -require "jekyll" - class MarkupChecker # Validate _site markup with validate-website - def check - options = Jekyll.configuration + def check(host:) + url = "https://#{host}/" + Dir.chdir("_site") do system("validate-website-static", "--verbose", "--exclude", "examples", - "--site", "#{options['url']}/") + "--site", "#{url}") exit($?.exitstatus) end end From 35acfa48df9b36d4cd907317b8bb1a1c18a3eec3 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 28 Dec 2017 13:41:28 +0100 Subject: [PATCH 0097/2563] Simplify 'check:links' task The site should not have any broken links now, so do not distinguish between "old" broken links (also existing on deployed site) and "new" broken links (only existing for local build). The previous behaviour was useful during the import of the site from the old CMS. Also do not abort when the first broken link is encountered; the check runs for a very long time, and it's much better to retrieve all broken links at a single run. --- Rakefile | 4 ++-- lib/link_checker.rb | 18 +++--------------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/Rakefile b/Rakefile index 47eeb5b9b4..388291b156 100644 --- a/Rakefile +++ b/Rakefile @@ -131,10 +131,10 @@ namespace :check do localport = 9292 - desc "Check for broken links on http://localhost:#{localport}/" + desc "Check for broken internal links on http://localhost:#{localport}/" task :links do require_relative "lib/link_checker" - LinkChecker.new.check(localport: localport, languages: LANGUAGES, host: HOST) + LinkChecker.new.check(localport: localport, languages: LANGUAGES) end desc 'Validate _site markup with validate-website' diff --git a/lib/link_checker.rb b/lib/link_checker.rb index f70b0bdbbb..a872464a15 100644 --- a/lib/link_checker.rb +++ b/lib/link_checker.rb @@ -3,8 +3,8 @@ class LinkChecker - # Check for broken links on http://localhost:localport/ - def check(localport:, languages:, host:) + # Check for broken internal links on http://localhost:localport/ + def check(localport:, languages:) url_map = Hash.new { |hash,key| hash[key] = [] } @@ -22,19 +22,7 @@ def check(localport:, languages:, host:) origin = url_map[page.url].last dest = page.url.request_uri - external = URI::HTTP.build( - :host => host, - :path => page.url.path, - :query => page.url.query - ) - - if Net::HTTP.get_response(external).code == '404' - puts "Old Broken Link: #{origin} -> #{dest}" - else - puts "New Broken Link: #{origin} -> #{dest}" - end - - raise + puts "Broken Link: #{origin} -> #{dest}" end end end From d1175e80ae0c5ea9aaee4badfe1b887a14c8134e Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 1 Jan 2018 18:50:18 +0100 Subject: [PATCH 0098/2563] Add check_all method --- Rakefile | 6 +++++- lib/linter.rb | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 388291b156..8f4072bf89 100644 --- a/Rakefile +++ b/Rakefile @@ -145,5 +145,9 @@ namespace :check do end desc "Run some tests (lang, author, pubdates)" -task :check => ['check:lang', 'check:author', 'check:pubdates'] +task :check do + require_relative "lib/linter" + Linter.new.check_all +end + task :ci => [:test, :build] diff --git a/lib/linter.rb b/lib/linter.rb index 8e70f7b816..24870a99c5 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -5,6 +5,13 @@ class Linter + # Run all check methods + def check_all + check_lang + check_author + check_pubdates + end + # Check for missing lang variables in markdown files def check_lang print "Checking for missing lang variables in markdown files..." From 04a8caff99ccecb4ac9b692cad53ae3f372563b7 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 1 Jan 2018 18:52:08 +0100 Subject: [PATCH 0099/2563] Introduce Document class and read files only once --- lib/linter.rb | 58 ++++++++++++++++++++---------------------- lib/linter/document.rb | 20 +++++++++++++++ 2 files changed, 48 insertions(+), 30 deletions(-) create mode 100644 lib/linter/document.rb diff --git a/lib/linter.rb b/lib/linter.rb index 24870a99c5..33b95cc737 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -2,9 +2,25 @@ require "pathname" require 'yaml' +require_relative "linter/document" + class Linter + attr_accessor :docs, :posts + + def initialize + md_files = glob("**/*.md") + skip_patterns = [/README.md/, %r{[^/]*/examples/}, %r{\A_includes/}] + + skip_patterns.each do |pattern| + md_files.delete_if {|fn| fn =~ pattern } + end + + @docs = md_files.map {|fn| Document.new(fn) } + @posts = @docs.select {|doc| doc.filename =~ %r{/_posts/} } + end + # Run all check methods def check_all check_lang @@ -16,19 +32,12 @@ def check_all def check_lang print "Checking for missing lang variables in markdown files..." - md_files = glob("**/*.md") - skip_patterns = [/README.md/, %r{[^/]*/examples/}, %r{\A_includes/}] - - skip_patterns.each do |pattern| - md_files.delete_if {|fn| fn =~ pattern } - end - - lang_missing = md_files.select {|fn| !lang_variable_defined?(fn) } + lang_missing = docs.select {|doc| !lang_variable_defined?(doc) } if lang_missing.empty? puts " ok" else puts "\nNo lang variable defined in:" - puts lang_missing.map {|s| " #{s}\n"}.join + puts lang_missing.map {|doc| " #{doc.filename}\n"}.join raise end @@ -38,14 +47,12 @@ def check_lang def check_author print "Checking for missing author variables in news posts..." - md_files = glob("**/_posts/*.md") - - author_missing = md_files.select {|fn| !author_variable_defined?(fn) } + author_missing = posts.select {|doc| !author_variable_defined?(doc) } if author_missing.empty? puts " ok" else puts "\nNo author variable defined in:" - puts author_missing.map {|s| " #{s}\n"}.join + puts author_missing.map {|doc| " #{doc.filename}\n"}.join raise end @@ -55,11 +62,9 @@ def check_author def check_pubdates print "Checking for date mismatch in posts (filename / YAML front matter)..." - posts = glob("**/_posts/*.md") - date_mismatch = [] posts.each do |post| - filename_date = File.basename(post).split('-',4)[0..2].join('/') + filename_date = File.basename(post.filename).split('-',4)[0..2].join('/') yaml_date = pub_date_utc(post) date_mismatch << post if yaml_date && yaml_date != filename_date @@ -69,7 +74,7 @@ def check_pubdates puts " ok" else puts "\nDate mismatch in:" - puts date_mismatch.map {|s| " #{s}\n"}.join + puts date_mismatch.map {|doc| " #{doc.filename}\n"}.join raise end @@ -77,23 +82,16 @@ def check_pubdates private - def read_yaml(filename) - match_data = File.read(filename).match(/\A(---\s*\n.*?\n?)^(---\s*$\n?)/m) - data = YAML.load(match_data[1]) if match_data - - data || {} - end - - def author_variable_defined?(filename) - read_yaml(filename).has_key?('author') + def author_variable_defined?(doc) + doc.yaml.has_key?('author') end - def lang_variable_defined?(filename) - read_yaml(filename).has_key?('lang') + def lang_variable_defined?(doc) + doc.yaml.has_key?('lang') end - def pub_date_utc(filename) - date = read_yaml(filename)['date'] + def pub_date_utc(doc) + date = doc.yaml['date'] date ? date.getutc.strftime('%Y/%m/%d') : nil end diff --git a/lib/linter/document.rb b/lib/linter/document.rb new file mode 100644 index 0000000000..7d8abba76e --- /dev/null +++ b/lib/linter/document.rb @@ -0,0 +1,20 @@ +class Linter + class Document + + attr_accessor :filename, :yaml + + def initialize(filename) + @filename = filename + @yaml = read_yaml(filename) + end + + private + + def read_yaml(filename) + matchdata = File.read(filename).match(/\A(---\s*\n.*?\n?)^(---\s*$\n?)/m) + yaml = YAML.load(matchdata[1]) if matchdata + + yaml || {} + end + end +end From 6fe7bf10680ed2a8da41f1411362300aa819c218 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 1 Jan 2018 22:33:06 +0100 Subject: [PATCH 0100/2563] Add raise_on_error option to Linter --- lib/linter.rb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index 33b95cc737..d31ba3c009 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -7,9 +7,11 @@ class Linter - attr_accessor :docs, :posts + attr_accessor :docs, :posts, :raise_on_error + + def initialize(raise_on_error: true) + @raise_on_error = raise_on_error - def initialize md_files = glob("**/*.md") skip_patterns = [/README.md/, %r{[^/]*/examples/}, %r{\A_includes/}] @@ -39,7 +41,7 @@ def check_lang puts "\nNo lang variable defined in:" puts lang_missing.map {|doc| " #{doc.filename}\n"}.join - raise + raise if raise_on_error end end @@ -54,7 +56,7 @@ def check_author puts "\nNo author variable defined in:" puts author_missing.map {|doc| " #{doc.filename}\n"}.join - raise + raise if raise_on_error end end @@ -76,7 +78,7 @@ def check_pubdates puts "\nDate mismatch in:" puts date_mismatch.map {|doc| " #{doc.filename}\n"}.join - raise + raise if raise_on_error end end From a6c4059f13bbc7324d80feed8fc838e445895603 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 1 Jan 2018 22:57:56 +0100 Subject: [PATCH 0101/2563] Move methods and logic from Linter to Document --- lib/linter.rb | 26 +++----------------------- lib/linter/document.rb | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index d31ba3c009..81b2b6c221 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -34,7 +34,7 @@ def check_all def check_lang print "Checking for missing lang variables in markdown files..." - lang_missing = docs.select {|doc| !lang_variable_defined?(doc) } + lang_missing = docs.select {|doc| !doc.lang? } if lang_missing.empty? puts " ok" else @@ -49,7 +49,7 @@ def check_lang def check_author print "Checking for missing author variables in news posts..." - author_missing = posts.select {|doc| !author_variable_defined?(doc) } + author_missing = posts.select {|doc| !doc.author? } if author_missing.empty? puts " ok" else @@ -64,13 +64,7 @@ def check_author def check_pubdates print "Checking for date mismatch in posts (filename / YAML front matter)..." - date_mismatch = [] - posts.each do |post| - filename_date = File.basename(post.filename).split('-',4)[0..2].join('/') - yaml_date = pub_date_utc(post) - - date_mismatch << post if yaml_date && yaml_date != filename_date - end + date_mismatch = posts.select {|doc| doc.date_mismatch? } if date_mismatch.empty? puts " ok" @@ -84,20 +78,6 @@ def check_pubdates private - def author_variable_defined?(doc) - doc.yaml.has_key?('author') - end - - def lang_variable_defined?(doc) - doc.yaml.has_key?('lang') - end - - def pub_date_utc(doc) - date = doc.yaml['date'] - - date ? date.getutc.strftime('%Y/%m/%d') : nil - end - def glob(pattern) Pathname.glob(pattern).reject {|path| path.expand_path.to_s =~ %r{\A#{Regexp.escape(Bundler.bundle_path.to_s)}/} }.map(&:to_s) end diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 7d8abba76e..5c725f5672 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -8,6 +8,28 @@ def initialize(filename) @yaml = read_yaml(filename) end + def lang? + yaml.has_key?("lang") + end + + def author? + yaml.has_key?("author") + end + + def date_mismatch? + yaml_date_utc && (yaml_date_utc != slug_date) + end + + def yaml_date_utc + date = yaml["date"] + + date ? date.getutc.strftime('%Y/%m/%d') : nil + end + + def slug_date + File.basename(filename).split('-',4)[0..2].join('/') + end + private def read_yaml(filename) From 26c0483f8073890b239ca0b4fd5360851e03f271 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 1 Jan 2018 23:10:30 +0100 Subject: [PATCH 0102/2563] Rename methods --- lib/linter.rb | 4 ++-- lib/linter/document.rb | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index 81b2b6c221..5eec0482dd 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -34,7 +34,7 @@ def check_all def check_lang print "Checking for missing lang variables in markdown files..." - lang_missing = docs.select {|doc| !doc.lang? } + lang_missing = docs.select {|doc| doc.lang_missing? } if lang_missing.empty? puts " ok" else @@ -49,7 +49,7 @@ def check_lang def check_author print "Checking for missing author variables in news posts..." - author_missing = posts.select {|doc| !doc.author? } + author_missing = posts.select {|doc| doc.author_missing? } if author_missing.empty? puts " ok" else diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 5c725f5672..65c2b1cefe 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -8,12 +8,12 @@ def initialize(filename) @yaml = read_yaml(filename) end - def lang? - yaml.has_key?("lang") + def lang_missing? + !yaml.has_key?("lang") end - def author? - yaml.has_key?("author") + def author_missing? + !yaml.has_key?("author") end def date_mismatch? From bfa42ffca179a1397ccc1e4ba25c3c07d598cd80 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 1 Jan 2018 23:32:56 +0100 Subject: [PATCH 0103/2563] Extract report_docs method for Linter --- lib/linter.rb | 44 +++++++++++++++++--------------------------- 1 file changed, 17 insertions(+), 27 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index 5eec0482dd..8ebb0974ac 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -32,48 +32,27 @@ def check_all # Check for missing lang variables in markdown files def check_lang - print "Checking for missing lang variables in markdown files..." + print "Checking for missing lang variable in markdown files..." lang_missing = docs.select {|doc| doc.lang_missing? } - if lang_missing.empty? - puts " ok" - else - puts "\nNo lang variable defined in:" - puts lang_missing.map {|doc| " #{doc.filename}\n"}.join - - raise if raise_on_error - end + report_docs(lang_missing) end # Check for missing author variables in news posts def check_author - print "Checking for missing author variables in news posts..." + print "Checking for missing author variable in news posts..." author_missing = posts.select {|doc| doc.author_missing? } - if author_missing.empty? - puts " ok" - else - puts "\nNo author variable defined in:" - puts author_missing.map {|doc| " #{doc.filename}\n"}.join - - raise if raise_on_error - end + report_docs(author_missing) end # Check publication dates (UTC) for consistency with filename def check_pubdates - print "Checking for date mismatch in posts (filename / YAML front matter)..." + print "Checking for date mismatch in news posts (filename / YAML front matter)..." date_mismatch = posts.select {|doc| doc.date_mismatch? } - if date_mismatch.empty? - puts " ok" - else - puts "\nDate mismatch in:" - puts date_mismatch.map {|doc| " #{doc.filename}\n"}.join - - raise if raise_on_error - end + report_docs(date_mismatch) end private @@ -81,4 +60,15 @@ def check_pubdates def glob(pattern) Pathname.glob(pattern).reject {|path| path.expand_path.to_s =~ %r{\A#{Regexp.escape(Bundler.bundle_path.to_s)}/} }.map(&:to_s) end + + def report_docs(failed_docs) + if failed_docs.empty? + puts " ok" + else + puts + puts failed_docs.map {|doc| " #{doc.filename}\n"}.join + + raise if raise_on_error + end + end end From 6998bc373ae58fdd336a5caf0c1244bc5584655c Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 2 Jan 2018 22:47:38 +0100 Subject: [PATCH 0104/2563] Provide a method to run checks on a per-document basis Always run all check types, document after document. In case of errors, report all errors for all documents and then exit with a nonzero exit status. --- lib/linter.rb | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/lib/linter.rb b/lib/linter.rb index 8ebb0974ac..3fb2791a55 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -7,7 +7,7 @@ class Linter - attr_accessor :docs, :posts, :raise_on_error + attr_accessor :docs, :posts, :errors, :raise_on_error def initialize(raise_on_error: true) @raise_on_error = raise_on_error @@ -21,6 +21,25 @@ def initialize(raise_on_error: true) @docs = md_files.map {|fn| Document.new(fn) } @posts = @docs.select {|doc| doc.filename =~ %r{/_posts/} } + + @errors = Hash.new {|h, k| h[k] = [] } + end + + def check + print "Checking markdown files..." + + docs.each do |doc| + errors[doc] << " missing lang variable" if doc.lang_missing? + end + + posts.each do |doc| + errors[doc] << " missing author variable" if doc.author_missing? + errors[doc] << " date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? + end + + report + + exit(1) if errors.any? end # Run all check methods @@ -61,6 +80,18 @@ def glob(pattern) Pathname.glob(pattern).reject {|path| path.expand_path.to_s =~ %r{\A#{Regexp.escape(Bundler.bundle_path.to_s)}/} }.map(&:to_s) end + def report + if errors.empty? + puts " ok" + else + puts + errors.each do |doc, messages| + puts doc.filename + puts messages + end + end + end + def report_docs(failed_docs) if failed_docs.empty? puts " ok" From 77edb209247cac0c28c380b17bdc292edadbad23 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 4 Jan 2018 23:30:29 +0100 Subject: [PATCH 0105/2563] Switch 'check' task to new method --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 8f4072bf89..92b3e63cb7 100644 --- a/Rakefile +++ b/Rakefile @@ -144,10 +144,10 @@ namespace :check do end end -desc "Run some tests (lang, author, pubdates)" +desc "Run some tests on markdown files" task :check do require_relative "lib/linter" - Linter.new.check_all + Linter.new.check end task :ci => [:test, :build] From 1666d398756116655aa400af59c8deea5345d527 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 4 Jan 2018 23:38:35 +0100 Subject: [PATCH 0106/2563] Remove some 'check' tasks It doesn't make much sense to run these separately. --- Rakefile | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Rakefile b/Rakefile index 92b3e63cb7..65713cbb09 100644 --- a/Rakefile +++ b/Rakefile @@ -111,24 +111,6 @@ task :test => [:check] namespace :check do - desc "Check for missing author variables in news posts" - task :author do - require_relative "lib/linter" - Linter.new.check_author - end - - desc "Check for missing lang variables in markdown files" - task :lang do - require_relative "lib/linter" - Linter.new.check_lang - end - - desc "Check publication dates (UTC) for consistency with filename" - task :pubdates do - require_relative "lib/linter" - Linter.new.check_pubdates - end - localport = 9292 desc "Check for broken internal links on http://localhost:#{localport}/" From a4ba6e75cf906bdc01d6102ca8e1d042a6bfefac Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 6 Jan 2018 23:13:48 +0100 Subject: [PATCH 0107/2563] Remove unused code --- lib/linter.rb | 49 ++----------------------------------------------- 1 file changed, 2 insertions(+), 47 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index 3fb2791a55..6ec0b4a17c 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -7,11 +7,9 @@ class Linter - attr_accessor :docs, :posts, :errors, :raise_on_error - - def initialize(raise_on_error: true) - @raise_on_error = raise_on_error + attr_accessor :docs, :posts, :errors + def initialize md_files = glob("**/*.md") skip_patterns = [/README.md/, %r{[^/]*/examples/}, %r{\A_includes/}] @@ -42,38 +40,6 @@ def check exit(1) if errors.any? end - # Run all check methods - def check_all - check_lang - check_author - check_pubdates - end - - # Check for missing lang variables in markdown files - def check_lang - print "Checking for missing lang variable in markdown files..." - - lang_missing = docs.select {|doc| doc.lang_missing? } - report_docs(lang_missing) - end - - # Check for missing author variables in news posts - def check_author - print "Checking for missing author variable in news posts..." - - author_missing = posts.select {|doc| doc.author_missing? } - report_docs(author_missing) - end - - # Check publication dates (UTC) for consistency with filename - def check_pubdates - print "Checking for date mismatch in news posts (filename / YAML front matter)..." - - date_mismatch = posts.select {|doc| doc.date_mismatch? } - - report_docs(date_mismatch) - end - private def glob(pattern) @@ -91,15 +57,4 @@ def report end end end - - def report_docs(failed_docs) - if failed_docs.empty? - puts " ok" - else - puts - puts failed_docs.map {|doc| " #{doc.filename}\n"}.join - - raise if raise_on_error - end - end end From 8a813c43f73affb9f71888fd9a998a5364a795ce Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 6 Jan 2018 23:45:03 +0100 Subject: [PATCH 0108/2563] Extract some methods --- Rakefile | 2 +- lib/linter.rb | 37 +++++++++++++++++++++++-------------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/Rakefile b/Rakefile index 65713cbb09..d1b1673f24 100644 --- a/Rakefile +++ b/Rakefile @@ -129,7 +129,7 @@ end desc "Run some tests on markdown files" task :check do require_relative "lib/linter" - Linter.new.check + Linter.new.run end task :ci => [:test, :build] diff --git a/lib/linter.rb b/lib/linter.rb index 6ec0b4a17c..26fc10e37e 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -10,6 +10,25 @@ class Linter attr_accessor :docs, :posts, :errors def initialize + @docs = [] + @posts = [] + @errors = Hash.new {|h, k| h[k] = [] } + end + + # Reads files and runs all checks. + def run + print "Checking markdown files..." + + load_files + check + report + + exit(1) if errors.any? + end + + private + + def load_files md_files = glob("**/*.md") skip_patterns = [/README.md/, %r{[^/]*/examples/}, %r{\A_includes/}] @@ -19,13 +38,9 @@ def initialize @docs = md_files.map {|fn| Document.new(fn) } @posts = @docs.select {|doc| doc.filename =~ %r{/_posts/} } - - @errors = Hash.new {|h, k| h[k] = [] } end def check - print "Checking markdown files..." - docs.each do |doc| errors[doc] << " missing lang variable" if doc.lang_missing? end @@ -34,16 +49,6 @@ def check errors[doc] << " missing author variable" if doc.author_missing? errors[doc] << " date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? end - - report - - exit(1) if errors.any? - end - - private - - def glob(pattern) - Pathname.glob(pattern).reject {|path| path.expand_path.to_s =~ %r{\A#{Regexp.escape(Bundler.bundle_path.to_s)}/} }.map(&:to_s) end def report @@ -57,4 +62,8 @@ def report end end end + + def glob(pattern) + Pathname.glob(pattern).reject {|path| path.expand_path.to_s =~ %r{\A#{Regexp.escape(Bundler.bundle_path.to_s)}/} }.map(&:to_s) + end end From 440db30a8056bc9aa7794ee1a50650b842fbe4a3 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 7 Jan 2018 00:01:30 +0100 Subject: [PATCH 0109/2563] Use constant for excludes --- lib/linter.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index 26fc10e37e..1fa65d3bdf 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -7,6 +7,12 @@ class Linter + EXCLUDE_PATTERNS = [ + %r{README.md}, + %r{[^/]*/examples/}, + %r{\A_includes/} + ] + attr_accessor :docs, :posts, :errors def initialize @@ -30,9 +36,8 @@ def run def load_files md_files = glob("**/*.md") - skip_patterns = [/README.md/, %r{[^/]*/examples/}, %r{\A_includes/}] - skip_patterns.each do |pattern| + EXCLUDE_PATTERNS.each do |pattern| md_files.delete_if {|fn| fn =~ pattern } end From a290e7f736d10c52d50a60478cfcd46a4696cad0 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 7 Jan 2018 00:07:46 +0100 Subject: [PATCH 0110/2563] Improve exclude patterns --- lib/linter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index 1fa65d3bdf..a6948bf635 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -8,8 +8,8 @@ class Linter EXCLUDE_PATTERNS = [ - %r{README.md}, - %r{[^/]*/examples/}, + %r{\AREADME\.md\z}, + %r{\A[^/]*/examples/}, %r{\A_includes/} ] From 03ad1e1673cd225147aaa34cf3a269f051d9248e Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 18 Mar 2018 10:19:33 +0100 Subject: [PATCH 0111/2563] Add test for time zone offset in YAML front matter All dates should be UTC to avoid a problem with Jekyll, where Jekyll might derive a wrong post URL. --- lib/linter.rb | 1 + lib/linter/document.rb | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib/linter.rb b/lib/linter.rb index a6948bf635..804864155c 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -53,6 +53,7 @@ def check posts.each do |doc| errors[doc] << " missing author variable" if doc.author_missing? errors[doc] << " date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? + errors[doc] << " wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? end end diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 65c2b1cefe..f88251716d 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -30,6 +30,12 @@ def slug_date File.basename(filename).split('-',4)[0..2].join('/') end + def yaml_date_not_utc? + date = yaml["date"] + + date ? date.utc_offset != 0 : nil + end + private def read_yaml(filename) From 296b2adb755ddcf67c118a902e9ee9a376a428b3 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 27 Apr 2018 21:27:36 +0200 Subject: [PATCH 0112/2563] Add test for trailing whitespace --- lib/linter.rb | 1 + lib/linter/document.rb | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/lib/linter.rb b/lib/linter.rb index 804864155c..5926754833 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -48,6 +48,7 @@ def load_files def check docs.each do |doc| errors[doc] << " missing lang variable" if doc.lang_missing? + errors[doc] << " trailing whitespace" if doc.trailing_whitespace? end posts.each do |doc| diff --git a/lib/linter/document.rb b/lib/linter/document.rb index f88251716d..23b55cdd84 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -36,6 +36,10 @@ def yaml_date_not_utc? date ? date.utc_offset != 0 : nil end + def trailing_whitespace? + File.read(@filename).match?(/ $/) + end + private def read_yaml(filename) From 7555682d9e0714a3f02b30ec5f4bf784b0720cd8 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 27 Apr 2018 21:43:28 +0200 Subject: [PATCH 0113/2563] Add exclusions for trailing whitespace test Exclude some posts from this test, because they include a patch with trailing whitespace, and removing the spaces would break the patch. --- lib/linter.rb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/linter.rb b/lib/linter.rb index 5926754833..ea5617e479 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -13,6 +13,13 @@ class Linter %r{\A_includes/} ] + WHITESPACE_EXCLUSIONS = [ + "en/news/_posts/2005-07-01-xmlrpcipimethods-vulnerability.md", + "ja/news/_posts/2005-07-01-20050701.md", + "de/news/_posts/2005-07-01-xmlrpcipimethods-vulnerability.md", + "ko/news/_posts/2005-07-01-xmlrpcipimethods-vulnerability.md" + ] + attr_accessor :docs, :posts, :errors def initialize @@ -48,7 +55,10 @@ def load_files def check docs.each do |doc| errors[doc] << " missing lang variable" if doc.lang_missing? - errors[doc] << " trailing whitespace" if doc.trailing_whitespace? + + unless WHITESPACE_EXCLUSIONS.include?(doc.filename) + errors[doc] << " trailing whitespace" if doc.trailing_whitespace? + end end posts.each do |doc| From a09ec7e2897276c6c73d6729d25719eac4ab10ff Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 27 Apr 2018 21:58:34 +0200 Subject: [PATCH 0114/2563] Add test for newline at end of file --- lib/linter.rb | 1 + lib/linter/document.rb | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/lib/linter.rb b/lib/linter.rb index ea5617e479..a0d49ae947 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -55,6 +55,7 @@ def load_files def check docs.each do |doc| errors[doc] << " missing lang variable" if doc.lang_missing? + errors[doc] << " no newline at end of file" if doc.no_newline_at_eof? unless WHITESPACE_EXCLUSIONS.include?(doc.filename) errors[doc] << " trailing whitespace" if doc.trailing_whitespace? diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 23b55cdd84..c982b70840 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -36,6 +36,10 @@ def yaml_date_not_utc? date ? date.utc_offset != 0 : nil end + def no_newline_at_eof? + !File.read(@filename).end_with?("\n") + end + def trailing_whitespace? File.read(@filename).match?(/ $/) end From 0f8101fce9a87e77d97ac304f36df4caffb2b372 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 28 Apr 2018 17:58:04 +0200 Subject: [PATCH 0115/2563] Read each document only once --- lib/linter/document.rb | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/linter/document.rb b/lib/linter/document.rb index c982b70840..67e68370c3 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -1,11 +1,11 @@ class Linter class Document - attr_accessor :filename, :yaml + attr_accessor :filename, :yaml, :content def initialize(filename) @filename = filename - @yaml = read_yaml(filename) + @yaml, @content = read_yaml_and_content(filename) end def lang_missing? @@ -37,20 +37,22 @@ def yaml_date_not_utc? end def no_newline_at_eof? - !File.read(@filename).end_with?("\n") + !content.end_with?("\n") end def trailing_whitespace? - File.read(@filename).match?(/ $/) + content.match?(/ $/) end private - def read_yaml(filename) - matchdata = File.read(filename).match(/\A(---\s*\n.*?\n?)^(---\s*$\n?)/m) - yaml = YAML.load(matchdata[1]) if matchdata + def read_yaml_and_content(filename) + _content = File.read(filename) - yaml || {} + matchdata = _content.match(/\A(---\s*\n.*?\n?)^(---\s*$\n?)/m) + _yaml = YAML.load(matchdata[1]) if matchdata + + [_yaml || {}, _content || ""] end end end From b8fae646e9a041e93d40a55905f0b414a13dc072 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 28 Apr 2018 22:00:27 +0200 Subject: [PATCH 0116/2563] Format error messages when they are output --- lib/linter.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index a0d49ae947..bc62fa2982 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -54,18 +54,18 @@ def load_files def check docs.each do |doc| - errors[doc] << " missing lang variable" if doc.lang_missing? - errors[doc] << " no newline at end of file" if doc.no_newline_at_eof? + errors[doc] << "missing lang variable" if doc.lang_missing? + errors[doc] << "no newline at end of file" if doc.no_newline_at_eof? unless WHITESPACE_EXCLUSIONS.include?(doc.filename) - errors[doc] << " trailing whitespace" if doc.trailing_whitespace? + errors[doc] << "trailing whitespace" if doc.trailing_whitespace? end end posts.each do |doc| - errors[doc] << " missing author variable" if doc.author_missing? - errors[doc] << " date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? - errors[doc] << " wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? + errors[doc] << "missing author variable" if doc.author_missing? + errors[doc] << "date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? + errors[doc] << "wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? end end @@ -76,7 +76,7 @@ def report puts errors.each do |doc, messages| puts doc.filename - puts messages + puts messages.map {|msg| " #{msg}" } end end end From d7ff44c8a19846c447ea809528bc6a2725a7c937 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 28 Apr 2018 22:07:25 +0200 Subject: [PATCH 0117/2563] Move definitions of 'check' and 'ci' task --- Rakefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Rakefile b/Rakefile index d1b1673f24..6cc7dea7ab 100644 --- a/Rakefile +++ b/Rakefile @@ -15,6 +15,7 @@ LANGUAGES = %w[bg de en es fr id it ja ko pl pt ru tr vi zh_cn zh_tw] CONFIG = "_config.yml" task :default => [:build] +task :ci => [:test, :build] desc "Build the Jekyll site" task :build do @@ -109,6 +110,12 @@ end desc "Alias for `check'" task :test => [:check] +desc "Run some tests on markdown files" +task :check do + require_relative "lib/linter" + Linter.new.run +end + namespace :check do localport = 9292 @@ -125,11 +132,3 @@ namespace :check do MarkupChecker.new.check(host: HOST) end end - -desc "Run some tests on markdown files" -task :check do - require_relative "lib/linter" - Linter.new.run -end - -task :ci => [:test, :build] From 8c6df2128cf0cb923784e1ca8e2528a6218c63fb Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 29 Apr 2018 16:44:35 +0200 Subject: [PATCH 0118/2563] Use stronger tests for lang and author variables --- lib/linter/document.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 67e68370c3..8ba62a50c9 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -9,11 +9,11 @@ def initialize(filename) end def lang_missing? - !yaml.has_key?("lang") + yaml["lang"].nil? || yaml["lang"].empty? end def author_missing? - !yaml.has_key?("author") + yaml["author"].nil? || yaml["author"].empty? end def date_mismatch? From 033a0de1cb237d06b6a1c3d1708351a0b1a39e93 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 29 Apr 2018 16:52:46 +0200 Subject: [PATCH 0119/2563] Add test whether lang variable matches file location --- lib/linter.rb | 3 +++ lib/linter/document.rb | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/lib/linter.rb b/lib/linter.rb index bc62fa2982..641b4f4d2a 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -8,7 +8,9 @@ class Linter EXCLUDE_PATTERNS = [ + %r{\A404\.md\z}, %r{\AREADME\.md\z}, + %r{\Aadmin/index\.md}, %r{\A[^/]*/examples/}, %r{\A_includes/} ] @@ -55,6 +57,7 @@ def load_files def check docs.each do |doc| errors[doc] << "missing lang variable" if doc.lang_missing? + errors[doc] << "lang variable not matching file location" if doc.lang_not_matching_filename? errors[doc] << "no newline at end of file" if doc.no_newline_at_eof? unless WHITESPACE_EXCLUSIONS.include?(doc.filename) diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 8ba62a50c9..d17e1325b9 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -12,6 +12,10 @@ def lang_missing? yaml["lang"].nil? || yaml["lang"].empty? end + def lang_not_matching_filename? + !lang_missing? && !filename.start_with?("#{yaml['lang']}/") + end + def author_missing? yaml["author"].nil? || yaml["author"].empty? end From 379fe511c51d44b4697c1e91599c1b2b7fae2fff Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 29 Apr 2018 17:04:35 +0200 Subject: [PATCH 0120/2563] Introduce post? method --- lib/linter.rb | 2 +- lib/linter/document.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/linter.rb b/lib/linter.rb index 641b4f4d2a..cd1652ae02 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -51,7 +51,7 @@ def load_files end @docs = md_files.map {|fn| Document.new(fn) } - @posts = @docs.select {|doc| doc.filename =~ %r{/_posts/} } + @posts = @docs.select {|doc| doc.post? } end def check diff --git a/lib/linter/document.rb b/lib/linter/document.rb index d17e1325b9..4f055c170c 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -8,6 +8,10 @@ def initialize(filename) @yaml, @content = read_yaml_and_content(filename) end + def post? + filename.match? %r{/_posts/} + end + def lang_missing? yaml["lang"].nil? || yaml["lang"].empty? end From 53c2c4054695dba1376fd5664d2da195ba57fefb Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 29 Apr 2018 17:24:50 +0200 Subject: [PATCH 0121/2563] Add test for missing or invalid date variable --- lib/linter.rb | 1 + lib/linter/document.rb | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/lib/linter.rb b/lib/linter.rb index cd1652ae02..96df5a29f5 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -67,6 +67,7 @@ def check posts.each do |doc| errors[doc] << "missing author variable" if doc.author_missing? + errors[doc] << "missing or invalid date variable" if doc.date_missing? errors[doc] << "date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? errors[doc] << "wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? end diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 4f055c170c..ec1161b05b 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -12,6 +12,13 @@ def post? filename.match? %r{/_posts/} end + # posts from before the migration to the Jekyll site + # (they follow different rules; e.g. they have no YAML date variable, + # filenames of translations differ from original `en' post, ...) + def old_post? + post? && Time.utc(*slug_date.split("/")) < Time.utc(2013, 4, 1) + end + def lang_missing? yaml["lang"].nil? || yaml["lang"].empty? end @@ -24,6 +31,13 @@ def author_missing? yaml["author"].nil? || yaml["author"].empty? end + # date missing or invalid + def date_missing? + return nil if old_post? + + yaml["date"].nil? || !yaml["date"].respond_to?(:getutc) + end + def date_mismatch? yaml_date_utc && (yaml_date_utc != slug_date) end From 089ecabe8c8bfd95a56528eeb024e631ce089bbf Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 29 Apr 2018 17:28:00 +0200 Subject: [PATCH 0122/2563] Guard against missing or invalid date Explicitly check for missing/invalid date or old posts (that do not have a YAML date variable) and then rely on a valid date. --- lib/linter/document.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/linter/document.rb b/lib/linter/document.rb index ec1161b05b..a820bed855 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -39,13 +39,13 @@ def date_missing? end def date_mismatch? - yaml_date_utc && (yaml_date_utc != slug_date) + return nil if (date_missing? || old_post?) + + yaml_date_utc != slug_date end def yaml_date_utc - date = yaml["date"] - - date ? date.getutc.strftime('%Y/%m/%d') : nil + yaml["date"].getutc.strftime('%Y/%m/%d') end def slug_date @@ -53,9 +53,9 @@ def slug_date end def yaml_date_not_utc? - date = yaml["date"] + return nil if (date_missing? || old_post?) - date ? date.utc_offset != 0 : nil + yaml["date"].utc_offset != 0 end def no_newline_at_eof? From 32d231fb224900b8652858398fa07d69ba1e7bc3 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 29 Apr 2018 20:44:41 +0200 Subject: [PATCH 0123/2563] Add test for missing translator variable --- lib/linter.rb | 1 + lib/linter/document.rb | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib/linter.rb b/lib/linter.rb index 96df5a29f5..89c96b0479 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -67,6 +67,7 @@ def check posts.each do |doc| errors[doc] << "missing author variable" if doc.author_missing? + errors[doc] << "missing translator variable" if doc.translator_missing? errors[doc] << "missing or invalid date variable" if doc.date_missing? errors[doc] << "date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? errors[doc] << "wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? diff --git a/lib/linter/document.rb b/lib/linter/document.rb index a820bed855..7a7724ced5 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -31,6 +31,12 @@ def author_missing? yaml["author"].nil? || yaml["author"].empty? end + def translator_missing? + return nil if old_post? + + !yaml.has_key?("translator") + end + # date missing or invalid def date_missing? return nil if old_post? From 69042a8e4d44d185d51fc73781ef0c69afbe4418 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 30 Apr 2018 21:56:00 +0200 Subject: [PATCH 0124/2563] Add unit tests for Linter Add sample markdown files and tests to assert the Linter works as expected. Adapt the Linter class accordingly: * sort reported errors by filename to get reproducible output, * provide an option to not +exit+ when errors are encountered, because this would also stop the test run, * exclude `test/' directory from Jekyll build and normal linter run. --- _config.yml | 1 + lib/linter.rb | 13 ++++-- test/md_errors/en/1_trailing_whitespace.md | 7 +++ .../en/2_trailing_whitespace_in_yaml.md | 7 +++ test/md_errors/en/3_newline_at_eof.md | 7 +++ test/md_errors/en/4_lang_variable.md | 6 +++ test/md_errors/en/5_lang_variable_nil.md | 7 +++ test/md_errors/en/6_lang_variable_empty.md | 7 +++ test/md_errors/en/8_lang_variable_wrong.md | 7 +++ test/md_errors/en/9_multiple_errors.md | 7 +++ .../2000-01-01-old-lang-variable-nil.md | 8 ++++ .../_posts/2018-01-01-trailing-whitespace.md | 10 ++++ .../en/_posts/2018-01-02-lang-variable-nil.md | 10 ++++ .../en/_posts/2018-01-03-author-variable.md | 9 ++++ .../_posts/2018-01-04-author-variable-nil.md | 10 ++++ .../2018-01-05-author-variable-empty.md | 10 ++++ .../_posts/2018-01-07-translator-variable.md | 9 ++++ .../en/_posts/2018-01-09-date-variable.md | 9 ++++ .../en/_posts/2018-01-10-date-variable-nil.md | 10 ++++ .../_posts/2018-01-11-date-variable-empty.md | 10 ++++ .../2018-01-12-date-variable-wrong-type.md | 10 ++++ .../2018-01-13-date-variable-without-time.md | 10 ++++ .../2018-01-14-date-variable-wrong-offset.md | 10 ++++ .../en/_posts/2018-01-15-date-mismatch.md | 10 ++++ .../_posts/2000-01-01-old-without-date-ok.md | 9 ++++ .../2000-01-01-old-without-translator-ok.md | 9 ++++ test/md_ok/en/_posts/2018-01-01-ok.md | 10 ++++ test/md_ok/en/page_ok.md | 7 +++ test/output_errors.txt | 46 +++++++++++++++++++ test/output_ok.txt | 1 + test/test_linter.rb | 30 ++++++++++++ 31 files changed, 313 insertions(+), 3 deletions(-) create mode 100644 test/md_errors/en/1_trailing_whitespace.md create mode 100644 test/md_errors/en/2_trailing_whitespace_in_yaml.md create mode 100644 test/md_errors/en/3_newline_at_eof.md create mode 100644 test/md_errors/en/4_lang_variable.md create mode 100644 test/md_errors/en/5_lang_variable_nil.md create mode 100644 test/md_errors/en/6_lang_variable_empty.md create mode 100644 test/md_errors/en/8_lang_variable_wrong.md create mode 100644 test/md_errors/en/9_multiple_errors.md create mode 100644 test/md_errors/en/_posts/2000-01-01-old-lang-variable-nil.md create mode 100644 test/md_errors/en/_posts/2018-01-01-trailing-whitespace.md create mode 100644 test/md_errors/en/_posts/2018-01-02-lang-variable-nil.md create mode 100644 test/md_errors/en/_posts/2018-01-03-author-variable.md create mode 100644 test/md_errors/en/_posts/2018-01-04-author-variable-nil.md create mode 100644 test/md_errors/en/_posts/2018-01-05-author-variable-empty.md create mode 100644 test/md_errors/en/_posts/2018-01-07-translator-variable.md create mode 100644 test/md_errors/en/_posts/2018-01-09-date-variable.md create mode 100644 test/md_errors/en/_posts/2018-01-10-date-variable-nil.md create mode 100644 test/md_errors/en/_posts/2018-01-11-date-variable-empty.md create mode 100644 test/md_errors/en/_posts/2018-01-12-date-variable-wrong-type.md create mode 100644 test/md_errors/en/_posts/2018-01-13-date-variable-without-time.md create mode 100644 test/md_errors/en/_posts/2018-01-14-date-variable-wrong-offset.md create mode 100644 test/md_errors/en/_posts/2018-01-15-date-mismatch.md create mode 100644 test/md_ok/en/_posts/2000-01-01-old-without-date-ok.md create mode 100644 test/md_ok/en/_posts/2000-01-01-old-without-translator-ok.md create mode 100644 test/md_ok/en/_posts/2018-01-01-ok.md create mode 100644 test/md_ok/en/page_ok.md create mode 100644 test/output_errors.txt create mode 100644 test/output_ok.txt create mode 100644 test/test_linter.rb diff --git a/_config.yml b/_config.yml index e1fc026d96..839bb2e6ce 100644 --- a/_config.yml +++ b/_config.yml @@ -18,6 +18,7 @@ exclude: - README.md - unicorn.rb - lib + - test - vendor url: https://www.ruby-lang.org diff --git a/lib/linter.rb b/lib/linter.rb index 89c96b0479..ca8e8f418f 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -12,7 +12,8 @@ class Linter %r{\AREADME\.md\z}, %r{\Aadmin/index\.md}, %r{\A[^/]*/examples/}, - %r{\A_includes/} + %r{\A_includes/}, + %r{\Atest/} ] WHITESPACE_EXCLUSIONS = [ @@ -24,7 +25,11 @@ class Linter attr_accessor :docs, :posts, :errors - def initialize + # set to +false+ when running Linter in tests + attr_accessor :exit_on_errors + + def initialize(exit_on_errors: true) + @exit_on_errors = exit_on_errors @docs = [] @posts = [] @errors = Hash.new {|h, k| h[k] = [] } @@ -38,7 +43,7 @@ def run check report - exit(1) if errors.any? + exit(1) if errors.any? && exit_on_errors end private @@ -78,6 +83,8 @@ def report if errors.empty? puts " ok" else + errors.replace errors.sort_by {|doc, _| doc.filename }.to_h + puts errors.each do |doc, messages| puts doc.filename diff --git a/test/md_errors/en/1_trailing_whitespace.md b/test/md_errors/en/1_trailing_whitespace.md new file mode 100644 index 0000000000..f88288b57b --- /dev/null +++ b/test/md_errors/en/1_trailing_whitespace.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: en +--- + +Content diff --git a/test/md_errors/en/2_trailing_whitespace_in_yaml.md b/test/md_errors/en/2_trailing_whitespace_in_yaml.md new file mode 100644 index 0000000000..6011f5aece --- /dev/null +++ b/test/md_errors/en/2_trailing_whitespace_in_yaml.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: en +--- + +Content diff --git a/test/md_errors/en/3_newline_at_eof.md b/test/md_errors/en/3_newline_at_eof.md new file mode 100644 index 0000000000..89aa160e95 --- /dev/null +++ b/test/md_errors/en/3_newline_at_eof.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: en +--- + +Content \ No newline at end of file diff --git a/test/md_errors/en/4_lang_variable.md b/test/md_errors/en/4_lang_variable.md new file mode 100644 index 0000000000..632475342e --- /dev/null +++ b/test/md_errors/en/4_lang_variable.md @@ -0,0 +1,6 @@ +--- +layout: page +title: "Page" +--- + +Content diff --git a/test/md_errors/en/5_lang_variable_nil.md b/test/md_errors/en/5_lang_variable_nil.md new file mode 100644 index 0000000000..858b76d8a3 --- /dev/null +++ b/test/md_errors/en/5_lang_variable_nil.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: +--- + +Content diff --git a/test/md_errors/en/6_lang_variable_empty.md b/test/md_errors/en/6_lang_variable_empty.md new file mode 100644 index 0000000000..d55e047075 --- /dev/null +++ b/test/md_errors/en/6_lang_variable_empty.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: "" +--- + +Content diff --git a/test/md_errors/en/8_lang_variable_wrong.md b/test/md_errors/en/8_lang_variable_wrong.md new file mode 100644 index 0000000000..aab8ade2db --- /dev/null +++ b/test/md_errors/en/8_lang_variable_wrong.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: foo +--- + +Content diff --git a/test/md_errors/en/9_multiple_errors.md b/test/md_errors/en/9_multiple_errors.md new file mode 100644 index 0000000000..43ad60f2e8 --- /dev/null +++ b/test/md_errors/en/9_multiple_errors.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: +--- + +Content diff --git a/test/md_errors/en/_posts/2000-01-01-old-lang-variable-nil.md b/test/md_errors/en/_posts/2000-01-01-old-lang-variable-nil.md new file mode 100644 index 0000000000..12906093a1 --- /dev/null +++ b/test/md_errors/en/_posts/2000-01-01-old-lang-variable-nil.md @@ -0,0 +1,8 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +lang: +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-01-trailing-whitespace.md b/test/md_errors/en/_posts/2018-01-01-trailing-whitespace.md new file mode 100644 index 0000000000..35c7713c84 --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-01-trailing-whitespace.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: 2018-01-01 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-02-lang-variable-nil.md b/test/md_errors/en/_posts/2018-01-02-lang-variable-nil.md new file mode 100644 index 0000000000..2597e43f4b --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-02-lang-variable-nil.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: 2018-01-02 12:00:00 +0000 +lang: +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-03-author-variable.md b/test/md_errors/en/_posts/2018-01-03-author-variable.md new file mode 100644 index 0000000000..78610ba3a4 --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-03-author-variable.md @@ -0,0 +1,9 @@ +--- +layout: news_post +title: "Post" +translator: +date: 2018-01-03 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-04-author-variable-nil.md b/test/md_errors/en/_posts/2018-01-04-author-variable-nil.md new file mode 100644 index 0000000000..dc6769feff --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-04-author-variable-nil.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: +translator: +date: 2018-01-04 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-05-author-variable-empty.md b/test/md_errors/en/_posts/2018-01-05-author-variable-empty.md new file mode 100644 index 0000000000..c96dc6c075 --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-05-author-variable-empty.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "" +translator: +date: 2018-01-05 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-07-translator-variable.md b/test/md_errors/en/_posts/2018-01-07-translator-variable.md new file mode 100644 index 0000000000..397629ccdb --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-07-translator-variable.md @@ -0,0 +1,9 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +date: 2018-01-07 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-09-date-variable.md b/test/md_errors/en/_posts/2018-01-09-date-variable.md new file mode 100644 index 0000000000..dc264b776f --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-09-date-variable.md @@ -0,0 +1,9 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-10-date-variable-nil.md b/test/md_errors/en/_posts/2018-01-10-date-variable-nil.md new file mode 100644 index 0000000000..76de1c9fd6 --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-10-date-variable-nil.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-11-date-variable-empty.md b/test/md_errors/en/_posts/2018-01-11-date-variable-empty.md new file mode 100644 index 0000000000..dcc364cd3f --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-11-date-variable-empty.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: "" +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-12-date-variable-wrong-type.md b/test/md_errors/en/_posts/2018-01-12-date-variable-wrong-type.md new file mode 100644 index 0000000000..e1aacbc7ba --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-12-date-variable-wrong-type.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: 2018 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-13-date-variable-without-time.md b/test/md_errors/en/_posts/2018-01-13-date-variable-without-time.md new file mode 100644 index 0000000000..65d1a3a626 --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-13-date-variable-without-time.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: 2018-01-13 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-14-date-variable-wrong-offset.md b/test/md_errors/en/_posts/2018-01-14-date-variable-wrong-offset.md new file mode 100644 index 0000000000..a055b95c3d --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-14-date-variable-wrong-offset.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: 2018-01-14 12:00:00 +0500 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-15-date-mismatch.md b/test/md_errors/en/_posts/2018-01-15-date-mismatch.md new file mode 100644 index 0000000000..fe2c31ab3e --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-15-date-mismatch.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: 2018-01-01 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/md_ok/en/_posts/2000-01-01-old-without-date-ok.md b/test/md_ok/en/_posts/2000-01-01-old-without-date-ok.md new file mode 100644 index 0000000000..dc264b776f --- /dev/null +++ b/test/md_ok/en/_posts/2000-01-01-old-without-date-ok.md @@ -0,0 +1,9 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +lang: en +--- + +Content diff --git a/test/md_ok/en/_posts/2000-01-01-old-without-translator-ok.md b/test/md_ok/en/_posts/2000-01-01-old-without-translator-ok.md new file mode 100644 index 0000000000..b6fcf189a4 --- /dev/null +++ b/test/md_ok/en/_posts/2000-01-01-old-without-translator-ok.md @@ -0,0 +1,9 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +date: 2000-01-01 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/md_ok/en/_posts/2018-01-01-ok.md b/test/md_ok/en/_posts/2018-01-01-ok.md new file mode 100644 index 0000000000..fe2c31ab3e --- /dev/null +++ b/test/md_ok/en/_posts/2018-01-01-ok.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: +date: 2018-01-01 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/md_ok/en/page_ok.md b/test/md_ok/en/page_ok.md new file mode 100644 index 0000000000..4e59f453dd --- /dev/null +++ b/test/md_ok/en/page_ok.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: en +--- + +Content diff --git a/test/output_errors.txt b/test/output_errors.txt new file mode 100644 index 0000000000..54e0015656 --- /dev/null +++ b/test/output_errors.txt @@ -0,0 +1,46 @@ +Checking markdown files... +en/1_trailing_whitespace.md + trailing whitespace +en/2_trailing_whitespace_in_yaml.md + trailing whitespace +en/3_newline_at_eof.md + no newline at end of file +en/4_lang_variable.md + missing lang variable +en/5_lang_variable_nil.md + missing lang variable +en/6_lang_variable_empty.md + missing lang variable +en/8_lang_variable_wrong.md + lang variable not matching file location +en/9_multiple_errors.md + missing lang variable + trailing whitespace +en/_posts/2000-01-01-old-lang-variable-nil.md + missing lang variable +en/_posts/2018-01-01-trailing-whitespace.md + trailing whitespace +en/_posts/2018-01-02-lang-variable-nil.md + missing lang variable +en/_posts/2018-01-03-author-variable.md + missing author variable +en/_posts/2018-01-04-author-variable-nil.md + missing author variable +en/_posts/2018-01-05-author-variable-empty.md + missing author variable +en/_posts/2018-01-07-translator-variable.md + missing translator variable +en/_posts/2018-01-09-date-variable.md + missing or invalid date variable +en/_posts/2018-01-10-date-variable-nil.md + missing or invalid date variable +en/_posts/2018-01-11-date-variable-empty.md + missing or invalid date variable +en/_posts/2018-01-12-date-variable-wrong-type.md + missing or invalid date variable +en/_posts/2018-01-13-date-variable-without-time.md + missing or invalid date variable +en/_posts/2018-01-14-date-variable-wrong-offset.md + wrong time zone offset in YAML front matter (not UTC) +en/_posts/2018-01-15-date-mismatch.md + date mismatch between filename and YAML front matter (UTC) diff --git a/test/output_ok.txt b/test/output_ok.txt new file mode 100644 index 0000000000..a5b656cbd1 --- /dev/null +++ b/test/output_ok.txt @@ -0,0 +1 @@ +Checking markdown files... ok diff --git a/test/test_linter.rb b/test/test_linter.rb new file mode 100644 index 0000000000..5ef5248e78 --- /dev/null +++ b/test/test_linter.rb @@ -0,0 +1,30 @@ +require "minitest/autorun" +require_relative "../lib/linter" + +SRCPATH = File.expand_path(File.dirname(__FILE__)) + + +describe Linter do + + before do + @md_ok = "#{SRCPATH}/md_ok" + @md_errors = "#{SRCPATH}/md_errors" + + @output_ok = File.read("#{SRCPATH}/output_ok.txt") + @output_errors = File.read("#{SRCPATH}/output_errors.txt") + end + + it "can run ok" do + Dir.chdir @md_ok + stdout, stderr = capture_io { Linter.new.run } + + stdout.must_equal @output_ok + end + + it "can find errors" do + Dir.chdir @md_errors + stdout, stderr = capture_io { Linter.new(exit_on_errors: false).run } + + stdout.must_equal @output_errors + end +end From a645946421286af9eec79fa6fb0c0149257026b3 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 1 May 2018 21:21:48 +0200 Subject: [PATCH 0125/2563] Move logic for old posts from Document to Linter Handle exceptions for old posts in the Linter class, not in Linter::Document. This helps in making the methods do what their name implies. --- lib/linter.rb | 7 +++++-- lib/linter/document.rb | 8 ++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index ca8e8f418f..68abe411e6 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -72,10 +72,13 @@ def check posts.each do |doc| errors[doc] << "missing author variable" if doc.author_missing? - errors[doc] << "missing translator variable" if doc.translator_missing? - errors[doc] << "missing or invalid date variable" if doc.date_missing? errors[doc] << "date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? errors[doc] << "wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? + + unless doc.old_post? + errors[doc] << "missing translator variable" if doc.translator_missing? + errors[doc] << "missing or invalid date variable" if doc.date_missing? + end end end diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 7a7724ced5..56277254c6 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -32,20 +32,16 @@ def author_missing? end def translator_missing? - return nil if old_post? - !yaml.has_key?("translator") end # date missing or invalid def date_missing? - return nil if old_post? - yaml["date"].nil? || !yaml["date"].respond_to?(:getutc) end def date_mismatch? - return nil if (date_missing? || old_post?) + return nil if date_missing? yaml_date_utc != slug_date end @@ -59,7 +55,7 @@ def slug_date end def yaml_date_not_utc? - return nil if (date_missing? || old_post?) + return nil if date_missing? yaml["date"].utc_offset != 0 end From b0d80e0d513231f95d756cb461b304ac3644ba1f Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 1 May 2018 21:38:15 +0200 Subject: [PATCH 0126/2563] Distinguish between missing and invalid date This makes handling of old posts easier, because a missing date would be ok, but if present the date must be valid. --- lib/linter.rb | 3 ++- lib/linter/document.rb | 13 +++++++++---- test/output_errors.txt | 10 +++++----- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index 68abe411e6..a3815d534a 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -72,12 +72,13 @@ def check posts.each do |doc| errors[doc] << "missing author variable" if doc.author_missing? + errors[doc] << "invalid date variable" if doc.date_invalid? errors[doc] << "date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? errors[doc] << "wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? unless doc.old_post? errors[doc] << "missing translator variable" if doc.translator_missing? - errors[doc] << "missing or invalid date variable" if doc.date_missing? + errors[doc] << "missing date variable" if doc.date_missing? end end end diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 56277254c6..3cc0c0a8ca 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -35,14 +35,19 @@ def translator_missing? !yaml.has_key?("translator") end - # date missing or invalid def date_missing? - yaml["date"].nil? || !yaml["date"].respond_to?(:getutc) + yaml["date"].nil? end - def date_mismatch? + def date_invalid? return nil if date_missing? + !yaml["date"].respond_to?(:getutc) + end + + def date_mismatch? + return nil if date_missing? || date_invalid? + yaml_date_utc != slug_date end @@ -55,7 +60,7 @@ def slug_date end def yaml_date_not_utc? - return nil if date_missing? + return nil if date_missing? || date_invalid? yaml["date"].utc_offset != 0 end diff --git a/test/output_errors.txt b/test/output_errors.txt index 54e0015656..c1e6daf089 100644 --- a/test/output_errors.txt +++ b/test/output_errors.txt @@ -31,15 +31,15 @@ en/_posts/2018-01-05-author-variable-empty.md en/_posts/2018-01-07-translator-variable.md missing translator variable en/_posts/2018-01-09-date-variable.md - missing or invalid date variable + missing date variable en/_posts/2018-01-10-date-variable-nil.md - missing or invalid date variable + missing date variable en/_posts/2018-01-11-date-variable-empty.md - missing or invalid date variable + invalid date variable en/_posts/2018-01-12-date-variable-wrong-type.md - missing or invalid date variable + invalid date variable en/_posts/2018-01-13-date-variable-without-time.md - missing or invalid date variable + invalid date variable en/_posts/2018-01-14-date-variable-wrong-offset.md wrong time zone offset in YAML front matter (not UTC) en/_posts/2018-01-15-date-mismatch.md From 5edb9c81fa5d7619ecde0f9c25111a16567e6905 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 2 May 2018 22:49:05 +0200 Subject: [PATCH 0127/2563] Distinguish between missing and invalid translator --- lib/linter.rb | 1 + lib/linter/document.rb | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/lib/linter.rb b/lib/linter.rb index a3815d534a..c2c30b5565 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -72,6 +72,7 @@ def check posts.each do |doc| errors[doc] << "missing author variable" if doc.author_missing? + errors[doc] << "invalid translator variable" if doc.translator_invalid? errors[doc] << "invalid date variable" if doc.date_invalid? errors[doc] << "date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? errors[doc] << "wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 3cc0c0a8ca..cfc4cc492b 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -31,10 +31,17 @@ def author_missing? yaml["author"].nil? || yaml["author"].empty? end + # translator variable must be present but can be nil def translator_missing? !yaml.has_key?("translator") end + def translator_invalid? + return nil if yaml["translator"].nil? + + !yaml["translator"].is_a?(String) || yaml["translator"].empty? + end + def date_missing? yaml["date"].nil? end From a421ba9747ac3756522f8d8ffea495476744b0ce Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 2 May 2018 22:52:15 +0200 Subject: [PATCH 0128/2563] Add another test case for the translator variable --- .../en/_posts/2018-01-08-translator-variable-empty.md | 10 ++++++++++ test/output_errors.txt | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 test/md_errors/en/_posts/2018-01-08-translator-variable-empty.md diff --git a/test/md_errors/en/_posts/2018-01-08-translator-variable-empty.md b/test/md_errors/en/_posts/2018-01-08-translator-variable-empty.md new file mode 100644 index 0000000000..5655e16455 --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-08-translator-variable-empty.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: "" +date: 2018-01-08 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/output_errors.txt b/test/output_errors.txt index c1e6daf089..52418b3f23 100644 --- a/test/output_errors.txt +++ b/test/output_errors.txt @@ -30,6 +30,8 @@ en/_posts/2018-01-05-author-variable-empty.md missing author variable en/_posts/2018-01-07-translator-variable.md missing translator variable +en/_posts/2018-01-08-translator-variable-empty.md + invalid translator variable en/_posts/2018-01-09-date-variable.md missing date variable en/_posts/2018-01-10-date-variable-nil.md From ad3122b3e1cbc4179a14a184376831c57bceacd5 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 3 May 2018 20:46:01 +0200 Subject: [PATCH 0129/2563] Add test cases for old posts with date or translator Old posts usually do not include a date variable, but some do. If a date is present it must be a valid, matching date. Same for the translator variable. --- .../2000-01-02-old-translator-variable-wrong-type.md | 9 +++++++++ test/md_errors/en/_posts/2000-01-03-old-date-empty.md | 9 +++++++++ test/md_errors/en/_posts/2000-01-04-old-date-mismatch.md | 9 +++++++++ test/output_errors.txt | 6 ++++++ 4 files changed, 33 insertions(+) create mode 100644 test/md_errors/en/_posts/2000-01-02-old-translator-variable-wrong-type.md create mode 100644 test/md_errors/en/_posts/2000-01-03-old-date-empty.md create mode 100644 test/md_errors/en/_posts/2000-01-04-old-date-mismatch.md diff --git a/test/md_errors/en/_posts/2000-01-02-old-translator-variable-wrong-type.md b/test/md_errors/en/_posts/2000-01-02-old-translator-variable-wrong-type.md new file mode 100644 index 0000000000..c194efd5d4 --- /dev/null +++ b/test/md_errors/en/_posts/2000-01-02-old-translator-variable-wrong-type.md @@ -0,0 +1,9 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +translator: 1 +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2000-01-03-old-date-empty.md b/test/md_errors/en/_posts/2000-01-03-old-date-empty.md new file mode 100644 index 0000000000..2df0247be6 --- /dev/null +++ b/test/md_errors/en/_posts/2000-01-03-old-date-empty.md @@ -0,0 +1,9 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +date: "" +lang: en +--- + +Content diff --git a/test/md_errors/en/_posts/2000-01-04-old-date-mismatch.md b/test/md_errors/en/_posts/2000-01-04-old-date-mismatch.md new file mode 100644 index 0000000000..b6fcf189a4 --- /dev/null +++ b/test/md_errors/en/_posts/2000-01-04-old-date-mismatch.md @@ -0,0 +1,9 @@ +--- +layout: news_post +title: "Post" +author: "stomar" +date: 2000-01-01 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/output_errors.txt b/test/output_errors.txt index 52418b3f23..48fbcff80f 100644 --- a/test/output_errors.txt +++ b/test/output_errors.txt @@ -18,6 +18,12 @@ en/9_multiple_errors.md trailing whitespace en/_posts/2000-01-01-old-lang-variable-nil.md missing lang variable +en/_posts/2000-01-02-old-translator-variable-wrong-type.md + invalid translator variable +en/_posts/2000-01-03-old-date-empty.md + invalid date variable +en/_posts/2000-01-04-old-date-mismatch.md + date mismatch between filename and YAML front matter (UTC) en/_posts/2018-01-01-trailing-whitespace.md trailing whitespace en/_posts/2018-01-02-lang-variable-nil.md From 29e909e02a8748291a8fd27fb487f724a9e30fbd Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 3 May 2018 21:03:58 +0200 Subject: [PATCH 0130/2563] Improve some method names and error messages --- lib/linter.rb | 4 ++-- lib/linter/document.rb | 10 +++++----- test/output_errors.txt | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/linter.rb b/lib/linter.rb index c2c30b5565..52468ad414 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -74,8 +74,8 @@ def check errors[doc] << "missing author variable" if doc.author_missing? errors[doc] << "invalid translator variable" if doc.translator_invalid? errors[doc] << "invalid date variable" if doc.date_invalid? - errors[doc] << "date mismatch between filename and YAML front matter (UTC)" if doc.date_mismatch? - errors[doc] << "wrong time zone offset in YAML front matter (not UTC)" if doc.yaml_date_not_utc? + errors[doc] << "filename not matching date variable" if doc.date_mismatch? + errors[doc] << "date variable with wrong time zone offset (not +0000)" if doc.date_not_utc? unless doc.old_post? errors[doc] << "missing translator variable" if doc.translator_missing? diff --git a/lib/linter/document.rb b/lib/linter/document.rb index cfc4cc492b..b7263ea9a2 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -16,7 +16,7 @@ def post? # (they follow different rules; e.g. they have no YAML date variable, # filenames of translations differ from original `en' post, ...) def old_post? - post? && Time.utc(*slug_date.split("/")) < Time.utc(2013, 4, 1) + post? && Time.utc(*filename_date_string.split("/")) < Time.utc(2013, 4, 1) end def lang_missing? @@ -55,18 +55,18 @@ def date_invalid? def date_mismatch? return nil if date_missing? || date_invalid? - yaml_date_utc != slug_date + date_utc_string != filename_date_string end - def yaml_date_utc + def date_utc_string yaml["date"].getutc.strftime('%Y/%m/%d') end - def slug_date + def filename_date_string File.basename(filename).split('-',4)[0..2].join('/') end - def yaml_date_not_utc? + def date_not_utc? return nil if date_missing? || date_invalid? yaml["date"].utc_offset != 0 diff --git a/test/output_errors.txt b/test/output_errors.txt index 48fbcff80f..9564f792a0 100644 --- a/test/output_errors.txt +++ b/test/output_errors.txt @@ -23,7 +23,7 @@ en/_posts/2000-01-02-old-translator-variable-wrong-type.md en/_posts/2000-01-03-old-date-empty.md invalid date variable en/_posts/2000-01-04-old-date-mismatch.md - date mismatch between filename and YAML front matter (UTC) + filename not matching date variable en/_posts/2018-01-01-trailing-whitespace.md trailing whitespace en/_posts/2018-01-02-lang-variable-nil.md @@ -49,6 +49,6 @@ en/_posts/2018-01-12-date-variable-wrong-type.md en/_posts/2018-01-13-date-variable-without-time.md invalid date variable en/_posts/2018-01-14-date-variable-wrong-offset.md - wrong time zone offset in YAML front matter (not UTC) + date variable with wrong time zone offset (not +0000) en/_posts/2018-01-15-date-mismatch.md - date mismatch between filename and YAML front matter (UTC) + filename not matching date variable From 5130e6192d7bbdfb0a1273b06857bb0ab3acb9e1 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 4 May 2018 22:22:00 +0200 Subject: [PATCH 0131/2563] Check variable types Use stronger tests that also check variable types, adapt error messages and method names. Add test cases for lang and author variable. --- lib/linter.rb | 4 ++-- lib/linter/document.rb | 18 +++++++++------ .../en/7_lang_variable_wrong_type.md | 7 ++++++ .../2018-01-06-author-variable-wrong-type.md | 10 +++++++++ test/output_errors.txt | 22 +++++++++++-------- 5 files changed, 43 insertions(+), 18 deletions(-) create mode 100644 test/md_errors/en/7_lang_variable_wrong_type.md create mode 100644 test/md_errors/en/_posts/2018-01-06-author-variable-wrong-type.md diff --git a/lib/linter.rb b/lib/linter.rb index 52468ad414..636383ef91 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -61,7 +61,7 @@ def load_files def check docs.each do |doc| - errors[doc] << "missing lang variable" if doc.lang_missing? + errors[doc] << "missing or invalid lang variable" if doc.lang_invalid? errors[doc] << "lang variable not matching file location" if doc.lang_not_matching_filename? errors[doc] << "no newline at end of file" if doc.no_newline_at_eof? @@ -71,7 +71,7 @@ def check end posts.each do |doc| - errors[doc] << "missing author variable" if doc.author_missing? + errors[doc] << "missing or invalid author variable" if doc.author_invalid? errors[doc] << "invalid translator variable" if doc.translator_invalid? errors[doc] << "invalid date variable" if doc.date_invalid? errors[doc] << "filename not matching date variable" if doc.date_mismatch? diff --git a/lib/linter/document.rb b/lib/linter/document.rb index b7263ea9a2..7d2f6e7087 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -19,16 +19,16 @@ def old_post? post? && Time.utc(*filename_date_string.split("/")) < Time.utc(2013, 4, 1) end - def lang_missing? - yaml["lang"].nil? || yaml["lang"].empty? + def lang_invalid? + yaml["lang"].nil? || !valid_string(yaml["lang"]) end def lang_not_matching_filename? - !lang_missing? && !filename.start_with?("#{yaml['lang']}/") + !lang_invalid? && !filename.start_with?("#{yaml['lang']}/") end - def author_missing? - yaml["author"].nil? || yaml["author"].empty? + def author_invalid? + yaml["author"].nil? || !valid_string(yaml["author"]) end # translator variable must be present but can be nil @@ -39,7 +39,7 @@ def translator_missing? def translator_invalid? return nil if yaml["translator"].nil? - !yaml["translator"].is_a?(String) || yaml["translator"].empty? + !valid_string(yaml["translator"]) end def date_missing? @@ -49,7 +49,7 @@ def date_missing? def date_invalid? return nil if date_missing? - !yaml["date"].respond_to?(:getutc) + !yaml["date"].is_a?(Time) end def date_mismatch? @@ -90,5 +90,9 @@ def read_yaml_and_content(filename) [_yaml || {}, _content || ""] end + + def valid_string(obj) + obj.is_a?(String) && !obj.empty? + end end end diff --git a/test/md_errors/en/7_lang_variable_wrong_type.md b/test/md_errors/en/7_lang_variable_wrong_type.md new file mode 100644 index 0000000000..6e06c06d28 --- /dev/null +++ b/test/md_errors/en/7_lang_variable_wrong_type.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: 1 +--- + +Content diff --git a/test/md_errors/en/_posts/2018-01-06-author-variable-wrong-type.md b/test/md_errors/en/_posts/2018-01-06-author-variable-wrong-type.md new file mode 100644 index 0000000000..4709b34170 --- /dev/null +++ b/test/md_errors/en/_posts/2018-01-06-author-variable-wrong-type.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post" +author: 1 +translator: +date: 2018-01-06 12:00:00 +0000 +lang: en +--- + +Content diff --git a/test/output_errors.txt b/test/output_errors.txt index 9564f792a0..55f59e0a37 100644 --- a/test/output_errors.txt +++ b/test/output_errors.txt @@ -6,18 +6,20 @@ en/2_trailing_whitespace_in_yaml.md en/3_newline_at_eof.md no newline at end of file en/4_lang_variable.md - missing lang variable + missing or invalid lang variable en/5_lang_variable_nil.md - missing lang variable + missing or invalid lang variable en/6_lang_variable_empty.md - missing lang variable + missing or invalid lang variable +en/7_lang_variable_wrong_type.md + missing or invalid lang variable en/8_lang_variable_wrong.md lang variable not matching file location en/9_multiple_errors.md - missing lang variable + missing or invalid lang variable trailing whitespace en/_posts/2000-01-01-old-lang-variable-nil.md - missing lang variable + missing or invalid lang variable en/_posts/2000-01-02-old-translator-variable-wrong-type.md invalid translator variable en/_posts/2000-01-03-old-date-empty.md @@ -27,13 +29,15 @@ en/_posts/2000-01-04-old-date-mismatch.md en/_posts/2018-01-01-trailing-whitespace.md trailing whitespace en/_posts/2018-01-02-lang-variable-nil.md - missing lang variable + missing or invalid lang variable en/_posts/2018-01-03-author-variable.md - missing author variable + missing or invalid author variable en/_posts/2018-01-04-author-variable-nil.md - missing author variable + missing or invalid author variable en/_posts/2018-01-05-author-variable-empty.md - missing author variable + missing or invalid author variable +en/_posts/2018-01-06-author-variable-wrong-type.md + missing or invalid author variable en/_posts/2018-01-07-translator-variable.md missing translator variable en/_posts/2018-01-08-translator-variable-empty.md From c9f56fd27beaf56f82c689f147f27f73f766854d Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 6 May 2018 21:41:40 +0200 Subject: [PATCH 0132/2563] Introduce some instance variables --- lib/linter/document.rb | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/lib/linter/document.rb b/lib/linter/document.rb index 7d2f6e7087..a289a8d385 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -3,9 +3,16 @@ class Document attr_accessor :filename, :yaml, :content + attr_accessor :lang, :author, :translator, :date + def initialize(filename) @filename = filename @yaml, @content = read_yaml_and_content(filename) + + @lang = yaml["lang"] + @author = yaml["author"] + @translator = yaml["translator"] + @date = yaml["date"] end def post? @@ -20,15 +27,15 @@ def old_post? end def lang_invalid? - yaml["lang"].nil? || !valid_string(yaml["lang"]) + lang.nil? || !valid_string(lang) end def lang_not_matching_filename? - !lang_invalid? && !filename.start_with?("#{yaml['lang']}/") + !lang_invalid? && !filename.start_with?("#{lang}/") end def author_invalid? - yaml["author"].nil? || !valid_string(yaml["author"]) + author.nil? || !valid_string(author) end # translator variable must be present but can be nil @@ -37,19 +44,19 @@ def translator_missing? end def translator_invalid? - return nil if yaml["translator"].nil? + return nil if translator.nil? - !valid_string(yaml["translator"]) + !valid_string(translator) end def date_missing? - yaml["date"].nil? + date.nil? end def date_invalid? return nil if date_missing? - !yaml["date"].is_a?(Time) + !date.is_a?(Time) end def date_mismatch? @@ -59,7 +66,7 @@ def date_mismatch? end def date_utc_string - yaml["date"].getutc.strftime('%Y/%m/%d') + date.getutc.strftime('%Y/%m/%d') end def filename_date_string @@ -69,7 +76,7 @@ def filename_date_string def date_not_utc? return nil if date_missing? || date_invalid? - yaml["date"].utc_offset != 0 + date.utc_offset != 0 end def no_newline_at_eof? From 8b0e7e84a138a8aeb7053e94c27653fd35b062c3 Mon Sep 17 00:00:00 2001 From: Andrei Beliankou Date: Fri, 11 May 2018 16:44:46 +0200 Subject: [PATCH 0133/2563] Translate 2.5.1 release post (RU) --- .../_posts/2018-03-28-ruby-2-5-1-released.md | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 ru/news/_posts/2018-03-28-ruby-2-5-1-released.md diff --git a/ru/news/_posts/2018-03-28-ruby-2-5-1-released.md b/ru/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..9541152d94 --- /dev/null +++ b/ru/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,61 @@ +--- +layout: news_post +title: "Вышел Ruby 2.5.1" +author: "naruse" +translator: "arbox" +date: 2018-03-28 17:20:00 +0000 +lang: ru +--- + +Вышел Ruby 2.5.1. + +Этот релиз влючает в себя исправление ошибок и решений проблем в безопасности. + +* [CVE-2017-17742: HTTP response splitting in WEBrick](/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir](/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: DoS by large request in WEBrick](/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: Buffer under-read in String#unpack](/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket](/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir](/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Multiple vulnerabilities in RubyGems](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + + +Кроме этого релиз включил в себя ряд других исправлений. +Подробности можно найти в [логах добавлений](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1). + +## Скачать + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## Комментарии к релизу + +Многие разработчики и пользователи, приславшие сообщения об ошибках, +помогли нам подготовить этот релиз. + +Спасибо им за их вклад. From 299440a3d2dae230a0f3a54797be189f76c6e2cb Mon Sep 17 00:00:00 2001 From: Emmanuel Date: Sun, 13 May 2018 23:24:45 +0200 Subject: [PATCH 0134/2563] Fix grammar (en) (#1793) --- en/documentation/success-stories/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/documentation/success-stories/index.md b/en/documentation/success-stories/index.md index 716a335dcd..18cb87ce42 100644 --- a/en/documentation/success-stories/index.md +++ b/en/documentation/success-stories/index.md @@ -22,13 +22,13 @@ you’ll find a small sample of real world usage of Ruby. #### Business -* [Toronto Rehab][4] uses a RubyWebDialogs based app to manage and track +* [Toronto Rehab][4] uses a RubyWebDialogs-based app to manage and track on-call and on-site support for the IT help desk and IT operations teams. #### Robotics -* At [MORPHA][5] project, Ruby was used to implemented the reactive +* At [MORPHA][5] project, Ruby was used to implement the reactive control part for the Siemens service robot. #### Networking From 152ade4ea547b1f1d7996fd33bb03d3d7f69eabe Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 14 May 2018 19:59:57 +0900 Subject: [PATCH 0135/2563] [JA] Fix compare link --- ja/news/_posts/2018-03-28-ruby-2-4-4-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md b/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md index d3e9b0b798..5ba0de194e 100644 --- a/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md +++ b/ja/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -19,7 +19,7 @@ Ruby 2.4.4 がリリースされました。 * [CVE-2018-8780: Dir において NUL 文字挿入により意図しないディレクトリにアクセスされうる脆弱性について](/ja/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/)への対応 * [RubyGems の複数の脆弱性について](/ja/news/2018/02/17/multiple-vulnerabilities-in-rubygems/)への対応 -その他いくつかの不具合修正も含まれます。詳細は [commit log](https://github.com/ruby/ruby/compare/v2_4_2...v2_4_3) を参照してください。 +その他いくつかの不具合修正も含まれます。詳細は [commit log](https://github.com/ruby/ruby/compare/v2_4_3...v2_4_4) を参照してください。 ## ダウンロード From 3d5d8399c734075ca69564de391d30941b3fd0b2 Mon Sep 17 00:00:00 2001 From: Ivo Herweijer Date: Fri, 18 May 2018 16:42:01 +0200 Subject: [PATCH 0136/2563] Update all try_ruby links to ruby.github.io/TryRuby --- _config.yml | 2 +- bg/documentation/index.md | 2 +- de/documentation/index.md | 2 +- en/documentation/index.md | 2 +- es/documentation/index.md | 2 +- fr/documentation/index.md | 2 +- id/documentation/index.md | 2 +- it/documentation/index.md | 2 +- ko/documentation/index.md | 2 +- pl/documentation/index.md | 2 +- pt/documentation/index.md | 2 +- ru/documentation/index.md | 2 +- tr/documentation/index.md | 2 +- vi/documentation/index.md | 2 +- zh_cn/documentation/index.md | 2 +- zh_tw/documentation/index.md | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/_config.yml b/_config.yml index f2e36e7a7b..3355d2275c 100644 --- a/_config.yml +++ b/_config.yml @@ -666,7 +666,7 @@ locales: sidebar: try_ruby: &try_ruby - url: https://easydatawarehousing.github.io/TryRuby/ + url: https://ruby.github.io/TryRuby/ rubybib: &rubybib url: http://rubybib.org/ diff --git a/bg/documentation/index.md b/bg/documentation/index.md index 5ae96b676f..86f33c3d45 100644 --- a/bg/documentation/index.md +++ b/bg/documentation/index.md @@ -142,7 +142,7 @@ ruby -v Ако имате въпроси относно Ruby, [пощенският списък](/bg/community/mailing-lists/) е чудесно място да ги зададете. -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/de/documentation/index.md b/de/documentation/index.md index e17aa57462..9bb15e3181 100644 --- a/de/documentation/index.md +++ b/de/documentation/index.md @@ -82,7 +82,7 @@ deutschsprachigen Artikeln. Für weitergehende Fragen steht eine große -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://www.hackety.com/ [3]: http://mislav.uniqpath.com/poignant-guide/ [4]: http://www.moccasoft.de/papers/ruby_tutorial diff --git a/en/documentation/index.md b/en/documentation/index.md index 8160eb5daf..26ba207496 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -167,7 +167,7 @@ If you have questions about Ruby the -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/es/documentation/index.md b/es/documentation/index.md index 42115f9ba2..4b296b00f3 100644 --- a/es/documentation/index.md +++ b/es/documentation/index.md @@ -70,7 +70,7 @@ correo](/es/community/mailing-lists/) es un buen lugar para comenzar. -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://pine.fm/LearnToProgram/ [3]: http://www.ruby-doc.org/docs/ProgrammingRuby/ [4]: http://pragmaticprogrammer.com/titles/ruby/index.html diff --git a/fr/documentation/index.md b/fr/documentation/index.md index 3b6f69215c..7b8545e56e 100644 --- a/fr/documentation/index.md +++ b/fr/documentation/index.md @@ -143,7 +143,7 @@ la [liste de diffusion](/en/community/mailing-lists/) est un bon endroit [2]: http://jeveuxapprendreruby.fr/ -[3]: https://easydatawarehousing.github.io/TryRuby/ +[3]: https://ruby.github.io/TryRuby/ [4]: http://rubykoans.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://pine.fm/LearnToProgram/ diff --git a/id/documentation/index.md b/id/documentation/index.md index 9cde788b27..e59dbf616b 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -164,7 +164,7 @@ adalah tempat yang baik untuk memulai. -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/it/documentation/index.md b/it/documentation/index.md index 166b3f7725..63f786d4f8 100644 --- a/it/documentation/index.md +++ b/it/documentation/index.md @@ -143,7 +143,7 @@ iniziare. -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/ko/documentation/index.md b/ko/documentation/index.md index d2df167739..ac75ce2f44 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -156,7 +156,7 @@ ruby -v 영어가 되신다면 [메일링 리스트](/ko/community/mailing-lists/)를 사용하실 수도 있습니다. -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/pl/documentation/index.md b/pl/documentation/index.md index 02e0eaad14..4c1b1c3aa5 100644 --- a/pl/documentation/index.md +++ b/pl/documentation/index.md @@ -146,7 +146,7 @@ angielskim). Jeśli szukasz pomocy w języku polskim, zajrzyj na [forum][pl-2]. -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/pt/documentation/index.md b/pt/documentation/index.md index b66cf067a8..1a62ce1370 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -160,7 +160,7 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/ru/documentation/index.md b/ru/documentation/index.md index 7888fc04b1..dca5ea48c7 100644 --- a/ru/documentation/index.md +++ b/ru/documentation/index.md @@ -149,7 +149,7 @@ ruby -v -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/tr/documentation/index.md b/tr/documentation/index.md index 3a07b3186c..a51f2ae5c3 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -109,7 +109,7 @@ listeleri](/en/community/mailing-lists/) iyi bir başlangıç olacaktır. -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://www.hackety.com/ [4]: http://mislav.uniqpath.com/poignant-guide/ diff --git a/vi/documentation/index.md b/vi/documentation/index.md index ed2acd119f..cce1fbe2f2 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -159,7 +159,7 @@ là một nơi tuyệt vời. -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index 1daec1e2cc..1ce4681884 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -121,7 +121,7 @@ ruby -v -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 63a974208d..0751268eb2 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -112,7 +112,7 @@ lang: zh_tw -[1]: https://easydatawarehousing.github.io/TryRuby/ +[1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ [3]: http://rubymonk.com/ [4]: http://www.hackety.com/ From f67fc959711906de979a01d82641de53d51b7628 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 20 May 2018 21:44:45 +0200 Subject: [PATCH 0137/2563] Do not require 'rubygems' Requiring 'rubygems' is not necessary because it is preloaded nowadays. --- Rakefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Rakefile b/Rakefile index 6cc7dea7ab..ba253742b6 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,5 @@ # encoding: utf-8 -require 'rubygems' - begin require 'bundler/setup' rescue LoadError => e From 5446f17a1b20d55ec03034e5a5a57efdaae4c4cc Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 2 May 2018 19:35:37 +0700 Subject: [PATCH 0138/2563] Translate CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir (id) --- ...-with-directory-traversal-cve-2018-6914.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 id/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md diff --git a/id/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/id/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md new file mode 100644 index 0000000000..e09122cf33 --- /dev/null +++ b/id/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "CVE-2018-6914: Pembuatan berkas dan direktori yang tidak disengaja dengan directory traversal pada tempfile dan tmpdir" +author: "usa" +translator: "meisyal" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: id +--- + +Ada sebuah kerentanan pembuatan direktori yang tidak disengaja pada pustaka +tmpdir yang dikemas dengan Ruby. Dan ada juga kerentanan pembuatan berkas +yang tidak disengaja pada pustaka tempfile yang dikemas dengan Ruby, karena +ini menggunakan tmpdir secara internal. +Kerentanan ini telah ditetapkan sebagai penanda CVE [CVE-2018-6914](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6914). + +## Detail + +*Method* `Dir.mktmpdir` yang dibawa oleh pustaka tmpdir menerima awalan dan +akhiran dari direktori yang dibuat sebagai parameter pertamanya. +Awalan tersebut dapat berisi penanda direktori relatif `"../"`, sehingga +*method* ini dapat digunakan untuk menentukan direktori apapun sebagai target. +Jika, sebuah skrip menerima masukan dari luar sebagai awalan, dan target +direktori memiliki izin yang tidak sesuai atau proses Ruby memiliki hak yang +tidak semestinya, penyerang dapat membuat sebuah direktori atau berkas pada +direktori manapun. + +Semua pengguna yang terimbas dengan rilis ini seharusnya memperbarui segera. + +## Versi Terimbas + +* Rangkaian Ruby 2.2: 2.2.9 dan sebelumnya +* Rangkaian Ruby 2.3: 2.3.6 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.3 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.0 dan sebelumnya +* Rangkaian Ruby 2.6: 2.6.0-preview1 +* Sebelum revisi *trunk* r62990 + +## Rujukan + +Terima kasih kepada [ooooooo_q](https://hackerone.com/ooooooo_q) atas laporan +masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2018-03-28 14:00:00 (UTC) From 72568e05ad122d36c28492c923182f23cd591763 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 7 May 2018 20:32:23 +0700 Subject: [PATCH 0139/2563] Translate Ruby 2.2.10 released news (id) --- .../_posts/2018-03-28-ruby-2-2-10-released.md | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 id/news/_posts/2018-03-28-ruby-2-2-10-released.md diff --git a/id/news/_posts/2018-03-28-ruby-2-2-10-released.md b/id/news/_posts/2018-03-28-ruby-2-2-10-released.md new file mode 100644 index 0000000000..15dd30b1e3 --- /dev/null +++ b/id/news/_posts/2018-03-28-ruby-2-2-10-released.md @@ -0,0 +1,61 @@ +--- +layout: news_post +title: "Ruby 2.2.10 Rilis" +author: "usa" +translator: "meisyal" +date: 2018-03-28 17:00:00 +0000 +lang: id +--- + +Ruby 2.2.10 telah dirilis. +Rilis ini mencakup beberapa perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk lebih detail. + +* [CVE-2017-17742: Pemisahan respons HTTP pada WEBrick](/id/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: DoS karena permintaan yang besar pada WEBrick](/id/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: Pembuatan berkas dan direktori yang tidak disengaja dengan directory traversal pada tempfile dan tmpdir](/id/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: Buffer under-read pada String#unpack](/id/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Pembuatan socket yang tidak disengaja karena poisoned NUL byte pada UNIXServer dan UNIXSocket](/id/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Directory traversal yang tidak disengaja oleh poisoned NUL byte pada Dir](/id/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Beberapa kerentanan pada RubyGems](/id/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Ruby 2.2 sedang dalam fase perawatan keamanan hingga akhir bulan Maret 2018. +Setelah bulan tersebut, perawatan keamanan Ruby 2.2 akan diakhiri. +Sehingga, rilis ini diharapkan sebagai rilis terakhir dari Ruby 2.2. +Kami tidak akan pernah membuat rilis baru dari Ruby 2.2 kecuali Ruby 2.2.10 +memiliki *regression bug* yang serius. + +## Unduh + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2) + + SIZE: 13365461 bytes + SHA1: 72ee1dcfd96199d2c3092b77db7a7f439c0abd08 + SHA256: a54204d2728283c9eff0cf81d654f245fa5b3447d0824f1a6bc3b2c5c827381e + SHA512: f8ec96c2a5f4ecf22052ee0b1029989ded52d7bf5d41be24fef67e732e76f72119302240bca08f0547510a9cd29e941a32e263cad9c8a2bf80023d6bc97b2373 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz) + + SIZE: 16694179 bytes + SHA1: b0207c861f3fa41cbe4909ecb89bd2fcac81fe7c + SHA256: cd51019eb9d9c786d6cb178c37f6812d8a41d6914a1edaf0050c051c75d7c358 + SHA512: 051124922240d2e20e74903b9c629fa897279072d2aa9b0a4e3a02331b843fa9c97c16e7073d6faec1b9f2024c3a7e36346014c30eee256f0715c5de226b5db8 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz) + + SIZE: 10508612 bytes + SHA1: c46737f81df819c3d7423df5c644431b3fcb8fee + SHA256: bf77bcb7e6666ccae8d0882ea12b05f382f963f0a9a5285a328760c06a9ab650 + SHA512: 1f35458f2b1c334e64aecf42cd1df3b223fef119b6ad23394285d9f2e72da26b3ba5418950694c4a8c0b4afc43672f78459f2f7281a595cff0967eb239662ae4 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip) + + SIZE: 18540424 bytes + SHA1: 0f4b9c6695d000cb456fe8b89f8bf6d42fb95069 + SHA256: 6933eb989afb1b916c438d8eeecff1cfb0a6569c07e7190beca56b10b822207a + SHA512: dfaa9a76170b0eed9cb2bf41178f2193dd3428492413b1616aaabd67ec35b9b7705b422b0fdfe38b18a1800bbce3ba161b53d229d307ea7f5c0269ef3d031980 + +## Komentar Rilis + +Terima kasih kepada semua yang telah melaporkan kerentanan, memperbaiki +kerentanan, dan membantu rilis ini. From c6e7ceb81b7760905f0138ebb8ec347672d64903 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Fri, 11 May 2018 21:05:08 +0700 Subject: [PATCH 0140/2563] Translate Ruby 2.4.4 released news (id) --- .../_posts/2018-03-28-ruby-2-4-4-released.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 id/news/_posts/2018-03-28-ruby-2-4-4-released.md diff --git a/id/news/_posts/2018-03-28-ruby-2-4-4-released.md b/id/news/_posts/2018-03-28-ruby-2-4-4-released.md new file mode 100644 index 0000000000..90446790d0 --- /dev/null +++ b/id/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Ruby 2.4.4 Rilis" +author: "nagachika" +translator: "meisyal" +date: 2018-03-28 17:10:00 +0000 +lang: id +--- + +Ruby 2.4.4 telah dirilis. + +Rilis ini mencakup beberapa perbaikan *bug* dan keamanan. + +* [CVE-2017-17742: Pemisahan respons HTTP pada WEBrick](/id/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Pembuatan berkas dan direktori yang tidak disengaja pada tempfile dan tmpdir](/id/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: DoS karena permintaan yang besar pada WEBrick](/id/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: Buffer under-read pada String#unpack](/id/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Pembuatan socket yang tidak disengaja karena poisoned NUL byte pada UNIXServer dan UNIXSocket](/id/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Directory traversal yang tidak disengaja oleh poisoned NUL byte pada Dir](/id/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Beberapa kerentanan pada RubyGems](/id/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + + +Ada juga beberapa perbaikan *bug* +Lihat [commit logs](https://github.com/ruby/ruby/compare/v2_4_3...v2_4_4) untuk lebih detail. + +## Unduh + +* + + SIZE: 12659705 bytes + SHA1: 1cc548ba3eb821e29ab92ac13e1d5c7bf23b1526 + SHA256: 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1 + SHA512: ae632852a5f413561d8134e9ef3bb82adb37317696dd293ef92cb76709ecd45718f14116ecce35b12f1c2dd53ccae8dabc7a924a270072b697512d11f4922347 + +* + + SIZE: 14225338 bytes + SHA1: ec82b0d53bd0adad9b19e6b45e44d54e9ec3f10c + SHA256: 254f1c1a79e4cc814d1e7320bc5bdd995dc57e08727d30a767664619a9c8ae5a + SHA512: fa1f6d3a4856046d4f9c3e652be225ae67f3e9ff0d117b6ed327d58cfb717fb9b1ce81d06a3302e486e7da0b5f67b16341666ceb02a554a428d221d008263ed8 + +* + + SIZE: 10049304 bytes + SHA1: 0eac83a0818e1d6bc661abd9f90457cff8868cff + SHA256: 1d0034071d675193ca769f64c91827e5f54cb3a7962316a41d5217c7bc6949f0 + SHA512: 4dc112a149273d4221484ccbf1260c6c5fcad7e0a6e4bc91e4ef69cbc093d3191f7abd71420f80d680f8ea5d111e6803ba2af32166aa501913639e6d5696fde0 + +* + + SIZE: 15685143 bytes + SHA1: 4ac11e6915c168a235b854014aa2a0d540cabd68 + SHA256: d0ca0561be0045f2e094f2ba94f1585e66e9c1e91fe6de3f3035f4d67dce7650 + SHA512: 79b655fda332d44097e108a76c4ff74f16930cd3ef3951c7988df325781aa0b3e724697107d964735f31a2457a835f08fa72c4eadd5ef7d3ccc1e6c9185f37e3 + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang menyediakan laporan *bug* +telah membantu kami membuat rilis ini. +Terima kasih atas kontribusinya. From 36b4b8304d5a9fd3a4e921caf630959ae29990fc Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 8 May 2018 19:26:54 +0700 Subject: [PATCH 0141/2563] Translate Ruby 2.3.7 released news (id) --- .../_posts/2018-03-28-ruby-2-3-7-released.md | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 id/news/_posts/2018-03-28-ruby-2-3-7-released.md diff --git a/id/news/_posts/2018-03-28-ruby-2-3-7-released.md b/id/news/_posts/2018-03-28-ruby-2-3-7-released.md new file mode 100644 index 0000000000..4ddaf084ad --- /dev/null +++ b/id/news/_posts/2018-03-28-ruby-2-3-7-released.md @@ -0,0 +1,69 @@ +--- +layout: news_post +title: "Ruby 2.3.7 Rilis" +author: "usa" +translator: "meisyal" +date: 2018-03-28 17:00:00 +0000 +lang: id +--- + +Ruby 2.3.7 telah dirilis. + +Rilis ini mencakup sekitar 70 perbaikan *bug* setelah rilis sebelumnya, dan +juga beberapa perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk lebih detail. + +* [CVE-2017-17742: Pemisahan respons HTTP pada WEBrick](/id/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: DoS karena permintaan yang besar pada WEBrick](/id/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: Pembuatan berkas dan direktori yang tidak disengaja pada tempfile dan tmpdir](/id/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: Buffer under-read pada String#unpack](/id/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Pembuatan socket yang tidak disengaja karena poisoned NUL byte pada UNIXServer dan UNIXSocket](/id/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Directory traversal yang tidak disengaja oleh poisoned NUL byte pada Dir](/id/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Beberapa kerentanan pada RubyGems](/id/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Lihat [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_7/ChangeLog) untuk lebih detail. + +Setelah rilis ini, kami akan mengakhiri fase perawatan dari Ruby 2.3, +dan memulai fase perawatan kemanan untuk ini. +Ini berarti setelah rilis dari 2.3.7 kami tidak akan pernah *backport* +perbaikan *bug* ke 2.3 kecuali perbaikan keamanan. +Masa perawatan keamanan dijadwalkan selama satu tahun. +Setelah masa tersebut, dukungan dari Ruby 2.3 secara resmi selesai. +Sehingga, kami merekomendasikan Anda untuk memperbarui Ruby ke 2.5 atau 2.4. + +## Unduh + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2) + + SIZE: 14421177 bytes + SHA1: 3bb88965405da5e4de2432eeb445fffa8a66fb33 + SHA256: 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e + SHA512: e72754f7703f0706c4b0bccd053035536053451fe069a55427984cc0bc5692b86bd51c243c5f62f78527c66b08300d2e4aa19b73e6ded13d6020aa2450e66a7d + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz) + + SIZE: 17859100 bytes + SHA1: 540996fec64984ab6099e34d2f5820b14904f15a + SHA256: 35cd349cddf78e4a0640d28ec8c7e88a2ae0db51ebd8926cd232bb70db2c7d7f + SHA512: 1ceccf00981d6d60e7587e89a04cc028f976950313ee445db5afd03e323472d3e69a35423733b24f9cbd9729f034cf80d2233b5c159764839f5bee4ca7052fe0 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz) + + SIZE: 11438124 bytes + SHA1: c489248730cbce7721edd3e97de81e68eec938b2 + SHA256: c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb + SHA512: fd91c8db3d3aa4cc962a62f27b4d1a71f6b5567ab836e6dbfbbb1553eb269d11e12faf9e36af6c489c33b54fd89dab99bfe81a563158b704877f0628d6f5bc5a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip) + + SIZE: 19911423 bytes + SHA1: ec6870b39125238d8d57d642225592896ed3b6d9 + SHA256: ffa42eeff928624a05dc7ad39426c855c6e9a757417f17b6fe9e54664ec91012 + SHA512: c85255a7f43c7df2fb11be4f9aa96e2ae70a94d3e963ccff4d8c1349ad6d455d9a436812efb24c91e451e68b8f81e5d335c6d5811b2a0e945a7070c305054434 + +## Komentar Rilis + +Terima kasih kepada semua yang telah membantu rilis ini. + +Perawatan Ruby 2.3, termasuk rilis ini, didasarkan pada "Agreement for the Ruby +stable version" dari Ruby Association. From 0175c6348215025809c7ca99ca22552c3c7e87fb Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sun, 13 May 2018 13:21:40 +0700 Subject: [PATCH 0142/2563] Translate Ruby 2.5.1 released news (id) --- .../_posts/2018-03-28-ruby-2-5-1-released.md | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 id/news/_posts/2018-03-28-ruby-2-5-1-released.md diff --git a/id/news/_posts/2018-03-28-ruby-2-5-1-released.md b/id/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..5f83cd8d65 --- /dev/null +++ b/id/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,59 @@ +--- +layout: news_post +title: "Ruby 2.5.1 Rilis" +author: "naruse" +translator: "meisyal" +date: 2018-03-28 17:20:00 +0000 +lang: id +--- + +Ruby 2.5.1 telah dirilis. + +Rilis ini mencakup beberapa perbaikan *bug* dan keamanan. + +* [CVE-2017-17742: Pemisahan respons HTTP pada WEBrick](/id/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Pembuatan berkas dan direktori yang tidak disengaja pada tempfile dan tmpdir](/id/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: DoS karena permintaan yang besar pada WEBrick](/id/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: Buffer under-read pada String#unpack](/id/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Pembuatan socket yang tidak disengaja karena poisoned NUL byte pada UNIXServer dan UNIXSocket](/id/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Directory traversal yang tidak disengaja oleh poisoned NUL byte pada Dir](/id/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Beberapa kerentanan pada RubyGems](/id/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Ada juga beberapa perbaikan *bug*. +Lihat [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1) untuk lebih detail. + +## Unduh + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang menyediakan laporan *bug* +telah membantu kami untuk membuat rilis ini. +Terima kasih atas kontribusinya. From a6b202f7cebb971f05b04ec1826e78393403e545 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Thu, 31 May 2018 18:36:43 +0900 Subject: [PATCH 0143/2563] Ruby 2.6.0-preview2 Released --- _data/downloads.yml | 2 +- _data/releases.yml | 14 ++ ...2018-05-31-ruby-2-6-0-preview2-released.md | 125 ++++++++++++++++++ ...2018-05-31-ruby-2-6-0-preview2-released.md | 106 +++++++++++++++ 4 files changed, 246 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md create mode 100644 ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index a4d91d5796..af864d667e 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 2.6.0-preview1 + - 2.6.0-preview2 stable: diff --git a/_data/releases.yml b/_data/releases.yml index 111ee45baf..f83688c5ad 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,20 @@ # 2.6 series +- version: 2.6.0-preview2 + date: 2018-05-31 + post: /en/news/2018/05/31/ruby-2-6-0-preview2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview2.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview2.zip + bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview2.tar.bz2 + xz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview2.tar.xz + sha256: + gz: ee15ab35f17c942b1f41bd792f2494f639affff6e03babf44708b72fdbb6de34 + zip: 97fc187b90570fce110d22803a319ab04e68700692b2b6b4e9961886f1a931e5 + bz2: d8ede03d5ad3abd9d2c81cf0ad17a41d22b747c003cc16fd59befb2aaf48f0b2 + xz: 00ddfb5e33dee24469dd0b203597f7ecee66522ebb496f620f5815372ea2d3ec + - version: 2.6.0-preview1 date: 2018-02-24 post: /en/news/2018/02/24/ruby-2-6-0-preview1-released/ diff --git a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md new file mode 100644 index 0000000000..b136543fdf --- /dev/null +++ b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -0,0 +1,125 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview2 Released" +author: "naruse" +translator: +date: 2018-05-31 00:00:00 +0000 +lang: en +--- + +We are pleased to announce the release of Ruby 2.6.0-preview2. + +Ruby 2.6.0-preview2 is the first preview toward Ruby 2.6.0. +This preview2 is released earlier than usual because it includes an important new feature, JIT. + +## JIT + +Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. + +JIT compiler aims to improve performance of any Ruby program execution. +Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native cod e. +See also: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization + +How to use: Just specify "--jit" in command line or $RUBYOPT environment variable. +Specifying "--jit-verbose=1" allows to print basic information of ongoing JIT compilation. See "ruby --help" for other options. + +The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. +Currently JIT compiler is supported only when Ruby is built by gcc or clang and the compiler is available on runtime. Otherwise you can't use it for now. + +As of 2.6.0-preview2, we're just preparing infrastructure for JIT and very few optimizations are implemented. +You can measure some of potential improvements in micro benchmarks with this release, but it is NOT ready for benchmarking final performance of Ruby's JIT compiler, especially for larger programs like Rails applications. + +We're going to implement method iniling in JIT compiler, which is expected to increase Ruby's performance in order of magnitude. +Also, we're planning to increase the supported platforms, and the next plan is to support Visual Studio. + +Stay tuned for the new age of Ruby's performance. + +## RubyVM::AST [Experimental] + +Ruby 2.6 introduces `RubyVM::AST` module. + +This module has `parse` method which parses a given string and returns AST (Abstract Syntax Tree) nodes, and `parse_file` method which parses a given file and returns AST nodes. +`RubyVM::AST::Node` class is also introduced you can get location information and children nodes from `Node` objects. This feature is experimental, so compatibility is not guaranteed. + +## New Features + +* Add a new alias `then` to `Kernel#yield_self`. [Feature #14594] + +* `else` without `rescue` now causes a syntax error. [EXPERIMENTAL] + +* constant names may start with a non-ASCII capital letter. [Feature #13770] + +* endless range [Feature#12912] + +An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: + + ary[1..] # identical to ary[1..-1] without magical -1 + (1..).each {|index| ... } # inifinite loop from index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Add Binding#source_location. [Feature #14230] + * This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [Bug #4352]. So, users should use this newly-introduced method instead of `Kernel#eval`. + +* Add :exception option to let Kernel.#system raise error instead of returning false. [Feature #14386] + +## Performance improvements + +* Speedup `Proc#call` because we dont' need to care about `$SAFE` any more. + [Feature #14318] + With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure + x1.4 improvements [Bug #10212]. + +* Speedup `block.call` where `block` is passed block parameter. [Feature #14330] + Ruby 2.5 improves block passing performance. [Feature #14045] + Additionally, Ruby 2.6 improves the performance of passed block calling. + With micro-benchmark we can observe x2.6 improvemnt. + +## Other notable changes since 2.5 + +* Range#cover? いる? + +* $SAFE is a process global state and we can set 0 again. [Feature #14250] + +* Passing safe_level to ERB.new is deprecated. trim_mode and eoutvar arguments are changed to keyword arguments. [Feature #14256] + +* Merge RubyGems 3.0.0.beta1 + +See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) +or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +for details. + +With those changes, +[4699 files changed, 45744 insertions(+), 30885 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +since Ruby 2.5.0! + +Enjoy programming with Ruby 2.6.0-preview2! + +## Download + +* + + SIZE: 16170732 bytes + SHA1: 6867b00e81af0b70fcb6f1aa7fc22d89d48a7d12 + SHA256: ee15ab35f17c942b1f41bd792f2494f639affff6e03babf44708b72fdbb6de34 + SHA512: 95c5a277785dfeb3006503e1b9ccccefdf6ce29669d4576f0191ee6986ba0e3567fbbed18a8d2b1f147d637434e4a3a4fdf47d84995e10ad4a354950e9092690 + +* + + SIZE: 19850776 bytes + SHA1: eba80a09b552ce3142fd571ff5867a13736d170e + SHA256: 97fc187b90570fce110d22803a319ab04e68700692b2b6b4e9961886f1a931e5 + SHA512: d5501819635bda64ac3dc717815652b692302b44a7cdf4c08edfa5cb9ec7f79a70fffc534879b316a4a9584825ed3c0948667beae2d7c313de58583931b981f4 + +* + + SIZE: 14209461 bytes + SHA1: a9b1b4f359601b94b3f5b77115fcbf3790ff69cd + SHA256: d8ede03d5ad3abd9d2c81cf0ad17a41d22b747c003cc16fd59befb2aaf48f0b2 + SHA512: 3872227e9b1c97c206d19bf1e6ce15a38ee15a26c431b4436605dea67affcf16372358984df76b35e7abaa902c15c16f533ac7af47e3031dea9451bbe459b693 + +* + + SIZE: 11525372 bytes + SHA1: e795abe1a4f828b3d851f7148b4bf6c9d9a7e7fd + SHA256: 00ddfb5e33dee24469dd0b203597f7ecee66522ebb496f620f5815372ea2d3ec + SHA512: bef3e90e97d6e58889cd500c591c579b728ca5833022b690182c0bf4d661e437b3a2ca33470dac35fcf693897819b9d7f500c0f71b707e2fcdcb0644028f2c03 diff --git a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md new file mode 100644 index 0000000000..5f5305f830 --- /dev/null +++ b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -0,0 +1,106 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview2 Released" +author: "naruse" +translator: +date: 2018-05-31 00:00:00 +0000 +lang: ja +--- + +Ruby 2.6.0に向けた最初のプレビューである、Ruby 2.6.0-preview2がリリースされました。 + +Ruby 2.6.0-preview2は、重要な新機能であるJITを含むため、例年よりも早期にリリースすることにしました。 +その一部を以下に紹介します。 + +## JIT + +Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 + +JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 +他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) + +JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 + +今回のリリースはこのJITコンパイル機能を皆さんの環境で動作を確認して頂くとともに、セキュリティ上の問題が無いかを早期に確認するために行っています。 +現在のJITコンパイラはいくつか制限があり、まずgccまたはclangによってビルドされたRubyでかつ、そのコンパイラが実行時に利用可能である必要があります。また、現在はJITコンパイルの基盤を準備している段階で、少数の最適化のみ実装しています。そのため現在でもいくつかのマイクロベンチマークでは潜在的な速度改善が見られるものの、より大きなプログラム、特にRailsアプリケーションなどではJITコンパイラの性能を計測出来る段階ではありません。 + +今後はインライン化等を実装することでRubyの性能を桁違いに向上させます。また、Visual Studioを筆頭に、サポートする環境も増やしていきます。 + +引き続き新時代のRubyの実効性能にご期待ください。 + +## RubyVM::AST [Experimental] + +Ruby 2.6では `RubyVM::AST` モジュールが導入されました。 + +このモジュールには、文字列をパースしてAST(抽象構文木)のNodeを返す`parse`メソッド、ファイルをパースする`parse_file`メソッドが実装されています。 +`RubyVM::AST::Node` も導入されました。このクラスのインスタンスから位置情報や子ノードを取得することができます。この機能はexperimentalであり、互換性は保証されていません。 + +## 新機能 + +* `Kernel#yield_self` の別名として `then` が追加されました [Feature #14594] + +* `rescue` 無しの `else` が文法エラーとなるようになりました [EXPERIMENTAL] + +* ASCII以外の大文字でも定数を定義出来るようになりました [Feature #13770] + +* endless range [Feature#12912] + +An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: + + ary[1..] # identical to ary[1..-1] without magical -1 + (1..).each {|index| ... } # inifinite loop from index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Binding#source_location の追加 [Feature #14230] + * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [Bug #4352]、この新しいメソッドを用いることが今後は推奨されます。 +* Kernel#system の失敗時に、falseを返す代わりに例外を上げさせる :exception オプションを追加 [Feature #14386] + +## パフォーマンスの改善 + +* 後述の$SAFEの変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [Feature #14318] + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [Bug #10212]. +* `block` がブロックパレメータである時、`block.call`が高速化されました [Feature #14330] + Ruby 2.5ではブロック渡しの性能が改善されましたが [Feature #14045]、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 + マイクロベンチマークにおいては2.6倍高速化されています。 + +## その他の注目すべき 2.5 からの変更点 + +* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました [Feature #14250] +* `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [Feature #14256] +* RubyGems 3.0.0.beta1 をマージしました + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2)を参照してください。 + +なお、こうした変更により、Ruby 2.5.0 以降では [4699 個のファイルに変更が加えられ、45744 行の追加と 30885 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) ! + +みなさんもRuby 2.6.0-preview2で楽しいプログラミングを! + +## Download + +* + + SIZE: 16170732 bytes + SHA1: 6867b00e81af0b70fcb6f1aa7fc22d89d48a7d12 + SHA256: ee15ab35f17c942b1f41bd792f2494f639affff6e03babf44708b72fdbb6de34 + SHA512: 95c5a277785dfeb3006503e1b9ccccefdf6ce29669d4576f0191ee6986ba0e3567fbbed18a8d2b1f147d637434e4a3a4fdf47d84995e10ad4a354950e9092690 + +* + + SIZE: 19850776 bytes + SHA1: eba80a09b552ce3142fd571ff5867a13736d170e + SHA256: 97fc187b90570fce110d22803a319ab04e68700692b2b6b4e9961886f1a931e5 + SHA512: d5501819635bda64ac3dc717815652b692302b44a7cdf4c08edfa5cb9ec7f79a70fffc534879b316a4a9584825ed3c0948667beae2d7c313de58583931b981f4 + +* + + SIZE: 14209461 bytes + SHA1: a9b1b4f359601b94b3f5b77115fcbf3790ff69cd + SHA256: d8ede03d5ad3abd9d2c81cf0ad17a41d22b747c003cc16fd59befb2aaf48f0b2 + SHA512: 3872227e9b1c97c206d19bf1e6ce15a38ee15a26c431b4436605dea67affcf16372358984df76b35e7abaa902c15c16f533ac7af47e3031dea9451bbe459b693 + +* + + SIZE: 11525372 bytes + SHA1: e795abe1a4f828b3d851f7148b4bf6c9d9a7e7fd + SHA256: 00ddfb5e33dee24469dd0b203597f7ecee66522ebb496f620f5815372ea2d3ec + SHA512: bef3e90e97d6e58889cd500c591c579b728ca5833022b690182c0bf4d661e437b3a2ca33470dac35fcf693897819b9d7f500c0f71b707e2fcdcb0644028f2c03 From 7dd889edb4dcc1988153015d22cd9d381f11be5d Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Fri, 1 Jun 2018 00:21:50 +0900 Subject: [PATCH 0144/2563] fix typos --- en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index b136543fdf..d230dd8e28 100644 --- a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -72,12 +72,10 @@ An endless range, `(1..)`, is introduced. It works as it has no end. This show * Speedup `block.call` where `block` is passed block parameter. [Feature #14330] Ruby 2.5 improves block passing performance. [Feature #14045] Additionally, Ruby 2.6 improves the performance of passed block calling. - With micro-benchmark we can observe x2.6 improvemnt. + With micro-benchmark we can observe x2.6 improvement. ## Other notable changes since 2.5 -* Range#cover? いる? - * $SAFE is a process global state and we can set 0 again. [Feature #14250] * Passing safe_level to ERB.new is deprecated. trim_mode and eoutvar arguments are changed to keyword arguments. [Feature #14256] From 0a50edd3bfe72214850f6ab3196a2e90744cdd54 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Fri, 1 Jun 2018 11:08:01 +0900 Subject: [PATCH 0145/2563] update description --- en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 5 +++-- ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index d230dd8e28..af64d72ad0 100644 --- a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -38,8 +38,9 @@ Stay tuned for the new age of Ruby's performance. Ruby 2.6 introduces `RubyVM::AST` module. -This module has `parse` method which parses a given string and returns AST (Abstract Syntax Tree) nodes, and `parse_file` method which parses a given file and returns AST nodes. -`RubyVM::AST::Node` class is also introduced you can get location information and children nodes from `Node` objects. This feature is experimental, so compatibility is not guaranteed. +This module has `parse` method which parses a given ruby code of string and returns AST (Abstract Syntax Tree) nodes, and `parse_file` method which parses a given ruby code file and returns AST nodes. + +`RubyVM::AST::Node` class is also introduced you can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes are not guaranteed. ## New Features diff --git a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 5f5305f830..311e14e133 100644 --- a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -58,7 +58,7 @@ An endless range, `(1..)`, is introduced. It works as it has no end. This show ## パフォーマンスの改善 * 後述の$SAFEの変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [Feature #14318] - `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [Bug #10212]. + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [Bug #10212]。 * `block` がブロックパレメータである時、`block.call`が高速化されました [Feature #14330] Ruby 2.5ではブロック渡しの性能が改善されましたが [Feature #14045]、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 マイクロベンチマークにおいては2.6倍高速化されています。 From 7e569d839d2072f5eca26b9e2a4a1618e8d4e21a Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 2 Jun 2018 00:10:28 +0900 Subject: [PATCH 0146/2563] [KO] Translate 'Ruby 2.6.0-preview2 Released' (#1800) * [KO] Translate 'Ruby 2.6.0-preview2 Released' Ref: - https://github.com/ruby/www.ruby-lang.org/pull/1798 - https://github.com/ruby/www.ruby-lang.org/pull/1799 * fix korean * Remove useless space in korean --- ...2018-05-31-ruby-2-6-0-preview2-released.md | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md diff --git a/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md new file mode 100644 index 0000000000..4a481d89b0 --- /dev/null +++ b/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -0,0 +1,122 @@ +--- +layout: news_post +title: "루비 2.6.0-preview2 릴리스" +author: "naruse" +translator: "shia" +date: 2018-05-31 00:00:00 +0000 +lang: ko +--- + +루비 2.6.0-preview2 릴리스를 알리게 되어 기쁩니다. + +루비 2.6.0-preview2는 루비 2.6.0의 두 번째 프리뷰입니다. +이 프리뷰는 JIT이라는 중요한 새 기능을 포함하고 있기 때문에 평소보다 빠르게 릴리스됩니다. +그 일부를 아래에서 소개합니다. + +## JIT + +루비 2.6은 JIT(Just-in-time) 컴파일러의 첫 구현체를 포함합니다. + +JIP 컴파일러는 루비 프로그램의 실행 성능을 향상시키는 것이 목적입니다. +다른 언어의 일반적인 JIT 컴파일러와는 다르게, 루비의 JIT 컴파일러는 C 코드를 디스크에 출력한 뒤, 일반적인 C 컴파일러 프로세스를 사용해 네이티브 코드를 생성하도록 합니다. +다음을 참고하세요. [Vladimir Makarov가 작성한 MJIT 구조](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYOPT` 환경 변수에 지정합니다. `--jit-verbose=1`을 지정하면 실행 중인 JIT 컴파일의 기본적인 정보를 출력합니다. 다른 옵션에 대해서는 `ruby --help`를 확인하세요. + +이번 JIT 릴리스의 주 목적은 2.6 릴리스 전에 각 플랫폼에서 잘 동작하는지, 보안상의 문제가 발생하는지 미리 확인하는 것입니다. +현재 JIT 컴파일러는 루비가 gcc나 clang로 빌드되었으며, 해당 컴파일러가 런타임에서 사용 가능한 경우에만 이용할 수 있습니다. 그 이외에는 아직 이용할 수 없습니다. + +2.6.0-preview2에서는 JIT를 이용하기 위한 기반을 추가하고 매우 적은 최적화만이 구현되어 있습니다. 이 릴리스에 대해서 간단한 벤치마크를 이용하여 잠재적인 성능 향상을 확인할 수 있습니다만, Rails 애플리케이션과 같은 대규모 프로그램에서 루비 JIT 컴파일러의 최종적인 성능을 측정할만한 단계는 아닙니다. + +앞으로 루비의 성능을 한 단계 향상시켜줄 것으로 기대되고 있는 메소드 인라인화를 구현할 예정입니다. +또한 지원 환경을 늘려나갈 계획이며, 그 첫 번째로는 Visual Studio를 지원하는 것입니다. + +새로운 루비의 성능을 기대해주세요. + +## RubyVM::AST [Experimental] + +루비 2.6에는 `RubyVM::AST` 모듈이 도입되었습니다. + +이 모듈에은 문자열을 파싱하여 AST(추상구문트리)의 Node를 돌려주는 `parse` 메소드, 파일을 파싱하는 `parse_file` 메소드가 들어있습니다. + +`RubyVM::AST::Node`도 도입되었습니다. 이 클래스의 인스턴스로부터 위치정보나 자식 노드를 얻을 수 있습니다. 이 기능은 실험적으로 포함되었으며, AST 노드의 구조는 호환성을 보장하지 않습니다. + +## 새로운 기능 + +* `Kernel#yield_self`의 별칭으로 `then`이 추가되었습니다. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `rescue`가 없는 `else`가 문법 에러가 됩니다. [EXPERIMENTAL] + +* ASCII 이외의 대문자로 시작하는 상수를 정의할 수 있게 됩니다. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 종료 지정이 없는 범위 연산자. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + +종료 지정이 없는 범위 연산자, `(1..)`가 추가됩니다. 이는 끝이 없는 것처럼 취급됩니다. 다음은 전형적인 사용 예시입니다. + + ary[1..] # ary[1..-1]와 동치 + (1..).each {|index| ... } # 1로 시작하는 무한 루프 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location`을 추가했습니다. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + * 이 메소드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다. [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352) 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메소드를 사용해야 합니다. + +* `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가했습니다. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +## 성능 향상 + +* `Proc#call`이 더 이상 `$SAFE`를 고려하지 않아도 되어 속도가 빨라졌습니다. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크가 1.4배 빨라졌습니다. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block`이 블록 파라미터인 경우의 `block.call`이 빨라졌습니다. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + 루비 2.5에서는 블록 넘기기의 성능이 향상되었습니다만 [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045), + 추가로 2.6에서는 넘겨진 블록의 호출이 개선되었습니다. + 간단한 벤치마크에서 2.6배의 성능 향상을 확인했습니다. + +## 2.5 이후 주목할 만한 변경 + +* `$SAFE`가 프로세스 전역 변수로 취급되며, `0` 이외의 값을 설정한 후에 `0`으로 되돌리는 것이 가능해집니다. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* `ERB.new`에 `safe_level`을 넘기는 기능이 제거 예정이 되었습니다. 또한 `trim_mode`와 `eoutvar`는 키워드 변수로 변경됩니다. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* RubyGems 3.0.0.beta1을 병합했습니다. + +자세한 내용은 [뉴스](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS)와 +[커밋 로그](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2)를 참고하세요. + +이러한 변경사항에 따라, +루비 2.5.0 이후 [파일 4999개 수정, 45744줄 추가(+), 30885줄 삭제(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +하였습니다! + +여러분도 루비 2.6.0-preview2와 함께 즐거운 프로그래밍하세요! + +## 다운로드 + +* + + SIZE: 16170732 bytes + SHA1: 6867b00e81af0b70fcb6f1aa7fc22d89d48a7d12 + SHA256: ee15ab35f17c942b1f41bd792f2494f639affff6e03babf44708b72fdbb6de34 + SHA512: 95c5a277785dfeb3006503e1b9ccccefdf6ce29669d4576f0191ee6986ba0e3567fbbed18a8d2b1f147d637434e4a3a4fdf47d84995e10ad4a354950e9092690 + +* + + SIZE: 19850776 bytes + SHA1: eba80a09b552ce3142fd571ff5867a13736d170e + SHA256: 97fc187b90570fce110d22803a319ab04e68700692b2b6b4e9961886f1a931e5 + SHA512: d5501819635bda64ac3dc717815652b692302b44a7cdf4c08edfa5cb9ec7f79a70fffc534879b316a4a9584825ed3c0948667beae2d7c313de58583931b981f4 + +* + + SIZE: 14209461 bytes + SHA1: a9b1b4f359601b94b3f5b77115fcbf3790ff69cd + SHA256: d8ede03d5ad3abd9d2c81cf0ad17a41d22b747c003cc16fd59befb2aaf48f0b2 + SHA512: 3872227e9b1c97c206d19bf1e6ce15a38ee15a26c431b4436605dea67affcf16372358984df76b35e7abaa902c15c16f533ac7af47e3031dea9451bbe459b693 + +* + + SIZE: 11525372 bytes + SHA1: e795abe1a4f828b3d851f7148b4bf6c9d9a7e7fd + SHA256: 00ddfb5e33dee24469dd0b203597f7ecee66522ebb496f620f5815372ea2d3ec + SHA512: bef3e90e97d6e58889cd500c591c579b728ca5833022b690182c0bf4d661e437b3a2ca33470dac35fcf693897819b9d7f500c0f71b707e2fcdcb0644028f2c03 From 835f8552772ed9277070b1538493a6686178f909 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 2 Jun 2018 11:02:27 +0900 Subject: [PATCH 0147/2563] Preview2 is not first preview :) (#1801) --- en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index af64d72ad0..6edb3e39c8 100644 --- a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -9,7 +9,7 @@ lang: en We are pleased to announce the release of Ruby 2.6.0-preview2. -Ruby 2.6.0-preview2 is the first preview toward Ruby 2.6.0. +Ruby 2.6.0-preview2 is the second preview toward Ruby 2.6.0. This preview2 is released earlier than usual because it includes an important new feature, JIT. ## JIT diff --git a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 311e14e133..a73cdbb772 100644 --- a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -7,7 +7,7 @@ date: 2018-05-31 00:00:00 +0000 lang: ja --- -Ruby 2.6.0に向けた最初のプレビューである、Ruby 2.6.0-preview2がリリースされました。 +Ruby 2.6.0に向けた二回目のプレビューである、Ruby 2.6.0-preview2がリリースされました。 Ruby 2.6.0-preview2は、重要な新機能であるJITを含むため、例年よりも早期にリリースすることにしました。 その一部を以下に紹介します。 From 96d6a62a7d7994d12f26d2041aef5c741b261420 Mon Sep 17 00:00:00 2001 From: Denis Erofeev Date: Sat, 2 Jun 2018 12:54:05 +0300 Subject: [PATCH 0148/2563] Fix grammar on downloads page (ru) (#1797) --- ru/downloads/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ru/downloads/index.md b/ru/downloads/index.md index 4acf51b9a1..90e0145d69 100644 --- a/ru/downloads/index.md +++ b/ru/downloads/index.md @@ -56,7 +56,7 @@ lang: ru Это архив свежайшего слепка текущей стабильной ветки. * [Nightly слепок]({{ site.data.downloads.nightly_snapshot.url.gz }}): Это архив того, что в SVN, сделанный ночью. - Может содержать баги и другие проблем, используйте на собственный риск. + Может содержать баги и другие проблемы, используйте на свой страх и риск. За информацией о Ruby Subversion и Git репозиториях пожалуйста, посмотрите страницу о [ядре Ruby](/ru/community/ruby-core/). From f97a572266548a99106699070b5a6f25a91bdbab Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sun, 3 Jun 2018 15:12:12 +0700 Subject: [PATCH 0149/2563] Improve Ruby 2.6.0-preview2 released news --- ...2018-05-31-ruby-2-6-0-preview2-released.md | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 6edb3e39c8..05985b0951 100644 --- a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -17,11 +17,11 @@ This preview2 is released earlier than usual because it includes an important ne Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. JIT compiler aims to improve performance of any Ruby program execution. -Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native cod e. -See also: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization +Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native code. +See also: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). -How to use: Just specify "--jit" in command line or $RUBYOPT environment variable. -Specifying "--jit-verbose=1" allows to print basic information of ongoing JIT compilation. See "ruby --help" for other options. +How to use: Just specify `--jit` in command line or `$RUBYOPT` environment variable. +Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT compilation. See `ruby --help` for other options. The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. Currently JIT compiler is supported only when Ruby is built by gcc or clang and the compiler is available on runtime. Otherwise you can't use it for now. @@ -50,36 +50,39 @@ This module has `parse` method which parses a given ruby code of string and retu * constant names may start with a non-ASCII capital letter. [Feature #13770] -* endless range [Feature#12912] +* endless range. [Feature#12912] -An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: + An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: - ary[1..] # identical to ary[1..-1] without magical -1 - (1..).each {|index| ... } # inifinite loop from index 1 - ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + ary[1..] # identical to ary[1..-1] without magical -1 + (1..).each {|index| ... } # inifinite loop from index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } -* Add Binding#source_location. [Feature #14230] - * This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [Bug #4352]. So, users should use this newly-introduced method instead of `Kernel#eval`. +* Add `Binding#source_location`. [Feature #14230] -* Add :exception option to let Kernel.#system raise error instead of returning false. [Feature #14386] + This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [Bug #4352]. So, users should use this newly-introduced method instead of `Kernel#eval`. + +* Add `:exception` option to let `Kernel.#system` raise error instead of returning `false`. [Feature #14386] ## Performance improvements * Speedup `Proc#call` because we dont' need to care about `$SAFE` any more. [Feature #14318] + With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure x1.4 improvements [Bug #10212]. * Speedup `block.call` where `block` is passed block parameter. [Feature #14330] + Ruby 2.5 improves block passing performance. [Feature #14045] Additionally, Ruby 2.6 improves the performance of passed block calling. With micro-benchmark we can observe x2.6 improvement. ## Other notable changes since 2.5 -* $SAFE is a process global state and we can set 0 again. [Feature #14250] +* `$SAFE` is a process global state and we can set `0` again. [Feature #14250] -* Passing safe_level to ERB.new is deprecated. trim_mode and eoutvar arguments are changed to keyword arguments. [Feature #14256] +* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [Feature #14256] * Merge RubyGems 3.0.0.beta1 From 90c0bf345cd0a644a9f8c41898463572baa15beb Mon Sep 17 00:00:00 2001 From: Vincent Lin Date: Tue, 5 Jun 2018 18:15:48 +0800 Subject: [PATCH 0150/2563] Translate Ruby 2.6.0-preview2 Released (zh_tw) --- ...2018-05-31-ruby-2-6-0-preview2-released.md | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md diff --git a/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md new file mode 100644 index 0000000000..10c6552d22 --- /dev/null +++ b/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -0,0 +1,119 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview2 發布" +author: "naruse" +translator: "Vincent Lin" +date: 2018-05-31 00:00:00 +0000 +lang: zh_tw +--- + +我們很榮幸的宣布 Ruby 2.6.0-preview2 發布了。 + +Ruby 2.6.0-preview2 是 Ruby 2.6.0 第一個預覽版。 +此次的 preview2 發布的平常還要早一些,因為它包含了一個重要新功能,JIT。 + +## JIT + +Ruby 2.6 引入了 JIT(Just-in-time)編譯器初始實作。 + +JIT 編譯器專注於提升任何 Ruby 程式的執行速度。不同於其他語言的 JIT 編譯器,Ruby 的 JIT 使用一種獨特的編譯方式,將 C 程式碼寫入到硬碟中,再使用一般的 C 編譯器來生成原生程式碼(native code)。詳見:https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization + +如何使用:只需在命令列或是 $RUBYOPT 的環境變數中指定 "--jit" 即可。 +指定 "--jit-verbose=1" 可將印出正在編譯中的 JIT 訊息。更多選項請參考 "ruby --help"。 + +此次 JIT 預覽版發布的主要目為提供使用者檢查是否適用於您的平台,並且在 2.6 正式版本發布前找出安全性風險。 +現行的 JIT 編譯器僅在透過 gcc 或是 clang 建構 Ruby 以及編譯器可運行時進行支援,除此之外你無法使用它。 + +在 2.6.0-preview2 中,我們僅準備基本的 JIT 架構和完成少許的最佳化。 +您可以透過此次的發布評估未來潛在的效能提升,但 Ruby 的 JIT 編譯器尚未準備好最終的性能測試,特別是運用在像 Rails 這樣的大型應用程序上。 + +我們將會在 JIT 編譯器中實現 iniling 方法,預期將會把 Ruby 的效能提升一個量級。 +另外,我們還會增加支援的平台,下一個計畫支援的是 Visual Studio。 + +請持續關注 Ruby 效能的全新時代。 + +## RubyVM::AST [實驗性質] + +Ruby 2.6 引入了 `RubyVM::AST` 模組。 + +此模組擁有 `parse` 方法,解析給予的 Ruby 程式碼字串並回傳抽象語法樹 AST(Abstract Syntax Tree)節點,以及解析給予 Ruby 程式碼檔案並回傳 AST 節點的 `parse_file` 方法。 + +同樣也引入了 `RubyVM::AST::Node` 類別,您可以從 `Node` 物件中獲取位置訊息和子結點,此功能為實驗性質,無法保證 AST 節點結構的兼容性。 + +## 新功能 + +* 新增一個別名 `then` 到 `Kernel#yield_self` 中。[Feature #14594] + +* 現在 `else` 沒有 `rescue` 的話會導致語法錯誤。[ 實驗性質 ] + +* 常數名稱可以非 ASCII 大寫字母開頭。[Feature #13770] + +* 無盡範圍 [Feature#12912] + +引入了無盡範圍 `(1..)`,如同無止盡般的運作,下面列出幾個典型的例子: + + ary[1..] # 與 ary[1..-1] 完全相同,少了神奇的 -1 + (1..).each {|index| ... } # 從 index 1 開始無限循環 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 Binding#source_location. [Feature #14230] + * 此方法回傳 binding 的原始碼路徑,為一個兩個元素的陣列 `__FILE__` 和 `__LINE__`。照理來說,`eval("[__FILE__, __LINE__]", binding)` 可以獲取相同的訊息,但我們打算改變這種情況以便 `Kernel#eval` 忽略 binding 的原始碼路徑 [Bug #4352]。因此,使用者應使用這個新引入的方法來取代 `Kernel#eval`。 + +* 新增 :exception 選項讓 Kernel.#system 引發錯誤而非回傳 false。[Feature #14386] + +## 效能提升 + +* 提升 `Proc#call`的速度,因為我們不需要再顧慮 `$SAFE` 了。[Feature #14318] + 透過 `lc_fizzbuzz` 大量使用 `Proc#call` 的測試,我們測得了 1.4 倍效能提升。[Bug #10212] + +* 提升了當 `block` 為 block 參數時 `block.call` 的效能。[Feature #14330] + Ruby 2.5 提升了 block 傳遞效能。[Feature #14045] + 另外,Ruby 2.6 提升了 block 傳遞的呼叫效能。藉由 micro-benchmark 我們測得了 2.6 倍的提升。 + +## 自 2.5 起重要的變化 + +* $SAFE 成為了 Process 全域狀態,我們可以再次將其設為 0。[Feature #14250] + +* 不再建議將 safe_level 參數傳遞給 ERB.new 的行為。trim_mode 和 eoutvar 參數被轉換成關鍵字參數。[Feature #14256] + +* 合併 RubyGems 3.0.0.beta1。 + +請參考 [新聞](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) +或 [提交紀錄](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +來進一步了解。 + +自 Ruby 2.5.0 以來,共計有 +[4699 個文件變更,45744 行增加(+),30885 行刪減(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +! + +與 Ruby 2.6.0-preview2 一起享受編程吧! + +## 下載 + +* + + SIZE: 16170732 bytes + SHA1: 6867b00e81af0b70fcb6f1aa7fc22d89d48a7d12 + SHA256: ee15ab35f17c942b1f41bd792f2494f639affff6e03babf44708b72fdbb6de34 + SHA512: 95c5a277785dfeb3006503e1b9ccccefdf6ce29669d4576f0191ee6986ba0e3567fbbed18a8d2b1f147d637434e4a3a4fdf47d84995e10ad4a354950e9092690 + +* + + SIZE: 19850776 bytes + SHA1: eba80a09b552ce3142fd571ff5867a13736d170e + SHA256: 97fc187b90570fce110d22803a319ab04e68700692b2b6b4e9961886f1a931e5 + SHA512: d5501819635bda64ac3dc717815652b692302b44a7cdf4c08edfa5cb9ec7f79a70fffc534879b316a4a9584825ed3c0948667beae2d7c313de58583931b981f4 + +* + + SIZE: 14209461 bytes + SHA1: a9b1b4f359601b94b3f5b77115fcbf3790ff69cd + SHA256: d8ede03d5ad3abd9d2c81cf0ad17a41d22b747c003cc16fd59befb2aaf48f0b2 + SHA512: 3872227e9b1c97c206d19bf1e6ce15a38ee15a26c431b4436605dea67affcf16372358984df76b35e7abaa902c15c16f533ac7af47e3031dea9451bbe459b693 + +* + + SIZE: 11525372 bytes + SHA1: e795abe1a4f828b3d851f7148b4bf6c9d9a7e7fd + SHA256: 00ddfb5e33dee24469dd0b203597f7ecee66522ebb496f620f5815372ea2d3ec + SHA512: bef3e90e97d6e58889cd500c591c579b728ca5833022b690182c0bf4d661e437b3a2ca33470dac35fcf693897819b9d7f500c0f71b707e2fcdcb0644028f2c03 From 5664a9f07133707f19a35e02ce44fcdda49f8453 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Wed, 13 Jun 2018 03:27:09 +0800 Subject: [PATCH 0151/2563] Translate Ruby 2.6.0-preview2 Released (zh_cn) (#1804) Translate Ruby 2.6.0-preview2; fix typo in Ruby 2.6.0-preview1. --- ...2018-02-24-ruby-2-6-0-preview1-released.md | 2 +- ...2018-05-31-ruby-2-6-0-preview2-released.md | 112 ++++++++++++++++++ 2 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md diff --git a/zh_cn/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/zh_cn/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index 90420005a1..40a5a31fc7 100644 --- a/zh_cn/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/zh_cn/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -33,7 +33,7 @@ JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语 * 新增 `Binding#source_location`。[功能 #14230] - 此方法以一个二元组数组 `__FILE__` and `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [漏洞 #4352]。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 + 此方法以一个二元组数组 `__FILE__` 和 `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [漏洞 #4352]。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 * 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[功能 #14386] diff --git a/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md new file mode 100644 index 0000000000..a8e34189ba --- /dev/null +++ b/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -0,0 +1,112 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview2 Released" +author: "naruse" +translator: "Delton Ding" +date: 2018-05-31 00:00:00 +0000 +lang: zh_cn +--- + +我们高兴地宣布 Ruby 2.6.0-preview1 已发布。 + +Ruby 2.6.0-preview1 是 Ruby 2.6.0 系列的第二个测试版本。此次 preview2 发布比以往早,因为其包括了重要新特性:JIT。 + +## JIT + +uby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 + +JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语言中常见的 JIT 编译器,Ruby 的 JIT 编译器进行 JIT 编译的过程非常独特。其将生成的 C 代码打印至磁盘并 spawn 常见的 C 编译器进行代码的生成工作。详见:[Vladimir Makarov 的 MJIT 组织](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 + +如何使用:在命令行或 `$RUBYOPT` 环境变量中指定 `--jit` 参数。指定 `--jit-verbose=1` 将允许打印 JIT 编译过程中的调试信息。详见 `ruby --help` 查看更多其他选项。 + +此 JIT 发布的主要目的是检查平台的兼容性,以及在 2.6 版本发布前找出安全风险。目前 JIT 编译器只当 Ruby 由 gcc 或 clang 编译后编译器仍可被运行时发现时可用,除此之外你暂时无法使用 JIT。 + +作为 2.6.0-preview2,我们在为 JIT 的基础设施作准备,所以实现了很少的优化。你可以通过此版本中的 micro benchmarks 测量出潜在的性能提升,但这并 **不是** 准备好接受最终性能测试的 Ruby JIT 编译器,特别是对于大型应用,例如 Rails 的测试。 + +我们正着手实现 JIT 编译器的内联方法,这将有助于大幅提升 Ruby 的性能。此外,我们计划增加支持的平台的数量,而下一个目标是支持 Visual Studio。 + +请保持对 Ruby 新时代性能的关注。 + +## RubyVM::AST [试验性] + +Ruby 2.6 引入了 `RubyVM::AST` 模块。 + +此模块提供 `parse` 方法,传入 Ruby 代码字符串,返回 AST(抽象语法树) 节点。而 `parse_file` 方法则接受一个 Ruby 代码文件作为参数,返回 AST 节点。 + +同时引入了 `RubyVM::AST::Node` 类,你可以从 `Node` 对象中获取位置信息和子节点。此功能尚处于实验性质,对于 AST 节点的兼容性不做保证。 + +## 新特性 + +* 为 `Kernel#yield_self` 添加了新别名 `then`。[功能 #14594] + +* 不含 `rescue` 的 `else` 现在会引起语法错误。[实验性质] + +* 常量名现在可以以非 ASCII 大写字母开头。[功能 #13770] + +* 无限范围 [功能 #12912] + + 引入了无限范围 `(1..)`。这个范围没有终点,以下是使用场景的举例。 + + ary[1..] # 等价于 ary[1..-1] 而不需要魔法的 -1 + (1..).each {|index| ... } # 从 1 开始的无限循环 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 `Binding#source_location`。[功能 #14230] + + 此方法以一个二元组数组 `__FILE__` 和 `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [漏洞 #4352]。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 + +* 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[功能 #14386] + +## 性能提升 + +* 提升 `Proc#call` 的速度,因为我们无需再关心 `$SAFE`。[功能 #14318] + + 通过 `lc_fizzbuzz` 多次使用 `Proc#call` 的基准测试我们测量到了 1.4 倍性能提升 [漏洞 #10212]。 + +* 提升了当 `block` 是代码块参数时 `block.call` 的性能。[功能 #14330] + + Ruby 2.5 提升了代码块传递的性能。[功能 #14045] 另外,Ruby 2.6 提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。 + +## 其他自 2.5 以来的重要变化 + +* `$SAFE` 成为了进程全局状态,我们可以再次将其设为 `0`。[功能 #14250] + +* 不再建议将 `safe_level` 参数传递给 `ERB.new` 的行为。`trim_mode` 和 `eoutvar` 参数被转换成了关键词参数。[功能 #14256] + +* 合并 RubyGems 3.0.0.beta1 + +见 [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) 或 [提交日志](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) 以查看详情。 + +这些合并后,自 Ruby 2.5.0 已发生了 [4699 个文件变更,45744 行新增(+),30885 行删除(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2)! + +享受 Ruby 2.6.0-preview2 的编程吧! + +## 下载 + +* + + SIZE: 16170732 bytes + SHA1: 6867b00e81af0b70fcb6f1aa7fc22d89d48a7d12 + SHA256: ee15ab35f17c942b1f41bd792f2494f639affff6e03babf44708b72fdbb6de34 + SHA512: 95c5a277785dfeb3006503e1b9ccccefdf6ce29669d4576f0191ee6986ba0e3567fbbed18a8d2b1f147d637434e4a3a4fdf47d84995e10ad4a354950e9092690 + +* + + SIZE: 19850776 bytes + SHA1: eba80a09b552ce3142fd571ff5867a13736d170e + SHA256: 97fc187b90570fce110d22803a319ab04e68700692b2b6b4e9961886f1a931e5 + SHA512: d5501819635bda64ac3dc717815652b692302b44a7cdf4c08edfa5cb9ec7f79a70fffc534879b316a4a9584825ed3c0948667beae2d7c313de58583931b981f4 + +* + + SIZE: 14209461 bytes + SHA1: a9b1b4f359601b94b3f5b77115fcbf3790ff69cd + SHA256: d8ede03d5ad3abd9d2c81cf0ad17a41d22b747c003cc16fd59befb2aaf48f0b2 + SHA512: 3872227e9b1c97c206d19bf1e6ce15a38ee15a26c431b4436605dea67affcf16372358984df76b35e7abaa902c15c16f533ac7af47e3031dea9451bbe459b693 + +* + + SIZE: 11525372 bytes + SHA1: e795abe1a4f828b3d851f7148b4bf6c9d9a7e7fd + SHA256: 00ddfb5e33dee24469dd0b203597f7ecee66522ebb496f620f5815372ea2d3ec + SHA512: bef3e90e97d6e58889cd500c591c579b728ca5833022b690182c0bf4d661e437b3a2ca33470dac35fcf693897819b9d7f500c0f71b707e2fcdcb0644028f2c03 From d3bb5576d7d9f9a1cb66e82e36e2275c8206017b Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Thu, 14 Jun 2018 02:55:35 +0800 Subject: [PATCH 0152/2563] Fix typo in 2.6.0-preview2 post (zh_cn) (#1805) --- zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index a8e34189ba..9948b46dc2 100644 --- a/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -7,9 +7,9 @@ date: 2018-05-31 00:00:00 +0000 lang: zh_cn --- -我们高兴地宣布 Ruby 2.6.0-preview1 已发布。 +我们高兴地宣布 Ruby 2.6.0-preview2 已发布。 -Ruby 2.6.0-preview1 是 Ruby 2.6.0 系列的第二个测试版本。此次 preview2 发布比以往早,因为其包括了重要新特性:JIT。 +Ruby 2.6.0-preview2 是 Ruby 2.6.0 系列的第二个测试版本。此次 preview2 发布比以往早,因为其包括了重要新特性:JIT。 ## JIT From 7660d8012557469d80dbc90eeb7453fd0f48c46d Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Fri, 1 Jun 2018 12:34:34 +0900 Subject: [PATCH 0153/2563] Fix typo (ja) --- ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index a73cdbb772..f1f2101f7e 100644 --- a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -59,7 +59,7 @@ An endless range, `(1..)`, is introduced. It works as it has no end. This show * 後述の$SAFEの変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [Feature #14318] `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [Bug #10212]。 -* `block` がブロックパレメータである時、`block.call`が高速化されました [Feature #14330] +* `block` がブロックパラメータである時、`block.call`が高速化されました [Feature #14330] Ruby 2.5ではブロック渡しの性能が改善されましたが [Feature #14045]、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 マイクロベンチマークにおいては2.6倍高速化されています。 From eea60611634cd7fa9665bcfe2eaaadd853f50c2d Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Fri, 1 Jun 2018 12:46:38 +0900 Subject: [PATCH 0154/2563] Add links for features/bugs in 2.6.0-preview2 post (en, ja) --- ...2018-05-31-ruby-2-6-0-preview2-released.md | 24 ++++++++--------- ...2018-05-31-ruby-2-6-0-preview2-released.md | 26 +++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 05985b0951..e873b88acd 100644 --- a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -44,13 +44,13 @@ This module has `parse` method which parses a given ruby code of string and retu ## New Features -* Add a new alias `then` to `Kernel#yield_self`. [Feature #14594] +* Add a new alias `then` to `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) * `else` without `rescue` now causes a syntax error. [EXPERIMENTAL] -* constant names may start with a non-ASCII capital letter. [Feature #13770] +* constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) -* endless range. [Feature#12912] +* endless range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: @@ -58,31 +58,31 @@ This module has `parse` method which parses a given ruby code of string and retu (1..).each {|index| ... } # inifinite loop from index 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } -* Add `Binding#source_location`. [Feature #14230] +* Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) - This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [Bug #4352]. So, users should use this newly-introduced method instead of `Kernel#eval`. + This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). So, users should use this newly-introduced method instead of `Kernel#eval`. -* Add `:exception` option to let `Kernel.#system` raise error instead of returning `false`. [Feature #14386] +* Add `:exception` option to let `Kernel.#system` raise error instead of returning `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) ## Performance improvements * Speedup `Proc#call` because we dont' need to care about `$SAFE` any more. - [Feature #14318] + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure - x1.4 improvements [Bug #10212]. + x1.4 improvements [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). -* Speedup `block.call` where `block` is passed block parameter. [Feature #14330] +* Speedup `block.call` where `block` is passed block parameter. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) - Ruby 2.5 improves block passing performance. [Feature #14045] + Ruby 2.5 improves block passing performance. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) Additionally, Ruby 2.6 improves the performance of passed block calling. With micro-benchmark we can observe x2.6 improvement. ## Other notable changes since 2.5 -* `$SAFE` is a process global state and we can set `0` again. [Feature #14250] +* `$SAFE` is a process global state and we can set `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) -* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [Feature #14256] +* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) * Merge RubyGems 3.0.0.beta1 diff --git a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index f1f2101f7e..172585583e 100644 --- a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -17,7 +17,7 @@ Ruby 2.6.0-preview2は、重要な新機能であるJITを含むため、例年 Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 -他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) +他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)) JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 @@ -37,13 +37,13 @@ Ruby 2.6では `RubyVM::AST` モジュールが導入されました。 ## 新機能 -* `Kernel#yield_self` の別名として `then` が追加されました [Feature #14594] +* `Kernel#yield_self` の別名として `then` が追加されました [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) * `rescue` 無しの `else` が文法エラーとなるようになりました [EXPERIMENTAL] -* ASCII以外の大文字でも定数を定義出来るようになりました [Feature #13770] +* ASCII以外の大文字でも定数を定義出来るようになりました [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) -* endless range [Feature#12912] +* endless range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: @@ -51,22 +51,22 @@ An endless range, `(1..)`, is introduced. It works as it has no end. This show (1..).each {|index| ... } # inifinite loop from index 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } -* Binding#source_location の追加 [Feature #14230] - * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [Bug #4352]、この新しいメソッドを用いることが今後は推奨されます。 -* Kernel#system の失敗時に、falseを返す代わりに例外を上げさせる :exception オプションを追加 [Feature #14386] +* Binding#source_location の追加 [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)、この新しいメソッドを用いることが今後は推奨されます。 +* Kernel#system の失敗時に、falseを返す代わりに例外を上げさせる :exception オプションを追加 [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) ## パフォーマンスの改善 -* 後述の$SAFEの変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [Feature #14318] - `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [Bug #10212]。 -* `block` がブロックパラメータである時、`block.call`が高速化されました [Feature #14330] - Ruby 2.5ではブロック渡しの性能が改善されましたが [Feature #14045]、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 +* 後述の$SAFEの変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212)。 +* `block` がブロックパラメータである時、`block.call`が高速化されました [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + Ruby 2.5ではブロック渡しの性能が改善されましたが [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045)、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 マイクロベンチマークにおいては2.6倍高速化されています。 ## その他の注目すべき 2.5 からの変更点 -* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました [Feature #14250] -* `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [Feature #14256] +* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) +* `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) * RubyGems 3.0.0.beta1 をマージしました その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2)を参照してください。 From 2b6e96f397c6e7697317873486e6458ceb47631d Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Fri, 1 Jun 2018 20:36:12 +0900 Subject: [PATCH 0155/2563] Translate endless range paragraph (ja) --- ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 172585583e..c004b87544 100644 --- a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -43,12 +43,12 @@ Ruby 2.6では `RubyVM::AST` モジュールが導入されました。 * ASCII以外の大文字でも定数を定義出来るようになりました [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) -* endless range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) +* 終端なしRange [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) -An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: +終端なしRange `(1..)` が導入されました。これは終端を持ちません。これが典型的な用途です: - ary[1..] # identical to ary[1..-1] without magical -1 - (1..).each {|index| ... } # inifinite loop from index 1 + ary[1..] # マジックナンバー -1 なしで ary[1..-1] と同じ意味 + (1..).each {|index| ... } # index が 1 から始まる無限ループ ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Binding#source_location の追加 [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) From c0c33983aaa5f762c28b3976388815f3e039cf85 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 13 Jun 2018 21:36:25 +0200 Subject: [PATCH 0156/2563] Fix markdown in 2.6.0-preview2 post (ja, ko, zh_tw) --- ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 8 ++++---- ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 8 ++++---- .../_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index c004b87544..ae1809c35a 100644 --- a/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/ja/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -45,11 +45,11 @@ Ruby 2.6では `RubyVM::AST` モジュールが導入されました。 * 終端なしRange [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) -終端なしRange `(1..)` が導入されました。これは終端を持ちません。これが典型的な用途です: + 終端なしRange `(1..)` が導入されました。これは終端を持ちません。これが典型的な用途です: - ary[1..] # マジックナンバー -1 なしで ary[1..-1] と同じ意味 - (1..).each {|index| ... } # index が 1 から始まる無限ループ - ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + ary[1..] # マジックナンバー -1 なしで ary[1..-1] と同じ意味 + (1..).each {|index| ... } # index が 1 から始まる無限ループ + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Binding#source_location の追加 [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)、この新しいメソッドを用いることが今後は推奨されます。 diff --git a/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 4a481d89b0..19803836e5 100644 --- a/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -51,11 +51,11 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO * 종료 지정이 없는 범위 연산자. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) -종료 지정이 없는 범위 연산자, `(1..)`가 추가됩니다. 이는 끝이 없는 것처럼 취급됩니다. 다음은 전형적인 사용 예시입니다. + 종료 지정이 없는 범위 연산자, `(1..)`가 추가됩니다. 이는 끝이 없는 것처럼 취급됩니다. 다음은 전형적인 사용 예시입니다. - ary[1..] # ary[1..-1]와 동치 - (1..).each {|index| ... } # 1로 시작하는 무한 루프 - ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + ary[1..] # ary[1..-1]와 동치 + (1..).each {|index| ... } # 1로 시작하는 무한 루프 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * `Binding#source_location`을 추가했습니다. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) * 이 메소드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다. [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352) 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메소드를 사용해야 합니다. diff --git a/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 10c6552d22..64e34b11e7 100644 --- a/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -50,11 +50,11 @@ Ruby 2.6 引入了 `RubyVM::AST` 模組。 * 無盡範圍 [Feature#12912] -引入了無盡範圍 `(1..)`,如同無止盡般的運作,下面列出幾個典型的例子: + 引入了無盡範圍 `(1..)`,如同無止盡般的運作,下面列出幾個典型的例子: - ary[1..] # 與 ary[1..-1] 完全相同,少了神奇的 -1 - (1..).each {|index| ... } # 從 index 1 開始無限循環 - ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + ary[1..] # 與 ary[1..-1] 完全相同,少了神奇的 -1 + (1..).each {|index| ... } # 從 index 1 開始無限循環 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * 新增 Binding#source_location. [Feature #14230] * 此方法回傳 binding 的原始碼路徑,為一個兩個元素的陣列 `__FILE__` 和 `__LINE__`。照理來說,`eval("[__FILE__, __LINE__]", binding)` 可以獲取相同的訊息,但我們打算改變這種情況以便 `Kernel#eval` 忽略 binding 的原始碼路徑 [Bug #4352]。因此,使用者應使用這個新引入的方法來取代 `Kernel#eval`。 From 61435e94469a98b56b400608fe9421c5cf6cb80d Mon Sep 17 00:00:00 2001 From: Anton Paisov Date: Tue, 17 Apr 2018 18:17:03 +0300 Subject: [PATCH 0157/2563] Update maintenance status for Ruby 2.2 branch --- _data/branches.yml | 4 ++-- _data/downloads.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/_data/branches.yml b/_data/branches.yml index d1e1366449..a9e159e09e 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -29,9 +29,9 @@ eol_date: scheduled for 2019-03-31 - name: 2.2 - status: security maintenance + status: eol date: 2014-12-25 - eol_date: scheduled for 2018-03-31 + eol_date: 2018-03-31 - name: 2.1 status: eol diff --git a/_data/downloads.yml b/_data/downloads.yml index af864d667e..6848dcc7c8 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -15,12 +15,11 @@ stable: security_maintenance: - 2.3.7 - - 2.2.10 # optional eol: - - 2.1.10 + - 2.2.10 stable_snapshot: From 72fbafa3b4478d9b9e2a4d01da58c97e43d34e11 Mon Sep 17 00:00:00 2001 From: Anton Paisov Date: Tue, 17 Apr 2018 18:18:40 +0300 Subject: [PATCH 0158/2563] Ruby 2.2 EOL --- ...018-04-17-support-of-ruby-2-2-has-ended.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 en/news/_posts/2018-04-17-support-of-ruby-2-2-has-ended.md diff --git a/en/news/_posts/2018-04-17-support-of-ruby-2-2-has-ended.md b/en/news/_posts/2018-04-17-support-of-ruby-2-2-has-ended.md new file mode 100644 index 0000000000..a5194ea5a1 --- /dev/null +++ b/en/news/_posts/2018-04-17-support-of-ruby-2-2-has-ended.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Support of Ruby 2.2 has ended" +author: "antonpaisov" +translator: +date: 2018-04-17 00:00:00 +0000 +lang: en +--- + +We announce that all support of the Ruby 2.2 series has ended. + +After the release of Ruby 2.2.7 on March 28, 2017, +the support of the Ruby 2.2 series was in the security maintenance phase. +Now, after one year has passed, this phase has ended. +Therefore, on March 31, 2018, all support of the Ruby 2.2 series has ended. +Bug and security fixes from more recent Ruby versions will no longer be +backported to 2.2, and no further patch release of 2.2 will be released. +We highly recommend that you upgrade to Ruby 2.5 or 2.4 as soon as possible. + + +## About currently supported Ruby versions + +### Ruby 2.5 series + +Currently in normal maintenance phase. +We will backport bug fixes and release with the fixes whenever necessary. +And, if a critical security issue is found, we will release an urgent fix +for it. + +### Ruby 2.4 series + +Currently in normal maintenance phase. +We will backport bug fixes and release with the fixes whenever necessary. +And, if a critical security issue is found, we will release an urgent fix +for it. + +### Ruby 2.3 series + +Currently in security maintenance phase. +We will never backport any bug fixes to 2.3 except security fixes. +If a critical security issue is found, we will release an urgent fix for it. +We are planning to end the support of the Ruby 2.3 series at the end of +March 2019. From 80530b4bc4faf3cc80cc3456ee5f1607f02c422a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Fri, 15 Jun 2018 15:15:17 +0200 Subject: [PATCH 0159/2563] Translate 2.6.0-preview2 release post (de) --- ...2018-05-31-ruby-2-6-0-preview2-released.md | 172 ++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 de/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md diff --git a/de/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/de/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md new file mode 100644 index 0000000000..13e35a8fa4 --- /dev/null +++ b/de/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -0,0 +1,172 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview2 veröffentlicht" +author: "naruse" +translator: "Marvin Gülker" +date: 2018-05-31 00:00:00 +0000 +lang: de +--- + +Wir freuen uns, die Veröffentlichung von Ruby 2.6.0-preview2 +bekanntgeben zu können. + +Ruby 2.6.0-preview2 ist die zweite Vorschau auf Ruby 2.6.0. Sie wird +früher als üblich veröffentlicht, weil sie mit dem JIT ein wichtiges +neues Feature enthält. + +## JIT + +Ruby 2.6 führt erstmals einen JIT-Compiler _(Just in Time Compiler)_ ein. + +Der JIT-Compiler soll die allgemeine Performanz aller Ruby-Programme +verbessern. Rubys JIT-Compiler arbeitet anders als herkömmliche +JIT-Compiler für andere Programmiersprachen, denn er schreibt C-Code +auf die Festplatte und startet dann einen gewöhnlichen +C-Compiler-Prozess, um Maschinencode zu erzeugen. Siehe dazu auch: +[Die Funktionsweise von MJIT von Wladimir Makarow](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Um den JIT zu benutzen, geben Sie `--jit` als Kommandozeilenoption +oder in der Umgebungsvariablen `$RUBYOPT` an. Bei Angabe von +`--jit-verbose=1` werden Informationen über die laufende +JIT-Kompilation ausgegeben. Siehe auch `ruby --help` für weitere +Optionen. + +Diese Veröffentlichung soll Ihnen Gelegenheit geben, zu überprüfen, ob +der JIT auf Ihrer Plattform funktioniert. Außerdem soll eine Prüfung +auf Sicherheitsprobleme noch vor der Freigabe von 2.6 ermöglicht +werden. Der JIT-Compiler wird derzeit nur unterstützt, wenn Ruby mit +GCC oder Clang gebaut wird und der Compiler auch während des +Programmablaufs verfügbar ist. Ansonsten können Sie ihn momentan leider +nicht verwenden. + +Zum jetzigen Zeitpunkt (2.6.0-preview2) bereiten wir lediglich die +Infrastruktur für den JIT vor und es wurden nur wenige Optimierungen +eingebaut. Zwar kann man in Mikro-Benchmarks einige potenzielle +Verbesserungen feststellen, jedoch ist diese Veröffentlichung absolut +ungeeignet, um die finale Performanz von Rubys JIT-Compiler zu +bestimmen. Dies gilt insbesondere für umfangreiche Programme wie +Rails-Anwendungen. + +Wir erwarten, dass durch die geplante Aufnahme von Methoden-Inlining +in den JIT-Compiler Rubys Performanz erheblich verbessert wird. + +Im Übrigen planen wir, mehr Plattformen zu unterstützen. Nächstes Ziel +in dieser Hinsicht ist die Unterstützung von Visual Studio. + +Machen Sie sich bereit für eine neue Ära von Rubys Performanz. + +## RubyVM::AST [Experimentell] + +Ruby 2.6 führt das Modul `RubyVM::AST` ein. + +Dieses Modul verfügt über die Methoden `parse`, die den als String +übergenen Ruby-Code verarbeitet und eine Liste von Knoten des ASTs +_(Abstract Syntax Tree)_ zurückgibt, und `parse_file`, die die +übergebene Ruby-Quelldatei auf ähnliche Weise verarbeitet und +ebenfalls AST-Knoten zurückgibt. + +Weiterhin wird die ebenfalls experimentelle Klasse `RubyVM::AST::Node` +eingeführt. Mithilfe von `Node`-Objekten können die Positionsinformationen und +Angaben über Kindknoten ermittelt werden. Eine Kompatibilität der +Struktur von AST-Knoten kann derzeit nicht gewährleistet werden. + +## Neue Featuers + +* Neuer alias `then` für `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` ohne `rescue` verursacht einen Syntaxfehler. [EXPERIMENTELL] + +* Konstantennamen können auch mit Großbuchstaben außerhalb des + ASCII-Zeichensatzes beginnen. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Endlos-Range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + Es wird ein Endlos-Range `(1..)` eingeführt, der über kein Ende + verfügt. Typische Anwendungsfälle sehen wie folgt aus: + + ary[1..] # identisch zu ary[1..-1] ohne magische -1 + (1..).each {|index| ... } # Endlosschleife ab Index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location` hinzugefügt. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + Diese Methode gibt ein 2-Element-Array mit den Bestandteilen + `__FILE__` und `__LINE__` zurück, die beschreiben, an welcher Stelle + im Quelltext ein Binding definiert wurde. Dieselbe Information + konnte bisher über `eval("[__FILE__, __LINE__]", binding)` ermittelt + werden, allerdings planen wir, dieses Verhalten so zu ändern, dass + `Kernel#eval` den Definitionsort eines `binding` ignoriert [[Bug + #4352]](https://bugs.ruby-lang.org/issues/4352). Nutzern wird + deshalb empfohlen, auf diese neu eingeführte Methode umzusteigen. + +* Option `:exception` zu `Kernel.#system` hinzugefügt. Diese Option + führt dazu, dass #system statt `false` zurückzugeben einen Fehler + verursacht. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +## Performanzverbesserungen + +* `Proc#call` beschleunigt, weil wir uns nicht mehr um `$SAFE` kümmern + müssen. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Mithilfe des `lc_fizzbuzz`-Benchmarks, das sehr häufig `Proc#call` + benutzt, haben wir eine 1,4-fache Beschleunigung gemessen. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block.call` beschleunigt, wenn `block` als Block-Parameter + übergeben wird. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Bereits Ruby 2.5 verbessert die Performanz bei der Übergabe von + Blöcken. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Mit Ruby 2.6 wird auch der Aufruf von übergebenen Blöcken + beschleunigt, sodass wir im Mikro-Benchmark eine 2,6-fache + Beschleunigung messen konnten. + +## Sonstige bemerkenswerte Änderungen seit 2.5 + +* `$SAFE` ist ein prozess-globaler Zustand und kann wieder auf `0` gesetzt + werden. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Die Übergabe von `safe_level` an `ERB.new` ist als veraltet + markiert worden. Die Parameter `trim_mode` und `eoutvar` wurden in + Schlüsselwortargumente geändert. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* RubyGems 3.0.0.beta1 aufgenommen. + +Siehe die [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) +oder die [Commit-Logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +für weitere Details. + +Mit diesen Änderungen wurden +[4699 Dateien geändert, 45744 Einfügungen(+), 30885 Löschungen(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +seit Ruby 2.5.0! + +Viel Spaß mit der Programmierung mit Ruby 2.6.0-preview2! + +## Download + +* + + SIZE: 16170732 bytes + SHA1: 6867b00e81af0b70fcb6f1aa7fc22d89d48a7d12 + SHA256: ee15ab35f17c942b1f41bd792f2494f639affff6e03babf44708b72fdbb6de34 + SHA512: 95c5a277785dfeb3006503e1b9ccccefdf6ce29669d4576f0191ee6986ba0e3567fbbed18a8d2b1f147d637434e4a3a4fdf47d84995e10ad4a354950e9092690 + +* + + SIZE: 19850776 bytes + SHA1: eba80a09b552ce3142fd571ff5867a13736d170e + SHA256: 97fc187b90570fce110d22803a319ab04e68700692b2b6b4e9961886f1a931e5 + SHA512: d5501819635bda64ac3dc717815652b692302b44a7cdf4c08edfa5cb9ec7f79a70fffc534879b316a4a9584825ed3c0948667beae2d7c313de58583931b981f4 + +* + + SIZE: 14209461 bytes + SHA1: a9b1b4f359601b94b3f5b77115fcbf3790ff69cd + SHA256: d8ede03d5ad3abd9d2c81cf0ad17a41d22b747c003cc16fd59befb2aaf48f0b2 + SHA512: 3872227e9b1c97c206d19bf1e6ce15a38ee15a26c431b4436605dea67affcf16372358984df76b35e7abaa902c15c16f533ac7af47e3031dea9451bbe459b693 + +* + + SIZE: 11525372 bytes + SHA1: e795abe1a4f828b3d851f7148b4bf6c9d9a7e7fd + SHA256: 00ddfb5e33dee24469dd0b203597f7ecee66522ebb496f620f5815372ea2d3ec + SHA512: bef3e90e97d6e58889cd500c591c579b728ca5833022b690182c0bf4d661e437b3a2ca33470dac35fcf693897819b9d7f500c0f71b707e2fcdcb0644028f2c03 From bf27f194b63c51aa1c967e4443d076427c34ea65 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 16 Jun 2018 20:48:20 +0700 Subject: [PATCH 0160/2563] Translate Ruby 2.6.0-preview2 released news (id) --- ...2018-05-31-ruby-2-6-0-preview2-released.md | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md diff --git a/id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md new file mode 100644 index 0000000000..1477d6390b --- /dev/null +++ b/id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -0,0 +1,155 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview2 Rilis" +author: "naruse" +translator: "meisyal" +date: 2018-05-31 00:00:00 +0000 +lang: id +--- + +Kami dengan senang hati mengumumkan rilis dari Ruby 2.6.0-preview2. + +Ruby 2.6.0-preview2 adalah *preview* kedua menuju Ruby 2.6.0. +preview2 ini dirilis lebih awal dari biasanya karena mencakup sebuah fitur +baru yang penting, JIT. + +## JIT + +Ruby 2.6 memperkenalkan sebuah implementasi awal dari *compiler* JIT +(Just-in-time). + +*Compiler* JIT bertujuan untuk memperbaiki performa dari program Ruby apapun +yang dieksekusi. Berbeda dengan JIT *compiler* biasanya pada bahasa pemrograman +lain, *compiler* JIT dari Ruby melakukan kompilasi JIT melalui sebuah jalan +unik, yang mencetak kode C ke sebuah *disk* dan mengeluarkan proses *compiler* +C untuk menghasilkan kode asli. +Lihat juga: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Bagaimana cara menggunakan: Tetapkan `--jit` pada *command line* atau `$RUBYOPT` +*environment variable*. Menetapkan `--jit-verbose=1` memperbolehkan untuk +mencetak informasi dasar dari kompilasi JIT yang berjalan. Lihat `ruby --help` +untuk pilihan lainnya. + +Tujuan utama dari rilis JIT ini adalah untuk menyediakan sebuah kesempatan untuk +mengecek jika ini berjalan di *platform* Anda dan menemukan risiko keamanan +sebelum rilis 2.6. Saat ini, *compiler* JIT didukung hanya ketika Ruby dibuat +oleh gcc atau clang dan *compiler* tersedia saat *runtime*. Jika sebaliknya, +Anda tidak dapat menggunakannya. + +Sampai versi 2.6.0-preview1, kami hanya menyiapkan infrastruktur untuk JIT dan +sangat sedikit optimasi yang diimplementasikan. Anda dapat mengukur beberapa +potensi perbaikan ke dalam mikro *benchmark* melalui rilis ini, tetapi +ini tidak siap untuk proses final *benchmark* performa dari *compiler* JIT-nya +Ruby, khususnya untuk program yang besar seperti aplikasi Rail. + +Kami akan mengimplementasikan *method inlining* di *compiler* JIT, yang mana +diharapkan meningkatkan performa Ruby secara signifikan. + +Begitu juga, kami sedang merencanakan untuk menambah *platform* yang didukung, +dan rencana selanjutnya adalah mendukung Visual Studio. + +Nantikan era baru dari performa Ruby. + +## RubyVM::AST [Eksperimental] + +Ruby 2.6 mengenalkan modul `RubyVM::AST`. + +Modul ini memiliki *method* `parse` yang mem-*parse string* dari kode Ruby yang +diberikan dan mengembalikan AST (Abstract Syntax Tree) *node*, dan *method* +`parse_file` yang mem-*parse* berkas dan mengembalikan AST *node*. + +Kelas `RubyVM::AST::Node` juga mengenalkan Anda agar mendapatkan informasi +lokasi dan *children node* dari objek `Node`. Fitur ini eksperimental. +Kesesuaian struktur dari AST *node* tidak dijamin. + +## Fitur-fitur Baru + +* Menambahkan sebuah alias baru `then` pada `Kernel#yield_self`. [[Fitur #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` tanpa `rescue` sekarang menyebabkan sebuah *syntax error*. [EKSPERIMENTAL] + +* penamaan konstan bisa dimulai dengan sebuah huruf kapital non-ASCII. [[Fitur #13770]](https://bugs.ruby-lang.org/issues/13770) + +* endless range [[Fitur #12912]](https://bugs.ruby-lang.org/issues/12912) + + Sebuah endless range, `(1..)`, diperkenalkan. Ini berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: + + ary[1..] # identik dengan ary[1..-1] tanpa magical -1 + (1..).each {|index| ... } # inifinite loop dari indeks 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Menambahkan `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + *Method* ini mengembalikan sumber lokasi dari *binding*, sebuah *array* dua +elemen dari `__FILE__` dan `__LINE__`. Secara tradisi, informasi yang sama +mungkin dapat diambil dengan `eval("[__FILE__, __LINE__]", binding)`, tetapi +kami sedang merencanakan untuk mengubah perilaku ini sehingga `Kernel#eval` +mengabaikan sumber lokasi *binding* [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). +Sehingga, pengguna seharusnya menggunakan *method* yang baru diperkenalkan ini +daripada `Kernel#eval`. + +* Menambahkan pilihan `:exception` agar `Kernel#system` mengeluarkan *error* +daripada mengembalikan `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +## Perbaikan performa + +* Mempercepat `Proc#call` karena kami tidak peduli `$SAFE` lagi. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Dengan *benchmark* `lc_fizzbuzz` yang menggunakan `Proc#call` berkali-kali + kami dapat mengukur x1.4 kemajuan [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Mempercepat `block.call` di mana `block` diterima parameter *block*. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 memperbaiki performa *block passing*. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Selain itu, Ruby 2.6 memperbaiki performa dari pemanggilan *passed block*. + Dengan mikro *benchmark* kami dapat mengamati x2.6 kemajuan. + +## Perubahan penting lainnya sejak 2.5 + +* `$SAFE` adalah sebuah proses *state* global dan kita dapat mengatur ke `0` lagi. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Menempatkan parameter `safe_level` ke `ERB.new` tidak berlaku lagi. Argumen +`trim_mode` dan `eoutvar` diubah menjadi argumen kata kunci. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Menggabungkan RubyGems 3.0.0.beta1 + +Lihat [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) +atau [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +untuk detail. + +Dengan perubahan tersebut, +[4699 berkas berubah, 45744 sisipan(+), 30885 terhapus(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +sejak Ruby 2.5.0! + +Nikmati memprogram dengan Ruby 2.6.0-preview2! + +## Unduh + +* + + SIZE: 16170732 bytes + SHA1: 6867b00e81af0b70fcb6f1aa7fc22d89d48a7d12 + SHA256: ee15ab35f17c942b1f41bd792f2494f639affff6e03babf44708b72fdbb6de34 + SHA512: 95c5a277785dfeb3006503e1b9ccccefdf6ce29669d4576f0191ee6986ba0e3567fbbed18a8d2b1f147d637434e4a3a4fdf47d84995e10ad4a354950e9092690 + +* + + SIZE: 19850776 bytes + SHA1: eba80a09b552ce3142fd571ff5867a13736d170e + SHA256: 97fc187b90570fce110d22803a319ab04e68700692b2b6b4e9961886f1a931e5 + SHA512: d5501819635bda64ac3dc717815652b692302b44a7cdf4c08edfa5cb9ec7f79a70fffc534879b316a4a9584825ed3c0948667beae2d7c313de58583931b981f4 + +* + + SIZE: 14209461 bytes + SHA1: a9b1b4f359601b94b3f5b77115fcbf3790ff69cd + SHA256: d8ede03d5ad3abd9d2c81cf0ad17a41d22b747c003cc16fd59befb2aaf48f0b2 + SHA512: 3872227e9b1c97c206d19bf1e6ce15a38ee15a26c431b4436605dea67affcf16372358984df76b35e7abaa902c15c16f533ac7af47e3031dea9451bbe459b693 + +* + + SIZE: 11525372 bytes + SHA1: e795abe1a4f828b3d851f7148b4bf6c9d9a7e7fd + SHA256: 00ddfb5e33dee24469dd0b203597f7ecee66522ebb496f620f5815372ea2d3ec + SHA512: bef3e90e97d6e58889cd500c591c579b728ca5833022b690182c0bf4d661e437b3a2ca33470dac35fcf693897819b9d7f500c0f71b707e2fcdcb0644028f2c03 From 208d6873e59c1155f2361ab50014e2961b69809f Mon Sep 17 00:00:00 2001 From: Sorah Fukumori Date: Thu, 21 Jun 2018 04:28:55 +0900 Subject: [PATCH 0161/2563] adjust post date --- ...s-ended.md => 2018-06-20-support-of-ruby-2-2-has-ended.md} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename en/news/_posts/{2018-04-17-support-of-ruby-2-2-has-ended.md => 2018-06-20-support-of-ruby-2-2-has-ended.md} (96%) diff --git a/en/news/_posts/2018-04-17-support-of-ruby-2-2-has-ended.md b/en/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md similarity index 96% rename from en/news/_posts/2018-04-17-support-of-ruby-2-2-has-ended.md rename to en/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md index a5194ea5a1..8a77987287 100644 --- a/en/news/_posts/2018-04-17-support-of-ruby-2-2-has-ended.md +++ b/en/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -3,7 +3,7 @@ layout: news_post title: "Support of Ruby 2.2 has ended" author: "antonpaisov" translator: -date: 2018-04-17 00:00:00 +0000 +date: 2018-06-20 00:00:00 +0000 lang: en --- @@ -20,6 +20,8 @@ We highly recommend that you upgrade to Ruby 2.5 or 2.4 as soon as possible. ## About currently supported Ruby versions +(as of Jun 20th, 2018) + ### Ruby 2.5 series Currently in normal maintenance phase. From f5d9de2f20dee38ec47ba146634d1e50edb37812 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 22 Jun 2018 00:41:11 +0900 Subject: [PATCH 0162/2563] [KO] Translate 2018-06-20-support-of-ruby-2-2-has-ended (#1808) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [KO] Translate 2018-06-20-support-of-ruby-2-2-has-ended * s/더이상/더 이상/g --- ...018-06-20-support-of-ruby-2-2-has-ended.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md diff --git a/ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md new file mode 100644 index 0000000000..d37d85bbeb --- /dev/null +++ b/ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "루비 2.2 유지보수 종료" +author: "antonpaisov" +translator: "shia" +date: 2018-06-20 00:00:00 +0000 +lang: ko +--- + +루비 2.2 시리즈의 모든 유지보수가 종료됩니다. + +작년 3월 28일에 릴리스된 루비 2.2.7 이후로 루비 2.2 시리즈는 보안 유지보수 +단계였습니다. +이제 1년이 지나 이 단계가 종료됩니다. +그러므로 2018년 3월 31일을 기점으로 루비 2.2 시리즈의 모든 유지보수가 종료됩니다. +버그 수정, 보안 패치는 더 이상 2.2에 백포트되지 않으며, 더 이상 패치가 +릴리스되지 않습니다. +가능한 빠르게 루비 2.5나 2.4으로 업그레이드하시길 강하게 권합니다. + +## 현재 유지보수 중인 루비 버전에 대해 + +(2018년 6월 20일 기준) + +### 루비 2.5 시리즈 + +현재 일반 유지보수 단계입니다. +버그 수정을 백포트하며, 이를 포함한 릴리스를 필요한 시점에 할 것입니다. +그리고 심각한 보안 문제가 발견되면 이를 위한 긴급 패치를 릴리스할 것입니다. + +### 루비 2.4 시리즈 + +현재 일반 유지보수 단계입니다. +버그 수정을 백포트하며, 이를 포함한 릴리스를 필요한 시점에 할 것입니다. +그리고 심각한 보안 문제가 발견되면 이를 위한 긴급 패치를 릴리스할 것입니다. + +### 루비 2.3 시리즈 + +현재 보안 유지보수 단계입니다. +보안 패치를 제외한 어떠한 버그 수정도 루비 2.3에 백포트되지 않을 것입니다. +그리고 심각한 보안 문제가 발견되면 이를 위한 긴급 패치를 릴리스할 것입니다. +루비 2.3의 유지보수 종료는 2019년 3월 말로 계획되어 있습니다. From e54ab05d97618d81cd6229a0d5b749e7d67fc6ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Mon, 25 Jun 2018 22:43:26 +0200 Subject: [PATCH 0163/2563] Translate 2.2 EOL post (de) --- ...018-06-20-support-of-ruby-2-2-has-ended.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md diff --git a/de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md new file mode 100644 index 0000000000..d35d54d3eb --- /dev/null +++ b/de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Unterstützung von Ruby 2.2 beendet" +author: "antonpaisov" +translator: "Marvin Gülker" +date: 2018-06-20 00:00:00 +0000 +lang: de +--- + +Wir geben bekannt, dass die Unterstützung für Rubys 2.2er-Serie beendet +ist. + +Nach der Veröffentlichung von Ruby 2.2.7 am 28. März 2017 befand sich +Rubys 2.2er-Serie nur noch in der Phase der +Sicherheitsunterstützung. Nun, ein Jahr später, ist diese Phase +beendet. Am 31. März 2018 ist deshalb jegliche Unterstützung für Rubys +2.2er-Serie ausgelaufen. Fehler- und Sicherheitskorrekturen aus +neueren Ruby-Versionen werden nicht länger nach 2.2 zurückportiert und +es wird keine weiteren Patch-Veröffentlichungen von 2.2 mehr +geben. Wir empfehlen Ihnen dringend, so schnell wie möglich auf Ruby +2.5 oder 2.4 zu aktualisieren. + +## Über momentan unterstützte Ruby-Versionen + +(zum Stichtag 20. Juni 2018) + +### Rubys 2.5er-Serie + +Befindet sich momentan in der normalen Unterstützungsphase. Wir werden +Fehler- und Sicherheitskorrekturen vornehmen, wann immer es +erforderlich ist. Wenn eine kritische Sicherheitslücke gefunden wird, +werden wir sie umgehend beheben. + +### Rubys 2.4er-Serie + +Befindet sich momentan in der normalen Unterstützungsphase. Wir werden +Fehler- und Sicherheitskorrekturen vornehmen, wann immer es +erforderlich ist. Wenn eine kritische Sicherheitslücke gefunden wird, +werden wir sie umgehend beheben. + +### Rubys 2.3er-Serie + +Befindet sich momentan in der Phase der Sicherheitsunterstützung. Wir +portieren nur solche Fehlerkorrekturen zurück, die Sicherheitsprobleme +beheben. Wenn eine kritische Sicherheitslücke gefunden wird, werden +wir sie umgehend beheben. Wir beabsichtigen, die Unterstützung von +Rubys 2.3er-Serie Ende März 2019 einzustellen. From 5d8ed91f7b4cca608942089b1bda01b6b23e6682 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Thu, 28 Jun 2018 18:04:26 +0800 Subject: [PATCH 0164/2563] Translate support of ruby 2.2 has ended (zh_cn) --- ...018-06-20-support-of-ruby-2-2-has-ended.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md diff --git a/zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md new file mode 100644 index 0000000000..76a27a4705 --- /dev/null +++ b/zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -0,0 +1,28 @@ +--- +layout: news_post +title: "对 Ruby 2.2 的支持已结束" +author: "antonpaisov" +translator: "Delton Ding" +date: 2018-06-20 00:00:00 +0000 +lang: zh_cn +--- + +我们宣布所有关于 Ruby 2.2 系列的支持已结束。 + +在 2017 年 3 月 28 日发布 Ruby 2.2.7 之后,Ruby 2.2 的支持进入了安全维护期。现已过去一年,此阶段已结束。自 2018 年 3 月 28 日起,所有关于 Ruby 2.2 系列的支持都已结束。Ruby 新版的缺陷和安全修复不再移植到 2.2 系列,也不再发布 2.2 系列的版本补丁。我们高度建议您尽快升级至 Ruby 2.5 或 2.4 版本。 + +## Ruby 版本当前支持状态 + +(截至 2018 年 6 月 20 日) + +### Ruby 2.5 系列 + +目前处于常规维护阶段。必要时,我们会移植缺陷修正,发布新版。如果发现严重安全问题,我们会发布紧急修正。 + +### Ruby 2.4 系列 + +目前处于常规维护阶段。必要时,我们会移植缺陷修正,发布新版。如果发现严重安全问题,我们会发布紧急修正。 + +### Ruby 2.3 系列 + +目前处于安全维护阶段。除了安全修正之外,不再把缺陷修正移植到 2.3 系列。如果发现严重安全问题,我们会发布紧急修正。对 Ruby 2.3 系列的支持计划到 2019 年 3 月底结束。 From 17e070eeea8d3c82b382b364555fa39141d3f8e8 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 25 Jun 2018 05:45:42 +0700 Subject: [PATCH 0165/2563] Translate support of Ruby 2.2 has ended post (id) --- ...018-06-20-support-of-ruby-2-2-has-ended.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md diff --git a/id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md new file mode 100644 index 0000000000..e722e86187 --- /dev/null +++ b/id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "Dukungan Ruby 2.2 telah berakhir" +author: "antonpaisov" +translator: "meisyal" +date: 2018-06-20 00:00:00 +0000 +lang: id +--- + +Kami mengumumkan semua dukungan dari rangkaian Ruby 2.2 telah berakhir. + +Setelah rilis Ruby 2.2.7 pada 28 Maret 2017, +dukungan dari rangkaian Ruby 2.2 berada pada fase perawatan keamanan. +Sekarang, setelah satu tahun berlalu, fase tersebut telah berakhir. +Sehingga, pada 31 Maret 2018, semua dukungan dari rangkaian Ruby 2.2 telah berakhir. +Perbaikan *bug* dan keamanan dari versi Ruby paling baru tidak akan +di-*backport* ke 2.2, dan tidak ada rilis *patch* 2.2 akan dirilis lebih lanjut. +Kami sangat merekomendasikan Anda untuk memperbarui Ruby ke 2.5 atau 2.4 +segera mungkin. + +## Tentang dukungan versi Ruby saat ini + +(mulai 20 Juni 2018) + +### Rangkaian Ruby 2.5 + +Saat ini pada fase perawatan biasa. +Kami akan *backport* perbaikan bug dan rilis dengan perbaikan-perbaikan yang +diperlukan kapanpun. Dan, jika sebuah masalah keamanan yang genting ditemukan, +kami akan merilis perbaikan untuknya segera. + +### Rangkaian Ruby 2.4 + +Saat ini pada fase perawatan biasa. +Kami akan *backport* perbaikan bug dan rilis dengan perbaikan-perbaikan yang +diperlukan kapanpun. Dan, jika sebuah masalah keamanan yang genting ditemukan, +kami akan merilis perbaikan untuknya segera. + +### Rangkaian Ruby 2.3 + +Saat ini pada fase perawatan keamanan. +Kami tidak akan pernah *backport* perbaikan *bug* apapun pada 2.3 kecuali +perbaikan keamanan. Jika sebuah masalah keamanan yang genting ditemukan, +kami akan merilis perbaikan untuknya segera. Kami sedang merencanakan untuk +mengakhiri dukungan dari rangkaian Ruby 2.3 pada akhir Maret 2019. From c4f7f9239a40fd0d0bfd2ece665153e9c10b8e95 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Mon, 2 Jul 2018 11:50:26 +0800 Subject: [PATCH 0166/2563] Translate support of ruby 2.2 has ended (zh_tw) --- ...018-06-20-support-of-ruby-2-2-has-ended.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md diff --git a/zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md new file mode 100644 index 0000000000..74dd16c5ad --- /dev/null +++ b/zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -0,0 +1,28 @@ +--- +layout: news_post +title: "Ruby 2.2 的支援已經結束" +author: "antonpaisov" +translator: "Delton Ding" +date: 2018-06-20 00:00:00 +0000 +lang: zh_tw +--- + +我們宣布所有對 Ruby 2.2 系列的支援已結束。 + +在 2017 年 3 月 28 日發佈 Ruby 2.2.7 之後,Ruby 2.2 的支援進入了安全維護期。現已過去一年,此階段已結束。自 2018 年 3 月 28 日起,所有關於 Ruby 2.2 系列的支援都已結束。Ruby 新版的缺陷和安全修復不再移植回 2.2 系列,也不再發佈 2.2 系列的補丁。我們高度建議您儘快升級至 Ruby 2.5 或 2.4 版本。 + +## Ruby 版本目前的支援狀態 + +(截至 2018 年 6 月 20 日) + +### Ruby 2.5 系列 + +目前處於正常維護階段。如有需要,我們將會移植錯誤修正並發佈修正版本。如果發現嚴重安全性問題,我們會為此發佈緊急修正版本。 + +### Ruby 2.4 系列 + +目前處於正常維護階段。如有需要,我們將會移植錯誤修正並發佈修正版本。如果發現嚴重安全性問題,我們會為此發佈緊急修正版本。 + +### Ruby 2.3 系列 + +目前處於安全性維護階段,除了安全性修正外,我們將不會移植任何錯誤修正回去 2.2 系列。如果發現嚴重安全性問題,我們會為此發佈緊急修正版本。我們計畫在 2019 年 3 月底停止 Ruby 2.3 系列的支援。 From a8d588a61563bf2e4c733a4b566008515d0a95da Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 2 Jul 2018 19:46:17 +0200 Subject: [PATCH 0167/2563] Remove duplicated date from Ruby 2.2 EOL post The date is already given at the very beginning of the post. --- de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md | 2 -- en/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md | 2 -- id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md | 2 -- ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md | 2 -- zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md | 2 -- zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md | 2 -- 6 files changed, 12 deletions(-) diff --git a/de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md index d35d54d3eb..ee2e96e352 100644 --- a/de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md +++ b/de/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -22,8 +22,6 @@ geben. Wir empfehlen Ihnen dringend, so schnell wie möglich auf Ruby ## Über momentan unterstützte Ruby-Versionen -(zum Stichtag 20. Juni 2018) - ### Rubys 2.5er-Serie Befindet sich momentan in der normalen Unterstützungsphase. Wir werden diff --git a/en/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/en/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md index 8a77987287..6930364352 100644 --- a/en/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md +++ b/en/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -20,8 +20,6 @@ We highly recommend that you upgrade to Ruby 2.5 or 2.4 as soon as possible. ## About currently supported Ruby versions -(as of Jun 20th, 2018) - ### Ruby 2.5 series Currently in normal maintenance phase. diff --git a/id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md index e722e86187..758bf0688d 100644 --- a/id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md +++ b/id/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -20,8 +20,6 @@ segera mungkin. ## Tentang dukungan versi Ruby saat ini -(mulai 20 Juni 2018) - ### Rangkaian Ruby 2.5 Saat ini pada fase perawatan biasa. diff --git a/ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md index d37d85bbeb..4728eecbf6 100644 --- a/ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md +++ b/ko/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -19,8 +19,6 @@ lang: ko ## 현재 유지보수 중인 루비 버전에 대해 -(2018년 6월 20일 기준) - ### 루비 2.5 시리즈 현재 일반 유지보수 단계입니다. diff --git a/zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md index 76a27a4705..5497a9a393 100644 --- a/zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md +++ b/zh_cn/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -13,8 +13,6 @@ lang: zh_cn ## Ruby 版本当前支持状态 -(截至 2018 年 6 月 20 日) - ### Ruby 2.5 系列 目前处于常规维护阶段。必要时,我们会移植缺陷修正,发布新版。如果发现严重安全问题,我们会发布紧急修正。 diff --git a/zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md index 74dd16c5ad..f155129755 100644 --- a/zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md +++ b/zh_tw/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -13,8 +13,6 @@ lang: zh_tw ## Ruby 版本目前的支援狀態 -(截至 2018 年 6 月 20 日) - ### Ruby 2.5 系列 目前處於正常維護階段。如有需要,我們將會移植錯誤修正並發佈修正版本。如果發現嚴重安全性問題,我們會為此發佈緊急修正版本。 From 7547dbd6a23de5da9c9da0d7bd242b8d6d0b7707 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 3 Jul 2018 15:51:24 +0200 Subject: [PATCH 0168/2563] Drop workarounds for Travis CI Apparently, these problems have been fixed. --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9177646196..196754c222 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,6 @@ sudo: false rvm: 2.5.1 cache: bundler: true -before_script: - # https://github.com/travis-ci/travis-ci/issues/8978 - - gem update --system - # Fix bundler/dep_proxy failure - - gem install bundler -v 1.16.1 script: bundle exec rake ci # Notifications, used by our Gitter channel. notifications: From 139a5495e411c3a6abb507509d05507bac6a2884 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Tue, 3 Jul 2018 18:44:00 +0800 Subject: [PATCH 0169/2563] Translate vulnerability news published to zh_cn --- ...-buffer-under-read-unpack-cve-2018-8778.md | 33 ++++++++++++++++++ ...nse-splitting-in-webrick-cve-2017-17742.md | 34 +++++++++++++++++++ ...ge-request-dos-in-webrick-cve-2018-8777.md | 34 +++++++++++++++++++ ...-28-poisoned-nul-byte-dir-cve-2018-8780.md | 34 +++++++++++++++++++ ...soned-nul-byte-unixsocket-cve-2018-8779.md | 34 +++++++++++++++++++ ...-with-directory-traversal-cve-2018-6914.md | 34 +++++++++++++++++++ 6 files changed, 203 insertions(+) create mode 100644 zh_cn/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md create mode 100644 zh_cn/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md create mode 100644 zh_cn/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md create mode 100644 zh_cn/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md create mode 100644 zh_cn/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md create mode 100644 zh_cn/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md diff --git a/zh_cn/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/zh_cn/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md new file mode 100644 index 0000000000..a90729a369 --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -0,0 +1,33 @@ +--- +layout: news_post +title: "CVE-2018-8778: String#unpack 中缓冲区欠读缺陷" +author: "usa" +translator: "Delton Ding" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_cn +--- +`String#unpack` 中存在一个缓冲区欠读缺陷。此缺陷已被分配 CVE 标识符 [CVE-2018-8778](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8778)。 + +## 细节 + +`String#unpack` 接受一个格式化标识作为其参数。通过 `@` 标识可以指定解析数据的位置。当一个 `@` 参数含有一个过大数字,数字会被作为负数处理,此时会发生可以读取到缓冲区外的数据。当脚本接受外部输入作为 `String#unpack` 的参数时,攻击者可利用此缺陷读取到堆上的数据。 + +所有使用受影响版本的用户应立即升级。 + +## 受影响版本 + +* Ruby 2.2 系列:2.2.9 及更早版本 +* Ruby 2.3 系列:2.3.6 及更早版本 +* Ruby 2.4 系列:2.4.3 及更早版本 +* Ruby 2.5 系列:2.5.0 及更早版本 +* Ruby 2.6 系列:2.6.0-preview1 +* SVN trunk 早于 r62992 的所有版本 + +## 鸣谢 + +感谢 [aerodudrizzt](https://hackerone.com/aerodudrizzt) 报告了此问题。 + +## 历史 + +* 最早于 2018-03-28 14:00:00 (UTC) 发布 diff --git a/zh_cn/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md b/zh_cn/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md new file mode 100644 index 0000000000..fefa4489c8 --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-http-response-splitting-in-webrick-cve-2017-17742.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2017-17742: WEBrick 回复分离缺陷" +author: "usa" +translator: "Delton Ding" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_cn +--- + +Ruby 捆绑的 WEBrick 在 HTTP 回复分离时存在一个缺陷。此缺陷已被分配 CVE 标识符 [CVE-2017-17742](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17742)。 + +## 细节 + +当脚本接受外部输入后未经修改直接拼接到 HTTP 回复中时,攻击者可以利用换行符使得 HTTP 回复头停止拼接,并在换行符后注入虚假的 HTTP 回复来向客户显示恶意内容。 + +所有使用受影响版本的用户应立即升级。 + +## 受影响版本 + +* Ruby 2.2 系列:2.2.9 及更早版本 +* Ruby 2.3 系列:2.3.6 及更早版本 +* Ruby 2.4 系列:2.4.3 及更早版本 +* Ruby 2.5 系列:2.5.0 及更早版本 +* Ruby 2.6 系列:2.6.0-preview1 +* SVN trunk 早于 r62968 的所有版本 + +## 鸣谢 + +感谢 Aaron Patterson 报告了此问题。 + +## 历史 + +* 最早于 2018-03-28 14:00:00 (UTC) 发布 diff --git a/zh_cn/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md b/zh_cn/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md new file mode 100644 index 0000000000..3caa2e139e --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-large-request-dos-in-webrick-cve-2018-8777.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2018-8777: WEBrick 大请求 DoS 缺陷" +author: "usa" +translator: "Delton Ding" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_cn +--- + +Ruby 捆绑的 WEBrick 存在一个通过发送大请求耗尽内存的 DoS 缺陷。此缺陷已被分配 CVE 标识符 [CVE-2018-8777](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8777)。 + +## 细节 + +如果攻击者发送包含巨大请求头的请求,WEBrick 会尝试在内存中处理它,从而此类请求可以被用于发动耗尽内存的 DoS 攻击。 + +所有使用受影响版本的用户应立即升级。 + +## 受影响版本 + +* Ruby 2.2 系列:2.2.9 及更早版本 +* Ruby 2.3 系列:2.3.6 及更早版本 +* Ruby 2.4 系列:2.4.3 及更早版本 +* Ruby 2.5 系列:2.5.0 及更早版本 +* Ruby 2.6 系列:2.6.0-preview1 +* SVN trunk 早于 r62965 的所有版本 + +## 鸣谢 + +感谢 Eric Wong 报告了此问题。 + +## 历史 + +* 最早于 2018-03-28 14:00:00 (UTC) 发布 diff --git a/zh_cn/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/zh_cn/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md new file mode 100644 index 0000000000..0b53598ce0 --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2018-8780: Dir 中污染的 NUL 字节可触发意外目录穿越" +author: "usa" +translator: "Delton Ding" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_cn +--- + +`Dir` 中的一些方法存在意外目录穿越的问题。此缺陷已被分配 CVE 标识符 [CVE-2018-8780](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8780)。 + +## 细节 + +`Dir.open`, `Dir.new`, `Dir.entries` and `Dir.empty?` 接受目标目录作为它们的参数。当参数中包含 NUL (`\0`) 字节时,这些方法会在 NUL 字节前停止解析路径。因此,当使用这些方法时接受外部输入时,攻击者可以利用此缺陷发动意外目录穿越。 + +所有使用受影响版本的用户应立即升级。 + +## 受影响版本 + +* Ruby 2.2 系列:2.2.9 及更早版本 +* Ruby 2.3 系列:2.3.6 及更早版本 +* Ruby 2.4 系列:2.4.3 及更早版本 +* Ruby 2.5 系列:2.5.0 及更早版本 +* Ruby 2.6 系列:2.6.0-preview1 +* SVN trunk 早于 r62989 的所有版本 + +## 鸣谢 + +感谢 [ooooooo_q](https://hackerone.com/ooooooo_q) 报告了此问题。 + +## 历史 + +* 最早于 2018-03-28 14:00:00 (UTC) 发布 diff --git a/zh_cn/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/zh_cn/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md new file mode 100644 index 0000000000..23ca435c18 --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2018-8779: UNIXServer 与 UNIXSocket 中污染的 NUL 字节可创建意外的 Socket" +author: "usa" +translator: "Delton Ding" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_cn +--- + +Ruby 自带的套接字库中 `UNIXServer.open` 方法存在一个通过污染的 NUL 字节可创建意外的 Socket 的缺陷。同时,`UNIXSocket.open` 方法也存在一个意外访问套接字的缺陷。此缺陷已被分配 CVE 标识符 [CVE-2018-8779](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779)。 + +## 细节 + +`UNIXServer.open` 将套接字的路径作为其创建套接字的第一个参数。当参数中包含 NUL (`\0`) 字节时,这些方法会在 NUL 字节前停止解析路径。因此,当使用这些方法时接受外部输入时,攻击者可以利用此缺陷访问意外的套接字。同样地,`UNIXSocket.open` 接受参数创建套接字时和 `UNIXServer.open` 一样也没有检查 NUL 字节。因此,当使用这些方法时接受外部输入时,攻击者可以利用此缺陷接受来自意外路径的套接字。 + +所有使用受影响版本的用户应立即升级。 + +## 受影响版本 + +* Ruby 2.2 系列:2.2.9 及更早版本 +* Ruby 2.3 系列:2.3.6 及更早版本 +* Ruby 2.4 系列:2.4.3 及更早版本 +* Ruby 2.5 系列:2.5.0 及更早版本 +* Ruby 2.6 系列:2.6.0-preview1 +* SVN trunk 早于 r62991 的所有版本 + +## 鸣谢 + +感谢 [ooooooo_q](https://hackerone.com/ooooooo_q) 报告了此问题。 + +## 历史 + +* 最早于 2018-03-28 14:00:00 (UTC) 发布 diff --git a/zh_cn/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/zh_cn/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md new file mode 100644 index 0000000000..6363dfe49b --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2018-6914: tempfile 和 tmpdir 库中意外创建文件和目录的缺陷" +author: "usa" +translator: "Delton Ding" +date: 2018-03-28 14:00:00 +0000 +tags: security +lang: zh_cn +--- + +Ruby 自带的 tmpdir 库中存在一个创建意外目录的缺陷。此外 tempfile 库也存在创建意外文件的缺陷,因为其内部依赖了 tmpdir。此缺陷已被分配 CVE 标识符 [CVE-2018-6914](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6914)。 + +## 细节 + +tmpdir 库中的 `Dir.mktmpdir` 方法接受目录的前后缀作为其创建目录的第一个参数。前缀可以包括相对目录符号,例如:`"../"`,因此,此方法可以被用于重定向至任意目录。因此,当脚本接受外部输入作为其前缀参数,且目标路径或 Ruby 进程没有被合适的权限保护时,攻击者可以利用此缺陷在任意目录创建文件。 + +所有使用受影响版本的用户应立即升级。 + +## 受影响版本 + +* Ruby 2.2 系列:2.2.9 及更早版本 +* Ruby 2.3 系列:2.3.6 及更早版本 +* Ruby 2.4 系列:2.4.3 及更早版本 +* Ruby 2.5 系列:2.5.0 及更早版本 +* Ruby 2.6 系列:2.6.0-preview1 +* SVN trunk 早于 62990 的所有版本 + +## 鸣谢 + +感谢 [ooooooo_q](https://hackerone.com/ooooooo_q) 报告了此问题。 + +## 历史 + +* 最早于 2018-03-28 14:00:00 (UTC) 发布 From e093ef5068d33b8cd4197d271e1141a9926dc338 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Wed, 4 Jul 2018 02:36:44 +0800 Subject: [PATCH 0170/2563] Translate 2018-03-28 release posts (zh_cn) --- .../_posts/2018-03-28-ruby-2-2-10-released.md | 54 +++++++++++++++++ .../_posts/2018-03-28-ruby-2-3-7-released.md | 58 +++++++++++++++++++ .../_posts/2018-03-28-ruby-2-4-4-released.md | 56 ++++++++++++++++++ .../_posts/2018-03-28-ruby-2-5-1-released.md | 57 ++++++++++++++++++ 4 files changed, 225 insertions(+) create mode 100644 zh_cn/news/_posts/2018-03-28-ruby-2-2-10-released.md create mode 100644 zh_cn/news/_posts/2018-03-28-ruby-2-3-7-released.md create mode 100644 zh_cn/news/_posts/2018-03-28-ruby-2-4-4-released.md create mode 100644 zh_cn/news/_posts/2018-03-28-ruby-2-5-1-released.md diff --git a/zh_cn/news/_posts/2018-03-28-ruby-2-2-10-released.md b/zh_cn/news/_posts/2018-03-28-ruby-2-2-10-released.md new file mode 100644 index 0000000000..64b6323e41 --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-ruby-2-2-10-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Ruby 2.2.10 已发布" +author: "usa" +translator: "Delton Ding" +date: 2018-03-28 17:00:00 +0000 +lang: zh_cn +--- + +Ruby 2.2.10 已发布。此次发布修复了数个安全漏洞。请检查以下主题以了解详情。 + +* [CVE-2017-17742: WEBrick 回复分离缺陷](/zh_cn/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: WEBrick 大请求 DoS 缺陷](/zh_cn/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: tempfile 和 tmpdir 库中意外创建文件和目录的缺陷](/zh_cn/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: String#unpack 中缓冲区欠读缺陷](/zh_cn/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer 与 UNIXSocket 中污染的 NUL 字节可创建意外的 Socket](/zh_cn/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir 中污染的 NUL 字节可触发意外目录穿越](/zh_cn/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Multiple vulnerabilities in RubyGems](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Ruby 2.2 正处于安全维护期,并将于 2018 年 3 月底停止维护。此后 Ruby 2.2 的维护将被完全终止。因此,这将会是 Ruby 2.2 的最后一个版本。我们不会再发布 Ruby 2.2 的任何新版本,除非 2.2.10 存在回归性漏洞。我们建议您更新至更新版本的 Ruby,例如 Ruby 2.5。 + +## 下载 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.bz2) + + SIZE: 13365461 bytes + SHA1: 72ee1dcfd96199d2c3092b77db7a7f439c0abd08 + SHA256: a54204d2728283c9eff0cf81d654f245fa5b3447d0824f1a6bc3b2c5c827381e + SHA512: f8ec96c2a5f4ecf22052ee0b1029989ded52d7bf5d41be24fef67e732e76f72119302240bca08f0547510a9cd29e941a32e263cad9c8a2bf80023d6bc97b2373 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.gz) + + SIZE: 16694179 bytes + SHA1: b0207c861f3fa41cbe4909ecb89bd2fcac81fe7c + SHA256: cd51019eb9d9c786d6cb178c37f6812d8a41d6914a1edaf0050c051c75d7c358 + SHA512: 051124922240d2e20e74903b9c629fa897279072d2aa9b0a4e3a02331b843fa9c97c16e7073d6faec1b9f2024c3a7e36346014c30eee256f0715c5de226b5db8 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.tar.xz) + + SIZE: 10508612 bytes + SHA1: c46737f81df819c3d7423df5c644431b3fcb8fee + SHA256: bf77bcb7e6666ccae8d0882ea12b05f382f963f0a9a5285a328760c06a9ab650 + SHA512: 1f35458f2b1c334e64aecf42cd1df3b223fef119b6ad23394285d9f2e72da26b3ba5418950694c4a8c0b4afc43672f78459f2f7281a595cff0967eb239662ae4 + +* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.10.zip) + + SIZE: 18540424 bytes + SHA1: 0f4b9c6695d000cb456fe8b89f8bf6d42fb95069 + SHA256: 6933eb989afb1b916c438d8eeecff1cfb0a6569c07e7190beca56b10b822207a + SHA512: dfaa9a76170b0eed9cb2bf41178f2193dd3428492413b1616aaabd67ec35b9b7705b422b0fdfe38b18a1800bbce3ba161b53d229d307ea7f5c0269ef3d031980 + +## 发布记 + +感谢所有帮助报告缺陷、修复权限以促使此版本顺利发布的所有人。 diff --git a/zh_cn/news/_posts/2018-03-28-ruby-2-3-7-released.md b/zh_cn/news/_posts/2018-03-28-ruby-2-3-7-released.md new file mode 100644 index 0000000000..2484e1e262 --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-ruby-2-3-7-released.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "Ruby 2.3.7 已发布" +author: "usa" +translator: "Delton Ding" +date: 2018-03-28 17:00:00 +0000 +lang: zh_cn +--- + +Ruby 2.3.7 已发布。此次发布修复了近 70 个漏洞,包括数个安全漏洞。请检查以下主题以了解详情。 + +* [CVE-2017-17742: WEBrick 回复分离缺陷](/zh_cn/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: WEBrick 大请求 DoS 缺陷](/zh_cn/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: tempfile 和 tmpdir 库中意外创建文件和目录的缺陷](/zh_cn/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: String#unpack 中缓冲区欠读缺陷](/zh_cn/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer 与 UNIXSocket 中污染的 NUL 字节可创建意外的 Socket](/zh_cn/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir 中污染的 NUL 字节可触发意外目录穿越](/zh_cn/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems 存在多个安全风险](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +请查看 [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_3_7/ChangeLog) 以了解细节。 + +此版本后,我们会终止 Ruby 2.3 的正常维护,并启动安全性维护阶段。这意味着 Ruby 2.3.7 版本后除了安全性修复将不会被移植任何漏洞修复。安全性维护阶段计划持续 1 年,在此阶段后,Ruby 2.3 的维护会彻底结束。因此,我们建议您着手升级至 Ruby 2.5 或 2.4。 + +## 下载 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.bz2) + + SIZE: 14421177 bytes + SHA1: 3bb88965405da5e4de2432eeb445fffa8a66fb33 + SHA256: 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e + SHA512: e72754f7703f0706c4b0bccd053035536053451fe069a55427984cc0bc5692b86bd51c243c5f62f78527c66b08300d2e4aa19b73e6ded13d6020aa2450e66a7d + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz) + + SIZE: 17859100 bytes + SHA1: 540996fec64984ab6099e34d2f5820b14904f15a + SHA256: 35cd349cddf78e4a0640d28ec8c7e88a2ae0db51ebd8926cd232bb70db2c7d7f + SHA512: 1ceccf00981d6d60e7587e89a04cc028f976950313ee445db5afd03e323472d3e69a35423733b24f9cbd9729f034cf80d2233b5c159764839f5bee4ca7052fe0 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.xz) + + SIZE: 11438124 bytes + SHA1: c489248730cbce7721edd3e97de81e68eec938b2 + SHA256: c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb + SHA512: fd91c8db3d3aa4cc962a62f27b4d1a71f6b5567ab836e6dbfbbb1553eb269d11e12faf9e36af6c489c33b54fd89dab99bfe81a563158b704877f0628d6f5bc5a + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.zip) + + SIZE: 19911423 bytes + SHA1: ec6870b39125238d8d57d642225592896ed3b6d9 + SHA256: ffa42eeff928624a05dc7ad39426c855c6e9a757417f17b6fe9e54664ec91012 + SHA512: c85255a7f43c7df2fb11be4f9aa96e2ae70a94d3e963ccff4d8c1349ad6d455d9a436812efb24c91e451e68b8f81e5d335c6d5811b2a0e945a7070c305054434 + +## 发布记 + +感谢所有帮助此版本发布的人。 + +Ruby 2.3 的维护,包括这个版本是基于 Ruby 协会的「Ruby 稳定版本协议」进行维护的。 diff --git a/zh_cn/news/_posts/2018-03-28-ruby-2-4-4-released.md b/zh_cn/news/_posts/2018-03-28-ruby-2-4-4-released.md new file mode 100644 index 0000000000..9db803d8f1 --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-ruby-2-4-4-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Ruby 2.4.4 已发布" +author: "nagachika" +translator: "Delton Ding" +date: 2018-03-28 17:10:00 +0000 +lang: zh_cn +--- + +Ruby 2.4.4 已发布。 + +此版本修复了一些漏洞,包括一些安全性漏洞。 + +* [CVE-2017-17742: WEBrick 回复分离缺陷](/zh_cn/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: WEBrick 大请求 DoS 缺陷](/zh_cn/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: tempfile 和 tmpdir 库中意外创建文件和目录的缺陷](/zh_cn/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: String#unpack 中缓冲区欠读缺陷](/zh_cn/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer 与 UNIXSocket 中污染的 NUL 字节可创建意外的 Socket](/zh_cn/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir 中污染的 NUL 字节可触发意外目录穿越](/zh_cn/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems 存在多个安全风险](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +除以上提及之漏洞,我们还修复了许多其他漏洞。请查询 [commit logs](https://github.com/ruby/ruby/compare/v2_4_3...v2_4_4) 以获取详情。 + +## 下载 + +* + + SIZE: 12659705 bytes + SHA1: 1cc548ba3eb821e29ab92ac13e1d5c7bf23b1526 + SHA256: 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1 + SHA512: ae632852a5f413561d8134e9ef3bb82adb37317696dd293ef92cb76709ecd45718f14116ecce35b12f1c2dd53ccae8dabc7a924a270072b697512d11f4922347 + +* + + SIZE: 14225338 bytes + SHA1: ec82b0d53bd0adad9b19e6b45e44d54e9ec3f10c + SHA256: 254f1c1a79e4cc814d1e7320bc5bdd995dc57e08727d30a767664619a9c8ae5a + SHA512: fa1f6d3a4856046d4f9c3e652be225ae67f3e9ff0d117b6ed327d58cfb717fb9b1ce81d06a3302e486e7da0b5f67b16341666ceb02a554a428d221d008263ed8 + +* + + SIZE: 10049304 bytes + SHA1: 0eac83a0818e1d6bc661abd9f90457cff8868cff + SHA256: 1d0034071d675193ca769f64c91827e5f54cb3a7962316a41d5217c7bc6949f0 + SHA512: 4dc112a149273d4221484ccbf1260c6c5fcad7e0a6e4bc91e4ef69cbc093d3191f7abd71420f80d680f8ea5d111e6803ba2af32166aa501913639e6d5696fde0 + +* + + SIZE: 15685143 bytes + SHA1: 4ac11e6915c168a235b854014aa2a0d540cabd68 + SHA256: d0ca0561be0045f2e094f2ba94f1585e66e9c1e91fe6de3f3035f4d67dce7650 + SHA512: 79b655fda332d44097e108a76c4ff74f16930cd3ef3951c7988df325781aa0b3e724697107d964735f31a2457a835f08fa72c4eadd5ef7d3ccc1e6c9185f37e3 + +## 发布记 + +许多提交者、开发者和提供漏洞报告的用户帮助我们发布了这个版本。在此感谢这些人的贡献。 diff --git a/zh_cn/news/_posts/2018-03-28-ruby-2-5-1-released.md b/zh_cn/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..0cf79066d1 --- /dev/null +++ b/zh_cn/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Ruby 2.5.1 已发布" +author: "naruse" +translator: "Delton Ding" +date: 2018-03-28 17:20:00 +0000 +lang: zh_cn +--- + +Ruby 2.5.1 已发布。 + +此版本修复了一些漏洞,包括一些安全性漏洞。 + +* [CVE-2017-17742: WEBrick 回复分离缺陷](/zh_cn/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-8777: WEBrick 大请求 DoS 缺陷](/zh_cn/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-6914: tempfile 和 tmpdir 库中意外创建文件和目录的缺陷](/zh_cn/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8778: String#unpack 中缓冲区欠读缺陷](/zh_cn/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: UNIXServer 与 UNIXSocket 中污染的 NUL 字节可创建意外的 Socket](/zh_cn/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Dir 中污染的 NUL 字节可触发意外目录穿越](/zh_cn/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [RubyGems 存在多个安全风险](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + + +除以上提及之漏洞,我们还修复了许多其他漏洞。请查询 [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1) 以获取详情。 + +## 下载 + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## 发布记 + +许多提交者、开发者和提供漏洞报告的用户帮助我们发布了这个版本。在此感谢这些人的贡献。 From 6f3a0954fd3b399a9c413d5dbb81f2d2f97aef2f Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 5 Jul 2018 22:15:38 +0200 Subject: [PATCH 0171/2563] Fix untranslated post titles (zh_cn) --- zh_cn/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md | 2 +- zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zh_cn/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md b/zh_cn/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md index 00d012d907..1744fbe7f0 100644 --- a/zh_cn/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md +++ b/zh_cn/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 2.5.0-preview1 Released" +title: "Ruby 2.5.0-preview1 已发布" author: "naruse" translator: "安道" date: 2017-10-10 00:00:00 +0000 diff --git a/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 9948b46dc2..bb7f5a506c 100644 --- a/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 2.6.0-preview2 Released" +title: "Ruby 2.6.0-preview2 已发布" author: "naruse" translator: "Delton Ding" date: 2018-05-31 00:00:00 +0000 From dc8c770e70d1edb1c2b6c48f56135957db2dcad1 Mon Sep 17 00:00:00 2001 From: Antoine Date: Tue, 17 Jul 2018 10:21:11 +0200 Subject: [PATCH 0172/2563] Fix error and typo on quickstart page (fr) (#1816) --- fr/documentation/quickstart/2/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fr/documentation/quickstart/2/index.md b/fr/documentation/quickstart/2/index.md index d831815acd..4aa17fca34 100644 --- a/fr/documentation/quickstart/2/index.md +++ b/fr/documentation/quickstart/2/index.md @@ -55,8 +55,8 @@ Hello World! Rien de très compliqué. Appeler une méthode en Ruby, c’est simplement dire son nom, au minimum. Si la méthode n’attend pas de paramètres pour préciser ce qu’elle doit faire, le nom suffira. Et d’ailleurs, vous -pouvez bien ajouter des paramètres à une méthode qui n’en attend pas : -il seront simplement ignorés. +pouvez bien ajouter des parenthèses vides à une méthode qui n’attend +pas de paramètres : elles seront simplement ignorés. Que faire si nous souhaitons dire bonjour à une personne en particulier, et pas au monde entier ? Et bien, il suffit justement de demander à ce @@ -103,7 +103,7 @@ Hello World! D’autres petits ajouts ont eu lieu dans ce dernier bout de code. Tout d’abord, nous n’appelons plus la méthode avec des parenthèses autour du paramètre. Elles sont en effet optionnelles, et vous pouvez vous en -passez si ce que vous écrivez est trivial, comme c’est le cas ici. +passer si ce que vous écrivez est trivial, comme c’est le cas ici. Ensuite, nous avons défini une valeur par défaut pour le paramètre `name`. Si la méthode est appelée sans que lui soit fourni un nom en particulier, alors le nom prendra la valeur `"World"`. From 193e078ff037b32ecf378ab671ae9b7d7c18cd13 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 17 Jul 2018 10:22:07 +0200 Subject: [PATCH 0173/2563] Remove trailing whitespace --- fr/documentation/quickstart/2/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fr/documentation/quickstart/2/index.md b/fr/documentation/quickstart/2/index.md index 4aa17fca34..5cb9a43b93 100644 --- a/fr/documentation/quickstart/2/index.md +++ b/fr/documentation/quickstart/2/index.md @@ -55,7 +55,7 @@ Hello World! Rien de très compliqué. Appeler une méthode en Ruby, c’est simplement dire son nom, au minimum. Si la méthode n’attend pas de paramètres pour préciser ce qu’elle doit faire, le nom suffira. Et d’ailleurs, vous -pouvez bien ajouter des parenthèses vides à une méthode qui n’attend +pouvez bien ajouter des parenthèses vides à une méthode qui n’attend pas de paramètres : elles seront simplement ignorés. Que faire si nous souhaitons dire bonjour à une personne en particulier, From b59b04c18e7c3b1c0ca99a4250ccce61c94dfe80 Mon Sep 17 00:00:00 2001 From: Andrea Corsini Date: Sat, 11 Aug 2018 11:33:02 +0200 Subject: [PATCH 0174/2563] Fixed typo --- it/documentation/quickstart/3/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it/documentation/quickstart/3/index.md b/it/documentation/quickstart/3/index.md index c8db64cd39..52a4a7da26 100644 --- a/it/documentation/quickstart/3/index.md +++ b/it/documentation/quickstart/3/index.md @@ -135,7 +135,7 @@ il valore e `nome=` per settarlo. ## Salutare tutti e tutto, L’AmicoDiTutti non trascura nessuno! -Questa PersonaCordiale uò salutare solo una persona alla volta. Cosa +Questa PersonaCordiale può salutare solo una persona alla volta. Cosa succederebbe se avessimo un amico di tutti che può salutare il mondo, una persona o un intero elenco di persone? From f9622d5677dc1df2a7b8132a82e3aa3699455719 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 26 Aug 2018 14:50:59 +0200 Subject: [PATCH 0175/2563] Add TruffleRuby to the list of Ruby implementations * Move MacRuby below mruby since it is not actively developed. * Add a link to Awesome Rubies for a more exhaustive list. --- en/about/index.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/en/about/index.md b/en/about/index.md index da2b35c6f8..93f7d642f6 100644 --- a/en/about/index.md +++ b/en/about/index.md @@ -193,12 +193,14 @@ Here’s a list: * [Rubinius][rubinius] is ‘Ruby written in Ruby’. Built on top of LLVM, Rubinius sports a nifty virtual machine that other languages are being built on top of, too. -* [MacRuby][macruby] is a Ruby that’s tightly integrated with Apple’s Cocoa - libraries for Mac OS X, allowing you to write desktop applications - with ease. +* [TruffleRuby][truffleruby] is a high performance Ruby implementation on top of + GraalVM. * [mruby][mruby] is a lightweight implementation of the Ruby language that can be linked and embedded within an application. Its development is led by Ruby’s creator Yukihiro “Matz” Matsumoto. +* [MacRuby][macruby] is a Ruby that’s tightly integrated with Apple’s Cocoa + libraries for Mac OS X, allowing you to write desktop applications + with ease. * [IronRuby][ironruby] is an implementation “tightly integrated with the .NET Framework”. * [MagLev][maglev] is “a fast, stable, Ruby implementation with integrated @@ -206,6 +208,8 @@ Here’s a list: * [Cardinal][cardinal] is a “Ruby compiler for [Parrot][parrot] Virtual Machine” (Perl 6). +For a more complete list, see [Awesome Rubies][awesome-rubies]. + ### References 1 Matz, speaking on the Ruby-Talk mailing list, [May 12th, @@ -230,9 +234,11 @@ Here’s a list: [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us +[truffleruby]: https://github.com/oracle/truffleruby [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org +[awesome-rubies]: https://github.com/planetruby/awesome-rubies From 1de0dc9cbb6b1db8464132ceb14b9d4c5622f0d3 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Tue, 28 Aug 2018 12:37:05 +0900 Subject: [PATCH 0176/2563] update bundles --- Gemfile.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index fb1086f2ab..ac90c25fa9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,13 +9,13 @@ GEM em-websocket (0.5.1) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) - eventmachine (1.2.5) - ffi (1.9.23) + eventmachine (1.2.7) + ffi (1.9.25) forwardable-extended (2.6.0) http_parser.rb (0.6.0) i18n (0.9.5) concurrent-ruby (~> 1.0) - jekyll (3.7.3) + jekyll (3.8.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -34,7 +34,7 @@ GEM listen (~> 3.0) json (2.1.0) kgio (2.11.2) - kramdown (1.16.2) + kramdown (1.17.0) lanyon (0.4.0) jekyll (>= 2.0, < 4.0) rack (>= 1.6, < 3.0) @@ -45,14 +45,14 @@ GEM ruby_dep (~> 1.2) mercenary (0.3.6) mini_portile2 (2.3.0) - nokogiri (1.8.2) + nokogiri (1.8.4) mini_portile2 (~> 2.3.0) paint (1.0.1) pathutil (0.16.1) forwardable-extended (~> 2.6) - public_suffix (3.0.2) - rack (2.0.4) - rack-protection (2.0.1) + public_suffix (3.0.3) + rack (2.0.5) + rack-protection (2.0.3) rack rack-rewrite (1.5.1) rack-ssl (1.4.1) @@ -65,7 +65,7 @@ GEM rouge (1.11.1) ruby_dep (1.5.0) safe_yaml (1.0.4) - sass (3.5.6) + sass (3.5.7) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) @@ -75,7 +75,7 @@ GEM nokogiri (~> 1.3) tidy_ffi (0.1.6) ffi (~> 1.2) - unicorn (5.4.0) + unicorn (5.4.1) kgio (~> 2.6) raindrops (~> 0.7) validate-website (1.8.1) @@ -85,7 +85,7 @@ GEM spidr (~> 0.6) tidy_ffi (~> 0.1) w3c_validators (~> 1.3) - w3c_validators (1.3.3) + w3c_validators (1.3.4) json (>= 1.8) nokogiri (~> 1.6) @@ -108,4 +108,4 @@ RUBY VERSION ruby 2.5.1p57 BUNDLED WITH - 1.16.1 + 1.16.4 From 1ee1801c4c44118af207066428b11c49f4d59709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Fri, 31 Aug 2018 21:58:51 -0500 Subject: [PATCH 0177/2563] Translation 2017-12-25-ruby-2-5-0-released.md (es) (#1823) --- .../_posts/2017-12-25-ruby-2-5-0-released.md | 139 ++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 es/news/_posts/2017-12-25-ruby-2-5-0-released.md diff --git a/es/news/_posts/2017-12-25-ruby-2-5-0-released.md b/es/news/_posts/2017-12-25-ruby-2-5-0-released.md new file mode 100644 index 0000000000..1167f8f507 --- /dev/null +++ b/es/news/_posts/2017-12-25-ruby-2-5-0-released.md @@ -0,0 +1,139 @@ +--- +layout: news_post +title: "Ruby 2.5.0 Publicado" +author: "naruse" +translator: "vtamara" +date: 2017-12-25 00:00:00 +0000 +lang: es +--- + +Nos complace anunciar la publicación de Ruby 2.5.0. + +Ruby 2.5.0 es la primera versión estable de la serie 2.5 de Ruby. +Introduce muchas características nuevas y mejoras en desempeño. +Los cambios más notables son los siguientes: + +## Nuevas características + +* El uso de `rescue`/`else`/`ensure` ahora es permitido directamente + dentro de bloques `do`/`end`. + [[Característica #12906]](https://bugs.ruby-lang.org/issues/12906) +* Agregada `yield_self` para ceder al bloque dado su contexto. + A diferencia de `tap`, retorna el resultado del bloque. + [[Característica #6721]](https://bugs.ruby-lang.org/issues/6721) +* Soporta medición de cobertura de ramas y de cobertura de métodos. + La cobertura de ramas indica que ramas se ejecutan y cuales no. + La cobertura de métodos indica que métodos son llamados y cuales no. + Al ejecutar un conjunto de pruebas con estas nuevas características, sabrá + que ramas y que métodos se ejecutan, y evaluará la cobertura total del + conjunto de pruebas de manera más rigurosa. + [[Característica #13901]](https://bugs.ruby-lang.org/issues/13901) +* Hash#slice [[Característica #8499]](https://bugs.ruby-lang.org/issues/8499) + y Hash#transform_keys [[Característica #13583]](https://bugs.ruby-lang.org/issues/13583) +* Struct.new puede crear clases que aceptan argumentos con palabra clave. + [[Característica #11925]](https://bugs.ruby-lang.org/issues/11925) +* Enumerable#any?, all?, none?, y one? aceptan un patrón como argumento. + [[Característica #11286]](https://bugs.ruby-lang.org/issues/11286) +* Se ha eliminado la búsqueda de constantes en el nivel superior + cuando no se encuentran en una clase. + [[Característica #11547]](https://bugs.ruby-lang.org/issues/11547) +* Una de sus librerías más amadas, `pp.rb`, ahora se carga automaticamente. + Ya no necesita escribir `require "pp"`. + [[Característica #14123]](https://bugs.ruby-lang.org/issues/14123) +* Impresión de la trazas y del mensaje de error en orden inverso (las llamadas + más antiguas primero, las más recientes al final). Cuando aparece una + traza larga en su terminal (TTY), puede encontrar facilmente la línea + causante al final de la traza. Note que el orden se invierte sólo cuando + la traza se imprime directamente en la terminal. + [[Característica #8661]](https://bugs.ruby-lang.org/issues/8661) [experimental] + +## Mejoras en desempeño + +* Mejora del 5 al 10% en desempeño al eliminar todas las instrucciones `trace` + del bytecode general (secuencias de instrucciones). + La instrucción `trace` se añadió para dar soporte a `TracePoint`. + Sin embargo, en la mayoría de casos, `TracePoint` no se usa y las + instrucciones `trace` son gasto puro. En cambio, ahora usamos una técnica + de instrumentación dinámica. + Ver detalles en la [[Características #14104]](https://bugs.ruby-lang.org/issues/14104). +* Pasar un bloque por un parámetro de bloque (e.g. `def foo(&b); bar(&b); end`) + es cerca de 3 veces más rápido que en Ruby 2.4 por la técnica de + "localización diferida de Proc" + [[Característica #14045]](https://bugs.ruby-lang.org/issues/14045) +* Se reescribió Mutex para disminuir su tamaño y aumentar su rapidez. + [[Característica #13517]](https://bugs.ruby-lang.org/issues/13517) +* ERB ahora genera el código de una plantilla dos veces más rápido que + en Ruby 2.4. +* Mejorado el desempeño de algunos métodos incorporados incluyendo + `Array#concat`, `Enumerable#sort_by`, `String#concat`, `String#index`, + `Time#+` y más. +* IO.copy_stream usa copy_file_range(2) para copiar con la opción offload + en Linux (es decir sin leer ni escribir el contenido sino añadiendo + una referencia cuando el sistema de archivos lo permite). + [[Característica #13867]](https://bugs.ruby-lang.org/issues/13867) + +## Otros cambios notables desde la versión 2.4 + +* SecureRandom ahora prefiere fuentes proveidas por el sistema operativo + en lugar de OpenSSL. + [[Falla #9569]](https://bugs.ruby-lang.org/issues/9569) +* Promovidas cmath, csv, date, dbm, etc, fcntl, fiddle, fileutils, gdbm, ipaddr, + scanf, sdbm, stringio, strscan, webrick, zlib de la librería estándar + a gemas por omisión. +* Actualización a [Onigmo](https://github.com/k-takata/Onigmo/) 6.1.3. + * Añade el [operador ausente](https://github.com/k-takata/Onigmo/issues/87). + * Note que [Ruby 2.4.1](https://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/) también incluye este cambio. +* Actualización a Psych 3.0.2. +* Actualización a RubyGems 2.7.3. +* Actualización a RDoc 6.0.1. + * [Cambia el analizador léxico de IRB por uno basado en Ripper](https://github.com/ruby/rdoc/pull/512). + Esto mejora considerablemente la velocidad de generación de la + documentación. + * Resueltas muchas fallas de los últimos diez años. + * Soporta la nueva sintaxis de las versiones más recientes de Ruby. +* Actualizada versión soportada de Unicode a 10.0.0. +* `Thread.report_on_exception` ahora queda en `true` por omisión. + Este cambio ayuda a depurar programas de multiples hilos. + [[Característica #14143]](https://bugs.ruby-lang.org/issues/14143) +* IO#write ahora recibe múltiples argumentos. + [[Característica #9323]](https://bugs.ruby-lang.org/issues/9323) + +Ver detalles en [NEWS](https://github.com/ruby/ruby/blob/v2_5_0/NEWS) +o en la [bitácora de commits](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0). + +Con esos cambios, +[6158 archivos cambiaron, 348484 inserciones (+), 82747 eliminaciones(-)](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0) +desde Ruby 2.4.0! + +¡Feliz navidad, felices festividades y disfrute programando con Ruby 2.5! + + +## Descargas + +* + + SIZE: 15834941 bytes + SHA1: 58f77301c891c1c4a08f301861c26b1ea46509f6 + SHA256: 46e6f3630f1888eb653b15fa811d77b5b1df6fd7a3af436b343cfe4f4503f2ab + SHA512: 0712fe68611f5d0cd6dd54b814f825478e64b6a62bdf67bce431f4dca2dc00b1a33f77bebfbcd0a151118a1152554ab457decde435b424aa1f004bc0aa40580d + +* + + SIZE: 19495617 bytes + SHA1: 700b6f55d689a5c8051c8c292b9e77a1b50bf96e + SHA256: 94559ea6e3c619423da604e503ce1dc1c465d6e0747a07fbdc5f294acaf14c24 + SHA512: e4324064cee8c65b80192e3eff287e915d2d40464d300744c36fb326ae4b1846911400a99d4332192d8a217009d3a5209b43eb5e8bc0b739035bef89cc493e84 + +* + + SIZE: 13955820 bytes + SHA1: 827b9a3bcffa86d1fc9ed96d403cb9dc37731688 + SHA256: d87eb3021f71d4f62e5a5329628ac9a6665902173296e551667edd94362325cc + SHA512: 8f6fdf6708e7470f55bc009db2567cd8d4e633ad0678d83a015441ecf5b5d88bd7da8fb8533a42157ff83b74d00b6dc617d39bbb17fc2c6c12287a1d8eaa0f2c + +* + + SIZE: 11292472 bytes + SHA1: 9c7babcf9e299be3f197d9091024ae458f1a1273 + SHA256: 1da0afed833a0dab94075221a615c14487b05d0c407f991c8080d576d985b49b + SHA512: 55714a33d7661fe8b432f73c34fd67b49699f8b79df1cbd680a74899124d31111ab0f444677672aac1ba725820182940d485efb2db0bf2bc96737c5d40c54578 From ec4db2b137d047c51674c525121c3dc55a80cc10 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Fri, 31 Aug 2018 20:06:35 +0700 Subject: [PATCH 0178/2563] Add TruffleRuby to the list of Ruby implementations (id) --- id/about/index.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/id/about/index.md b/id/about/index.md index f245c9ed84..992556b7bf 100644 --- a/id/about/index.md +++ b/id/about/index.md @@ -211,11 +211,13 @@ Berikut ini daftarnya: * [Rubinius][rubinius] adalah ‘Ruby written in Ruby’. Dibuat di atas LLVM, Rubinius memakai sebuah *virtual machine* yang bagus yang bahasa lainnya sedang dibuat di atasnya, juga. +* [TruffleRuby][truffleruby] adalah sebuah implementasi Ruby di atas GraalVM + yang memiliki performa tinggi. +* [mruby][mruby] adalah sebuah implementasi *lightweight* dari bahasa Ruby + yang dapat dihubungkan dan ditanamkan dengan sebuah aplikasi. * [MacRuby][macruby] adalah Ruby yang sangat terintegrasi erat dengan pustaka Apple Cocoa untuk Mac OS X, memperbolehkan Anda untuk memprogram aplikasi *desktop* dengan mudah. -* [mruby][mruby] adalah sebuah implementasi *lightweight* dari bahasa Ruby - yang dapat dihubungkan dan ditanamkan dengan sebuah aplikasi. * [IronRuby][ironruby] adalah sebuah implementasi “tightly integrated with the .NET Framework”. * [MagLev][maglev] adalah “a fast, stable, Ruby implementation with integrated @@ -223,6 +225,8 @@ Berikut ini daftarnya: * [Cardinal][cardinal] adalah “Ruby compiler for [Parrot][parrot] Virtual Machine” (Perl 6). +Untuk daftar lebih lengkapnya, lihat [Awesome Rubies][awesome-rubies]. + ### Referensi 1 Matz, berbicara di milis Ruby-Talk, [12 Mei 2000][blade]. @@ -248,9 +252,11 @@ di Ruby, dalam Bahasa Inggris), 22 Desember 2003. [sigil]: http://en.wikipedia.org/wiki/Sigil_%28computer_programming%29 [jruby]: http://jruby.org [rubinius]: http://rubini.us +[truffleruby]: https://github.com/oracle/truffleruby [macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal [parrot]: http://parrot.org +[awesome-rubies]: https://github.com/planetruby/awesome-rubies From 953abd47c8e64fa02410849e9bd5d1264d4dc612 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Wed, 19 Sep 2018 11:32:47 +0800 Subject: [PATCH 0179/2563] Fix Ruby China links --- en/downloads/mirrors/index.md | 2 +- zh_cn/community/index.md | 2 +- zh_cn/news/_posts/2011-12-29-ruby-china.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en/downloads/mirrors/index.md b/en/downloads/mirrors/index.md index 4e05a30644..ce7ec1d2ea 100644 --- a/en/downloads/mirrors/index.md +++ b/en/downloads/mirrors/index.md @@ -48,7 +48,7 @@ Please try to use a mirror that is near you. [mirror-http-nl]: http://www.xs4all.nl/~hipster/lib/mirror/ruby/ [mirror-http-at]: http://gd.tuwien.ac.at/languages/ruby/ [mirror-http-cn1]: https://ruby.taobao.org/mirrors/ruby/ -[mirror-http-cn2]: https://cache.ruby-china.org/pub/ruby/ +[mirror-http-cn2]: https://cache.ruby-china.com/pub/ruby/ [mirror-ftp-jp-ring-shibaura-it]: ftp://ring.shibaura-it.ac.jp/pub/lang/ruby/ [mirror-ftp-jp-ring-u-toyama]: ftp://ring.u-toyama.ac.jp/pub/lang/ruby/ [mirror-ftp-jp-ring-airnet]: ftp://ring.airnet.ne.jp/pub/lang/ruby/ diff --git a/zh_cn/community/index.md b/zh_cn/community/index.md index 3fb0e53c6b..3e9c9850b5 100644 --- a/zh_cn/community/index.md +++ b/zh_cn/community/index.md @@ -41,4 +41,4 @@ Ruby 的一般信息 [3]: http://rubycentral.org/ [4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ [5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ -[ruby-china]: http://ruby-china.org +[ruby-china]: https://ruby-china.org diff --git a/zh_cn/news/_posts/2011-12-29-ruby-china.md b/zh_cn/news/_posts/2011-12-29-ruby-china.md index 39a27eb160..3567e507f5 100644 --- a/zh_cn/news/_posts/2011-12-29-ruby-china.md +++ b/zh_cn/news/_posts/2011-12-29-ruby-china.md @@ -26,5 +26,5 @@ GitHub 项目地址: -[1]: http://www.ruby-china.org -[2]: http://github.com/huacnlee/ruby-china +[1]: https://ruby-china.org +[2]: https://github.com/ruby-china/homeland From 57bc8a793f0746e09ea06e72b12d23d009370b9b Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sat, 29 Sep 2018 17:56:51 +0900 Subject: [PATCH 0180/2563] Remove broken links Fixes #1831. --- en/documentation/index.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 26ba207496..7bd03f948b 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -38,15 +38,6 @@ of getting Ruby. Ruby. The goal is to learn the Ruby language, syntax, structure, and some common functions and libraries. We also teach you culture. -[RubyMonk][3] -: Discover Ruby idioms, learn lessons and solve problems, all in your - browser! - -[Hackety Hack][4] -: The little coder’s starter kit. - A fun and easy way to learn about programming (through Ruby) using the - Shoes GUI Toolkit. - [Why’s (Poignant) Guide to Ruby][5] : An unconventional but interesting book that will teach you Ruby through stories, wit, and comics. Originally created by *why the lucky @@ -169,8 +160,6 @@ If you have questions about Ruby the [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials From 43e0635477a7f52b17bcd66f67025de9700effbc Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 17 Sep 2018 21:22:45 +0700 Subject: [PATCH 0181/2563] Update about page (id) --- id/about/index.md | 112 +++++++++++++++++++++++----------------------- 1 file changed, 55 insertions(+), 57 deletions(-) diff --git a/id/about/index.md b/id/about/index.md index 992556b7bf..67feebf202 100644 --- a/id/about/index.md +++ b/id/about/index.md @@ -11,9 +11,9 @@ praktis dan mudah. Apa lagi? ### Idealisme Pencipta Ruby -Ruby merupakan bahasa yang seimbang. Pencipta Ruby, [Yukihiro “Matz” +Ruby merupakan sebuah bahasa yang seimbang. Pencipta Ruby, [Yukihiro “Matz” Matsumoto][matz], menggabungkan bagian-bagian dari bahasa-bahasa favorit -beliau (Perl, Smalltalk, Eiffel, Ada dan Lisp) untuk membentuk bahasa +beliau (Perl, Smalltalk, Eiffel, Ada dan Lisp) untuk membentuk sebuah bahasa baru yang seimbang antara pemrograman fungsional dengan pemrograman imperatif. @@ -35,49 +35,48 @@ pengguna Ruby yang aktif di banyak kota-kota di seluruh dunia dan konferensi-konferensi beserta pertemuan Ruby terkait. Ruby-Talk, [milis](/id/community/mailing-lists/) utama untuk diskusi -Ruby (dalam bahasa Inggris) telah mencapai kisaran 200 email setiap -hari. - -[TIOBE index][tiobe], yang menghitung perkembangan bahasa-bahasa pemrograman, -menempatkan Ruby pada peringkat ke 10 diantara bahasa-bahasa pemrograman -di seluruh dunia. Melihat pada perkembangan ini, mereka memperkirakan, -“Kesempatan Ruby memasuki peringkat atas 10 besar adalah dalam waktu -setengah tahun.” Kebanyakan dari perkembangan Ruby beratribut pada -terkenalnya software yang ditulis dengan Ruby, terutama framework web +Ruby (dalam bahasa Inggris), telah mencapai kisaran 200 email setiap +hari pada tahun 2006. Namun, telah menurun di beberapa tahun terakhir +karena ukuran diskusi komunitas dari satu tempat terpusat menjadi banyak +kelompok-kelompok lebih kecil. + +Ruby berada di peringkat 10 teratas pada indeks yang menghitung +perkembangan dan popularitas bahasa-bahasa pemrograman di seluruh dunia +(seperti [TIOBE index][tiobe]). Kebanyakan dari perkembangan Ruby beratribut +pada terkenalnya *software* yang ditulis dengan Ruby, terutama *web framework* [Ruby on Rails][ror]. Ruby juga [sepenuhnya bebas]({{ site.license.url }}). Tidak hanya gratis, -tetapi juga bebas untuk menggunakan, memodifikasi dan mendistribusikan -Ruby. +tetapi juga bebas untuk digunakan, dimodifikasi dan didistribusikan. -### Melihat Semua sebagai Obyek +### Melihat Semua sebagai Sebuah Objek Pertama kali, Matz melihat bahasa-bahasa lain untuk mencari sintaks yang -ideal. Terkenang pencariannya, Matz berkata, “Saya mau bahasa scripting -yang lebih hebat daripada Perl dan lebih berorientasi obyek daripada +ideal. Terkenang pencariannya, Matz berkata, “Saya mau bahasa *scripting* +yang lebih hebat daripada Perl dan lebih berorientasi objek daripada Python[2](#fn2).” -Di Ruby, semua adalah obyek. Setiap informasi dan kode bisa diberi -property dan action. Pemrograman berorientasi obyek memanggil property -dengan nama *variabel instan* dan action, yang disebut sebagai *metode*. -Pendekatan murni berorientasi obyek terutama terlihat pada demonstrasi -sedikit kode yang diberikan pada number. +Di Ruby, semua adalah sebuah objek. Setiap informasi dan kode bisa diberi +*property* dan *action*. Pemrograman berorientasi objek memanggil *property* +dengan nama *variabel instan* dan *action*, yang disebut sebagai *metode*. +Pendekatan murni berorientasi objek terutama terlihat pada demonstrasi +sedikit kode yang diberikan pada sebuah *number*. {% highlight ruby %} 5.times { print "Kami *cinta* Ruby -- Ruby sungguh aduhai!" } {% endhighlight %} -Di banyak bahasa-bahasa lain, number dan tipe primitif bukan obyek. Ruby +Di banyak bahasa-bahasa lain, *number* dan tipe primitif bukan objek. Ruby mengikuti pengaruh bahasa Smalltalk dengan memberikan metode dan variabel instan pada semua tipe. Ini memudahkan menggunakan Ruby, karena -peraturan-peraturan mengenai obyek semua berlaku pada Ruby. +peraturan-peraturan mengenai objek semua berlaku pada Ruby. -### Ruby Fleksibel +### Fleksibilitas Ruby -Ruby dianggap sebagai bahasa yang fleksibel, karena bagian-bagian dari -Ruby bisa diubah-ubah dengan bebas. Bagian-bagian yang esensi di Ruby +Ruby dianggap sebagai sebuah bahasa yang fleksibel, karena bagian-bagian +dari Ruby bisa diubah-ubah dengan bebas. Bagian-bagian penting di Ruby bisa dihapus maupun didefinisikan ulang. Bagian-bagian yang sudah ada -bisa ditambahkan. Ruby mencoba untuk tidak membatasi programmer. +bisa ditambahkan. Ruby mencoba untuk tidak membatasi *programmer*. Misalnya, penambahan dilakukan dengan operator plus (`+`). Tetapi, jika Anda ingin menggunakan kata `plus` yang lebih mudah dibaca, maka Anda @@ -97,12 +96,12 @@ y = 5.plus 6 Demi kemudahan, operator-operator Ruby adalah juga metode. Anda juga bisa mendefinisikan ulang operator. -### Blok, Fitur yang sungguh Ekspresif +### Blok: Sebuah Fitur yang sungguh Ekspresif Blok Ruby juga dianggap sebagai sumber kekuatan Ruby yang sangat -fleksibel. Programmer dapat menyertakan closure pada setiap metode, +fleksibel. *Programmer* dapat menyertakan *closure* pada setiap metode, menjelaskan bagaimana metode yang bersangkutan seharusnya berperilaku. -Closure disebut *blok* dan telah menjadi satu diantara banyak +*Closure* disebut *blok* dan telah menjadi satu diantara banyak fitur-fitur Ruby yang paling populer pada banyak pendatang baru Ruby dari bahasa-bahasa imperatif lain seperti PHP atau Visual Basic. @@ -119,20 +118,20 @@ search_engines = Pada kode diatas, blok dijelaskan dalam bentuk `do ... end`. Metode `map` memberlakukan blok agar menerima array kata-kata (Google, Yahoo dan MSN). Banyak metode-metode lain di Ruby dibiarkan mempunyai hole -yang dibuka untuk programmer agar menulis blok mereka sendiri untuk +yang dibuka untuk *programmer* agar menulis blok mereka sendiri untuk mengisi dengan lebih lengkap apa saja yang seharusnya sebuah metode lakukan. ### Ruby dan Mixin -Tidak seperti banyak bahasa-bahasa berorientasi obyek lain, Ruby hanya -menyediakan single inheritance **dengan sengaja**. Tetapi Ruby -mengetahui konsep module (disebut sebagai Categories di Objective-C). -Module merupakan kumpulan dari metode-metode. +Tidak seperti banyak bahasa-bahasa berorientasi objek lain, Ruby hanya +menyediakan *single inheritance* **dengan sengaja**. Tetapi Ruby +mengetahui konsep *module* (disebut sebagai Categories di Objective-C). +*Module* merupakan kumpulan dari metode-metode. -Kelas dapat me-mixin (menggabungkan) sebuah module dan menerima semua -metode-metode (dari module yang bersangkutan) dengan bebas. Contoh, -setiap kelas yang mengimplementasikan metode `each` bisa mixin module +Kelas dapat me-*mixin* (menggabungkan) sebuah *module* dan menerima semua +metode-metode (dari *module* yang bersangkutan) dengan bebas. Contoh, +setiap kelas yang mengimplementasikan metode `each` bisa *mixin module* `Enumerable`, yang menambahkan banyak metode-metode yang menggunakan `each` untuk melakukan perulangan. @@ -144,17 +143,16 @@ end Secara umum, Rubyist menganggap ini sebagai cara yang lebih -jelas ketimbang multiple inheritance, yang rumit dan bahkan terlalu +jelas ketimbang *multiple inheritance*, yang rumit dan bahkan terlalu membatasi. ### Tampilan Ruby secara Visual Ruby jarang menggunakan tanda baca dan biasanya cenderung menggunakan -keyword berbahasa Inggris, biasanya beberapa tanda baca digunakan untuk -memperjelas kode Ruby - -Ruby tidak perlu deklarasi variabel. Ruby menggunakan aturan penamaan -yang mudah untuk menyatakan scope suatu variabel. +kata kunci berbahasa Inggris, beberapa tanda baca digunakan untuk +memperjelas kode Ruby. Ruby tidak perlu deklarasi variabel. Ruby +menggunakan aturan penamaan yang mudah untuk menyatakan *scope* +dari variabel-variabel. * `var` adalah variabel lokal. * `@var` adalah variabel instan. @@ -169,27 +167,27 @@ digunakan pada setiap member instan `self.` Ruby kaya fitur, antara lain sebagai berikut: -* Ruby memiliki fitur-fitur yang menangani exception, seperti Java atau - Python, untuk mempermudah menangani error. +* Ruby memiliki fitur-fitur yang menangani *exception*, seperti Java atau + Python, untuk mempermudah menangani *error*. -* Ruby menyediakan mark-and-sweep garbage collector untuk semua obyek - Ruby. Tidak perlu me-maintain reference count pada library extension. +* Ruby menyediakan *mark-and-sweep garbage collector* untuk semua objek + Ruby. Tidak perlu me-*maintain reference count* pada *extension*. Seperti yang Matz katakan, “Ini lebih baik untuk kesehatan Anda.” -* Menulis extension C di Ruby lebih mudah daripada di Perl ataupun di +* Menulis *extension* C di Ruby lebih mudah daripada di Perl ataupun di Python, dengan API yang elegan untuk memanggil Ruby dari C. Ini - termasuk memanggil Ruby embedded di software, untuk digunakan sebagai - bahasa scripting. Interface SWIG juga tersedia. + termasuk memanggil Ruby *embedded* di *software*, untuk digunakan sebagai + bahasa *scripting*. *Interface* SWIG juga tersedia. -* Ruby bisa load library extension secara dinamis jika Sistem Operasi - mengijinkan. +* Ruby bisa memuat *extension library* secara dinamis jika sistem operasi + mengizinkan. -* Ruby menyediakan fitur OS threading yang independent. Maka, untuk - semua platform dimana Ruby berjalan, Anda juga punya multithreading, - terlepas dari apakah Sistem Operasi mendukung multithreading atau +* Ruby menyediakan fitur OS *threading* yang independen. Maka, untuk + semua *platform* dimana Ruby berjalan, Anda juga punya *multithreading*, + terlepas dari apakah sistem operasi mendukung *multithreading* atau tidak, bahkan pada MS-DOS sekalipun! -* Ruby sangat portable: Ruby kebanyakan dikembangkan di GNU/Linux, +* Ruby sangat *portable*: Ruby kebanyakan dikembangkan di GNU/Linux, tetapi juga berjalan di banyak tipe UNIX, Mac OS X, Windows, DOS, BeOS, OS/2, dan lain-lain. From 2e72a20972e8f98aedbce1f538bdef12084f90cb Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 24 Sep 2018 20:33:27 +0700 Subject: [PATCH 0182/2563] Use "menjaga" instead of "me-maintain" --- id/about/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id/about/index.md b/id/about/index.md index 67feebf202..62e433fd13 100644 --- a/id/about/index.md +++ b/id/about/index.md @@ -171,7 +171,7 @@ Ruby kaya fitur, antara lain sebagai berikut: Python, untuk mempermudah menangani *error*. * Ruby menyediakan *mark-and-sweep garbage collector* untuk semua objek - Ruby. Tidak perlu me-*maintain reference count* pada *extension*. + Ruby. Tidak perlu menjaga *reference count* pada *extension*. Seperti yang Matz katakan, “Ini lebih baik untuk kesehatan Anda.” * Menulis *extension* C di Ruby lebih mudah daripada di Perl ataupun di From e3979449977003bc0003ecb0dc845ce1f0edeb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Campos?= Date: Fri, 20 Jul 2018 14:15:46 -0300 Subject: [PATCH 0183/2563] Translate 2001 posts (pt) --- .../2001-01-18-stable-snapshot-is-available.md | 13 +++++++++++++ .../_posts/2001-04-19-ruby-pocket-reference.md | 13 +++++++++++++ pt/news/_posts/2001-06-20-ruby-garden.md | 13 +++++++++++++ ...001-07-10-removed-language-comparison-page.md | 16 ++++++++++++++++ .../2001-07-13-ruby-introduction-presentation.md | 14 ++++++++++++++ 5 files changed, 69 insertions(+) create mode 100644 pt/news/_posts/2001-01-18-stable-snapshot-is-available.md create mode 100644 pt/news/_posts/2001-04-19-ruby-pocket-reference.md create mode 100644 pt/news/_posts/2001-06-20-ruby-garden.md create mode 100644 pt/news/_posts/2001-07-10-removed-language-comparison-page.md create mode 100644 pt/news/_posts/2001-07-13-ruby-introduction-presentation.md diff --git a/pt/news/_posts/2001-01-18-stable-snapshot-is-available.md b/pt/news/_posts/2001-01-18-stable-snapshot-is-available.md new file mode 100644 index 0000000000..f740ba4040 --- /dev/null +++ b/pt/news/_posts/2001-01-18-stable-snapshot-is-available.md @@ -0,0 +1,13 @@ +--- +layout: news_post +title: "Snapshot estável está disponível" +author: "Matz" +translator: "jcserracampos" +lang: pt +--- + +[Snapshot estável][1] está disponível. Este é um arquivo compactado (tar e zip) da +última __CVS__ estável. Esta versão deve estar melhor do que a última. + + +[1]: https://cache.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz diff --git a/pt/news/_posts/2001-04-19-ruby-pocket-reference.md b/pt/news/_posts/2001-04-19-ruby-pocket-reference.md new file mode 100644 index 0000000000..aacdb3d0d1 --- /dev/null +++ b/pt/news/_posts/2001-04-19-ruby-pocket-reference.md @@ -0,0 +1,13 @@ +--- +layout: news_post +title: "Ruby Pocket Reference" +author: "Matz" +translator: "jcserracampos" +lang: pt +--- + +O’Reilly finalmente decidiu publicar traduções de __Ruby Pocket Reference__. +Será um [livro entitulado “Ruby in a Nutshell”][1]. + + +[1]: http://www.ora.com/catalog/ruby diff --git a/pt/news/_posts/2001-06-20-ruby-garden.md b/pt/news/_posts/2001-06-20-ruby-garden.md new file mode 100644 index 0000000000..8bdc4ce75b --- /dev/null +++ b/pt/news/_posts/2001-06-20-ruby-garden.md @@ -0,0 +1,13 @@ +--- +layout: news_post +title: "Ruby Garden" +author: "Matz" +translator: "jcserracampos" +lang: pt +--- + +[Ruby Garden][1] – Portal de notícias para Ruby. + + + +[1]: http://www.rubygarden.org/ diff --git a/pt/news/_posts/2001-07-10-removed-language-comparison-page.md b/pt/news/_posts/2001-07-10-removed-language-comparison-page.md new file mode 100644 index 0000000000..2f24f7149a --- /dev/null +++ b/pt/news/_posts/2001-07-10-removed-language-comparison-page.md @@ -0,0 +1,16 @@ +--- +layout: news_post +title: "Removida a página de comparação de linguagens" +author: "NaHi" +translator: "jcserracampos" +lang: pt +--- + +Matz decidiu remover esta página. + + + + + "Eu removi o link para a página de comparação de linguagens + porque existem muitas pessoas que levam isto muito a sério. + Era para ser divertido." diff --git a/pt/news/_posts/2001-07-13-ruby-introduction-presentation.md b/pt/news/_posts/2001-07-13-ruby-introduction-presentation.md new file mode 100644 index 0000000000..08d63c0829 --- /dev/null +++ b/pt/news/_posts/2001-07-13-ruby-introduction-presentation.md @@ -0,0 +1,14 @@ +--- +layout: news_post +title: "Apresentação introdutória de Ruby" +author: "Matz" +translator: "jcserracampos" +lang: pt +--- + +[Apresentação introdutória de Ruby no New York City CTO club][1] por Jim +Menard em 10 de julho de 2001. + + + +[1]: http://www.io.com/~jimm/downloads/rubytalk/ From 7949cbfa12ca9fe88e9ccdbe4d2695ae1d3cf8b8 Mon Sep 17 00:00:00 2001 From: Jakob Krigovsky Date: Wed, 3 Oct 2018 11:04:01 +0200 Subject: [PATCH 0184/2563] Remove MacRuby from about page (en) --- en/about/index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/en/about/index.md b/en/about/index.md index 93f7d642f6..58635d3d16 100644 --- a/en/about/index.md +++ b/en/about/index.md @@ -198,9 +198,6 @@ Here’s a list: * [mruby][mruby] is a lightweight implementation of the Ruby language that can be linked and embedded within an application. Its development is led by Ruby’s creator Yukihiro “Matz” Matsumoto. -* [MacRuby][macruby] is a Ruby that’s tightly integrated with Apple’s Cocoa - libraries for Mac OS X, allowing you to write desktop applications - with ease. * [IronRuby][ironruby] is an implementation “tightly integrated with the .NET Framework”. * [MagLev][maglev] is “a fast, stable, Ruby implementation with integrated @@ -235,7 +232,6 @@ For a more complete list, see [Awesome Rubies][awesome-rubies]. [jruby]: http://jruby.org [rubinius]: http://rubini.us [truffleruby]: https://github.com/oracle/truffleruby -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io From 6ae5e7fcdf8f3c884ce362a3c5696d615a3fd919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Campos?= Date: Tue, 2 Oct 2018 13:15:08 -0300 Subject: [PATCH 0185/2563] Translate Ruby 2.5.0-rc1 Released (pt) --- .../2017-12-14-ruby-2-5-0-rc1-released.md | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md diff --git a/pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md b/pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md new file mode 100644 index 0000000000..c8c21df93e --- /dev/null +++ b/pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md @@ -0,0 +1,90 @@ +--- +layout: news_post +title: "Lançado Ruby 2.5.0-rc1" +author: "naruse" +translator: "jcserracampos" +date: 2017-12-14 00:00:00 +0000 +lang: pt +--- + +Temos o prazer de anunciar o lançamento do Ruby 2.5.0-rc1. + +Ruby 2.5.0-rc1 é o primeiro candidato de lançamento do Ruby 2.5.0. +Esta versão introduz algumas novas funcionalidades e melhorias de performance, por exemplo: + +## Novas Funcionalidades + +* Imprime _backtrace_ e mensagens de erros em ordem reversa se STDERR está inalterado e um tty. +[Feature #8661] [experimental] + +* Pesquisa de constante de alto nível foi removida. [Feature #11547] + +* rescue/else/ensure passam a ser permitidos em blocos do/end. [Feature #12906] + +* Adiciona yield\_self. [Feature #6721] + +## Melhorias de performance + +* Instrumentação dinâmica para hooks TracePoint ao invés de usar instrução + "trace" para evitar sobrecarga. [Feature #14104] + +* Performance de passagem de bloco usando parâmetros de blocos +está aprimorado usando lazy Proc allocation. [Feature #14045] + +* Mutex está reescrito para ser menor e mais rápido. [Feature #13517] + +* SecureRandom agora prefere fontes fornecidas pelo S. O. ao invés de OpenSSL. [Bug #9569] + +## Outras mudanças notáveis desde 2.4 + +* Alteração para Onigmo 6.1.3. +Adiciona [absence operator](https://github.com/k-takata/Onigmo/issues/87). +Note que Ruby 2.4.1 também inclue esta alteração. +* Adiciona Bundler nas bibliotecas padrões. +* Alteração para RubyGems 2.7.0. +* Alteração para RDoc 6.0.0. + * Altera lexer de baseado em IRB based para um em Ripper; + isto melhora a velocidade de geração de documentação. + [https://github.com/ruby/rdoc/pull/512] + * Corrige tantos _bugs_ dos últimos doze anos ou mais. + * Suporta novas sintaxes de Ruby dos últimos anos. +* Atualiza a versão de Unicode suportada para 10.0.0. + +Veja as [novidades](https://github.com/ruby/ruby/blob/v2_5_0_rc1/NEWS) +ou histórico de commits para detalhes. + +Com essas mudanças, +[6162 arquivos modificados, 339744 inserções(+), 28699 remoções(-)](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0_rc1) +desde Ruby 2.4.0! + +Aprecie Ruby 2.5.0-rc1! + +## Download + +* + + SIZE: 31049529 bytes + SHA1: 15df7e8ff99f360a14f7747a07a3021447d65594 + SHA256: 46c11b347522de174566503d35d2b46e1529b979d292b1f7f7019cfedcd4b07f + SHA512: 41cd298e99d7a25fe5f2ec42946ae5dbc4421bb18f39350ba8a1b02e999541ec1b21b5f6ce0489b3a159f47e37d409178ba7c21c00e177b0fdb410ca6e9d6142 + +* + + SIZE: 35579788 bytes + SHA1: b7ae42eb733d4a0e3a2d135c9f8d4af043daa728 + SHA256: 9858e39fd2e7bf207cc9f8846197b11ada5f4424f433ff4df149fe3d48be8e36 + SHA512: 86c93791d312fd2175909020e448a44892740feb809a532ed706c6d850cb92722fb7ca02ecbdf7a1fbeb5b4f42f1338ce9a15b7c0a41055937bd1fdfb4be6f11 + +* + + SIZE: 29238901 bytes + SHA1: 6aad74ed3d30de63c6ff22048cd0fcbcbe123586 + SHA256: 862a8e9e52432ba383660a23d3e87af11dbc18c863a19ef6367eb8259fc47c09 + SHA512: bf0eb114097f9e505ff846f25e7556a2fb393573b4e8b773f94cf5b47998e221f3962a291db15a3cdbdf4ced5a523812937f80d95f4ee3f7b13c4e37f178d7a7 + +* + + SIZE: 26096412 bytes + SHA1: 05cacd0341b7a23cc68239c2061640643a30da38 + SHA256: a479a1bce69b2cf656821f10104dcb8b426922b56d3d6cbdf48318842fae752c + SHA512: 9f9040abf69337439a3f31b80d440d97736555b0df6533d9d34c141ce52226bc40c3f4f7e596e74b080c879e933649c17a073c893be1a304d9a883bab02e9494 From f088a9edadc8dc740458a997bbf78eaf78eb1797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Campos?= Date: Mon, 8 Oct 2018 22:36:30 -0300 Subject: [PATCH 0186/2563] Translate 2018 Fukuoka Ruby Award Competition - Entries to be judged by Matz (pt) --- .../2017-12-27-fukuoka-ruby-award-2018.md | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 pt/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md diff --git a/pt/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md b/pt/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md new file mode 100644 index 0000000000..4c6ffcc64e --- /dev/null +++ b/pt/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md @@ -0,0 +1,75 @@ +--- +layout: news_post +title: "Fukuoka Ruby Award 2018 - Inscrições serão julgadas por Matz" +author: "Fukuoka Ruby" +translator: "jcserracampos" +date: 2017-12-27 00:00:00 +0000 +lang: pt +--- + +Prezada(o) entusiasta de Ruby, + +O governo de Fukuoka, Japão, juntamente com "Matz" Matsumoto gostaria +de convidar-lhe para se inscrever na seguinte competição de Ruby. Se você desenvolveu +um programa interessante usando Ruby, sinta-se encorajada(o) a se inscrever. + +Fukuoka Ruby Award 2018 - Grande Prêmio - 1 milhão de ienes! + +Prazo de Inscrição: 31 de janeiro de 2018 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz e um grupo de painelista selecionarão os vencededores da +Fukuoka Competition. O grande prêmio da Fukuoka Competition +é 1 milhão de ienes. Vencedores anteriores incluem Rhomobile (USA) +e APEC Climate Center (Korea). + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +Programas inscritos na competição não necessariamente precisam ser escritos inteiramente +em Ruby, mas devem utilizar como vantagem alguma característica única de Ruby. + +Os projetos precisam ter sido desenvolvidos ou completados nos últimos 12 meses +para ser elegíveis. Por favor, acesse os seguintes sites de Fukuoka para mais +detalhes ou para se inscrever. + +[http://www.digitalfukuoka.jp/events/152](http://www.digitalfukuoka.jp/events/152) +ou +[http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2018-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/393/RubyAward_ApplicationForm_2018.doc) + +Por favor, encaminhe a inscrição para award@f-ruby.com. + +Neste ano, haverão os seguintes prêmios especiais: + +O vencedor do AWS Prize receberá: + +* Amazon Fire Tablet (sujeito a alteração) +* Consultoria técnica sobre arquitetura AWS + +O vencedor do GMO Pepabo Prize receberá: + +* Lolipop! serviço de hospedagem compartilhado: assinatura gratuita por 10 anos do plano + Standard ou um cupom de ¥100.000 para o plano fracionado de Managed Cloud. +* Serviço de registro Muumuu Domain DNS: Assinatura gratuita por 10 anos de um + domínio (para um domínio que custa ¥10.000 ou menos por ano). + +O vencedor do IIJ GIO Prize receberá: + +* Mais detalhes serão anunciados em breve. + +O vencedor do Money Forward Prize receberá: + +* Jantar com Ruby _commiters_ de Money Forward. +* Um cupom gratuito de 10 anos dos serviços premium de nosso serviço + de gerenciamento financeiro pessoal "Money Forward". + +O vencedor do Salesforce Prize receberá: + +* Brindes de salesforce.com + +"Matz testará e revisará seu código fonte completamente, +então é muito significativo se inscrever! A inscrição da competição é gratuita." + +Obrigado! From 22e8367b2402770eb7a629d55bab7f614208035f Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 14 Oct 2018 21:47:42 +0200 Subject: [PATCH 0187/2563] Fix markdown style (pt) --- pt/news/_posts/2001-01-18-stable-snapshot-is-available.md | 2 +- pt/news/_posts/2001-04-19-ruby-pocket-reference.md | 2 +- pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pt/news/_posts/2001-01-18-stable-snapshot-is-available.md b/pt/news/_posts/2001-01-18-stable-snapshot-is-available.md index f740ba4040..f5b16f669e 100644 --- a/pt/news/_posts/2001-01-18-stable-snapshot-is-available.md +++ b/pt/news/_posts/2001-01-18-stable-snapshot-is-available.md @@ -7,7 +7,7 @@ lang: pt --- [Snapshot estável][1] está disponível. Este é um arquivo compactado (tar e zip) da -última __CVS__ estável. Esta versão deve estar melhor do que a última. +última **CVS** estável. Esta versão deve estar melhor do que a última. [1]: https://cache.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz diff --git a/pt/news/_posts/2001-04-19-ruby-pocket-reference.md b/pt/news/_posts/2001-04-19-ruby-pocket-reference.md index aacdb3d0d1..3ecbf69faf 100644 --- a/pt/news/_posts/2001-04-19-ruby-pocket-reference.md +++ b/pt/news/_posts/2001-04-19-ruby-pocket-reference.md @@ -6,7 +6,7 @@ translator: "jcserracampos" lang: pt --- -O’Reilly finalmente decidiu publicar traduções de __Ruby Pocket Reference__. +O’Reilly finalmente decidiu publicar traduções de **Ruby Pocket Reference**. Será um [livro entitulado “Ruby in a Nutshell”][1]. diff --git a/pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md b/pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md index c8c21df93e..23f1bf2cec 100644 --- a/pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md +++ b/pt/news/_posts/2017-12-14-ruby-2-5-0-rc1-released.md @@ -15,7 +15,7 @@ Esta versão introduz algumas novas funcionalidades e melhorias de performance, ## Novas Funcionalidades * Imprime _backtrace_ e mensagens de erros em ordem reversa se STDERR está inalterado e um tty. -[Feature #8661] [experimental] + [Feature #8661] [experimental] * Pesquisa de constante de alto nível foi removida. [Feature #11547] @@ -29,7 +29,7 @@ Esta versão introduz algumas novas funcionalidades e melhorias de performance, "trace" para evitar sobrecarga. [Feature #14104] * Performance de passagem de bloco usando parâmetros de blocos -está aprimorado usando lazy Proc allocation. [Feature #14045] + está aprimorado usando lazy Proc allocation. [Feature #14045] * Mutex está reescrito para ser menor e mais rápido. [Feature #13517] @@ -38,8 +38,8 @@ está aprimorado usando lazy Proc allocation. [Feature #14045] ## Outras mudanças notáveis desde 2.4 * Alteração para Onigmo 6.1.3. -Adiciona [absence operator](https://github.com/k-takata/Onigmo/issues/87). -Note que Ruby 2.4.1 também inclue esta alteração. + Adiciona [absence operator](https://github.com/k-takata/Onigmo/issues/87). + Note que Ruby 2.4.1 também inclue esta alteração. * Adiciona Bundler nas bibliotecas padrões. * Alteração para RubyGems 2.7.0. * Alteração para RDoc 6.0.0. From 7642f76e79813269960ef10063628679f77a42cf Mon Sep 17 00:00:00 2001 From: miyohide Date: Mon, 15 Oct 2018 05:06:16 +0900 Subject: [PATCH 0188/2563] Add post about Rubima 0058 published (ja) (#1825) --- ...8-08-28-rubyist-magazine-0058-published.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ja/news/_posts/2018-08-28-rubyist-magazine-0058-published.md diff --git a/ja/news/_posts/2018-08-28-rubyist-magazine-0058-published.md b/ja/news/_posts/2018-08-28-rubyist-magazine-0058-published.md new file mode 100644 index 0000000000..70b1b6bbf0 --- /dev/null +++ b/ja/news/_posts/2018-08-28-rubyist-magazine-0058-published.md @@ -0,0 +1,24 @@ +--- +layout: news_post +title: "Rubyist Magazine 0058号 発行" +author: "miyohide" +translator: +date: 2018-08-28 21:30:00 +0000 +lang: ja +--- +[日本Rubyの会][1]有志による、ウェブ雑誌[Rubyist Magazine][2]の[0058号][3]がリリースされました([\[ruby-list:50698\]][4])。 +今号は、 + +* [巻頭言](https://magazine.rubyist.net/articles/0058/0058-ForeWord.html) +* [Rubyist Hotlinks 【第 37 回】村田賢太さん](https://magazine.rubyist.net/articles/0058/0058-Hotlinks.html) +* [RegionalRubyKaigi レポート (68) 松江 Ruby 会議 09](https://magazine.rubyist.net/articles/0058/0058-MatsueRubyKaigi09Report.html) +* [RegionalRubyKaigi レポート (69) 大阪 Ruby 会議 01](https://magazine.rubyist.net/articles/0058/0058-OsakaRubyKaigi01Report.html) +* [るびまバージョンアップの裏側](https://magazine.rubyist.net/articles/0058/0058-MigrateRubima.html) + + という構成となっています。 + お楽しみください。 + +[1]: https://ruby-no-kai.org/ +[2]: https://magazine.rubyist.net/ +[3]: https://magazine.rubyist.net/articles/0058/0058-index.html +[4]: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/50698 From 4d0311852700300679feb26de3fa60c8c97a5bdb Mon Sep 17 00:00:00 2001 From: Vagish Vela Date: Sun, 14 Oct 2018 16:15:55 -0400 Subject: [PATCH 0189/2563] Use https for rubybib.org (#1839) --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 4938d402a1..56a0be85fa 100644 --- a/_config.yml +++ b/_config.yml @@ -670,7 +670,7 @@ locales: try_ruby: &try_ruby url: https://ruby.github.io/TryRuby/ rubybib: &rubybib - url: http://rubybib.org/ + url: https://rubybib.org/ bg: get_started: From f9964646ba1f562455aa6542cd6ba3fde24ed790 Mon Sep 17 00:00:00 2001 From: Vagish Vela Date: Sun, 14 Oct 2018 16:30:43 -0400 Subject: [PATCH 0190/2563] Remove link to Omniref (#1838) Omniref.com has been shut down in Jan 2017. --- en/documentation/index.md | 6 ------ id/documentation/index.md | 6 ------ ko/documentation/index.md | 5 ----- pt/documentation/index.md | 6 ------ vi/documentation/index.md | 6 ------ zh_cn/documentation/index.md | 5 ----- zh_tw/documentation/index.md | 4 ---- 7 files changed, 38 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 7bd03f948b..5b2b837700 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -109,11 +109,6 @@ of getting Ruby. [APIdock][18] : Ruby, Rails and RSpec documentation with users’ notes. -[Omniref: Annotated Ruby, Rails, and Gem Documentation][40] -: Documentation for every version of Ruby, and every version of every - RubyGem. A comprehensive reference manual for Ruby, with code search, - source annotations, and Q&A features. - ### Editors and IDEs For coding in Ruby you can use the default editor of your operating @@ -196,5 +191,4 @@ If you have questions about Ruby the [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://www.omniref.com [atom]: https://atom.io/ diff --git a/id/documentation/index.md b/id/documentation/index.md index e59dbf616b..0d1f081687 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -115,11 +115,6 @@ mendapatkan Ruby. [APIdock][18] : Dokumentasi Ruby, Rails dan RSpec dengan catatan para pengguna. -[Omniref: Annotated Ruby, Rails, dan Gem Documentation][40] -: Dokumentasi setiap versi Ruby dan setiap versi dari setiap - RubyGem. Sebuah referensi manual Ruby yang lengkat, dengan pencarian *code*, - *source annotation*, dan fitur Q&A. - ### Editor dan IDE Untuk meng-*coding* Ruby, Anda dapat menggunakan *default editor* dari sistem operasi @@ -204,5 +199,4 @@ adalah tempat yang baik untuk memulai. [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://www.omniref.com [atom]: https://atom.io/ diff --git a/ko/documentation/index.md b/ko/documentation/index.md index ac75ce2f44..78583ddf0c 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -114,10 +114,6 @@ ruby -v [APIdock][18] (영문) : 유저의 댓글이 달린 루비, 레일즈, RSpec의 문서입니다. -[주석 달린 Ruby, Rails, Gem 문서][40] (영문) -: 모든 루비 버전과 모든 RubyGem의 모든 버전의 문서. 포괄적인 루비 레퍼런스 - 매뉴얼, 코드 검색, 소스 주석과 Q&A를 제공합니다. - ### 편집기와 IDE 루비를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습니다. 하지만, @@ -195,7 +191,6 @@ ruby -v [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://www.omniref.com [ko-1]: http://docs.google.com/View?docid=ajb44wcvmjj8_2fg33f2 [ko-2]: http://beyond.daesan.com/pages/ruby-faq [ko-3]: https://groups.google.com/forum/#!forum/rubykr diff --git a/pt/documentation/index.md b/pt/documentation/index.md index 1a62ce1370..e988aef10f 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -110,11 +110,6 @@ diversas maneiras de obter o Ruby. [APIdock][18] : Documentação do Ruby, Rails e RSpec com notas de usuários. -[Omniref: Annotated Ruby, Rails, and Gem Documentation][40] -: Documentação de todas as versões do Ruby e todas as versões de cada gem do - RubyGem. Um manual de referência completo para Ruby com pesquisa de código, - anotações, além de seção de Perguntas & Respostas. - ### Editores e IDEs Para programar em Ruby, você pode usar o editor padrão do seu sistema @@ -199,5 +194,4 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://www.omniref.com [atom]: https://atom.io/ diff --git a/vi/documentation/index.md b/vi/documentation/index.md index cce1fbe2f2..5c10926f89 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -111,11 +111,6 @@ việc cài đặt Ruby. [APIdock][18] : Tài liệu Ruby, Rails và RSpec với các ghi chú của người sử dụng. -[Omniref: Chú thích Ruby, Rails và tài liệu về Gem][40] -: Tài liệu cho mọi phiên bản của Ruby, và mọi phiên bản của mỗi Rubygem. - Một hướng dẫn tham khảo toàn diện cho Ruby, với các tính năng tìm kiếm - code, nguồn chú thích và hỏi đáp. - ### Phần mềm chỉnh sửa và các môi trường phát triển tích hợp Để lập trình trong Ruby bạn có thể sử dụng chương trình chỉnh sửa mặc định của @@ -199,5 +194,4 @@ là một nơi tuyệt vời. [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://www.omniref.com [atom]: https://atom.io/ diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index 1ce4681884..a5ae11ffa3 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -81,10 +81,6 @@ ruby -v [APIdock][18] : 带有用户评注的 Ruby、Rails 和 RSpec 文档。 -[Omniref:带有注解的 Ruby、Rails 和 gem 文档][40] -: Ruby 和 RubyGem 各个版本的文档。这是全方位的 Ruby 参考手册,支持代码搜索、源码注解和疑问解答等。 - - ### 编辑器和集成开发环境 您可以用操作系统中默认的编辑器来进行 Ruby 编程。不过,为了更高效地编程,建议选择一个支持 Ruby 基本特性(比如句法高亮,文件浏览)的代码编辑器,或者有高级特性(比如代码补全,重构,测试支持等)的集成开发环境。 @@ -160,5 +156,4 @@ ruby -v [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://www.omniref.com [atom]: https://atom.io/ diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 0751268eb2..6b2a06c8fc 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -73,9 +73,6 @@ lang: zh_tw [APIdock][18] : Ruby、Rails 與 RSpec 的文件,具有使用者的評論。 -[Omniref: 有注釋的 Ruby、Rails、以及 Gem 文件][40] -: 擁有所有 Ruby 與 RubyGem 的文件。易於理解的 Ruby 參考手冊,可以搜尋程式碼,注釋原始碼並進行問答的功能。 - ### 編輯器與整合開發環境 您可以用操作系統內建的編輯器來撰寫 Ruby。為了更有效的寫程式,值得選個 Ruby 基本特性支援良好的編輯器(如:語法高亮、檔案瀏覽)或是有更進階功能的整合開發環境(如:程式碼補全、重構、支持測試等。) @@ -151,7 +148,6 @@ lang: zh_tw [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://www.omniref.com [atom]: https://atom.io/ [rubytw]: http://ruby.tw From 3ad64fa0deb977a59d4acd6013ee7a1d180dd20d Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 15 Oct 2018 03:38:58 +0700 Subject: [PATCH 0191/2563] Remove RubyMonk and Hackety Hack links (translations) (#1841) --- bg/documentation/index.md | 10 ---------- de/documentation/index.md | 5 ----- fr/documentation/index.md | 7 ------- id/documentation/index.md | 11 ----------- it/documentation/index.md | 10 ---------- ko/documentation/index.md | 10 ---------- pl/documentation/index.md | 11 ----------- pt/documentation/index.md | 11 ----------- ru/documentation/index.md | 11 ----------- tr/documentation/index.md | 6 ------ vi/documentation/index.md | 11 ----------- zh_cn/documentation/index.md | 8 -------- zh_tw/documentation/index.md | 9 --------- 13 files changed, 120 deletions(-) diff --git a/bg/documentation/index.md b/bg/documentation/index.md index 86f33c3d45..a037f7ab5b 100644 --- a/bg/documentation/index.md +++ b/bg/documentation/index.md @@ -33,14 +33,6 @@ ruby -v : Коаните помагат с научаването на синтаксиса и структурата на Ruby, както и със запознаването с някои основни функции и библиотеки. -[RubyMonk][3] -: Научи Ruby идиоми и уроци и решавай проблеми в твоят браузър! - -[Hackety Hack][4] -: The little coder’s starter kit. - Забавен и лесен начин да се учи програмиране с Ruby чрез използването - на Shoes GUI Toolkit. - [Why’s (Poignant) Guide to Ruby][5] : Необичайна, но интересна книга, която ще ви научи на Ruby чрез истории, шеги и рисунки. Първоначално създадено от *why the lucky stiff*, @@ -144,8 +136,6 @@ ruby -v [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/de/documentation/index.md b/de/documentation/index.md index 9bb15e3181..98dd252e6c 100644 --- a/de/documentation/index.md +++ b/de/documentation/index.md @@ -16,10 +16,6 @@ Ruby-Programmieren sicher nützlich sein werden. 15-minütige Tutorial erlaubt es, Ruby-Code direkt im Browser einzugeben! (englisch) -[Hackety Hack][2] -: Ein einfacher Weg, Programmieren in Ruby mithilfe des GUI-Toolkits - Shoes zu lernen. (englisch) - [Why’s (Poignant) Guide to Ruby][3] : Ein unorthodoxes Buch um Ruby zu lernen. @@ -83,7 +79,6 @@ deutschsprachigen Artikeln. Für weitergehende Fragen steht eine große [1]: https://ruby.github.io/TryRuby/ -[2]: http://www.hackety.com/ [3]: http://mislav.uniqpath.com/poignant-guide/ [4]: http://www.moccasoft.de/papers/ruby_tutorial [5]: http://pine.fm/LearnToProgram/ diff --git a/fr/documentation/index.md b/fr/documentation/index.md index 69d471f976..9b5bfd44e2 100644 --- a/fr/documentation/index.md +++ b/fr/documentation/index.md @@ -71,12 +71,6 @@ pour les nombreuses façons d'obtenir Ruby. vous n’avez aucunes notions de programmation, commencez par là. Une traduction française est [disponible en PDF][7] -[Hackety Hack][8] -: The little coder’s starter kit. - Il s’agit d’un logiciel à vocation éducative, qui vous apprendra à - programmer en utilisant Ruby et le toolkit Shoes pour réaliser des - interfaces graphiques. - [*Learning Ruby*][9] : Un ensemble cohérent de notes introductives sur la structure et la logique qui prévalent en Ruby. Tout à fait indiqué pour se @@ -145,7 +139,6 @@ la [liste de diffusion](/en/community/mailing-lists/) est un bon endroit [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://pine.fm/LearnToProgram/ [7]: http://www.ruby-doc.org/docs/ApprendreProgrammer/Apprendre_%E0_Programmer.pdf -[8]: http://www.hackety.com/ [9]: http://rubylearning.com/ [10]: http://www.techotopia.com/index.php/Ruby_Essentials [11]: http://www.meshplex.org/wiki/Ruby/Ruby_on_Rails_programming_tutorials diff --git a/id/documentation/index.md b/id/documentation/index.md index 0d1f081687..6021d7cf4b 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -35,15 +35,6 @@ mendapatkan Ruby. Ruby. Tujuannya adalah untuk belajar bahasa Ruby, sintaks, struktur, dan beberapa fungsi umum dan library. Kami juga mengajarkan budaya Ruby. -[RubyMonk][3] -: Temukan idiom Ruby, pelajari dan pecahkan masalah Ruby, semua dalam - browser Anda! - -[Hackety Hack][4] -: Starter kit kecil untuk koder. - Ini sebuah cara menyenangkan dan mudah untuk belajar tentang - pemrograman (melalui Ruby) menggunakan Shoes GUI Toolkit. - [Why’s (Poignant) Guide to Ruby][5] : Ini sebuah buku tak konvensional tapi menarik yang akan mengajarkan Anda Ruby melalui cerita, humor cerdas, dan komik. Awalnya dibuat oleh *why the lucky @@ -161,8 +152,6 @@ adalah tempat yang baik untuk memulai. [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/it/documentation/index.md b/it/documentation/index.md index 63f786d4f8..7f022b8f8c 100644 --- a/it/documentation/index.md +++ b/it/documentation/index.md @@ -21,14 +21,6 @@ potrà venire comodo quando vorrai programmare in Ruby. sua sintassi, struttura e qualche funzionalità e libreria comune. E anche un po’ di cultura. -[RubyMonk][3] -: Impara il lessico Ruby risolvendo problemi nel tuo browser! - -[Hackety Hack][4] -: Lo starter kit del piccolo - programmatore. Un modo facile e divertente per imparare a - programmare (attraverso Ruby) usando il toolkit GUI *Shoes*. - [Why’s (Poignant) Guide to Ruby][5] : Un libro poco convenzionale ma interessante che ti insegna ad usare Ruby attraverso storie, battute argute e fumetti. Originariamente @@ -145,8 +137,6 @@ iniziare. [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 78583ddf0c..3128407dc0 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -37,14 +37,6 @@ ruby -v 루비 언어, 문법, 구조, 일반적인 함수들과 라이브러리를 배우는 것입니다. Koans에서는 문화도 가르칩니다. -[RubyMonk][3] (영문) -: 브라우저에서 루비의 관용적인 코드를 발견하거나 수업을 듣고 문제를 풀 - 수 있습니다. - -[Hackety Hack][4] (영문) -: 꼬꼬마 코더의 스타터 킷. - Shoes GUI 개발환경을 사용해 루비를 통해 쉽고 재미있게 프로그래밍을 배웁니다. - [Why’s (Poignant) Guide to Ruby][5] (영문) : 이야기, 재치, 만화를 통해 루비를 가르쳐주는 틀에 얽매이지 않는 재미있는 책입니다. *Why the Lucky Stiff*의 저작물로 루비를 배우는 사람을 위한 @@ -154,8 +146,6 @@ ruby -v [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/pl/documentation/index.md b/pl/documentation/index.md index 4c1b1c3aa5..0530e66901 100644 --- a/pl/documentation/index.md +++ b/pl/documentation/index.md @@ -20,15 +20,6 @@ Znajdziesz tutaj odnośniki do podręczników, tutoriali i materiałów Celem jest nauczenie się języka Ruby, składni, struktury i    pewnych popularnych funkcji i bibliotek. Nauczenie również kultury. -[RubyMonk][3] -: Odkryj dialekt Rubiego, weź lekcje i rozwiązuj problemy, a to wszystko - w twojej przeglądarce! - -[Hackety Hack][4] -: Zestaw startowy młodego kodera. - Zabawny i prosty sposób na naukę programowania (poprzez Rubiego) przy - użyciu Shoes GUI Toolkit. - [Why’s (Poignant) Guide to Ruby][5] : Niekonwencjonalna ale interesująca książka, która nauczy cię Rubiego poprzez historyjki, dowcipy i komiks. Oryginalnie stworzona przez @@ -148,8 +139,6 @@ Jeśli szukasz pomocy w języku polskim, zajrzyj na [forum][pl-2]. [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/pt/documentation/index.md b/pt/documentation/index.md index e988aef10f..c6fbf0b9b3 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -35,15 +35,6 @@ diversas maneiras de obter o Ruby. O objetivo é aprender a linguagem, sintaxe, estrutura algumas funções e bibliotecas comuns do Ruby. Também ensinamos cultura. -[RubyMonk][3] -: Descubra idiomas Ruby, aprenda lições e resolva problemas, tudo - no seu browser! - -[Hackety Hack][4] -: O kit de iniciante do programadorzinho. - Um jeito fácil e divertido de aprender sobre programação (com Ruby) - usando o Shoes GUI Toolkit. - [O Guia (Comovente) de Ruby do Why][5] : UM livro inconveniente, porém interessante, que te ensinará Ruby através de histórias, humor e quadrinhos. Originalmente criado por *why the lucky @@ -157,8 +148,6 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://why.carlosbrando.com/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/ru/documentation/index.md b/ru/documentation/index.md index dca5ea48c7..e432dc3768 100644 --- a/ru/documentation/index.md +++ b/ru/documentation/index.md @@ -34,15 +34,6 @@ ruby -v ресурса – изучить язык Ruby, его синтаксис, структуру и несколько стандартных функций и библиотек. Так же он обучит вас культуре. -[RubyMonk][3] -: Откройте для себя идиомы Ruby, пройдите урок и решите проблемы, все в - вашем браузере! - -[Hackety Hack][4] -: Стартовый набор маленького - программиста. Веселый и легкий путь обучения программированию (при - помощи Ruby), использует графическую среду разработки Shoes. - [Why’s (Poignant) Guide to Ruby][5] : Необычная, но интересная книга, которая научит вас Ruby посредством историй, шуток и комиксов. Созданное программистом *why the lucky stiff*, @@ -151,8 +142,6 @@ ruby -v [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/tr/documentation/index.md b/tr/documentation/index.md index e54ff8ab52..743e77ee24 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -21,11 +21,6 @@ referanslar ve diğer belgeleri bulacaksınız. kullanılan yapılarını öğrenmek ama bununla beraber size kültürünü de öğretiyor. -[Hackety Hack][3] -: Küçük programcının başlangıç - kiti. Shoes GUI Toolkit kullanarak Ruby programlamayı öğrenmek - için eğlenceli ve koly bir yol. - [Why’s (Poignant) Guide to Ruby][4] : Ruby’nin hikayelerle, nüktelerle ve karikatürlerle anlatıldığı sıradışı ama ilginç bir kitap. Orjinali *why the lucky stiff* @@ -109,7 +104,6 @@ listeleri](/en/community/mailing-lists/) iyi bir başlangıç olacaktır. [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://www.hackety.com/ [4]: http://mislav.uniqpath.com/poignant-guide/ [5]: http://pine.fm/LearnToProgram/ [6]: http://rubylearning.com/ diff --git a/vi/documentation/index.md b/vi/documentation/index.md index 5c10926f89..820d2e70b0 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -34,15 +34,6 @@ việc cài đặt Ruby. bạn kiến thức về ngôn ngữ, cú pháp, cấu trúc và một số hàm và thư viện phổ dụng của Ruby. -[RubyMonk][3] -: Khám phá các thành ngữ của Ruby, học các bài học và giải quyết những bài tập, - tất cả trên trình duyệt của bạn! - -[Hackety Hack][4] -: Nhập môn Ruby cho người không có kinh - nghiệm lập trình. Một cách thích thú và dễ dàng để học về lập trình - (thông qua Ruby) sử dụng bộ công cụ Shoes GUI. - [Why’s (Poignant) Guide to Ruby][5] : Một cuốn sách thú vị và độc đáo, dạy bạn Ruby qua các mẩu truyện tranh vui nhộn. Ban đầu được tạo ra bởi *why the lucky stiff*. Sách này được xem là @@ -156,8 +147,6 @@ là một nơi tuyệt vời. [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index a5ae11ffa3..13ced2520a 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -25,12 +25,6 @@ ruby -v [Ruby Koans][2] : Ruby Koans 可以指引你走过学习 Ruby 的启蒙之路。在这里可以学到 Ruby 语言的语法、结构、常用函数和库。当然,还有 Ruby 文化。 -[RubyMonk][3] -: 探索 Ruby 的习惯用法,学习课程,解决问题,只需要浏览器就可完成! - -[Hackety Hack][4] -: “小小程序员的入门工具。”使用 Shoes GUI 工具包趣学(Ruby)编程。 - [Why’s (Poignant) Guide to Ruby][5] : 一本不同寻常但是非常有趣的书,通过故事、幽默和漫画教你 Ruby。由 *why the luckystiff* 创作, 本书始终是学习 Ruby 的经典之作。 @@ -119,8 +113,6 @@ ruby -v [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 6b2a06c8fc..a3ca8cfa1d 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -16,13 +16,6 @@ lang: zh_tw : Ruby Koans 導引你走上學習 Ruby 的啟蒙之路。可以學到 Ruby 語言、語法、結構、常用函數與函式庫。 當然也少不了 Ruby 的文化。 -[RubyMonk][3] (monk:修行的僧侣) -: 探索 Ruby 的慣用法、學習課程,解決問題,在瀏覽器內便可完成! - -[Hackety Hack][4] -: 程式設計師的新手包. - 一種使用叫做 Shoes 的 GUI 工具,來學習如何用 Ruby 寫程式,有趣又簡單。 - [Why’s (Poignant) Guide to Ruby][5] : 非比尋常但玩味無窮的書,透過故事、幽默與漫畫來教會你 Ruby。由 *why the lucky stiff* 創作,本書是學習 Ruby 的經典大作。 @@ -111,8 +104,6 @@ lang: zh_tw [1]: https://ruby.github.io/TryRuby/ [2]: http://rubykoans.com/ -[3]: http://rubymonk.com/ -[4]: http://www.hackety.com/ [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://rubylearning.com/ [7]: http://www.techotopia.com/index.php/Ruby_Essentials From 044a7dad616cd9ff6ca79e04bd5e9dc84addb141 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Thu, 20 Sep 2018 10:58:47 +0900 Subject: [PATCH 0192/2563] update bundles --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ac90c25fa9..d61e195c2c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -15,7 +15,7 @@ GEM http_parser.rb (0.6.0) i18n (0.9.5) concurrent-ruby (~> 1.0) - jekyll (3.8.3) + jekyll (3.8.4) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -52,7 +52,7 @@ GEM forwardable-extended (~> 2.6) public_suffix (3.0.3) rack (2.0.5) - rack-protection (2.0.3) + rack-protection (2.0.4) rack rack-rewrite (1.5.1) rack-ssl (1.4.1) @@ -65,7 +65,7 @@ GEM rouge (1.11.1) ruby_dep (1.5.0) safe_yaml (1.0.4) - sass (3.5.7) + sass (3.6.0) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) @@ -108,4 +108,4 @@ RUBY VERSION ruby 2.5.1p57 BUNDLED WITH - 1.16.4 + 1.16.5 From f4c33b1e684d5fa5e822ffcf046dc909d4f6dba6 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Thu, 20 Sep 2018 11:02:01 +0900 Subject: [PATCH 0193/2563] added sqreen --- Gemfile | 4 ++++ Gemfile.lock | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Gemfile b/Gemfile index 5d5bca93f2..7ead5254c9 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,10 @@ gem 'rack-rewrite' gem 'rack-ssl' gem 'rack-protection' +group :production do + gem "sqreen" +end + group :development do gem 'spidr', '~> 0.6' gem 'validate-website', '~> 1.6' diff --git a/Gemfile.lock b/Gemfile.lock index d61e195c2c..2e5ca1a642 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -73,6 +73,9 @@ GEM slop (4.6.2) spidr (0.6.0) nokogiri (~> 1.3) + sq_mini_racer (0.2.0.sqreen1) + sqreen (1.14.0) + sq_mini_racer (~> 0.2.0.beta3) tidy_ffi (0.1.6) ffi (~> 1.2) unicorn (5.4.1) @@ -101,6 +104,7 @@ DEPENDENCIES rake rouge (~> 1.10) spidr (~> 0.6) + sqreen unicorn validate-website (~> 1.6) From 75e03e97126a81d74e08908e7cc06a9e7341839e Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Mon, 15 Oct 2018 11:56:20 +0900 Subject: [PATCH 0194/2563] update bundles --- Gemfile.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2e5ca1a642..3fab1713b6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -30,7 +30,7 @@ GEM safe_yaml (~> 1.0) jekyll-sass-converter (1.5.2) sass (~> 3.4) - jekyll-watch (2.0.0) + jekyll-watch (2.1.1) listen (~> 3.0) json (2.1.0) kgio (2.11.2) @@ -38,14 +38,14 @@ GEM lanyon (0.4.0) jekyll (>= 2.0, < 4.0) rack (>= 1.6, < 3.0) - liquid (4.0.0) + liquid (4.0.1) listen (3.1.5) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) mercenary (0.3.6) mini_portile2 (2.3.0) - nokogiri (1.8.4) + nokogiri (1.8.5) mini_portile2 (~> 2.3.0) paint (1.0.1) pathutil (0.16.1) @@ -73,9 +73,9 @@ GEM slop (4.6.2) spidr (0.6.0) nokogiri (~> 1.3) - sq_mini_racer (0.2.0.sqreen1) - sqreen (1.14.0) - sq_mini_racer (~> 0.2.0.beta3) + sq_mini_racer (0.2.3.sqreen4) + sqreen (1.14.2) + sq_mini_racer (~> 0.2.2.sqreen1) tidy_ffi (0.1.6) ffi (~> 1.2) unicorn (5.4.1) @@ -112,4 +112,4 @@ RUBY VERSION ruby 2.5.1p57 BUNDLED WITH - 1.16.5 + 1.16.6 From 953e0b2b8d49abf194d9adbab824c6274b7333a4 Mon Sep 17 00:00:00 2001 From: SADIK KUZU Date: Tue, 16 Oct 2018 07:51:20 +0300 Subject: [PATCH 0195/2563] Fix typo in about page (tr) (#1842) --- tr/about/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr/about/index.md b/tr/about/index.md index 622fb9e9bf..bae9b4f1f1 100644 --- a/tr/about/index.md +++ b/tr/about/index.md @@ -58,7 +58,7 @@ Ruby’nin yüzde yüz saf nesneye yönelik bir dil olduğunun en iyi ispatı bir kod parçası ile bir sayıya olay vererek yapılır: {% highlight ruby %} -5.times { print "Ruby'ti *seviyoruz* -- harika bir dil!" } +5.times { print "Ruby'yi *seviyoruz* -- harika bir dil!" } {% endhighlight %} Çoğu dilde sayılar ve diğer ilkel tipler nesne değildir. Ruby tüm From 1074e674f9962d7e35895de0eb090619faf1a7d7 Mon Sep 17 00:00:00 2001 From: Vagish Vela Date: Sun, 14 Oct 2018 18:24:03 -0400 Subject: [PATCH 0196/2563] Remove del.icio.us links as website is no longer The website claims to come back in July, but it seems like that was in 2017. This happened after pinboard wanted users to use its own service after acquiring the website. --- bg/community/weblogs/index.md | 4 +--- de/community/weblogs/index.md | 4 +--- en/community/weblogs/index.md | 4 +--- fr/community/weblogs/index.md | 5 +---- id/community/weblogs/index.md | 5 +---- it/community/weblogs/index.md | 4 +--- ko/community/weblogs/index.md | 4 +--- pt/community/weblogs/index.md | 4 +--- ru/community/weblogs/index.md | 4 +--- vi/community/weblogs/index.md | 4 +--- 10 files changed, 10 insertions(+), 32 deletions(-) diff --git a/bg/community/weblogs/index.md b/bg/community/weblogs/index.md index 88604bfa88..135cfe63cc 100644 --- a/bg/community/weblogs/index.md +++ b/bg/community/weblogs/index.md @@ -19,8 +19,7 @@ lang: bg ### Популявизиране на Ruby -Ако поддържате Ruby блог Ви препоръчваме да го добавите в -[del.icio.us][12] с *ruby* таг. Също така можете да се свържете с +Също така можете да се свържете с гореспоменатите блогове ако имате интересни статии върху общи теми. Ruby е популярна тема в [Digg][13], [Slashdot][14], [reddit][15], @@ -32,7 +31,6 @@ Ruby е популярна тема в [Digg][13], [Slashdot][14], [reddit][15], [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[12]: http://del.icio.us [13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby diff --git a/de/community/weblogs/index.md b/de/community/weblogs/index.md index dbcdb42162..02392e3bd7 100644 --- a/de/community/weblogs/index.md +++ b/de/community/weblogs/index.md @@ -39,8 +39,7 @@ empfehlen: ### Weitersagen -Wer ein eigenes Blog zum Thema Ruby hat, sollte es auf [del.icio.us][12] -mit dem Tag *ruby* versehen. Die oben genannten Blogs sind ebenfalls +Die oben genannten Blogs sind ebenfalls gute Anlaufstellen, um dort eigene Themen anderen bereitzustellen. (Wenn es offensichtlich nichts mit Rails zu tun hat, wird das *Riding Rails* Team eventuell nicht daran interessiert sein, aber man weiß ja nie). @@ -56,6 +55,5 @@ Thema. Wer interessanten Code findet, sollte sich dort melden. [9]: http://www.rubyinside.com/ [10]: http://oreillynet.com/ruby/ [11]: http://weblog.rubyonrails.org/ -[12]: http://del.icio.us [13]: http://digg.com/programming [14]: http://developers.slashdot.org/ diff --git a/en/community/weblogs/index.md b/en/community/weblogs/index.md index a9d0ce1370..d88a3631c8 100644 --- a/en/community/weblogs/index.md +++ b/en/community/weblogs/index.md @@ -35,8 +35,7 @@ updates. ### Spreading the Word -If you’ve got a Ruby blog you’ve started, it’s wise to link the blog on -[del.icio.us][12] with the *ruby* tag. You might also contact the +You might also contact the weblogs above, if you are covering a topic they’d be interested in. (Obviously, if it’s not Rails-related, then the *Riding Rails* crew may not be as interested—but you never know.) @@ -53,7 +52,6 @@ some brilliant code out there, be sure to let them know! [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[12]: http://del.icio.us [13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby diff --git a/fr/community/weblogs/index.md b/fr/community/weblogs/index.md index c6b705140f..5606b8e1f3 100644 --- a/fr/community/weblogs/index.md +++ b/fr/community/weblogs/index.md @@ -34,9 +34,7 @@ Quelques blogs se démarquent par la fréquence de leur mise-à-jour. ### Participer -Si vous venez de lancer votre propre blog sur Ruby, il serait -intéressant de vous inscrire sur [del.icio.us][13] avec le *tag* -**ruby**. Vous pourriez aussi contacter les blogs mentionnés ci-dessus, +Vous pourriez aussi contacter les blogs mentionnés ci-dessus, si vous parlez d’un sujet susceptible de les intéresser. Ruby est également un sujet récurrent sur [Digg][14] et [Slashdot][15]. @@ -48,7 +46,6 @@ Ruby est également un sujet récurrent sur [Digg][14] et [Slashdot][15]. [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ [12]: http://newsforwhatyoudo.com/groups/643ddee01cd911deaef1001aa018681c/news -[13]: http://del.icio.us [14]: http://digg.com/programming [15]: http://developers.slashdot.org/ [16]: http://news.humancoders.com/t/ruby diff --git a/id/community/weblogs/index.md b/id/community/weblogs/index.md index 13ea721554..f723b556ce 100644 --- a/id/community/weblogs/index.md +++ b/id/community/weblogs/index.md @@ -34,9 +34,7 @@ signifikan. ### Dari Mulut ke Mulut -Apabila Anda mempunyai Ruby blog atau baru saja memulainya, Anda -disarankan untuk memasukkan *link*-nya ke [del.icio.us][15] dengan tag -*ruby*. Anda bisa juga menghubungi blog-blog yang disebutkan di atas, +Anda bisa juga menghubungi blog-blog yang disebutkan di atas, apabila blog Anda mencakup topik yang relevan. (Tentu saja, apabila blog Anda tidak berhubungan dengan Rails, maka tim *Riding Rails* tidak akan tertarik—tapi mungkin saja sebaliknya.) @@ -54,6 +52,5 @@ tersebut! [12]: http://weblog.rubyonrails.org/ [13]: http://www.rubyinside.com/ [14]: http://www.rubyist.net/~matz/ -[15]: http://del.icio.us [16]: http://digg.com/programming [17]: http://developers.slashdot.org/ diff --git a/it/community/weblogs/index.md b/it/community/weblogs/index.md index e5301ad284..2400337dc5 100644 --- a/it/community/weblogs/index.md +++ b/it/community/weblogs/index.md @@ -28,8 +28,7 @@ aggiornamenti. ### Partecipa e fatti conoscere -Se hai iniziato un blog su Ruby, puoi linkare il tuo blog su -[del.icio.us][12] con la tag *ruby*. Puoi anche contattare i blog di cui +Puoi anche contattare i blog di cui sopra, se stai coprendo un soggetto nel quale sono interessati. (Ovviamente, se non è in relazione con Rails, allora la gente di *Riding Rails* può non essere interessata—ma non si sa mai). @@ -45,7 +44,6 @@ di codice particolarmente brillanti, assicurati di farglielo sapere! [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[12]: http://del.icio.us [13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby diff --git a/ko/community/weblogs/index.md b/ko/community/weblogs/index.md index efdee16fe7..f82476b9be 100644 --- a/ko/community/weblogs/index.md +++ b/ko/community/weblogs/index.md @@ -26,8 +26,7 @@ lang: ko ### 널리 알리기 -직접 루비 블로그를 하고 있다면, [del.icio.us][12]에 *ruby* 태그를 붙여서 -링크하시는 것이 좋습니다. 위의 웹로그들이 관심을 가질 만한 주제를 다루고 +위의 웹로그들이 관심을 가질 만한 주제를 다루고 계신다면 그들과 접촉하는 것도 방법입니다. (레일즈에 관련된 정보가 아니라면 당신은 모르겠지만 아마 *Riding Rails*에서는 관심없을 것입니다.) @@ -40,7 +39,6 @@ lang: ko [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[12]: http://del.icio.us [13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby diff --git a/pt/community/weblogs/index.md b/pt/community/weblogs/index.md index da6f08713b..cc4ecb2652 100644 --- a/pt/community/weblogs/index.md +++ b/pt/community/weblogs/index.md @@ -29,8 +29,7 @@ atualizações. ### Divulgando a Palavra -Se você iniciou um blog sobre Ruby, é inteligente criar um link para o blog -no [del.icio.us][12] com a tag *ruby*. Você também poderá contatar os blogs +Você também poderá contatar os blogs acima, se você estiver cobrindo um tópico no qual eles possam se interessar. (Obviamente, se não é um blog relacionado a Rails, a equipe do *Riding Rails* pode não estar interessada – mas nunca se sabe.) @@ -45,7 +44,6 @@ Se encontrar algum código brilhante, lembre-se de avisá-los! [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[12]: http://del.icio.us [13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby diff --git a/ru/community/weblogs/index.md b/ru/community/weblogs/index.md index 7c6607343e..6c83d35e8e 100644 --- a/ru/community/weblogs/index.md +++ b/ru/community/weblogs/index.md @@ -28,8 +28,7 @@ lang: ru ### Распространение в мире -Если вы ведете свой Ruby блог, полезным будет поделиться ссылкой на него -на [del.icio.us][12] с тегом *ruby*. Вы можете также связаться с +Вы можете также связаться с администраторами блогов выше, если вы освещаете интересную им тему. (очевидно, что если это не относится к Rails, то команда *Riding Rails* может быть не особо заинтересована – но кто знает) @@ -45,7 +44,6 @@ Ruby также довольно частая тема на [Digg][13], [Slashdo [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[12]: http://del.icio.us [13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby diff --git a/vi/community/weblogs/index.md b/vi/community/weblogs/index.md index af4fba9fd6..52e93a321b 100644 --- a/vi/community/weblogs/index.md +++ b/vi/community/weblogs/index.md @@ -25,8 +25,7 @@ Một vài trang blog nổi bật về sự nhanh chóng và tần số cập nh ### Phổ biến từ khóa -Nếu như bạn đã bắt đầu với một blog nào đó trước đây, hãy liên kết blog đó với trang -[del.icio.us][12] bằng từ khóa *ruby*. Ngoài ra bạn cũng có thể liên hệ với +Ngoài ra bạn cũng có thể liên hệ với các blog trên nếu bạn đang theo dõi một chủ đề nào đó mà họ cũng đang quan tâm. (Tất nhiên, nếu chủ đề đó không liên quan đến Rails thì nhóm *Riding Rails* có lẽ sẽ không quan tâm lắm —nhưng biết đâu đấy.) @@ -41,7 +40,6 @@ Nếu như bạn tìm được một số đoạn mã hay trên mạng, hãy nó [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[12]: http://del.icio.us [13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby From b6bd84fb9c279e96ade8321e2016ee89bbfd5b88 Mon Sep 17 00:00:00 2001 From: Vagish Vela Date: Sun, 14 Oct 2018 17:58:24 -0400 Subject: [PATCH 0197/2563] Remove link to digg programming page as it doesn't exist anymore The link is no longer in existance and a search of Digg shows no real relevance to programming anymore or ruby. --- bg/community/weblogs/index.md | 3 +-- de/community/weblogs/index.md | 3 +-- en/community/weblogs/index.md | 3 +-- fr/community/weblogs/index.md | 3 +-- id/community/weblogs/index.md | 3 +-- it/community/weblogs/index.md | 3 +-- ko/community/weblogs/index.md | 3 +-- pl/community/weblogs/index.md | 3 +-- pt/community/weblogs/index.md | 3 +-- ru/community/weblogs/index.md | 3 +-- vi/community/weblogs/index.md | 3 +-- zh_cn/community/weblogs/index.md | 3 +-- 12 files changed, 12 insertions(+), 24 deletions(-) diff --git a/bg/community/weblogs/index.md b/bg/community/weblogs/index.md index 135cfe63cc..0d20766a9d 100644 --- a/bg/community/weblogs/index.md +++ b/bg/community/weblogs/index.md @@ -22,7 +22,7 @@ lang: bg Също така можете да се свържете с гореспоменатите блогове ако имате интересни статии върху общи теми. -Ruby е популярна тема в [Digg][13], [Slashdot][14], [reddit][15], +Ruby е популярна тема в [Slashdot][14], [reddit][15], и [Hacker News][16]. @@ -31,7 +31,6 @@ Ruby е популярна тема в [Digg][13], [Slashdot][14], [reddit][15], [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby [16]: http://news.ycombinator.com/ diff --git a/de/community/weblogs/index.md b/de/community/weblogs/index.md index 02392e3bd7..50800e6c4c 100644 --- a/de/community/weblogs/index.md +++ b/de/community/weblogs/index.md @@ -44,7 +44,7 @@ gute Anlaufstellen, um dort eigene Themen anderen bereitzustellen. (Wenn es offensichtlich nichts mit Rails zu tun hat, wird das *Riding Rails* Team eventuell nicht daran interessiert sein, aber man weiß ja nie). -Ruby ist außerdem auf [Digg][13] und [Slashdot][14] ein verbreitetes +Ruby ist außerdem auf [Slashdot][14] ein verbreitetes Thema. Wer interessanten Code findet, sollte sich dort melden. @@ -55,5 +55,4 @@ Thema. Wer interessanten Code findet, sollte sich dort melden. [9]: http://www.rubyinside.com/ [10]: http://oreillynet.com/ruby/ [11]: http://weblog.rubyonrails.org/ -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ diff --git a/en/community/weblogs/index.md b/en/community/weblogs/index.md index d88a3631c8..e14d35a250 100644 --- a/en/community/weblogs/index.md +++ b/en/community/weblogs/index.md @@ -40,7 +40,7 @@ weblogs above, if you are covering a topic they’d be interested in. (Obviously, if it’s not Rails-related, then the *Riding Rails* crew may not be as interested—but you never know.) -Ruby is also a common topic on [Digg][13], [Slashdot][14], [reddit][15], +Ruby is also a common topic on [Slashdot][14], [reddit][15], and [Hacker News][16], in their respective programming news. If you find some brilliant code out there, be sure to let them know! @@ -52,7 +52,6 @@ some brilliant code out there, be sure to let them know! [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby [16]: http://news.ycombinator.com/ diff --git a/fr/community/weblogs/index.md b/fr/community/weblogs/index.md index 5606b8e1f3..d34658b5b5 100644 --- a/fr/community/weblogs/index.md +++ b/fr/community/weblogs/index.md @@ -37,7 +37,7 @@ Quelques blogs se démarquent par la fréquence de leur mise-à-jour. Vous pourriez aussi contacter les blogs mentionnés ci-dessus, si vous parlez d’un sujet susceptible de les intéresser. -Ruby est également un sujet récurrent sur [Digg][14] et [Slashdot][15]. +Ruby est également un sujet récurrent sur [Slashdot][15]. @@ -46,6 +46,5 @@ Ruby est également un sujet récurrent sur [Digg][14] et [Slashdot][15]. [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ [12]: http://newsforwhatyoudo.com/groups/643ddee01cd911deaef1001aa018681c/news -[14]: http://digg.com/programming [15]: http://developers.slashdot.org/ [16]: http://news.humancoders.com/t/ruby diff --git a/id/community/weblogs/index.md b/id/community/weblogs/index.md index f723b556ce..e1017d007b 100644 --- a/id/community/weblogs/index.md +++ b/id/community/weblogs/index.md @@ -39,7 +39,7 @@ apabila blog Anda mencakup topik yang relevan. (Tentu saja, apabila blog Anda tidak berhubungan dengan Rails, maka tim *Riding Rails* tidak akan tertarik—tapi mungkin saja sebaliknya.) -Ruby juga merupakan topik yang sering diangkat di [Digg][16] dan +Ruby juga merupakan topik yang sering diangkat di [Slashdot][17], di bagian *programming*. Apabila Anda menemukan sesuatu yang menarik mengenai Ruby, pastikan menyumbangkannya ke situs-situs tersebut! @@ -52,5 +52,4 @@ tersebut! [12]: http://weblog.rubyonrails.org/ [13]: http://www.rubyinside.com/ [14]: http://www.rubyist.net/~matz/ -[16]: http://digg.com/programming [17]: http://developers.slashdot.org/ diff --git a/it/community/weblogs/index.md b/it/community/weblogs/index.md index 2400337dc5..7d7755377f 100644 --- a/it/community/weblogs/index.md +++ b/it/community/weblogs/index.md @@ -33,7 +33,7 @@ sopra, se stai coprendo un soggetto nel quale sono interessati. (Ovviamente, se non è in relazione con Rails, allora la gente di *Riding Rails* può non essere interessata—ma non si sa mai). -Ruby è inoltre un soggetto di discussione frequente su [Digg][13], +Ruby è inoltre un soggetto di discussione frequente su [Slashdot][14], [reddit][15] e [Hacker News][16], nelle loro rispettive sezioni di notizie di programmazione. Se ti capitasse di trovare brani di codice particolarmente brillanti, assicurati di farglielo sapere! @@ -44,7 +44,6 @@ di codice particolarmente brillanti, assicurati di farglielo sapere! [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby [16]: http://news.ycombinator.com/ diff --git a/ko/community/weblogs/index.md b/ko/community/weblogs/index.md index f82476b9be..c34419dfc4 100644 --- a/ko/community/weblogs/index.md +++ b/ko/community/weblogs/index.md @@ -30,7 +30,7 @@ lang: ko 계신다면 그들과 접촉하는 것도 방법입니다. (레일즈에 관련된 정보가 아니라면 당신은 모르겠지만 아마 *Riding Rails*에서는 관심없을 것입니다.) -루비는 [Digg][13], [Slashdot][14], [reddit][15], [Hacker News][16] 내에서도 +루비는 [Slashdot][14], [reddit][15], [Hacker News][16] 내에서도 존중받는 프로그래밍 뉴스입니다. 뛰어난 코드를 발견했다면 그들에게도 알려주세요. @@ -39,7 +39,6 @@ lang: ko [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby [16]: http://news.ycombinator.com/ diff --git a/pl/community/weblogs/index.md b/pl/community/weblogs/index.md index 1d6d5d02e9..d15b3a15d2 100644 --- a/pl/community/weblogs/index.md +++ b/pl/community/weblogs/index.md @@ -26,7 +26,7 @@ updates. * [**Matz’ Blog**][10] jest japońskim blogiem twórcy Rubiego. Nawet jeśli nie możesz go odczytać, dobrze wiedzieć, że jest taki blog! -Ruby jest również popularnym tematem w serwisach [Digg][11] oraz +Ruby jest również popularnym tematem w serwisach [Slashdot][12],. Jeśli znajdziesz gdzieś jakiś fantastyczny fragment kodu, pamiętaj aby ich o tym poinformować ! :) @@ -36,5 +36,4 @@ kodu, pamiętaj aby ich o tym poinformować ! :) [8]: http://weblog.rubyonrails.org/ [9]: http://www.rubyinside.com/ [10]: http://www.rubyist.net/~matz/ -[11]: http://digg.com/programming [12]: http://developers.slashdot.org/ diff --git a/pt/community/weblogs/index.md b/pt/community/weblogs/index.md index cc4ecb2652..eab3b62727 100644 --- a/pt/community/weblogs/index.md +++ b/pt/community/weblogs/index.md @@ -34,7 +34,7 @@ acima, se você estiver cobrindo um tópico no qual eles possam se interessar. (Obviamente, se não é um blog relacionado a Rails, a equipe do *Riding Rails* pode não estar interessada – mas nunca se sabe.) -O Ruby também é um tópico comum no [Digg][13], [Slashdot][14], [reddit][15], +O Ruby também é um tópico comum no [Slashdot][14], [reddit][15], e no [Hacker News][16], em suas respectivas notícias sobre programação. Se encontrar algum código brilhante, lembre-se de avisá-los! @@ -44,7 +44,6 @@ Se encontrar algum código brilhante, lembre-se de avisá-los! [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby [16]: http://news.ycombinator.com/ diff --git a/ru/community/weblogs/index.md b/ru/community/weblogs/index.md index 6c83d35e8e..0c31c6110a 100644 --- a/ru/community/weblogs/index.md +++ b/ru/community/weblogs/index.md @@ -33,7 +33,7 @@ lang: ru (очевидно, что если это не относится к Rails, то команда *Riding Rails* может быть не особо заинтересована – но кто знает) -Ruby также довольно частая тема на [Digg][13], [Slashdot][14], +Ruby также довольно частая тема на [Slashdot][14], [reddit][15] и [Hacker News][16], в разделах о новостях программирования. Если вы напишете некий замечательный код - обязательно поделитесь этой новостью там! @@ -44,7 +44,6 @@ Ruby также довольно частая тема на [Digg][13], [Slashdo [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby [16]: http://news.ycombinator.com/ diff --git a/vi/community/weblogs/index.md b/vi/community/weblogs/index.md index 52e93a321b..82ee03ec00 100644 --- a/vi/community/weblogs/index.md +++ b/vi/community/weblogs/index.md @@ -30,7 +30,7 @@ các blog trên nếu bạn đang theo dõi một chủ đề nào đó mà họ (Tất nhiên, nếu chủ đề đó không liên quan đến Rails thì nhóm *Riding Rails* có lẽ sẽ không quan tâm lắm —nhưng biết đâu đấy.) -Ruby cũng là một chủ đề phổ biến trên [Digg][13], [Slashdot][14], [reddit][15], +Ruby cũng là một chủ đề phổ biến trên [Slashdot][14], [reddit][15], và [Hacker News][16], trong các chương trình tin tức tương ứng của họ. Nếu như bạn tìm được một số đoạn mã hay trên mạng, hãy nói cho họ biết về nó! @@ -40,7 +40,6 @@ Nếu như bạn tìm được một số đoạn mã hay trên mạng, hãy nó [9]: http://weblog.rubyonrails.org/ [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby [16]: http://news.ycombinator.com/ diff --git a/zh_cn/community/weblogs/index.md b/zh_cn/community/weblogs/index.md index 1495dfb057..a74cfbf978 100644 --- a/zh_cn/community/weblogs/index.md +++ b/zh_cn/community/weblogs/index.md @@ -21,7 +21,7 @@ Ruby 博客在过去几年呈现出了爆炸式的增长,你可以发掘到数 如果你已经开通一个 Ruby 博客,将其贴上 *ruby* 标签链接到 [del.icio.us][12] 是一个明智的选择。如果你的博客包含了对方感兴趣的内容,你就能连接到上面的博客地址里了(很明显,如果与 Rails 无关,那 *Riding Rails* 将不会感兴趣,当然你是永远不会知道个中缘由的。) -Ruby 也是 [Digg][13]、[Slashdot][14]、[reddit][15]、和 [Hacker News][16] 编程新闻的共同话题,如果你发现了一些出色的代码,一定要让他们知道! +Ruby 也是 [Slashdot][14]、[reddit][15]、和 [Hacker News][16] 编程新闻的共同话题,如果你发现了一些出色的代码,一定要让他们知道! @@ -30,7 +30,6 @@ Ruby 也是 [Digg][13]、[Slashdot][14]、[reddit][15]、和 [Hacker News][16] [10]: http://www.rubyinside.com/ [11]: http://www.rubyist.net/~matz/ [12]: http://del.icio.us -[13]: http://digg.com/programming [14]: http://developers.slashdot.org/ [15]: http://www.reddit.com/r/ruby [16]: http://news.ycombinator.com/ From ac9bb85f1a7a1c2f7e21225409e22842de492261 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 16 Oct 2018 21:54:12 +0700 Subject: [PATCH 0198/2563] Update link to Toronto Rehab (translations) --- bg/documentation/success-stories/index.md | 2 +- de/documentation/success-stories/index.md | 2 +- en/documentation/success-stories/index.md | 2 +- fr/documentation/success-stories/index.md | 2 +- id/documentation/success-stories/index.md | 2 +- it/documentation/success-stories/index.md | 2 +- ko/documentation/success-stories/index.md | 2 +- pl/documentation/success-stories/index.md | 2 +- pt/documentation/success-stories/index.md | 2 +- ru/documentation/success-stories/index.md | 2 +- tr/documentation/success-stories/index.md | 2 +- vi/documentation/success-stories/index.md | 2 +- zh_cn/documentation/success-stories/index.md | 2 +- zh_tw/documentation/success-stories/index.md | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bg/documentation/success-stories/index.md b/bg/documentation/success-stories/index.md index 5f401dd9c1..f1cdba4f57 100644 --- a/bg/documentation/success-stories/index.md +++ b/bg/documentation/success-stories/index.md @@ -61,7 +61,7 @@ lang: bg [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/de/documentation/success-stories/index.md b/de/documentation/success-stories/index.md index fb8328d494..153c738587 100644 --- a/de/documentation/success-stories/index.md +++ b/de/documentation/success-stories/index.md @@ -56,7 +56,7 @@ Projekten, die Ruby nutzen. [1]: http://www.motorola.com -[2]: http://www.torontorehab.com +[2]: https://www.uhn.ca/TorontoRehab [3]: http://www.morpha.de/php_d/index.php3 [4]: http://ods.org/ [5]: http://www.lucent.com/ diff --git a/en/documentation/success-stories/index.md b/en/documentation/success-stories/index.md index 18cb87ce42..8653e81217 100644 --- a/en/documentation/success-stories/index.md +++ b/en/documentation/success-stories/index.md @@ -76,7 +76,7 @@ you’ll find a small sample of real world usage of Ruby. [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/fr/documentation/success-stories/index.md b/fr/documentation/success-stories/index.md index cc821e6704..fc36e61b01 100644 --- a/fr/documentation/success-stories/index.md +++ b/fr/documentation/success-stories/index.md @@ -65,7 +65,7 @@ témoignages du « monde réel. » [2]: http://www-106.ibm.com/developerworks/linux/library/l-oslab/ [3]: http://www.motorola.com [4]: http://www.sketchup.com/ -[5]: http://www.torontorehab.com +[5]: https://www.uhn.ca/TorontoRehab [6]: http://www.morpha.de/php_e/index.php3 [7]: http://ods.org/ [8]: http://www.lucent.com/ diff --git a/id/documentation/success-stories/index.md b/id/documentation/success-stories/index.md index e473c84b86..08a8cdb133 100644 --- a/id/documentation/success-stories/index.md +++ b/id/documentation/success-stories/index.md @@ -86,7 +86,7 @@ kecil contoh dari berbagai penggunaan Ruby di dunia nyata. [10]: http://wiki.rubyonrails.com/rails/pages/RealWorldUsage [11]: http://www.larc.nasa.gov/ [12]: http://www.motorola.com -[13]: http://www.torontorehab.com +[13]: https://www.uhn.ca/TorontoRehab [14]: http://www.morpha.de/php_e/index.php3 [15]: http://ods.org/ [16]: http://www.lucent.com/ diff --git a/it/documentation/success-stories/index.md b/it/documentation/success-stories/index.md index 55b9a86e6b..5533d2f9fb 100644 --- a/it/documentation/success-stories/index.md +++ b/it/documentation/success-stories/index.md @@ -74,7 +74,7 @@ alcuni esempi reali di come viene utilizzato Ruby nel mondo. [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/ko/documentation/success-stories/index.md b/ko/documentation/success-stories/index.md index 658e4699c5..9fcc4a17af 100644 --- a/ko/documentation/success-stories/index.md +++ b/ko/documentation/success-stories/index.md @@ -71,7 +71,7 @@ lang: ko [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/pl/documentation/success-stories/index.md b/pl/documentation/success-stories/index.md index 3479a2ff21..e4da876efa 100644 --- a/pl/documentation/success-stories/index.md +++ b/pl/documentation/success-stories/index.md @@ -82,7 +82,7 @@ Rubiego w rzeczywistości. [1]: http://www.larc.nasa.gov/ [2]: http://www-106.ibm.com/developerworks/linux/library/l-oslab/ [3]: http://www.motorola.com -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/pt/documentation/success-stories/index.md b/pt/documentation/success-stories/index.md index 284473bbb1..478a6c120e 100644 --- a/pt/documentation/success-stories/index.md +++ b/pt/documentation/success-stories/index.md @@ -75,7 +75,7 @@ Aqui você encontrará uma pequena amostra do uso de Ruby no mundo real. [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/ru/documentation/success-stories/index.md b/ru/documentation/success-stories/index.md index 61bbd86b4d..62923d6aa6 100644 --- a/ru/documentation/success-stories/index.md +++ b/ru/documentation/success-stories/index.md @@ -78,7 +78,7 @@ lang: ru [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com/ +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/tr/documentation/success-stories/index.md b/tr/documentation/success-stories/index.md index bb6023421b..e20ecc1ede 100644 --- a/tr/documentation/success-stories/index.md +++ b/tr/documentation/success-stories/index.md @@ -75,7 +75,7 @@ olarak. Burada Ruby’nin gerçek dünyadan örneklerini görebilirsiniz. [1]: http://www.larc.nasa.gov/ [2]: http://www.sketchup.com/ -[3]: http://www.torontorehab.com +[3]: https://www.uhn.ca/TorontoRehab [4]: http://www.morpha.de/php_e/index.php3 [5]: http://ods.org/ [6]: http://www.lucent.com/ diff --git a/vi/documentation/success-stories/index.md b/vi/documentation/success-stories/index.md index 288800322e..74ff0418e9 100644 --- a/vi/documentation/success-stories/index.md +++ b/vi/documentation/success-stories/index.md @@ -70,7 +70,7 @@ nó như thứ tiêu khiển. Trong trang này, bạn sẽ tìm thấy những v [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/zh_cn/documentation/success-stories/index.md b/zh_cn/documentation/success-stories/index.md index 8e3388bf5e..7e4eef219b 100644 --- a/zh_cn/documentation/success-stories/index.md +++ b/zh_cn/documentation/success-stories/index.md @@ -56,7 +56,7 @@ lang: zh_cn [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ diff --git a/zh_tw/documentation/success-stories/index.md b/zh_tw/documentation/success-stories/index.md index 92f14ec35e..133231a99c 100644 --- a/zh_tw/documentation/success-stories/index.md +++ b/zh_tw/documentation/success-stories/index.md @@ -51,7 +51,7 @@ lang: zh_tw [1]: http://www.larc.nasa.gov/ [2]: http://www.motorola.com [3]: http://www.sketchup.com/ -[4]: http://www.torontorehab.com +[4]: https://www.uhn.ca/TorontoRehab [5]: http://www.morpha.de/php_e/index.php3 [6]: http://ods.org/ [7]: http://www.lucent.com/ From dfe5206d267e8452b7a47066ed214bda889f032f Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 18 Oct 2018 02:18:36 +0900 Subject: [PATCH 0199/2563] Releases 2018-10-17 (#1855) * Release announce Ruby 2.5.2, 2.4.5 and 2.3.8 --- ...-in-some-formats-of-pack-cve-2018-16396.md | 38 +++++++++++++ ...-does-not-work-correctly-cve-2018-16395.md | 48 ++++++++++++++++ .../_posts/2018-10-17-ruby-2-3-8-released.md | 55 +++++++++++++++++++ .../_posts/2018-10-17-ruby-2-4-5-released.md | 54 ++++++++++++++++++ .../_posts/2018-10-17-ruby-2-5-2-released.md | 55 +++++++++++++++++++ ...-in-some-formats-of-pack-cve-2018-16396.md | 38 +++++++++++++ ...-does-not-work-correctly-cve-2018-16395.md | 49 +++++++++++++++++ .../_posts/2018-10-17-ruby-2-3-8-released.md | 55 +++++++++++++++++++ .../_posts/2018-10-17-ruby-2-4-5-released.md | 55 +++++++++++++++++++ .../_posts/2018-10-17-ruby-2-5-2-released.md | 52 ++++++++++++++++++ 10 files changed, 499 insertions(+) create mode 100644 en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md create mode 100644 en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md create mode 100644 en/news/_posts/2018-10-17-ruby-2-3-8-released.md create mode 100644 en/news/_posts/2018-10-17-ruby-2-4-5-released.md create mode 100644 en/news/_posts/2018-10-17-ruby-2-5-2-released.md create mode 100644 ja/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md create mode 100644 ja/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md create mode 100644 ja/news/_posts/2018-10-17-ruby-2-3-8-released.md create mode 100644 ja/news/_posts/2018-10-17-ruby-2-4-5-released.md create mode 100644 ja/news/_posts/2018-10-17-ruby-2-5-2-released.md diff --git a/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md new file mode 100644 index 0000000000..39f3bf99c1 --- /dev/null +++ b/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2018-16396: Tainted flags are not propagated in Array#pack and String#unpack with some directives" +author: "usa" +translator: +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: en +--- + +In `Array#pack` and `String#unpack` with some formats, the tainted flags of the original data are not propagated to the returned string/array. +This vulnerability has been assigned the CVE identifier [CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396). + +## Details + +`Array#pack` method converts the receiver's contents into a string with specified format. +If the receiver contains some tainted objects, the returned string also should be tainted. +`String#unpack` method which converts the receiver into an array also should propagate its tainted flag to the objects contained in the returned array. +But, with `B`, `b`, `H` and `h` directives, the tainted flags are not propagated. +So, if a script processes unreliable inputs by `Array#pack` and/or `String#unpack` with these directives and checks the reliability with tainted flags, the check might be wrong. + +All users running an affected release should upgrade immediately. + +## Affected Versions + +* Ruby 2.3 series: 2.3.7 and earlier +* Ruby 2.4 series: 2.4.4 and earlier +* Ruby 2.5 series: 2.5.1 and earlier +* Ruby 2.6 series: 2.6.0-preview2 and earlier +* prior to trunk revision rXXXXX + +## Credit + +Thanks to [Chris Seaton](https://hackerone.com/chrisseaton) for reporting the issue. + +## History + +* Originally published at 2018-10-17 14:00:00 (UTC) diff --git a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md new file mode 100644 index 0000000000..c7e6e5813d --- /dev/null +++ b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly" +author: "usa" +translator: +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: en +--- + +The equality check of `OpenSSL::X509::Name` is not correctly in openssl extension library bundled with Ruby. +This vulnerability has been assigned the CVE identifier [CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395). + +## Details + +An instance of `OpenSSL::X509::Name` contains entities such as CN, C and so on. +Some two instances of `OpenSSL::X509::Name` are equal only when all entities are exactly equal. +However, there is a bug that the equality check is not correct if the value of an entity of the argument (right-hand side) starts with the value of the receiver (left-hand side). +So, if a malicious X.509 certificate is passed to compare with an existing certificate, there is a possibility to be judged incorrectly that they are equal. + +It is strongly recommended for Ruby users to upgrade your Ruby installation or take one of the following workarounds as soon as possible. + +## Affected Versions + +* Ruby 2.3 series: 2.3.7 and earlier +* Ruby 2.4 series: 2.4.4 and earlier +* Ruby 2.5 series: 2.5.1 and earlier +* Ruby 2.6 series: 2.6.0-preview2 and earlier +* current trunk and earlier + +## Workaround + +openssl gem 2.1.2 or later includes the fix for the vulnerability, so upgrate openssl gem to the latest version if you are usign Ruby 2.4 or later series. + +``` +gem install openssl -v ">= 2.1.2" +``` + +However, in Ruby 2.3 series, you can not override bundled version of openssl with openssl gem. +Please upgrade your Ruby installation to the latest version. + +## Credit + +Thanks to [Tyler Eckstein](https://hackerone.com/tylereckstein) for reporting the issue. + +## History + +* Originally published at 2018-10-17 14:00:00 (UTC) diff --git a/en/news/_posts/2018-10-17-ruby-2-3-8-released.md b/en/news/_posts/2018-10-17-ruby-2-3-8-released.md new file mode 100644 index 0000000000..f6822f8e23 --- /dev/null +++ b/en/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 2.3.8 Released" +author: "usa" +translator: +date: 2018-10-17 17:00:00 +0000 +lang: en +--- + +Ruby 2.3.8 has been released. +This release includes several security fixes. +Please check the topics below for details. + +* [CVE-2018-16396: Tainted flags are not propagated in Array#pack and String#unpack with some directives](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +This release also includes a non-security fix to support Visual Studio 2014 with Windows 10 October 2018 Update for maintenance reasons. + +Ruby 2.3 is now under the state of the security maintenance phase, until the end of the March of 2019. +After the date, maintenance of Ruby 2.3 will be ended. +We recommend you start planning migration to newer versions of Ruby, such as 2.5 or 2.4. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2) + + SIZE: 14418609 bytes + SHA1: 91b31abdba00a346c155fd32bd32d3cec3b73bc4 + SHA256: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + SHA512: 6d79e0d25757fd37188a8db3e630a52539bce7927fcb779a2ce9a97b9e5f330753035c16843552f1a1fb6c9a1e5c0f916b3cc8b5c0bfe81e20f35f8442e40ae8 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz) + + SIZE: 17858806 bytes + SHA1: 69311991a9cd2c8e3c86a0dbbaaf915ae91f0bec + SHA256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + SHA512: 43b02f2f9de6baf281f09a49fd07367127b4de1fb14473380d06bfa7667990d8f722ae2d33cf7d15b02f7e799515f21aebd308897c4c2a5461ebab4049d6c7ef + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz) + + SIZE: 11465792 bytes + SHA1: 9771acdad851bbf0ef349bb7da5d0ffc91a860ed + SHA256: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + SHA512: 06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip) + + SIZE: 19911652 bytes + SHA1: ad9e0ec7c874701832c9e224eb5b9e2258f3a041 + SHA256: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + SHA512: 732d69cd55f1c273a02005306720fd8fc9d77398177db9509452be31820976b54b30319d9e6bc36fb6bcd7af656f807ef6c26d8955012c8b20424912a2f51bf8 + +## Release Comment + +Thanks to everyone who helped with this release. diff --git a/en/news/_posts/2018-10-17-ruby-2-4-5-released.md b/en/news/_posts/2018-10-17-ruby-2-4-5-released.md new file mode 100644 index 0000000000..d319c702b3 --- /dev/null +++ b/en/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Ruby 2.4.5 Released" +author: "usa" +translator: +date: 2018-10-17 17:00:00 +0000 +lang: en +--- + +Ruby 2.4.5 has been released. + +This release includes about 40 bug fixes after the previous release, and also includes several security fixes. +Please check the topics below for details. + +* [CVE-2018-16396: Tainted flags are not propagated in Array#pack and String#unpack with some directives](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +See the [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_4_5/ChangeLog) for details. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2) + + SIZE: 12667524 bytes + SHA1: 0e1f184556507c22bc59054496c0af7cf28fb188 + SHA256: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + SHA512: 7034fcaeaee41f14bc0ecce0d3d93bd1abe95310e1a0b95fac66eaba867adfb2bf7ba4d0d70d67a15ce8df16052dee405c38cdb18987602e64a2f701d37d3df0 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz) + + SIZE: 14232887 bytes + SHA1: 4d650f302f1ec00256450b112bb023644b6ab6dd + SHA256: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + SHA512: 39863b404b02bb3d2430fd19fb057bdded5e816842a1a1f00092de69cc360db836225b2186e18b6ee099ec5e8c60f89178a4297b2d221234b4962c70594c2b8e + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz) + + SIZE: 10064712 bytes + SHA1: b5be590b37487248da3a85541a62fb81f7f7e29a + SHA256: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + SHA512: 658f676c623109f4c7499615e191c98c3dd72cfcaeeaf121337d0b8a33c5243145edd50ec5e2775f988e3cd19788984f105fa165e3049779066566f67172c1b4 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip) + + SIZE: 15694028 bytes + SHA1: 0bded7dfabfce5615162a1acd1341966a63e40f4 + SHA256: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + SHA512: 9baec2b33604d5b2180b83bef9b39349d3f73b2eb5a7d44410572d893f76e6a0e1c39c572e6084a4e2466ca148ff2f377b5458144fe9b859a80cdf7b41fd5d72 + +## Release Comment + +Thanks to everyone who helped with this release. + +The maintenance of Ruby 2.4, including this release, is based on the “Agreement for the Ruby stable version” of the Ruby Association. diff --git a/en/news/_posts/2018-10-17-ruby-2-5-2-released.md b/en/news/_posts/2018-10-17-ruby-2-5-2-released.md new file mode 100644 index 0000000000..d40238f61f --- /dev/null +++ b/en/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 2.5.2 Released" +author: "nagachika" +translator: +date: 2018-10-17 14:00:00 +0000 +lang: en +--- + +Ruby 2.5.2 has been released. + +This release includes some bug fixes and some security fixes. + +* [CVE-2018-16396: Tainted flags are not propagated in Array#pack and String#unpack with some directives](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + + +There are also some bug fixes. +See [commit logs](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) for more details. + +## Download + +* + + SIZE: 13592827 bytes + SHA1: 562d6b8be5a0804ed7617bb0465b288d44b2defc + SHA256: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + SHA512: 9f9388a162a3ae9c14ec8999fa3b12ff5397de14f55996cc8761d21c757113db37ace4d326b9606de7ad3a5875aa94fec900dd9b81b2fb0dff558c39422f4aa1 + +* + + SIZE: 15600481 bytes + SHA1: 7e503e75621b69cedb1d8b3fa2bee5aef2f1a714 + SHA256: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + SHA512: 9aee69d2ac6aefe2d81649055ba7b99e4e58cf203ac75083ba1b35b3a4fd7f72ee257e26ca80460da5c2a7817fd507aecec9c143f170e16980625e95eeb31686 + +* + + SIZE: 11071052 bytes + SHA1: ea352c9bcaa47ab094cdec0f4946c62b1a1769d7 + SHA256: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + SHA512: b6b805b18ba6da7b28c7e2bdf3da7eaf1dcc15ae22744228d032e8ddec2fbba4cc4fb822b9ef7f6b561052113a4f28dc50ccfa4f00e3728a35ce27137f4a70e6 + +* + + SIZE: 18786735 bytes + SHA1: 98fdbae195bbbc3f131d49d9e60bf3fbb8b56111 + SHA256: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + SHA512: 1b804337099ecfa045eecf1a4e3f35fa786bd6e835dc50267d6a3792a782b193ec9708564e3ac5169a95ef4afc2c131782af937dafd8122117e8cff577736c0f + +## Release Comment + +Many committers, developers, and users who provided bug reports helped +us to make this release. +Thanks for their contributions. diff --git a/ja/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/ja/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md new file mode 100644 index 0000000000..3017e53a51 --- /dev/null +++ b/ja/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2018-16396: Array#pack および String#unpack の一部のフォーマット指定においてtaintフラグが伝播しない脆弱性について" +author: "usa" +translator: +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: ja +--- + +`Array#pack` および `String#unpack` の一部のフォーマット指定において、元データの taint フラグが適切に出力文字列・配列に対して伝播しないという脆弱性が発見されました。 +この脆弱性は、[CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396) として登録されています。 + +## 詳細 + +`Array#pack` メソッドでは、引数で指定されたフォーマット文字列に従い、レシーバである配列の内容を文字列に変換したものを返します。 +本来であれば、配列の要素の中に taint フラグが立っているものが含まれていれば、返す文字列にもそれが伝播して taint フラグが立つべきです。 +また、その逆を行う `String#unpack` メソッドにおいても、レシーバである文字列に taint フラグが立っている場合、返される配列とその各要素にそれが伝播して taint フラグが立たなければなりません。 +ところが、 `B` `b` `H` `h` というフォーマットに関しては、taint フラグが伝播していませんでした。 +このため、外部の信頼できない入力をこれらのフォーマットを指定して文字列化していて、かつ、その生成された文字列が信頼できるかどうかの判断に taint フラグを使用していた場合、および、外部の信頼できない入力文字列をこれらのフォーマットを指定して unpack し、かつ、その生成された各要素が信頼できるかどうかの判断に taint フラグを使用していた場合、誤った判断となってしまう可能性があります。 + +この問題の影響を受けるバージョンの Ruby のユーザーは、速やかに問題の修正されたバージョンに更新してください。 + +## 影響を受けるバージョン + +* Ruby 2.3.7 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.4 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.1 以前の全ての Ruby 2.5 系列 +* Ruby 2.6.0-preview2 以前の全ての Ruby 2.6 プレビュー +* revision XXXXX より前の開発版 + +## クレジット + +この脆弱性は、[Chris Seaton](https://hackerone.com/chrisseaton) 氏が報告してくださいました。 + +## 更新履歴 + +* 2018-10-17 23:00:00 (JST) 初版 diff --git a/ja/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/ja/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md new file mode 100644 index 0000000000..bf4849ca56 --- /dev/null +++ b/ja/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "CVE-2018-16395: OpenSSL::X509::Name の同一性判定が機能していない脆弱性について" +author: "usa" +translator: +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: ja +--- + +Ruby の標準添付ライブラリ openssl では `OpenSSL::X509::Name` クラスによって X.509 証明書で用いられる形式の名前データを扱うことができます。 +ところが、このクラスのインスタンス同士を比較した場合、データの内容によっては、本来一致とみなされるべきではないものが一致しているとみなされてしまうという脆弱性が発見されました。 +この脆弱性は、[CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395) として登録されています。 + +## 詳細 + +`OpenSSL::X509::Name` クラスでは、インスタンス内に、CN や C といった X.509 証明書内で用いられる形式の名前データの各要素を保持しています。 +インスタンス同士の比較の際には、同じキーを持つ要素の値同士の比較が行われ、同じキーセットを保持し、かつ、全ての要素の値が一致した場合にのみ、インスタンス同士が一致していることになります。 +ところが、要素の値の判定時に、レシーバ側(左辺)の要素の値に対して引数側(右辺)の要素の値が前方一致している場合にも、要素の値同士の比較が一致とみなされるという不具合が存在していました。 +このため、意図的にそのように作成された X.509 証明書を既存のものと比較した場合、誤って一致していると判定されてしまう可能性があります。 + +この問題の影響を受けるバージョンの Ruby のユーザーは、速やかに問題の修正されたバージョンに更新するか、または、Ruby 2.4 系列以降であれば下記の回避策を適用してください。 + +## 影響を受けるバージョン + +* Ruby 2.3.7 以前の全ての Ruby 2.3 系列 +* Ruby 2.4.4 以前の全ての Ruby 2.4 系列 +* Ruby 2.5.1 以前の全ての Ruby 2.5 系列 +* Ruby 2.6.0-preview2 以前の全ての Ruby 2.6 プレビュー +* 本項公開時点およびそれ以前の開発版(trunk) + +## 回避策 + +Ruby 2.4 以降の系列を使用している場合は、openssl gem バージョン 2.1.2 以降をインストールすることによっても、この脆弱性を修正した openssl 拡張ライブラリを使用することができます。 + +``` +gem install openssl -v ">= 2.1.2" +``` + +なお、Ruby 2.3 系列においては、openssl gem をインストールしても、Ruby 本体に添付されている版の openssl 拡張ライブラリが使用されてしまうため、この脆弱性を解決することができません。 +Ruby 本体ごと更新を行ってください。 + +## クレジット + +この脆弱性情報は、[Tyler Eckstein](https://hackerone.com/tylereckstein) 氏によって報告されました。 + +## 更新履歴 + +* 2018-10-17 23:00:00 (JST) 初版 diff --git a/ja/news/_posts/2018-10-17-ruby-2-3-8-released.md b/ja/news/_posts/2018-10-17-ruby-2-3-8-released.md new file mode 100644 index 0000000000..ecfd9df21a --- /dev/null +++ b/ja/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 2.3.8 リリース" +author: "usa" +translator: +date: 2018-10-17 17:00:00 +0000 +lang: ja +--- + +Ruby 2.3.8 がリリースされました。 +今回のリリースでは、以下のセキュリティ上の問題への対応が行われています。 + +* [CVE-2018-16396: Array#pack および String#unpack の一部のフォーマット指定においてtaintフラグが伝播しない脆弱性について](/ja/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/)への対応 +* [CVE-2018-16395: OpenSSL::X509::Name の同一性判定が機能していない脆弱性について](/ja/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/)への対応 + +また、加えて、保守作業上の都合により、セキュリティ上の問題ではありませんが、Visual Studio 2015とWindows10 October 2018 Updateとの組み合わせでRubyが動作しなくなる問題への対応が行われています。 + +Ruby 2.3 系列は、現在、セキュリティメンテナンスフェーズにあります。 +このフェーズ中は、重大なセキュリティ上の問題への対応のみが行われます。 +現在の予定では、2019 年 3 月末頃を目処に、2.3 系列のセキュリティメンテナンスならびに公式サポートは終了する見込みです。 +現在、2.3 系列を利用しているユーザーの皆さんは、なるべく早く、2.5 系列等のより新しいバージョン系列の Ruby への移行を検討されるよう、お勧めします。 + +## ダウンロード + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2) + + SIZE: 14418609 bytes + SHA1: 91b31abdba00a346c155fd32bd32d3cec3b73bc4 + SHA256: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + SHA512: 6d79e0d25757fd37188a8db3e630a52539bce7927fcb779a2ce9a97b9e5f330753035c16843552f1a1fb6c9a1e5c0f916b3cc8b5c0bfe81e20f35f8442e40ae8 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz) + + SIZE: 17858806 bytes + SHA1: 69311991a9cd2c8e3c86a0dbbaaf915ae91f0bec + SHA256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + SHA512: 43b02f2f9de6baf281f09a49fd07367127b4de1fb14473380d06bfa7667990d8f722ae2d33cf7d15b02f7e799515f21aebd308897c4c2a5461ebab4049d6c7ef + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz) + + SIZE: 11465792 bytes + SHA1: 9771acdad851bbf0ef349bb7da5d0ffc91a860ed + SHA256: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + SHA512: 06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip) + + SIZE: 19911652 bytes + SHA1: ad9e0ec7c874701832c9e224eb5b9e2258f3a041 + SHA256: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + SHA512: 732d69cd55f1c273a02005306720fd8fc9d77398177db9509452be31820976b54b30319d9e6bc36fb6bcd7af656f807ef6c26d8955012c8b20424912a2f51bf8 + +## リリースコメント + +リリースに協力してくれた皆様、また、脆弱性情報を報告してくれた皆様に感謝します。 diff --git a/ja/news/_posts/2018-10-17-ruby-2-4-5-released.md b/ja/news/_posts/2018-10-17-ruby-2-4-5-released.md new file mode 100644 index 0000000000..708001a459 --- /dev/null +++ b/ja/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 2.4.5 リリース" +author: "usa" +translator: +date: 2018-10-17 17:00:00 +0000 +lang: ja +--- + +Ruby 2.4.5 がリリースされました。 +これは安定版 2.4 系列の TEENY リリースです。 + +今回のリリースでは、前回リリースから 40 件ほどのバグ修正が行われ、安定性のさらなる向上が図られています。 +また、以下のセキュリティ上の問題に対する対応が含まれています。 + +* [CVE-2018-16396: Array#pack および String#unpack の一部のフォーマット指定においてtaintフラグが伝播しない脆弱性について](/ja/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/)への対応 +* [CVE-2018-16395: OpenSSL::X509::Name の同一性判定が機能していない脆弱性について](/ja/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/)への対応 + +詳しくは、対応する [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_4_5/ChangeLog) を参照してください。 + +## ダウンロード + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2) + + SIZE: 12667524 bytes + SHA1: 0e1f184556507c22bc59054496c0af7cf28fb188 + SHA256: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + SHA512: 7034fcaeaee41f14bc0ecce0d3d93bd1abe95310e1a0b95fac66eaba867adfb2bf7ba4d0d70d67a15ce8df16052dee405c38cdb18987602e64a2f701d37d3df0 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz) + + SIZE: 14232887 bytes + SHA1: 4d650f302f1ec00256450b112bb023644b6ab6dd + SHA256: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + SHA512: 39863b404b02bb3d2430fd19fb057bdded5e816842a1a1f00092de69cc360db836225b2186e18b6ee099ec5e8c60f89178a4297b2d221234b4962c70594c2b8e + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz) + + SIZE: 10064712 bytes + SHA1: b5be590b37487248da3a85541a62fb81f7f7e29a + SHA256: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + SHA512: 658f676c623109f4c7499615e191c98c3dd72cfcaeeaf121337d0b8a33c5243145edd50ec5e2775f988e3cd19788984f105fa165e3049779066566f67172c1b4 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip) + + SIZE: 15694028 bytes + SHA1: 0bded7dfabfce5615162a1acd1341966a63e40f4 + SHA256: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + SHA512: 9baec2b33604d5b2180b83bef9b39349d3f73b2eb5a7d44410572d893f76e6a0e1c39c572e6084a4e2466ca148ff2f377b5458144fe9b859a80cdf7b41fd5d72 + +## リリースコメント + +リリースに協力してくれた皆様に感謝します。 + +このリリースを含む Ruby 2.4 系列の保守は、[一般財団法人 Ruby アソシエーション](http://www.ruby.or.jp/)の Ruby 安定版保守委託事業に基いています。 diff --git a/ja/news/_posts/2018-10-17-ruby-2-5-2-released.md b/ja/news/_posts/2018-10-17-ruby-2-5-2-released.md new file mode 100644 index 0000000000..c0d6e2f94f --- /dev/null +++ b/ja/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "Ruby 2.5.2 リリース" +author: "nagachika" +translator: +date: 2018-10-17 14:00:00 +0000 +lang: ja +--- + +Ruby 2.5.2 がリリースされました。 +このリリースには以下の脆弱性修正が含まれています。 + + +* [CVE-2018-16396: Array#pack および String#unpack の一部のフォーマット指定においてtaintフラグが伝播しない脆弱性について](/ja/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name の同一性判定が機能していない脆弱性について](/ja/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +その他いくつかの不具合修正も含まれます。詳細は [commit log](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) を参照してください。 + + +## ダウンロード + +* + + SIZE: 13592827 bytes + SHA1: 562d6b8be5a0804ed7617bb0465b288d44b2defc + SHA256: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + SHA512: 9f9388a162a3ae9c14ec8999fa3b12ff5397de14f55996cc8761d21c757113db37ace4d326b9606de7ad3a5875aa94fec900dd9b81b2fb0dff558c39422f4aa1 + +* + + SIZE: 15600481 bytes + SHA1: 7e503e75621b69cedb1d8b3fa2bee5aef2f1a714 + SHA256: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + SHA512: 9aee69d2ac6aefe2d81649055ba7b99e4e58cf203ac75083ba1b35b3a4fd7f72ee257e26ca80460da5c2a7817fd507aecec9c143f170e16980625e95eeb31686 + +* + + SIZE: 11071052 bytes + SHA1: ea352c9bcaa47ab094cdec0f4946c62b1a1769d7 + SHA256: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + SHA512: b6b805b18ba6da7b28c7e2bdf3da7eaf1dcc15ae22744228d032e8ddec2fbba4cc4fb822b9ef7f6b561052113a4f28dc50ccfa4f00e3728a35ce27137f4a70e6 + +* + + SIZE: 18786735 bytes + SHA1: 98fdbae195bbbc3f131d49d9e60bf3fbb8b56111 + SHA256: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + SHA512: 1b804337099ecfa045eecf1a4e3f35fa786bd6e835dc50267d6a3792a782b193ec9708564e3ac5169a95ef4afc2c131782af937dafd8122117e8cff577736c0f + +## リリースコメント + +このリリースにあたり、多くのコミッター、開発者、バグ報告をしてくれたユーザーの皆様に感謝を申し上げます。 From 265e3328e56a5051359d069ccc13c9b58b3b45cc Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 18 Oct 2018 02:56:11 +0900 Subject: [PATCH 0200/2563] fixed some mistakes (#1856) * fixed some mistakes --- _data/downloads.yml | 6 +-- _data/releases.yml | 42 +++++++++++++++++++ ...-in-some-formats-of-pack-cve-2018-16396.md | 2 +- .../_posts/2018-10-17-ruby-2-4-5-released.md | 2 +- ...-in-some-formats-of-pack-cve-2018-16396.md | 2 +- .../_posts/2018-10-17-ruby-2-4-5-released.md | 2 +- 6 files changed, 49 insertions(+), 7 deletions(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 6848dcc7c8..751643fa10 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,13 +8,13 @@ preview: stable: - - 2.5.1 - - 2.4.4 + - 2.5.2 + - 2.4.5 # optional security_maintenance: - - 2.3.7 + - 2.3.8 # optional eol: diff --git a/_data/releases.yml b/_data/releases.yml index f83688c5ad..7751c4ed0e 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -51,6 +51,20 @@ # 2.5 series +- version: 2.5.2 + date: 2018-10-17 + post: /en/news/2018/10/17/ruby-2-5-2-released/ + url: + bz2: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.2.tar.bz2 + gz: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.2.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.2.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.2.zip + sha256: + bz2: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + gz: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + xz: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + zip: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + - version: 2.5.1 date: 2018-03-28 post: /en/news/2018/03/28/ruby-2-5-1-released/ @@ -109,6 +123,20 @@ # 2.4 series +- version: 2.4.5 + date: 2018-10-17 + post: /en/news/2018/10/17/ruby-2-4-5-released/ + url: + bz2: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2 + gz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip + sha256: + bz2: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + gz: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + xz: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + zip: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + - version: 2.4.4 date: 2018-03-28 post: /en/news/2018/03/28/ruby-2-4-4-released/ @@ -172,6 +200,20 @@ # 2.3 series +- version: 2.3.8 + date: 2018-10-17 + post: /en/news/2018/10/17/ruby-2-3-8-released/ + url: + bz2: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2 + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip + sha256: + bz2: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + gz: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + xz: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + zip: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + - version: 2.3.7 date: 2018-03-28 post: /en/news/2018/03/28/ruby-2-3-7-released/ diff --git a/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md index 39f3bf99c1..582360744a 100644 --- a/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md +++ b/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -27,7 +27,7 @@ All users running an affected release should upgrade immediately. * Ruby 2.4 series: 2.4.4 and earlier * Ruby 2.5 series: 2.5.1 and earlier * Ruby 2.6 series: 2.6.0-preview2 and earlier -* prior to trunk revision rXXXXX +* prior to trunk revision r65125 ## Credit diff --git a/en/news/_posts/2018-10-17-ruby-2-4-5-released.md b/en/news/_posts/2018-10-17-ruby-2-4-5-released.md index d319c702b3..d228f45960 100644 --- a/en/news/_posts/2018-10-17-ruby-2-4-5-released.md +++ b/en/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -15,7 +15,7 @@ Please check the topics below for details. * [CVE-2018-16396: Tainted flags are not propagated in Array#pack and String#unpack with some directives](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) * [CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) -See the [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_4_5/ChangeLog) for details. +See the [commit logs](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) for details. ## Download diff --git a/ja/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/ja/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md index 3017e53a51..4a97e9d21f 100644 --- a/ja/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md +++ b/ja/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -27,7 +27,7 @@ lang: ja * Ruby 2.4.4 以前の全ての Ruby 2.4 系列 * Ruby 2.5.1 以前の全ての Ruby 2.5 系列 * Ruby 2.6.0-preview2 以前の全ての Ruby 2.6 プレビュー -* revision XXXXX より前の開発版 +* revision 65125 より前の開発版 ## クレジット diff --git a/ja/news/_posts/2018-10-17-ruby-2-4-5-released.md b/ja/news/_posts/2018-10-17-ruby-2-4-5-released.md index 708001a459..85bba6996e 100644 --- a/ja/news/_posts/2018-10-17-ruby-2-4-5-released.md +++ b/ja/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -16,7 +16,7 @@ Ruby 2.4.5 がリリースされました。 * [CVE-2018-16396: Array#pack および String#unpack の一部のフォーマット指定においてtaintフラグが伝播しない脆弱性について](/ja/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/)への対応 * [CVE-2018-16395: OpenSSL::X509::Name の同一性判定が機能していない脆弱性について](/ja/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/)への対応 -詳しくは、対応する [ChangeLog](https://svn.ruby-lang.org/repos/ruby/tags/v2_4_5/ChangeLog) を参照してください。 +詳しくは、対応する [commit log](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) を参照してください。 ## ダウンロード From 3694ce8f1e147ef69f5de0fcd15c4b4f1c5e6706 Mon Sep 17 00:00:00 2001 From: Chikanaga Tomoyuki Date: Thu, 18 Oct 2018 20:44:53 +0900 Subject: [PATCH 0201/2563] Add release announce for 2.5.3(en). --- _data/downloads.yml | 2 +- _data/releases.yml | 14 +++++ .../_posts/2018-10-18-ruby-2-5-3-released.md | 53 +++++++++++++++++++ 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2018-10-18-ruby-2-5-3-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 751643fa10..d88fe4a61d 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,7 +8,7 @@ preview: stable: - - 2.5.2 + - 2.5.3 - 2.4.5 # optional diff --git a/_data/releases.yml b/_data/releases.yml index 7751c4ed0e..a911ba0c71 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -51,6 +51,20 @@ # 2.5 series +- version: 2.5.3 + date: 2018-10-18 + post: /en/news/2018/10/18/ruby-2-5-3-released/ + url: + bz2: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.tar.bz2 + gz: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip + sha256: + bz2: 228a787ba68a7b20ac6e1d5af3d176d36e8ed600eb754d6325da341c3088ed76 + gz: 9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c + xz: 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f + zip: 622ffa051470e967f3e51cc6347783e93d9b09a4557d4f5a78efb87b959f87a3 + - version: 2.5.2 date: 2018-10-17 post: /en/news/2018/10/17/ruby-2-5-2-released/ diff --git a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md new file mode 100644 index 0000000000..02ed69c5eb --- /dev/null +++ b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 2.5.3 Released" +author: "nagachika" +translator: +date: 2018-10-16 14:00:00 +0000 +lang: en +--- + +Ruby 2.5.3 has been released. + +There are some missing files in the release packages of 2.5.2 which are necessary for build. +See details in [[Bug #15232]](https://bugs.ruby-lang.org/issues/15232). + +This release is just for fixing the packaging issue. This release donesn't contain any additional bug fixes from 2.5.2. + +## Download + +* + + SIZE: 14159874 bytes + SHA1: d47ede7dab79de25fcc274dfcad0f92f389a4313 + SHA256: 228a787ba68a7b20ac6e1d5af3d176d36e8ed600eb754d6325da341c3088ed76 + SHA512: 6fe89fe9d406bb454457442f908774577369ab2501da4fd15725ccbab77675b88faad739a6c8ad1c7b6690b439a27de5e08035b7546406cdeca65c7b295e2c77 + +* + + SIZE: 15972577 bytes + SHA1: f919a9fbcdb7abecd887157b49833663c5c15fda + SHA256: 9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c + SHA512: d13dc55655076f7d983481155cccc06eb51c51c8eabfc3edcc22e1dabad931eb28c0b2a23d9589b5132faf18c3c0077f8719cf33a91d71bb72213d306edde1a0 + +* + + SIZE: 11453336 bytes + SHA1: 5acbdea1ced1e36684268e1cb6f8a4e7669bce77 + SHA256: 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f + SHA512: 6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518 + +* + + SIZE: 19170700 bytes + SHA1: c34a5a47d5ac64ef25368b5dffc3df2854531d7a + SHA256: 622ffa051470e967f3e51cc6347783e93d9b09a4557d4f5a78efb87b959f87a3 + SHA512: 7807641e65516670dc10426364a3d45ecfb65555827e551b4a595bad373e1292797414abf0f67bed5d66815090afe6a6a3e3e29f8b7dbc4da462c43a3e8791b6 + +## Release Comment + +Many committers, developers, and users who provided bug reports helped +us to make this release. +Thanks for their contributions. + +Especially thank you wanabe for reporting the issue about 2.5.2 packages. From 655ad0881750afcfe61478f81ccef2bebb274131 Mon Sep 17 00:00:00 2001 From: Chikanaga Tomoyuki Date: Thu, 18 Oct 2018 21:14:26 +0900 Subject: [PATCH 0202/2563] fix a typo in date field. --- en/news/_posts/2018-10-18-ruby-2-5-3-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md index 02ed69c5eb..cfb66d21dd 100644 --- a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md +++ b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 2.5.3 Released" author: "nagachika" translator: -date: 2018-10-16 14:00:00 +0000 +date: 2018-10-18 14:00:00 +0000 lang: en --- From 0e6c71ff0cdf4b53fef5a6f5f87377a20248e21c Mon Sep 17 00:00:00 2001 From: Chikanaga Tomoyuki Date: Thu, 18 Oct 2018 21:19:07 +0900 Subject: [PATCH 0203/2563] Add release announce for 2.5.3(ja). --- .../_posts/2018-10-18-ruby-2-5-3-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ja/news/_posts/2018-10-18-ruby-2-5-3-released.md diff --git a/ja/news/_posts/2018-10-18-ruby-2-5-3-released.md b/ja/news/_posts/2018-10-18-ruby-2-5-3-released.md new file mode 100644 index 0000000000..ad9344cec7 --- /dev/null +++ b/ja/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 2.5.3 リリース" +author: "nagachika" +translator: +date: 2018-10-18 14:00:00 +0000 +lang: ja +--- + +Ruby 2.5.3 がリリースされました。 + +バージョン 2.5.2 のパッケージファイルにはパッケージングのミスによりビルドに必要ないくつかのファイルが含まれていませんでした。 +2.5.2 のパッケージの問題についての詳細は [[Bug #15232]](https://bugs.ruby-lang.org/issues/15232) を参照してください。 + +パッケージファイルの作りなおしのため 2.5.3 をリリースしました。今回のリリースでは 2.5.2 以降追加のバグ修正等は含まれていません。 + +## ダウンロード + +* + + SIZE: 14159874 bytes + SHA1: d47ede7dab79de25fcc274dfcad0f92f389a4313 + SHA256: 228a787ba68a7b20ac6e1d5af3d176d36e8ed600eb754d6325da341c3088ed76 + SHA512: 6fe89fe9d406bb454457442f908774577369ab2501da4fd15725ccbab77675b88faad739a6c8ad1c7b6690b439a27de5e08035b7546406cdeca65c7b295e2c77 + +* + + SIZE: 15972577 bytes + SHA1: f919a9fbcdb7abecd887157b49833663c5c15fda + SHA256: 9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c + SHA512: d13dc55655076f7d983481155cccc06eb51c51c8eabfc3edcc22e1dabad931eb28c0b2a23d9589b5132faf18c3c0077f8719cf33a91d71bb72213d306edde1a0 + +* + + SIZE: 11453336 bytes + SHA1: 5acbdea1ced1e36684268e1cb6f8a4e7669bce77 + SHA256: 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f + SHA512: 6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518 + +* + + SIZE: 19170700 bytes + SHA1: c34a5a47d5ac64ef25368b5dffc3df2854531d7a + SHA256: 622ffa051470e967f3e51cc6347783e93d9b09a4557d4f5a78efb87b959f87a3 + SHA512: 7807641e65516670dc10426364a3d45ecfb65555827e551b4a595bad373e1292797414abf0f67bed5d66815090afe6a6a3e3e29f8b7dbc4da462c43a3e8791b6 + +## リリースコメント + +このリリースにあたり、多くのコミッター、開発者、バグ報告をしてくれたユーザーの皆様に感謝を申し上げます。 +特に 2.5.2 のパッケージの問題を報告して頂いた wanabe さんに感謝致します。 From b3f9372ed7a9abd42b2df37408f1d3eb3f2ed936 Mon Sep 17 00:00:00 2001 From: Chikanaga Tomoyuki Date: Thu, 18 Oct 2018 21:29:35 +0900 Subject: [PATCH 0204/2563] fix some typo and grammer. --- en/news/_posts/2018-10-18-ruby-2-5-3-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md index cfb66d21dd..7d584aeb73 100644 --- a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md +++ b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -9,10 +9,10 @@ lang: en Ruby 2.5.3 has been released. -There are some missing files in the release packages of 2.5.2 which are necessary for build. +There were some missing files in the release packages of 2.5.2 which are necessary for building. See details in [[Bug #15232]](https://bugs.ruby-lang.org/issues/15232). -This release is just for fixing the packaging issue. This release donesn't contain any additional bug fixes from 2.5.2. +This release is just for fixing the packaging issue. This release doesn't contain any additional bug fixes from 2.5.2. ## Download From a54cfe8b6362d5d9abded77d67ce18600af19e0d Mon Sep 17 00:00:00 2001 From: Chikanaga Tomoyuki Date: Thu, 18 Oct 2018 21:31:09 +0900 Subject: [PATCH 0205/2563] change timestamp in date field. --- en/news/_posts/2018-10-18-ruby-2-5-3-released.md | 2 +- ja/news/_posts/2018-10-18-ruby-2-5-3-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md index 7d584aeb73..156ee6d3ba 100644 --- a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md +++ b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 2.5.3 Released" author: "nagachika" translator: -date: 2018-10-18 14:00:00 +0000 +date: 2018-10-18 12:30:00 +0000 lang: en --- diff --git a/ja/news/_posts/2018-10-18-ruby-2-5-3-released.md b/ja/news/_posts/2018-10-18-ruby-2-5-3-released.md index ad9344cec7..90f1a64ff5 100644 --- a/ja/news/_posts/2018-10-18-ruby-2-5-3-released.md +++ b/ja/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 2.5.3 リリース" author: "nagachika" translator: -date: 2018-10-18 14:00:00 +0000 +date: 2018-10-18 12:30:00 +0000 lang: ja --- From d3d5968f838a03e181b4b2f390a43b129eb6d89e Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Thu, 18 Oct 2018 22:31:25 +0900 Subject: [PATCH 0206/2563] Fix typo in CVE-2018-16395 news post (en) (#1859) --- ...ame-equality-check-does-not-work-correctly-cve-2018-16395.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md index c7e6e5813d..4181df6b27 100644 --- a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md +++ b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -30,7 +30,7 @@ It is strongly recommended for Ruby users to upgrade your Ruby installation or t ## Workaround -openssl gem 2.1.2 or later includes the fix for the vulnerability, so upgrate openssl gem to the latest version if you are usign Ruby 2.4 or later series. +openssl gem 2.1.2 or later includes the fix for the vulnerability, so upgrade openssl gem to the latest version if you are using Ruby 2.4 or later series. ``` gem install openssl -v ">= 2.1.2" From 03a9729d0d4de4cc5865657ea21b966603c8b96d Mon Sep 17 00:00:00 2001 From: "U.Nakamura" Date: Fri, 19 Oct 2018 08:55:58 +0900 Subject: [PATCH 0207/2563] Mention about the fixed revision of trunk --- ...me-equality-check-does-not-work-correctly-cve-2018-16395.md | 3 ++- ...me-equality-check-does-not-work-correctly-cve-2018-16395.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md index 4181df6b27..faa4049ece 100644 --- a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md +++ b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -26,7 +26,7 @@ It is strongly recommended for Ruby users to upgrade your Ruby installation or t * Ruby 2.4 series: 2.4.4 and earlier * Ruby 2.5 series: 2.5.1 and earlier * Ruby 2.6 series: 2.6.0-preview2 and earlier -* current trunk and earlier +* prior to trunk revision r65139 ## Workaround @@ -46,3 +46,4 @@ Thanks to [Tyler Eckstein](https://hackerone.com/tylereckstein) for reporting th ## History * Originally published at 2018-10-17 14:00:00 (UTC) +* Mention about the fixed revision of trunk at 2018-10-19 00:00:00 UTC diff --git a/ja/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/ja/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md index bf4849ca56..bc4120a472 100644 --- a/ja/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md +++ b/ja/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -27,7 +27,7 @@ Ruby の標準添付ライブラリ openssl では `OpenSSL::X509::Name` クラ * Ruby 2.4.4 以前の全ての Ruby 2.4 系列 * Ruby 2.5.1 以前の全ての Ruby 2.5 系列 * Ruby 2.6.0-preview2 以前の全ての Ruby 2.6 プレビュー -* 本項公開時点およびそれ以前の開発版(trunk) +* revision 65139 より前の開発版 ## 回避策 @@ -47,3 +47,4 @@ Ruby 本体ごと更新を行ってください。 ## 更新履歴 * 2018-10-17 23:00:00 (JST) 初版 +* 2018-10-19 09:00:00 (JST) 開発版の修正revisionについて追記 From d9b819ed8135d21d57df150eb289040e969f1ce2 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Fri, 19 Oct 2018 13:20:25 +0900 Subject: [PATCH 0208/2563] Translate release posts into zh_cn (zh_cn) --- ...-in-some-formats-of-pack-cve-2018-16396.md | 33 ++++++++++++ ...-does-not-work-correctly-cve-2018-16395.md | 43 +++++++++++++++ .../_posts/2018-10-17-ruby-2-3-8-released.md | 51 ++++++++++++++++++ .../_posts/2018-10-17-ruby-2-4-5-released.md | 53 +++++++++++++++++++ .../_posts/2018-10-17-ruby-2-5-2-released.md | 49 +++++++++++++++++ .../_posts/2018-10-18-ruby-2-5-3-released.md | 50 +++++++++++++++++ 6 files changed, 279 insertions(+) create mode 100644 zh_cn/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md create mode 100644 zh_cn/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md create mode 100644 zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md create mode 100644 zh_cn/news/_posts/2018-10-17-ruby-2-4-5-released.md create mode 100644 zh_cn/news/_posts/2018-10-17-ruby-2-5-2-released.md create mode 100644 zh_cn/news/_posts/2018-10-18-ruby-2-5-3-released.md diff --git a/zh_cn/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/zh_cn/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md new file mode 100644 index 0000000000..12850129d2 --- /dev/null +++ b/zh_cn/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -0,0 +1,33 @@ +--- +layout: news_post +title: "CVE-2018-16396: 特定命令下受污染标记未如实展开到 Array#pack 和 String#unpack 结果中" +author: "usa" +translator: "Delton Ding" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: zh_cn +--- + +使用 `Array#pack` 和 `String#unpack` 处理某些特定格式时,原数据的受污染标记并未展开至返回的字符串或数组中。此缺陷已被分配 CVE 编号 [CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396)。 + +## 细节 + +`Array#pack` 方法将其接收的内容转换成某一特定格式。当参数包含一些受污染的对象,返回字符串也应该包含这些污染。`Array#unpack` 方法将参数展开成一个数组,也应该将受污染的标记转换到返回的数组中。然而,当命令含有 `B`、`b`、`H` 和 `h` 时,污染标记并不会被展开。所以,如果你的脚本使用 `Array#pack` 和/或 `String#unpack` 来处理了不可靠的输入后,尝试检查这些受污染标记,检查结果可能出错。 + +所有用户皆应尽快升级。 + +## 受影响的版本 + +* Ruby 2.3 系列: 2.3.7 及更早版本 +* Ruby 2.4 系列: 2.4.4 及更早版本 +* Ruby 2.5 系列: 2.5.1 及更早版本 +* Ruby 2.6 系列: 2.6.0-preview2 及更早版本 +* SVN 主干早于 r65125 的全部版本 + +## 鸣谢 + +感谢 [Chris Seaton](https://hackerone.com/chrisseaton) 报告了这一问题。 + +## 历史 + +* 最早发布于 2018-10-17 14:00:00 (UTC) diff --git a/zh_cn/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/zh_cn/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md new file mode 100644 index 0000000000..05370290a8 --- /dev/null +++ b/zh_cn/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2018-16395: OpenSSL::X509::Name 相等检查未正常工作" +author: "usa" +translator: "Delton Ding" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: zh_cn +--- + +Ruby 自带的 OpenSSL 库中 `OpenSSL::X509::Name` 相等检查未正常工作。此缺陷已被分配 CVE 编号 [CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395)。 + +## 细节 + +`OpenSSL::X509::Name` 实例包含例如 CN、C 等实体。`OpenSSL::X509::Name` 当且仅当所有实体皆相等时为相等。然而有一个漏洞使得当参数(右侧)以接收者开头(左侧)时,错误判断两者相等。当传入一个恶意的 X.509 证书和已有证书比较时,有可能性错误判断两者相等。 + +我们高度建议您尽速升级 Ruby 版本,或采取下述临时解决方案。 + +## 受影响的版本 + +* Ruby 2.3 系列: 2.3.7 及更早版本 +* Ruby 2.4 系列: 2.4.4 及更早版本 +* Ruby 2.5 系列: 2.5.1 及更早版本 +* Ruby 2.6 系列: 2.6.0-preview2 及更早版本 +* SVN 主干早于 r65139 的全部版本 + +## 临时解决方案 + +openssl gem 2.1.2 之后版本修复了这一缺陷,所以当你正在使用 Ruby 2.4 之后的版本时,直接升级 OpenSSL gem 亦能修复该问题。 + +``` +gem install openssl -v ">= 2.1.2" +``` + +然而在 Ruby 2.3 版本中,你不能覆盖捆绑的 OpenSSL gem,请尽快升级 Ruby 到最新版本。 + +## 鸣谢 + +感谢 [Tyler Eckstein](https://hackerone.com/tylereckstein) 报告了这一问题。 + +## 历史 + +* 最早发布于 at 2018-10-17 14:00:00 (UTC) diff --git a/zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md b/zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md new file mode 100644 index 0000000000..f8dfabc32d --- /dev/null +++ b/zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Ruby 2.3.8 已发布" +author: "usa" +translator: "Delton Ding" +date: 2018-10-17 17:00:00 +0000 +lang: zh_cn +--- + +Ruby 2.3.8 已发布。此次发布修复了数个安全性漏洞,请查看下述主题以获取详情。 + +* [CVE-2018-16396: 特定命令下受污染标记未如实展开到 Array#pack 和 String#unpack 结果中](/zh_cn/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 相等检查未正常工作](/zh_cn/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +此次更新亦包括一个非安全性修复以支持 Windows 10 2018 年 10 月版本上的 Visual Studio。 + +Ruby 2.3 处于安全维护期,并将于 2019 年 3 月底停止维护。此后 Ruby 2.3 的维护将终止。我们建议您开始规划迁移至更新版本的 Ruby,例如 Ruby 2.5 或 2.4。 + +## 下载 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2) + + SIZE: 14418609 bytes + SHA1: 91b31abdba00a346c155fd32bd32d3cec3b73bc4 + SHA256: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + SHA512: 6d79e0d25757fd37188a8db3e630a52539bce7927fcb779a2ce9a97b9e5f330753035c16843552f1a1fb6c9a1e5c0f916b3cc8b5c0bfe81e20f35f8442e40ae8 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz) + + SIZE: 17858806 bytes + SHA1: 69311991a9cd2c8e3c86a0dbbaaf915ae91f0bec + SHA256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + SHA512: 43b02f2f9de6baf281f09a49fd07367127b4de1fb14473380d06bfa7667990d8f722ae2d33cf7d15b02f7e799515f21aebd308897c4c2a5461ebab4049d6c7ef + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz) + + SIZE: 11465792 bytes + SHA1: 9771acdad851bbf0ef349bb7da5d0ffc91a860ed + SHA256: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + SHA512: 06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip) + + SIZE: 19911652 bytes + SHA1: ad9e0ec7c874701832c9e224eb5b9e2258f3a041 + SHA256: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + SHA512: 732d69cd55f1c273a02005306720fd8fc9d77398177db9509452be31820976b54b30319d9e6bc36fb6bcd7af656f807ef6c26d8955012c8b20424912a2f51bf8 + +## 发布记 + +感谢所有帮助发布这一版本的人。 diff --git a/zh_cn/news/_posts/2018-10-17-ruby-2-4-5-released.md b/zh_cn/news/_posts/2018-10-17-ruby-2-4-5-released.md new file mode 100644 index 0000000000..b61fcbc6fc --- /dev/null +++ b/zh_cn/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 2.4.5 已发布" +author: "usa" +translator: "Delton Ding" +date: 2018-10-17 17:00:00 +0000 +lang: zh_cn +--- + +Ruby 2.4.5 已发布。 + +此次更新相较于上个版本修复了约 40 个漏洞,包含数个安全性修复。请查看下述主题以获取详情。 + +* [CVE-2018-16396: 特定命令下受污染标记未如实展开到 Array#pack 和 String#unpack 结果中](/zh_cn/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 相等检查未正常工作](/zh_cn/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +查看 [提交日志](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) 以获取更多详情。 + +## 下载 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2) + + SIZE: 12667524 bytes + SHA1: 0e1f184556507c22bc59054496c0af7cf28fb188 + SHA256: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + SHA512: 7034fcaeaee41f14bc0ecce0d3d93bd1abe95310e1a0b95fac66eaba867adfb2bf7ba4d0d70d67a15ce8df16052dee405c38cdb18987602e64a2f701d37d3df0 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz) + + SIZE: 14232887 bytes + SHA1: 4d650f302f1ec00256450b112bb023644b6ab6dd + SHA256: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + SHA512: 39863b404b02bb3d2430fd19fb057bdded5e816842a1a1f00092de69cc360db836225b2186e18b6ee099ec5e8c60f89178a4297b2d221234b4962c70594c2b8e + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz) + + SIZE: 10064712 bytes + SHA1: b5be590b37487248da3a85541a62fb81f7f7e29a + SHA256: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + SHA512: 658f676c623109f4c7499615e191c98c3dd72cfcaeeaf121337d0b8a33c5243145edd50ec5e2775f988e3cd19788984f105fa165e3049779066566f67172c1b4 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip) + + SIZE: 15694028 bytes + SHA1: 0bded7dfabfce5615162a1acd1341966a63e40f4 + SHA256: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + SHA512: 9baec2b33604d5b2180b83bef9b39349d3f73b2eb5a7d44410572d893f76e6a0e1c39c572e6084a4e2466ca148ff2f377b5458144fe9b859a80cdf7b41fd5d72 + +## 发布记 + +感谢所有帮助发布这一版本的人。 + +Ruby 2.4 的维护,包括这个版本是基于 Ruby 协会的「Ruby 稳定版本协议」进行维护的。 diff --git a/zh_cn/news/_posts/2018-10-17-ruby-2-5-2-released.md b/zh_cn/news/_posts/2018-10-17-ruby-2-5-2-released.md new file mode 100644 index 0000000000..5277bd6b1c --- /dev/null +++ b/zh_cn/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 2.5.2 已发布" +author: "nagachika" +translator: "Delton Ding" +date: 2018-10-17 14:00:00 +0000 +lang: zh_cn +--- + +Ruby 2.5.2 已发布。此次发布修复了数个漏洞,包括数个安全性漏洞修复,请查看下述主题以获取详情。 + +* [CVE-2018-16396: 特定命令下受污染标记未如实展开到 Array#pack 和 String#unpack 结果中](/zh_cn/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 相等检查未正常工作](/zh_cn/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +我们还修复了数个其它漏洞。请查看 [提交日志](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) 以获取更多详情。 + +## 下载 + +* + + SIZE: 13592827 bytes + SHA1: 562d6b8be5a0804ed7617bb0465b288d44b2defc + SHA256: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + SHA512: 9f9388a162a3ae9c14ec8999fa3b12ff5397de14f55996cc8761d21c757113db37ace4d326b9606de7ad3a5875aa94fec900dd9b81b2fb0dff558c39422f4aa1 + +* + + SIZE: 15600481 bytes + SHA1: 7e503e75621b69cedb1d8b3fa2bee5aef2f1a714 + SHA256: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + SHA512: 9aee69d2ac6aefe2d81649055ba7b99e4e58cf203ac75083ba1b35b3a4fd7f72ee257e26ca80460da5c2a7817fd507aecec9c143f170e16980625e95eeb31686 + +* + + SIZE: 11071052 bytes + SHA1: ea352c9bcaa47ab094cdec0f4946c62b1a1769d7 + SHA256: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + SHA512: b6b805b18ba6da7b28c7e2bdf3da7eaf1dcc15ae22744228d032e8ddec2fbba4cc4fb822b9ef7f6b561052113a4f28dc50ccfa4f00e3728a35ce27137f4a70e6 + +* + + SIZE: 18786735 bytes + SHA1: 98fdbae195bbbc3f131d49d9e60bf3fbb8b56111 + SHA256: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + SHA512: 1b804337099ecfa045eecf1a4e3f35fa786bd6e835dc50267d6a3792a782b193ec9708564e3ac5169a95ef4afc2c131782af937dafd8122117e8cff577736c0f + +## 发布记 + +许多提交者、开发者和提供漏洞报告的用户帮助我们发布了这个版本。在此感谢这些人的贡献。 diff --git a/zh_cn/news/_posts/2018-10-18-ruby-2-5-3-released.md b/zh_cn/news/_posts/2018-10-18-ruby-2-5-3-released.md new file mode 100644 index 0000000000..ed734e663c --- /dev/null +++ b/zh_cn/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 2.5.3 已发布" +author: "nagachika" +translator: "Delton Ding" +date: 2018-10-18 12:30:00 +0000 +lang: zh_cn +--- + +Ruby 2.5.3 已发布。 + +Ruby 2.5.2 版本发布时遗漏了一些构建必需的文件。详见 [[漏洞 #15232]](https://bugs.ruby-lang.org/issues/15232)。 + +此发布仅修复包缺失问题,并未修复任何 2.5.2 以来的其它漏洞。 + +## 下载 + +* + + SIZE: 14159874 bytes + SHA1: d47ede7dab79de25fcc274dfcad0f92f389a4313 + SHA256: 228a787ba68a7b20ac6e1d5af3d176d36e8ed600eb754d6325da341c3088ed76 + SHA512: 6fe89fe9d406bb454457442f908774577369ab2501da4fd15725ccbab77675b88faad739a6c8ad1c7b6690b439a27de5e08035b7546406cdeca65c7b295e2c77 + +* + + SIZE: 15972577 bytes + SHA1: f919a9fbcdb7abecd887157b49833663c5c15fda + SHA256: 9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c + SHA512: d13dc55655076f7d983481155cccc06eb51c51c8eabfc3edcc22e1dabad931eb28c0b2a23d9589b5132faf18c3c0077f8719cf33a91d71bb72213d306edde1a0 + +* + + SIZE: 11453336 bytes + SHA1: 5acbdea1ced1e36684268e1cb6f8a4e7669bce77 + SHA256: 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f + SHA512: 6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518 + +* + + SIZE: 19170700 bytes + SHA1: c34a5a47d5ac64ef25368b5dffc3df2854531d7a + SHA256: 622ffa051470e967f3e51cc6347783e93d9b09a4557d4f5a78efb87b959f87a3 + SHA512: 7807641e65516670dc10426364a3d45ecfb65555827e551b4a595bad373e1292797414abf0f67bed5d66815090afe6a6a3e3e29f8b7dbc4da462c43a3e8791b6 + +## 发布记 + +许多提交者、开发者和提供漏洞报告的用户帮助我们发布了这个版本。在此感谢这些人的贡献。 + +特别感谢 wanabe 报告了 2.5.2 包遗失的问题。 From 236f0455eb4ff817c14fc8c3743858878ed9a556 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 20 Oct 2018 13:24:55 +0900 Subject: [PATCH 0209/2563] [KO] Translate news 2018-10-17~18 (#1863) --- ...-in-some-formats-of-pack-cve-2018-16396.md | 38 +++++++++++++ ...-does-not-work-correctly-cve-2018-16395.md | 50 +++++++++++++++++ .../_posts/2018-10-17-ruby-2-3-8-released.md | 55 +++++++++++++++++++ .../_posts/2018-10-17-ruby-2-4-5-released.md | 54 ++++++++++++++++++ .../_posts/2018-10-17-ruby-2-5-2-released.md | 55 +++++++++++++++++++ .../_posts/2018-10-18-ruby-2-5-3-released.md | 53 ++++++++++++++++++ 6 files changed, 305 insertions(+) create mode 100644 ko/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md create mode 100644 ko/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md create mode 100644 ko/news/_posts/2018-10-17-ruby-2-3-8-released.md create mode 100644 ko/news/_posts/2018-10-17-ruby-2-4-5-released.md create mode 100644 ko/news/_posts/2018-10-17-ruby-2-5-2-released.md create mode 100644 ko/news/_posts/2018-10-18-ruby-2-5-3-released.md diff --git a/ko/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/ko/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md new file mode 100644 index 0000000000..35c982e41f --- /dev/null +++ b/ko/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2018-16396: tainted 플래그가 Array#pack, String#unpack의 일부 형식에서 전파되지 않는 취약점" +author: "usa" +translator: "shia" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: ko +--- + +`Array#pack`과 `String#unpack`의 일부 형식에서 원본 데이터의 tainted 플래그가 반환되는 값에 전파되지 않았습니다. +이 취약점은 CVE 아이디 [CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396)으로 할당되었습니다. + +## 세부 내용 + +`Array#pack` 메소드에서는 인수로 지정된 형식에 따라서 수신자인 배열의 내용을 문자열로 변환하여 반환합니다. +만약 수신자가 오염된 객체를 가지고 있는 경우, 반환하는 문자열도 오염되어 있어야 합니다. +수신자를 배열로 변환하는 `String#unpack` 메소드 역시 자신의 tainted 플래그를 변환 후의 배열에 전파해야 합니다. +하지만 `B`, `b`, `H`, `h` 형식을 사용하는 경우, 오염 정보가 전파되지 않았습니다. +그러므로 만약 스크립트가 신뢰할 수 없는 입력을 `Array#pack`이나 `String#unpack`을 통해 해당 형식으로 처리하고, 신뢰성을 오염 플래그로 확인하고 있었다면, 그 처리는 동작하지 않았을 가능성이 있습니다. + +해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. + +## 해당 버전 + +* 루비 2.3 버전대: 2.3.7 이하 +* 루비 2.4 버전대: 2.4.4 이하 +* 루비 2.5 버전대: 2.5.1 이하 +* 루비 2.6 버전대: 2.6.0-preview2 +* 리비전 65125 이전의 트렁크 + +## 도움을 준 사람 + +이 문제는 [Chris Seaton](https://hackerone.com/chrisseaton)이 보고했습니다. + +## 수정 이력 + +* 2018-10-17 23:00:00 (KST) 최초 공개 diff --git a/ko/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/ko/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md new file mode 100644 index 0000000000..a1b762c33c --- /dev/null +++ b/ko/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "CVE-2018-16395: OpenSSL::X509::Name 비교가 올바르게 동작하지 않는 취약점" +author: "usa" +translator: "shia" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: ko +--- + +루비의 표준 내장 라이브러리인 openssl에서는 `OpenSSL::X509::Name` 클래스를 이용하여 X.509 증명서에 사용되는 이름 정보를 다룹니다. +그러나 이 클래스의 인스턴스를 서로 비교하는 경우, 데이터의 내용에 따라서 일치해서는 안 되는 경우에도 일치하는 것으로 처리되는 취약점이 발견되었습니다. +이 취약점은 CVE 아이디 [CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395)로 할당되었습니다. + +## 세부 내용 + +`OpenSSL::X509::Name`의 인스턴스는 CN, C 등의 X.509 증명서 내에서 사용되는 정보를 포함하고 있습니다. +인스턴스를 비교할 때는 같은 키를 가지는 요소끼리 비교하여, 같은 키 집합을 가지고 있으며 각 키의 값이 전부 일치하는 경우에만 인스턴스가 동일하다고 봅니다. +그런데 요소의 값을 비교할 때, 인수자(오른쪽) 요소의 값이 수신자(왼쪽) 요소의 값으로 시작하는 경우에도 요소의 값 비교에 성공한 것으로 처리되는 문제가 존재했습니다. +이 때문에, 악의를 가지고 생성된 X.509 증명서를 원본 증명서와 비교했을 경우, 동일하다고 판정할 가능성이 있습니다. + +이 문제의 영향을 받는 버전을 사용하는 루비 사용자는 가급적 빨리 문제가 수정된 버전으로 업그레이드하거나 루비 2.4 이후 버전 사용자라면 아래의 해결 방법을 적용하기 바랍니다. + +## 해당 버전 + +* 루비 2.3 버전대: 2.3.7 이하 +* 루비 2.4 버전대: 2.4.4 이하 +* 루비 2.5 버전대: 2.5.1 이하 +* 루비 2.6 버전대: 2.6.0-preview2 +* 리비전 65139 이전의 트렁크 + +## 해결 방법 + +루비 2.4 이후의 버전대를 사용하는 경우에는 openssl 젬의 버전을 2.1.2 이상을 설치하는 것으로 이 취약성이 수정된 openssl 확장 라이브러리를 이용할 수 있습니다. + +``` +gem install openssl -v ">= 2.1.2" +``` + +또한 루비 2.3 버전대에서는 openssl 젬을 설치하더라도 루비에 내장된 openssl 확장 라이브러리가 사용되므로 이 취약성을 해결할 수 없습니다. +루비를 최신 버전으로 업그레이드해주세요. + +## 도움을 준 사람 + +이 문제는 [Tyler Eckstein](https://hackerone.com/tylereckstein)이 보고했습니다. + +## 수정 이력 + +* 2018-10-17 23:00:00 (KST) 최초 공개 +* 취약점이 수정된 리비전을 명시 2018-10-19 09:00:00 (KST) diff --git a/ko/news/_posts/2018-10-17-ruby-2-3-8-released.md b/ko/news/_posts/2018-10-17-ruby-2-3-8-released.md new file mode 100644 index 0000000000..1dea6e7718 --- /dev/null +++ b/ko/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "루비 2.3.8 릴리스" +author: "usa" +translator: "shia" +date: 2018-10-17 17:00:00 +0000 +lang: ko +--- + +루비 2.3.8이 릴리스 되었습니다. +이번 릴리스는 다수의 보안 수정을 포함합니다. +세부 내용은 아래 주제를 확인해주세요. + +* [CVE-2018-16396: tainted 플래그가 Array#pack, String#unpack의 일부 형식에서 전파되지 않는 취약점](/ko/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 비교가 올바르게 동작하지 않는 취약점](/ko/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +또한 이 릴리스는 유지보수를 위하여 Windows 10 2018년 10월 버전에서의 Visual Studio 2014를 지원하기 위한 수정을 포함하고 있습니다. + +루비 2.3은 현재 보안 유지보수 단계이고, 기한은 2019년 3월입니다. +이날 이후 루비 2.3의 유지보수는 종료됩니다. +루비 2.5, 2.4 등의 새 루비 버전으로 업그레이드할 계획을 세우길 바랍니다. + +## 다운로드 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2) + + SIZE: 14418609 bytes + SHA1: 91b31abdba00a346c155fd32bd32d3cec3b73bc4 + SHA256: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + SHA512: 6d79e0d25757fd37188a8db3e630a52539bce7927fcb779a2ce9a97b9e5f330753035c16843552f1a1fb6c9a1e5c0f916b3cc8b5c0bfe81e20f35f8442e40ae8 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz) + + SIZE: 17858806 bytes + SHA1: 69311991a9cd2c8e3c86a0dbbaaf915ae91f0bec + SHA256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + SHA512: 43b02f2f9de6baf281f09a49fd07367127b4de1fb14473380d06bfa7667990d8f722ae2d33cf7d15b02f7e799515f21aebd308897c4c2a5461ebab4049d6c7ef + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz) + + SIZE: 11465792 bytes + SHA1: 9771acdad851bbf0ef349bb7da5d0ffc91a860ed + SHA256: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + SHA512: 06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip) + + SIZE: 19911652 bytes + SHA1: ad9e0ec7c874701832c9e224eb5b9e2258f3a041 + SHA256: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + SHA512: 732d69cd55f1c273a02005306720fd8fc9d77398177db9509452be31820976b54b30319d9e6bc36fb6bcd7af656f807ef6c26d8955012c8b20424912a2f51bf8 + +## 릴리스 코멘트 + +이 릴리스를 만드는 데 도움을 준 모든 분에게 감사합니다. diff --git a/ko/news/_posts/2018-10-17-ruby-2-4-5-released.md b/ko/news/_posts/2018-10-17-ruby-2-4-5-released.md new file mode 100644 index 0000000000..738230bc26 --- /dev/null +++ b/ko/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "루비 2.4.5 릴리스" +author: "usa" +translator: "shia" +date: 2018-10-17 17:00:00 +0000 +lang: ko +--- + +루비 2.4.5가 릴리스 되었습니다. + +이번 릴리스는 이전 릴리스로부터 40여 개의 버그 수정과 보안 취약점 수정을 포함합니다. +자세한 설명은 아래를 참고하세요. + +* [CVE-2018-16396: tainted 플래그가 Array#pack, String#unpack의 일부 형식에서 전파되지 않는 취약점](/ko/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 비교가 올바르게 동작하지 않는 취약점](/ko/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +[커밋 로그](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5)를 확인해주세요. + +## 다운로드 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2) + + SIZE: 12667524 bytes + SHA1: 0e1f184556507c22bc59054496c0af7cf28fb188 + SHA256: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + SHA512: 7034fcaeaee41f14bc0ecce0d3d93bd1abe95310e1a0b95fac66eaba867adfb2bf7ba4d0d70d67a15ce8df16052dee405c38cdb18987602e64a2f701d37d3df0 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz) + + SIZE: 14232887 bytes + SHA1: 4d650f302f1ec00256450b112bb023644b6ab6dd + SHA256: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + SHA512: 39863b404b02bb3d2430fd19fb057bdded5e816842a1a1f00092de69cc360db836225b2186e18b6ee099ec5e8c60f89178a4297b2d221234b4962c70594c2b8e + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz) + + SIZE: 10064712 bytes + SHA1: b5be590b37487248da3a85541a62fb81f7f7e29a + SHA256: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + SHA512: 658f676c623109f4c7499615e191c98c3dd72cfcaeeaf121337d0b8a33c5243145edd50ec5e2775f988e3cd19788984f105fa165e3049779066566f67172c1b4 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip) + + SIZE: 15694028 bytes + SHA1: 0bded7dfabfce5615162a1acd1341966a63e40f4 + SHA256: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + SHA512: 9baec2b33604d5b2180b83bef9b39349d3f73b2eb5a7d44410572d893f76e6a0e1c39c572e6084a4e2466ca148ff2f377b5458144fe9b859a80cdf7b41fd5d72 + +## 릴리스 코멘트 + +이 릴리스를 만드는 데 도움을 준 모든 분에게 감사합니다. + +이 릴리스를 포함한 루비 2.4의 유지보수는 Ruby Association의 "루비 안정 버전에 관한 협의"에 기반해 이루어집니다. diff --git a/ko/news/_posts/2018-10-17-ruby-2-5-2-released.md b/ko/news/_posts/2018-10-17-ruby-2-5-2-released.md new file mode 100644 index 0000000000..301b0bada7 --- /dev/null +++ b/ko/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "루비 2.5.2 릴리스" +author: "nagachika" +translator: "shia" +date: 2018-10-17 14:00:00 +0000 +lang: ko +--- + +루비 2.5.2가 릴리스 되었습니다. + +이번 릴리스는 몇몇 버그 수정과 보안 수정을 포함합니다. + +* [CVE-2018-16396: tainted 플래그가 Array#pack, String#unpack의 일부 형식에서 전파되지 않는 취약점](/ko/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 비교가 올바르게 동작하지 않는 취약점](/ko/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + + +이번 릴리스는 몇몇 버그 수정 또한 포함됩니다. +[커밋 로그](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2)를 확인해주세요. + +## 다운로드 + +* + + SIZE: 13592827 bytes + SHA1: 562d6b8be5a0804ed7617bb0465b288d44b2defc + SHA256: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + SHA512: 9f9388a162a3ae9c14ec8999fa3b12ff5397de14f55996cc8761d21c757113db37ace4d326b9606de7ad3a5875aa94fec900dd9b81b2fb0dff558c39422f4aa1 + +* + + SIZE: 15600481 bytes + SHA1: 7e503e75621b69cedb1d8b3fa2bee5aef2f1a714 + SHA256: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + SHA512: 9aee69d2ac6aefe2d81649055ba7b99e4e58cf203ac75083ba1b35b3a4fd7f72ee257e26ca80460da5c2a7817fd507aecec9c143f170e16980625e95eeb31686 + +* + + SIZE: 11071052 bytes + SHA1: ea352c9bcaa47ab094cdec0f4946c62b1a1769d7 + SHA256: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + SHA512: b6b805b18ba6da7b28c7e2bdf3da7eaf1dcc15ae22744228d032e8ddec2fbba4cc4fb822b9ef7f6b561052113a4f28dc50ccfa4f00e3728a35ce27137f4a70e6 + +* + + SIZE: 18786735 bytes + SHA1: 98fdbae195bbbc3f131d49d9e60bf3fbb8b56111 + SHA256: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + SHA512: 1b804337099ecfa045eecf1a4e3f35fa786bd6e835dc50267d6a3792a782b193ec9708564e3ac5169a95ef4afc2c131782af937dafd8122117e8cff577736c0f + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 신고해 준 사용자들이 이 릴리스를 만드는 데 도움을 +주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2018-10-18-ruby-2-5-3-released.md b/ko/news/_posts/2018-10-18-ruby-2-5-3-released.md new file mode 100644 index 0000000000..59b9517480 --- /dev/null +++ b/ko/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "루비 2.5.3 릴리스" +author: "nagachika" +translator: "shia" +date: 2018-10-18 12:30:00 +0000 +lang: ko +--- + +루비 2.5.3이 릴리스 되었습니다. + +2.5.2 패키지에는 빌드에 필요한 몇몇 파일이 빠져있었습니다. +자세한 정보는 [[Bug #15232]](https://bugs.ruby-lang.org/issues/15232)를 확인하세요. + +이것은 패키징 문제를 해결하기 위한 릴리스입니다. 그러므로 2.5.2로부터 추가 버그 수정을 포함하고 있지 않습니다. + +## 다운로드 + +* + + SIZE: 14159874 bytes + SHA1: d47ede7dab79de25fcc274dfcad0f92f389a4313 + SHA256: 228a787ba68a7b20ac6e1d5af3d176d36e8ed600eb754d6325da341c3088ed76 + SHA512: 6fe89fe9d406bb454457442f908774577369ab2501da4fd15725ccbab77675b88faad739a6c8ad1c7b6690b439a27de5e08035b7546406cdeca65c7b295e2c77 + +* + + SIZE: 15972577 bytes + SHA1: f919a9fbcdb7abecd887157b49833663c5c15fda + SHA256: 9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c + SHA512: d13dc55655076f7d983481155cccc06eb51c51c8eabfc3edcc22e1dabad931eb28c0b2a23d9589b5132faf18c3c0077f8719cf33a91d71bb72213d306edde1a0 + +* + + SIZE: 11453336 bytes + SHA1: 5acbdea1ced1e36684268e1cb6f8a4e7669bce77 + SHA256: 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f + SHA512: 6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518 + +* + + SIZE: 19170700 bytes + SHA1: c34a5a47d5ac64ef25368b5dffc3df2854531d7a + SHA256: 622ffa051470e967f3e51cc6347783e93d9b09a4557d4f5a78efb87b959f87a3 + SHA512: 7807641e65516670dc10426364a3d45ecfb65555827e551b4a595bad373e1292797414abf0f67bed5d66815090afe6a6a3e3e29f8b7dbc4da462c43a3e8791b6 + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 신고해 준 사용자들이 이 릴리스를 만드는 데 도움을 +주었습니다. +그들의 기여에 감사드립니다. + +특히 2.5.2 패키지의 문제에 대해서 보고해주셔서 감사합니다. From a58e049d76a9db5f8d1fa63de80f18b2947f6fbe Mon Sep 17 00:00:00 2001 From: Tadashi Saito Date: Sat, 20 Oct 2018 20:39:02 +0900 Subject: [PATCH 0210/2563] Update RDoc URL for RDoc itself. --- bg/documentation/index.md | 2 +- en/documentation/index.md | 2 +- es/documentation/index.md | 2 +- fr/documentation/index.md | 2 +- id/documentation/index.md | 2 +- it/documentation/index.md | 2 +- ja/documentation/index.md | 2 +- ko/documentation/index.md | 2 +- pl/documentation/index.md | 2 +- pt/documentation/index.md | 2 +- ru/documentation/index.md | 2 +- tr/documentation/index.md | 2 +- vi/documentation/index.md | 2 +- zh_cn/documentation/index.md | 2 +- zh_tw/documentation/index.md | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bg/documentation/index.md b/bg/documentation/index.md index a037f7ab5b..f83681d517 100644 --- a/bg/documentation/index.md +++ b/bg/documentation/index.md @@ -145,7 +145,7 @@ ruby -v [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/en/documentation/index.md b/en/documentation/index.md index 5b2b837700..78d3bdab23 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -164,7 +164,7 @@ If you have questions about Ruby the [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ diff --git a/es/documentation/index.md b/es/documentation/index.md index 4b296b00f3..c848af22d3 100644 --- a/es/documentation/index.md +++ b/es/documentation/index.md @@ -77,7 +77,7 @@ correo](/es/community/mailing-lists/) es un buen lugar para comenzar. [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://www.rubyist.net/~slagell/ruby/ [7]: http://www.ruby-doc.org/core -[8]: http://docs.seattlerb.org/rdoc/ +[8]: https://ruby.github.io/rdoc [9]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [11]: http://ruby-doc.org diff --git a/fr/documentation/index.md b/fr/documentation/index.md index 9b5bfd44e2..2f4a6111d1 100644 --- a/fr/documentation/index.md +++ b/fr/documentation/index.md @@ -147,7 +147,7 @@ la [liste de diffusion](/en/community/mailing-lists/) est un bon endroit [14]: http://www.rubyist.net/~slagell/ruby/ [15]: http://en.wikibooks.org/wiki/Ruby_programming_language [16]: http://www.ruby-doc.org/core -[17]: http://docs.seattlerb.org/rdoc/ +[17]: https://ruby.github.io/rdoc [18]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [20]: http://rubydoc.info/ diff --git a/id/documentation/index.md b/id/documentation/index.md index 6021d7cf4b..7bb48e4e11 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -161,7 +161,7 @@ adalah tempat yang baik untuk memulai. [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ diff --git a/it/documentation/index.md b/it/documentation/index.md index 7f022b8f8c..fb6f27120d 100644 --- a/it/documentation/index.md +++ b/it/documentation/index.md @@ -146,7 +146,7 @@ iniziare. [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/ja/documentation/index.md b/ja/documentation/index.md index c8209b74c1..667e5e7333 100644 --- a/ja/documentation/index.md +++ b/ja/documentation/index.md @@ -44,7 +44,7 @@ Rubyでプログラミングする際に役立つドキュメントを紹介し ### リファレンス [Ruby コアリファレンス (英語)](http://www.ruby-doc.org/core/) -: [RDoc](http://docs.seattlerb.org/rdoc/)を用いてRubyのソースコードから直接生成したものです。 +: [RDoc](https://ruby.github.io/rdoc)を用いてRubyのソースコードから直接生成したものです。 String, ArrayやSymbol等のコアクラスやモジュールのリファレンスがあります。 [Ruby 標準ライブラリリファレンス (英語)](http://www.ruby-doc.org/stdlib/) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 3128407dc0..7e1d7f09f8 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -155,7 +155,7 @@ ruby -v [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/pl/documentation/index.md b/pl/documentation/index.md index 0530e66901..1cd49787fc 100644 --- a/pl/documentation/index.md +++ b/pl/documentation/index.md @@ -148,7 +148,7 @@ Jeśli szukasz pomocy w języku polskim, zajrzyj na [forum][pl-2]. [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/pt/documentation/index.md b/pt/documentation/index.md index c6fbf0b9b3..4497ac397b 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -157,7 +157,7 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/ru/documentation/index.md b/ru/documentation/index.md index e432dc3768..bc864c88d9 100644 --- a/ru/documentation/index.md +++ b/ru/documentation/index.md @@ -151,7 +151,7 @@ ruby -v [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/tr/documentation/index.md b/tr/documentation/index.md index 743e77ee24..282c01a955 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -116,7 +116,7 @@ listeleri](/en/community/mailing-lists/) iyi bir başlangıç olacaktır. [13]: http://www.belgeler.org/uygulamalar/ruby/ruby-ug.html [14]: http://en.wikibooks.org/wiki/Ruby_programming_language [15]: http://www.ruby-doc.org/core -[16]: http://docs.seattlerb.org/rdoc/ +[16]: https://ruby.github.io/rdoc [17]: http://www.ruby-doc.org/stdlib [19]: http://www.rubydoc.info/ [20]: http://rubydocs.org/ diff --git a/vi/documentation/index.md b/vi/documentation/index.md index 820d2e70b0..a87912e63d 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -156,7 +156,7 @@ là một nơi tuyệt vời. [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index 13ced2520a..8c4510d18d 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -122,7 +122,7 @@ ruby -v [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index a3ca8cfa1d..be5566a9ed 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -113,7 +113,7 @@ lang: zh_tw [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: http://docs.seattlerb.org/rdoc/ +[14]: https://ruby.github.io/rdoc [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ From 9fdc5783f007f3fe3fd4efcfdf7059c2bd584a06 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Mon, 22 Oct 2018 16:05:55 +0900 Subject: [PATCH 0211/2563] Translate release posts (zh_tw) --- ...-in-some-formats-of-pack-cve-2018-16396.md | 33 ++++++++++++ ...-does-not-work-correctly-cve-2018-16395.md | 43 +++++++++++++++ .../_posts/2018-10-17-ruby-2-3-8-released.md | 51 ++++++++++++++++++ .../_posts/2018-10-17-ruby-2-4-5-released.md | 53 +++++++++++++++++++ .../_posts/2018-10-17-ruby-2-5-2-released.md | 51 ++++++++++++++++++ .../_posts/2018-10-18-ruby-2-5-3-released.md | 50 +++++++++++++++++ 6 files changed, 281 insertions(+) create mode 100644 zh_tw/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md create mode 100644 zh_tw/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md create mode 100644 zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md create mode 100644 zh_tw/news/_posts/2018-10-17-ruby-2-4-5-released.md create mode 100644 zh_tw/news/_posts/2018-10-17-ruby-2-5-2-released.md create mode 100644 zh_tw/news/_posts/2018-10-18-ruby-2-5-3-released.md diff --git a/zh_tw/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/zh_tw/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md new file mode 100644 index 0000000000..42f6fa5a99 --- /dev/null +++ b/zh_tw/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -0,0 +1,33 @@ +--- +layout: news_post +title: "CVE-2018-16396: 特定命令下受污染標記未能如實展開到 Array#pack 和 String#unpack 結果中" +author: "usa" +translator: "Delton Ding" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: zh_tw +--- + +使用 `Array#pack` 和 `String#unpack` 處理某些特定格式時,原資料的受污染標記未能展開到返回的字串或陣列中。此缺陷已被分配 CVE 編號 [CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396)。 + +## 細節 + +`Array#pack` 方法將其接收的內容轉換成某一特定格式。當參數包含一些受污染的物件,返回的字串也應包含這些污染。`Array#unpack` 方法將參數展開成一個陣列,也應該將受污染的標記轉換到返回的陣列中。然而,當命令含有 `B`、`b`、`H` 和 `h` 時,污染標記並不會被展開。所以,如果你的腳本使用 `Array#pack` 和/或 `String#unpack` 來處理了不可靠的輸入後,嘗試檢查這些受污染標記時,檢查結果可能出錯。 + +所有受到影響的用戶請儘快升級。 + +## 受影響的版本 + +* Ruby 2.3 系列: 2.3.7 及更早版本 +* Ruby 2.4 系列: 2.4.4 及更早版本 +* Ruby 2.5 系列: 2.5.1 及更早版本 +* Ruby 2.6 系列: 2.6.0-preview2 及更早版本 +* 早於 r65125 的全部版本 + +## 鳴謝 + +感謝 [Chris Seaton](https://hackerone.com/chrisseaton) 回報了這一問題。 + +## 歷史 + +* 最早發佈於 2018-10-17 14:00:00 (UTC) diff --git a/zh_tw/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/zh_tw/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md new file mode 100644 index 0000000000..8c98143bf3 --- /dev/null +++ b/zh_tw/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2018-16395: OpenSSL::X509::Name 相等檢查未正常工作" +author: "usa" +translator: "Delton Ding" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: zh_tw +--- + +Ruby 內建的 OpenSSL 庫中 `OpenSSL::X509::Name` 相等檢查未正常工作。此缺陷已被分配 CVE 編號 [CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395)。 + +## 細節 + +`OpenSSL::X509::Name` 實體包含例如 CN、C 等主體。`OpenSSL::X509::Name` 當且僅當所有主體皆相等時相等。然而有一個漏洞使得當參數(右側)已接收者開頭(左側)時,錯誤判斷兩者相等。當傳入一個惡意的 X.509 證書和已有證書比較時,有可能判斷錯誤兩者相等。 + +我們高度建議您儘快升級 Ruby 版本,或採取下述臨時方案。 + +## 受影響的版本 + +* Ruby 2.3 系列: 2.3.7 及更早版本 +* Ruby 2.4 系列: 2.4.4 及更早版本 +* Ruby 2.5 系列: 2.5.1 及更早版本 +* Ruby 2.6 系列: 2.6.0-preview2 及更早版本 +* 早於 r65139 的全部版本 + +## 臨時方案 + +openssl gem 2.1.2 之後的版本修復了這一缺陷,所以當您正在使用 Ruby 2.4 之後的版本時,直接升級 OpenSSL gem 亦能修復該問題。 + +``` +gem install openssl -v ">= 2.1.2" +``` + +然而在 Ruby 2.3 版本中,你不能覆蓋內建的 OpenSSL gem,請儘快升級 Ruby 到最新版本。 + +## 鳴謝 + +感謝 [Tyler Eckstein](https://hackerone.com/tylereckstein) 回報了這一問題。 + +## 歷史 + +* 最早發佈於 at 2018-10-17 14:00:00 (UTC) diff --git a/zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md b/zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md new file mode 100644 index 0000000000..aef0d29305 --- /dev/null +++ b/zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Ruby 2.3.8 已發佈" +author: "usa" +translator: "Delton Ding" +date: 2018-10-17 17:00:00 +0000 +lang: zh_tw +--- + +Ruby 2.3.8 已發佈。此次發佈修復了數個安全性缺陷,請查看下述主題以獲取詳情。 + +* [CVE-2018-16396: 特定命令下受污染標記未能如實展開到 Array#pack 和 String#unpack 結果中](/zh_cn/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 相等檢查未正常工作](/zh_cn/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +此次更新亦包含一個非安全性修復以支援 Windows 10 2018 年 10 月版本上的 Visual Studio。 + +Ruby 2.3 處於安全維護期,並將於 2019 年 3 月底停止維護。此後 Ruby 2.3 的全部維護將終止。我們建議您開始規劃遷移到更新版本的 Ruby,例如 Ruby 2.5 或 2.4。 + +## 下載 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2) + + SIZE: 14418609 bytes + SHA1: 91b31abdba00a346c155fd32bd32d3cec3b73bc4 + SHA256: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + SHA512: 6d79e0d25757fd37188a8db3e630a52539bce7927fcb779a2ce9a97b9e5f330753035c16843552f1a1fb6c9a1e5c0f916b3cc8b5c0bfe81e20f35f8442e40ae8 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz) + + SIZE: 17858806 bytes + SHA1: 69311991a9cd2c8e3c86a0dbbaaf915ae91f0bec + SHA256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + SHA512: 43b02f2f9de6baf281f09a49fd07367127b4de1fb14473380d06bfa7667990d8f722ae2d33cf7d15b02f7e799515f21aebd308897c4c2a5461ebab4049d6c7ef + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz) + + SIZE: 11465792 bytes + SHA1: 9771acdad851bbf0ef349bb7da5d0ffc91a860ed + SHA256: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + SHA512: 06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip) + + SIZE: 19911652 bytes + SHA1: ad9e0ec7c874701832c9e224eb5b9e2258f3a041 + SHA256: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + SHA512: 732d69cd55f1c273a02005306720fd8fc9d77398177db9509452be31820976b54b30319d9e6bc36fb6bcd7af656f807ef6c26d8955012c8b20424912a2f51bf8 + +## 發佈記 + +感謝所有幫助發佈這一版本的人。 diff --git a/zh_tw/news/_posts/2018-10-17-ruby-2-4-5-released.md b/zh_tw/news/_posts/2018-10-17-ruby-2-4-5-released.md new file mode 100644 index 0000000000..e19363208b --- /dev/null +++ b/zh_tw/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 2.4.5 已發佈" +author: "usa" +translator: "Delton Ding" +date: 2018-10-17 17:00:00 +0000 +lang: zh_tw +--- + +Ruby 2.4.5 已發佈。 + +此次更新相較於上個版本修復了約 40 個缺陷,包含數個安全性修復。請查看以下主題以獲取詳情。 + +* [CVE-2018-16396: 特定命令下受污染標記未能如實展開到 Array#pack 和 String#unpack 結果中](/zh_cn/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 相等檢查未正常工作](/zh_cn/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +詳見 [commit logs](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) 進一步瞭解。 + +## 下載 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2) + + SIZE: 12667524 bytes + SHA1: 0e1f184556507c22bc59054496c0af7cf28fb188 + SHA256: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + SHA512: 7034fcaeaee41f14bc0ecce0d3d93bd1abe95310e1a0b95fac66eaba867adfb2bf7ba4d0d70d67a15ce8df16052dee405c38cdb18987602e64a2f701d37d3df0 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz) + + SIZE: 14232887 bytes + SHA1: 4d650f302f1ec00256450b112bb023644b6ab6dd + SHA256: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + SHA512: 39863b404b02bb3d2430fd19fb057bdded5e816842a1a1f00092de69cc360db836225b2186e18b6ee099ec5e8c60f89178a4297b2d221234b4962c70594c2b8e + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz) + + SIZE: 10064712 bytes + SHA1: b5be590b37487248da3a85541a62fb81f7f7e29a + SHA256: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + SHA512: 658f676c623109f4c7499615e191c98c3dd72cfcaeeaf121337d0b8a33c5243145edd50ec5e2775f988e3cd19788984f105fa165e3049779066566f67172c1b4 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip) + + SIZE: 15694028 bytes + SHA1: 0bded7dfabfce5615162a1acd1341966a63e40f4 + SHA256: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + SHA512: 9baec2b33604d5b2180b83bef9b39349d3f73b2eb5a7d44410572d893f76e6a0e1c39c572e6084a4e2466ca148ff2f377b5458144fe9b859a80cdf7b41fd5d72 + +## 發佈記 + +感謝所有幫助發佈這一版本的人。 + +Ruby 2.4 的維護,包括這個版本在內,是基於 Ruby 協會的「Ruby 穩定版本協議」進行維護的。 diff --git a/zh_tw/news/_posts/2018-10-17-ruby-2-5-2-released.md b/zh_tw/news/_posts/2018-10-17-ruby-2-5-2-released.md new file mode 100644 index 0000000000..38d79c9ec8 --- /dev/null +++ b/zh_tw/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Ruby 2.5.2 已發佈" +author: "nagachika" +translator: "Delton Ding" +date: 2018-10-17 14:00:00 +0000 +lang: zh_tw +--- + +Ruby 2.5.2 已發佈。此次更新修復了數個缺陷,包含數個安全性修復。請查看以下主題以獲取詳情。 + +* [CVE-2018-16396: 特定命令下受污染標記未能如實展開到 Array#pack 和 String#unpack 結果中](/zh_cn/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: OpenSSL::X509::Name 相等檢查未正常工作](/zh_cn/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +詳見 [commit logs](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) 進一步瞭解。 + +## 下載 + +* + + SIZE: 13592827 bytes + SHA1: 562d6b8be5a0804ed7617bb0465b288d44b2defc + SHA256: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + SHA512: 9f9388a162a3ae9c14ec8999fa3b12ff5397de14f55996cc8761d21c757113db37ace4d326b9606de7ad3a5875aa94fec900dd9b81b2fb0dff558c39422f4aa1 + +* + + SIZE: 15600481 bytes + SHA1: 7e503e75621b69cedb1d8b3fa2bee5aef2f1a714 + SHA256: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + SHA512: 9aee69d2ac6aefe2d81649055ba7b99e4e58cf203ac75083ba1b35b3a4fd7f72ee257e26ca80460da5c2a7817fd507aecec9c143f170e16980625e95eeb31686 + +* + + SIZE: 11071052 bytes + SHA1: ea352c9bcaa47ab094cdec0f4946c62b1a1769d7 + SHA256: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + SHA512: b6b805b18ba6da7b28c7e2bdf3da7eaf1dcc15ae22744228d032e8ddec2fbba4cc4fb822b9ef7f6b561052113a4f28dc50ccfa4f00e3728a35ce27137f4a70e6 + +* + + SIZE: 18786735 bytes + SHA1: 98fdbae195bbbc3f131d49d9e60bf3fbb8b56111 + SHA256: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + SHA512: 1b804337099ecfa045eecf1a4e3f35fa786bd6e835dc50267d6a3792a782b193ec9708564e3ac5169a95ef4afc2c131782af937dafd8122117e8cff577736c0f + +## 發佈記 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈。 + +在此感謝他們。 diff --git a/zh_tw/news/_posts/2018-10-18-ruby-2-5-3-released.md b/zh_tw/news/_posts/2018-10-18-ruby-2-5-3-released.md new file mode 100644 index 0000000000..25fb204b69 --- /dev/null +++ b/zh_tw/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 2.5.3 已發佈" +author: "nagachika" +translator: "Delton Ding" +date: 2018-10-18 12:30:00 +0000 +lang: zh_tw +--- + +Ruby 2.5.3 已發佈。 + +Ruby 2.5.2 版本發佈時遺漏了一些構建必需之文件。詳見 [[漏洞 #15232]](https://bugs.ruby-lang.org/issues/15232)。 + +此發佈僅修復包缺失問題,並未修復任何 2.5.2 以來的其它問題。 + +## 下載 + +* + + SIZE: 14159874 bytes + SHA1: d47ede7dab79de25fcc274dfcad0f92f389a4313 + SHA256: 228a787ba68a7b20ac6e1d5af3d176d36e8ed600eb754d6325da341c3088ed76 + SHA512: 6fe89fe9d406bb454457442f908774577369ab2501da4fd15725ccbab77675b88faad739a6c8ad1c7b6690b439a27de5e08035b7546406cdeca65c7b295e2c77 + +* + + SIZE: 15972577 bytes + SHA1: f919a9fbcdb7abecd887157b49833663c5c15fda + SHA256: 9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c + SHA512: d13dc55655076f7d983481155cccc06eb51c51c8eabfc3edcc22e1dabad931eb28c0b2a23d9589b5132faf18c3c0077f8719cf33a91d71bb72213d306edde1a0 + +* + + SIZE: 11453336 bytes + SHA1: 5acbdea1ced1e36684268e1cb6f8a4e7669bce77 + SHA256: 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f + SHA512: 6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518 + +* + + SIZE: 19170700 bytes + SHA1: c34a5a47d5ac64ef25368b5dffc3df2854531d7a + SHA256: 622ffa051470e967f3e51cc6347783e93d9b09a4557d4f5a78efb87b959f87a3 + SHA512: 7807641e65516670dc10426364a3d45ecfb65555827e551b4a595bad373e1292797414abf0f67bed5d66815090afe6a6a3e3e29f8b7dbc4da462c43a3e8791b6 + +## 發佈記 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝他們。 + +特別感謝 wanabe 報告了 2.5.2 包遺失的問題。 From 2eb3940911d6e19f9dcdf01b4bc0d3021f6a8f8c Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 30 Oct 2018 21:17:31 +0100 Subject: [PATCH 0212/2563] Fix RDoc URL --- bg/documentation/index.md | 2 +- en/documentation/index.md | 2 +- es/documentation/index.md | 2 +- fr/documentation/index.md | 2 +- id/documentation/index.md | 2 +- it/documentation/index.md | 2 +- ja/documentation/index.md | 2 +- ko/documentation/index.md | 2 +- pl/documentation/index.md | 2 +- pt/documentation/index.md | 2 +- ru/documentation/index.md | 2 +- tr/documentation/index.md | 2 +- vi/documentation/index.md | 2 +- zh_cn/documentation/index.md | 2 +- zh_tw/documentation/index.md | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bg/documentation/index.md b/bg/documentation/index.md index f83681d517..db176cd598 100644 --- a/bg/documentation/index.md +++ b/bg/documentation/index.md @@ -145,7 +145,7 @@ ruby -v [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/en/documentation/index.md b/en/documentation/index.md index 78d3bdab23..c220dc1326 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -164,7 +164,7 @@ If you have questions about Ruby the [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ diff --git a/es/documentation/index.md b/es/documentation/index.md index c848af22d3..55b8ee2dec 100644 --- a/es/documentation/index.md +++ b/es/documentation/index.md @@ -77,7 +77,7 @@ correo](/es/community/mailing-lists/) es un buen lugar para comenzar. [5]: http://mislav.uniqpath.com/poignant-guide/ [6]: http://www.rubyist.net/~slagell/ruby/ [7]: http://www.ruby-doc.org/core -[8]: https://ruby.github.io/rdoc +[8]: https://ruby.github.io/rdoc/ [9]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [11]: http://ruby-doc.org diff --git a/fr/documentation/index.md b/fr/documentation/index.md index 2f4a6111d1..f77df6a595 100644 --- a/fr/documentation/index.md +++ b/fr/documentation/index.md @@ -147,7 +147,7 @@ la [liste de diffusion](/en/community/mailing-lists/) est un bon endroit [14]: http://www.rubyist.net/~slagell/ruby/ [15]: http://en.wikibooks.org/wiki/Ruby_programming_language [16]: http://www.ruby-doc.org/core -[17]: https://ruby.github.io/rdoc +[17]: https://ruby.github.io/rdoc/ [18]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [20]: http://rubydoc.info/ diff --git a/id/documentation/index.md b/id/documentation/index.md index 7bb48e4e11..283f399f48 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -161,7 +161,7 @@ adalah tempat yang baik untuk memulai. [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ diff --git a/it/documentation/index.md b/it/documentation/index.md index fb6f27120d..2c48535f25 100644 --- a/it/documentation/index.md +++ b/it/documentation/index.md @@ -146,7 +146,7 @@ iniziare. [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/ja/documentation/index.md b/ja/documentation/index.md index 667e5e7333..82dcd4b430 100644 --- a/ja/documentation/index.md +++ b/ja/documentation/index.md @@ -44,7 +44,7 @@ Rubyでプログラミングする際に役立つドキュメントを紹介し ### リファレンス [Ruby コアリファレンス (英語)](http://www.ruby-doc.org/core/) -: [RDoc](https://ruby.github.io/rdoc)を用いてRubyのソースコードから直接生成したものです。 +: [RDoc](https://ruby.github.io/rdoc/)を用いてRubyのソースコードから直接生成したものです。 String, ArrayやSymbol等のコアクラスやモジュールのリファレンスがあります。 [Ruby 標準ライブラリリファレンス (英語)](http://www.ruby-doc.org/stdlib/) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 7e1d7f09f8..fc3296983f 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -155,7 +155,7 @@ ruby -v [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/pl/documentation/index.md b/pl/documentation/index.md index 1cd49787fc..37efa765b2 100644 --- a/pl/documentation/index.md +++ b/pl/documentation/index.md @@ -148,7 +148,7 @@ Jeśli szukasz pomocy w języku polskim, zajrzyj na [forum][pl-2]. [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/pt/documentation/index.md b/pt/documentation/index.md index 4497ac397b..36fa872bad 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -157,7 +157,7 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/ru/documentation/index.md b/ru/documentation/index.md index bc864c88d9..4217bba73f 100644 --- a/ru/documentation/index.md +++ b/ru/documentation/index.md @@ -151,7 +151,7 @@ ruby -v [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/tr/documentation/index.md b/tr/documentation/index.md index 282c01a955..5095c07ab6 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -116,7 +116,7 @@ listeleri](/en/community/mailing-lists/) iyi bir başlangıç olacaktır. [13]: http://www.belgeler.org/uygulamalar/ruby/ruby-ug.html [14]: http://en.wikibooks.org/wiki/Ruby_programming_language [15]: http://www.ruby-doc.org/core -[16]: https://ruby.github.io/rdoc +[16]: https://ruby.github.io/rdoc/ [17]: http://www.ruby-doc.org/stdlib [19]: http://www.rubydoc.info/ [20]: http://rubydocs.org/ diff --git a/vi/documentation/index.md b/vi/documentation/index.md index a87912e63d..85336637f7 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -156,7 +156,7 @@ là một nơi tuyệt vời. [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index 8c4510d18d..02fb4662f1 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -122,7 +122,7 @@ ruby -v [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index be5566a9ed..5a6531cdd4 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -113,7 +113,7 @@ lang: zh_tw [11]: http://www.rubyist.net/~slagell/ruby/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc +[14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ From 38c43e1e79eec0dcfd44964482b737fd0a2c0ee3 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 30 Oct 2018 21:21:28 +0100 Subject: [PATCH 0213/2563] Update instructions for development setup Exclude the production group from `bundle install'; this avoids installation of the `sqreen' gem, which might be problematic and is not needed in development. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36581cdeb5..0f2a8f26de 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Then clone the repository and install the dependencies: ``` sh git clone https://github.com/ruby/www.ruby-lang.org.git cd www.ruby-lang.org/ -bundle install +bundle install --without production ``` ## Make Changes From 820760528f4f5a3b8f799a4940bc78c79b8b6cc2 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 31 Oct 2018 18:43:23 +0700 Subject: [PATCH 0214/2563] Translate CVE-2018-16395 post (id) (#1866) --- ...-does-not-work-correctly-cve-2018-16395.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 id/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md diff --git a/id/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/id/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md new file mode 100644 index 0000000000..648561f9f7 --- /dev/null +++ b/id/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "CVE-2018-16395: Pemeriksaan kesetaraan OpenSSL::X509::Name tidak berfungsi dengan benar" +author: "usa" +translator: "meisyal" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: id +--- + +Pemeriksaan kesetaraan dari `OpenSSL::X509::Name` tidak berfungsi dengan benar +pada ekstensi pustaka openssl yang di-*bundle* dengan Ruby. + +## Detail + +Sebuah objek `OpenSSL::X509::Name` berisi entitas seperti CN, C, dan sebagainya. +Beberapa dua objek `OpenSSL::X509::Name` hanya setara jika semua entitas +sama persis. Namun demikian, ada sebuah *bug* pemeriksaan kesetaraan yang tidak +benar jika nilai dari sebuah argumen entitas (sisi kanan) mulai dengan nilai +dari penerima (sisi kiri). Sehingga, jika sebuah sertifikat X.509 berbahaya +lewat untuk dibandingkan dengan sebuah sertifikat yang sudah ada, ada +kemungkinan kesalahan penilaian jika keduanya sama. + +Pengguna Ruby sangat direkomendasikan untuk memperbarui Ruby atau ambil satu +solusi berikut segera mungkin. + +## Versi Terimbas + +* Rangkaian Ruby 2.3: 2.3.7 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.4 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.1 dan sebelumnya +* Rangkaian Ruby 2.6: 2.6.0-preview2 dan sebelumnya +* sebelum revisi *trunk* r65139 + +## Solusi + +*gem* openssl 2.1.2 atau setelahnya berisi perbaikan dari kerentanan ini, +sehingga perbarui *gem* openssl ke versi terbaru jika Anda sedang menggunakan +Ruby 2.4 atau rangkaian setelahnya. + +``` +gem install openssl -v ">= 2.1.2" +``` + +Namun, pada rangkaian Ruby 2.3, Anda tidak dapat mengganti versi *bundled* +dari openssl dengan *gem* openssl. Perbarui Ruby Anda ke versi terbaru. + +## Rujukan + +Terima kasih kepada [Tyler Eckstein](https://hackerone.com/tylereckstein) atas laporan masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2018-10-17 14:00:00 (UTC) +* Sebut perbaikan revisi dari *trunk* pada 2018-10-19 00:00:00 UTC From 7e0a4474505fdf3e81a29d246bdcbf60e7b46f99 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 31 Oct 2018 18:46:08 +0700 Subject: [PATCH 0215/2563] Translate CVE-2018-16396 post (id) (#1865) --- ...-in-some-formats-of-pack-cve-2018-16396.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 id/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md diff --git a/id/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/id/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md new file mode 100644 index 0000000000..b65c28906d --- /dev/null +++ b/id/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2018-16396: Penanda tercemar tidak disebarkan ke Array#pack dan String#unpack dengan beberapa arahan" +author: "usa" +translator: "meisyal" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: id +--- + +Di `Array#pack` dan `String#unpack` dengan beberapa format, penanda tercemar +dari data asli tidak disebarkan ke *string/array* yang dikembalikan. +Kerentanan ini telah ditetapkan sebagai penanda CVE [CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396). + +## Detail + +`Array#pack` *method* mengubah isi penerima ke dalam sebuah *string* dalam +format tertentu. Jika penerima berisi beberapa objek tercemar, *string* yang +dikembalikan juga seharusnya tercemar. `String#unpack` *method* yang mengubah +penerima menjadi sebuah *array* seharusnya juga menyebarkan penanda yang +tercemar tersebut ke objek yang berisi *array* yang dikembalikan. Tetapi, +dengan arahan `B`, `b`, `H`, dan `h`, penanda tercemar tidak tersebar. +Sehingga, jika sebuah skrip memproses masukan yang tidak dapat dipercaya +melalui `Array#pack` dan/atau `String#unpack` dengan arahan-arahan tersebut +dan mengecek kepercayaan dengan penanda tercemar, pengecekan bisa jadi salah. + +Semua pengguna yang terimbas dengan rilis ini seharusnya memperbarui segera. + +## Versi Terimbas + +* Rangkaian Ruby 2.3: 2.3.7 dan sebelumnya +* Rangkaian Ruby 2.4: 2.4.4 dan sebelumnya +* Rangkaian Ruby 2.5: 2.5.1 dan sebelumnya +* Rangkaian Ruby 2.6: 2.6.0-preview2 dan sebelumnya +* sebelum revisi *trunk* r65125 + +## Rujukan + +Terima kasih kepada [Chris Seaton](https://hackerone.com/chrisseaton) yang telah melaporkan masalah ini. + +## Riwayat + +* Semula dipublikasikan pada 2018-10-17 14:00:00 (UTC) From f5c4eeaced4069ba1a09ea13739954ff072c35f1 Mon Sep 17 00:00:00 2001 From: Jordanlelay <43350109+Jordanlelay@users.noreply.github.com> Date: Wed, 31 Oct 2018 14:54:49 +0100 Subject: [PATCH 0216/2563] Fix typo on installation page (fr) (#1867) --- fr/documentation/installation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fr/documentation/installation/index.md b/fr/documentation/installation/index.md index 43c51f31ab..8e1397558a 100644 --- a/fr/documentation/installation/index.md +++ b/fr/documentation/installation/index.md @@ -19,7 +19,7 @@ Il existe plusieurs manières d'installer Ruby : **gestionnaire de paquets** de votre système est la façon la plus simple de procéder. Toutefois, la dernière version de Ruby pourrait ne pas être disponible. -* Un **Installateurs** peut être utilisé pour installer une ou plusieurs versions +* Un **Installateur** peut être utilisé pour installer une ou plusieurs versions de Ruby. Il existe aussi un installateur pour Windows. * Des **Managers** aident à basculer d'une version de Ruby à une autre sur votre système. From 7d047e101ab1081ddc3ce4fd4d16195851484a08 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 1 Nov 2018 21:37:20 +0100 Subject: [PATCH 0217/2563] Rewrap (en) --- ...-in-some-formats-of-pack-cve-2018-16396.md | 23 +++++++++----- ...-does-not-work-correctly-cve-2018-16395.md | 31 +++++++++++++------ .../_posts/2018-10-17-ruby-2-3-8-released.md | 10 +++--- .../_posts/2018-10-17-ruby-2-4-5-released.md | 9 ++++-- .../_posts/2018-10-17-ruby-2-5-2-released.md | 4 +-- .../_posts/2018-10-18-ruby-2-5-3-released.md | 6 ++-- 6 files changed, 54 insertions(+), 29 deletions(-) diff --git a/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md index 582360744a..5d1b92d4ef 100644 --- a/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md +++ b/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -8,16 +8,22 @@ tags: security lang: en --- -In `Array#pack` and `String#unpack` with some formats, the tainted flags of the original data are not propagated to the returned string/array. -This vulnerability has been assigned the CVE identifier [CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396). +In `Array#pack` and `String#unpack` with some formats, the tainted flags +of the original data are not propagated to the returned string/array. +This vulnerability has been assigned the CVE identifier +[CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396). ## Details -`Array#pack` method converts the receiver's contents into a string with specified format. -If the receiver contains some tainted objects, the returned string also should be tainted. -`String#unpack` method which converts the receiver into an array also should propagate its tainted flag to the objects contained in the returned array. -But, with `B`, `b`, `H` and `h` directives, the tainted flags are not propagated. -So, if a script processes unreliable inputs by `Array#pack` and/or `String#unpack` with these directives and checks the reliability with tainted flags, the check might be wrong. +`Array#pack` method converts the receiver's contents into a string with +specified format. If the receiver contains some tainted objects, the +returned string also should be tainted. `String#unpack` method which +converts the receiver into an array also should propagate its tainted +flag to the objects contained in the returned array. +But, with `B`, `b`, `H` and `h` directives, the tainted flags are not +propagated. So, if a script processes unreliable inputs by `Array#pack` +and/or `String#unpack` with these directives and checks the reliability +with tainted flags, the check might be wrong. All users running an affected release should upgrade immediately. @@ -31,7 +37,8 @@ All users running an affected release should upgrade immediately. ## Credit -Thanks to [Chris Seaton](https://hackerone.com/chrisseaton) for reporting the issue. +Thanks to [Chris Seaton](https://hackerone.com/chrisseaton) +for reporting the issue. ## History diff --git a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md index faa4049ece..242b70d0dd 100644 --- a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md +++ b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -8,17 +8,24 @@ tags: security lang: en --- -The equality check of `OpenSSL::X509::Name` is not correctly in openssl extension library bundled with Ruby. -This vulnerability has been assigned the CVE identifier [CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395). +The equality check of `OpenSSL::X509::Name` is not correctly in openssl +extension library bundled with Ruby. +This vulnerability has been assigned the CVE identifier +[CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395). ## Details -An instance of `OpenSSL::X509::Name` contains entities such as CN, C and so on. -Some two instances of `OpenSSL::X509::Name` are equal only when all entities are exactly equal. -However, there is a bug that the equality check is not correct if the value of an entity of the argument (right-hand side) starts with the value of the receiver (left-hand side). -So, if a malicious X.509 certificate is passed to compare with an existing certificate, there is a possibility to be judged incorrectly that they are equal. +An instance of `OpenSSL::X509::Name` contains entities such as CN, C +and so on. Some two instances of `OpenSSL::X509::Name` are equal only +when all entities are exactly equal. However, there is a bug that the +equality check is not correct if the value of an entity of the argument +(right-hand side) starts with the value of the receiver (left-hand side). +So, if a malicious X.509 certificate is passed to compare with an +existing certificate, there is a possibility to be judged incorrectly +that they are equal. -It is strongly recommended for Ruby users to upgrade your Ruby installation or take one of the following workarounds as soon as possible. +It is strongly recommended for Ruby users to upgrade your Ruby installation +or take one of the following workarounds as soon as possible. ## Affected Versions @@ -30,18 +37,22 @@ It is strongly recommended for Ruby users to upgrade your Ruby installation or t ## Workaround -openssl gem 2.1.2 or later includes the fix for the vulnerability, so upgrade openssl gem to the latest version if you are using Ruby 2.4 or later series. +openssl gem 2.1.2 or later includes the fix for the vulnerability, +so upgrade openssl gem to the latest version if you are using Ruby 2.4 +or later series. ``` gem install openssl -v ">= 2.1.2" ``` -However, in Ruby 2.3 series, you can not override bundled version of openssl with openssl gem. +However, in Ruby 2.3 series, you can not override bundled version +of openssl with openssl gem. Please upgrade your Ruby installation to the latest version. ## Credit -Thanks to [Tyler Eckstein](https://hackerone.com/tylereckstein) for reporting the issue. +Thanks to [Tyler Eckstein](https://hackerone.com/tylereckstein) +for reporting the issue. ## History diff --git a/en/news/_posts/2018-10-17-ruby-2-3-8-released.md b/en/news/_posts/2018-10-17-ruby-2-3-8-released.md index f6822f8e23..58bcb2b9c4 100644 --- a/en/news/_posts/2018-10-17-ruby-2-3-8-released.md +++ b/en/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -14,11 +14,13 @@ Please check the topics below for details. * [CVE-2018-16396: Tainted flags are not propagated in Array#pack and String#unpack with some directives](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) * [CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) -This release also includes a non-security fix to support Visual Studio 2014 with Windows 10 October 2018 Update for maintenance reasons. +This release also includes a non-security fix to support Visual Studio 2014 +with Windows 10 October 2018 Update for maintenance reasons. -Ruby 2.3 is now under the state of the security maintenance phase, until the end of the March of 2019. -After the date, maintenance of Ruby 2.3 will be ended. -We recommend you start planning migration to newer versions of Ruby, such as 2.5 or 2.4. +Ruby 2.3 is now under the state of the security maintenance phase, until +the end of the March of 2019. After the date, maintenance of Ruby 2.3 +will be ended. We recommend you start planning migration to newer +versions of Ruby, such as 2.5 or 2.4. ## Download diff --git a/en/news/_posts/2018-10-17-ruby-2-4-5-released.md b/en/news/_posts/2018-10-17-ruby-2-4-5-released.md index d228f45960..8c3147bc57 100644 --- a/en/news/_posts/2018-10-17-ruby-2-4-5-released.md +++ b/en/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -9,13 +9,15 @@ lang: en Ruby 2.4.5 has been released. -This release includes about 40 bug fixes after the previous release, and also includes several security fixes. +This release includes about 40 bug fixes after the previous release, +and also includes several security fixes. Please check the topics below for details. * [CVE-2018-16396: Tainted flags are not propagated in Array#pack and String#unpack with some directives](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) * [CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) -See the [commit logs](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) for details. +See the [commit logs](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) +for details. ## Download @@ -51,4 +53,5 @@ See the [commit logs](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) for Thanks to everyone who helped with this release. -The maintenance of Ruby 2.4, including this release, is based on the “Agreement for the Ruby stable version” of the Ruby Association. +The maintenance of Ruby 2.4, including this release, is based on the +“Agreement for the Ruby stable version” of the Ruby Association. diff --git a/en/news/_posts/2018-10-17-ruby-2-5-2-released.md b/en/news/_posts/2018-10-17-ruby-2-5-2-released.md index d40238f61f..c15b37a990 100644 --- a/en/news/_posts/2018-10-17-ruby-2-5-2-released.md +++ b/en/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -14,9 +14,9 @@ This release includes some bug fixes and some security fixes. * [CVE-2018-16396: Tainted flags are not propagated in Array#pack and String#unpack with some directives](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) * [CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) - There are also some bug fixes. -See [commit logs](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) for more details. +See [commit logs](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) +for more details. ## Download diff --git a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md index 156ee6d3ba..5899ecf506 100644 --- a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md +++ b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -9,10 +9,12 @@ lang: en Ruby 2.5.3 has been released. -There were some missing files in the release packages of 2.5.2 which are necessary for building. +There were some missing files in the release packages of 2.5.2 which are +necessary for building. See details in [[Bug #15232]](https://bugs.ruby-lang.org/issues/15232). -This release is just for fixing the packaging issue. This release doesn't contain any additional bug fixes from 2.5.2. +This release is just for fixing the packaging issue. +This release doesn't contain any additional bug fixes from 2.5.2. ## Download From 05f70400760ae37b90b398b6aa6a3b08949b5389 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 1 Nov 2018 22:01:57 +0100 Subject: [PATCH 0218/2563] Various small fixes for recent posts (en) --- ...lag-in-some-formats-of-pack-cve-2018-16396.md | 8 ++++---- ...eck-does-not-work-correctly-cve-2018-16395.md | 16 ++++++++-------- en/news/_posts/2018-10-17-ruby-2-3-8-released.md | 4 ++-- en/news/_posts/2018-10-17-ruby-2-5-2-released.md | 2 +- en/news/_posts/2018-10-18-ruby-2-5-3-released.md | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md index 5d1b92d4ef..73b7616aa2 100644 --- a/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md +++ b/en/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -15,12 +15,12 @@ This vulnerability has been assigned the CVE identifier ## Details -`Array#pack` method converts the receiver's contents into a string with -specified format. If the receiver contains some tainted objects, the -returned string also should be tainted. `String#unpack` method which +The `Array#pack` method converts the receiver's contents into a string with +a specified format. If the receiver contains some tainted objects, the +returned string also should be tainted. The `String#unpack` method which converts the receiver into an array also should propagate its tainted flag to the objects contained in the returned array. -But, with `B`, `b`, `H` and `h` directives, the tainted flags are not +But, with the `B`, `b`, `H`, and `h` directives, the tainted flags are not propagated. So, if a script processes unreliable inputs by `Array#pack` and/or `String#unpack` with these directives and checks the reliability with tainted flags, the check might be wrong. diff --git a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md index 242b70d0dd..ed99905c8f 100644 --- a/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md +++ b/en/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -8,14 +8,14 @@ tags: security lang: en --- -The equality check of `OpenSSL::X509::Name` is not correctly in openssl +The equality check of `OpenSSL::X509::Name` is not correct in the openssl extension library bundled with Ruby. This vulnerability has been assigned the CVE identifier [CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395). ## Details -An instance of `OpenSSL::X509::Name` contains entities such as CN, C +An instance of `OpenSSL::X509::Name` contains entities such as CN, C, and so on. Some two instances of `OpenSSL::X509::Name` are equal only when all entities are exactly equal. However, there is a bug that the equality check is not correct if the value of an entity of the argument @@ -37,16 +37,16 @@ or take one of the following workarounds as soon as possible. ## Workaround -openssl gem 2.1.2 or later includes the fix for the vulnerability, -so upgrade openssl gem to the latest version if you are using Ruby 2.4 -or later series. +The openssl 2.1.2 gem or later includes a fix for the vulnerability, +so upgrade the openssl gem to the latest version if you are using Ruby 2.4 +or a later series. ``` gem install openssl -v ">= 2.1.2" ``` -However, in Ruby 2.3 series, you can not override bundled version -of openssl with openssl gem. +However, in the Ruby 2.3 series, you can not override the bundled version +of openssl with the openssl gem. Please upgrade your Ruby installation to the latest version. ## Credit @@ -57,4 +57,4 @@ for reporting the issue. ## History * Originally published at 2018-10-17 14:00:00 (UTC) -* Mention about the fixed revision of trunk at 2018-10-19 00:00:00 UTC +* Mention the fixed revision of trunk at 2018-10-19 00:00:00 (UTC) diff --git a/en/news/_posts/2018-10-17-ruby-2-3-8-released.md b/en/news/_posts/2018-10-17-ruby-2-3-8-released.md index 58bcb2b9c4..fd2f4db3d8 100644 --- a/en/news/_posts/2018-10-17-ruby-2-3-8-released.md +++ b/en/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -18,8 +18,8 @@ This release also includes a non-security fix to support Visual Studio 2014 with Windows 10 October 2018 Update for maintenance reasons. Ruby 2.3 is now under the state of the security maintenance phase, until -the end of the March of 2019. After the date, maintenance of Ruby 2.3 -will be ended. We recommend you start planning migration to newer +the end of March of 2019. After that date, maintenance of Ruby 2.3 +will be ended. We recommend you start planning the migration to newer versions of Ruby, such as 2.5 or 2.4. ## Download diff --git a/en/news/_posts/2018-10-17-ruby-2-5-2-released.md b/en/news/_posts/2018-10-17-ruby-2-5-2-released.md index c15b37a990..9c00fe1d89 100644 --- a/en/news/_posts/2018-10-17-ruby-2-5-2-released.md +++ b/en/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -15,7 +15,7 @@ This release includes some bug fixes and some security fixes. * [CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) There are also some bug fixes. -See [commit logs](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) +See the [commit logs](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) for more details. ## Download diff --git a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md index 5899ecf506..4ed5f3ca39 100644 --- a/en/news/_posts/2018-10-18-ruby-2-5-3-released.md +++ b/en/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -14,7 +14,7 @@ necessary for building. See details in [[Bug #15232]](https://bugs.ruby-lang.org/issues/15232). This release is just for fixing the packaging issue. -This release doesn't contain any additional bug fixes from 2.5.2. +It does not contain any additional bug fixes from 2.5.2. ## Download @@ -52,4 +52,4 @@ Many committers, developers, and users who provided bug reports helped us to make this release. Thanks for their contributions. -Especially thank you wanabe for reporting the issue about 2.5.2 packages. +Especially thank you wanabe for reporting the issue about the 2.5.2 packages. From d7ad0484bc433ea834e5042c819d56eab3d0e260 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 1 Nov 2018 23:32:34 +0100 Subject: [PATCH 0219/2563] Fix first paragraph of 2.3.8 post Introduce a new paragraph since the first paragraph of posts is used for excerpts on news archive pages. --- en/news/_posts/2018-10-17-ruby-2-3-8-released.md | 1 + ja/news/_posts/2018-10-17-ruby-2-3-8-released.md | 1 + ko/news/_posts/2018-10-17-ruby-2-3-8-released.md | 1 + zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md | 4 +++- zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md | 4 +++- 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-10-17-ruby-2-3-8-released.md b/en/news/_posts/2018-10-17-ruby-2-3-8-released.md index fd2f4db3d8..fdca2242c6 100644 --- a/en/news/_posts/2018-10-17-ruby-2-3-8-released.md +++ b/en/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -8,6 +8,7 @@ lang: en --- Ruby 2.3.8 has been released. + This release includes several security fixes. Please check the topics below for details. diff --git a/ja/news/_posts/2018-10-17-ruby-2-3-8-released.md b/ja/news/_posts/2018-10-17-ruby-2-3-8-released.md index ecfd9df21a..e62ca7c0e6 100644 --- a/ja/news/_posts/2018-10-17-ruby-2-3-8-released.md +++ b/ja/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -8,6 +8,7 @@ lang: ja --- Ruby 2.3.8 がリリースされました。 + 今回のリリースでは、以下のセキュリティ上の問題への対応が行われています。 * [CVE-2018-16396: Array#pack および String#unpack の一部のフォーマット指定においてtaintフラグが伝播しない脆弱性について](/ja/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/)への対応 diff --git a/ko/news/_posts/2018-10-17-ruby-2-3-8-released.md b/ko/news/_posts/2018-10-17-ruby-2-3-8-released.md index 1dea6e7718..60c3cee067 100644 --- a/ko/news/_posts/2018-10-17-ruby-2-3-8-released.md +++ b/ko/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -8,6 +8,7 @@ lang: ko --- 루비 2.3.8이 릴리스 되었습니다. + 이번 릴리스는 다수의 보안 수정을 포함합니다. 세부 내용은 아래 주제를 확인해주세요. diff --git a/zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md b/zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md index f8dfabc32d..c9c16c906b 100644 --- a/zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md +++ b/zh_cn/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -7,7 +7,9 @@ date: 2018-10-17 17:00:00 +0000 lang: zh_cn --- -Ruby 2.3.8 已发布。此次发布修复了数个安全性漏洞,请查看下述主题以获取详情。 +Ruby 2.3.8 已发布。 + +此次发布修复了数个安全性漏洞,请查看下述主题以获取详情。 * [CVE-2018-16396: 特定命令下受污染标记未如实展开到 Array#pack 和 String#unpack 结果中](/zh_cn/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) * [CVE-2018-16395: OpenSSL::X509::Name 相等检查未正常工作](/zh_cn/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) diff --git a/zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md b/zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md index aef0d29305..1fe1fb79b2 100644 --- a/zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md +++ b/zh_tw/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -7,7 +7,9 @@ date: 2018-10-17 17:00:00 +0000 lang: zh_tw --- -Ruby 2.3.8 已發佈。此次發佈修復了數個安全性缺陷,請查看下述主題以獲取詳情。 +Ruby 2.3.8 已發佈。 + +此次發佈修復了數個安全性缺陷,請查看下述主題以獲取詳情。 * [CVE-2018-16396: 特定命令下受污染標記未能如實展開到 Array#pack 和 String#unpack 結果中](/zh_cn/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) * [CVE-2018-16395: OpenSSL::X509::Name 相等檢查未正常工作](/zh_cn/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) From a2ed4585069bdd6e9ee17bc9ca213a55959ed276 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 2 Nov 2018 14:37:25 +0100 Subject: [PATCH 0220/2563] Rename some sample markdown files for Linter tests --- ...line_at_eof.md => 02_no_newline_at_eof.md} | 0 ...hitespace.md => 03_trailing_whitespace.md} | 0 ...l.md => 04_trailing_whitespace_in_yaml.md} | 0 ...4_lang_variable.md => 05_lang_variable.md} | 0 ...ariable_nil.md => 06_lang_variable_nil.md} | 0 ...ble_empty.md => 07_lang_variable_empty.md} | 0 ...type.md => 08_lang_variable_wrong_type.md} | 0 ...ble_wrong.md => 09_lang_variable_wrong.md} | 0 ...ltiple_errors.md => 10_multiple_errors.md} | 0 test/output_errors.txt | 20 +++++++++---------- 10 files changed, 10 insertions(+), 10 deletions(-) rename test/md_errors/en/{3_newline_at_eof.md => 02_no_newline_at_eof.md} (100%) rename test/md_errors/en/{1_trailing_whitespace.md => 03_trailing_whitespace.md} (100%) rename test/md_errors/en/{2_trailing_whitespace_in_yaml.md => 04_trailing_whitespace_in_yaml.md} (100%) rename test/md_errors/en/{4_lang_variable.md => 05_lang_variable.md} (100%) rename test/md_errors/en/{5_lang_variable_nil.md => 06_lang_variable_nil.md} (100%) rename test/md_errors/en/{6_lang_variable_empty.md => 07_lang_variable_empty.md} (100%) rename test/md_errors/en/{7_lang_variable_wrong_type.md => 08_lang_variable_wrong_type.md} (100%) rename test/md_errors/en/{8_lang_variable_wrong.md => 09_lang_variable_wrong.md} (100%) rename test/md_errors/en/{9_multiple_errors.md => 10_multiple_errors.md} (100%) diff --git a/test/md_errors/en/3_newline_at_eof.md b/test/md_errors/en/02_no_newline_at_eof.md similarity index 100% rename from test/md_errors/en/3_newline_at_eof.md rename to test/md_errors/en/02_no_newline_at_eof.md diff --git a/test/md_errors/en/1_trailing_whitespace.md b/test/md_errors/en/03_trailing_whitespace.md similarity index 100% rename from test/md_errors/en/1_trailing_whitespace.md rename to test/md_errors/en/03_trailing_whitespace.md diff --git a/test/md_errors/en/2_trailing_whitespace_in_yaml.md b/test/md_errors/en/04_trailing_whitespace_in_yaml.md similarity index 100% rename from test/md_errors/en/2_trailing_whitespace_in_yaml.md rename to test/md_errors/en/04_trailing_whitespace_in_yaml.md diff --git a/test/md_errors/en/4_lang_variable.md b/test/md_errors/en/05_lang_variable.md similarity index 100% rename from test/md_errors/en/4_lang_variable.md rename to test/md_errors/en/05_lang_variable.md diff --git a/test/md_errors/en/5_lang_variable_nil.md b/test/md_errors/en/06_lang_variable_nil.md similarity index 100% rename from test/md_errors/en/5_lang_variable_nil.md rename to test/md_errors/en/06_lang_variable_nil.md diff --git a/test/md_errors/en/6_lang_variable_empty.md b/test/md_errors/en/07_lang_variable_empty.md similarity index 100% rename from test/md_errors/en/6_lang_variable_empty.md rename to test/md_errors/en/07_lang_variable_empty.md diff --git a/test/md_errors/en/7_lang_variable_wrong_type.md b/test/md_errors/en/08_lang_variable_wrong_type.md similarity index 100% rename from test/md_errors/en/7_lang_variable_wrong_type.md rename to test/md_errors/en/08_lang_variable_wrong_type.md diff --git a/test/md_errors/en/8_lang_variable_wrong.md b/test/md_errors/en/09_lang_variable_wrong.md similarity index 100% rename from test/md_errors/en/8_lang_variable_wrong.md rename to test/md_errors/en/09_lang_variable_wrong.md diff --git a/test/md_errors/en/9_multiple_errors.md b/test/md_errors/en/10_multiple_errors.md similarity index 100% rename from test/md_errors/en/9_multiple_errors.md rename to test/md_errors/en/10_multiple_errors.md diff --git a/test/output_errors.txt b/test/output_errors.txt index 55f59e0a37..9570f35fe0 100644 --- a/test/output_errors.txt +++ b/test/output_errors.txt @@ -1,21 +1,21 @@ Checking markdown files... -en/1_trailing_whitespace.md +en/02_no_newline_at_eof.md + no newline at end of file +en/03_trailing_whitespace.md trailing whitespace -en/2_trailing_whitespace_in_yaml.md +en/04_trailing_whitespace_in_yaml.md trailing whitespace -en/3_newline_at_eof.md - no newline at end of file -en/4_lang_variable.md +en/05_lang_variable.md missing or invalid lang variable -en/5_lang_variable_nil.md +en/06_lang_variable_nil.md missing or invalid lang variable -en/6_lang_variable_empty.md +en/07_lang_variable_empty.md missing or invalid lang variable -en/7_lang_variable_wrong_type.md +en/08_lang_variable_wrong_type.md missing or invalid lang variable -en/8_lang_variable_wrong.md +en/09_lang_variable_wrong.md lang variable not matching file location -en/9_multiple_errors.md +en/10_multiple_errors.md missing or invalid lang variable trailing whitespace en/_posts/2000-01-01-old-lang-variable-nil.md From f7163683209a8d9eac03d6b16010b2d13b8e1285 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 2 Nov 2018 14:43:09 +0100 Subject: [PATCH 0221/2563] Add test for CR/LF line breaks News excerpts do not work with CR/LF line breaks; the detection of the first paragraph fails and the whole post is displayed. --- lib/linter.rb | 1 + lib/linter/document.rb | 4 ++++ test/md_errors/en/01_crlf_line_breaks.md | 7 +++++++ test/output_errors.txt | 2 ++ 4 files changed, 14 insertions(+) create mode 100644 test/md_errors/en/01_crlf_line_breaks.md diff --git a/lib/linter.rb b/lib/linter.rb index 636383ef91..6b7d2c7e73 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -64,6 +64,7 @@ def check errors[doc] << "missing or invalid lang variable" if doc.lang_invalid? errors[doc] << "lang variable not matching file location" if doc.lang_not_matching_filename? errors[doc] << "no newline at end of file" if doc.no_newline_at_eof? + errors[doc] << "wrong line breaks (CR/LF)" if doc.crlf_line_breaks? unless WHITESPACE_EXCLUSIONS.include?(doc.filename) errors[doc] << "trailing whitespace" if doc.trailing_whitespace? diff --git a/lib/linter/document.rb b/lib/linter/document.rb index a289a8d385..d27377d44d 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -79,6 +79,10 @@ def date_not_utc? date.utc_offset != 0 end + def crlf_line_breaks? + content.match?(/\r\n/) + end + def no_newline_at_eof? !content.end_with?("\n") end diff --git a/test/md_errors/en/01_crlf_line_breaks.md b/test/md_errors/en/01_crlf_line_breaks.md new file mode 100644 index 0000000000..43205b4809 --- /dev/null +++ b/test/md_errors/en/01_crlf_line_breaks.md @@ -0,0 +1,7 @@ +--- +layout: page +title: "Page" +lang: en +--- + +Content diff --git a/test/output_errors.txt b/test/output_errors.txt index 9570f35fe0..7306e5ee71 100644 --- a/test/output_errors.txt +++ b/test/output_errors.txt @@ -1,4 +1,6 @@ Checking markdown files... +en/01_crlf_line_breaks.md + wrong line breaks (CR/LF) en/02_no_newline_at_eof.md no newline at end of file en/03_trailing_whitespace.md From 48e3a8eebc3e93c486458dd563ff1d43b5cd8498 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 2 Nov 2018 19:55:16 +0100 Subject: [PATCH 0222/2563] Partially revert "Remove link to digg programming page..." This partially reverts commit b6bd84fb9c279e96ade8321e2016ee89bbfd5b88. For `id' and `pl' the number of mentioned sites changes from plural to singular, and I'm not convinced that the grammar is still correct. Better an obviously outdated paragraph than a subtle error that is likely to stay unnoticed. --- id/community/weblogs/index.md | 3 ++- pl/community/weblogs/index.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/id/community/weblogs/index.md b/id/community/weblogs/index.md index e1017d007b..f723b556ce 100644 --- a/id/community/weblogs/index.md +++ b/id/community/weblogs/index.md @@ -39,7 +39,7 @@ apabila blog Anda mencakup topik yang relevan. (Tentu saja, apabila blog Anda tidak berhubungan dengan Rails, maka tim *Riding Rails* tidak akan tertarik—tapi mungkin saja sebaliknya.) -Ruby juga merupakan topik yang sering diangkat di +Ruby juga merupakan topik yang sering diangkat di [Digg][16] dan [Slashdot][17], di bagian *programming*. Apabila Anda menemukan sesuatu yang menarik mengenai Ruby, pastikan menyumbangkannya ke situs-situs tersebut! @@ -52,4 +52,5 @@ tersebut! [12]: http://weblog.rubyonrails.org/ [13]: http://www.rubyinside.com/ [14]: http://www.rubyist.net/~matz/ +[16]: http://digg.com/programming [17]: http://developers.slashdot.org/ diff --git a/pl/community/weblogs/index.md b/pl/community/weblogs/index.md index d15b3a15d2..1d6d5d02e9 100644 --- a/pl/community/weblogs/index.md +++ b/pl/community/weblogs/index.md @@ -26,7 +26,7 @@ updates. * [**Matz’ Blog**][10] jest japońskim blogiem twórcy Rubiego. Nawet jeśli nie możesz go odczytać, dobrze wiedzieć, że jest taki blog! -Ruby jest również popularnym tematem w serwisach +Ruby jest również popularnym tematem w serwisach [Digg][11] oraz [Slashdot][12],. Jeśli znajdziesz gdzieś jakiś fantastyczny fragment kodu, pamiętaj aby ich o tym poinformować ! :) @@ -36,4 +36,5 @@ kodu, pamiętaj aby ich o tym poinformować ! :) [8]: http://weblog.rubyonrails.org/ [9]: http://www.rubyinside.com/ [10]: http://www.rubyist.net/~matz/ +[11]: http://digg.com/programming [12]: http://developers.slashdot.org/ From 49db8a28370b9a6897064dcb58231cddfcdbc957 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 2 Nov 2018 20:08:36 +0100 Subject: [PATCH 0223/2563] Fix typo (pl) --- pl/community/weblogs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pl/community/weblogs/index.md b/pl/community/weblogs/index.md index 1d6d5d02e9..3941046bb7 100644 --- a/pl/community/weblogs/index.md +++ b/pl/community/weblogs/index.md @@ -27,7 +27,7 @@ updates. jeśli nie możesz go odczytać, dobrze wiedzieć, że jest taki blog! Ruby jest również popularnym tematem w serwisach [Digg][11] oraz -[Slashdot][12],. Jeśli znajdziesz gdzieś jakiś fantastyczny fragment +[Slashdot][12]. Jeśli znajdziesz gdzieś jakiś fantastyczny fragment kodu, pamiętaj aby ich o tym poinformować ! :) From b104504ad5f83ecf43cb70e05704d3c2ab09ced2 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 4 Nov 2018 09:32:40 +0100 Subject: [PATCH 0224/2563] Remove dead link to digg programming page (id) --- id/community/weblogs/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/id/community/weblogs/index.md b/id/community/weblogs/index.md index f723b556ce..e1017d007b 100644 --- a/id/community/weblogs/index.md +++ b/id/community/weblogs/index.md @@ -39,7 +39,7 @@ apabila blog Anda mencakup topik yang relevan. (Tentu saja, apabila blog Anda tidak berhubungan dengan Rails, maka tim *Riding Rails* tidak akan tertarik—tapi mungkin saja sebaliknya.) -Ruby juga merupakan topik yang sering diangkat di [Digg][16] dan +Ruby juga merupakan topik yang sering diangkat di [Slashdot][17], di bagian *programming*. Apabila Anda menemukan sesuatu yang menarik mengenai Ruby, pastikan menyumbangkannya ke situs-situs tersebut! @@ -52,5 +52,4 @@ tersebut! [12]: http://weblog.rubyonrails.org/ [13]: http://www.rubyinside.com/ [14]: http://www.rubyist.net/~matz/ -[16]: http://digg.com/programming [17]: http://developers.slashdot.org/ From cd44e1f7820e77b567ccb95bdf411deb7b4e32f0 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Fri, 2 Nov 2018 20:04:40 +0700 Subject: [PATCH 0225/2563] Translate Ruby 2.5.2 released news (id) --- .../_posts/2018-10-17-ruby-2-5-2-released.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 id/news/_posts/2018-10-17-ruby-2-5-2-released.md diff --git a/id/news/_posts/2018-10-17-ruby-2-5-2-released.md b/id/news/_posts/2018-10-17-ruby-2-5-2-released.md new file mode 100644 index 0000000000..abcc0e9b0b --- /dev/null +++ b/id/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 2.5.2 Rilis" +author: "nagachika" +translator: "meisyal" +date: 2018-10-17 14:00:00 +0000 +lang: id +--- + +Ruby 2.5.2 telah dirilis. + +Rilis ini mencakup beberapa perbaikan *bug* dan keamanan. + +* [CVE-2018-16396: Penanda tercemar tidak disebarkan ke Array#pack dan String#unpack dengan beberapa arahan](/id/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Pemeriksaan kesetaraan OpenSSL::X509::Name tidak berfungsi dengan benar](/id/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +Ada juga beberapa perbaikan *bug* lainnya. +Lihat [commit logs](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) +untuk lebih detail. + +## Unduh + +* + + SIZE: 13592827 bytes + SHA1: 562d6b8be5a0804ed7617bb0465b288d44b2defc + SHA256: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + SHA512: 9f9388a162a3ae9c14ec8999fa3b12ff5397de14f55996cc8761d21c757113db37ace4d326b9606de7ad3a5875aa94fec900dd9b81b2fb0dff558c39422f4aa1 + +* + + SIZE: 15600481 bytes + SHA1: 7e503e75621b69cedb1d8b3fa2bee5aef2f1a714 + SHA256: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + SHA512: 9aee69d2ac6aefe2d81649055ba7b99e4e58cf203ac75083ba1b35b3a4fd7f72ee257e26ca80460da5c2a7817fd507aecec9c143f170e16980625e95eeb31686 + +* + + SIZE: 11071052 bytes + SHA1: ea352c9bcaa47ab094cdec0f4946c62b1a1769d7 + SHA256: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + SHA512: b6b805b18ba6da7b28c7e2bdf3da7eaf1dcc15ae22744228d032e8ddec2fbba4cc4fb822b9ef7f6b561052113a4f28dc50ccfa4f00e3728a35ce27137f4a70e6 + +* + + SIZE: 18786735 bytes + SHA1: 98fdbae195bbbc3f131d49d9e60bf3fbb8b56111 + SHA256: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + SHA512: 1b804337099ecfa045eecf1a4e3f35fa786bd6e835dc50267d6a3792a782b193ec9708564e3ac5169a95ef4afc2c131782af937dafd8122117e8cff577736c0f + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang menyediakan laporan *bug* +telah membantu kami merilis ini. +Terima kasih atas kontribusinya. From 540d4993faad50f14c1781b3a7419453fdfded48 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Tue, 6 Nov 2018 22:09:00 +0900 Subject: [PATCH 0226/2563] Ruby 2.6.0-preview3 Released --- _data/downloads.yml | 2 +- _data/releases.yml | 14 ++ ...2018-11-06-ruby-2-6-0-preview3-released.md | 130 ++++++++++++++++++ ...2018-11-06-ruby-2-6-0-preview3-released.md | 117 ++++++++++++++++ 4 files changed, 262 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md create mode 100644 ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index d88fe4a61d..f22ecb059d 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 2.6.0-preview2 + - 2.6.0-preview3 stable: diff --git a/_data/releases.yml b/_data/releases.yml index a911ba0c71..97b683f259 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,20 @@ # 2.6 series +- version: 2.6.0-preview3 + date: 2018-10-06 + post: /en/news/2018/10/06/ruby-2-6-0-preview3-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview3.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview3.zip + bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview3.tar.bz2 + xz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview3.tar.xz + sha256: + gz: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + zip: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + bz2: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + xz: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + - version: 2.6.0-preview2 date: 2018-05-31 post: /en/news/2018/05/31/ruby-2-6-0-preview2-released/ diff --git a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md new file mode 100644 index 0000000000..75312899d8 --- /dev/null +++ b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -0,0 +1,130 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview3 Released" +author: "naruse" +translator: +date: 2018-05-31 00:00:00 +0000 +lang: en +--- + +We are pleased to announce the release of Ruby 2.6.0-preview3. + +Ruby 2.6.0-preview3 is the third preview toward Ruby 2.6.0. +This preview3 is released to test new features before comming Release Candidate. + +## JIT + +Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. + +JIT compiler aims to improve performance of any Ruby program execution. +Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native code. +See also: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +How to use: Just specify `--jit` in command line or `$RUBYOPT` environment variable. +Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT compilation. See `ruby --help` for other options. + +The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. +JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available on runtime. Otherwise you can't use it for now. + +As of Ruby 2.6.0 preview3, we achieved 1.7x faster performance than Ruby 2.5 on CPU-intensive non-trivial benchmark workload called Optcarrot https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208. We're going to improve the performance on memory-intensive workload like Rails application as well. + +Stay tuned for the new age of Ruby's performance. + +## RubyVM::AST [Experimental] + +Ruby 2.6 introduces `RubyVM::AST` module. + +This module has `parse` method which parses a given ruby code of string and returns AST (Abstract Syntax Tree) nodes, and `parse_file` method which parses a given ruby code file and returns AST nodes. +`RubyVM::AST::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes are not guaranteed. + +## New Features + +* Add a new alias `then` to `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` without `rescue` now causes a syntax error. [EXPERIMENTAL] + +* constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* endless range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: + + ary[1..] # identical to ary[1..-1] without magical -1 + (1..).each {|index| ... } # inifinite loop from index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). So, users should use this newly-introduced method instead of `Kernel#eval`. + +* Add `:exception` option to let `Kernel.#system` raise error instead of returning `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +## Performance improvements + +* Speedup `Proc#call` because we dont' need to care about `$SAFE` any more. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure + x1.4 improvements [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Speedup `block.call` where `block` is passed block parameter. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 improves block passing performance. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Additionally, Ruby 2.6 improves the performance of passed block calling. + With micro-benchmark we can observe x2.6 improvement. + +* Transient Heap (theap) is introduced. [Bug #14858] [Feature #14989] + theap is managed heap for short-living memory objects which are pointed by + specific classes (Array, Hash, Object, Struct). For example, making small + and short-living Hash object is x2 faster. With rdoc benchmark, we observed + 6-7% performance improvement. + +## Other notable changes since 2.5 + +* `$SAFE` is a process global state and we can set `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Merge RubyGems 3.0.0.beta2. `--ri` and `--rdoc` options was removed. Please use `--docuent` and `--no-document` options instead of them. + +* Merge [Bundler](https://github.com/bundler/bundler) as Default gems. + +See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) +or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +for details. + +With those changes, +[6474 files changed, 171888 insertions(+), 46617 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +since Ruby 2.5.0! + +Enjoy programming with Ruby 2.6.0-preview3! + +## Download + +* + + SIZE: 17071670 bytes + SHA1: 67836fda11fa91e0b988a6cc07989fbceda025b4 + SHA256: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + SHA512: 877278cd6e9b947f5bb6ed78136efb232dcc9c5c218b7236576171e7c3cd7f6b7d10d07d8402014a14aba1fcd1913a4370f0725c561ead41d8a3fe92029f7f76 + +* + + SIZE: 21537655 bytes + SHA1: 45f3c90dfffe03b746f21f24152666e361cbb41a + SHA256: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + SHA512: 335de36cf56706326f4acc4bbd35be01e0ac5fff30d0a69b2e1630ba4c78f0e711822d1623d0099a517c824b154917d2f60be192dfb143a422cf1d17b38e1183 + +* + + SIZE: 14973451 bytes + SHA1: 5f2df5d8c5a3888ccb915d36a3532ba32cda8791 + SHA256: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + SHA512: d1693625723796e8902f3e4c4fae444f2912af9173489f7cf18c99db2a217afc971b082fce7089e39f8edd54d762d2b4e72843c8306ed29b05ccb15ac03dbb5b + +* + + SIZE: 12291692 bytes + SHA1: 7f8216247745215e9645568e7a02140f9a029b31 + SHA256: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + SHA512: b4d3b17ecf96272c43cd7518c0b54dee63fc1150ad143e1d9c9d708506fe78676c80eb96cc47b8d46d1128bd483a53f16c944963a03d1f99f00131b74714df7b diff --git a/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md new file mode 100644 index 0000000000..43c6127a09 --- /dev/null +++ b/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -0,0 +1,117 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview3 Released" +author: "naruse" +translator: +date: 2018-10-06 00:00:00 +0000 +lang: ja +--- + +Ruby 2.6.0に向けた3つ目のプレビューである、Ruby 2.6.0-preview3がリリースされました。 + +Ruby 2.6.0-preview3は、リリース前に出されるRelease Candidateに向けて最新の機能を試せるようにするためリリースされています。 + +## JIT + +Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 + +JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 +他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)) + +JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 + +今回のリリースはこのJITコンパイル機能を皆さんの環境で動作を確認して頂くとともに、セキュリティ上の問題が無いかを早期に確認するために行っています。 +現在のJITコンパイラを利用するためには、GCC、Clang、あるいはMicrosoft VC++によってビルドされたRubyでかつ、そのコンパイラが実行時に利用可能である必要があります。 + +Ruby 2.6.0-preview3の時点で、OptcarrotというCPU負荷中心のベンチマークにおいてRuby 2.5の約1.7倍の性能向上を達成しました。 https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208 +Railsアプリケーションなどのメモリ負荷の高い環境における性能は現在改善中です。 + +引き続き新時代のRubyの実効性能にご期待ください。 + +## RubyVM::AST [Experimental] + +Ruby 2.6では `RubyVM::AST` モジュールが導入されました。 + +このモジュールには、文字列をパースしてAST(抽象構文木)のNodeを返す`parse`メソッド、ファイルをパースする`parse_file`メソッドが実装されています。 +`RubyVM::AST::Node` も導入されました。このクラスのインスタンスから位置情報や子ノードを取得することができます。この機能はexperimentalです。また、ASTの構造に関する互換性は保証されていません。 + +## 新機能 + +* `Kernel#yield_self` の別名として `then` が追加されました [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `rescue` 無しの `else` が文法エラーとなるようになりました [EXPERIMENTAL] + +* ASCII以外の大文字でも定数を定義出来るようになりました [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 終端なしRange [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 終端なしRange `(1..)` が導入されました。これは終端を持ちません。これが典型的な用途です: + + ary[1..] # マジックナンバー -1 なしで ary[1..-1] と同じ意味 + (1..).each {|index| ... } # index が 1 から始まる無限ループ + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Binding#source_location の追加 [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)、この新しいメソッドを用いることが今後は推奨されます。 +* Kernel#system の失敗時に、falseを返す代わりに例外を上げさせる :exception オプションを追加 [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Coverage の oneshot_lines モードの追加 [Feature#15022] + * This mode checks "whether each line was executed at least once or not", instead of "how many times each line was executed". A hook for each line is fired at most once, and after it is fired the hook flag is removed, i.e., it runs with zero overhead. + * Add +:oneshot_lines+ keyword argument to Coverage.start. + * Add +:stop+ and +:clear+ keyword arguments to Coverage.result. If +clear+ is true, it clears the counters to zero. If +stop+ is true, it disables coverage measurement. + * Coverage.line_stub, which is a simple helper function that creates the "stub" of line coverage from a given source code. + +* FileUtils#cp_lr. [Feature #4189] + +## パフォーマンスの改善 + +* transient heap(メモ) +* 後述の$SAFEの変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212)。 +* `block` がブロックパラメータである時、`block.call`が高速化されました [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + Ruby 2.5ではブロック渡しの性能が改善されましたが [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045)、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 + マイクロベンチマークにおいては2.6倍高速化されています。 + +## その他の注目すべき 2.5 からの変更点 + +* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました [[Feature #14250]](https://bugs +.ruby-lang.org/issues/14250) +* `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) +* RubyGems 3.0.0.beta2 をマージしました。 `--ri` と `--rdoc` オプションは使えなくなりました。`--document` または `--no-document` を利用してください。 +* [Bundler](https://github.com/bundler/bundler) を Default gems として標準添付しました。 + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2)を参照してください。 + +なお、こうした変更により、Ruby 2.5.0 以降では [6474 個のファイルに変更が加えられ、171888 行の追加と 46617 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) ! + +みなさんもRuby 2.6.0-preview3で楽しいプログラミングを! + +## Download + +* + + SIZE: 17071670 bytes + SHA1: 67836fda11fa91e0b988a6cc07989fbceda025b4 + SHA256: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + SHA512: 877278cd6e9b947f5bb6ed78136efb232dcc9c5c218b7236576171e7c3cd7f6b7d10d07d8402014a14aba1fcd1913a4370f0725c561ead41d8a3fe92029f7f76 + +* + + SIZE: 21537655 bytes + SHA1: 45f3c90dfffe03b746f21f24152666e361cbb41a + SHA256: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + SHA512: 335de36cf56706326f4acc4bbd35be01e0ac5fff30d0a69b2e1630ba4c78f0e711822d1623d0099a517c824b154917d2f60be192dfb143a422cf1d17b38e1183 + +* + + SIZE: 14973451 bytes + SHA1: 5f2df5d8c5a3888ccb915d36a3532ba32cda8791 + SHA256: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + SHA512: d1693625723796e8902f3e4c4fae444f2912af9173489f7cf18c99db2a217afc971b082fce7089e39f8edd54d762d2b4e72843c8306ed29b05ccb15ac03dbb5b + +* + + SIZE: 12291692 bytes + SHA1: 7f8216247745215e9645568e7a02140f9a029b31 + SHA256: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + SHA512: b4d3b17ecf96272c43cd7518c0b54dee63fc1150ad143e1d9c9d708506fe78676c80eb96cc47b8d46d1128bd483a53f16c944963a03d1f99f00131b74714df7b From 266fdf6d169d3247cf86afa15a307345300b45cb Mon Sep 17 00:00:00 2001 From: nagachika Date: Wed, 7 Nov 2018 00:20:10 +0900 Subject: [PATCH 0227/2563] Update en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md Co-Authored-By: nurse --- en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index 75312899d8..ba68ef46d8 100644 --- a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -89,7 +89,7 @@ This module has `parse` method which parses a given ruby code of string and retu * Merge [Bundler](https://github.com/bundler/bundler) as Default gems. -See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) +See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) for details. From 0e1f856d4b222335624d7a02a69b864e6ab57e24 Mon Sep 17 00:00:00 2001 From: nagachika Date: Wed, 7 Nov 2018 00:20:20 +0900 Subject: [PATCH 0228/2563] Update en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md Co-Authored-By: nurse --- en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index ba68ef46d8..e2df1eeb78 100644 --- a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -90,7 +90,7 @@ This module has `parse` method which parses a given ruby code of string and retu * Merge [Bundler](https://github.com/bundler/bundler) as Default gems. See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) -or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2) +or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) for details. With those changes, From b540819f92cdecf421c45c018579bec9ee8b476e Mon Sep 17 00:00:00 2001 From: nagachika Date: Wed, 7 Nov 2018 00:20:25 +0900 Subject: [PATCH 0229/2563] Update ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md Co-Authored-By: nurse --- ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index 43c6127a09..ffe25b5f0b 100644 --- a/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -80,7 +80,7 @@ Ruby 2.6では `RubyVM::AST` モジュールが導入されました。 * RubyGems 3.0.0.beta2 をマージしました。 `--ri` と `--rdoc` オプションは使えなくなりました。`--document` または `--no-document` を利用してください。 * [Bundler](https://github.com/bundler/bundler) を Default gems として標準添付しました。 -その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview2/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview2)を参照してください。 +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3)を参照してください。 なお、こうした変更により、Ruby 2.5.0 以降では [6474 個のファイルに変更が加えられ、171888 行の追加と 46617 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) ! From d8b54ea2067eaa7cd30dd228a62999022916d0a6 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Wed, 7 Nov 2018 00:30:54 +0900 Subject: [PATCH 0230/2563] fix typos pointed by znz --- _data/releases.yml | 4 ++-- .../_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 10 +++++----- .../_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 5 ++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index 97b683f259..e81343dc8b 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -22,8 +22,8 @@ # 2.6 series - version: 2.6.0-preview3 - date: 2018-10-06 - post: /en/news/2018/10/06/ruby-2-6-0-preview3-released/ + date: 2018-11-06 + post: /en/news/2018/11/06/ruby-2-6-0-preview3-released/ url: gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview3.tar.gz zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview3.zip diff --git a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index e2df1eeb78..598ccca412 100644 --- a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -3,14 +3,14 @@ layout: news_post title: "Ruby 2.6.0-preview3 Released" author: "naruse" translator: -date: 2018-05-31 00:00:00 +0000 +date: 2018-11-06 00:00:00 +0000 lang: en --- We are pleased to announce the release of Ruby 2.6.0-preview3. Ruby 2.6.0-preview3 is the third preview toward Ruby 2.6.0. -This preview3 is released to test new features before comming Release Candidate. +This preview3 is released to test new features before coming Release Candidate. ## JIT @@ -61,7 +61,7 @@ This module has `parse` method which parses a given ruby code of string and retu ## Performance improvements -* Speedup `Proc#call` because we dont' need to care about `$SAFE` any more. +* Speedup `Proc#call` because we don't need to care about `$SAFE` any more. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure @@ -75,7 +75,7 @@ This module has `parse` method which parses a given ruby code of string and retu * Transient Heap (theap) is introduced. [Bug #14858] [Feature #14989] theap is managed heap for short-living memory objects which are pointed by - specific classes (Array, Hash, Object, Struct). For example, making small + specific classes (Array, Hash, Object, and Struct). For example, making small and short-living Hash object is x2 faster. With rdoc benchmark, we observed 6-7% performance improvement. @@ -85,7 +85,7 @@ This module has `parse` method which parses a given ruby code of string and retu * Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) -* Merge RubyGems 3.0.0.beta2. `--ri` and `--rdoc` options was removed. Please use `--docuent` and `--no-document` options instead of them. +* Merge RubyGems 3.0.0.beta2. `--ri` and `--rdoc` options was removed. Please use `--document` and `--no-document` options instead of them. * Merge [Bundler](https://github.com/bundler/bundler) as Default gems. diff --git a/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index ffe25b5f0b..79b02d4fee 100644 --- a/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 2.6.0-preview3 Released" author: "naruse" translator: -date: 2018-10-06 00:00:00 +0000 +date: 2018-11-06 00:00:00 +0000 lang: ja --- @@ -74,8 +74,7 @@ Ruby 2.6では `RubyVM::AST` モジュールが導入されました。 ## その他の注目すべき 2.5 からの変更点 -* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました [[Feature #14250]](https://bugs -.ruby-lang.org/issues/14250) +* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) * `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) * RubyGems 3.0.0.beta2 をマージしました。 `--ri` と `--rdoc` オプションは使えなくなりました。`--document` または `--no-document` を利用してください。 * [Bundler](https://github.com/bundler/bundler) を Default gems として標準添付しました。 From fedb65aadece57a7c39b44488934020dd25e0137 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 8 Nov 2018 22:03:50 +0900 Subject: [PATCH 0231/2563] =?UTF-8?q?%s/=EB=A9=94=EC=86=8C=EB=93=9C/?= =?UTF-8?q?=EB=A9=94=EC=84=9C=EB=93=9C/g=20(#1875)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref: http://www.korean.go.kr/front/onlineQna/onlineQnaView.do?mn_id=61&qna_seq=11976 --- ko/about/index.md | 20 +++--- ko/documentation/quickstart/2/index.md | 18 ++--- ko/documentation/quickstart/3/index.md | 20 +++--- ko/documentation/quickstart/4/index.md | 22 +++--- ko/documentation/quickstart/index.md | 10 +-- .../ruby-from-other-languages/index.md | 68 +++++++++---------- .../to-ruby-from-java/index.md | 8 +-- .../to-ruby-from-python/index.md | 4 +- ko/examples/hello_world.md | 2 +- .../2007-10-08-net-https-vulnerability.md | 6 +- .../2010-07-15-ruby-1-9-2-rc1-release.md | 2 +- .../2010-07-19-ruby-1-9-2-rc2-release.md | 2 +- .../2011-11-06-ruby-1-9-3-p0-is-released.md | 6 +- ...3-09-23-ruby-2-1-0-preview1-is-released.md | 2 +- ...3-11-22-ruby-2-1-0-preview2-is-released.md | 2 +- .../2013-12-20-ruby-2-1-0-rc1-is-released.md | 2 +- .../2013-12-25-ruby-2-1-0-is-released.md | 2 +- ...regression-of-hash-reject-in-ruby-2-1-1.md | 2 +- .../2014-08-19-ruby-1-9-2-p330-released.md | 2 +- ...2014-09-18-ruby-2-2-0-preview1-released.md | 2 +- ...hanging-default-settings-of-ext-openssl.md | 2 +- ...2014-11-28-ruby-2-2-0-preview2-released.md | 2 +- .../2014-12-18-ruby-2-2-0-rc1-released.md | 2 +- .../_posts/2014-12-25-ruby-2-2-0-released.md | 2 +- ...2015-12-11-ruby-2-3-0-preview2-released.md | 4 +- .../_posts/2015-12-25-ruby-2-3-0-released.md | 2 +- ...09-14-json-heap-exposure-cve-2017-14064.md | 2 +- ...ssl-asn1-buffer-underrun-cve-2017-14033.md | 2 +- ...4-sprintf-buffer-underrun-cve-2017-0898.md | 2 +- .../_posts/2017-12-25-ruby-2-5-0-released.md | 6 +- ...2018-02-24-ruby-2-6-0-preview1-released.md | 4 +- ...-buffer-under-read-unpack-cve-2018-8778.md | 2 +- ...-28-poisoned-nul-byte-dir-cve-2018-8780.md | 6 +- ...soned-nul-byte-unixsocket-cve-2018-8779.md | 10 +-- ...-with-directory-traversal-cve-2018-6914.md | 2 +- ...2018-05-31-ruby-2-6-0-preview2-released.md | 6 +- ...-in-some-formats-of-pack-cve-2018-16396.md | 4 +- 37 files changed, 131 insertions(+), 131 deletions(-) diff --git a/ko/about/index.md b/ko/about/index.md index e0b23e4712..3cff26d8a4 100644 --- a/ko/about/index.md +++ b/ko/about/index.md @@ -40,14 +40,14 @@ lang: ko 스크립트 언어가 필요했다[2](#fn2).”라고 했습니다. 루비에서는 모든 것이 객체입니다. 따라서 루비에서 모든 것은 자신만의 속성과 액션을 갖습니다. 객체지향 프로그래밍에서 이런 속성을 -*인스턴스 변수*라고 하고, 액션을 *메소드*라고 합니다. 루비의 순수 객체지향 접근법은 아래의 예제처럼 숫자에 액션을 취하는 +*인스턴스 변수*라고 하고, 액션을 *메서드*라고 합니다. 루비의 순수 객체지향 접근법은 아래의 예제처럼 숫자에 액션을 취하는 코드로 대표되곤 합니다. {% highlight ruby %} 5.times { print "우리는 루비를 *사랑*해요! 너무 멋져요!" } {% endhighlight %} -많은 언어에서 숫자는 원시 타입이지 객체는 아닙니다. 하지만 루비는 스몰토크의 영향을 받아 모든 형태의 것에 메소드와 인스턴스 +많은 언어에서 숫자는 원시 타입이지 객체는 아닙니다. 하지만 루비는 스몰토크의 영향을 받아 모든 형태의 것에 메서드와 인스턴스 변수를 부여합니다. 이는 모든 곳에서 일관되게 적용되므로 루비 사용법을 쉽게 해줍니다. ### 루비의 유연함 @@ -57,7 +57,7 @@ lang: ko 않습니다. 예를 들어 아래는 `+` 연산자 대신 plus 라고 쓰는 것이 더 읽기 편하다고 결정했다면 루비의 빌트인 클래스인 -`Numeric`에 메소드를 추가하면 됩니다. +`Numeric`에 메서드를 추가하면 됩니다. {% highlight ruby %} class Numeric @@ -70,11 +70,11 @@ y = 5.plus 6 # 이제 y는 11이 되었다 {% endhighlight %} -루비의 연산자는 메소드를 이용한 문법 단축에 불과합니다. 물론 이 부분도 재정의할 수 있습니다. +루비의 연산자는 메서드를 이용한 문법 단축에 불과합니다. 물론 이 부분도 재정의할 수 있습니다. ### 루비의 표현력을 풍부하게 해주는 블록 -루비의 블록 기능 또한 뛰어난 유연성의 원천입니다. 개발자는 어떤 메소드에든 클로저를 추가함으로써 메소드의 동작을 기술할 수 +루비의 블록 기능 또한 뛰어난 유연성의 원천입니다. 개발자는 어떤 메서드에든 클로저를 추가함으로써 메서드의 동작을 기술할 수 있습니다. 루비에서 이 클로저를 *블록*이라고 부릅니다. 이는 PHP, 비주얼베이직 등 다른 명령형 언어에서 루비로 이주한 개발자에게 가장 매력적인 기능으로 꼽힙니다. @@ -88,15 +88,15 @@ search_engines = end {% endhighlight %} -위 예제에서 블록은 `do ... end` 문법 구조에 기술되었습니다. `map` 메소드는 주어진 단어 목록에 블록을 적용합니다. -이처럼 루비의 다른 메소드도 그 동작 중 일부를 자신의 블록으로 채워넣을 수 있도록 개발자에게 열린 구조를 제공하고 있습니다. +위 예제에서 블록은 `do ... end` 문법 구조에 기술되었습니다. `map` 메서드는 주어진 단어 목록에 블록을 적용합니다. +이처럼 루비의 다른 메서드도 그 동작 중 일부를 자신의 블록으로 채워넣을 수 있도록 개발자에게 열린 구조를 제공하고 있습니다. ### 루비와 믹스인 다른 객체지향 언어와 달리 루비는 **의도적으로** 단일 상속만을 제공합니다. 대신 루비에는 모듈 개념(Objective-C에서는 -카테고리라 불리는)이 있습니다. 모듈은 메소드의 컬렉션입니다. +카테고리라 불리는)이 있습니다. 모듈은 메서드의 컬렉션입니다. -클래스에 모듈을 믹스인할 수 있는데, 그렇게 하면 유용한 메소드를 손쉽게 얻을 수 있습니다. 예를 들어 `each` 메소드를 구현하고 +클래스에 모듈을 믹스인할 수 있는데, 그렇게 하면 유용한 메서드를 손쉽게 얻을 수 있습니다. 예를 들어 `each` 메서드를 구현하고 있는 클래스는 어떤 것이든 `Enumerable` 모듈을 믹스인하기만 하면, `each`를 루프에 이용해 많은 함수들이 추가됩니다. {% highlight ruby %} @@ -116,7 +116,7 @@ end * `@var` 인스턴스 변수. * `$var` 전역변수. -이런 몇 가지 장치는 변수의 역할을 명확히 드러냄으로써 개발자가 코드를 읽기 쉽게 해줍니다. 그리고 모든 인스턴스 메소드에 +이런 몇 가지 장치는 변수의 역할을 명확히 드러냄으로써 개발자가 코드를 읽기 쉽게 해줍니다. 그리고 모든 인스턴스 메서드에 붙인다면 정말 피곤할 `self.`도 대부분 생략할 수 있습니다. ### 고급 기능 diff --git a/ko/documentation/quickstart/2/index.md b/ko/documentation/quickstart/2/index.md index 1347e17794..92c264a28f 100644 --- a/ko/documentation/quickstart/2/index.md +++ b/ko/documentation/quickstart/2/index.md @@ -17,7 +17,7 @@ header: | --- -손가락에 무리를 주지 않으면서 “Hello”를 여러 번 말하고 싶다면 어떻게 해야 할까요? 메소드를 정의해야 한답니다. +손가락에 무리를 주지 않으면서 “Hello”를 여러 번 말하고 싶다면 어떻게 해야 할까요? 메서드를 정의해야 한답니다. {% highlight irb %} irb(main):010:0> def h @@ -26,15 +26,15 @@ irb(main):012:1> end => :h {% endhighlight %} -`def h`는 메소드의 정의의 시작입니다. 루비에게 `h`란 이름의 메소드의 정의를 -시작한다는 것을 알리는 것이죠. 그 다음 줄은 메소드 몸통(body)입니다. 전에 본 것과 +`def h`는 메서드의 정의의 시작입니다. 루비에게 `h`란 이름의 메서드의 정의를 +시작한다는 것을 알리는 것이죠. 그 다음 줄은 메서드 몸통(body)입니다. 전에 본 것과 같은 `puts "Hello World"`입니다. -마지막으로 `end`는 루비에게 메소드 정의가 끝났음을 알려줍니다. -`=> :h`은 메소드의 정의가 끝났음을 루비가 알아들었다는 것을 의미하죠. +마지막으로 `end`는 루비에게 메서드 정의가 끝났음을 알려줍니다. +`=> :h`은 메서드의 정의가 끝났음을 루비가 알아들었다는 것을 의미하죠. 루비 2.0이나 그 이전 버전이라면 이 반환 값은 `=> nil`이 될 수도 있습니다. 하지만 여기에서는 별로 중요하지 않으니 다음으로 넘어갑시다. -이제 정의한 메소드를 몇 번 호출해 보겠습니다. +이제 정의한 메서드를 몇 번 호출해 보겠습니다. {% highlight irb %} irb(main):013:0> h @@ -45,7 +45,7 @@ Hello World! => nil {% endhighlight %} -생각보다 쉽지 않나요? 루비에서 메소드를 호출하는 것은 단지 메소드 이름을 입력하는 것에 지나지 않지요. 메소드가 인자를 받지 +생각보다 쉽지 않나요? 루비에서 메서드를 호출하는 것은 단지 메서드 이름을 입력하는 것에 지나지 않지요. 메서드가 인자를 받지 않는다면, 그걸로 충분하답니다. 빈 괄호를 입력해도 되지만, 필요한 것은 아니랍니다. 온세상에 “Hello”라고 외치는 대신에 특정 사람에게 인사를 건네고 싶다면 어떻게 해야 @@ -107,8 +107,8 @@ irb(main):034:1> end => nil {% endhighlight %} -새로운 키워드 `class`가 나왔군요. 위에서는 새로운 “Greeter” 클래스와 메소드가 -정의되고 있습니다. 또 `@name`도 보이네요. 이는 인스턴스 변수로 모든 메소드에서 +새로운 키워드 `class`가 나왔군요. 위에서는 새로운 “Greeter” 클래스와 메서드가 +정의되고 있습니다. 또 `@name`도 보이네요. 이는 인스턴스 변수로 모든 메서드에서 접근이 가능합니다. 보다시피 `say_hi`와 `say_bye`에서 사용되고 있습니다. 어떻게 이 “Greeter” 클래스를 사용하냐구요? [객체를 만들면](../3/) 됩니다. diff --git a/ko/documentation/quickstart/3/index.md b/ko/documentation/quickstart/3/index.md index b793ec15f4..cce98aa1b5 100644 --- a/ko/documentation/quickstart/3/index.md +++ b/ko/documentation/quickstart/3/index.md @@ -44,7 +44,7 @@ SyntaxError: compile error ## 객체 들여다보기 객체 변수는 객체 안에 숨겨져 있습니다. 사실 객체 변수가 그렇게 꽁꽁 숨겨져 있는 것은 아니지만, 루비는 기본적으로 데이터를 -숨겨두는 객체지향 방식을 따르고 있습니다. “Greeter”의 객체들에는 어떤 메소드가 들어있을까요? +숨겨두는 객체지향 방식을 따르고 있습니다. “Greeter”의 객체들에는 어떤 메서드가 들어있을까요? {% highlight irb %} irb(main):039:0> Greeter.instance_methods @@ -60,17 +60,17 @@ irb(main):039:0> Greeter.instance_methods "instance_variables", "instance_of?"] {% endhighlight %} -메소드가 상당히 많은 것을 알 수 있습니다. 우리가 정의한 메소드는 2개에 불과한데 -어떻게 된 것일까요? 위의 목록은 “Greeter” 객체들의 메소드뿐만 아니라 **모든** -상속된 메소드도 포함하고 있기 때문입니다. `false`를 인자로 넘기면 부모 클래스에 -정의된 메소드를 제외한 목록을 볼 수 있습니다. +메서드가 상당히 많은 것을 알 수 있습니다. 우리가 정의한 메서드는 2개에 불과한데 +어떻게 된 것일까요? 위의 목록은 “Greeter” 객체들의 메서드뿐만 아니라 **모든** +상속된 메서드도 포함하고 있기 때문입니다. `false`를 인자로 넘기면 부모 클래스에 +정의된 메서드를 제외한 목록을 볼 수 있습니다. {% highlight irb %} irb(main):040:0> Greeter.instance_methods(false) => ["say_bye", "say_hi"] {% endhighlight %} -우리의 “greeter” 객체가 어떤 메소드에 응답하는지를 개별적으로 확인하는 것도 가능합니다. +우리의 “greeter” 객체가 어떤 메서드에 응답하는지를 개별적으로 확인하는 것도 가능합니다. {% highlight irb %} irb(main):041:0> g.respond_to?("name") @@ -81,9 +81,9 @@ irb(main):043:0> g.respond_to?("to_s") => true {% endhighlight %} -즉, `say_hi`라는 이름의 메소드를 가지고 있고 `to_s`(어떤 객체를 문자열로 변환하는 -메소드로 모든 객체가 가지고 있습니다.)라는 이름의 메소드도 가지고 있지만, -`name`이란 이름의 메소드에 응답하지는 않습니다. +즉, `say_hi`라는 이름의 메서드를 가지고 있고 `to_s`(어떤 객체를 문자열로 변환하는 +메서드로 모든 객체가 가지고 있습니다.)라는 이름의 메서드도 가지고 있지만, +`name`이란 이름의 메서드에 응답하지는 않습니다. ## 클래스 정의 변경하기-늦었다고 생각할 때가 가장 빠른 때죠 @@ -122,7 +122,7 @@ Hi Betty! => nil {% endhighlight %} -`attr_accessor`은 두 개의 메소드를 새로 정의해줍니다. `name`은 인스턴스 변수의 +`attr_accessor`은 두 개의 메서드를 새로 정의해줍니다. `name`은 인스턴스 변수의 값에 접근하기 위한 것이고 `name=`은 객체변수의 값을 변경하기 위한 것입니다. ## Mega Greeter diff --git a/ko/documentation/quickstart/4/index.md b/ko/documentation/quickstart/4/index.md index 9c7c2e641f..f03754eca7 100644 --- a/ko/documentation/quickstart/4/index.md +++ b/ko/documentation/quickstart/4/index.md @@ -21,7 +21,7 @@ header: | 주석으로 프로그램 실행시에 무시됩니다. 파일의 첫 번째 줄은 다소 예외적인 경우인데, 유닉스 계열의 운영체제에서 어떻게 이 파일을 실행할 수 있는지를 알려주는 역할을 합니다. 다른 주석은 단지 코드를 이해하기 쉽게 하기 위해서 위해 있을 뿐입니다. -`say_hi` 메소드가 조금 더 복잡해졌습니다. +`say_hi` 메서드가 조금 더 복잡해졌습니다. {% highlight ruby %} # Say hi to everybody @@ -39,7 +39,7 @@ def say_hi end {% endhighlight %} -`say_hi` 메소드는 이제 결정을 내리기 위해 `@names` 인스턴스 변수의 내용을 확인합니다. +`say_hi` 메서드는 이제 결정을 내리기 위해 `@names` 인스턴스 변수의 내용을 확인합니다. 만약 `@names`가 nil이라면, 세 개의 점을 출력하게 되죠. 존재하지 않는 사람에게 인사를 할 필요는 없을 테니 말입니다. @@ -59,7 +59,7 @@ end {% endhighlight %} `each`는 코드 블록을 넘겨 받아서 리스트의 각 원소에 순차적으로 이를 적용시키는 -메소드입니다. `do`와 `end` 사이의 코드가 바로 블록이지요. 블록은 익명 함수 또는 +메서드입니다. `do`와 `end` 사이의 코드가 바로 블록이지요. 블록은 익명 함수 또는 `lambda`와 유사하다고 볼 수 있습니다. 두개의 `|` 사이의 변수는 이 블록에 넘겨지는 매개 변수입니다. @@ -79,8 +79,8 @@ for (i=0; i Math.sqrt(9) `Math`는 수학계산을 위한 내부 모듈입니다. 루비에서 모듈은 두 가지 역할을 합니다. 위의 예는 이중 한 가지를 보여주고 있습니다. 즉, 관련이 -있는 여러 메소드를 하나의 이름으로 묶어두는 것이지요. `Math`에는 -`sin()`과 `tan()` 같은 메소드도 들어있답니다. +있는 여러 메서드를 하나의 이름으로 묶어두는 것이지요. `Math`에는 +`sin()`과 `tan()` 같은 메서드도 들어있답니다. 다음은 점을 설명할 차례군요. 점은 무슨 역할을 할까요? 점은 메시지와 메시지를 받는 대상을 구분하여 줍니다. 메시지가 무엇이냐구요? 위의 예제의 경우 메시지는 `sqrt(9)`입니다. 이는 "제곱근"을 의미하는 -`sqrt` 메소드를 호출하며 `9`를 매개 변수로 넘기라는 의미입니다. +`sqrt` 메서드를 호출하며 `9`를 매개 변수로 넘기라는 의미입니다. -이 메소드 호출의 결과 값은 `3.0`입니다. 그냥 `3`이 아니라는 걸 +이 메서드 호출의 결과 값은 `3.0`입니다. 그냥 `3`이 아니라는 걸 눈치채셨는지요? 사실 대부분의 경우에 제곱근의 값은 정수가 아니므로 -`sqrt` 메소드는 언제나 실수를 반환합니다. +`sqrt` 메서드는 언제나 실수를 반환합니다. 계산의 결과 값을 저장해두고 싶다면 어떻게 해야 할까요? 변수에 할당해두면 됩니다. diff --git a/ko/documentation/ruby-from-other-languages/index.md b/ko/documentation/ruby-from-other-languages/index.md index 6420e2fea2..9db35715fe 100644 --- a/ko/documentation/ruby-from-other-languages/index.md +++ b/ko/documentation/ruby-from-other-languages/index.md @@ -75,7 +75,7 @@ irb(main):002:0> "george".object_id == "george".object_id irb(main):003:0> {% endhighlight %} -`object_id` 메소드는 객체의 아이덴티티를 반환합니다. 만약 두 객체가 같은 +`object_id` 메서드는 객체의 아이덴티티를 반환합니다. 만약 두 객체가 같은 `object_id`를 가진다면 두 객체는 같습니다(메모리 안의 같은 객체를 가리킵니다). 보시다시피, 심볼을 한 번 사용하면, 같은 문자열을 사용하는 모든 심볼은 @@ -118,7 +118,7 @@ end 달러 기호(`$`)로 시작하면 전역 변수입니다. `@`로 시작하면 인스턴스 변수입니다. `@@`로 시작하면 클래스 변수입니다. -하지만 메소드 이름은 대문자로 시작할 수 있습니다. 이는 밑에 예에서 볼 수 +하지만 메서드 이름은 대문자로 시작할 수 있습니다. 이는 밑에 예에서 볼 수 있는 것처럼 혼동을 야기할 수 있습니다. {% highlight ruby %} @@ -132,7 +132,7 @@ end ### 키워드 인자 -루비 2.0부터 메소드는 파이썬처럼 키워드 인자로 선언할 +루비 2.0부터 메서드는 파이썬처럼 키워드 인자로 선언할 수 있습니다. {% highlight ruby %} @@ -187,7 +187,7 @@ end 아마 `another_method`가 `public`이기를 기대할 수도 있지만, `private` 액세스 한정자가 스코프의 끝이나 다른 액세스 한정자가 나올 때까지 지속 -됩니다. 기본적으로 메소드는 `public`입니다. +됩니다. 기본적으로 메서드는 `public`입니다. {% highlight ruby %} class MyClass @@ -201,21 +201,21 @@ class MyClass end {% endhighlight %} -`public`, `private`, `protected`는 사실 메소드이므로 매개 변수를 받을 수 -있습니다. 한정자에 심볼을 넘겨주면, 메소드의 액세스 범위가 변경됩니다. +`public`, `private`, `protected`는 사실 메서드이므로 매개 변수를 받을 수 +있습니다. 한정자에 심볼을 넘겨주면, 메서드의 액세스 범위가 변경됩니다. -### 메소드 액세스 +### 메서드 액세스 자바에서, `public`은 누구라도 액세스 할 수 있음을 의미합니다. `protected`는 클래스의 인스턴스, 하위 클래스의 인스턴스, 같은 패키지의 클래스의 인스턴스 는 액세스할 수 있지만, 그 밖의 장소에서는 액세스 할 수 없음을 의미합니다. `private`은 클래스의 인스턴스를 제외한 장소에서는 액세스 할 수 없음을 의미합니다. -루비는 약간 다릅니다. `public`은 말 그대로 공개입니다. `private`은 메소드에서만 -명시적인 수신기 없이 메소드를 호출할 수 있다는 말입니다. **self**만이 private -메소드 호출의 리시버로 허용됩니다. +루비는 약간 다릅니다. `public`은 말 그대로 공개입니다. `private`은 메서드에서만 +명시적인 수신기 없이 메서드를 호출할 수 있다는 말입니다. **self**만이 private +메서드 호출의 리시버로 허용됩니다. -`protected` 밖에서부터 호출했을 때 주의해야 한다는 뜻입니다. `protected` 메소드는 +`protected` 밖에서부터 호출했을 때 주의해야 한다는 뜻입니다. `protected` 메서드는 클래스나 하위 클래스 인스턴스에서 호출할 수 있고, 다른 인스턴스를 리시버로 사용할 수 있습니다. [루비 FAQ][faq]에서 가져온 예제입니다. @@ -259,7 +259,7 @@ t1 == t2 루비의 클래스는 열려 있습니다. 언제든 클래스를 열어서, 추가하고, 변경할 수 있습니다. `Fixnum`이나 심지어 모든 객체의 부모인 `Object` 같은 코어 클래스도 예외는 아닙니다. 루비 온 레일즈에서는 시간을 제어하기 위해 `Fixnum`에 많은 -메소드를 추가해서 사용합니다. 밑을 보세요. +메서드를 추가해서 사용합니다. 밑을 보세요. {% highlight ruby %} class Fixnum @@ -274,21 +274,21 @@ end Time.mktime(2006, 01, 01) + 14.hours # => Sun Jan 01 14:00:00 {% endhighlight %} -### 웃긴 메소드 이름 +### 웃긴 메서드 이름 -루비에서는, 메소드 이름이 물음표나 느낌표로 끝날 수 있습니다. -관례에 의하면, 질문에 답하는 메소드는 물음표로 끝납니다. +루비에서는, 메서드 이름이 물음표나 느낌표로 끝날 수 있습니다. +관례에 의하면, 질문에 답하는 메서드는 물음표로 끝납니다. (예를 들어 리시버가 비었을 때 **true**를 반환하는 `Array#empty?`) -관례에서 "위험할" 수 있는 메소드는 느낌표로 끝납니다. -(예를 들어 `exit!` 같은 **self**나 인자를 변경하는 메소드) -인자를 변경하는 모든 메소드가 느낌표로 끝나지는 않습니다. +관례에서 "위험할" 수 있는 메서드는 느낌표로 끝납니다. +(예를 들어 `exit!` 같은 **self**나 인자를 변경하는 메서드) +인자를 변경하는 모든 메서드가 느낌표로 끝나지는 않습니다. `Array#replace`는 다른 배열의 내용으로 배열의 내용을 치환합니다. -느낌표를 self를 수정하지 **않는** 메소드에 사용하는 것은 말이 +느낌표를 self를 수정하지 **않는** 메서드에 사용하는 것은 말이 되지 않습니다. -### 싱글턴 메소드 +### 싱글턴 메서드 -싱글턴 메소드는 객체별 메소드입니다. 싱글턴 메소드는 정의된 객체에서만 +싱글턴 메서드는 객체별 메서드입니다. 싱글턴 메서드는 정의된 객체에서만 사용 가능합니다. {% highlight ruby %} @@ -311,16 +311,16 @@ other_car = Car.new other_car.inspect # => Cheap car {% endhighlight %} -### 없는 메소드 +### 없는 메서드 -루비는 특정 메시지에 응답할 메소드를 찾을 수 없을 때에도 포기하지 -않습니다. 찾을 수 없었던 메소드의 이름과 인자를 가지고 -`method_missing` 메소드를 호출합니다. 기본적으로 `method_missing`은 +루비는 특정 메시지에 응답할 메서드를 찾을 수 없을 때에도 포기하지 +않습니다. 찾을 수 없었던 메서드의 이름과 인자를 가지고 +`method_missing` 메서드를 호출합니다. 기본적으로 `method_missing`은 NameError 예외를 일으키지만, 애플리케이션에 맞게 재정의 할 수 있고 많은 라이브러리들이 그렇게 사용합니다. 예제를 보세요. {% highlight ruby %} -# id는 메소드 호출의 이름이고 , * 문법은 모든 인자를 +# id는 메서드 호출의 이름이고 , * 문법은 모든 인자를 # 'arguments'라는 이름의 배열에 넣어줍니다. def method_missing(id, *arguments) puts "Method #{id} was called, but not found. It has " + @@ -337,7 +337,7 @@ __ :a, :b, 10 ### 함수 호출이 아닌, 메시지 넘기기 -메소드 호출은 사실 다른 객체로 던지는 **메시지**입니다. +메서드 호출은 사실 다른 객체로 던지는 **메시지**입니다. {% highlight ruby %} # 이 구문들은 @@ -364,10 +364,10 @@ adder = block { |a, b| a + b } adder.class # => Proc {% endhighlight %} -메소드 호출 밖에서도 블록과 함께 `Proc.new`를 호출하거나 `lambda` 메소드를 +메서드 호출 밖에서도 블록과 함께 `Proc.new`를 호출하거나 `lambda` 메서드를 호출해 블록을 만들 수 있습니다. -비슷하게, 메소드도 만들 때에는 객체입니다. +비슷하게, 메서드도 만들 때에는 객체입니다. {% highlight ruby %} method(:puts).call "puts is an object!" @@ -376,8 +376,8 @@ method(:puts).call "puts is an object!" ### 연산자는 신택스 슈거 -루비의 대부분의 연산자는 메소드 호출의 (몇가지 우선순위 규칙을 -포함한) 신택스 슈거입니다. 예를 들어, Fixnum의 + 메소드를 오버라이드 +루비의 대부분의 연산자는 메서드 호출의 (몇가지 우선순위 규칙을 +포함한) 신택스 슈거입니다. 예를 들어, Fixnum의 + 메서드를 오버라이드 할 수 있습니다. {% highlight ruby %} @@ -391,9 +391,9 @@ end C++의 `operator+` 같은 건 필요 없습니다. -`[]` 와 `[]=` 메소드를 정의한다면 배열 스타일 액세스도 가능합니다. -(+1나 -2 같은) 단항 +와 -를 정의하기 위해서는 각기 `+@`와 `-@` 메소드를 -정의하시면 됩니다. 밑의 연산자는 신택스 슈거가 **아닙니다**. 메소드가 +`[]` 와 `[]=` 메서드를 정의한다면 배열 스타일 액세스도 가능합니다. +(+1나 -2 같은) 단항 +와 -를 정의하기 위해서는 각기 `+@`와 `-@` 메서드를 +정의하시면 됩니다. 밑의 연산자는 신택스 슈거가 **아닙니다**. 메서드가 아니며 재정의할 수 없습니다. {% highlight ruby %} diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-java/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-java/index.md index 6dbd57e7f6..cf9a9c9a54 100644 --- a/ko/documentation/ruby-from-other-languages/to-ruby-from-java/index.md +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-java/index.md @@ -15,7 +15,7 @@ lang: ko * 메모리는 가비지 컬렉터에서 관리합니다. * 객체는 강 타입입니다. -* public, private, protected 메소드가 있습니다. +* public, private, protected 메서드가 있습니다. * 내장된 문서화 툴이 있습니다(Ruby에서는 RDoc이라 합니다). rdoc으로 생성된 문서는 javadoc으로 생성된 문서와 매우 비슷합니다. @@ -30,14 +30,14 @@ lang: ko * 클래스 같은 것을 정의할 때 코드 블록에 중괄호를 넣는 대신, 선언 뒤에 `end` 키워드를 사용합니다. * `import` 대신 `require`를 사용합니다. -* 모든 맴버 변수는 private입니다. 밖에서의 모든 접근은 메소드를 통해 합니다. -* 메소드 호출의 괄호는 보통 생략 가능하고 자주 생략합니다. +* 모든 맴버 변수는 private입니다. 밖에서의 모든 접근은 메서드를 통해 합니다. +* 메서드 호출의 괄호는 보통 생략 가능하고 자주 생략합니다. * 2나 3.14159 같은 숫자를 포함해 모든 것이 객체입니다. * 정적 타입 체크가 없습니다. * 변수 이름은 라벨일 뿐입니다. 변수 이름에 관련된 타입은 없습니다. * 타입 선언이 없습니다. 필요할 때 새로운 변수 이름에 대입만 하시면 그대로 "동작"합니다. (예를 들어, `int[] a = {1,2,3};` 대신 `a = [1,2,3]`) -* 형변환이 없습니다. 그냥 메소드를 호출 하세요. 예외를 보게 될 때에는 +* 형변환이 없습니다. 그냥 메서드를 호출 하세요. 예외를 보게 될 때에는 유닛테스트가 코드를 실행하기도 전에 말해 줄 것입니다. * `Foo foo = new Foo("hi")` 대신 `foo = Foo.new("hi")`를 사용합니다. * 생성자는 클래스 이름 대신 항상 “initialize”로 명명됩니다. diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-python/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-python/index.md index c6e147e9a3..be42b349f3 100644 --- a/ko/documentation/ruby-from-other-languages/to-ruby-from-python/index.md +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-python/index.md @@ -43,8 +43,8 @@ lang: ko * "새로운 스타일", "옛날 스타일" 클래스가 없습니다. 한 종류입니다. (파이썬 3 이상은 이 문제가 없습니다만, 파이썬 2와의 완벽한 하위 호환은 되지 않습니다.) -* 속성을 직접 액세스할 수 없습니다. 루비에서는 전부 메소드 호출입니다. -* 메소드를 호출할 때의 괄호는 대부분 생략가능합니다. +* 속성을 직접 액세스할 수 없습니다. 루비에서는 전부 메서드 호출입니다. +* 메서드를 호출할 때의 괄호는 대부분 생략가능합니다. * 파이썬의 `_자발적인_` 밑줄 `__규칙__` 대신 `public`, `private`, `protected`로 액세스를 강제할 수 있습니다. * “mixins”은 다중 상속 대신 사용합니다. diff --git a/ko/examples/hello_world.md b/ko/examples/hello_world.md index e9b52e188d..6ab81d8682 100644 --- a/ko/examples/hello_world.md +++ b/ko/examples/hello_world.md @@ -7,7 +7,7 @@ layout: null # 루비로 짜면 간단합니다 # 불 필요한 것들: # -# * "main" 메소드 +# * "main" 메서드 # * 줄 바꿈 # * 세미콜론 # diff --git a/ko/news/_posts/2007-10-08-net-https-vulnerability.md b/ko/news/_posts/2007-10-08-net-https-vulnerability.md index 3a40bc0646..2596de1d41 100644 --- a/ko/news/_posts/2007-10-08-net-https-vulnerability.md +++ b/ko/news/_posts/2007-10-08-net-https-vulnerability.md @@ -12,7 +12,7 @@ net/https 라이브러리의 보안 취약점이 보고 되었습니다. #### 영향력 -이 취약점은 http.rb 파일에 있는 연결 메소드에서 발견되었습니다. SSL 연결 네고시에이션(negotiation)을 마친 후 +이 취약점은 http.rb 파일에 있는 연결 메서드에서 발견되었습니다. SSL 연결 네고시에이션(negotiation)을 마친 후 post\_connection\_check 호출이 실패하는 것입니다. 서버 인증서의 CN이 요청한 DNS 이름에 의한 유효성 체크를 하지 않기 때문에, 공격자는 SSL 연결에서 해당 서버의 사용자로 위장 가능합니다. 그렇게 되면 SSL이 제공하는 무결성이나 비밀성 등의 혜택이 사라집니다. @@ -36,7 +36,7 @@ post\_connection\_check 호출이 실패하는 것입니다. 서버 인증서의 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.gz>][2] * [<URL:https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p114.tar.gz>][3] - 그리고 Net::HTTP#enable\_post\_connection\_check= 메소드를 이용해 + 그리고 Net::HTTP#enable\_post\_connection\_check= 메서드를 이용해 post\_connection\_check를 활성화합니다. http = Net::HTTP.new(host, 443) @@ -58,7 +58,7 @@ post\_connection\_check 호출이 실패하는 것입니다. 서버 인증서의 #### 변경 사항 -* 2007-10-04 16:30 +09:00 enable\_post\_connection\_check 메소드에 해결 방법에 관한 +* 2007-10-04 16:30 +09:00 enable\_post\_connection\_check 메서드에 해결 방법에 관한 설명이 추가되었습니다. diff --git a/ko/news/_posts/2010-07-15-ruby-1-9-2-rc1-release.md b/ko/news/_posts/2010-07-15-ruby-1-9-2-rc1-release.md index 804cfad7f6..317691c917 100644 --- a/ko/news/_posts/2010-07-15-ruby-1-9-2-rc1-release.md +++ b/ko/news/_posts/2010-07-15-ruby-1-9-2-rc1-release.md @@ -10,7 +10,7 @@ lang: ko 루비 1.9.2는 아래의 몇 가지 항목을 제외하고, 1.9.1과의 호환성을 유지하고 있습니다. -* 다수의 추가 메소드 +* 다수의 추가 메서드 * 새로운 socket API(IPv6 지원) * 새로운 인코딩 * 난수 생성을 위한 Random 클래스 diff --git a/ko/news/_posts/2010-07-19-ruby-1-9-2-rc2-release.md b/ko/news/_posts/2010-07-19-ruby-1-9-2-rc2-release.md index 604c9f4b67..46e8b5b754 100644 --- a/ko/news/_posts/2010-07-19-ruby-1-9-2-rc2-release.md +++ b/ko/news/_posts/2010-07-19-ruby-1-9-2-rc2-release.md @@ -15,7 +15,7 @@ RC1 공개 후 psych 라이브러리 수정과 몇 가지 버그 수정이 이 루비 1.9.2는 아래의 몇 가지 항목을 제외하고, 1.9.1과의 호환성을 유지하고 있습니다. -* 다수의 추가 메소드 +* 다수의 추가 메서드 * 새로운 socket API(IPv6 지원) * 새로운 인코딩 * 난수 생성을 위한 Random 클래스 diff --git a/ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md b/ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md index 11f824942e..cb6e522f11 100644 --- a/ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md +++ b/ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md @@ -46,16 +46,16 @@ lang: ko ### Core클래스 -* ARGF: ARGF.print와 ARGF.read\_nonblock 등 새로운 메소드가 추가되었습니다. +* ARGF: ARGF.print와 ARGF.read\_nonblock 등 새로운 메서드가 추가되었습니다. * Array#pack, String#unpack: 엔디안을 명시적으로 지정할 수 있게 되었습니다. * Bignum: 내부표현으로 자릿수가 150 이상인 정수의 곱셈을 Toom-3 알고리즘으로 처리하도록 변경되었습니다. 이에 따라 성능 향상이 이루어졌습니다. * 정수 File::NULL과 File::DIRECT가 추가되었습니다. * IO#putc: 멀티바이트 문자를 지원합니다. * IO: IO#advise, IO.write, IO.binwrite가 추가되었습니다. -* \#\_\_id\_\_가 BasicObject의 메소드로 변경되었습니다. +* \#\_\_id\_\_가 BasicObject의 메서드로 변경되었습니다. * Kernel#rand의 인수로 Range 객체를 지정할 수 있습니다. -* Module#private\_constant, Module#public\_constant 메소드가 추가되었습니다. +* Module#private\_constant, Module#public\_constant 메서드가 추가되었습니다. * String#prepend, String#byteslice가 추가되었습니다. * Time#strftime: %:z와 %::z.를 지원합니다. * Process#maxgroups와 Process#maxgroups: 보조 그룹을 지원하지 않는 환경에서 diff --git a/ko/news/_posts/2013-09-23-ruby-2-1-0-preview1-is-released.md b/ko/news/_posts/2013-09-23-ruby-2-1-0-preview1-is-released.md index cced8ba6b4..af9a802a52 100644 --- a/ko/news/_posts/2013-09-23-ruby-2-1-0-preview1-is-released.md +++ b/ko/news/_posts/2013-09-23-ruby-2-1-0-preview1-is-released.md @@ -36,7 +36,7 @@ Fastly를 이용한 [https://cache.ruby-lang.org/pub/ruby/2.1/](https://cache.ru 주목할 만한 변경점들은 아래와 같습니다: -* VM (메소드 캐시) +* VM (메서드 캐시) * RGenGC (ko1의 [RubyKaigi presentation](http://rubykaigi.org/2013/talk/S73)과 [EuRuKo presentation](http://www.atdot.net/~ko1/activities/Euruko2013-ko1.pdf)을 참조하십시오) * refinements * syntax diff --git a/ko/news/_posts/2013-11-22-ruby-2-1-0-preview2-is-released.md b/ko/news/_posts/2013-11-22-ruby-2-1-0-preview2-is-released.md index 37be6b21b2..f8dbefcc22 100644 --- a/ko/news/_posts/2013-11-22-ruby-2-1-0-preview2-is-released.md +++ b/ko/news/_posts/2013-11-22-ruby-2-1-0-preview2-is-released.md @@ -43,7 +43,7 @@ lang: ko 주목할만한 변화는 아래와 같습니다: -* VM (메소드 캐시) +* VM (메서드 캐시) * RGenGC (ko1의 [RubyKaigi presentation](http://rubykaigi.org/2013/talk/S73)과 [RubyConf 2013 presentation](http://www.atdot.net/~ko1/activities/rubyconf2013-ko1_pub.pdf)을 참조하십시오) * refinements [#8481](https://bugs.ruby-lang.org/issues/8481) [#8571](https://bugs.ruby-lang.org/issues/8571) * 문법 변화 diff --git a/ko/news/_posts/2013-12-20-ruby-2-1-0-rc1-is-released.md b/ko/news/_posts/2013-12-20-ruby-2-1-0-rc1-is-released.md index ef912b0d65..6ed4578fc0 100644 --- a/ko/news/_posts/2013-12-20-ruby-2-1-0-rc1-is-released.md +++ b/ko/news/_posts/2013-12-20-ruby-2-1-0-rc1-is-released.md @@ -35,7 +35,7 @@ lang: ko 루비 2.0.0 이후의 주목할 만한 변경은 다음과 같습니다. -* VM (메소드 캐시) +* VM (메서드 캐시) * RGenGC (ko1 님의 [RubyKaigi 프레젠테이션](http://rubykaigi.org/2013/talk/S73)과 [RubyConf 2013 프레젠테이션](http://www.atdot.net/~ko1/activities/rubyconf2013-ko1_pub.pdf)을 확인하세요) * refinements [#8481](https://bugs.ruby-lang.org/issues/8481) [#8571](https://bugs.ruby-lang.org/issues/8571) * 문법의 변경 diff --git a/ko/news/_posts/2013-12-25-ruby-2-1-0-is-released.md b/ko/news/_posts/2013-12-25-ruby-2-1-0-is-released.md index 69bd442417..298e3cbda2 100644 --- a/ko/news/_posts/2013-12-25-ruby-2-1-0-is-released.md +++ b/ko/news/_posts/2013-12-25-ruby-2-1-0-is-released.md @@ -32,7 +32,7 @@ lang: ko 주목할 만한 변화는 아래와 같습니다. -* VM (메소드 캐시) +* VM (메서드 캐시) * RGenGC (ko1의 [RubyKaigi presentation](http://rubykaigi.org/2013/talk/S73)과 [RubyConf 2013 presentation](http://www.atdot.net/~ko1/activities/rubyconf2013-ko1_pub.pdf)을 참조하십시오) * refinements [#8481](https://bugs.ruby-lang.org/issues/8481) [#8571](https://bugs.ruby-lang.org/issues/8571) * 문법 변화 diff --git a/ko/news/_posts/2014-03-10-regression-of-hash-reject-in-ruby-2-1-1.md b/ko/news/_posts/2014-03-10-regression-of-hash-reject-in-ruby-2-1-1.md index 1bbaba1875..f028cc7fa6 100644 --- a/ko/news/_posts/2014-03-10-regression-of-hash-reject-in-ruby-2-1-1.md +++ b/ko/news/_posts/2014-03-10-regression-of-hash-reject-in-ruby-2-1-1.md @@ -7,7 +7,7 @@ date: 2014-03-10 14:00:00 +0000 lang: ko --- -루비 2.1.0이나 이전에는 `Hash` 클래스를 상속받은 클래스에서 `reject` 메소드는 +루비 2.1.0이나 이전에는 `Hash` 클래스를 상속받은 클래스에서 `reject` 메서드는 자신의 클래스의 객체를 반환했습니다. 하지만 루비 2.1.1에는 의도치 않게 상속된 클래스가 아닌 Hash 클래스를 반환하게 변경되었습니다. diff --git a/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 7939b46cd0..ab679d6960 100644 --- a/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -13,7 +13,7 @@ lang: ko 공지 직후에 치명적인 보안 회귀가 1.9.2에서 발견되었습니다. 이 취약점은 CVE ID [CVE-2014-6438]에 할당 되었습니다. -이 버그는 URI 메소드 `decode_www_form_component`를 이용해 긴 문자열을 파싱할 때 +이 버그는 URI 메서드 `decode_www_form_component`를 이용해 긴 문자열을 파싱할 때 발생합니다. 이 버그는 다음 코드를 취약점이 있는 루비 환경에서 실행해 보는 것으로 재현 가능합니다. diff --git a/ko/news/_posts/2014-09-18-ruby-2-2-0-preview1-released.md b/ko/news/_posts/2014-09-18-ruby-2-2-0-preview1-released.md index 1cbd7fb6a4..50815f0609 100644 --- a/ko/news/_posts/2014-09-18-ruby-2-2-0-preview1-released.md +++ b/ko/news/_posts/2014-09-18-ruby-2-2-0-preview1-released.md @@ -29,7 +29,7 @@ lang: ko * [심볼 GC](https://bugs.ruby-lang.org/issues/9634) * 코어 라이브러리: * Unicode 7.0 지원 [#9092](https://bugs.ruby-lang.org/issues/9092) - * 새로운 메소드: + * 새로운 메서드: * Enumerable#slice_after * Float#next_float, Float#prev_float * File.birthtime, File#birthtime diff --git a/ko/news/_posts/2014-10-27-changing-default-settings-of-ext-openssl.md b/ko/news/_posts/2014-10-27-changing-default-settings-of-ext-openssl.md index 60260bf0ad..083b7a5401 100644 --- a/ko/news/_posts/2014-10-27-changing-default-settings-of-ext-openssl.md +++ b/ko/news/_posts/2014-10-27-changing-default-settings-of-ext-openssl.md @@ -42,7 +42,7 @@ DRb와 WEBrick은 별도의 설정을 사용하기 떄문에, 영향받지 않 ### ext/openssl을 직접 사용하는 스크립트 -이 변경은 `OpenSSL::SSL::SSLContext` 객체가 객체화될 때와 인스턴스 메소드 `set_params`가 불릴 때 반영됩니다. +이 변경은 `OpenSSL::SSL::SSLContext` 객체가 객체화될 때와 인스턴스 메서드 `set_params`가 불릴 때 반영됩니다. 예를 들면, 이런 코드입니다. diff --git a/ko/news/_posts/2014-11-28-ruby-2-2-0-preview2-released.md b/ko/news/_posts/2014-11-28-ruby-2-2-0-preview2-released.md index 9486c93d4e..7f013e58a1 100644 --- a/ko/news/_posts/2014-11-28-ruby-2-2-0-preview2-released.md +++ b/ko/news/_posts/2014-11-28-ruby-2-2-0-preview2-released.md @@ -46,7 +46,7 @@ lang: ko * configure --with-jemalloc [기능 #9113](https://bugs.ruby-lang.org/issues/9113) * 코어 라이브러리: * 유니코드 7.0 지원 [#9092](https://bugs.ruby-lang.org/issues/9092) - * 새로운 메소드: + * 새로운 메서드: * Enumerable#slice_after [#9071](https://bugs.ruby-lang.org/issues/9071), Enumerable#slice_when [#9826](https://bugs.ruby-lang.org/issues/9826) * Float#next_float, Float#prev_float [#9834](https://bugs.ruby-lang.org/issues/9834) * File.birthtime, File#birthtime [#9647](https://bugs.ruby-lang.org/issues/9647) diff --git a/ko/news/_posts/2014-12-18-ruby-2-2-0-rc1-released.md b/ko/news/_posts/2014-12-18-ruby-2-2-0-rc1-released.md index 1060e306e0..4730ed83fd 100644 --- a/ko/news/_posts/2014-12-18-ruby-2-2-0-rc1-released.md +++ b/ko/news/_posts/2014-12-18-ruby-2-2-0-rc1-released.md @@ -51,7 +51,7 @@ vfork(2)는 아직 잘 알려지지 않은 위험할 수도 있는 시스템 콜 * configure --with-jemalloc [기능 #9113](https://bugs.ruby-lang.org/issues/9113) * 코어 라이브러리: * 유니코드 7.0 지원 [#9092](https://bugs.ruby-lang.org/issues/9092) - * 새로운 메소드: + * 새로운 메서드: * Enumerable#slice_after [#9071](https://bugs.ruby-lang.org/issues/9071), Enumerable#slice_when [#9826](https://bugs.ruby-lang.org/issues/9826) * Float#next_float, Float#prev_float [#9834](https://bugs.ruby-lang.org/issues/9834) * File.birthtime, File#birthtime [#9647](https://bugs.ruby-lang.org/issues/9647) diff --git a/ko/news/_posts/2014-12-25-ruby-2-2-0-released.md b/ko/news/_posts/2014-12-25-ruby-2-2-0-released.md index 55a9b814f9..1dda704e01 100644 --- a/ko/news/_posts/2014-12-25-ruby-2-2-0-released.md +++ b/ko/news/_posts/2014-12-25-ruby-2-2-0-released.md @@ -49,7 +49,7 @@ vfork(2)는 아직 잘 알려지지 않은 위험할 수도 있는 시스템 콜 * configure --with-jemalloc [기능 #9113](https://bugs.ruby-lang.org/issues/9113) * 코어 라이브러리: * 유니코드 7.0 지원 [#9092](https://bugs.ruby-lang.org/issues/9092) - * 새로운 메소드: + * 새로운 메서드: * Enumerable#slice_after [#9071](https://bugs.ruby-lang.org/issues/9071), Enumerable#slice_when [#9826](https://bugs.ruby-lang.org/issues/9826) * Float#next_float, Float#prev_float [#9834](https://bugs.ruby-lang.org/issues/9834) * File.birthtime, File#birthtime [#9647](https://bugs.ruby-lang.org/issues/9647) diff --git a/ko/news/_posts/2015-12-11-ruby-2-3-0-preview2-released.md b/ko/news/_posts/2015-12-11-ruby-2-3-0-preview2-released.md index 5377eee31a..4935f88369 100644 --- a/ko/news/_posts/2015-12-11-ruby-2-3-0-preview2-released.md +++ b/ko/news/_posts/2015-12-11-ruby-2-3-0-preview2-released.md @@ -37,9 +37,9 @@ did_you_mean 젬은 간편한 디버깅을 위해 `NameError`와 `NoMethodError` 루비 2.3에는 많은 성능 향상이 포함됩니다. 예를 들어, [Proc#call 최적화](https://bugs.ruby-lang.org/issues/11569), -[메소드 엔트리 데이터 구조 재고](https://bugs.ruby-lang.org/issues/11278), +[메서드 엔트리 데이터 구조 재고](https://bugs.ruby-lang.org/issues/11278), [테이블 데이터 구조 도입](https://bugs.ruby-lang.org/issues/11420), -객체 할당과 메소드 호출 코드의 머신 코드 레벨 튜닝과 그 밖의 수많은 최적화가 +객체 할당과 메서드 호출 코드의 머신 코드 레벨 튜닝과 그 밖의 수많은 최적화가 이루어져 있습니다. 루비 2.3.0-preview2를 시험하고 즐겁게 프로그래밍 해보세요. 그리고 지식을 diff --git a/ko/news/_posts/2015-12-25-ruby-2-3-0-released.md b/ko/news/_posts/2015-12-25-ruby-2-3-0-released.md index 2b97b31e72..760ea01385 100644 --- a/ko/news/_posts/2015-12-25-ruby-2-3-0-released.md +++ b/ko/news/_posts/2015-12-25-ruby-2-3-0-released.md @@ -23,7 +23,7 @@ C#, Groovy, Swift의 [세이프 내비게이션 연산자](https://bugs.ruby-lan [RubyVM::InstructionSequence#to_binary와 .load_from_binary](https://bugs.ruby-lang.org/issues/11788)가 실험적으로 도입되었습니다. 이 기능을 통해서 ISeq(bytecode) 사전 컴파일 기능을 만들 수 있습니다. -더불어 많은 성능 개선이 있었습니다. 예를 들어, [메소드 엔트리 데이터 구조의 변경](https://bugs.ruby-lang.org/issues/11278), [새 테이블 데이터 구조의 도입](https://bugs.ruby-lang.org/issues/11420), [Proc#call 최적화](https://bugs.ruby-lang.org/issues/11569), 기계 코드 레벨의 객체 할당 및 함수 호출 방법의 개선, [더 영리한 인스턴스 변수 데이터 구조](https://bugs.ruby-lang.org/issues/11170), [소켓과 I/O에서 고성능 논블로킹 I/O를 위해 "exception:" 키워드 사용을 허용](https://bugs.ruby-lang.org/issues/11229)하는 등의 변경이 있었습니다. NEWS 파일의 "Implementation improvements"를 확인하세요. +더불어 많은 성능 개선이 있었습니다. 예를 들어, [메서드 엔트리 데이터 구조의 변경](https://bugs.ruby-lang.org/issues/11278), [새 테이블 데이터 구조의 도입](https://bugs.ruby-lang.org/issues/11420), [Proc#call 최적화](https://bugs.ruby-lang.org/issues/11569), 기계 코드 레벨의 객체 할당 및 함수 호출 방법의 개선, [더 영리한 인스턴스 변수 데이터 구조](https://bugs.ruby-lang.org/issues/11170), [소켓과 I/O에서 고성능 논블로킹 I/O를 위해 "exception:" 키워드 사용을 허용](https://bugs.ruby-lang.org/issues/11229)하는 등의 변경이 있었습니다. NEWS 파일의 "Implementation improvements"를 확인하세요. 새 기능과 호환성의 전체 목록은 [NEWS](https://github.com/ruby/ruby/blob/v2_3_0/NEWS)와 [ChangeLog](https://github.com/ruby/ruby/blob/v2_3_0/ChangeLog)를 확인해주세요. diff --git a/ko/news/_posts/2017-09-14-json-heap-exposure-cve-2017-14064.md b/ko/news/_posts/2017-09-14-json-heap-exposure-cve-2017-14064.md index 08519f538c..1ac2c81073 100644 --- a/ko/news/_posts/2017-09-14-json-heap-exposure-cve-2017-14064.md +++ b/ko/news/_posts/2017-09-14-json-heap-exposure-cve-2017-14064.md @@ -13,7 +13,7 @@ lang: ko ## 세부 내용 -`JSON` 모듈의 `generate` 메소드는 `JSON::Ext::Generator::State` 클래스의 인스턴스를 옵션으로 받을 수 있습니다. +`JSON` 모듈의 `generate` 메서드는 `JSON::Ext::Generator::State` 클래스의 인스턴스를 옵션으로 받을 수 있습니다. 고의로 조작한 인스턴스를 넘기면, 힙 메모리 내용을 JSON 문자열로 출력할 수 있습니다. 해당 버전을 사용하는 모든 사용자는 즉시 업그레이드를 하거나 아래 해결 방법으로 조치하기 바랍니다. diff --git a/ko/news/_posts/2017-09-14-openssl-asn1-buffer-underrun-cve-2017-14033.md b/ko/news/_posts/2017-09-14-openssl-asn1-buffer-underrun-cve-2017-14033.md index d3d90fde1f..a9723daf11 100644 --- a/ko/news/_posts/2017-09-14-openssl-asn1-buffer-underrun-cve-2017-14033.md +++ b/ko/news/_posts/2017-09-14-openssl-asn1-buffer-underrun-cve-2017-14033.md @@ -13,7 +13,7 @@ lang: ko ## 세부 내용 -`OpenSSL::ASN1`의 `decode` 메소드에 고의로 조작한 문자열을 넘기면, 버퍼 언더런이 발생하여 루비 인터프리터가 뻗어버릴 수 있습니다. +`OpenSSL::ASN1`의 `decode` 메서드에 고의로 조작한 문자열을 넘기면, 버퍼 언더런이 발생하여 루비 인터프리터가 뻗어버릴 수 있습니다. 해당 버전을 사용하는 모든 사용자는 즉시 업그레이드를 하거나 아래 해결 방법으로 조치하기 바랍니다. diff --git a/ko/news/_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md b/ko/news/_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md index 15ce5f52a8..55361ee3c0 100644 --- a/ko/news/_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md +++ b/ko/news/_posts/2017-09-14-sprintf-buffer-underrun-cve-2017-0898.md @@ -8,7 +8,7 @@ tags: security lang: ko --- -`Kernel` 모듈의 `sprintf` 메소드에 버퍼 언더런 취약점이 있습니다. +`Kernel` 모듈의 `sprintf` 메서드에 버퍼 언더런 취약점이 있습니다. 이 취약점은 CVE 아이디 [CVE-2017-0898](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0898)로 할당하였습니다. ## 세부 내용 diff --git a/ko/news/_posts/2017-12-25-ruby-2-5-0-released.md b/ko/news/_posts/2017-12-25-ruby-2-5-0-released.md index f8a219d4e4..c77c53ad43 100644 --- a/ko/news/_posts/2017-12-25-ruby-2-5-0-released.md +++ b/ko/news/_posts/2017-12-25-ruby-2-5-0-released.md @@ -16,8 +16,8 @@ lang: ko - `rescue`/`else`/`ensure`가 do/end 블록 내부에서도 직접 사용할 수 있게 됩니다. [[Feature #12906]](https://bugs.ruby-lang.org/issues/12906) - `yield_self`가 추가되었습니다. 해당 컨텍스트에 주어진 블록을 넘깁니다. `tab`과는 다르게, 블록의 실행 결과를 반환합니다. [[Feature #6721]](https://bugs.ruby-lang.org/issues/6721) -- 분기 커버리지와 메소드 커버리지 측정을 지원합니다. - 분기 커버리지는 분기가 실행되었는지 아닌지를 나타냅니다. 또한 메소드 커버리지는 메소드가 호출되었는지 아닌지 측정합니다. 이 기능들을 이용하여 테스트 스위트를 실행하여 어떤 분기, 메소드가 실행되었는지를 알 수 있게 되므로, 테스트 스위트의 커버리지를 좀 더 엄밀하게 평가할 수 있습니다. [[Feature #13901]](https://bugs.ruby-lang.org/issues/13901) +- 분기 커버리지와 메서드 커버리지 측정을 지원합니다. + 분기 커버리지는 분기가 실행되었는지 아닌지를 나타냅니다. 또한 메서드 커버리지는 메서드가 호출되었는지 아닌지 측정합니다. 이 기능들을 이용하여 테스트 스위트를 실행하여 어떤 분기, 메서드가 실행되었는지를 알 수 있게 되므로, 테스트 스위트의 커버리지를 좀 더 엄밀하게 평가할 수 있습니다. [[Feature #13901]](https://bugs.ruby-lang.org/issues/13901) - Hash#slice [[Feature #8499]](https://bugs.ruby-lang.org/issues/8499)와 Hash#transform_keys [[Feature #13583]](https://bugs.ruby-lang.org/issues/13583)가 추가됩니다. - Struct.new로 키워드 인수를 받는 클래스를 생성할 수 있습니다. [[Feature #11925]](https://bugs.ruby-lang.org/issues/11925) - Enumerable#any?, all?, none?, one?이 패턴 인수를 받게 됩니다. [[Feature #11286]](https://bugs.ruby-lang.org/issues/11286) @@ -32,7 +32,7 @@ lang: ko - 블록 매개변수에 의한 블록 패스(예: `def foo(&b); bar(&b); end`)가 '지연 Proc 할당'을 통해 루비 2.4보다 약 3배 빨라집니다. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) - Mutex가 작고 빠르게 재작성되었습니다. [[Feature #13517]](https://bugs.ruby-lang.org/issues/13517) - ERB는 루비 2.4와 비교하여 2배 빠른 속도로 템플릿으로부터 코드를 생성합니다. -- `Array#concat`, `Enumerable#sort_by`, `String#concat`, `String#index`, `Time#+` 등의 내장 메소드의 속도가 향상되었습니다. +- `Array#concat`, `Enumerable#sort_by`, `String#concat`, `String#index`, `Time#+` 등의 내장 메서드의 속도가 향상되었습니다. - IO.copy_stream이 복사 오프로드를 위해서 copy_file_range(2)를 사용합니다. [[Feature #13867]](https://bugs.ruby-lang.org/issues/13867) ## 2.4 이후로 눈에 띄는 변경점 diff --git a/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md b/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md index 2ca9b0316f..d42cd3a8c3 100644 --- a/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md +++ b/ko/news/_posts/2018-02-24-ruby-2-6-0-preview1-released.md @@ -27,7 +27,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO 2.6.0-preview1에서는 JIT를 이용하기 위한 기반을 추가하고 매우 적은 최적화만이 구현되어 있습니다. 이 릴리스에 대해서 간단한 벤치마크를 이용하여 잠재적인 성능 향상을 확인할 수 있습니다만, Rails 애플리케이션과 같은 대규모 프로그램에서 루비 JIT 컴파일러의 최종적인 성능을 측정할만한 단계는 아닙니다. -앞으로 루비의 성능을 한 단계 향상시켜줄 것으로 기대되고 있는 메소드 인라인화를 구현할 예정입니다. +앞으로 루비의 성능을 한 단계 향상시켜줄 것으로 기대되고 있는 메서드 인라인화를 구현할 예정입니다. 또한 지원 환경을 늘려나갈 계획이며, 그 첫 번째로는 Visual Studio를 지원하는 것입니다. 새로운 루비의 성능을 기대해주세요. @@ -37,7 +37,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO * `Random.bytes`를 추가했습니다. [Feature #4938] * `Binding#source_location`을 추가했습니다. [Feature #14230] - 이 메소드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다 [Bug #4352]. 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메소드를 사용해야 합니다. + 이 메서드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다 [Bug #4352]. 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메서드를 사용해야 합니다. * `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가. [Feature #14386] diff --git a/ko/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md b/ko/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md index f807beab7b..f8165f5c70 100644 --- a/ko/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md +++ b/ko/news/_posts/2018-03-28-buffer-under-read-unpack-cve-2018-8778.md @@ -8,7 +8,7 @@ tags: security lang: ko --- -루비의 `String#unpack` 메소드에서 공격자가 배열 범위 바깥을 읽을 수 있는 취약점이 발견되었습니다. +루비의 `String#unpack` 메서드에서 공격자가 배열 범위 바깥을 읽을 수 있는 취약점이 발견되었습니다. 이 취약점은 CVE 아이디 [CVE-2018-8778](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8778)로 할당되었습니다. ## 세부 내용 diff --git a/ko/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md b/ko/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md index 1d1a1e1895..b83fd433be 100644 --- a/ko/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md +++ b/ko/news/_posts/2018-03-28-poisoned-nul-byte-dir-cve-2018-8780.md @@ -8,14 +8,14 @@ tags: security lang: ko --- -`Dir`의 몇몇 메소드에서 디렉터리 명으로 넘겨진 인수 문자열에 NUL 문자를 삽입하는 것으로, 의도하지 않은 디렉터리에 접근할 수 있는 취약점이 발견되었습니다. +`Dir`의 몇몇 메서드에서 디렉터리 명으로 넘겨진 인수 문자열에 NUL 문자를 삽입하는 것으로, 의도하지 않은 디렉터리에 접근할 수 있는 취약점이 발견되었습니다. 이 취약점은 CVE 아이디 [CVE-2018-8780](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8780)으로 할당되었습니다. ## 세부 내용 `Dir.open`, `Dir.new`, `Dir.entries`, `Dir.empty?`는 각자의 인수로 대상 디렉터리의 경로를 지정합니다. -만약 인수가 NUL(`\0`) 문자를 포함하는 경우, 이 메소드들은 NUL 문자 직전까지를 경로명으로 인식합니다. -그러므로 만약 외부 입력을 이 메소드들의 인수로 사용하는 경우, 공격자는 의도하지 않은 디렉터리에 접근할 수 있습니다. +만약 인수가 NUL(`\0`) 문자를 포함하는 경우, 이 메서드들은 NUL 문자 직전까지를 경로명으로 인식합니다. +그러므로 만약 외부 입력을 이 메서드들의 인수로 사용하는 경우, 공격자는 의도하지 않은 디렉터리에 접근할 수 있습니다. 해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. diff --git a/ko/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md b/ko/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md index 10f1209533..0970c71e49 100644 --- a/ko/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md +++ b/ko/news/_posts/2018-03-28-poisoned-nul-byte-unixsocket-cve-2018-8779.md @@ -8,17 +8,17 @@ tags: security lang: ko --- -루비에 내장되어 있는 소켓 라이브러리의 `UNIXServer.open` 메소드를 사용하여 의도치 않은 소켓을 생성할 수 있는 취약점이 발견되었습니다. -그리고 `UNIXSocket.open` 메소드에서는 의도치 않은 소켓 접근을 할 수 있는 취약점이 발견되었습니다. +루비에 내장되어 있는 소켓 라이브러리의 `UNIXServer.open` 메서드를 사용하여 의도치 않은 소켓을 생성할 수 있는 취약점이 발견되었습니다. +그리고 `UNIXSocket.open` 메서드에서는 의도치 않은 소켓 접근을 할 수 있는 취약점이 발견되었습니다. 이 취약점은 CVE 아이디 [CVE-2018-8779](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8779)로 할당되었습니다. ## 세부 내용 `UNIXServer.open`은 첫 번째 매개변수로 생성할 소켓의 경로를 넘겨받습니다. -만약 이 경로가 NUL(`\0`) 문자를 포함하는 경우, 이 메소드는 NUL 문자 직전까지를 경로명으로 인식합니다. -그러므로 만약 외부 입력을 이 메소드의 인수로 사용하는 경우, 공격자는 의도하지 않은 경로에 소켓 파일을 생성할 수 있습니다. +만약 이 경로가 NUL(`\0`) 문자를 포함하는 경우, 이 메서드는 NUL 문자 직전까지를 경로명으로 인식합니다. +그러므로 만약 외부 입력을 이 메서드의 인수로 사용하는 경우, 공격자는 의도하지 않은 경로에 소켓 파일을 생성할 수 있습니다. 그리고 `UNIXSocket.open`도 마찬가지로 첫 번째 매개변수로 생성할 소켓의 경로를 받으며, `UNIXServer.open`과 마찬가지로 NUL 문자 확인을 하지 않습니다. -그러므로 만약 외부 입력을 이 메소드의 인수로 사용하는 경우, 공격자는 의도하지 않은 경로의 소켓 파일에 접근할 수 있습니다. +그러므로 만약 외부 입력을 이 메서드의 인수로 사용하는 경우, 공격자는 의도하지 않은 경로의 소켓 파일에 접근할 수 있습니다. 해당 버전을 사용하는 모든 사용자는 즉시 업그레이드하기 바랍니다. diff --git a/ko/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md b/ko/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md index 9d54bdd065..c6f02bdffd 100644 --- a/ko/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md +++ b/ko/news/_posts/2018-03-28-unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914.md @@ -14,7 +14,7 @@ lang: ko ## 세부 내용 -tmpdir 라이브러리에 의해 추가되는 `Dir.mktmpdir` 메소드는 생성할 디렉터리명의 접두사나 접미사를 첫 번째 매개변수로 받습니다. +tmpdir 라이브러리에 의해 추가되는 `Dir.mktmpdir` 메서드는 생성할 디렉터리명의 접두사나 접미사를 첫 번째 매개변수로 받습니다. 접두사는 `"../"`와 같은 상대 경로를 포함할 수 있기 때문에 임의의 디렉터리를 대상으로 사용할 수 있습니다. 그러므로 외부 입력을 접두사로 사용하는 경우, 대상 디렉터리가 부적절한 권한을 가지고 있거나, 루비 프로세스가 부적절한 권한을 가지고 있다면 공격자는 임의의 디렉터리에 디렉터리나 파일을 생성할 수 있습니다. diff --git a/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 19803836e5..b7edb58847 100644 --- a/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/ko/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -28,7 +28,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO 2.6.0-preview2에서는 JIT를 이용하기 위한 기반을 추가하고 매우 적은 최적화만이 구현되어 있습니다. 이 릴리스에 대해서 간단한 벤치마크를 이용하여 잠재적인 성능 향상을 확인할 수 있습니다만, Rails 애플리케이션과 같은 대규모 프로그램에서 루비 JIT 컴파일러의 최종적인 성능을 측정할만한 단계는 아닙니다. -앞으로 루비의 성능을 한 단계 향상시켜줄 것으로 기대되고 있는 메소드 인라인화를 구현할 예정입니다. +앞으로 루비의 성능을 한 단계 향상시켜줄 것으로 기대되고 있는 메서드 인라인화를 구현할 예정입니다. 또한 지원 환경을 늘려나갈 계획이며, 그 첫 번째로는 Visual Studio를 지원하는 것입니다. 새로운 루비의 성능을 기대해주세요. @@ -37,7 +37,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO 루비 2.6에는 `RubyVM::AST` 모듈이 도입되었습니다. -이 모듈에은 문자열을 파싱하여 AST(추상구문트리)의 Node를 돌려주는 `parse` 메소드, 파일을 파싱하는 `parse_file` 메소드가 들어있습니다. +이 모듈에은 문자열을 파싱하여 AST(추상구문트리)의 Node를 돌려주는 `parse` 메서드, 파일을 파싱하는 `parse_file` 메서드가 들어있습니다. `RubyVM::AST::Node`도 도입되었습니다. 이 클래스의 인스턴스로부터 위치정보나 자식 노드를 얻을 수 있습니다. 이 기능은 실험적으로 포함되었으며, AST 노드의 구조는 호환성을 보장하지 않습니다. @@ -58,7 +58,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * `Binding#source_location`을 추가했습니다. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) - * 이 메소드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다. [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352) 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메소드를 사용해야 합니다. + * 이 메서드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. 지금까지는 `eval("[__FILE__, __LINE__]", binding)`을 사용하여 같은 정보를 획득할 수 있었습니다만, `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다. [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352) 그러므로 앞으로는 `Kernel#eval`보다는 이 새로운 메서드를 사용해야 합니다. * `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가했습니다. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) diff --git a/ko/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/ko/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md index 35c982e41f..94ea87fe27 100644 --- a/ko/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md +++ b/ko/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -13,9 +13,9 @@ lang: ko ## 세부 내용 -`Array#pack` 메소드에서는 인수로 지정된 형식에 따라서 수신자인 배열의 내용을 문자열로 변환하여 반환합니다. +`Array#pack` 메서드에서는 인수로 지정된 형식에 따라서 수신자인 배열의 내용을 문자열로 변환하여 반환합니다. 만약 수신자가 오염된 객체를 가지고 있는 경우, 반환하는 문자열도 오염되어 있어야 합니다. -수신자를 배열로 변환하는 `String#unpack` 메소드 역시 자신의 tainted 플래그를 변환 후의 배열에 전파해야 합니다. +수신자를 배열로 변환하는 `String#unpack` 메서드 역시 자신의 tainted 플래그를 변환 후의 배열에 전파해야 합니다. 하지만 `B`, `b`, `H`, `h` 형식을 사용하는 경우, 오염 정보가 전파되지 않았습니다. 그러므로 만약 스크립트가 신뢰할 수 없는 입력을 `Array#pack`이나 `String#unpack`을 통해 해당 형식으로 처리하고, 신뢰성을 오염 플래그로 확인하고 있었다면, 그 처리는 동작하지 않았을 가능성이 있습니다. From d9f4a07ed395e9f7f418dc5d69a4d57a80a88249 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 8 Nov 2018 22:11:49 +0900 Subject: [PATCH 0232/2563] [KO] Translate 2018-11-06-ruby-2-6-0-preview3-released.md (#1872) * cp {en,ko}/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md * Translate ruby 2.6.0-preview3 * Copy oneshot coverage explanation * Translate oneshot coverage * Fix translation --- ...2018-11-06-ruby-2-6-0-preview3-released.md | 134 ++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 ko/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md diff --git a/ko/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/ko/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md new file mode 100644 index 0000000000..3d7dcacbcc --- /dev/null +++ b/ko/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -0,0 +1,134 @@ +--- +layout: news_post +title: "루비 2.6.0-preview3 릴리스" +author: "naruse" +translator: "shia" +date: 2018-11-06 00:00:00 +0000 +lang: ko +--- + +루비 2.6.0-preview3 릴리스를 알리게 되어 기쁩니다. + +루비 2.6.0-preview3은 루비 2.6.0의 세 번째 프리뷰입니다. +이 프리뷰는 다가오는 릴리스 후보에 포함될 기능을 테스트하기 위하여 릴리스되었습니다. + +## JIT + +루비 2.6은 JIT(Just-in-time) 컴파일러의 첫 구현체를 포함합니다. + +JIT 컴파일러는 루비 프로그램의 실행 성능을 향상시키는 것이 목적입니다. +다른 언어의 일반적인 JIT 컴파일러와는 다르게, 루비의 JIT 컴파일러는 C 코드를 디스크에 출력한 뒤, 일반적인 C 컴파일러 프로세스를 사용해 네이티브 코드를 생성하도록 합니다. +다음을 참고하세요. [Vladimir Makarov가 작성한 MJIT 구조](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYOPT` 환경 변수에 지정합니다. +`--jit-verbose=1`을 지정하면 실행 중인 JIT 컴파일의 기본적인 정보를 출력합니다. 다른 옵션에 대해서는 `ruby --help`를 확인하세요. + +이번 JIT 릴리스의 주 목적은 2.6 릴리스 전에 각 플랫폼에서 잘 동작하는지, 보안상의 문제가 발생하는지 미리 확인하는 것입니다. +현재 JIT 컴파일러는 루비가 gcc나 clang, Microsoft VC++로 빌드되었으며, 해당 컴파일러가 런타임에서 사용 가능한 경우에만 이용할 수 있습니다. 그 이외에는 아직 이용할 수 없습니다. + +2.6.0-preview3에서는 Optcarrot이라는 CPU 성능을 요구하는 벤치마크에서 1.7배의 성능 향상을 이루었습니다(다음을 참조: https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208). Rails 애플리케이션 같은 메모리를 요구하는 작업에서도 성능을 향상시킬 것입니다. + +새로운 루비의 성능을 기대해주세요. + +## RubyVM::AST [Experimental] + +루비 2.6에는 `RubyVM::AST` 모듈이 도입되었습니다. + +이 모듈에은 문자열을 파싱하여 AST(추상구문트리)의 노드를 돌려주는 `parse` 메서드, 파일을 파싱하여 AST의 노드를 돌려주는 `parse_file` 메서드가 들어있습니다. +`RubyVM::AST::Node`도 도입되었습니다. 이 클래스의 인스턴스로부터 위치정보나 자식 노드를 얻을 수 있습니다. 이 기능은 실험적으로 포함되었으며, AST 노드의 구조는 호환성을 보장하지 않습니다. + +## 새로운 기능 + +* `Kernel#yield_self`의 별칭으로 `then`이 추가되었습니다. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `rescue`가 없는 `else`가 문법 에러가 됩니다. [EXPERIMENTAL] + +* ASCII 이외의 대문자로 시작하는 상수를 정의할 수 있게 됩니다. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 종료 지정이 없는 범위 연산자. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 종료 지정이 없는 범위 연산자, `(1..)`가 추가됩니다. 이는 끝이 없는 것처럼 취급됩니다. 다음은 전형적인 사용 예시입니다. + + ary[1..] # ary[1..-1]와 동치 + (1..).each {|index| ... } # 1로 시작하는 무한 루프 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location`을 추가했습니다. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + 이 메서드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다. [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352) 그러므로 지금까지 사용하던 `eval("[__FILE__, __LINE__]", binding)`로 같은 정보를 획득할 수 없게 됩니다, 앞으로는 `Kernel#eval`보다는 새로운 `Binding#source_location` 메서드를 사용하게 될 것입니다. + +* `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가했습니다. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +## 성능 향상 + +* `Proc#call`이 더 이상 `$SAFE`를 고려하지 않아도 되어 속도가 빨라졌습니다. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크가 1.4배 빨라졌습니다. + [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block`이 블록 파라미터인 경우의 `block.call`이 빨라졌습니다. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + 루비 2.5에서는 블록 넘기기의 성능이 향상되었습니다만 [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045), + 추가로 2.6에서는 넘겨진 블록의 호출이 개선되었습니다. + 간단한 벤치마크에서 2.6배의 성능 향상을 확인했습니다. + +* Transient Heap(theap)이 도입되었습니다. [Bug #14858] [Feature #14989] + theap은 특정 클래스(Array, Hash, Object, Struct)가 가리키는 짧은 생애를 + 가지는 메모리 객체들을 관리합니다. 예를 들어 작고 짧게 생존하는 Hash 객체는 + 2배 빨라집니다. rdoc 벤치마크에서 6-7%의 성능 향상을 확인했습니다. + +* `Coverage`의 oneshot_lines 모드를 추가했습니다. [Feature#15022] + * 이 모드는 '각 줄이 몇 번 실행되었는지' 대신 '각 줄이 한 번 이상 실행되었는지'를 확인합니다. 각 줄의 훅은 최대 1회만 실행되며, 실행된 후에는 플래그를 제거하기 때문에 오버헤드 없이 실행됩니다. + * `Coverage.start`에 `:oneshot_lines` 키워드 인수가 추가됩니다. + * `Coverage.result`에 `:stop`과 `:clear` 키워드 인수가 추가됩니다. 만약 `clear`가 참이라면, 이는 카운터를 0으로 초기화합니다. 만약 `stop`이 참이라면 커버리지 측정을 비활성화합니다. + * 주어진 소스 코드로부터 'stub'을 생성하는 간단한 헬퍼 함수인 `Coverage.line_stub`을 추가합니다. + +## 2.5 이후 주목할 만한 변경 + +* `$SAFE`가 프로세스 전역 변수로 취급되며, `0` 이외의 값을 설정한 후에 `0`으로 되돌리는 것이 가능해집니다. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* `ERB.new`에 `safe_level`을 넘기는 기능이 제거될 예정입니다. 또한 `trim_mode`와 `eoutvar`는 키워드 변수로 변경됩니다. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* RubyGems 3.0.0.beta2를 병합했습니다. `--ri`와 `--rdoc` 옵션이 제거되었습니다. 대신에 `--document`와 `--no-document`를 사용해주세요. + +* [Bundler](https://github.com/bundler/bundler)를 기본 젬으로 병합했습니다. + +자세한 내용은 [뉴스](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS)와 +[커밋 로그](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3)를 참고하세요. + +이러한 변경사항에 따라, +루비 2.5.0 이후 [파일 6474개 수정, 171888줄 추가(+), 46617줄 삭제(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +하였습니다! + +루비 2.6.0-preview3와 함께 즐거운 프로그래밍하세요! + +## 다운로드 + +* + + SIZE: 17071670 bytes + SHA1: 67836fda11fa91e0b988a6cc07989fbceda025b4 + SHA256: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + SHA512: 877278cd6e9b947f5bb6ed78136efb232dcc9c5c218b7236576171e7c3cd7f6b7d10d07d8402014a14aba1fcd1913a4370f0725c561ead41d8a3fe92029f7f76 + +* + + SIZE: 21537655 bytes + SHA1: 45f3c90dfffe03b746f21f24152666e361cbb41a + SHA256: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + SHA512: 335de36cf56706326f4acc4bbd35be01e0ac5fff30d0a69b2e1630ba4c78f0e711822d1623d0099a517c824b154917d2f60be192dfb143a422cf1d17b38e1183 + +* + + SIZE: 14973451 bytes + SHA1: 5f2df5d8c5a3888ccb915d36a3532ba32cda8791 + SHA256: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + SHA512: d1693625723796e8902f3e4c4fae444f2912af9173489f7cf18c99db2a217afc971b082fce7089e39f8edd54d762d2b4e72843c8306ed29b05ccb15ac03dbb5b + +* + + SIZE: 12291692 bytes + SHA1: 7f8216247745215e9645568e7a02140f9a029b31 + SHA256: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + SHA512: b4d3b17ecf96272c43cd7518c0b54dee63fc1150ad143e1d9c9d708506fe78676c80eb96cc47b8d46d1128bd483a53f16c944963a03d1f99f00131b74714df7b From 7209524caf6b2a6b49543c0088f3aff851c287a2 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Thu, 8 Nov 2018 14:53:38 +0000 Subject: [PATCH 0233/2563] update bundles --- Gemfile.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 3fab1713b6..7ad6fb4bad 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,7 +4,7 @@ GEM addressable (2.5.2) public_suffix (>= 2.0.2, < 4.0) colorator (1.1.0) - concurrent-ruby (1.0.5) + concurrent-ruby (1.1.3) crass (1.0.4) em-websocket (0.5.1) eventmachine (>= 0.12.9) @@ -15,7 +15,7 @@ GEM http_parser.rb (0.6.0) i18n (0.9.5) concurrent-ruby (~> 1.0) - jekyll (3.8.4) + jekyll (3.8.5) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -30,7 +30,7 @@ GEM safe_yaml (~> 1.0) jekyll-sass-converter (1.5.2) sass (~> 3.4) - jekyll-watch (2.1.1) + jekyll-watch (2.1.2) listen (~> 3.0) json (2.1.0) kgio (2.11.2) @@ -48,10 +48,10 @@ GEM nokogiri (1.8.5) mini_portile2 (~> 2.3.0) paint (1.0.1) - pathutil (0.16.1) + pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (3.0.3) - rack (2.0.5) + rack (2.0.6) rack-protection (2.0.4) rack rack-rewrite (1.5.1) @@ -65,7 +65,7 @@ GEM rouge (1.11.1) ruby_dep (1.5.0) safe_yaml (1.0.4) - sass (3.6.0) + sass (3.7.1) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) @@ -74,7 +74,7 @@ GEM spidr (0.6.0) nokogiri (~> 1.3) sq_mini_racer (0.2.3.sqreen4) - sqreen (1.14.2) + sqreen (1.15.3) sq_mini_racer (~> 0.2.2.sqreen1) tidy_ffi (0.1.6) ffi (~> 1.2) @@ -112,4 +112,4 @@ RUBY VERSION ruby 2.5.1p57 BUNDLED WITH - 1.16.6 + 1.17.1 From 5a6ce58017626f02ce26716725072b09fc1f1d1a Mon Sep 17 00:00:00 2001 From: Jordanlelay <43350109+Jordanlelay@users.noreply.github.com> Date: Fri, 9 Nov 2018 02:14:45 +0100 Subject: [PATCH 0234/2563] Fix typo and wording on community page (fr) (#1874) --- fr/community/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fr/community/index.md b/fr/community/index.md index a134123508..9acf3ef3f4 100644 --- a/fr/community/index.md +++ b/fr/community/index.md @@ -35,14 +35,14 @@ Quelques liens à visiter: contribuer à ce dernier, commencez par ici. [Blogs](weblogs/) -: Très peu de choses se passent dans la communauté Ruby sans qu’elles se - retrouvent mentionnées dans des blogs. Nous avons une liste de liens - pour vous aidez à vous y connecter. +: Très peu de choses se passent dans la communauté Ruby sans qu’elles ne + se retrouvent mentionnées dans des blogs. Nous avons une liste de + liens pour vous aider à vous y connecter. [Conférences](conferences/) : Les programmeurs Ruby à travers le monde s’impliquent de plus en plus dans des conférences, dans lesquelles ils partagent ensemble les - progrès sur leurs travaux, et bien sur accueillent les nouveaux + progrès sur leurs travaux, et bien sûr accueillent les nouveaux arrivants dans la communauté. Informations générales From 819c16c7413e74e8120164700d6ee4c36072aade Mon Sep 17 00:00:00 2001 From: Jordanlelay <43350109+Jordanlelay@users.noreply.github.com> Date: Thu, 8 Nov 2018 10:52:28 +0100 Subject: [PATCH 0235/2563] Fix typo on librairies page (fr) --- fr/libraries/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fr/libraries/index.md b/fr/libraries/index.md index 8a48e3f5a5..ec847e5202 100644 --- a/fr/libraries/index.md +++ b/fr/libraries/index.md @@ -19,7 +19,7 @@ mais pour Ruby spécifiquement. Depuis Ruby 1.9, RubyGems est intégré dans Ruby. Pour les versions précédentes, il faudra l'installer séparement. -Lorsqu'un gem n'est pas disponible, il est toujours possible d'installer +Lorsqu'une gem n'est pas disponible, il est toujours possible d'installer une librairie à partir de son code source, ce dernier étant généralement mis à disposition sous la forme d'une archive (.zip ou .tar.gz). Chaque projet pouvant avoir ses spécificités, on consultera sa documentation (en From 6a0d4b798e97b4023b7617aa13bf297bd2d5e08a Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Fri, 9 Nov 2018 11:09:44 +0900 Subject: [PATCH 0236/2563] Fix link to gist in 2.6.0-preview3 posts (en, ja) (#1871) --- en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index 598ccca412..8c1fdca43f 100644 --- a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -26,7 +26,7 @@ Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT co The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available on runtime. Otherwise you can't use it for now. -As of Ruby 2.6.0 preview3, we achieved 1.7x faster performance than Ruby 2.5 on CPU-intensive non-trivial benchmark workload called Optcarrot https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208. We're going to improve the performance on memory-intensive workload like Rails application as well. +As of Ruby 2.6.0 preview3, we achieved 1.7x faster performance than Ruby 2.5 on CPU-intensive non-trivial benchmark workload called Optcarrot . We're going to improve the performance on memory-intensive workload like Rails application as well. Stay tuned for the new age of Ruby's performance. diff --git a/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index 79b02d4fee..0082cb7d65 100644 --- a/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/ja/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -23,7 +23,7 @@ JITコンパイルを有効にするには `--jit` オプションをコマン 今回のリリースはこのJITコンパイル機能を皆さんの環境で動作を確認して頂くとともに、セキュリティ上の問題が無いかを早期に確認するために行っています。 現在のJITコンパイラを利用するためには、GCC、Clang、あるいはMicrosoft VC++によってビルドされたRubyでかつ、そのコンパイラが実行時に利用可能である必要があります。 -Ruby 2.6.0-preview3の時点で、OptcarrotというCPU負荷中心のベンチマークにおいてRuby 2.5の約1.7倍の性能向上を達成しました。 https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208 +Ruby 2.6.0-preview3の時点で、OptcarrotというCPU負荷中心のベンチマークにおいてRuby 2.5の約1.7倍の性能向上を達成しました。 Railsアプリケーションなどのメモリ負荷の高い環境における性能は現在改善中です。 引き続き新時代のRubyの実効性能にご期待ください。 From 06b03c9e7d90d0fd9b83799cf295b74b08882339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Sun, 11 Nov 2018 20:59:12 +0100 Subject: [PATCH 0237/2563] Translate most recent news (de) --- ...-in-some-formats-of-pack-cve-2018-16396.md | 51 +++++ ...-does-not-work-correctly-cve-2018-16395.md | 64 +++++++ .../_posts/2018-10-17-ruby-2-3-8-released.md | 59 ++++++ .../_posts/2018-10-17-ruby-2-4-5-released.md | 58 ++++++ .../_posts/2018-10-17-ruby-2-5-2-released.md | 53 ++++++ .../_posts/2018-10-18-ruby-2-5-3-released.md | 56 ++++++ ...2018-11-06-ruby-2-6-0-preview3-released.md | 178 ++++++++++++++++++ 7 files changed, 519 insertions(+) create mode 100644 de/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md create mode 100644 de/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md create mode 100644 de/news/_posts/2018-10-17-ruby-2-3-8-released.md create mode 100644 de/news/_posts/2018-10-17-ruby-2-4-5-released.md create mode 100644 de/news/_posts/2018-10-17-ruby-2-5-2-released.md create mode 100644 de/news/_posts/2018-10-18-ruby-2-5-3-released.md create mode 100644 de/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md diff --git a/de/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/de/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md new file mode 100644 index 0000000000..1d14f86634 --- /dev/null +++ b/de/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "CVE-2018-16396: „taint“-Markierungen werden von Array#pack und String#unpack nicht mit allen Direktiven richtig verarbeitet" +author: "usa" +translator: "Marvin Gülker" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: de +--- + +Die Methoden `Array#pack` und `String#unpack` geben die +„taint“-Markierung der ursprünglichen Daten nicht bei allen +Formatierungsdirektiven an den Rückgabewert weiter. Dieser +Sicherheitslücke ist die CVE-Nummer +[CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396) +zugewiesen worden. + +## Details + +Die Methode `Array#pack` konvertiert den Inhalt des Empfängers nach +Maßgabe der übergebenen Formatierungsdirektiven in einen String. Wenn +der Empfänger dabei Objekte enthält, die als „tainted“ markiert +wurden, so sollte auch der zurückgegebene String „tainted“ sein. Die +umgekehrt funktionierende Methode `String#unpack`, die den Empfänger +in ein Array konvertiert, sollte ebenfalls ihre „taint“-Markierung an +die im zurückgegebenen Array enthaltenen Objekte weitergeben. Bei +Einsatz der Formatierungsdirektiven `B`, `b`, `H` und `h` wurde jedoch +in beiden Fällen die „taint“-Markierung nicht weitergegeben. Wenn +demnach ein Skript unbekannte Eingaben von `Array#pack` und/oder +`String#unpack` verarbeiten lässt und die Rückgabewerte auf +Richtigkeit im Hinblick auf die „taint“-Markierung prüft, kann diese +Prüfung fehlschlagen. + + +Alle Nutzer einer betroffenen Version sollten umgehend aktualisieren. + +## Betroffene Versionen + +* Ruby 2.3er-Serie: 2.3.7 und früher +* Ruby 2.4er-Serie: 2.4.4 und früher +* Ruby 2.5er-Serie: 2.5.1 und früher +* Ruby 2.6er-Serie: 2.6.0-preview2 und früher +* Trunk vor Revision r65125 + +## Danksagung + +Dank an [Chris Seaton](https://hackerone.com/chrisseaton), der diesen Fehler meldete. + +## Historie + +* Erstmals veröffentlicht am 2018-10-17 14:00:00 (UTC) diff --git a/de/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/de/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md new file mode 100644 index 0000000000..2d5dd2c5e3 --- /dev/null +++ b/de/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -0,0 +1,64 @@ +--- +layout: news_post +title: "CVE-2018-16395: Gleichheitsprüfung mit OpenSSL::X509::Name funktioniert nicht richtig" +author: "usa" +translator: "Marvin Gülker" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: de +--- + +Die Gleichheitsprüfung mit `OpenSSL::X509::Name`, die in der +mit Ruby ausgelieferten OpenSSL-Erweiterungsbibliothek enthalten ist, +funktioniert nicht richtig. Diese Sicherheitslücke wurde die CVE-Nummer +[CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395) +zugewiesen. + +## Details + +Eine Instanz von `OpenSSL::X509::Name` enthält Elemente wie CN, C, +usw. Zwei Instanzen von `OpenSSL::X509::Name` sind nur dann gleich, +wenn alle diese Elemente genau gleich sind. Es gibt aber einen Fehler +in der Gleichheitsprüfungsroutine, der dazu führt, dass die +Gleichheitsprüfung ein falsches Ergebnis liefert, wenn der Wert eines +Elements des Arguments (rechte Seite) mit dem Wert des entsprechenden +Empfängerelements (linke Seite) beginnt. Wenn ein so präpariertes +X.509-Zertifikat mit einem bestehenden Zertifikat verglichen wird, +kann es passieren, dass die zwei Zertifikate fälschlicherweise für +gleich gehalten werden. + +Es wird dringlichst empfohlen, so bald wie möglich die eigene +Ruby-Installation zu aktualisieren oder den nachfolgenden +Workaround anzuwenden. + +## Betroffene Versionen + +* Ruby 2.3er-Serie: 2.3.7 und früher +* Ruby 2.4er-Serie: 2.4.4 und früher +* Ruby 2.5er-Serie: 2.5.1 und früher +* Ruby 2.6er-Serie: 2.6.0-preview2 und früher +* Trunk vor Revision r65139 + +## Workaround + +Das Problem ist im OpenSSL-Gem mit Version 2.1.2 und später behoben +worden. Wenn Sie Ruby 2.4 oder neuer einsetzen, können Sie daher auch +das OpenSSL-Gem auf die neueste Version aktualisieren. + +``` +gem install openssl -v ">= 2.1.2" +``` + +Dies ist jedoch in der 2.3er-Serie von Ruby nicht möglich, da die +mitgelieferte Version des OpenSSL-Gems hier nicht überschrieben werden +kann. In diesem Fall müssen Sie Ihre Ruby-Installation auf die neueste +Version aktualisieren. + +## Dankasgung + +Dank an [Tyler Eckstein](https://hackerone.com/tylereckstein), der den Fehler gemeldet hat. + +## Historie + +* Erstveröffentlichung am 2018-10-17 14:00:00 (UTC) +* Erwähne die Trunk-Revision, in der das Problem behoben wurde am 2018-10-19 00:00:00 (UTC) diff --git a/de/news/_posts/2018-10-17-ruby-2-3-8-released.md b/de/news/_posts/2018-10-17-ruby-2-3-8-released.md new file mode 100644 index 0000000000..40ca7de619 --- /dev/null +++ b/de/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -0,0 +1,59 @@ +--- +layout: news_post +title: "Ruby 2.3.8 veröffentlicht" +author: "usa" +translator: "Marvin Gülker" +date: 2018-10-17 17:00:00 +0000 +lang: de +--- + +Ruby 2.3.8 ist veröffentlicht worden. + +Diese Version behebt zwei Sicherheitsprobleme. Siehe die +folgenden Artikel für weitere Informationen: + +* [CVE-2018-16396: „taint“-Markierungen werden von Array#pack und String#unpack nicht mit allen Direktiven richtig verarbeitet](/de/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Gleichheitsprüfung mit OpenSSL::X509::Name funktioniert nicht richtig](/de/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +Diese Version behebt aus Wartungsgründen außerdem ein nicht +sicherheitsrelevantes Problem im Bezug auf die Unterstützung von +Visual Studio 2014 unter Windows 10 mit Stand Oktober 2018. + +Ruby 2.3 befindet sich noch bis Ende März 2019 in der Phase der +Sicherheitsunterstützung, danach wird die Unterstützung von Ruby 2.3 +eingestellt. Wir empfehlen Ihnen, mit der Planung der Migration auf +neuere Ruby-Versionen, etwa 2.5 oder 2.4, zu beginnen. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2) + + SIZE: 14418609 bytes + SHA1: 91b31abdba00a346c155fd32bd32d3cec3b73bc4 + SHA256: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + SHA512: 6d79e0d25757fd37188a8db3e630a52539bce7927fcb779a2ce9a97b9e5f330753035c16843552f1a1fb6c9a1e5c0f916b3cc8b5c0bfe81e20f35f8442e40ae8 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz) + + SIZE: 17858806 bytes + SHA1: 69311991a9cd2c8e3c86a0dbbaaf915ae91f0bec + SHA256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + SHA512: 43b02f2f9de6baf281f09a49fd07367127b4de1fb14473380d06bfa7667990d8f722ae2d33cf7d15b02f7e799515f21aebd308897c4c2a5461ebab4049d6c7ef + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz) + + SIZE: 11465792 bytes + SHA1: 9771acdad851bbf0ef349bb7da5d0ffc91a860ed + SHA256: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + SHA512: 06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip) + + SIZE: 19911652 bytes + SHA1: ad9e0ec7c874701832c9e224eb5b9e2258f3a041 + SHA256: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + SHA512: 732d69cd55f1c273a02005306720fd8fc9d77398177db9509452be31820976b54b30319d9e6bc36fb6bcd7af656f807ef6c26d8955012c8b20424912a2f51bf8 + +## Veröffentlichungskommentar + +Dank an alle, die mit dieser Version geholfen haben. diff --git a/de/news/_posts/2018-10-17-ruby-2-4-5-released.md b/de/news/_posts/2018-10-17-ruby-2-4-5-released.md new file mode 100644 index 0000000000..b9792a5da3 --- /dev/null +++ b/de/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "Ruby 2.4.5 veröffentlicht" +author: "usa" +translator: "Marvin Gülker" +date: 2018-10-17 17:00:00 +0000 +lang: de +--- + +Ruby 2.4.5 ist veröffentlicht worden. + +Diese Version enthält etwa 40 Fehlerkorrekturen gegenüber der +Vorversion und behebt einige Sicherheitslücken. Siehe die folgenden +Artikel für Details: + +* [CVE-2018-16396: „taint“-Markierungen werden von Array#pack und String#unpack nicht mit allen Direktiven richtig verarbeitet](/de/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Gleichheitsprüfung mit OpenSSL::X509::Name funktioniert nicht richtig](/de/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +Siehe die [Commit-Logs](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) +für weitere Informationen. + +## Download + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2) + + SIZE: 12667524 bytes + SHA1: 0e1f184556507c22bc59054496c0af7cf28fb188 + SHA256: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + SHA512: 7034fcaeaee41f14bc0ecce0d3d93bd1abe95310e1a0b95fac66eaba867adfb2bf7ba4d0d70d67a15ce8df16052dee405c38cdb18987602e64a2f701d37d3df0 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz) + + SIZE: 14232887 bytes + SHA1: 4d650f302f1ec00256450b112bb023644b6ab6dd + SHA256: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + SHA512: 39863b404b02bb3d2430fd19fb057bdded5e816842a1a1f00092de69cc360db836225b2186e18b6ee099ec5e8c60f89178a4297b2d221234b4962c70594c2b8e + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz) + + SIZE: 10064712 bytes + SHA1: b5be590b37487248da3a85541a62fb81f7f7e29a + SHA256: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + SHA512: 658f676c623109f4c7499615e191c98c3dd72cfcaeeaf121337d0b8a33c5243145edd50ec5e2775f988e3cd19788984f105fa165e3049779066566f67172c1b4 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip) + + SIZE: 15694028 bytes + SHA1: 0bded7dfabfce5615162a1acd1341966a63e40f4 + SHA256: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + SHA512: 9baec2b33604d5b2180b83bef9b39349d3f73b2eb5a7d44410572d893f76e6a0e1c39c572e6084a4e2466ca148ff2f377b5458144fe9b859a80cdf7b41fd5d72 + +## Veröffentlichungskommentar + +Dank an alle, die mit dieser Version geholfen haben. + +Die Wartung von Ruby 2.4, diese Version eingeschlossen, basiert auf +der „Vereinbarung über die stabile Ruby-Version“ der Ruby +Association. diff --git a/de/news/_posts/2018-10-17-ruby-2-5-2-released.md b/de/news/_posts/2018-10-17-ruby-2-5-2-released.md new file mode 100644 index 0000000000..92de948a83 --- /dev/null +++ b/de/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 2.5.2 veröffentlicht" +author: "nagachika" +translator: "Marvin Gülker" +date: 2018-10-17 14:00:00 +0000 +lang: de +--- + +Ruby 2.5.2 ist veröffentlicht worden. + +Diese Version behebt einige Fehler und Sicherheitslücken. + +* [CVE-2018-16396: „taint“-Markierungen werden von Array#pack und String#unpack nicht mit allen Direktiven richtig verarbeitet](/de/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Gleichheitsprüfung mit OpenSSL::X509::Name funktioniert nicht richtig](/de/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +Siehe die [Commit-Logs](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2) +für weitere Informationen. + +## Download + +* + + SIZE: 13592827 bytes + SHA1: 562d6b8be5a0804ed7617bb0465b288d44b2defc + SHA256: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + SHA512: 9f9388a162a3ae9c14ec8999fa3b12ff5397de14f55996cc8761d21c757113db37ace4d326b9606de7ad3a5875aa94fec900dd9b81b2fb0dff558c39422f4aa1 + +* + + SIZE: 15600481 bytes + SHA1: 7e503e75621b69cedb1d8b3fa2bee5aef2f1a714 + SHA256: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + SHA512: 9aee69d2ac6aefe2d81649055ba7b99e4e58cf203ac75083ba1b35b3a4fd7f72ee257e26ca80460da5c2a7817fd507aecec9c143f170e16980625e95eeb31686 + +* + + SIZE: 11071052 bytes + SHA1: ea352c9bcaa47ab094cdec0f4946c62b1a1769d7 + SHA256: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + SHA512: b6b805b18ba6da7b28c7e2bdf3da7eaf1dcc15ae22744228d032e8ddec2fbba4cc4fb822b9ef7f6b561052113a4f28dc50ccfa4f00e3728a35ce27137f4a70e6 + +* + + SIZE: 18786735 bytes + SHA1: 98fdbae195bbbc3f131d49d9e60bf3fbb8b56111 + SHA256: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + SHA512: 1b804337099ecfa045eecf1a4e3f35fa786bd6e835dc50267d6a3792a782b193ec9708564e3ac5169a95ef4afc2c131782af937dafd8122117e8cff577736c0f + +## Veröffentlichungskommentar + +Viele Commiter, Entwickler und Fehlermelder halfen uns bei dieser +Version. Wir danken ihnen für ihre Mitarbeit. diff --git a/de/news/_posts/2018-10-18-ruby-2-5-3-released.md b/de/news/_posts/2018-10-18-ruby-2-5-3-released.md new file mode 100644 index 0000000000..7a9a017112 --- /dev/null +++ b/de/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Ruby 2.5.3 veröffentlicht" +author: "nagachika" +translator: "Marvin Gülker" +date: 2018-10-18 12:30:00 +0000 +lang: de +--- + +Ruby 2.5.3 ist veröffentlicht worden. + +In den veröffentlichten Quellpaketen von Ruby 2.5.2 fehlten einige +Dateien, die für die Kompilation erforderlich sind. Details dazu +finden Sie in [[Bug #15232]](https://bugs.ruby-lang.org/issues/15232). + +Diese Version dient allein der Behebung dieses +Paketierungsfehlers. Sie enthält keine weiteren Änderungen gegenüber +2.5.2. + +## Download + +* + + SIZE: 14159874 bytes + SHA1: d47ede7dab79de25fcc274dfcad0f92f389a4313 + SHA256: 228a787ba68a7b20ac6e1d5af3d176d36e8ed600eb754d6325da341c3088ed76 + SHA512: 6fe89fe9d406bb454457442f908774577369ab2501da4fd15725ccbab77675b88faad739a6c8ad1c7b6690b439a27de5e08035b7546406cdeca65c7b295e2c77 + +* + + SIZE: 15972577 bytes + SHA1: f919a9fbcdb7abecd887157b49833663c5c15fda + SHA256: 9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c + SHA512: d13dc55655076f7d983481155cccc06eb51c51c8eabfc3edcc22e1dabad931eb28c0b2a23d9589b5132faf18c3c0077f8719cf33a91d71bb72213d306edde1a0 + +* + + SIZE: 11453336 bytes + SHA1: 5acbdea1ced1e36684268e1cb6f8a4e7669bce77 + SHA256: 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f + SHA512: 6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518 + +* + + SIZE: 19170700 bytes + SHA1: c34a5a47d5ac64ef25368b5dffc3df2854531d7a + SHA256: 622ffa051470e967f3e51cc6347783e93d9b09a4557d4f5a78efb87b959f87a3 + SHA512: 7807641e65516670dc10426364a3d45ecfb65555827e551b4a595bad373e1292797414abf0f67bed5d66815090afe6a6a3e3e29f8b7dbc4da462c43a3e8791b6 + +## Veröffentlichungskommentar + +Viele Commiter, Entwickler und Fehlermelder halfen uns bei dieser +Version. Wir danken ihnen für ihre Mitarbeit. + +Besonderer Dank geht an wanabe für die Meldung des Fehlers mit den +Paketen von 2.5.2. diff --git a/de/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/de/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md new file mode 100644 index 0000000000..5785190331 --- /dev/null +++ b/de/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -0,0 +1,178 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview3 veröffentlicht" +author: "naruse" +translator: "Marvin Gülker" +date: 2018-11-06 00:00:00 +0000 +lang: de +--- + +Wir freuen uns, die Veröffentlichung von Ruby 2.6.0-preview3 +bekanntgeben zu können. + +Ruby 2.6.0-preview3 ist die dritte Vorschau auf Ruby 2.6.0. Ihre +Veröffentlichung dient dazu, neue Features zu testen, bevor sie in den +anstehenden Veröffentlichungskanditaten aufgenommen werden. + +## JIT + +Ruby 2.6 führt erstmals einen JIT-Compiler _(Just in Time Compiler)_ ein. + +Der JIT-Compiler soll die allgemeine Performanz aller Ruby-Programme +verbessern. Rubys JIT-Compiler arbeitet anders als herkömmliche +JIT-Compiler für andere Programmiersprachen, denn er schreibt C-Code +auf die Festplatte und startet dann einen gewöhnlichen +C-Compiler-Prozess, um Maschinencode zu erzeugen. Siehe dazu auch: +[Die Funktionsweise von MJIT von Wladimir Makarow](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Um den JIT zu benutzen, geben Sie `--jit` als Kommandozeilenoption +oder in der Umgebungsvariablen `$RUBYOPT` an. Bei Angabe von +`--jit-verbose=1` werden Informationen über die laufende +JIT-Kompilation ausgegeben. Siehe auch `ruby --help` für weitere +Optionen. + +Diese Veröffentlichung soll Ihnen Gelegenheit geben, zu überprüfen, ob +der JIT auf Ihrer Plattform funktioniert. Außerdem soll eine Prüfung +auf Sicherheitsprobleme noch vor der Freigabe von 2.6 ermöglicht +werden. Der JIT-Compiler wird derzeit nur unterstützt, wenn Ruby mit +GCC, Clang oder Microsoft VC++ gebaut wird und der Compiler auch +während des Programmablaufs verfügbar ist. Ansonsten können Sie ihn +momentan leider nicht verwenden. + +Mit Stand Ruby 2.6.0-preview3 haben wir eine 1,7-fache Verbesserung +der Performanz gegenüber Ruby 2.5 bei einem CPU-intensiven, +nicht-trivialen Belastungstest namens Optcarrot +festgestellt. Wir werden darüber hinaus auch die Performanz von +speicherhungrigen Anwendungen wie solchen auf Rails-Basis verbessern. + +Machen Sie sich bereit für eine neue Ära von Rubys Performanz. + +## RubyVM::AST [Experimentell] + +Ruby 2.6 führt das Modul `RubyVM::AST` ein. + +Dieses Modul verfügt über die Methoden `parse`, die den als String +übergenen Ruby-Code verarbeitet und eine Liste von Knoten des ASTs +_(Abstract Syntax Tree)_ zurückgibt, und `parse_file`, die die +übergebene Ruby-Quelldatei auf ähnliche Weise verarbeitet und +ebenfalls AST-Knoten zurückgibt. + +Weiterhin wird die ebenfalls experimentelle Klasse `RubyVM::AST::Node` +eingeführt. Mithilfe von `Node`-Objekten können die Positionsinformationen und +Angaben über Kindknoten ermittelt werden. Eine Kompatibilität der +Struktur von AST-Knoten kann derzeit nicht gewährleistet werden. + +## Neue Featuers + +* Neuer alias `then` für `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` ohne `rescue` verursacht einen Syntaxfehler. [EXPERIMENTELL] + +* Konstantennamen können auch mit Großbuchstaben außerhalb des + ASCII-Zeichensatzes beginnen. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Endlos-Range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + Es wird ein Endlos-Range `(1..)` eingeführt, der über kein Ende + verfügt. Typische Anwendungsfälle sehen wie folgt aus: + + ary[1..] # identisch zu ary[1..-1] ohne magische -1 + (1..).each {|index| ... } # Endlosschleife ab Index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location` hinzugefügt. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + Diese Methode gibt ein 2-Element-Array mit den Bestandteilen + `__FILE__` und `__LINE__` zurück, die beschreiben, an welcher Stelle + im Quelltext ein Binding definiert wurde. Dieselbe Information + konnte bisher über `eval("[__FILE__, __LINE__]", binding)` ermittelt + werden, allerdings planen wir, dieses Verhalten so zu ändern, dass + `Kernel#eval` den Definitionsort eines `binding` ignoriert [[Bug + #4352]](https://bugs.ruby-lang.org/issues/4352). Nutzern wird + deshalb empfohlen, auf diese neu eingeführte Methode umzusteigen. + +* Option `:exception` zu `Kernel.#system` hinzugefügt. Diese Option + führt dazu, dass #system statt `false` zurückzugeben einen Fehler + verursacht. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +## Performanzverbesserungen + +* `Proc#call` beschleunigt, weil wir uns nicht mehr um `$SAFE` kümmern + müssen. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Mithilfe des `lc_fizzbuzz`-Benchmarks, das sehr häufig `Proc#call` + benutzt, haben wir eine 1,4-fache Beschleunigung gemessen. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block.call` beschleunigt, wenn `block` als Block-Parameter + übergeben wird. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Bereits Ruby 2.5 verbessert die Performanz bei der Übergabe von + Blöcken. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Mit Ruby 2.6 wird auch der Aufruf von übergebenen Blöcken + beschleunigt, sodass wir im Mikro-Benchmark eine 2,6-fache + Beschleunigung messen konnten. + +* Es wird ein flüchtiger Heap _(transient heap, theap)_ + eingeführt [Bug #14858] [Feature #14989]. Dabei handelt es sich um + einen automatisch verwalteten Freispeicher für kurzlebige Objekte im + Speicher, auf welche von bestimmten Klassen (Array, Hash, Object und + Struct) verwiesen wird. Dies führt beispielsweise dazu, dass die + Erstellung kleiner und kurzlebiger Hash-Objekte doppelt so schnell + ist. Im RDoc-Belastungstest haben wir eine 6- bis 7-prozentige + Performanzverbesserung festgestellt. + +## Sonstige bemerkenswerte Änderungen seit 2.5 + +* `$SAFE` ist ein prozess-globaler Zustand und kann wieder auf `0` gesetzt + werden. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Die Übergabe von `safe_level` an `ERB.new` ist als veraltet + markiert worden. Die Parameter `trim_mode` und `eoutvar` wurden in + Schlüsselwortargumente geändert. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* RubyGems 3.0.0.beta2 aufgenommen. Die Optionen `--ri` und `--rdoc` + wurden entfernt. Benutzen Sie stattdessen `--document` und + `--no-document`. + +* [Bundler](https://github.com/bundler/bundler) wird standardmäßig + mitgeliefert. + +Siehe die [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) +oder die [Commit-Logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +für weitere Details. + +Mit diesen Änderungen wurden +[6474 Dateien geändert, 171888 Einfügungen(+), 46617 Löschungen(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +seit Ruby 2.5.0! + +Viel Spaß mit der Programmierung mit Ruby 2.6.0-preview3! + +## Download + +* + + SIZE: 17071670 bytes + SHA1: 67836fda11fa91e0b988a6cc07989fbceda025b4 + SHA256: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + SHA512: 877278cd6e9b947f5bb6ed78136efb232dcc9c5c218b7236576171e7c3cd7f6b7d10d07d8402014a14aba1fcd1913a4370f0725c561ead41d8a3fe92029f7f76 + +* + + SIZE: 21537655 bytes + SHA1: 45f3c90dfffe03b746f21f24152666e361cbb41a + SHA256: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + SHA512: 335de36cf56706326f4acc4bbd35be01e0ac5fff30d0a69b2e1630ba4c78f0e711822d1623d0099a517c824b154917d2f60be192dfb143a422cf1d17b38e1183 + +* + + SIZE: 14973451 bytes + SHA1: 5f2df5d8c5a3888ccb915d36a3532ba32cda8791 + SHA256: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + SHA512: d1693625723796e8902f3e4c4fae444f2912af9173489f7cf18c99db2a217afc971b082fce7089e39f8edd54d762d2b4e72843c8306ed29b05ccb15ac03dbb5b + +* + + SIZE: 12291692 bytes + SHA1: 7f8216247745215e9645568e7a02140f9a029b31 + SHA256: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + SHA512: b4d3b17ecf96272c43cd7518c0b54dee63fc1150ad143e1d9c9d708506fe78676c80eb96cc47b8d46d1128bd483a53f16c944963a03d1f99f00131b74714df7b From f7db758124585bf135214ccc013a488b844903e7 Mon Sep 17 00:00:00 2001 From: Vagish Vela Date: Mon, 12 Nov 2018 06:12:41 -0500 Subject: [PATCH 0238/2563] Fix links in first FAQ Page (en) (#1850) * Update location of TextPad Ruby definition The old location was heading to a 404 error, this is the new location. * Remove the Jed editor from FAQ page 1 The s-lang file supporting Ruby is no longer maintained and is un-findable on kondara.org. --- en/documentation/faq/1/index.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/en/documentation/faq/1/index.md b/en/documentation/faq/1/index.md index d5bfa481b0..98b422ddb0 100644 --- a/en/documentation/faq/1/index.md +++ b/en/documentation/faq/1/index.md @@ -270,14 +270,11 @@ Originally, or historically, it was called “ruby”. [http://www.xs4all.nl/~hipster/lib/ruby/ruby.vim](http://www.xs4all.nl/~hipster/lib/ruby/ruby.vim). * [Jedit](http://jedit.sourceforge.net/): A portable editor written in Java, comes with support for Ruby. -* [Jed](http://space.mit.edu/~davis/jed.html): An s-lang file supporting Ruby - is available at - [http://www.kondara.org/~g/slang/ruby.sl](http://www.kondara.org/~g/slang/ruby.sl). * [Nedit](http://www.nedit.org): Eric Santonacci has written Ruby support for Nedit, available from [ftp://ftp.talc.fr/pub/ruby/ruby.nedit-0.1.tar.gz](ftp://ftp.talc.fr/pub/ruby/ruby.nedit-0.1.tar.gz). * Barry Shultz has written a Ruby definition file for TextPad, available at - [http://www.textpad.com/add-ons/ntsyn.html](http://www.textpad.com/add-ons/ntsyn.html). + [https://www.textpad.com/add-ons/synn2t.html](https://www.textpad.com/add-ons/synn2t.html). ### How can I annotate Ruby code with its results? From 7b4204df3a82f0a985ccccd3326e088d596c111d Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Mon, 12 Nov 2018 20:15:38 +0900 Subject: [PATCH 0239/2563] Update installation page (zh_cn) (#1709) --- zh_cn/documentation/installation/index.md | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/zh_cn/documentation/installation/index.md b/zh_cn/documentation/installation/index.md index e358bca451..e66f8701d6 100644 --- a/zh_cn/documentation/installation/index.md +++ b/zh_cn/documentation/installation/index.md @@ -25,7 +25,7 @@ lang: zh_cn * [Gentoo](#portage) * [Arch Linux](#pacman) * [OS X](#homebrew) - * [Solaris, OpenIndiana](#solaris) + * [OpenIndiana](#openindiana) * [其他发行版](#other-systems) * [安装工具](#installers) * [ruby-build](#ruby-build) @@ -57,8 +57,6 @@ Debian GNU/Linux 和 Ubuntu 使用 apt 包管理器。用法如下: $ sudo apt-get install ruby-full {% endhighlight %} -撰写本文时,在 Debian 和 Ubuntu 下,`ruby-full` 包提供的是老旧的 Ruby 2.3.1。 - ### yum(CentOS、Fedora 或 RHEL) {: #yum} @@ -80,7 +78,7 @@ Gentoo 使用 portage 包管理器。 $ sudo emerge dev-lang/ruby {% endhighlight %} -一般来说,这将安装 1.9 和 2.0 版本,不过还有更多版本可供安装。如果想安装指定的版本,要在 `make.conf` 文件中设置 `RUBY_TARGETS`。详见 [Gentoo Ruby Project 网站][gentoo-ruby]。 +安装指定的版本,要在 `make.conf` 文件中设置 `RUBY_TARGETS`。详见 [Gentoo Ruby Project 网站][gentoo-ruby]。 ### pacman(Arch Linux) @@ -98,7 +96,7 @@ $ sudo pacman -S ruby ### Homebrew(OS X) {: #homebrew} -OS X El Capitan、Yosemite 和 Mavericks 内置了 Ruby 2.0。OS X Mountain Lion、Lion 和 Snow Leopard 内置了 Ruby 1.8.7。 +macOS (High) Sierra 和 OS X El Capitan 已内置了 Ruby 2.0。 许多 OS X 用户使用 [Homebrew][homebrew] 作为包管理器。用 Homebrew 能够非常简单地获取到最新版的 Ruby: @@ -109,15 +107,13 @@ $ brew install ruby 这将安装最新版的 Ruby。 -### Solaris 和 OpenIndiana -{: #solaris} - -[Sunfreeware][sunfreeware] 上的 Solaris 8 到 10 内置了 Ruby 1.8.7,[Blastwave][blastwave] 同样如此。Ruby 1.9.2p0 在 [Sunfreeware][sunfreeware] 上也有,但是这一版已经过时。 +### OpenIndiana +{: #openindiana} -若想在 [OpenIndiana][openindiana] 上安装 Ruby,要使用 [Image Packaging System (IPS)][opensolaris-pkg] 客户端。这将直接从 OpenSolaris 代码库安装 Ruby 1.9 和 RubyGems: +若想在 [OpenIndiana][openindiana] 上安装 Ruby,要使用 Image Packaging System (IPS) 客户端。这将直接从 OpenIndiana 代码库安装 Ruby 和 RubyGems: {% highlight sh %} -$ pkg install runtime/ruby-18 +$ pkg install runtime/ruby {% endhighlight %} 然而,第三方工具或许是获取最新版 Ruby 更好的方法。 @@ -219,9 +215,6 @@ $ sudo make install [rubyinstaller]: https://rubyinstaller.org/ [railsinstaller]: http://railsinstaller.org/ [rubystack]: http://bitnami.com/stack/ruby/installer -[sunfreeware]: http://www.sunfreeware.com -[blastwave]: http://www.blastwave.org [openindiana]: http://openindiana.org/ -[opensolaris-pkg]: http://opensolaris.org/os/project/pkg/ [gentoo-ruby]: http://www.gentoo.org/proj/en/prog_lang/ruby/ [homebrew]: http://brew.sh/ From 6339bcdf3a2a2d98dc3a8402e11280282f4feff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 12 Nov 2018 14:39:17 -0500 Subject: [PATCH 0240/2563] Translation of 2018-06-20-support-of-ruby-2-2-has-ended (es) --- ...018-06-20-support-of-ruby-2-2-has-ended.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md diff --git a/es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md new file mode 100644 index 0000000000..30d3a79aac --- /dev/null +++ b/es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Support of Ruby 2.2 has ended" +author: "antonpaisov" +translator: "vtamara" +date: 2018-06-20 00:00:00 +0000 +lang: es +--- + +Anunciamos la terminación de todo soporte a la serie Ruby 2.2. + +Después de la publicación de Ruby 2.2.7 el 28 de Marzo de 2017, +el soporte para la serie Ruby 2.2 estaba en la fase de mantenimiento de +seguridad. +Ahora, tras un año, esa fase ha terminado. +Por lo tanto, el 31 de marzo de 2018, terminó todo soporte a la serie Ruby 2.2. +Los arreglos de seguridad y a fallas de versiones más reciente de Ruby +no se portaran a la serie 2.2, y no se publicarán más parches para la versión +2.2. +Recomendamos que actualice a Ruby 2.5 o 2.4 tan pronto como le sea posible. + + +## Sobre las versiones de ruby que son soportadas en la actualidad + +### Serie Ruby 2.5 + +Actualmente está en fase de mantenimiento normal. +Retro-portaremos los arreglos a fallas y publicaremos nuevas versiones con las +soluciones cuando sea necesario. +Y si se encuentra un problema de seguridad crítico, publicaremos +una solución urgente para el mismo. + +### Serie Ruby 2.4 + +Actualmente está en fase de mantenimiento normal. +Portaremos los arreglos a fallas y publicaremos nuevas versiones con las +soluciones cuando sea necesario. +Y si se encuentra un problema de seguridad crítico, publicaremos +una solución urgente para el mismo. + +### Serie Ruby 2.3 + +Actualmente está en fase de mantenimiento de seguridad. +No portaremos soluciones a fallas a 2.3 excepto las relacionadas con +seguridad. +Si se encuentra un problema de seguridad crítico, publicaremos +una solución urgente para el mismo. +Planeamos terminar el soporte para la serie Ruby 2.3 al final de Marzo de 2019. From b420c7a309f48d5c1289b44aeb72dab0188e621b Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Tue, 24 Jul 2018 11:36:58 -0400 Subject: [PATCH 0241/2563] Add CODEOWNERS to enable auto review --- .github/CODEOWNERS | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..8723f37b14 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,37 @@ +# Order alphabetically. +# Order is important. The last matching pattern takes the most precedence. + +# Default owners for everything in the repo. +* @ruby/www-ruby-lang-org-editorial + +bg/ @ruby/www-ruby-lang-org-i18n + +de/ @ruby/www-ruby-lang-org-i18n-de + +en/ @ruby/www-ruby-lang-org-editorial + +es/ @ruby/www-ruby-lang-org-i18n-es + +fr/ @ruby/www-ruby-lang-org-i18n-fr + +id/ @ruby/www-ruby-lang-org-i18n-id + +it/ @ruby/www-ruby-lang-org-i18n-it + +ja/ @ruby/www-ruby-lang-org-i18n-ja + +ko/ @ruby/www-ruby-lang-org-i18n-ko + +pl/ @ruby/www-ruby-lang-org-i18n + +pt/ @ruby/www-ruby-lang-org-i18n + +ru/ @ruby/www-ruby-lang-org-i18n + +tr/ @ruby/www-ruby-lang-org-i18n + +vi/ @ruby/www-ruby-lang-org-i18n + +zh_cn/ @ruby/www-ruby-lang-org-i18n-zh_cn + +zh_tw/ @ruby/www-ruby-lang-org-i18n-zh_tw From 769fad0683360f8c3b8f7d1e2f0b41dae8d21238 Mon Sep 17 00:00:00 2001 From: SADIK KUZU Date: Wed, 14 Nov 2018 08:54:32 +0300 Subject: [PATCH 0242/2563] Fix typos on about page (tr) (#1853) --- tr/about/index.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tr/about/index.md b/tr/about/index.md index bae9b4f1f1..5086e4929c 100644 --- a/tr/about/index.md +++ b/tr/about/index.md @@ -36,7 +36,7 @@ listesi](/en/community/mailing-lists/) günde ortalama 200 mesaj trafiğine sahiptir. Programlama dillerinin popülaritesini araştıran [TIOBE][tiobe] istatistiklerine -göre, Ruby dünya çapında en çok kullanılan 10.cu dil haline gelmiştir. +göre, Ruby dünya çapında en çok kullanılan 10. dil haline gelmiştir. Ruby’nin bu hızlı büyümesinde [Ruby on Rails][ror] framework’ünün hatırı sayılır etkisi bulunmaktadır. @@ -48,12 +48,12 @@ kopyalama, düzenleme ve dağıtma özgürlüğü de sunar. Matz yeni bir dil yaratmadan önce ideal sözdizimini bulmak için diğer programlama dillerini incelemiş ve araştırmasının sonunda “Perl’den daha -güçlü ama Pyton’dan daha nesneye yönelik bir betik +güçlü ama Python’dan daha nesneye yönelik bir betik dili[2](#fn2)” istediğini söylemiştir. Ruby’de herşey bir nesnedir. Gördüğünüz en ufak bilgi parçası ve kod kendi özelliklerine ve olaylarına sahiptir. Özellikleri isimle çağırma -*örnek değişkenler* ,olaylar da *metotlar* olarak isimlendirilir. +*örnek değişkenler*, olaylar da *metotlar* olarak isimlendirilir. Ruby’nin yüzde yüz saf nesneye yönelik bir dil olduğunun en iyi ispatı bir kod parçası ile bir sayıya olay vererek yapılır: @@ -70,7 +70,7 @@ miras almıştır. Ruby kullanıcılara istediği kısımları değiştirebilme imkanı sunduğu için esnek bir dildir. İsteğe bağlı olarak Ruby’nin esaslı kısımları bile kaldırılabilir, yeniden tanımlanabilir ya da yeni kısımlar eklenebilir. -Ruby programıcıyı kısıtlamamayı amaçlamaktadır. +Ruby programcıyı kısıtlamamayı amaçlamaktadır. Örneğin toplama işleminin artı (`+`) operatörü ile yapıldığını biliyoruz. Ama eğer okunabilirlik amacıyla `topla` gibi bir kelime @@ -94,9 +94,9 @@ olanak sağlar. ### Bloklar, Tam Anlamıyla Etkileyici Bir Özellik Ruby’nin esnek bir dil olarak anılmasının en önemli sebeplerinden biri -de bloklardır.Bir kapamayı (closure) herhangi bir metoda ataçlayabilir +de bloklardır. Bir kapamayı (closure) herhangi bir metoda ataçlayabilir ve metodun nasıl tepki vereceğini belirleyebilirsiniz. Kapamalar, -*bloklar* olarak anlandırırlırlar ve PHP ya da Visual Basic gibi +*bloklar* olarak adlandırılırlar ve PHP ya da Visual Basic gibi imperativ dillerden Ruby’ye geçenler arasında en popüler özelliğe dönüşmüştür. @@ -119,7 +119,7 @@ metodu istediği gibi şekillendirmesine izin vermektedir. ### Ruby ve Mixin’ler Pek çok nesneye yönelik dilin aksine, Ruby özellikle yalnızca tekil -mirası destekler. Çünkü Ruby modül konseptini (Nesnesel-C’de +mirası destekler. Çünkü Ruby modül konseptini (Objective-C’de Kategoriler) kullanır ve modüller metodların bir koleksiyonundan ibarettir. @@ -158,8 +158,8 @@ külfetini ortadan kaldırmıştır. Ruby çok çeşitli özelliklere sahiptir, aşağıda bir kaçından bahsedilmiştir: -* Ruby Java ya da Python gibi istisna yakalama mekanizmalarına sahiptir, - hatalarla başetmek kolaylaşır. +* Ruby, hataları işlemek için kolaylaştırmak amacıyla Java veya Python + gibi istisna işleme özelliklerine sahiptir. * Ruby tüm nesneleri için gerçek bir mark & sweep çöp toplayıcısı sunar. Eklenti kütüphanelerinde referans sayaçlarına gerek yok, From f971262255a484eddefe53bf545a7848d3939646 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Thu, 15 Nov 2018 12:30:07 -0500 Subject: [PATCH 0243/2563] Simplify introductory copy for Documentation --- en/documentation/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index c220dc1326..0c4363cf64 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -4,8 +4,7 @@ title: "Documentation" lang: en --- -Here you will find pointers to manuals, tutorials and references that -will come in handy when you feel like coding in Ruby. +Guides, tutorials and reference material to help you learn more about Ruby {: .summary} ### Installing Ruby From 4d615d4670d78f9108fea1cd8e21c738ae8da365 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Thu, 15 Nov 2018 13:05:03 -0500 Subject: [PATCH 0244/2563] =?UTF-8?q?Don=E2=80=99t=20linger=20on=20install?= =?UTF-8?q?ation=20in=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There’s no reason to spend so much time talking about installing Ruby or the command line on a page dedicated to documentation. We can refer people directly to the installation page which is much better suited to this. --- en/documentation/index.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 0c4363cf64..417ee1d69d 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -9,18 +9,8 @@ Guides, tutorials and reference material to help you learn more about Ruby ### Installing Ruby -Unless you only want to try Ruby in the browser (see the links below) -you need to have Ruby installed on your computer. -You can check whether Ruby already is available by opening a terminal -and typing - -{% highlight sh %} -ruby -v -{% endhighlight %} - -This should output some information on the installed Ruby version. -If not, see the [installation page](installation/) for various options -of getting Ruby. +Although you can easily [try Ruby in your browser][1], you can also read +the [installation guide](installation/) for help on installing Ruby. ### Getting Started From f3133b0d408a3ef6e040a0f485f34798245caae3 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Thu, 15 Nov 2018 13:05:37 -0500 Subject: [PATCH 0245/2563] Remove redundant listing of Getting Started links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These links are already available on every single page of the site in the sidebar, there’s no need to repeat them here. --- en/documentation/index.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 417ee1d69d..3bc7f85cb8 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -14,11 +14,6 @@ the [installation guide](installation/) for help on installing Ruby. ### Getting Started -[Try Ruby!][1] -: An interactive tutorial that lets you try out Ruby right in your - browser. This 15-minute tutorial is aimed at beginners who want to get - a feeling of the language. - [Official FAQ](/en/documentation/faq/) : The official frequently asked questions. @@ -32,14 +27,6 @@ the [installation guide](installation/) for help on installing Ruby. through stories, wit, and comics. Originally created by *why the lucky stiff*, this guide remains a classic for Ruby learners. -[Ruby in Twenty Minutes](/en/documentation/quickstart/) -: A nice tutorial covering the basics of Ruby. From start to finish it - shouldn’t take you more than twenty minutes. - -[Ruby from Other Languages](/en/documentation/ruby-from-other-languages/) -: Coming to Ruby from another language? Whether it’s C, C++, Java, Perl, - PHP, or Python, this article has you covered! - [Learning Ruby][6] : A thorough collection of Ruby study notes for those who are new to the language and in search of a solid introduction to Ruby’s concepts and From e01e69935f69250f279076b718eae5d9f71cf817 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Thu, 15 Nov 2018 13:06:45 -0500 Subject: [PATCH 0246/2563] Add listing for the official API documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I was surprised not to find these listed anywhere even though it is the official documentation built from source and hosted on ruby-lang.org Third parties are fine, but we shouldn’t link to third parties only if we offer this resource already. --- en/documentation/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/en/documentation/index.md b/en/documentation/index.md index 3bc7f85cb8..a0a1255f7d 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -61,6 +61,10 @@ the [installation guide](installation/) for help on installing Ruby. ### Reference Documentation +[Official API Documentation][40] +: The official Ruby API documentation for different versions including + the currently unreleased (trunk) version. + [Ruby Core Reference][13] : Pulled straight from the source code using [RDoc][14], this reference work documents all of the core classes and modules (like String, @@ -167,4 +171,5 @@ If you have questions about Ruby the [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash +[40]: https://docs.ruby-lang.org/en/ [atom]: https://atom.io/ From c06bd27c56fd5c4c170e8c876d0a8a01fcd80b90 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Thu, 15 Nov 2018 13:07:59 -0500 Subject: [PATCH 0247/2563] Clean up and update Installation guide There were a lot of outdated (and many may still remain) pieces of information in this guide and it was often needllessly verbose. I cut down on unnecessary copy, added relevant internal and external links, etc. --- en/documentation/installation/index.md | 152 +++++++++++++------------ 1 file changed, 82 insertions(+), 70 deletions(-) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index fb55f44957..2488273194 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -4,35 +4,40 @@ title: "Installing Ruby" lang: en --- -You can use several tools to install Ruby. -This page describes how to use major package management systems -and third-party tools for managing and installing Ruby -and how to build Ruby from source. +With package managers or third-party tools, you have plenty of options +to install and manage Ruby. {: .summary} +You may already have Ruby installed on your computer. You can check +inside a [terminal emulator][terminal] by typing: + +{% highlight sh %} +ruby -v +{% endhighlight %} + +This should output some information on the installed Ruby version. ## Choose Your Installation Method There are several ways to install Ruby: -* When you are on a UNIX-like operating system, using your system's - **package manager** is the easiest way of getting started. - However, the packaged Ruby version usually is not the newest one. +* On a UNIX-like operating system, using your system's **package + manager** is easiest. However, the packaged Ruby version may not be + the newest one. * **Installers** can be used to install a specific or multiple Ruby versions. There is also an installer for Windows. -* **Managers** help you to switch between multiple Ruby installations +* **Managers** help you to switch between multiple Ruby versions on your system. -* And finally, you can also **build Ruby from source**. +* Finally, you can also **build Ruby from source**. -The following overview lists available installation methods -for different needs and platforms. +Here are available installation methods: * [Package Management Systems](#package-management-systems) * [Debian, Ubuntu](#apt) * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [FreeBSD](#freebsd) * [Solaris, OpenIndiana](#solaris) * [Other Distributions](#other-systems) @@ -55,20 +60,19 @@ for different needs and platforms. If you cannot compile your own Ruby, and you do not want to use a third-party tool, you can use your system's package manager to install Ruby. -Certain members in the Ruby community feel very strongly that you should -never use a package manager to install Ruby and that you should use tools -instead. While the full list of pros and cons is outside of the scope -of this page, the most basic reason is that most package managers have -older versions of Ruby in their official repositories. If you would like to -use the newest Ruby, make sure you use the correct package name, -or use the tools described further below instead. +Some members of the Ruby community feel that you should avoid package +managers to install Ruby and that you should use dedicated tools instead. +It's possible that major package managers will install older Ruby +versions instead of the latest release. To use the latest Ruby release, +check that the package name matches its version number. Or use a +dedicated [installer][installers]. ### apt (Debian or Ubuntu) {: #apt} -Debian GNU/Linux and Ubuntu use the apt package manager. -You can use it like this: +Debian GNU/Linux and Ubuntu use the apt package manager. You can use it +like this: {% highlight sh %} $ sudo apt-get install ruby-full @@ -101,9 +105,9 @@ Gentoo uses the portage package manager. $ sudo emerge dev-lang/ruby {% endhighlight %} -By default, this will try to install versions 1.9 and 2.0, -but more versions are available. -To install a specific version, set `RUBY_TARGETS` in your `make.conf`. +By default, this will try to install versions 1.9 and 2.0, but more +versions are available. To install a specific version, set +`RUBY_TARGETS` in your `make.conf`. See the [Gentoo Ruby Project website][gentoo-ruby] for details. @@ -120,13 +124,14 @@ $ sudo pacman -S ruby This should install the latest stable Ruby version. -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} -On macOS (High) Sierra and OS X El Capitan, Ruby 2.0 is included. +Ruby versions 2.0 and above are included by default in macOS releases +since at least El Capitan (10.11) all the way through Mojave (10.14). -Many people on OS X use [Homebrew][homebrew] as a package manager. -It is really easy to get a newer version of Ruby using Homebrew: +[Homebrew][homebrew] is a commonly used package manager on macOS. +Installing a Ruby using Homebrew is easy: {% highlight sh %} $ brew install ruby @@ -178,48 +183,48 @@ latest version of Ruby. ### Other Distributions {: #other-systems} -On other systems, you can search the package repository of your -Linux distribution's manager for Ruby, or the third-party tools might be the -right choice for you. +On other systems, you can search the package repository of your Linux +distribution's manager for Ruby. Alternatively, you can use a +[third-party installer][installers]. ## Installers {: #installers} -If the version of Ruby provided by your system or package manager is out of -date, a newer one can be installed using a third-party installer. -Some of them also allow you to install multiple versions on the same system; -associated managers can help to switch between the different Rubies. -If you are planning to use [RVM](#rvm) as a version manager you do not need -a separate installer, it comes with its own. +If the version of Ruby provided by your system or package manager is out +of date, a newer one can be installed using a third-party installer. + +Some installers allow you to install multiple versions on the same +system; associated managers can help to switch between the different +Rubies. + +If you are planning to use [RVM](#rvm) as a version manager you don't +need a separate installer, it comes with its own. ### ruby-build {: #ruby-build} -[ruby-build][ruby-build] is a plugin for [rbenv](#rbenv) that -allows you to compile and install different versions of Ruby -into arbitrary directories. -ruby-build can also be used as a standalone program without rbenv. -It is available for OS X, Linux, and other UNIX-like operating systems. +[ruby-build][ruby-build] is a plugin for [rbenv](#rbenv) that allows you +to compile and install different versions of Ruby. ruby-build can also +be used as a standalone program without rbenv. It is available for macOS, +Linux, and other UNIX-like operating systems. ### ruby-install {: #ruby-install} [ruby-install][ruby-install] allows you to compile and install different -versions of Ruby into arbitrary directories. -There is also a sibling, [chruby](#chruby), which handles switching between -Ruby versions. -It is available for OS X, Linux, and other UNIX-like operating systems. +versions of Ruby into arbitrary directories. [chruby](#chruby) is a +complimentary tool used to switch between Ruby versions. It's available +for macOS, Linux, and other UNIX-like operating systems. ### RubyInstaller {: #rubyinstaller} -If you are on Windows, there is a great project to help you install Ruby: -[RubyInstaller][rubyinstaller]. It gives you everything you need to set up -a full Ruby development environment on Windows. +On Windows, [RubyInstaller][rubyinstaller] gives you everything you need +to set up a full Ruby development environment. Just download it, run it, and you are done! @@ -230,60 +235,60 @@ Just download it, run it, and you are done! If you are installing Ruby in order to use Ruby on Rails, you can use the following installers: -* [RailsInstaller][railsinstaller], - which uses RubyInstaller but gives you - extra tools that help with Rails development. - It supports OS X and Windows. -* [Bitnami Ruby Stack][rubystack], - which provides a complete development environment for Rails. - It supports OS X, Linux, Windows, virtual machines, and cloud images. +* [RailsInstaller][railsinstaller] uses [RubyInstaller][rubyinstaller] + but gives you extra tools that help with Rails development. It + supports macOS and Windows. +* [Bitnami Ruby Stack][rubystack] provides a complete development + environment for Rails. It supports macOS, Linux, Windows, virtual + machines, and cloud images. ## Managers {: #managers} -Many Rubyists use Ruby managers to manage multiple Rubies. -They confer various advantages but are not officially supported. -Their respective communities are very helpful, however. +Many Rubyists use Ruby managers to manage multiple Rubies. They allow +easy or even automatic switching between Ruby versions depending on the +project and other advantages but are not officially supported. You can +however find support within their respective communities. ### chruby {: #chruby} -[chruby][chruby] allows you to switch between multiple Rubies. -chruby can manage Rubies installed by [ruby-install](#ruby-install) -or even built from source. +[chruby][chruby] allows you to switch between multiple Rubies. It can +manage Rubies installed by [ruby-install](#ruby-install) or even built +from source. ### rbenv {: #rbenv} [rbenv][rbenv] allows you to manage multiple installations of Ruby. -It does not support installing Ruby, but there is a popular plugin -named [ruby-build](#ruby-build) to install Ruby. -Both tools are available for OS X, Linux, or other UNIX-like operating systems. +While it can't install Ruby by default, its [ruby-build](#ruby-build) +plugin can. Both tools are available for macOS, Linux, or other +UNIX-like operating systems. ### RVM ("Ruby Version Manager") {: #rvm} -[RVM][rvm] allows you to install and manage multiple installations of Ruby -on your system. It can also manage different gemsets. -It is available for OS X, Linux, or other UNIX-like operating systems. +[RVM][rvm] allows you to install and manage multiple installations of +Ruby on your system. It can also manage different gemsets. It is +available for macOS, Linux, or other UNIX-like operating systems. ### uru {: #uru} [Uru][uru] is a lightweight, multi-platform command line tool that helps you -to use multiple Rubies on OS X, Linux, or Windows systems. +to use multiple Rubies on macOS, Linux, or Windows systems. ## Building from Source {: #building-from-source} Of course, you can install Ruby from source. -[Download](/en/downloads/) and unpack a tarball, then just do this: +[Download][download] and unpack a tarball, then just do this: {% highlight sh %} $ ./configure @@ -294,6 +299,9 @@ $ sudo make install By default, this will install Ruby into `/usr/local`. To change, pass the `--prefix=DIR` option to the `./configure` script. +You can find more information about building from source in the [Ruby +README file][readme]. + Using the third-party tools or package managers might be a better idea, though, because the installed Ruby won't be managed by any tools. @@ -314,3 +322,7 @@ though, because the installed Ruby won't be managed by any tools. [freebsd-ruby]: https://wiki.freebsd.org/Ruby [freebsd-ports-collection]: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html [homebrew]: http://brew.sh/ +[terminal]: https://en.wikipedia.org/wiki/List_of_terminal_emulators +[download]: /en/downloads/ +[installers]: /en/documentation/installation/#installers +[readme]: https://github.com/ruby/ruby#how-to-compile-and-install From 1f6e5aaa2ebc6fb6a7b47b09f8e1b5cd74064bc2 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Thu, 15 Nov 2018 13:08:09 -0500 Subject: [PATCH 0248/2563] No one says Weblogs anymore --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 56a0be85fa..07844e1643 100644 --- a/_config.yml +++ b/_config.yml @@ -827,7 +827,7 @@ locales: description: | Get in contact with Rubyists in your area. weblogs: - text: Weblogs + text: Blogs url: /en/community/weblogs/ description: | Read about what’s happening right now in the Ruby community. From ef0b15f6311b0c7be5c01cc2f57aaeb06bcc9060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 19 Nov 2018 06:54:03 -0500 Subject: [PATCH 0249/2563] Translate 2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md (es) --- ...-in-some-formats-of-pack-cve-2018-16396.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 es/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md diff --git a/es/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md b/es/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md new file mode 100644 index 0000000000..c31f85d9b4 --- /dev/null +++ b/es/news/_posts/2018-10-17-not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "CVE-2018-16396: Banderas de contaminación no propagadas en Array#pack y String#unpack con algunas directivas" +author: "usa" +translator: "vtamara" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: es +--- + +Con algunos formatos de `Array#pack` y `String#unpack`, las banderas de +contaminación (tainted) de los datos originales no se propagan a la +cadena/arreglo que se retorna. +A esta vulnerabilidad se le ha asignado el identificador CVS +[CVE-2018-16396](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396). + +## Detalles + +El método `Array#pack` convierte el arreglo que recibe en una cadena +con un formato especificado. Si el arreglo recibido contiene objetos +contaminados, la cadena retornada también debe marcarse como +contaminada. +El método `String#unpack` que convierte una cadena en un arreglo +también debería propagar la bandera de contaminación a los objetos +del arreglo que se retorna. +Pero, con las directivas `B`, `b`, `H` y `h`, las banderas +de contaminación no se propagan. +Asi, que si un script procesa una entrada no confiable con `Array#pack` +y/o `String#unpack` y chequea su confiabilidad con las banderas de +contaminación, el chequeo podría resultar errado. + +Todos los usuarios que corran una versión afectada deberían actualizar +de inmediato. + +## Versiones afectadas + +* Serie Ruby 2.3: 2.3.7 y anteriores +* Serie Ruby 2.4: 2.4.4 y anteriores +* Serie Ruby 2.5: 2.5.1 y anteriores +* Serie Ruby 2.6: 2.6.0-preview2 y anteriores +* Anteriores la revisión r65125 del trunk + +## Credito + +Agradecimientos a [Chris Seaton](https://hackerone.com/chrisseaton) +por reportar este problema. + +## Historia + +* Publicado originalmente el 2018-10-17 14:00:00 (UTC) From 9257a86496beda18ec9f603b25822192cb63fcab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 19 Nov 2018 09:36:03 -0500 Subject: [PATCH 0250/2563] Translation of 2018-10-17-openssl... (es) --- ...-does-not-work-correctly-cve-2018-16395.md | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 es/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md diff --git a/es/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md b/es/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md new file mode 100644 index 0000000000..0beaa1fb2b --- /dev/null +++ b/es/news/_posts/2018-10-17-openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395.md @@ -0,0 +1,62 @@ +--- +layout: news_post +title: "CVE-2018-16395: Comparación de igualdad de OpenSSL::X509::Name no opera correactamente" +author: "usa" +translator: "vtamara" +date: 2018-10-17 14:00:00 +0000 +tags: security +lang: es +--- + +La comparación de igualdad de `OpenSSL::X509::Name` no es correcta en la +librería de la extensión de openssl empaquetada con Ruby. +A esta vulnerabilidad se le ha asignado el identificador CVE +[CVE-2018-16395](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395). + +## Detalles + +Una instancia de `OpenSSL::X509::Name` contiene entidades tales como CN, C, +y así sucesivamente. Un par de instancias de `OpenSSL::X509::Name` son +iguales sólo cuando todas las entidades son exactamente iguales. Sin embargo, +hay una falla en la comparación de igualdad, de modo que no da un resultado +correcto si el valor de la entidad de uno de los argumentos (el del lado +derecho) comienza con el valor recibido (lado izquierdo). +Así, que al pasar un certificado X.509 malicioso para compararlo con +un certificado existente, hay la posibilidad de que se juzguen +erradamente como iguales. + +Se recomienda con enfásis a los usuarios de Ruby actualizar su +instalación de ruby o aplicar una de las siguientes mitigaciones +tan pronto como sea posible. + +## Versiones afectadas + +* Serie Ruby 2.3: 2.3.7 y anteriores +* Serie Ruby 2.4: 2.4.4 y anteriores +* Serie Ruby 2.5: 2.5.1 y anteriores +* Serie Ruby 2.6: 2.6.0-preview2 y anteriores +* Antes de la revisión r65139 de trunk + +## Mitigación + +La gema openssl 2.1.2 y posteriores incluye una solución para la +vulnerabilidad así que actualice la gema de openssl a la versión más +reciente si usa Ruby 2.4 o un serie posterior. + +``` +gem install openssl -v ">= 2.1.2" +``` + +Sin embargo, para la serie Ruby 2.3, no podrá sobrecargar la versión +de openssl enpaqueta con la gema openssl. +Por favor actualice su instalación de Ruby a la versión más reciente. + +## Credito + +Agradecimientos a [Tyler Eckstein](https://hackerone.com/tylereckstein) +por reportar el problema. + +## Historia + +* Publicada originalmente el 2018-10-17 14:00:00 (UTC) +* Mención a la revisión arreglada en trunk el 2018-10-19 00:00:00 (UTC) From e026493f66d5a77d7e01e83f9fbb7fe3bc0cf328 Mon Sep 17 00:00:00 2001 From: Zane Alexander Date: Mon, 19 Nov 2018 20:02:00 -0500 Subject: [PATCH 0251/2563] Translate ruby 2.5.1 release (es) (#1883) Co-Authored-By: ZASMan --- .../_posts/2018-03-28-ruby-2-5-1-released.md | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 es/news/_posts/2018-03-28-ruby-2-5-1-released.md diff --git a/es/news/_posts/2018-03-28-ruby-2-5-1-released.md b/es/news/_posts/2018-03-28-ruby-2-5-1-released.md new file mode 100644 index 0000000000..c323148696 --- /dev/null +++ b/es/news/_posts/2018-03-28-ruby-2-5-1-released.md @@ -0,0 +1,59 @@ +--- +layout: news_post +title: "Ruby 2.5.1 Publicado" +author: "naruse" +translator: "zasman" +date: 2018-03-28 17:20:00 +0000 +lang: es +--- + +Ruby 2.5.1 ha se liberado. + +Esta entrega contiene algunas correciónes de errores y seguridad. + +* [CVE-2017-17742: Divsiones de respuestas HTTP en WEBrick](/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/) +* [CVE-2018-6914: Creacción involuntaria de archivos y direcotrios con traversa de directorio en tempfile y tmpdir](/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/) +* [CVE-2018-8777: DoS por gran solicitud en WEBrick](/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/) +* [CVE-2018-8778: Búfer subestimado en String#unpack](/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/) +* [CVE-2018-8779: Creacción involuntaria de socket por byte NUL envenenado en UNIXServer y UNIXSocket](/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/) +* [CVE-2018-8780: Recorrido involuntario del directorio por el byte NUL envenenado en Dir](/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/) +* [Vulnerabilidades múltiples en RubyGems](/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/) + +Hay algunas correciones de errors también. +Puedes ver [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1) para más detalles. + +## Descargas + +* + + SIZE: 15923244 bytes + SHA1: 93fafd57a724974b951957c522cdc4478a6bdc2e + SHA256: dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1 + SHA512: 67badcd96fd3808cafd6bc86c970cd83aee7e5ec682f34e7353663d96211a6af314a4c818e537ec8ca51fbc0737aac4e28e0ebacf1a4d1e13db558b623a0f6b1 + +* + + SIZE: 19525307 bytes + SHA1: 4fe511496f1eea0c3c1ac0c5f75ef11168ad1695 + SHA256: 5d8e490896c8353aa574be56ca9aa52c250390e76e36cd23df450c0434ada4d4 + SHA512: 490a52081e740b37f06215740734e9a6598ee9b492995b3161d720b5b05beadb4570aa526b3df01f686881b1e259aa7d4a59c1f398989dc2d5f8250342d986f7 + +* + + SIZE: 14000644 bytes + SHA1: 251fdb5ac10783b036fe923aa7986be582062361 + SHA256: 0f5d20f012baca865381a055e73f22db814615fee3c68083182cb78a4b3b30cb + SHA512: 82e799ecf7257a9f5fe8691c50a478b0f91bd4bdca50341c839634b0da5cd76c5556965cb9437264b66438434c94210c949fe9dab88cbc5b3b7fa34b5382659b + +* + + SIZE: 11348108 bytes + SHA1: 0fb5da56f9e5fca45e36aa24ba842d935d1691c2 + SHA256: 886ac5eed41e3b5fc699be837b0087a6a5a3d10f464087560d2d21b3e71b754d + SHA512: 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 + +## Comentarios de la entrega + +Varios autores, desarrolladores, y usuarios que enviaron reportes de errores ayudaron a hacer esta entrega. +Gracias por sus contribuciones. + From ab1d3634ea9817e1058df73a63a0628a0c4dbb8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Campos?= Date: Thu, 4 Oct 2018 11:41:04 -0300 Subject: [PATCH 0252/2563] Translate Ruby 2.5.0 Release post (pt) Closes #1840 --- .../_posts/2017-12-25-ruby-2-5-0-released.md | 130 ++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 pt/news/_posts/2017-12-25-ruby-2-5-0-released.md diff --git a/pt/news/_posts/2017-12-25-ruby-2-5-0-released.md b/pt/news/_posts/2017-12-25-ruby-2-5-0-released.md new file mode 100644 index 0000000000..e4d57e2125 --- /dev/null +++ b/pt/news/_posts/2017-12-25-ruby-2-5-0-released.md @@ -0,0 +1,130 @@ +--- +layout: news_post +title: "Lançado Ruby 2.5.0" +author: "naruse" +translator: "jcserracampos" +date: 2017-12-25 00:00:00 +0000 +lang: pt +--- + +Temos o prazer de anunciar o lançamento de Ruby 2.5.0. + +Ruby 2.5.0 é a primeira versão estável da série Ruby 2.5. +Esta versão introduz muitas novas funcionalidades e melhorias de performance. +As mudanças notáveis são as seguintes: + +## Novas funcionalidades + +* `rescue`/`else`/`ensure` passam a ser permitidos diretamente em + blocos `do`/`end`. + [[Funcionalidade #12906]](https://bugs.ruby-lang.org/issues/12906) +* Adiciona `yield_self` em um bloco yield no seu contexto. + Ao contrário de `tap`, retorna o resultado do bloco. + [[Funcionalidade #6721]](https://bugs.ruby-lang.org/issues/6721) +* Adiciona suporte a mensuração de cobertura de ramificação e cobertura de método. + A cobertura de ramificação indica quais ramificações (_branches_) são executadas e quais não. + A cobertura de método indica quais métodos são invocados e quais não. + Ao executar uma suíte de testes com essas novas funcionalidades, você saberá quais + ramificações e métodos são executados e mensurará a cobertura total da suíte de + testes mais estritamente. + [[Funcionalidade #13901]](https://bugs.ruby-lang.org/issues/13901) +* Hash#slice [[Funcionalidade #8499]](https://bugs.ruby-lang.org/issues/8499) + e Hash#transform_keys [[Funcionalidade #13583]](https://bugs.ruby-lang.org/issues/13583) +* Struct.new pode criar classes que aceitam _keywords_ como argumento. + [[Funcionalidade #11925]](https://bugs.ruby-lang.org/issues/11925) +* Enumerable#any?, all?, none? e one? passam a aceitar um _pattern_ como argumento. + [[Funcionalidade #11286]](https://bugs.ruby-lang.org/issues/11286) +* Pesquisa de constante de alto nível foi removida. + [[Funcionalidade #11547]](https://bugs.ruby-lang.org/issues/11547) +* Uma das mais amadas bibliotecas, pp.rb, agora é automaticamente carregada. + Você não precisa mais escrever `require "pp"`. + [[Funcionalidade #14123]](https://bugs.ruby-lang.org/issues/14123) +* Imprime _backtrace_ e mensagens de erro em ordem reversa (primeiro as chamadas mais antigas, + chamadas mais recentes por último). Quando um _backtrace_ grande aparece no seu terminal (TTY), + você pode facilmente achar a linha causadora no final do seu _backtrace_. + Perceba que a ordem só é reversa quando o _backtrace_ é imprimido + diretamente no terminal. + [[Funcionalidade #8661]](https://bugs.ruby-lang.org/issues/8661) [experimental] + +## Melhorias de performance + +* Cerca de 5-10% de melhoria de performance ao remover todas as instruções `trace` + do _bytecode_ geral (sequências de instrução). + A instrução `trace` foi adicionada para suportar o `TracePoint`. + Entretanto, na maioria dos casos, `TracePoint` não é utilizado e instruções `trace` + são sobrecargas puras. Ao invés, nós usamos uma técnica de instrumentação dinâmica. + Veja [[Funcionalidade #14104]](https://bugs.ruby-lang.org/issues/14104) para mais detalhes. +* Passagem de bloco por um parâmetro de bloco (por exemplo `def foo(&b); bar(&b); end`) + está cerca de 3 vezes mais rápida do que no Ruby 2.4 por causa da técnica "_Lazy Proc allocation_". + [[Funcionalidade #14045]](https://bugs.ruby-lang.org/issues/14045) +* Mutex está reescrito para ser menor e mais rápido. + [[Funcionalidade #13517]](https://bugs.ruby-lang.org/issues/13517) +* ERB agora gera código a partir de um template duas vezes mais rápido do que no Ruby 2.4. +* Melhora a performance de alguns métodos internos como `Array#concat`, + `Enumerable#sort_by`, `String#concat`, `String#index`, `Time#+` e mais. +* IO.copy_stream usa copy_file_range(2) para copiar usando offloading. + [[Funcionalidade #13867]](https://bugs.ruby-lang.org/issues/13867) + +## Outras mudanças notáveis desde 2.4 + +* SecureRandom agora prefere fontes fornecidas pelo sistema operacional ao invés de OpenSSL. + [[Bug #9569]](https://bugs.ruby-lang.org/issues/9569) +* Promove cmath, csv, date, dbm, etc, fcntl, fiddle, fileutils, gdbm, ipaddr, + scanf, sdbm, stringio, strscan, webrick, zlib de bibliotecas padrões + para gems padrões. +* Atualiza para [Onigmo](https://github.com/k-takata/Onigmo/) 6.1.3. + * Adiciona [operador ausente](https://github.com/k-takata/Onigmo/issues/87). + * Note que [Ruby 2.4.1](https://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/) também inclui esta mudança. +* Atualiza para Psych 3.0.2. +* Atualiza para RubyGems 2.7.3. +* Atualiza para RDoc 6.0.1. + * [Altera o _lexer_ de um baseado em IRB para Ripper](https://github.com/ruby/rdoc/pull/512). + Isto melhora consideravelmente a velocidade de geração de documentação. + * Corrige uma quantidade significativa de bugs que existiam há 10 anos. + * Adiciona suporte para a nova sintaxe de Ruby desde as últimas mudanças. +* Atualiza a versão suportads de Unicode para 10.0.0. +* `Thread.report_on_exception` agora é definido como `true` por padrão. + Esta alteração ajuda a debugar programas multithreads. + [[Funcionalidade #14143]](https://bugs.ruby-lang.org/issues/14143) +* IO#write agora recebe múltiplos argumentos. + [[Funcionalidade #9323]](https://bugs.ruby-lang.org/issues/9323) + +Veja as [novidades](https://github.com/ruby/ruby/blob/v2_5_0/NEWS) +ou [histórico de commits](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0) +para detalhes. + +Com essas mudanças, +[6158 arquivos alterados, 348484 inserções(+), 82747 remoções(-)](https://github.com/ruby/ruby/compare/v2_4_0...v2_5_0) +desde Ruby 2.4.0! + +Feliz natal, feliz ano novo e divirta-se programando com Ruby 2.5! + +## Download + +* + + SIZE: 15834941 bytes + SHA1: 58f77301c891c1c4a08f301861c26b1ea46509f6 + SHA256: 46e6f3630f1888eb653b15fa811d77b5b1df6fd7a3af436b343cfe4f4503f2ab + SHA512: 0712fe68611f5d0cd6dd54b814f825478e64b6a62bdf67bce431f4dca2dc00b1a33f77bebfbcd0a151118a1152554ab457decde435b424aa1f004bc0aa40580d + +* + + SIZE: 19495617 bytes + SHA1: 700b6f55d689a5c8051c8c292b9e77a1b50bf96e + SHA256: 94559ea6e3c619423da604e503ce1dc1c465d6e0747a07fbdc5f294acaf14c24 + SHA512: e4324064cee8c65b80192e3eff287e915d2d40464d300744c36fb326ae4b1846911400a99d4332192d8a217009d3a5209b43eb5e8bc0b739035bef89cc493e84 + +* + + SIZE: 13955820 bytes + SHA1: 827b9a3bcffa86d1fc9ed96d403cb9dc37731688 + SHA256: d87eb3021f71d4f62e5a5329628ac9a6665902173296e551667edd94362325cc + SHA512: 8f6fdf6708e7470f55bc009db2567cd8d4e633ad0678d83a015441ecf5b5d88bd7da8fb8533a42157ff83b74d00b6dc617d39bbb17fc2c6c12287a1d8eaa0f2c + +* + + SIZE: 11292472 bytes + SHA1: 9c7babcf9e299be3f197d9091024ae458f1a1273 + SHA256: 1da0afed833a0dab94075221a615c14487b05d0c407f991c8080d576d985b49b + SHA512: 55714a33d7661fe8b432f73c34fd67b49699f8b79df1cbd680a74899124d31111ab0f444677672aac1ba725820182940d485efb2db0bf2bc96737c5d40c54578 From b26c5feb4b07fc603c3c64c94cd90cacd6a4aee1 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Wed, 21 Sep 2016 19:01:14 -0400 Subject: [PATCH 0253/2563] Add Podcasts section to Community Includes Ruby Rogues and the Ruby on Rails Podcast since they're the most prominent Ruby-related podcasts in English but I'm sure there might be more in other languages. --- en/community/index.md | 17 +++++++++++------ en/community/podcasts/index.md | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 en/community/podcasts/index.md diff --git a/en/community/index.md b/en/community/index.md index 1d2b5d6345..41fd799f79 100644 --- a/en/community/index.md +++ b/en/community/index.md @@ -42,13 +42,18 @@ to start: work-in-progress, discuss the future of Ruby, and welcome newcomers to the Ruby community. +[Podcasts](podcasts/) +: If you like to hear about Ruby rather than read about you can listen + to podcasts which cover new Ruby or gem releases, interviews and + discussions between Ruby programmers, contributors, and maintainers. + General Ruby Information -: * [Ruby Central][3] - * [Ruby at Open Directory Project][4] - * [Rails at Open Directory Project][5] +: * [Ruby Central][ruby-central] + * [Ruby at Open Directory Project][ruby-opendir] + * [Rails at Open Directory Project][rails-opendir] -[3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[ruby-central]: http://rubycentral.org/ +[ruby-opendir]: http://dmoz.org/Computers/Programming/Languages/Ruby/ +[rails-opendir]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ diff --git a/en/community/podcasts/index.md b/en/community/podcasts/index.md new file mode 100644 index 0000000000..187c76cafe --- /dev/null +++ b/en/community/podcasts/index.md @@ -0,0 +1,18 @@ +--- +layout: page +title: "Podcasts" +lang: en +--- + +Listen to news, interviews, and discussions about Ruby and its community. + +[Ruby Rogues][rogues] +: The Ruby Rogues podcast is a panel discussion about topics relating to + programming, careers, community, and Ruby. + +[Ruby on Rails Podcast][rorpodcast] +: The Ruby on Rails Podcast, a weekly conversation about Ruby on Rails, + open source software, and the programming profession. + +[rorpodcast]: http://5by5.tv/rubyonrails +[rogues]: https://devchat.tv/ruby-rogues From 6dc64debbff746866d160cf58d6c6c8753a749c6 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Thu, 8 Nov 2018 15:48:09 +0000 Subject: [PATCH 0254/2563] rake new_post:en --- en/news/_posts/2018-11-08-short-title.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 en/news/_posts/2018-11-08-short-title.md diff --git a/en/news/_posts/2018-11-08-short-title.md b/en/news/_posts/2018-11-08-short-title.md new file mode 100644 index 0000000000..c268b6f8da --- /dev/null +++ b/en/news/_posts/2018-11-08-short-title.md @@ -0,0 +1,10 @@ +--- +layout: news_post +title: "Post Title" +author: "Unknown Author" +translator: +date: 2018-11-08 14:58:28 +0000 +lang: en +--- + +Content. From 4ac65426ec1a18dc31e2e97066978dbc580577e6 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Wed, 21 Nov 2018 12:20:25 +0900 Subject: [PATCH 0255/2563] Rename and added contents for snap release. --- en/news/_posts/2018-11-08-short-title.md | 10 ------- en/news/_posts/2018-11-08-snap.md | 37 ++++++++++++++++++++++++ ja/news/_posts/2018-11-08-snap.md | 37 ++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 10 deletions(-) delete mode 100644 en/news/_posts/2018-11-08-short-title.md create mode 100644 en/news/_posts/2018-11-08-snap.md create mode 100644 ja/news/_posts/2018-11-08-snap.md diff --git a/en/news/_posts/2018-11-08-short-title.md b/en/news/_posts/2018-11-08-short-title.md deleted file mode 100644 index c268b6f8da..0000000000 --- a/en/news/_posts/2018-11-08-short-title.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: news_post -title: "Post Title" -author: "Unknown Author" -translator: -date: 2018-11-08 14:58:28 +0000 -lang: en ---- - -Content. diff --git a/en/news/_posts/2018-11-08-snap.md b/en/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..49c10a02d4 --- /dev/null +++ b/en/news/_posts/2018-11-08-snap.md @@ -0,0 +1,37 @@ +--- +layout: news_post +title: The official ruby snap is available +author: Hiroshi SHIBATA +translator: +date: 2018-11-08 14:58:28 +0000 +lang: en +--- + +We released the official snap package of Ruby language. + +https://snapcraft.io/ruby + +snap is the package system developed by Canonical. You can distribute the package with necessary libraries by using snap. It solved the problem that users can not use any versions of Ruby interpreter when using Linux distribution package system like rpm or apt. + +For Ubuntu 16.04 or later distribution, you can use Ruby snap with the following command. + +    sudo snap install ruby -classic + +When you use the Linux distributions other than Ubuntu, Please refer to https://docs.snapcraft.io/installing-snapd/6735. + +Ruby snap uses the feature called channel to distribute the currently maintained version. For example, if you do not specify a channel at 2018/11, It will be installed 2.5.3. but if you want to use Ruby 2.4, specify it as follows. + +    sudo snap install ruby --classic --channel=2.4/stable + +Multiple Ruby versions can be used with the snap feature. For example, to switch to Ruby 2.3, execute the following command. + +    sudo snap switch ruby --channel=2.3/stable +    sudo snap refresh + +The Ruby snap has set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environmental variables. Therefore, if you want to execute commands such as rails and rspec without using `bundle exec`, you need to set the following lines to` .bashrc` and so on. + +    eval `ruby.env` + +Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristine` command. + +This ruby snap released the official version for the first time with the snapcraft summit held at the canonical office in London on 6-8 Nov, 2018. The feedback are accepted at [https://github.com/ruby/snap.ruby](http://github.com/ruby/snap.ruby). Please enjoy. diff --git a/ja/news/_posts/2018-11-08-snap.md b/ja/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..691bd48f8a --- /dev/null +++ b/ja/news/_posts/2018-11-08-snap.md @@ -0,0 +1,37 @@ +--- +layout: news_post +title: The official ruby snap is available +author: Hiroshi SHIBATA +translator: +date: 2018-11-08 14:58:28 +0000 +lang: ja +--- + +Ruby の公式 snap パッケージをリリースしました。 + +https://snapcraft.io/ruby + +snap は canonical が開発している新しいパッケージシステムです。独自のファイルシステムを利用して、バイナリの動作に必要なライブラリを全てパッケージングして配布することができます。snap を利用することで、 yum や apt のような Linux ディストリビューションのパッケージシステムを利用した時に、任意のバージョンをユーザーが自由に使うことができない問題を解決しました。 + +Ubuntu 16.04 以降のディストリビューションなら以下のコマンドで snap ruby を使うことができます。 + + sudo snap install ruby --classic + +Ubuntu 以外のディストリビューションで snap を利用する場合の準備については https://docs.snapcraft.io/installing-snapd/6735 を参照してください。 + +Ruby の snap パッケージは channel と呼ばれる機能を用いて、現在メンテナンスしているバージョンを配信しています。例えば、2018/11 現在 channel を指定しない場合は 2.5.3 がインストールされますが、2.4 を利用したい場合は以下のように指定します。 + + sudo snap install ruby --classic --channel=2.4/stable + +snap の機能を使うと複数の Ruby のバージョンを利用することができます。例えば、Ruby 2.3 に切り替えるには以下のコマンドを実行します。 + + sudo snap switch ruby --channel=2.3/stable + sudo snap refresh + +また、snap の制限事項として、RubyGems は `$HOME/.gem` にインストールされるように GEM_HOME と GEM_PATH を設定しています。そのため、rails や rspec などのコマンドを `bundle exec` を用いずに実行したい場合は以下の行を `.bashrc` などに設定する必要があります。 + + eval `ruby.env` + +`$HOME/.gem` は複数のバージョンで共有されるため、バージョンを切り替えて利用した場合、C 拡張などは `gem pristine` コマンドを用いて再コンパイルする必要があります。 + +この ruby snap は 11/6-8 にロンドンの canonical オフィスで開催された snapcraft summit で初めて公式バージョンをリリースしました。不具合やフィードバックは https://github.com/ruby/snap.ruby で受け付けています。お楽しみください。 From 4af88f51d3833fc4a54b34373da1f1dbe8fa3863 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Thu, 22 Nov 2018 22:14:04 +0900 Subject: [PATCH 0256/2563] Applied proofreadings by sorah --- en/news/_posts/2018-11-08-snap.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/en/news/_posts/2018-11-08-snap.md b/en/news/_posts/2018-11-08-snap.md index 49c10a02d4..0adf4b574f 100644 --- a/en/news/_posts/2018-11-08-snap.md +++ b/en/news/_posts/2018-11-08-snap.md @@ -13,25 +13,27 @@ https://snapcraft.io/ruby snap is the package system developed by Canonical. You can distribute the package with necessary libraries by using snap. It solved the problem that users can not use any versions of Ruby interpreter when using Linux distribution package system like rpm or apt. -For Ubuntu 16.04 or later distribution, you can use Ruby snap with the following command. +On Ubuntu 16.04 or later, you can use Ruby snap with the following command:     sudo snap install ruby -classic -When you use the Linux distributions other than Ubuntu, Please refer to https://docs.snapcraft.io/installing-snapd/6735. +(If you use other Linux distributions, please refer to https://docs.snapcraft.io/installing-snapd/6735) -Ruby snap uses the feature called channel to distribute the currently maintained version. For example, if you do not specify a channel at 2018/11, It will be installed 2.5.3. but if you want to use Ruby 2.4, specify it as follows. +Our snap uses the "channel" feature to release multiple Ruby series concurrently. For example, without specifying a channel, 2.5.3 will be installed. But if you want to use Ruby 2.4, specify the 2.4 channel like the following:     sudo snap install ruby --classic --channel=2.4/stable -Multiple Ruby versions can be used with the snap feature. For example, to switch to Ruby 2.3, execute the following command. +You can also use multiple channels. The following commands switch to Ruby 2.3:     sudo snap switch ruby --channel=2.3/stable     sudo snap refresh -The Ruby snap has set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environmental variables. Therefore, if you want to execute commands such as rails and rspec without using `bundle exec`, you need to set the following lines to` .bashrc` and so on. +Our snap set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environment variable. So if you want to execute commands installed by rubygems such as rails and rspec without using bundle exec, you have to add the following line to your shell rc files (like .bashrc):     eval `ruby.env` Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristine` command. -This ruby snap released the official version for the first time with the snapcraft summit held at the canonical office in London on 6-8 Nov, 2018. The feedback are accepted at [https://github.com/ruby/snap.ruby](http://github.com/ruby/snap.ruby). Please enjoy. +The initial version of official Ruby snap has released during Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. Any feedbacks are welcomed at https://github.com/ruby/snap.ruby. + +Enjoy! From 1b0f6c1fb8a6286d790f05ae38d0c64b63daef34 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Thu, 22 Nov 2018 22:20:59 +0900 Subject: [PATCH 0257/2563] Added install section --- en/documentation/installation/index.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index 2488273194..9fed3b71e3 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -33,6 +33,7 @@ There are several ways to install Ruby: Here are available installation methods: * [Package Management Systems](#package-management-systems) + * [Snap](#snap) * [Debian, Ubuntu](#apt) * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) @@ -68,6 +69,25 @@ versions instead of the latest release. To use the latest Ruby release, check that the package name matches its version number. Or use a dedicated [installer][installers]. +### snap (Ubuntu or other linux distribution) +{: #snap} + +snap is the package system developed by Canonical. +You can use it like this. + +{% highlight sh %} +$ sudo snap install ruby --classic +{% endhighlight %} + +You can also use multiple channels. The following commands switch to Ruby 2.3: + +{% highlight sh %} +$ sudo snap switch ruby --channel=2.3/stable +$ sudo snap refresh +{% endhighlight %} + +snap should install the latest stable Ruby version. + ### apt (Debian or Ubuntu) {: #apt} From 92c9a69df277e9eff33250305c49605b51036d2b Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Fri, 23 Nov 2018 20:49:12 +0900 Subject: [PATCH 0258/2563] Added option for pristine --- en/news/_posts/2018-11-08-snap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-11-08-snap.md b/en/news/_posts/2018-11-08-snap.md index 0adf4b574f..de50c79f51 100644 --- a/en/news/_posts/2018-11-08-snap.md +++ b/en/news/_posts/2018-11-08-snap.md @@ -32,7 +32,7 @@ Our snap set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environment variable. So     eval `ruby.env` -Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristine` command. +Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristin --extensions` command. The initial version of official Ruby snap has released during Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. Any feedbacks are welcomed at https://github.com/ruby/snap.ruby. From ac6dda4fba349c25b30d96bf7dbf381e1786c8c1 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Sat, 24 Nov 2018 07:59:48 +0900 Subject: [PATCH 0259/2563] Fixed ja --- ja/news/_posts/2018-11-08-snap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2018-11-08-snap.md b/ja/news/_posts/2018-11-08-snap.md index 691bd48f8a..1e7b392e52 100644 --- a/ja/news/_posts/2018-11-08-snap.md +++ b/ja/news/_posts/2018-11-08-snap.md @@ -32,6 +32,6 @@ snap の機能を使うと複数の Ruby のバージョンを利用すること eval `ruby.env` -`$HOME/.gem` は複数のバージョンで共有されるため、バージョンを切り替えて利用した場合、C 拡張などは `gem pristine` コマンドを用いて再コンパイルする必要があります。 +`$HOME/.gem` は複数のバージョンで共有されるため、バージョンを切り替えて利用した場合、C 拡張などは `gem pristin --extensions` コマンドを用いて再コンパイルする必要があります。 この ruby snap は 11/6-8 にロンドンの canonical オフィスで開催された snapcraft summit で初めて公式バージョンをリリースしました。不具合やフィードバックは https://github.com/ruby/snap.ruby で受け付けています。お楽しみください。 From c1685d73e98fa33fa641bc37a50082fc90aa04f7 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Sat, 24 Nov 2018 08:16:39 +0900 Subject: [PATCH 0260/2563] Applied 2nd proofreadings by sorah --- en/documentation/installation/index.md | 38 ++++++++++++-------------- en/news/_posts/2018-11-08-snap.md | 2 +- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index 9fed3b71e3..9f0253b89a 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -33,9 +33,9 @@ There are several ways to install Ruby: Here are available installation methods: * [Package Management Systems](#package-management-systems) - * [Snap](#snap) * [Debian, Ubuntu](#apt) * [CentOS, Fedora, RHEL](#yum) + * [Snap](#snap) * [Gentoo](#portage) * [Arch Linux](#pacman) * [macOS](#homebrew) @@ -69,25 +69,6 @@ versions instead of the latest release. To use the latest Ruby release, check that the package name matches its version number. Or use a dedicated [installer][installers]. -### snap (Ubuntu or other linux distribution) -{: #snap} - -snap is the package system developed by Canonical. -You can use it like this. - -{% highlight sh %} -$ sudo snap install ruby --classic -{% endhighlight %} - -You can also use multiple channels. The following commands switch to Ruby 2.3: - -{% highlight sh %} -$ sudo snap switch ruby --channel=2.3/stable -$ sudo snap refresh -{% endhighlight %} - -snap should install the latest stable Ruby version. - ### apt (Debian or Ubuntu) {: #apt} @@ -116,6 +97,23 @@ The installed version is typically the latest version of Ruby available at the release time of the specific distribution version. +### snap (Ubuntu or other linux distribution) +{: #snap} + +Snap is a package manager developed by Canonical. It's available out-of-the-box on Ubuntu, but snap also works on many Linux distributions. +You can use it like this. + +{% highlight sh %} +$ sudo snap install ruby --classic +{% endhighlight %} + +We have several channels per Ruby minor series. For instance, the following commands switch to Ruby 2.3: + +{% highlight sh %} +$ sudo snap switch ruby --channel=2.3/stable +$ sudo snap refresh +{% endhighlight %} + ### portage (Gentoo) {: #portage} diff --git a/en/news/_posts/2018-11-08-snap.md b/en/news/_posts/2018-11-08-snap.md index de50c79f51..320fc93017 100644 --- a/en/news/_posts/2018-11-08-snap.md +++ b/en/news/_posts/2018-11-08-snap.md @@ -11,7 +11,7 @@ We released the official snap package of Ruby language. https://snapcraft.io/ruby -snap is the package system developed by Canonical. You can distribute the package with necessary libraries by using snap. It solved the problem that users can not use any versions of Ruby interpreter when using Linux distribution package system like rpm or apt. +Snap is a package system developed by Canonical. It allows you to distribute a software with its dependencies for many different Linux systems. This solves the problem that a user cannot install the latest Ruby release from the default repository of their system like in rpm or apt. On Ubuntu 16.04 or later, you can use Ruby snap with the following command: From dac9be992b7126089e7c380edbd1ffbc2f462389 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Sun, 25 Nov 2018 12:56:05 +0900 Subject: [PATCH 0261/2563] Translate 2.6.0-preview3 posts (zh_cn) (#1890) --- ...2018-05-31-ruby-2-6-0-preview2-released.md | 26 ++-- ...2018-11-06-ruby-2-6-0-preview3-released.md | 113 ++++++++++++++++++ 2 files changed, 126 insertions(+), 13 deletions(-) create mode 100644 zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md diff --git a/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index bb7f5a506c..d8b664bf4b 100644 --- a/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/zh_cn/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -13,7 +13,7 @@ Ruby 2.6.0-preview2 是 Ruby 2.6.0 系列的第二个测试版本。此次 previ ## JIT -uby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 +Ruby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语言中常见的 JIT 编译器,Ruby 的 JIT 编译器进行 JIT 编译的过程非常独特。其将生成的 C 代码打印至磁盘并 spawn 常见的 C 编译器进行代码的生成工作。详见:[Vladimir Makarov 的 MJIT 组织](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 @@ -37,13 +37,13 @@ Ruby 2.6 引入了 `RubyVM::AST` 模块。 ## 新特性 -* 为 `Kernel#yield_self` 添加了新别名 `then`。[功能 #14594] +* 为 `Kernel#yield_self` 添加了新别名 `then`。[[功能 #14594]](https://bugs.ruby-lang.org/issues/14594) * 不含 `rescue` 的 `else` 现在会引起语法错误。[实验性质] -* 常量名现在可以以非 ASCII 大写字母开头。[功能 #13770] +* 常量名现在可以以非 ASCII 大写字母开头。[[功能 #13770]](https://bugs.ruby-lang.org/issues/13770) -* 无限范围 [功能 #12912] +* 无限范围 [[功能 #12912]](https://bugs.ruby-lang.org/issues/12912) 引入了无限范围 `(1..)`。这个范围没有终点,以下是使用场景的举例。 @@ -51,27 +51,27 @@ Ruby 2.6 引入了 `RubyVM::AST` 模块。 (1..).each {|index| ... } # 从 1 开始的无限循环 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } -* 新增 `Binding#source_location`。[功能 #14230] +* 新增 `Binding#source_location`。[[功能 #14230]](https://bugs.ruby-lang.org/issues/14230) - 此方法以一个二元组数组 `__FILE__` 和 `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [漏洞 #4352]。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 + 此方法以一个二元组数组 `__FILE__` 和 `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [[漏洞 #4352]](https://bugs.ruby-lang.org/issues/4352)。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 -* 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[功能 #14386] +* 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) ## 性能提升 -* 提升 `Proc#call` 的速度,因为我们无需再关心 `$SAFE`。[功能 #14318] +* 提升 `Proc#call` 的速度,因为我们无需再关心 `$SAFE`。[[功能 #14318]](https://bugs.ruby-lang.org/issues/14318) - 通过 `lc_fizzbuzz` 多次使用 `Proc#call` 的基准测试我们测量到了 1.4 倍性能提升 [漏洞 #10212]。 + 通过 `lc_fizzbuzz` 多次使用 `Proc#call` 的 benchmark 我们测量到了 1.4 倍性能提升 [[漏洞 #10212]]((https://bugs.ruby-lang.org/issues/10212))。 -* 提升了当 `block` 是代码块参数时 `block.call` 的性能。[功能 #14330] +* 提升了当 `block` 是代码块参数时 `block.call` 的性能。[[功能 #14330]]((https://bugs.ruby-lang.org/issues/14330)) - Ruby 2.5 提升了代码块传递的性能。[功能 #14045] 另外,Ruby 2.6 提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。 + Ruby 2.5 提升了代码块传递的性能。[[功能 #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。 ## 其他自 2.5 以来的重要变化 -* `$SAFE` 成为了进程全局状态,我们可以再次将其设为 `0`。[功能 #14250] +* `$SAFE` 成为了进程全局状态,我们可以再次将其设为 `0`。[[功能 #14250]](https://bugs.ruby-lang.org/issues/14250) -* 不再建议将 `safe_level` 参数传递给 `ERB.new` 的行为。`trim_mode` 和 `eoutvar` 参数被转换成了关键词参数。[功能 #14256] +* 不再建议将 `safe_level` 参数传递给 `ERB.new` 的行为。`trim_mode` 和 `eoutvar` 参数被转换成了关键词参数。[[功能 #14256]](https://bugs.ruby-lang.org/issues/14256) * 合并 RubyGems 3.0.0.beta1 diff --git a/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md new file mode 100644 index 0000000000..799373e972 --- /dev/null +++ b/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -0,0 +1,113 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview3 已发布" +author: "naruse" +translator: "Delton Ding" +date: 2018-11-06 00:00:00 +0000 +lang: zh_cn +--- + +我们高兴地宣布 Ruby 2.6.0-preview3 已发布。 + +Ruby 2.6.0-preview3 是 Ruby 2.6.0 系列的第三个测试版本。此次 preview3 的发布意在发布候选版前测试新特性。 + +## JIT +Ruby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 + +JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语言中常见的 JIT 编译器,Ruby 的 JIT 编译器进行 JIT 编译的过程非常独特。其将生成的 C 代码打印至磁盘并 spawn 常见的 C 编译器进行代码的生成工作。详见:[Vladimir Makarov 的 MJIT 组织](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 + +如何使用:在命令行或 `$RUBYOPT` 环境变量中指定 `--jit` 参数。指定 `--jit-verbose=1` 将允许打印 JIT 编译过程中的调试信息。详见 `ruby --help` 查看更多其他选项。 + +此 JIT 发布的主要目的是检查平台的兼容性,以及在 2.6 版本发布前找出安全风险。目前 JIT 编译器只当 Ruby 由 gcc clang 或 Microsoft VC++ 编译后,编译器仍可被运行时发现时可用,除此之外你暂时无法使用 JIT。 + +Ruby 2.6.0 preview3 在使用 CPU 密集型场景下的复杂 Bemchmark Optcarrot 进行测试后,比起 Ruby 2.5 取得了 1.7 倍的性能提升。我们会进一步提升其在内存密集型场景,例如 Rails 应用中的性能。 + +请保持对 Ruby 新时代性能的关注。 + +## RubyVM::AST [试验性] + +Ruby 2.6 引入了 `RubyVM::AST` 模块。 + +此模块提供 `parse` 方法,传入 Ruby 代码字符串,返回 AST(抽象语法树)节点。而 `parse_file` 方法则接受一个 Ruby 代码文件作为参数,返回 AST 节点。 + +同时引入了 `RubyVM::AST::Node` 类,你可以从 `Node` 对象中获取位置信息和子节点。此功能尚处于实验性质,对于 AST 节点的兼容性不做保证。 + +## 新特性 + +* 为 `Kernel#yield_self` 添加了新别名 `then`。[[功能 #14594]](https://bugs.ruby-lang.org/issues/14594) + +* 不含 `rescue` 的 `else` 现在会引起语法错误。[实验性质] + +* 常量名现在可以以非 ASCII 大写字母开头。[[功能 #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 无限范围 [[功能 #12912]](https://bugs.ruby-lang.org/issues/12912) + + 引入了无限范围 `(1..)`。这个范围没有终点,以下是使用场景的举例。 + + ary[1..] # 等价于 ary[1..-1] 而不需要魔法的 -1 + (1..).each {|index| ... } # 从 1 开始的无限循环 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 `Binding#source_location`。[[功能 #14230]](https://bugs.ruby-lang.org/issues/14230) + + 此方法以一个二元组数组 `__FILE__` 和 `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [[漏洞 #4352]](https://bugs.ruby-lang.org/issues/4352)。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 + +* 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) + +## 性能提升 + +* 提升 `Proc#call` 的速度,因为我们无需再关心 `$SAFE`。[[功能 #14318]](https://bugs.ruby-lang.org/issues/14318) + + 通过 `lc_fizzbuzz` 多次使用 `Proc#call` 的 benchmark 我们测量到了 1.4 倍性能提升 [[漏洞 #10212]]((https://bugs.ruby-lang.org/issues/10212))。 + +* 提升了当 `block` 是代码块参数时 `block.call` 的性能。[[功能 #14330]]((https://bugs.ruby-lang.org/issues/14330)) + + Ruby 2.5 提升了代码块传递的性能。[[功能 #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。 + +* 引入了瞬态堆 (theap)。 [Bug #14858] [Feature #14989] 瞬态堆是用于管理指向特定类(Array, Hash, Object 和 Struct)短生命周期内存对象的堆。例如,创建小而短生命周期的哈希对象的速度提升到了 2 倍快。根据 rdoc benchmark,我们观察到了 6% 到 7% 的性能提升。 + +## 其他自 2.5 以来的重要变化 + +* `$SAFE` 成为了进程全局状态,我们可以再次将其设为 `0`。[[功能 #14250]](https://bugs.ruby-lang.org/issues/14250) + +* 不再建议将 `safe_level` 参数传递给 `ERB.new` 的行为。`trim_mode` 和 `eoutvar` 参数被转换成了关键词参数。[[功能 #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 合并 RubyGems 3.0.0.beta2,`--ri` 和 `--rdoc` 选项已被移除。请使用 `--document` 和 `--no-document` 选项来替代他们。 + +* 合并 [Bundler](https://github.com/bundler/bundler) 作为默认 gem。 + +见 [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) 或 [提交日志](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) 以查看详情。 + +这些合并后,自 Ruby 2.5.0 已发生了 [6474 个文件变更,171888 行新增(+),46617 行删除(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3)! + +享受 Ruby 2.6.0-preview3 的编程吧! + +## 下载 + +* + + SIZE: 17071670 bytes + SHA1: 67836fda11fa91e0b988a6cc07989fbceda025b4 + SHA256: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + SHA512: 877278cd6e9b947f5bb6ed78136efb232dcc9c5c218b7236576171e7c3cd7f6b7d10d07d8402014a14aba1fcd1913a4370f0725c561ead41d8a3fe92029f7f76 + +* + + SIZE: 21537655 bytes + SHA1: 45f3c90dfffe03b746f21f24152666e361cbb41a + SHA256: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + SHA512: 335de36cf56706326f4acc4bbd35be01e0ac5fff30d0a69b2e1630ba4c78f0e711822d1623d0099a517c824b154917d2f60be192dfb143a422cf1d17b38e1183 + +* + + SIZE: 14973451 bytes + SHA1: 5f2df5d8c5a3888ccb915d36a3532ba32cda8791 + SHA256: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + SHA512: d1693625723796e8902f3e4c4fae444f2912af9173489f7cf18c99db2a217afc971b082fce7089e39f8edd54d762d2b4e72843c8306ed29b05ccb15ac03dbb5b + +* + + SIZE: 12291692 bytes + SHA1: 7f8216247745215e9645568e7a02140f9a029b31 + SHA256: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + SHA512: b4d3b17ecf96272c43cd7518c0b54dee63fc1150ad143e1d9c9d708506fe78676c80eb96cc47b8d46d1128bd483a53f16c944963a03d1f99f00131b74714df7b From ecbdd1a6dc67164983a85bc8e9796fa63f575872 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Sat, 24 Nov 2018 17:24:44 +0900 Subject: [PATCH 0262/2563] Translate 2.6.0-preview3 post (zh_tw) --- ...2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- ...2018-11-06-ruby-2-6-0-preview3-released.md | 113 ++++++++++++++++++ 2 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 zh_tw/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md diff --git a/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 64e34b11e7..d56657aad2 100644 --- a/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/zh_tw/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -9,7 +9,7 @@ lang: zh_tw 我們很榮幸的宣布 Ruby 2.6.0-preview2 發布了。 -Ruby 2.6.0-preview2 是 Ruby 2.6.0 第一個預覽版。 +Ruby 2.6.0-preview2 是 Ruby 2.6.0 第二個預覽版。 此次的 preview2 發布的平常還要早一些,因為它包含了一個重要新功能,JIT。 ## JIT diff --git a/zh_tw/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/zh_tw/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md new file mode 100644 index 0000000000..e7ff5a10a5 --- /dev/null +++ b/zh_tw/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -0,0 +1,113 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview3 已發佈" +author: "naruse" +translator: "Delton Ding" +date: 2018-11-06 00:00:00 +0000 +lang: zh_tw +--- + +我們很榮幸的宣布 Ruby 2.6.0-preview3 發布了。 + +Ruby 2.6.0-preview3 是 Ruby 2.6.0 第三個預覽版。此次 preview3 的發佈意在發佈候選版前測試新特性。 + +## JIT + +Ruby 2.6 引入了 JIT(Just-in-time)編譯器初始實作。 + +JIT 編譯器專注於提升任何 Ruby 程式的執行速度。不同於其他語言的 JIT 編譯器,Ruby 的 JIT 使用一種獨特的編譯方式,將 C 程式碼寫入到硬碟中,再使用一般的 C 編譯器來生成原生程式碼(native code)。詳見 [Vladmir Makarov 的 MJIT 組織](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) + +如何使用:只需在命令列或是 $RUBYOPT 的環境變數中指定 "--jit" 即可。指定 "--jit-verbose=1" 可將印出正在編譯中的 JIT 訊息。更多選項請參考 "ruby --help"。 + +此次 JIT 預覽版發布的主要目為提供使用者檢查是否適用於您的平台,並且在 2.6 正式版本發布前找出安全性風險。現行的 JIT 編譯器僅在透過 gcc clang 或 Microsoft VC++ 建構 Ruby 以及編譯器可運行時進行支援,除此之外你無法使用它。 + +在 2.6.0-preview3 中,我們相比 Ruby 2.5 在 CPU 密集場景的性能測試 Optcarrot 中,取得了 1.7 倍的效能提升。我們正着手優化記憶體密集場景例如 Rails 應用中的執行效能。 + +請持續關注 Ruby 效能的全新時代。 + +## RubyVM::AST [ 實驗性質 ] + +Ruby 2.6 引入了 `RubyVM::AST` 模組。 + +此模組擁有 `parse` 方法,解析給予的 Ruby 程式碼字串並回傳抽象語法樹 AST(Abstract Syntax Tree)節點,以及解析給予 Ruby 程式碼檔案並回傳 AST 節點的 `parse_file` 方法。 + +同樣也引入了 `RubyVM::AST::Node` 類別,您可以從 `Node` 物件中獲取位置訊息和子結點,此功能為實驗性質,無法保證 AST 節點結構的兼容性。 + +## 新功能 + +* 新增一個別名 `then` 到 `Kernel#yield_self` 中。[[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* 現在 `else` 沒有 `rescue` 的話會導致語法錯誤。[ 實驗性質 ] + +* 常數名稱可以非 ASCII 大寫字母開頭。[[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 無盡範圍 [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 引入了無盡範圍 `(1..)`,如同無止盡般的運作,下面列出幾個典型的例子: + + ary[1..] # 與 ary[1..-1] 完全相同,少了神奇的 -1 + (1..).each {|index| ... } # 從 index 1 開始無限循環 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 Binding#source_location. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + * 此方法回傳 binding 的原始碼路徑,為一個兩個元素的陣列 `__FILE__` 和 `__LINE__`。照理來說,`eval("[__FILE__, __LINE__]", binding)` 可以獲取相同的訊息,但我們打算改變這種情況以便 `Kernel#eval` 忽略 binding 的原始碼路徑 [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)。因此,使用者應使用這個新引入的方法來取代 `Kernel#eval`。 + +* 新增 :exception 選項讓 Kernel.#system 引發錯誤而非回傳 false。[[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +## 效能提升 + +* 提升 `Proc#call`的速度,因為我們不需要再顧慮 `$SAFE` 了。[[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) 透過 `lc_fizzbuzz` 大量使用 `Proc#call` 的測試,我們測得了 1.4 倍效能提升。[[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* 提升了當 `block` 為 block 參數時 `block.call` 的效能。[[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) Ruby 2.5 提升了 block 傳遞效能。[[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了 block 傳遞的呼叫效能。藉由 micro-benchmark 我們測得了 2.6 倍的提升。 + +* 引入了瞬態堆積(theap)。[Bug #14858] [Feature #14989] teap 是用來管理短生命週期的指向特定類別(Array, Hash, Object 和 Struct)指標的堆積。舉例來說,新建小而短生命週期的 Hash 物件的效能提升了 2x。藉由 rdoc benchmark,我們測得了 6%-7% 的效能提升。 + +## 自 2.5 起重要的變化 + +* $SAFE 成為了 Process 全域狀態,我們可以再次將其設為 0。[[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* 不再建議將 safe_level 參數傳遞給 ERB.new 的行為。trim_mode 和 eoutvar 參數被轉換成關鍵字參數。[[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 合併 RubyGems 3.0.0.beta2。`--ri` 和 `--rdoc` 選項已被移除。請改用 `--document` 和 `--no-document` 選項。 + +* 合併 [Bundler](https://github.com/bundler/bundler) 作爲缺省 gems。 + +請參考 [新聞](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) +或 [提交紀錄](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +來進一步了解。 + +自 Ruby 2.5.0 以來,共計有 +[6474 個文件變更,171888 行增加(+),46617 行刪減(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +! + +與 Ruby 2.6.0-preview3 一起享受編程吧! + +## 下載 + +* + + SIZE: 17071670 bytes + SHA1: 67836fda11fa91e0b988a6cc07989fbceda025b4 + SHA256: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + SHA512: 877278cd6e9b947f5bb6ed78136efb232dcc9c5c218b7236576171e7c3cd7f6b7d10d07d8402014a14aba1fcd1913a4370f0725c561ead41d8a3fe92029f7f76 + +* + + SIZE: 21537655 bytes + SHA1: 45f3c90dfffe03b746f21f24152666e361cbb41a + SHA256: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + SHA512: 335de36cf56706326f4acc4bbd35be01e0ac5fff30d0a69b2e1630ba4c78f0e711822d1623d0099a517c824b154917d2f60be192dfb143a422cf1d17b38e1183 + +* + + SIZE: 14973451 bytes + SHA1: 5f2df5d8c5a3888ccb915d36a3532ba32cda8791 + SHA256: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + SHA512: d1693625723796e8902f3e4c4fae444f2912af9173489f7cf18c99db2a217afc971b082fce7089e39f8edd54d762d2b4e72843c8306ed29b05ccb15ac03dbb5b + +* + + SIZE: 12291692 bytes + SHA1: 7f8216247745215e9645568e7a02140f9a029b31 + SHA256: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + SHA512: b4d3b17ecf96272c43cd7518c0b54dee63fc1150ad143e1d9c9d708506fe78676c80eb96cc47b8d46d1128bd483a53f16c944963a03d1f99f00131b74714df7b From a3c7845c479508a9951f56e268d8e3eef8d4312f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 19 Nov 2018 20:10:45 -0500 Subject: [PATCH 0263/2563] Translation of 2018-10-17-ruby-2-3-8... (es) --- .../_posts/2018-10-17-ruby-2-3-8-released.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 es/news/_posts/2018-10-17-ruby-2-3-8-released.md diff --git a/es/news/_posts/2018-10-17-ruby-2-3-8-released.md b/es/news/_posts/2018-10-17-ruby-2-3-8-released.md new file mode 100644 index 0000000000..b94dc0a27b --- /dev/null +++ b/es/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Publicado Ruby 2.3.8" +author: "usa" +translator: "vtamara" +date: 2018-10-17 17:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 2.3.8 + +Esta versión incluye diversas correcciones de seguridad. +Por favor revise los temas siguientes para ver detalles. + +* [CVE-2018-16396: Banderas de contaminación no son propagadas en +Array#pack y String#unpack con algunas directivas](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Comparación de igualdad de OpenSSL::X509::Name no opera correctamente](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +Por razones de mantenimiento, esta versión también incluye una corrección +no relacionado con seguridad para soportar Visual Studio 2014 con la +actulización de Octubre de 2018 de Windows 10. + +Ruby 2.3 ahora está en fase de mantenimiento de seguridad, hasta el final +de marzo de 2019. Después de esa fecha, terminará el mantenimiento +de Ruby 2.3. Le recomendamos comenzar a planear la migración a +las versiones más recientes de Ruby, tales como 2.5 o 2.4. + +## Descargas + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2) + + TAMAÑO: 14418609 bytes + SHA1: 91b31abdba00a346c155fd32bd32d3cec3b73bc4 + SHA256: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + SHA512: 6d79e0d25757fd37188a8db3e630a52539bce7927fcb779a2ce9a97b9e5f330753035c16843552f1a1fb6c9a1e5c0f916b3cc8b5c0bfe81e20f35f8442e40ae8 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz) + + TAMAÑO: 17858806 bytes + SHA1: 69311991a9cd2c8e3c86a0dbbaaf915ae91f0bec + SHA256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + SHA512: 43b02f2f9de6baf281f09a49fd07367127b4de1fb14473380d06bfa7667990d8f722ae2d33cf7d15b02f7e799515f21aebd308897c4c2a5461ebab4049d6c7ef + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz) + + TAMAÑO: 11465792 bytes + SHA1: 9771acdad851bbf0ef349bb7da5d0ffc91a860ed + SHA256: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + SHA512: 06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip) + + TAMAÑO: 19911652 bytes + SHA1: ad9e0ec7c874701832c9e224eb5b9e2258f3a041 + SHA256: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + SHA512: 732d69cd55f1c273a02005306720fd8fc9d77398177db9509452be31820976b54b30319d9e6bc36fb6bcd7af656f807ef6c26d8955012c8b20424912a2f51bf8 + +## Comentarios de la versión + +Agradecimientos a todos los que ayudaron con esta versión. From 9441c217af23ca500d5df8152111130121facd8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 20 Nov 2018 06:27:05 -0500 Subject: [PATCH 0264/2563] Translation of 2018-10-17-ruby-2-4-5 (es) --- .../_posts/2018-10-17-ruby-2-4-5-released.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 es/news/_posts/2018-10-17-ruby-2-4-5-released.md diff --git a/es/news/_posts/2018-10-17-ruby-2-4-5-released.md b/es/news/_posts/2018-10-17-ruby-2-4-5-released.md new file mode 100644 index 0000000000..c8f11100d3 --- /dev/null +++ b/es/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Publicado Ruby 2.4.5" +author: "usa" +translator: "vtamara" +date: 2018-10-17 17:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 2.4.5 + +Esta versión incluye cerca de 40 correcciones a fallas tras la versión +anterior, y también incluye varias correcciones de seguridad. +Por favor revise los temas siguientes para ver detalles. + +* [CVE-2018-16396: Banderas de contaminación no son propagadas en Array#pack y String#unpack con algunas directivas](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Comparación de igualdad de OpenSSL::X509::Name no opera correctamente](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +Ver detalles en las [bitácoras de commits](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5). + +## Descargas + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2) + + TAMAÑO: 12667524 bytes + SHA1: 0e1f184556507c22bc59054496c0af7cf28fb188 + SHA256: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + SHA512: 7034fcaeaee41f14bc0ecce0d3d93bd1abe95310e1a0b95fac66eaba867adfb2bf7ba4d0d70d67a15ce8df16052dee405c38cdb18987602e64a2f701d37d3df0 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz) + + TAMAÑO: 14232887 bytes + SHA1: 4d650f302f1ec00256450b112bb023644b6ab6dd + SHA256: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + SHA512: 39863b404b02bb3d2430fd19fb057bdded5e816842a1a1f00092de69cc360db836225b2186e18b6ee099ec5e8c60f89178a4297b2d221234b4962c70594c2b8e + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz) + + TAMAÑO: 10064712 bytes + SHA1: b5be590b37487248da3a85541a62fb81f7f7e29a + SHA256: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + SHA512: 658f676c623109f4c7499615e191c98c3dd72cfcaeeaf121337d0b8a33c5243145edd50ec5e2775f988e3cd19788984f105fa165e3049779066566f67172c1b4 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip) + + TAMAÑO: 15694028 bytes + SHA1: 0bded7dfabfce5615162a1acd1341966a63e40f4 + SHA256: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + SHA512: 9baec2b33604d5b2180b83bef9b39349d3f73b2eb5a7d44410572d893f76e6a0e1c39c572e6084a4e2466ca148ff2f377b5458144fe9b859a80cdf7b41fd5d72 + +## Comentarios de la versión + +Agradecimiento a todos los que ayudaron con esta versión. + +El mantenimiento de Ruby 2.4, incluyendo esta versión, se basa en el +“Acuerdo para la versión estable de Ruby” de la Asociación Ruby. From c9fd17f9054449674dcee108a4b68c62b5d4b9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 20 Nov 2018 06:16:20 -0500 Subject: [PATCH 0265/2563] Translate 2018-10-17-ruby-2-5-2 (es) --- .../_posts/2018-10-17-ruby-2-5-2-released.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 es/news/_posts/2018-10-17-ruby-2-5-2-released.md diff --git a/es/news/_posts/2018-10-17-ruby-2-5-2-released.md b/es/news/_posts/2018-10-17-ruby-2-5-2-released.md new file mode 100644 index 0000000000..5b9b4fc894 --- /dev/null +++ b/es/news/_posts/2018-10-17-ruby-2-5-2-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Publicado Ruby 2.5.2" +author: "nagachika" +translator: "vtamara" +date: 2018-10-17 14:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 2.5.2 + +Esta versión incluye diversas correcciones así como correcciones de seguridad. + +* [CVE-2018-16396: Banderas de contaminación no son propagadas en +Array#pack y String#unpack con algunas directivas](/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Comparación de igualdad de OpenSSL::X509::Name no opera correctamente](/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +También se corrigieron fallas. +Ver detalles en las [bitácoras de commits](https://github.com/ruby/ruby/compare/v2_5_1...v2_5_2). + +## Descargas + +* + + TAMAÑO: 13592827 bytes + SHA1: 562d6b8be5a0804ed7617bb0465b288d44b2defc + SHA256: ea3bcecc3b30cee271b4decde5e9ff3e17369d5fd1ed828d321c198307c9f0df + SHA512: 9f9388a162a3ae9c14ec8999fa3b12ff5397de14f55996cc8761d21c757113db37ace4d326b9606de7ad3a5875aa94fec900dd9b81b2fb0dff558c39422f4aa1 + +* + + TAMAÑO: 15600481 bytes + SHA1: 7e503e75621b69cedb1d8b3fa2bee5aef2f1a714 + SHA256: b32340e64a0c7ecbf31486c41fe429a55c7984d980eca7a78138367d9209f471 + SHA512: 9aee69d2ac6aefe2d81649055ba7b99e4e58cf203ac75083ba1b35b3a4fd7f72ee257e26ca80460da5c2a7817fd507aecec9c143f170e16980625e95eeb31686 + +* + + TAMAÑO: 11071052 bytes + SHA1: ea352c9bcaa47ab094cdec0f4946c62b1a1769d7 + SHA256: 8be6b6afdf09957a6e2c2a6ada4b1982a391a828b34e49072c4beb60febb678d + SHA512: b6b805b18ba6da7b28c7e2bdf3da7eaf1dcc15ae22744228d032e8ddec2fbba4cc4fb822b9ef7f6b561052113a4f28dc50ccfa4f00e3728a35ce27137f4a70e6 + +* + + TAMAÑO: 18786735 bytes + SHA1: 98fdbae195bbbc3f131d49d9e60bf3fbb8b56111 + SHA256: f148947fee070f30826ef0bda77228b9c374b388050db81ad07f5cd8608e3624 + SHA512: 1b804337099ecfa045eecf1a4e3f35fa786bd6e835dc50267d6a3792a782b193ec9708564e3ac5169a95ef4afc2c131782af937dafd8122117e8cff577736c0f + + +## Comentarios de la versión + +Muchos contribuidores, desarrolladores y usuarios que reportaron errores +nos ayudaron a hacer esta publiación. +Gracias por sus contribuciones. From 22e442f262c90d3aa640d67f4e60f9f551f67a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 20 Nov 2018 08:57:02 -0500 Subject: [PATCH 0266/2563] Translation of 2018-11-06-ruby-2-6-0-preview3 (es) --- ...2018-11-06-ruby-2-6-0-preview3-released.md | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 es/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md diff --git a/es/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/es/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md new file mode 100644 index 0000000000..e2c72c3a81 --- /dev/null +++ b/es/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -0,0 +1,145 @@ +--- +layout: news_post +title: "Publicado Ruby 2.6.0-preview3" +author: "naruse" +translator: "vtamara" +date: 2018-11-06 00:00:00 +0000 +lang: es +--- + +Nos complace anunciar la publicación de Ruby 2.6.0-preview3. + +Ruby 2.6.0-preview3 es la tercera vista premiliminar de Ruby 2.6.0. +Esta vista preliminar 3 se publica para probar nuevas +características antes del Candidato a Publicación. + +## JIT + +Ruby 2.6 introduce una implementación inicial de un compilador JIT +(Just-in-time). + +Un compilador JIT busca mejorar el desempeño de cualquier ejecución de un +programa en Ruby. +A diferencia de los compiladores JIT ordinarios para otros lenguajes, el +compilador JIT de Ruby hace la compilación JIT de manera única, +emitiendo código C en un disco y lanzando el proceso ordinario de +compilación en C para generar código nativo. +Ver también: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Forma de uso: Sólo especifique `--jit` en la línea de ordenes o en la +varialbe de entorno `$RUBYOPT`. +Al especificar `--jit-verbose=1` se presentará información básica de la +compilación JIT. Vea más opciones con `ruby --help`. + +El propósito principal de esta versión JIT es darle oportunidad de +comprobar que funciona en su plataforma y encontrar riesgos de seguridad +antes de la versión 2.6. +El compilador JIT es soportado cuando Ruby se construye con GCC, Clang o +Microsoft VC++, que debe estar disponible en tiempo de ejecución. De +lo contrario no podrá usarlo por el momento. + +Con Ruby 2.6.0 preview3, hemos alcanzado una mejora en velocidad de 1.7 veces +sobre Ruby 2.5 con una carga de trabajo intensiva en el uso de la CPU, +denominada Optcarrot . +Vamos a a mejorar el desempeño de cargas de trabajo intensivas en el uso +de memoria tales como las aplicaciones Rails. + +Este pendiente de la nueva era del desempeño de Ruby. + +## RubyVM::AST [Experimental] + +Ruby 2.6 introduce el módulo `RubyVM::AST`. + +Este módulo tiene un método `parse` que puede reconocer código ruby en una cadena y retornar nodos del AST (Abstract Syntax Tree - Árbol de sintaxis abstract), y el método `parse_file` que reconoe código ruby en un archivo y retorna nodos del AST. +También se introduce la clase `RubyVM::AST::Node`. Puede obtener información de la localización y los nodos hijos de objetos `Node`. Esta característica es experimental. No se garantiza compatibilidad de la estructura de los nodos AST. + +## Nuevas características + +* Se agregó el alias `then` a `Kernel#yield_self`. [[Característica #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` sin `rescue` ahora causa un error de sintaxis. [EXPERIMENTAL] + +* Los nombres de constantes pueden comenzar con una letra mayúscula fuera de la tabla AASCII. [[Característica #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Rangos no acotados [[Característica #12912]](https://bugs.ruby-lang.org/issues/12912) + + Se introduce un rango no acotado `(1..)`. Funciona como si no terminara. A continuación se presenta un uso típico: + + ary[1..] # igual a ary[1..-1] sin el mágico -1 + (1..).each {|index| ... } # ciclo infinito desde el índice 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Añadido `Binding#source_location`. [[Característica #14230]](https://bugs.ruby-lang.org/issues/14230) + + Este método retorna la localización en la fuente de una unión, un arreglo de 2 elementos `__FILE__` y `__LINE__`. Tradicionalmente, la misma información podría recuperarse con `eval("[__FILE__, __LINE__]", binding)`, pero planeamos cambiar este comportamiento para que `Kernel#eval` ignore la localización de uniones en las fuentes [[Falla #4352]](https://bugs.ruby-lang.org/issues/4352). Así que los usuarios deberían emplear este método recién introducido en lugar de `Kernel#eval`. + +* Añadir la opción `:exception` para que `Kernel.#system` lance un error en lugar de retornar `false`. [[Característica #14386]](https://bugs.ruby-lang.org/issues/14386) + +## Mejoras en desempeño + +* Mejorada la velocidad de `Proc#call` porque ya no necesitamos preocuparnos por `$SAFE`. [[Característica #14318]](https://bugs.ruby-lang.org/issues/14318) + + Con la prueba de referencia `lc_fizzbuzz` que usa `Proc#call` repetidas veces podemos medir mejoras de 1.4 veces [[Falla #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Mejorada velocidad de `block.call` cuando `block` es un parámetro de + bloque pasado a una función. [[Característica #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 mejora el desempeño al pasar bloques. [[Característica #14045]](https://bugs.ruby-lang.org/issues/14045) + Además, Ruby 2.6 mejora el desempeño al llamar bloques pasados. + Con micro-pruebas de referencia podemos observar una mejora de 2.6 veces. + +* Se introduce la estructura de datos Montón transitorio (Transient Heap - theap). [Falla #14858] [Característica #14989] + theap es un montón usado para objetos en memoria de corta duración que son + apuntados por clases específicas (Array, Hash, Object, and Struct). + Por ejemplo, hacer objetos Hash pequeños y de corta duración es 2 veces + más rápido. Con la prueba de referencia rdoc, observamos una mejora en + desempeño de entre 6 y 7%. + +## Otros cambios notables desde 2.5 + +* `$SAFE` es el estado global del proceso y podemos ponerlo nuevamente en `0`. [[Característica #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Es obsoleto pasar `safe_level` a `ERB.new`. Los argumentos `trim_mode` y `eoutvar` se cambian a argumentos de palabra clave (keyword arguments). [[Característica #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Mezclado RubyGems 3.0.0.beta2. Se eliminaron las opciones `--ri` y `--rdoc`. Por favor use las opciones `--document` y `--no-document` en lugar de esas. + +* Mezclado [Bundler](https://github.com/bundler/bundler) como una gema por omisión. + +Vea detalles en [NOTICIAS](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) +o en [la bitácora de commits](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3). + +Con esos cambios, +[cambiaron 6474 archivos, 171888 inserciones(+), 46617 eliminaciones (-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +desde Ruby 2.5.0! + +Disfrute programar con Ruby 2.6.0-preview3! + +## Descargas + +* + + TAMAÑO: 17071670 bytes + SHA1: 67836fda11fa91e0b988a6cc07989fbceda025b4 + SHA256: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + SHA512: 877278cd6e9b947f5bb6ed78136efb232dcc9c5c218b7236576171e7c3cd7f6b7d10d07d8402014a14aba1fcd1913a4370f0725c561ead41d8a3fe92029f7f76 + +* + + TAMAÑO: 21537655 bytes + SHA1: 45f3c90dfffe03b746f21f24152666e361cbb41a + SHA256: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + SHA512: 335de36cf56706326f4acc4bbd35be01e0ac5fff30d0a69b2e1630ba4c78f0e711822d1623d0099a517c824b154917d2f60be192dfb143a422cf1d17b38e1183 + +* + + TAMAÑO: 14973451 bytes + SHA1: 5f2df5d8c5a3888ccb915d36a3532ba32cda8791 + SHA256: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + SHA512: d1693625723796e8902f3e4c4fae444f2912af9173489f7cf18c99db2a217afc971b082fce7089e39f8edd54d762d2b4e72843c8306ed29b05ccb15ac03dbb5b + +* + + TAMAÑO: 12291692 bytes + SHA1: 7f8216247745215e9645568e7a02140f9a029b31 + SHA256: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + SHA512: b4d3b17ecf96272c43cd7518c0b54dee63fc1150ad143e1d9c9d708506fe78676c80eb96cc47b8d46d1128bd483a53f16c944963a03d1f99f00131b74714df7b From 8f90080fcbde2b840473c56c5ed1d88c342cb695 Mon Sep 17 00:00:00 2001 From: digitalfukuoka Date: Thu, 29 Nov 2018 17:10:12 +0900 Subject: [PATCH 0267/2563] Announce Fukuoka Ruby Award 2019 (en) Closes #1897 --- .../2018-11-29-fukuoka-ruby-award-2019.md | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 en/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md diff --git a/en/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/en/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md new file mode 100644 index 0000000000..5ebf6179e6 --- /dev/null +++ b/en/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -0,0 +1,63 @@ +--- +layout: news_post +title: "2019 Fukuoka Ruby Award Competition - Entries to be judged by Matz" +author: "Fukuoka Ruby" +translator: +date: 2018-11-29 00:00:00 +0000 +lang: en +--- + +Dear Ruby Enthusiasts, + +The Government of Fukuoka, Japan together with "Matz" Matsumoto would like to invite you to enter the following Ruby competition. If you have developed an interesting Ruby program, please be encouraged to apply. + +2019 Fukuoka Ruby Award Competition - Grand Prize - 1 Million Yen! + +Entry Deadline: January 31, 2019 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz and a group of panelists will select the winners of the Fukuoka Competition. The grand prize for the Fukuoka Competition is 1 million yen. Past grand prize winners include Rhomobile (USA) and APEC Climate Center (Korea). + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +Programs entered in the competition do not have to be written entirely in Ruby but should take advantage of the unique characteristics of Ruby. + +Projects must have been developed or completed within the past 12 months to be eligible. Please visit the following Fukuoka website for additional details or to enter: + +[http://www.digitalfukuoka.jp/events/185](http://www.digitalfukuoka.jp/events/185) +or +[http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc) + +Please email the application form to award@f-ruby.com + +This year, there are the following special prizes: + +The winner of the AWS Prize will receive: + +* Amazon Echo (subject to change) +* AWS architect technical consultation + +The winner of the GMO Pepabo Prize will receive: + +* Lolipop! shared hosting service: 10-year free subscription of the Standard Plan, or JPY 100,000 coupon for the metered plan of the Managed Cloud +* Muumuu Domain DNS registration service: 10-year free subscription of one domain (for a domain that costs JPY 10,000 or less per year) + +The winner of the IIJ GIO Prize will receive: + +* IIJ GIO free coupon worth 500,000 yen (Up to 6 months) + +The winner of the Money Forward Prize will receive: + +* dinner with Money Forward's Ruby committers. +* a 10 years free ticket for the premium services of our personal financial management service "Money Forward". + +The winner of the Salesforce Prize will receive: + +* salesforce.com novelty goods + +"Matz will be testing and reviewing your source code thoroughly, so it's very meaningful to apply! The competition is free to enter." + +Thanks! From 9f0dd8f2b8500ed486961273214a5200f2e8cc0e Mon Sep 17 00:00:00 2001 From: Shannon Skipper Date: Fri, 30 Nov 2018 16:44:26 -0800 Subject: [PATCH 0268/2563] Fix code snippets in snap post (en, ja) (#1899) * Switch to markdown style code blocks * Fix a couple single-character typos --- en/news/_posts/2018-11-08-snap.md | 20 ++++++++++++++------ ja/news/_posts/2018-11-08-snap.md | 20 ++++++++++++++------ 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/en/news/_posts/2018-11-08-snap.md b/en/news/_posts/2018-11-08-snap.md index 320fc93017..9edad1a60b 100644 --- a/en/news/_posts/2018-11-08-snap.md +++ b/en/news/_posts/2018-11-08-snap.md @@ -15,24 +15,32 @@ Snap is a package system developed by Canonical. It allows you to distribute a s On Ubuntu 16.04 or later, you can use Ruby snap with the following command: -    sudo snap install ruby -classic +``` +sudo snap install ruby --classic +``` (If you use other Linux distributions, please refer to https://docs.snapcraft.io/installing-snapd/6735) Our snap uses the "channel" feature to release multiple Ruby series concurrently. For example, without specifying a channel, 2.5.3 will be installed. But if you want to use Ruby 2.4, specify the 2.4 channel like the following: -    sudo snap install ruby --classic --channel=2.4/stable +``` +sudo snap install ruby --classic --channel=2.4/stable +``` You can also use multiple channels. The following commands switch to Ruby 2.3: -    sudo snap switch ruby --channel=2.3/stable -    sudo snap refresh +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` Our snap set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environment variable. So if you want to execute commands installed by rubygems such as rails and rspec without using bundle exec, you have to add the following line to your shell rc files (like .bashrc): -    eval `ruby.env` +``` +eval `ruby.env` +``` -Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristin --extensions` command. +Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristine --extensions` command. The initial version of official Ruby snap has released during Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. Any feedbacks are welcomed at https://github.com/ruby/snap.ruby. diff --git a/ja/news/_posts/2018-11-08-snap.md b/ja/news/_posts/2018-11-08-snap.md index 1e7b392e52..c71dfb61c7 100644 --- a/ja/news/_posts/2018-11-08-snap.md +++ b/ja/news/_posts/2018-11-08-snap.md @@ -15,23 +15,31 @@ snap は canonical が開発している新しいパッケージシステムで Ubuntu 16.04 以降のディストリビューションなら以下のコマンドで snap ruby を使うことができます。 - sudo snap install ruby --classic +``` +sudo snap install ruby --classic +``` Ubuntu 以外のディストリビューションで snap を利用する場合の準備については https://docs.snapcraft.io/installing-snapd/6735 を参照してください。 Ruby の snap パッケージは channel と呼ばれる機能を用いて、現在メンテナンスしているバージョンを配信しています。例えば、2018/11 現在 channel を指定しない場合は 2.5.3 がインストールされますが、2.4 を利用したい場合は以下のように指定します。 - sudo snap install ruby --classic --channel=2.4/stable +``` +sudo snap install ruby --classic --channel=2.4/stable +``` snap の機能を使うと複数の Ruby のバージョンを利用することができます。例えば、Ruby 2.3 に切り替えるには以下のコマンドを実行します。 - sudo snap switch ruby --channel=2.3/stable - sudo snap refresh +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` また、snap の制限事項として、RubyGems は `$HOME/.gem` にインストールされるように GEM_HOME と GEM_PATH を設定しています。そのため、rails や rspec などのコマンドを `bundle exec` を用いずに実行したい場合は以下の行を `.bashrc` などに設定する必要があります。 - eval `ruby.env` +``` +eval `ruby.env` +``` -`$HOME/.gem` は複数のバージョンで共有されるため、バージョンを切り替えて利用した場合、C 拡張などは `gem pristin --extensions` コマンドを用いて再コンパイルする必要があります。 +`$HOME/.gem` は複数のバージョンで共有されるため、バージョンを切り替えて利用した場合、C 拡張などは `gem pristine --extensions` コマンドを用いて再コンパイルする必要があります。 この ruby snap は 11/6-8 にロンドンの canonical オフィスで開催された snapcraft summit で初めて公式バージョンをリリースしました。不具合やフィードバックは https://github.com/ruby/snap.ruby で受け付けています。お楽しみください。 From 8bc7b3b42adb4637f7b96cc2b1aa2418814131e4 Mon Sep 17 00:00:00 2001 From: Nathaniel Suchy Date: Fri, 30 Nov 2018 19:46:31 -0500 Subject: [PATCH 0269/2563] Improve FAQ1 post (en) (#1900) Replace "..." with "and so on" to make the text about OO features consistent with each other --- en/documentation/faq/1/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/documentation/faq/1/index.md b/en/documentation/faq/1/index.md index 98b422ddb0..0d8aff309c 100644 --- a/en/documentation/faq/1/index.md +++ b/en/documentation/faq/1/index.md @@ -55,7 +55,7 @@ Ruby features: * Simple syntax, * Basic OO features (classes, methods, objects, and so on), -* Special OO features (mixins, singleton methods, renaming, ...), +* Special OO features (mixins, singleton methods, renaming, and so on), * Operator overloading, * Exception handling, * Iterators and closures, From 920f53a6716a42b3080fb1818b568c012ba4480b Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Sat, 1 Dec 2018 01:48:30 +0100 Subject: [PATCH 0270/2563] Update Blog section (en) (#1889) Removed several defunct blogs: - Ruby Inside: last updated in 2014 (4 years ago) - O'Reilly Ruby: doesn't exist anymore - Matz' Blog: not updated since 2014 - Slashdot link, since https://slashdot.org/index2.pl?fhfilter=Ruby reveals almost no recent mentions of Ruby, Reddit and HN are far more active these days. Added: - RubyFlow: replacement for Ruby Inside as community-submitted news - Ruby Weekly: although not a blog, arguably the most popular news source and since #1465 was a tough sell for a single Newsletter, I believe it belongs on this list Changed: - the title was "Weblogs" even though the body uses "Blogs", let's be consistent as "weblog" has fallen out of fashion, or rather has never been in fashion to begin with: https://trends.google.com/trends/explore?date=all&geo=US&q=weblog,blog Also took the opportunity to replace number-based reference links to make @stomar happy. Even though he hates my verbose commit messages. <3 --- en/community/index.md | 2 +- en/community/weblogs/index.md | 42 +++++++++++++---------------------- 2 files changed, 17 insertions(+), 27 deletions(-) diff --git a/en/community/index.md b/en/community/index.md index 1d2b5d6345..ac43463a4d 100644 --- a/en/community/index.md +++ b/en/community/index.md @@ -31,7 +31,7 @@ to start: : Now is a fantastic time to follow Ruby’s development. If you are interested in helping with Ruby, start here. -[Weblogs About Ruby](weblogs/) +[Ruby Blogs](weblogs/) : Very little happens in the Ruby community that is not talked about on the blogs. We’ve got a nice list of suggestions for you here for getting plugged in. diff --git a/en/community/weblogs/index.md b/en/community/weblogs/index.md index e14d35a250..4dfcee783e 100644 --- a/en/community/weblogs/index.md +++ b/en/community/weblogs/index.md @@ -1,6 +1,6 @@ --- layout: page -title: "Weblogs" +title: "Blogs" lang: en --- @@ -22,36 +22,26 @@ describing new techniques, or speculating on Ruby’s future. A few notable blogs stand out for the frequency and immediacy of their updates. -* [**O’Reilly Ruby**][8] is a group blog with pertinent Ruby tutorials - and interviews with interesting folks from around the community. -* [**Riding Rails**][9] is the official group blog of the Ruby on Rails - team. If you are running Rails, this blog is essential for - notification of security updates and an overall view of the wide Rails - community. -* [**Ruby Inside**][10] announces interesting applications and libraries - from throughout the world, both Ruby and Rails. -* [**Matz’ Blog**][11] is a Japanese blog written by Ruby’s creator. - Even if you can’t read all of it, it’s good to know he’s right there! +* [**Ruby Weekly**][ruby-weekly] Although more of a newsletter than a + blog, Ruby Weekly is a distillation of the most interesting Ruby + articles and news each week. +* [**Riding Rails**][riding-rails] is the official group blog of the + Ruby on Rails team. If you are running Rails, this blog is essential + for notification of security updates and an overall view of the wide + Rails community. ### Spreading the Word -You might also contact the -weblogs above, if you are covering a topic they’d be interested in. -(Obviously, if it’s not Rails-related, then the *Riding Rails* crew may -not be as interested—but you never know.) - -Ruby is also a common topic on [Slashdot][14], [reddit][15], -and [Hacker News][16], in their respective programming news. If you find -some brilliant code out there, be sure to let them know! +You can contact the authors of the above blogs, if you are covering a +topic they’d be interested in. +Ruby is also a common topic on [reddit][reddit], and [Hacker News][hn], +in their respective programming news. If you find some brilliant code +out there, be sure to let them know! [rubyflow]: http://www.rubyflow.com/ [rubyland]: http://rubyland.news/ -[8]: http://oreillynet.com/ruby/ -[9]: http://weblog.rubyonrails.org/ -[10]: http://www.rubyinside.com/ -[11]: http://www.rubyist.net/~matz/ -[14]: http://developers.slashdot.org/ -[15]: http://www.reddit.com/r/ruby -[16]: http://news.ycombinator.com/ +[riding-rails]: http://weblog.rubyonrails.org/ +[reddit]: http://www.reddit.com/r/ruby +[hn]: http://news.ycombinator.com/ From 4b89845cf6267307dba874ae4ba83c9b21c8da5e Mon Sep 17 00:00:00 2001 From: Jakob Krigovsky Date: Sat, 1 Dec 2018 01:50:20 +0100 Subject: [PATCH 0271/2563] Fix typo in installation page (en) (#1878) --- en/documentation/installation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index 9f0253b89a..cb8a6c706a 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -149,7 +149,7 @@ Ruby versions 2.0 and above are included by default in macOS releases since at least El Capitan (10.11) all the way through Mojave (10.14). [Homebrew][homebrew] is a commonly used package manager on macOS. -Installing a Ruby using Homebrew is easy: +Installing Ruby using Homebrew is easy: {% highlight sh %} $ brew install ruby From 975c8f79dbb5d8b66d0b2326932899fec744dcc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Sun, 2 Dec 2018 10:46:32 +0100 Subject: [PATCH 0272/2563] Translate snap release post (de) --- de/news/_posts/2018-11-08-snap.md | 69 +++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 de/news/_posts/2018-11-08-snap.md diff --git a/de/news/_posts/2018-11-08-snap.md b/de/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..0649432a65 --- /dev/null +++ b/de/news/_posts/2018-11-08-snap.md @@ -0,0 +1,69 @@ +--- +layout: news_post +title: Offizielles Snap-Paket für Ruby verfügbar +author: Hiroshi SHIBATA +translator: "Marvin Gülker" +date: 2018-11-08 14:58:28 +0000 +lang: de +--- + +Wir haben das offizielle Snap-Paket für die Programmiersprache Ruby +freigegeben. + +[https://snapcraft.io/ruby](https://snapcraft.io/ruby) + +Snap ist ein von Canonical entwickeltes Paketierungssystem, das es +erlaubt, ein Programm einschließlich seiner Abhängigkeiten für viele +Linux-Distributionen zu verteilen. Damit wird das Problem behoben, +dass ein Nutzer die aktuelle Ruby-Version nicht aus dem +Standard-Repositorium seines Systems (wie rpm oder apt) installieren +kann. + +Mit Ubuntu 16.04 oder neuer kann man das Ruby-Snap-Paket mit dem +folgenden Kommando installieren: + +``` +sudo snap install ruby --classic +``` + +(für andere Linux-Distributionen siehe [https://docs.snapcraft.io/installing-snapd/6735](https://docs.snapcraft.io/installing-snapd/6735)) + +Unser Snap-Paket enthält mehrere Ruby-Versionen gleichzeitig, wofür +wir die „Channel“-Funktionalität von Snap verwenden. Wenn Sie keinen +„Channel“ angeben, wird standardmäßig 2.5.3 installiert. Wenn Sie +stattdessen Ruby 2.4 wollen, dann können Sie den 2.4er „Channel“ wie +folgt anfordern: + +``` +sudo snap install ruby --classic --channel=2.4/stable +``` + +Sie können auch mehrere „Channels“ nutzen. Die folgenden Kommandos +wechseln zu Ruby 2.3: + +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` + +Unser Snap-Paket setzt die Umgebungsvariablen `GEM_HOME` und +`GEM_PATH` auf `$HOME/.gem`. Wenn Sie von RubyGems installierte +Kommandozeilenprogramme wie etwa `rails` und `rspec` ausführen wollen, +müssen Sie deshalb die folgende Zeile zu Ihrer Shell-RC-Datei (etwa +`.bashrc`) hinzufügen: + +``` +eval `ruby.env` +``` + +Weil `$HOME/.gem` von mehreren Versionen genutzt wird, müssen Sie bei +einem Wechsel der Version die C-Extensions neu kompilieren, indem Sie +das Kommando `gem pristine --extensions` ausführen. + +Die erste Version des offiziellen Ruby-Snap-Pakets ist während der +Snapcraft-Konferenz, die vom 6. bis 8. November am Unternehmenssitz +von Canonical in London stattfand, veröffentlicht +worden. Rückmeldungen werden unter [https://github.com/ruby/snap.ruby](https://github.com/ruby/snap.ruby) +entgegengenommen. + +Viel Spaß! From e8ff86f9fe2e6817d8c085bab9dacbba7715e764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Sun, 2 Dec 2018 10:46:44 +0100 Subject: [PATCH 0273/2563] Translate Fukuoka Award 2019 post (de) --- .../2018-11-29-fukuoka-ruby-award-2019.md | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 de/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md diff --git a/de/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/de/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md new file mode 100644 index 0000000000..12e05a6c12 --- /dev/null +++ b/de/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -0,0 +1,80 @@ +--- +layout: news_post +title: "Fukuoka Ruby Award 2019 — Einsendungen werden von Matz bewertet" +author: "Fukuoka Ruby" +translator: "Marvin Gülker" +date: 2018-11-29 00:00:00 +0000 +lang: de +--- + +An die Ruby-Enthusiasten: + +Die Regionalregierung von Fukuoka (Japan) und „Matz“ Matsumoto laden +Sie zur Teilnahme an dem nachfolgend geschilderten Ruby-Wettbewerb +ein. Wenn Sie ein interessantes Ruby-Programm entwickelt haben, seien +Sie mutig und reichen Sie es ein. + +Fukuoka Ruby Award 2019 — Großer Preis — 1 Million Yen! + +Einsendeschluss: 31. Januar 2019 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz und eine Gruppe Juroren werden die Preisträger gemeinsam +auswählen; der Große Preis ist mit einer Million Yen (ca. 7.800 €) +dotiert. Frühere Preisträger waren unter anderem Rhomobile (USA) und +das APEC Climate Center (Korea). + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +Die zum Wettbwerb eingereichten Programme müssen nicht gänzlich in Ruby +geschrieben sein, sollten aber Gebrauch von Rubys einzigartigen +Charakteristika machen. + +Die Projekte müssen allerdings innerhalb der letzten zwölf Monate +entwickelt oder fertiggestellt worden sein, um in Frage zu +kommen. Wenn Sie weitere Informationen benötigen oder etwas einreichen +wollen, besuchen Sie die folgenden Fukuoka-Webseiten: + +[http://www.digitalfukuoka.jp/events/185](http://www.digitalfukuoka.jp/events/185) +oder +[http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc) + +Richten Sie Ihre Bewerbung an award@f-ruby.com. + +Dieses Jahr loben wir außerdem die folgenden Sonderpreise aus: + +Der Gewinner des AWS Prize erhält: + +* Amazon Echo (kann sich noch ändern) +* Technische Beratung „AWS architect“ + +Der Gewinner des GMO Pepabo Prize erhält: + +* Gratis-Zehnjahresvertrag beim Sharehoster Lolipop! für die + Standardoption oder einen Gutschein über 100.000 ¥ (ca. 780 €) + für die Managed Cloud. +* Gratis-Zehnjahresvertrag beim DNS-Registrar Muumuu für die + Registrierung einer Domain (nur für Domains die 10.000 ¥ (ca. 80 €) + oder weniger pro Jahr kosten). + +Der Gewinner des IIJ GIO Prize erhält: + +* IIJ-GIO-Gutschein im Wert von 500.000 ¥ (ca. 3.900 €; bis zu 6 Monaten) + +Der Gewinner des Money Forward Prize erhält: + +* Ein Abendessen mit den Ruby-Committern von Money Forward +* Gratis-Zehnjahresticket für die Premiumdienste des + Finanzverwaltungsdienstes „Money Forward“ + +Der Gewinner des Salesforce Prize erhält: + +* salesforce.com-Neuheiten + +„Matz wird Ihren Quellcode intensiv testen und prüfen, daher ist eine Teilnahme +sehr sinnvoll! Der Wettbewerb ist kostenlos.“ + +Danke! From d9ea771e7d2fac445e4d829c21d27bbce6e515f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sun, 2 Dec 2018 21:58:13 -0500 Subject: [PATCH 0274/2563] Translate title --- es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md b/es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md index 30d3a79aac..83b4a6e865 100644 --- a/es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md +++ b/es/news/_posts/2018-06-20-support-of-ruby-2-2-has-ended.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Support of Ruby 2.2 has ended" +title: "Ha terminado el soporte para Ruby 2.2" author: "antonpaisov" translator: "vtamara" date: 2018-06-20 00:00:00 +0000 From dfa7e9d5249f065ef4cb3b1ae96772bfd54721e2 Mon Sep 17 00:00:00 2001 From: Jakob Krigovsky Date: Wed, 3 Oct 2018 10:55:33 +0200 Subject: [PATCH 0275/2563] =?UTF-8?q?Update=20spelling=20of=20=E2=80=9Cmac?= =?UTF-8?q?OS=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Chayoung You --- bg/about/index.md | 2 +- bg/documentation/index.md | 2 +- bg/documentation/installation/index.md | 18 +++++++++--------- bg/documentation/quickstart/index.md | 2 +- bg/downloads/index.md | 2 +- de/about/index.md | 2 +- de/documentation/installation/index.md | 16 ++++++++-------- de/documentation/quickstart/index.md | 2 +- de/downloads/index.md | 2 +- en/about/index.md | 2 +- en/documentation/faq/1/index.md | 2 +- en/documentation/faq/3/index.md | 2 +- en/documentation/index.md | 2 +- en/documentation/quickstart/index.md | 2 +- en/downloads/index.md | 2 +- es/about/index.md | 2 +- es/documentation/installation/index.md | 18 +++++++++--------- es/documentation/quickstart/index.md | 2 +- es/downloads/index.md | 2 +- fr/about/index.md | 2 +- fr/documentation/installation/index.md | 18 +++++++++--------- fr/documentation/quickstart/index.md | 2 +- fr/downloads/index.md | 2 +- id/about/index.md | 2 +- id/documentation/index.md | 2 +- id/documentation/installation/index.md | 18 +++++++++--------- id/documentation/quickstart/index.md | 2 +- id/downloads/index.md | 2 +- it/about/index.md | 2 +- it/documentation/index.md | 2 +- it/documentation/installation/index.md | 20 ++++++++++---------- it/documentation/quickstart/index.md | 2 +- it/downloads/index.md | 2 +- ja/about/index.md | 2 +- ja/documentation/index.md | 2 +- ja/documentation/installation/index.md | 18 +++++++++--------- ja/documentation/quickstart/index.md | 2 +- ja/downloads/index.md | 2 +- ko/about/index.md | 4 ++-- ko/documentation/index.md | 2 +- ko/documentation/installation/index.md | 22 +++++++++++----------- ko/documentation/quickstart/index.md | 2 +- ko/downloads/index.md | 2 +- pl/about/index.md | 2 +- pl/documentation/index.md | 2 +- pl/documentation/installation/index.md | 18 +++++++++--------- pl/documentation/quickstart/index.md | 2 +- pl/downloads/index.md | 2 +- pt/about/index.md | 2 +- pt/documentation/index.md | 2 +- pt/documentation/installation/index.md | 18 +++++++++--------- pt/documentation/quickstart/index.md | 2 +- pt/downloads/index.md | 2 +- ru/about/index.md | 2 +- ru/documentation/index.md | 2 +- ru/documentation/installation/index.md | 18 +++++++++--------- ru/documentation/quickstart/index.md | 2 +- ru/downloads/index.md | 2 +- stylesheets/normalize.css | 2 +- tr/about/index.md | 2 +- tr/documentation/quickstart/index.md | 2 +- tr/downloads/index.md | 4 ++-- vi/about/index.md | 2 +- vi/documentation/index.md | 2 +- vi/documentation/installation/index.md | 18 +++++++++--------- vi/documentation/quickstart/index.md | 2 +- zh_cn/about/index.md | 2 +- zh_cn/documentation/index.md | 2 +- zh_cn/documentation/installation/index.md | 18 +++++++++--------- zh_cn/documentation/quickstart/index.md | 2 +- zh_cn/downloads/index.md | 2 +- zh_tw/about/index.md | 2 +- zh_tw/documentation/index.md | 2 +- zh_tw/documentation/installation/index.md | 18 +++++++++--------- zh_tw/documentation/quickstart/index.md | 2 +- zh_tw/downloads/index.md | 2 +- 76 files changed, 192 insertions(+), 192 deletions(-) diff --git a/bg/about/index.md b/bg/about/index.md index e36b972be4..ffbaccca26 100644 --- a/bg/about/index.md +++ b/bg/about/index.md @@ -159,7 +159,7 @@ Ruby притежава множество други черти, като ня * Позволява програмиране с нишки, независимо от операционната система. * Ruby е преносим език: създаден предимно на GNU/Linux, но работи под - много UNIX-базирани операционни системи, Mac OS X, + много UNIX-базирани операционни системи, macOS, Windows, DOS, BeOS, OS/2 и др. ### Други имплементации на Ruby diff --git a/bg/documentation/index.md b/bg/documentation/index.md index db176cd598..4ce4a73f98 100644 --- a/bg/documentation/index.md +++ b/bg/documentation/index.md @@ -122,7 +122,7 @@ ruby -v * [E-TextEditor][30] * [Ruby In Steel][31] -* За Mac OS X: +* За macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (за преглед на документация) diff --git a/bg/documentation/installation/index.md b/bg/documentation/installation/index.md index b695887ef7..e6439a8256 100644 --- a/bg/documentation/installation/index.md +++ b/bg/documentation/installation/index.md @@ -30,7 +30,7 @@ lang: bg * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [Solaris, OpenIndiana](#solaris) * [Други системи](#other-systems) * [Инсталатори](#installers) @@ -116,13 +116,13 @@ $ sudo pacman -S ruby Това ще инсталира последната стабилна версия на Ruby. -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Ruby 2.0 е включен в OS X Mavericks. OS X Mountain Lion, Lion, и Snow Leopard са с вграден Ruby 1.8.7. -Много потребители на OS X ползват [Homebrew][homebrew] за пакетен +Много потребители на macOS ползват [Homebrew][homebrew] за пакетен мениджър. С него е много е лесно да се инсталира нова версия на Ruby: {% highlight sh %} @@ -178,7 +178,7 @@ $ pkg install runtime/ruby-18 позволява компилирането и инсталирането на различни версии на Ruby в произволни директории. ruby-build може да бъде използван и самостоятелно, без rbenv. -Наличен е за OS X, Linux и други UNIX системи. +Наличен е за macOS, Linux и други UNIX системи. ### ruby-install @@ -188,7 +188,7 @@ ruby-build може да бъде използван и самостоятелн Ruby в произволни директории. Съществува и [chruby](#chruby), което осъществява смянате между различните версии. -Налично е за OS X, Linux и други UNIX системи. +Налично е за macOS, Linux и други UNIX системи. ### RubyInstaller @@ -213,7 +213,7 @@ Ruby в произволни директории. Налично за OS X и Windows. * [Bitnami Ruby Stack][rubystack], осигурява пълна среда за разработка за Rails. - Поддържа OS X, Linux, Windows и виртуални машини. + Поддържа macOS, Linux, Windows и виртуални машини. ## Мениджъри @@ -238,7 +238,7 @@ Ruby в произволни директории. [rbenv][rbenv] също позволява използването на множество версии на Ruby. Официално не поддържа инсталирането на Ruby, но затова съществува популярният плъгин [ruby-build](#ruby-build). -И двата инструмента са налични за OS X, Linux и други UNIX системи. +И двата инструмента са налични за macOS, Linux и други UNIX системи. ### RVM ("Ruby Version Manager") @@ -246,14 +246,14 @@ Ruby в произволни директории. [RVM][rvm] позволява инсталирането и използването на множество инсталации на Ruby. Също така позволява и създаването на gemsets. -Налично е за OS X, Linux и други UNIX системи. +Налично е за macOS, Linux и други UNIX системи. ### uru {: #uru} [Uru][uru] е лек, мултиплатформен инструмент, който помага при ползването на -една или повече версии на Ruby за OS X, Linux или Windows системи. +една или повече версии на Ruby за macOS, Linux или Windows системи. ## Компилиране от изходен код diff --git a/bg/documentation/quickstart/index.md b/bg/documentation/quickstart/index.md index 1b9f7a37f9..45f20d7470 100644 --- a/bg/documentation/quickstart/index.md +++ b/bg/documentation/quickstart/index.md @@ -32,7 +32,7 @@ Ruby пристига с програмка, наречена IRB ( Interactive Стартирайте IRB в зависимост от операционната система, която ползвате: -* Ако ползвате **Mac OS X**, отворете `Terminal` и напишете `irb`. +* Ако ползвате **macOS**, отворете `Terminal` и напишете `irb`. * Ако ползвате **Linux**, отворете shell и напишете `irb`. * Ако ползвате **Windows**, отвoрете `Interactive Ruby` от секцията Ruby в Start Menu. diff --git a/bg/downloads/index.md b/bg/downloads/index.md index 89376b19d2..547053196d 100644 --- a/bg/downloads/index.md +++ b/bg/downloads/index.md @@ -16,7 +16,7 @@ lang: bg * За Linux/UNIX може да бъде използван пакетният мениджър на дистрибуцията (apt-get, yum, pacman, etc.) или приложение за управление на ruby версии ([rbenv][rbenv] и [RVM][rvm]). -* За OS X може да се използва инструмент за управление на ruby версии +* За macOS може да се използва инструмент за управление на ruby версии ([rbenv][rbenv] и [RVM][rvm]). * За Windows машини може да бъде използван [RubyInstaller][rubyinstaller]. diff --git a/de/about/index.md b/de/about/index.md index 8ba16ace43..a6ff52d113 100644 --- a/de/about/index.md +++ b/de/about/index.md @@ -185,7 +185,7 @@ Ruby hat eine Fülle weiterer Features, unter ihnen folgende: MS-DOS! * Ruby ist in hohem Maße portabel: Es wird vorrangig auf GNU/Linux - entwickelt, arbeitet aber auf vielen UNIX-Varianten wie Mac OS X, + entwickelt, arbeitet aber auf vielen UNIX-Varianten wie macOS, auf Windows, DOS, BeOS, OS/2, usw. ### Alternative Ruby-Implementierungen diff --git a/de/documentation/installation/index.md b/de/documentation/installation/index.md index 10091ec854..ce3853c92a 100644 --- a/de/documentation/installation/index.md +++ b/de/documentation/installation/index.md @@ -16,7 +16,7 @@ von Ruby sowie die Kompilierung aus dem Quelltext. Die folgende Übersicht zeigt die verfügbaren Installationsmethoden für die gebräuchlichsten Plattformen. -* OS X +* macOS * [rbenv](#rbenv) * [RVM](#rvm) @@ -48,7 +48,7 @@ Nichtsdestotrotz sind ihre jeweiligen Communities sehr hilfsbereit. rbenv erlaubt die Verwaltung mehrerer Ruby-Installationen. Es unterstützt zwar selbst nicht die Installation von Ruby, es gibt dafür aber ein beliebtes Plugin namens ruby-build. -Beide Werkzeuge sind verfügbar für OS X, Linux oder +Beide Werkzeuge sind verfügbar für macOS, Linux oder andere UNIX-ähnliche Betriebssysteme. Siehe die [rbenv-Website][rbenv] für die aktuellsten Informationen @@ -62,7 +62,7 @@ Ein ähnliches Werkzeug ist RVM, siehe den nächsten Abschnitt. RVM erlaubt die Installation und Verwaltung mehrerer Ruby-Installationen auf einem System. -Es ist verfügbar für OS X, Linux oder andere UNIX-ähnliche Betriebssysteme. +Es ist verfügbar für macOS, Linux oder andere UNIX-ähnliche Betriebssysteme. Die aktuellsten Installationsanweisungen für RVM können auf der [Installationsseite von RVM][rvm] nachgelesen werden. @@ -89,7 +89,7 @@ Für die Nutzung von Ruby on Rails gibt es spezielle Installer: Unterstützt werden OS X und Windows. * [Bitnami Ruby Stack][rubystack] stellt eine vollständige Entwicklungsumgebung für Rails zur Verfügung. - Unterstützt werden OS X, Linux, Windows, virtuelle Maschinen und Cloud Images. + Unterstützt werden macOS, Linux, Windows, virtuelle Maschinen und Cloud Images. ## Paketverwaltungssysteme @@ -114,7 +114,7 @@ Die folgenden Paketverwaltungssysteme werden unten genauer beschrieben: * [yum (CentOS, Fedora, oder RHEL)](#yum) * [portage (Gentoo)](#gentoo) * [pacman (Arch Linux)](#pacman) -* [Homebrew (OS X)](#homebrew) +* [Homebrew (macOS)](#homebrew) * [Solaris, OpenIndiana](#solaris) @@ -171,7 +171,7 @@ $ sudo pacman -S ruby {% endhighlight %} -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Bei OS X Mavericks ist Ruby 2.0 vorinstalliert. @@ -182,14 +182,14 @@ Die meisten OS-X-Anwender in der Ruby-Community benutzen Drittanbieter-Werkzeuge zur Installation, es gibt aber auch einige Paketverwaltungssysteme, die Ruby unterstützen. -Viele Anwender verwenden unter OS X [Homebrew][homebrew] als Paketverwaltung. +Viele Anwender verwenden unter macOS [Homebrew][homebrew] als Paketverwaltung. Ruby wird damit folgendermaßen installiert: {% highlight sh %} $ brew install ruby {% endhighlight %} -Da OS X auf UNIX basiert, ist aber auch die Installation aus dem +Da macOS auf UNIX basiert, ist aber auch die Installation aus dem Quellcode genauso einfach und effektiv wie die anderen Möglichkeiten. Die Verwendung von Drittanbieter-Werkzeugen hilft bei der Installation neuer Ruby-Versionen. diff --git a/de/documentation/quickstart/index.md b/de/documentation/quickstart/index.md index 43e053d4c5..4a359db34b 100644 --- a/de/documentation/quickstart/index.md +++ b/de/documentation/quickstart/index.md @@ -28,7 +28,7 @@ bereits installiert hast. (Falls nicht, solltest Du vor dem Weiterlesen Zuerst starten wir die interaktive Ruby-Konsole: IRB. -* Wenn Du **Mac OS X** benutzt, öffne `Terminal`, gib `irb` ein und +* Wenn Du **macOS** benutzt, öffne `Terminal`, gib `irb` ein und drücke Enter. * Wenn Du **Linux** benutzt, öffne eine Shell, gib `irb` ein und drücke Enter. diff --git a/de/downloads/index.md b/de/downloads/index.md index a6c5efb94d..843164f701 100644 --- a/de/downloads/index.md +++ b/de/downloads/index.md @@ -16,7 +16,7 @@ Ruby zu installieren: * Auf Linux/UNIX kann man das Paketverwaltungssystem der jeweiligen Distribution oder Drittanbieter-Werkzeuge ([rbenv][rbenv] und [RVM][rvm]) verwenden. -* Auf OS X kann man Drittanbieter-Werkzeuge verwenden ([rbenv][rbenv] und [RVM][rvm]). +* Auf macOS kann man Drittanbieter-Werkzeuge verwenden ([rbenv][rbenv] und [RVM][rvm]). * Auf Windows kann man [RubyInstaller][rubyinstaller] verwenden. Siehe die [Installationsanleitung][installation] für Details zu diff --git a/en/about/index.md b/en/about/index.md index 58635d3d16..baefec9319 100644 --- a/en/about/index.md +++ b/en/about/index.md @@ -173,7 +173,7 @@ Ruby has a wealth of other features, among which are the following: supports it or not, even on MS-DOS! * Ruby is highly portable: it is developed mostly on GNU/Linux, but - works on many types of UNIX, Mac OS X, Windows, DOS, BeOS, OS/2, etc. + works on many types of UNIX, macOS, Windows, DOS, BeOS, OS/2, etc. ### Other Implementations of Ruby diff --git a/en/documentation/faq/1/index.md b/en/documentation/faq/1/index.md index 0d8aff309c..f12ebf27f5 100644 --- a/en/documentation/faq/1/index.md +++ b/en/documentation/faq/1/index.md @@ -61,7 +61,7 @@ Ruby features: * Iterators and closures, * Garbage collection, * Dynamic loading (depending on the architecture), -* High transportability (runs on various Unices, Windows, DOS, OS X, OS/2, +* High transportability (runs on various Unices, Windows, DOS, macOS, OS/2, Amiga, and so on). ### Show me some Ruby code! diff --git a/en/documentation/faq/3/index.md b/en/documentation/faq/3/index.md index 17e7195d76..d2a7f82f41 100644 --- a/en/documentation/faq/3/index.md +++ b/en/documentation/faq/3/index.md @@ -46,7 +46,7 @@ or [Downloads](/en/downloads/) page. {% include faq-out-of-date.html %} Ruby is developed under Linux, and is written in fairly straightforward C. -It runs under Linux and other UNIX-like operating systems, Mac OS X, +It runs under Linux and other UNIX-like operating systems, macOS, Windows, DOS, BeOS, Amiga, Acorn Risc OS, and OS/2. ### Where can I get Ruby sources? diff --git a/en/documentation/index.md b/en/documentation/index.md index a0a1255f7d..999a5b8ad2 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -118,7 +118,7 @@ Here is a list of popular tools used by Rubyists: * [Ruby In Steel][31] * [Atom][atom] -* On Mac OS X: +* On macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (documentation browser) diff --git a/en/documentation/quickstart/index.md b/en/documentation/quickstart/index.md index 587cdc3534..10b7622569 100644 --- a/en/documentation/quickstart/index.md +++ b/en/documentation/quickstart/index.md @@ -32,7 +32,7 @@ like this is a terrific way to learn the language. Open up IRB (which stands for Interactive Ruby). -* If you’re using **Mac OS X** open up `Terminal` and type `irb`, then +* If you’re using **macOS** open up `Terminal` and type `irb`, then hit enter. * If you’re using **Linux**, open up a shell and type `irb` and hit enter. diff --git a/en/downloads/index.md b/en/downloads/index.md index 730917c95e..ed25e4024e 100644 --- a/en/downloads/index.md +++ b/en/downloads/index.md @@ -15,7 +15,7 @@ We have several tools on each major platform to install Ruby: * On Linux/UNIX, you can use the package management system of your distribution or third-party tools ([rbenv][rbenv] and [RVM][rvm]). -* On OS X machines, you can use third-party tools ([rbenv][rbenv] and [RVM][rvm]). +* On macOS machines, you can use third-party tools ([rbenv][rbenv] and [RVM][rvm]). * On Windows machines, you can use [RubyInstaller][rubyinstaller]. See the [Installation][installation] page for details on using diff --git a/es/about/index.md b/es/about/index.md index 35af47a42e..55eea9cc64 100644 --- a/es/about/index.md +++ b/es/about/index.md @@ -186,7 +186,7 @@ encuentran las siguientes: no, ¡incluso en MS-DOS! * Ruby es fácilmente portable: se desarrolla mayoritariamente en - GNU/Linux, pero corre en varios tipos de UNIX, Mac OS X, + GNU/Linux, pero corre en varios tipos de UNIX, macOS, Windows, DOS, BeOS, OS/2, etc. ### Referencias diff --git a/es/documentation/installation/index.md b/es/documentation/installation/index.md index a0c20e464b..00e984d831 100644 --- a/es/documentation/installation/index.md +++ b/es/documentation/installation/index.md @@ -30,7 +30,7 @@ necesidades y plataformas. * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [Solaris, OpenIndiana](#solaris) * [Otras Distribuciones](#other-systems) * [Instaladores](#installers) @@ -119,13 +119,13 @@ $ sudo pacman -S ruby Esto debería instalar la última versión estable de Ruby. -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Ruby 2.0 ya viene instalado en OS X El Capitan, Yosemite, Mavericks y macOS Sierra. OS X Mountain Lion, Lion, y Snow Leopard vienen con Ruby 1.8.7 instalado. -Algunas personas en OS X usan [Homebrew][homebrew] como gestor de paquetes. +Algunas personas en macOS usan [Homebrew][homebrew] como gestor de paquetes. Es muy fácil obtener una versión nueva de Ruby usando Homebrew: {% highlight sh %} @@ -183,7 +183,7 @@ usar un instalador aparte, ya viene con uno incluido. [ruby-build][ruby-build] es un plugin para [rbenv](#rbenv) que te permite compilar e instalar diferentes versiones de Ruby en directorios arbitrarios. ruby-build también puede ser usado como un programa independiente -sin rbenv. Está disponible para OS X, Linux y otros sistemas operativos UNIX. +sin rbenv. Está disponible para macOS, Linux y otros sistemas operativos UNIX. ### ruby-install @@ -192,7 +192,7 @@ sin rbenv. Está disponible para OS X, Linux y otros sistemas operativos UNIX. [ruby-install][ruby-install] te permite compilar e instalar diferentes versiones de ruby en directorios arbitrarios. Tambien tiene un hijo, [chruby](#chruby), el cual te ayuda a cambiarte entre diferentes versiones de Ruby. -Está disponible para OS X, Linux y otros sistemas operativos UNIX. +Está disponible para macOS, Linux y otros sistemas operativos UNIX. ### RubyInstaller @@ -215,7 +215,7 @@ instaladores: utiliza RubyInstaller pero te da las herramientas extra necesarias para desarrollo con Ruby on Rails. Está disponible para OS X y Windows. * [Bitnami Ruby Stack][rubystack], - te provee de un ambiente completo de desarrollo para Rails. Soporta OS X, + te provee de un ambiente completo de desarrollo para Rails. Soporta macOS, Linux, Windows, maquinas virtuales e imágenes cloud. @@ -241,7 +241,7 @@ e incluso las que se han compilado del código fuente. [rbenv][rbenv] te permite manejar varias instalaciones de Ruby. No soporta instalar Ruby, pero tiene un plugin popular llamado [ruby-build](#ruby-build) para instalarlo. -Ambas herramientas están disponibles para OS X, Linux y otros sistemas +Ambas herramientas están disponibles para macOS, Linux y otros sistemas operativos UNIX. @@ -249,7 +249,7 @@ operativos UNIX. {: #rvm} [RVM][rvm] te permite instalar y manejar varias versiones de Ruby en tu sistema. -También puede manejar varios gemsets. Está disponible para OS X, Linux y otros +También puede manejar varios gemsets. Está disponible para macOS, Linux y otros sistemas operativos UNIX. @@ -257,7 +257,7 @@ sistemas operativos UNIX. {: #uru} [Uru][uru] es una herramienta de la línea de comandos multi-plataforma muy ligera -que te ayuda a usar varias versiones de Ruby en OS X, Linux o sistemas Windows. +que te ayuda a usar varias versiones de Ruby en macOS, Linux o sistemas Windows. ## Compilar del código fuente diff --git a/es/documentation/quickstart/index.md b/es/documentation/quickstart/index.md index 8d5d4c0436..de1f2d228f 100644 --- a/es/documentation/quickstart/index.md +++ b/es/documentation/quickstart/index.md @@ -32,7 +32,7 @@ interactiva como ésta es una manera estupenda de aprender el lenguaje. Arranca el IRB. -* Si estás usando **Mac OS X** abre una `Terminal` y escribe `irb`, +* Si estás usando **macOS** abre una `Terminal` y escribe `irb`, después presiona enter. * Si estás usando **Linux**, abre una `Terminal` y escribe `irb`, después presiona enter. diff --git a/es/downloads/index.md b/es/downloads/index.md index 8db75b88f7..bee7e9be80 100644 --- a/es/downloads/index.md +++ b/es/downloads/index.md @@ -17,7 +17,7 @@ Tenemos herramientas para instalar Ruby para las plataformas más importantes. * En Linux/Unix, puedes utilizar el sistema de gestión de paquetes de tu distribución o herramientas de terceros ([rbenv][rbenv] y [RVM][rvm]). -* En computadoras con sistema operativo OS X, puedes utilizar herramientas de terceros ([rbenv][rbenv] y [RVM][rvm]). +* En computadoras con sistema operativo macOS, puedes utilizar herramientas de terceros ([rbenv][rbenv] y [RVM][rvm]). * En computadoras con sistema operativo Windows, puedes utilizar [RubyInstaller][rubyinstaller]. Consulta la página de [Instalación][installation] para obtener detalles de como usar diff --git a/fr/about/index.md b/fr/about/index.md index fa948d90a7..89dde07045 100644 --- a/fr/about/index.md +++ b/fr/about/index.md @@ -197,7 +197,7 @@ parmi lesquelles on peut citer… * la possibilité de charger une bibliothèque d’extension à la volée, si le système d’exploitation le permet ; * une très grande portabilité : développé majoritairement sous - GNU/Linux, Ruby fonctionne aussi sur une grande part des UNIX, Mac OS X, + GNU/Linux, Ruby fonctionne aussi sur une grande part des UNIX, macOS, Windows, DOS, BeOS, OS/2, etc. ### Références diff --git a/fr/documentation/installation/index.md b/fr/documentation/installation/index.md index 8e1397558a..3588186a99 100644 --- a/fr/documentation/installation/index.md +++ b/fr/documentation/installation/index.md @@ -33,7 +33,7 @@ différents besoins et plateformes. * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [Solaris, OpenIndiana](#solaris) * [Autres Distributions](#other-systems) * [Installateurs](#installers) @@ -123,13 +123,13 @@ $ sudo pacman -S ruby La version stable la plus récente de Ruby sera installée. -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Sur OS X Yosemite et Mavericks, Ruby 2.0 est déjà présent. OS X Mountain Lion, Lion, et Snow Leopard sont fournis avec Ruby 1.8.7. -Beaucoups sur OS X utilisent [Homebrew][homebrew] comme gestionnaire de paquets. +Beaucoups sur macOS utilisent [Homebrew][homebrew] comme gestionnaire de paquets. Il est très simple d'obtenir une version plus récente de Ruby avec Homebrew : {% highlight sh %} @@ -189,7 +189,7 @@ pas besoin d'un installateur séparé, il est fourni avec son propre installateu compiler et d'installer différentes versions de Ruby dans les répertoires de votre choix. ruby-build peut aussi être utilisé comme un programme _standalone_, sans rbenv. -Il est disponible sur les systèmes d'exploitation OS X, Linux, et autres +Il est disponible sur les systèmes d'exploitation macOS, Linux, et autres systèmes basés sur UNIX. @@ -200,7 +200,7 @@ systèmes basés sur UNIX. version de Ruby dans les répertoires de votre choix. Il existe aussi une alternative, [chruby](#chruby), qui gère le basculement entre différentes versions de Ruby. -Il est disponible sur les systèmes d'exploitation OS X, Linux, et autres +Il est disponible sur les systèmes d'exploitation macOS, Linux, et autres systèmes basés sur UNIX. @@ -227,7 +227,7 @@ utiliser les installateurs suivants : Il est disponible pour OS X et Windows. * [Bitnami Ruby Stack][rubystack], qui fournit un environnement compet de développement pour Rails. - Il est disponible pour OS X, Linux, Windows, les machines virtuelles, et les + Il est disponible pour macOS, Linux, Windows, les machines virtuelles, et les images pour le cloud. @@ -260,7 +260,7 @@ les installations faites à partir des sources. [rbenv][rbenv] vous permet de gérer différentes installations de Ruby. Il ne permet pas d'installer Ruby, mais il existe un plugin très utilisé s'appelant [ruby-build](#ruby-build) qui s'occupe de l'installation de Ruby. -Tous deux sont disponibles pour les systèmes d'exploitation OS X, Linux, ou +Tous deux sont disponibles pour les systèmes d'exploitation macOS, Linux, ou autres systèmes basés sur UNIX. @@ -269,7 +269,7 @@ autres systèmes basés sur UNIX. [RVM][rvm] vous permet d'installer et de gérer plusieurs installations de Ruby sur votre système. Il peut aussi gérer différent gemsets. -Il est disponible pour les systèmes d'exploitation OS X, Linux, ou autres +Il est disponible pour les systèmes d'exploitation macOS, Linux, ou autres systèmes basés sur UNIX. @@ -277,7 +277,7 @@ systèmes basés sur UNIX. {: #uru} [Uru][uru] est un outil en ligne de commande léger et multi-plateforme qui vous -aide à utiliser différentes installation de Ruby sur les systèmes OS X, Linux, +aide à utiliser différentes installation de Ruby sur les systèmes macOS, Linux, ou Windows. diff --git a/fr/documentation/quickstart/index.md b/fr/documentation/quickstart/index.md index f2f64b912d..e618ab9d84 100644 --- a/fr/documentation/quickstart/index.md +++ b/fr/documentation/quickstart/index.md @@ -35,7 +35,7 @@ de [Shakespeare][2]. Une première approche de Ruby, la plus simple, consiste à utiliser IRB (*Interactive Ruby*) dans un terminal : -* si vous utilisez **Mac OS X**, ouvrez un `Terminal` et tapez `irb`, +* si vous utilisez **macOS**, ouvrez un `Terminal` et tapez `irb`, puis appuyez sur \[Entrée\] ; * si vous êtes sous **Linux**, ouvrez une console et tapez `irb`, puis appuyez sur \[Entrée\] ; diff --git a/fr/downloads/index.md b/fr/downloads/index.md index fade51f69b..7d6e142308 100644 --- a/fr/downloads/index.md +++ b/fr/downloads/index.md @@ -18,7 +18,7 @@ d'outils spécifiques : * Sur Linux/UNIX, vous pouvez utiliser le système de gestion des paquets de votre distribution ou des outils tiers ([rbenv][rbenv] et [RVM][rvm]). -* Sur les machines OS X, vous pouvez utiliser des outils tiers ([rbenv][rbenv] et [RVM][rvm]). +* Sur les machines macOS, vous pouvez utiliser des outils tiers ([rbenv][rbenv] et [RVM][rvm]). * Sur les machines Windows, vous pouvez utiliser [RubyInstaller][rubyinstaller]. Voir la page d'[Installation][installation] pour les détails sur l'usage des diff --git a/id/about/index.md b/id/about/index.md index 62e433fd13..29709ef4b4 100644 --- a/id/about/index.md +++ b/id/about/index.md @@ -188,7 +188,7 @@ Ruby kaya fitur, antara lain sebagai berikut: tidak, bahkan pada MS-DOS sekalipun! * Ruby sangat *portable*: Ruby kebanyakan dikembangkan di GNU/Linux, - tetapi juga berjalan di banyak tipe UNIX, Mac OS X, + tetapi juga berjalan di banyak tipe UNIX, macOS, Windows, DOS, BeOS, OS/2, dan lain-lain. ### Implementasi Lain dari Ruby diff --git a/id/documentation/index.md b/id/documentation/index.md index 283f399f48..e64c69ba50 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -135,7 +135,7 @@ Berikut adalah daftar kakas populer yang digunakan oleh para pengguna Ruby. * [Ruby In Steel][31] * [Atom][atom] -* Pada Mac OS X: +* Pada macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (documentation browser) diff --git a/id/documentation/installation/index.md b/id/documentation/installation/index.md index 918f27b186..6f52f12d9e 100644 --- a/id/documentation/installation/index.md +++ b/id/documentation/installation/index.md @@ -32,7 +32,7 @@ sesuai kebutuhan dan *platform* tertentu. * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [FreeBSD](#freebsd) * [Solaris, OpenIndiana](#solaris) * [Other Distributions](#other-systems) @@ -120,13 +120,13 @@ $ sudo pacman -S ruby Ini semestinya memasang versi Ruby terbaru. -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Pada OS X Yosemite dan Mavericks, Ruby 2.0 sudah tersedia. OS X Mountain Lion, Lion, dan Snow Leopard terisi dengan Ruby 1.8.7. -Banyak pengguna OS X menggunakan [Homebrew][homebrew] sebagai *package manager*. +Banyak pengguna macOS menggunakan [Homebrew][homebrew] sebagai *package manager*. Hal ini sangat mudah untuk mendapatkan versi terbaru menggunakan Homebrew: {% highlight sh %} @@ -202,7 +202,7 @@ Jika Anda sedang merencanakan untuk mengunakan [RVM](#rvm) sebagai *version mana memperbolehkan Anda untuk mengkompilasi dan memasang versi Ruby yang berbeda ke dalam *directory* pilihan Anda. ruby-build juga dapat digunakan sebagai *standalone program* tanpa rbenv. -ruby-build tersedia untuk OS X, Linux, dan sistem operasi UNIX-like lainnya. +ruby-build tersedia untuk macOS, Linux, dan sistem operasi UNIX-like lainnya. ### ruby-install @@ -212,7 +212,7 @@ ruby-build tersedia untuk OS X, Linux, dan sistem operasi UNIX-like lainnya. versi Ruby yang berbeda ke dalam *directory* pilihan Anda. Ini juga ada saudaranya, [chruby](#chruby), yang menangani perpindahan antar versi Ruby. -ruby-install tersedia untuk OS X, Linux, dan sistem operasi UNIX-like lainnya. +ruby-install tersedia untuk macOS, Linux, dan sistem operasi UNIX-like lainnya. ### RubyInstaller @@ -237,7 +237,7 @@ Anda dapat menggunakan *installer* berikut: RailsInstaller mendukung OS X dan Windows. * [Bitnami Ruby Stack][rubystack], yang mana menyediakan *development environment* lengkap untuk Rails. - Bitnami Ruby Stack mendukung OS X, Linux, Windows, *virtual machines*, dan *cloud images*. + Bitnami Ruby Stack mendukung macOS, Linux, Windows, *virtual machines*, dan *cloud images*. ## Managers @@ -262,7 +262,7 @@ atau bahkan dari kode sumber. [rbenv][rbenv] memperbolehkan Anda untuk mengatur banyak instalasi Ruby. rbenv tidak mendukung instalasi Ruby, tetapi ada sebuah *plugin* populer yang bernama [ruby-build](#ruby-build) untuk memasang Ruby. -Kedua kakas bantu ini tersedia untuk OS X, Linux, atau sistem operasi UNIX-like lainnya. +Kedua kakas bantu ini tersedia untuk macOS, Linux, atau sistem operasi UNIX-like lainnya. ### RVM ("Ruby Version Manager") @@ -270,14 +270,14 @@ Kedua kakas bantu ini tersedia untuk OS X, Linux, atau sistem operasi UNIX-like [RVM][rvm] memperbolehkan Anda untuk memasang dan mengatur banyak instalasi Ruby pada sistem Anda. RVM juga dapat mengatur *gemsets* yang berbeda. -RVM tersedi untuk OS X, Linux, dan sistem operasi UNIX-like lainnya. +RVM tersedi untuk macOS, Linux, dan sistem operasi UNIX-like lainnya. ### uru {: #uru} [Uru][uru] adalah sebuah *command line tool* yang ringan dan mendukung banyak *platform* yang membantu Anda -untuk menggunakan banyak versi Ruby pada sistem operasi OS X, Linux, atau Windows. +untuk menggunakan banyak versi Ruby pada sistem operasi macOS, Linux, atau Windows. ## Membangun dari Kode Sumber diff --git a/id/documentation/quickstart/index.md b/id/documentation/quickstart/index.md index ab31ad3f9a..782daf6e81 100644 --- a/id/documentation/quickstart/index.md +++ b/id/documentation/quickstart/index.md @@ -28,7 +28,7 @@ silakan instal Ruby terlebih dahulu sebelum Anda mengikuti tutorial ini) Buka IRB. -* Jika Anda menggunakan **Mac OS X** buka `Terminal` dan ketik `irb`, +* Jika Anda menggunakan **macOS** buka `Terminal` dan ketik `irb`, kemudian tekan enter. * Jika Anda menggunakan **Linux**, buka shell dan ketik `irb`, kemudian tekan enter. diff --git a/id/downloads/index.md b/id/downloads/index.md index c07a0f89fd..92c12a8d54 100644 --- a/id/downloads/index.md +++ b/id/downloads/index.md @@ -15,7 +15,7 @@ Kami memiliki beberapa kakas bantu untuk memasang Ruby pada perangkat berikut: * Di Linux/UNIX, Anda dapat menggunakan *package management system* dari distribusi Linux/UNIX Anda atau kakas pihak ketiga ([rbenv][rbenv] dan [RVM][rvm]). -* Di OS X, Anda dapat menggunakan kakas pihak ketiga ([rbenv][rbenv] dan [RVM][rvm]). +* Di macOS, Anda dapat menggunakan kakas pihak ketiga ([rbenv][rbenv] dan [RVM][rvm]). * Di Windows, Anda dapat menggunakan [RubyInstaller][rubyinstaller]. Lihat halaman [Instalasi][installation] untuk detail menggunakan diff --git a/it/about/index.md b/it/about/index.md index c4f34a6e86..528f400a57 100644 --- a/it/about/index.md +++ b/it/about/index.md @@ -185,7 +185,7 @@ Ruby è in grado di offrire una marea di altre funzionalità, tra cui: il sistema operativo lo supporti o meno, anche in DOS! * Ruby è altamente portatile: è sviluppato principalmente su GNU/Linux, - ma funziona su molte varianti di UNIX, Mac OS X, + ma funziona su molte varianti di UNIX, macOS, Windows, DOS, BeOS, OS/2, ecc. ### Riferimenti diff --git a/it/documentation/index.md b/it/documentation/index.md index 2c48535f25..c39c13aa6c 100644 --- a/it/documentation/index.md +++ b/it/documentation/index.md @@ -121,7 +121,7 @@ Questa è una lista dei tool più comunemente usati dagli sviluppatori Ruby: * [E-TextEditor][30] * [Ruby In Steel][31] -* Per Mac OS X: +* Per macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][40] (Documentation Browser) diff --git a/it/documentation/installation/index.md b/it/documentation/installation/index.md index 92043bc846..7dcef0fd0a 100644 --- a/it/documentation/installation/index.md +++ b/it/documentation/installation/index.md @@ -17,7 +17,7 @@ La seguente panoramica indica i metodi di installazione disponibili per le maggiori piattaforme. Scegli il modo più comodo per te. -* OS X +* macOS * [rbenv](#rbenv) * [RVM](#rvm) @@ -49,7 +49,7 @@ Tuttavia la loro rispettabile comunità è molto disponibile. [rbenv][rbenv] ti permette di gestire multiple installazioni di Ruby. Non supporta l'installazione di Ruby, ma esiste un plugin molto popolare chiamato ruby-build che permette di installare Ruby. -Entrambi i tool sono disponibili per OS X, Linux o altri sistemi operativi +Entrambi i tool sono disponibili per macOS, Linux o altri sistemi operativi UNIX-like. @@ -58,7 +58,7 @@ UNIX-like. [RVM][rvm] ti permette di installare e gestire multiple installazioni di Ruby sul tuo sistema. Ti permette anche di gestire gemsets differenti. -È disponibile solo per OS X, Linux, o gli altri sistemi operativi UNIX-like. +È disponibile solo per macOS, Linux, o gli altri sistemi operativi UNIX-like. ### RubyInstaller @@ -81,7 +81,7 @@ Se stai installando Ruby per usare Rails, puoi utilizzare questi installer: Supporta OS X e Windows. * [Bitnami Ruby Stack][rubystack] fornisce un ambiente di sviluppo completo per Rails. - Supporta Windows, OS X, Linux, macchine virtuali e immagini cloud. + Supporta Windows, macOS, Linux, macchine virtuali e immagini cloud. ## Sistemi di gestione dei pacchetti @@ -104,7 +104,7 @@ Di seguito sono descritti e seguenti gestori di pacchetti: * [yum (CentOS, Fedora, o RHEL)](#yum) * [portage (Gentoo)](#gentoo) * [pacman (Arch Linux)](#pacman) -* [Homebrew (OS X)](#homebrew) +* [Homebrew (macOS)](#homebrew) * [Solaris, OpenIndiana](#solaris) @@ -161,26 +161,26 @@ $ sudo pacman -S ruby {% endhighlight %} -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Su OS X Mavericks, Ruby 2.0. è incluso. OS X Mountain Lion, Lion, e Snow Leopard hanno la versione 1.8.7. Ci sono diverse opzioni per installare le nuove versioni di Ruby. -Molti utenti OS X nella comunità Ruby usano i tool di terze parti per installare +Molti utenti macOS nella comunità Ruby usano i tool di terze parti per installare Ruby, ma ci sono alcuni gestori di pacchetti che supportano Ruby. -Molti utenti su OS X usano [Homebrew][homebrew] come gestore di pacchetti. +Molti utenti su macOS usano [Homebrew][homebrew] come gestore di pacchetti. Con questo è molto facile installare Ruby: {% highlight sh %} $ brew install ruby {% endhighlight %} -In alternativa, dato che OS X è basato su Unix, si possonono scaricare ed +In alternativa, dato che macOS è basato su Unix, si possonono scaricare ed installare i sorgenti, è altrettanto facile ed efficace. -Per aiutarti nell'installazione delle nuove versioni Ruby su OS X, è +Per aiutarti nell'installazione delle nuove versioni Ruby su macOS, è probabilmente una buona ida utilizzare i tool di terze parti. ### Ruby su Solaris e OpenIndiana diff --git a/it/documentation/quickstart/index.md b/it/documentation/quickstart/index.md index afa668d5b1..c49274e9b9 100644 --- a/it/documentation/quickstart/index.md +++ b/it/documentation/quickstart/index.md @@ -28,7 +28,7 @@ installarlo prima di cominciare). Apri la shell interattiva di Ruby (IRB). -* Se stai usando **Mac OS X** apri il `Terminal`, scrivi `irb` e premi +* Se stai usando **macOS** apri il `Terminal`, scrivi `irb` e premi invio. * Se stai usando **Linux**, apri una shell, scrivi `irb` e premi invio. * Se stai usando **Windows**, seleziona `Interactive Ruby` dalla diff --git a/it/downloads/index.md b/it/downloads/index.md index 94f1179be3..1273b2d2a0 100644 --- a/it/downloads/index.md +++ b/it/downloads/index.md @@ -19,7 +19,7 @@ diversi tool: * Su Linux/UNIX puoi usare il gestore di pacchetti della tua distribuzione o i tool di terze parti ([rbenv][rbenv] e [RVM][rvm]). -* Su OS X puoi usare i tool di terze parti ([rbenv][rbenv] e [RVM][rvm]). +* Su macOS puoi usare i tool di terze parti ([rbenv][rbenv] e [RVM][rvm]). * Su Windows puoi usare [RubyInstaller][rubyinstaller]. Guarda la pagina [Installation][installation] per i dettagli su diff --git a/ja/about/index.md b/ja/about/index.md index a8599f4038..4a35624819 100644 --- a/ja/about/index.md +++ b/ja/about/index.md @@ -157,7 +157,7 @@ Rubyは次に示すような豊富な機能を持っています。 OSのサポートなしに(MS-DOSだとしても!)マルチスレッド処理を扱えます。 * Rubyにはとても高い可搬性があります。Rubyは主にGNU/Linux上で開発されていますが、 - UNIX、Max OS X、Windows、DOS、BeOS、OS/2など、多くのOSで動作します。 + UNIX、macOS、Windows、DOS、BeOS、OS/2など、多くのOSで動作します。 ### さまざまなRuby処理系 diff --git a/ja/documentation/index.md b/ja/documentation/index.md index 82dcd4b430..073f37bbba 100644 --- a/ja/documentation/index.md +++ b/ja/documentation/index.md @@ -97,7 +97,7 @@ Rubyistに人気のあるソフトウェアには次のようなものがあり * [Ruby In Steel][31] * [Atom][atom] -* OS X +* macOS * [TextMate][32] * [TextWrangler][33] * [Dash][39] (ドキュメント表示ツール) diff --git a/ja/documentation/installation/index.md b/ja/documentation/installation/index.md index 0282c3bd90..ec2ce5e0e9 100644 --- a/ja/documentation/installation/index.md +++ b/ja/documentation/installation/index.md @@ -13,7 +13,7 @@ lang: ja 利用可能なインストール方法を解説します。 お好みの使いやすい方法を選んでください。 -* OS X +* macOS * [rbenv](#rbenv) * [RVM](#rvm) @@ -49,7 +49,7 @@ rbenv では複数の Ruby を管理することができます。 rbenv は Ruby のインストール自体はサポートしていませんが、 ruby-build というポピュラーなプラグインを使うことで Ruby をインストールすることができます。 -それぞれのツールは OS X、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 +それぞれのツールは macOS、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 rbenv をインストールする方法は [rbenvのページ][rbenv] に記述されています。 @@ -61,7 +61,7 @@ rbenv と似たツールとして、次に説明する RVM があります。 {: #rvm} RVM は複数の Ruby のインストールと管理を行うことができます。 -このツールは OS X、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 +このツールは macOS、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 RVM をインストールする方法は [rvm.io][rvm] に記述されています。 @@ -103,7 +103,7 @@ Ruby コミュニティの中の一部のメンバーは Ruby をインストー * [yum (CentOS, Fedora, or RHEL)](#yum) * [portage (Gentoo)](#gentoo) * [pacman (Arch Linux)](#pacman) -* [Homebrew (OS X)](#homebrew) +* [Homebrew (macOS)](#homebrew) * [Solaris, OpenIndiana](#solaris) @@ -158,7 +158,7 @@ $ sudo pacman -S ruby {% endhighlight %} -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Ruby 2.0.0 は OS X El Capitan、Yosemite および Mavericks に含まれています。 @@ -167,19 +167,19 @@ Ruby 2.0.0 は OS X El Capitan、Yosemite および Mavericks に含まれてい すでに 2.0 も 1.8 も古いバージョンです。 そのため、Ruby の最新バージョンをインストールするためのいくつかの方法があります。 -Ruby コミュニティにいる大半の OS X ユーザは Ruby をインストールするためにサードパーティ製のツールを使用しています。 +Ruby コミュニティにいる大半の macOS ユーザは Ruby をインストールするためにサードパーティ製のツールを使用しています。 しかし、いくつかのパッケージマネージャが Ruby をサポートしています。 -多くの OS X ユーザはパッケージマネージャとして [Homebrew][homebrew] を使っています。 +多くの macOS ユーザはパッケージマネージャとして [Homebrew][homebrew] を使っています。 これを使うと本当に簡単に Ruby を手に入れることができます: {% highlight sh %} $ brew install ruby {% endhighlight %} -また、 OS X は Unix ベースなので、ソースコードをダウンロードしてインストールするのも、 +また、 macOS は Unix ベースなので、ソースコードをダウンロードしてインストールするのも、 他の方法と同じように簡単で効果的な方法です。 -OS X 上で新しい Ruby のバージョンをインストールする手助けのために、 +macOS 上で新しい Ruby のバージョンをインストールする手助けのために、 サードパーティ製ツールを使うことも良い方法だと考えられます。 diff --git a/ja/documentation/quickstart/index.md b/ja/documentation/quickstart/index.md index 4b9f1d6813..b14219b65e 100644 --- a/ja/documentation/quickstart/index.md +++ b/ja/documentation/quickstart/index.md @@ -31,7 +31,7 @@ Rubyの処理系には、入力したRubyの文を実行して結果を出力す IRBを立ち上げましょう(IRBはInteractive Rubyの略です)。 -* **Mac OS X** をお使いの場合、`Terminal`を立ち上げて`irb`と入力し、enterキーを押して下さい。 +* **macOS** をお使いの場合、`Terminal`を立ち上げて`irb`と入力し、enterキーを押して下さい。 * **Linux** をお使いの場合、shellを立ち上げて`irb`と入力し、enterキーを押して下さい。 * **Windows** をお使いの場合、スタートメニューのRubyから`Interactive Ruby`を起動してください。 diff --git a/ja/downloads/index.md b/ja/downloads/index.md index fb9427a9e0..966e1de1b7 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -14,7 +14,7 @@ lang: ja メジャーなプラットフォームでは Ruby をインストールする方法はいくつかあります。 * Linux/UNIX マシンでは、そのシステムのパッケージ管理ツールや、[rbenv][rbenv]、[RVM][rvm]などのサードパーティツールが使えます。 -* OS Xマシンでは、[rbenv][rbenv]、[RVM][rvm]などのサードパーティのパッケージ管理ツールが使えます。 +* macOSマシンでは、[rbenv][rbenv]、[RVM][rvm]などのサードパーティのパッケージ管理ツールが使えます。 * Windowsマシンでは、[RubyInstaller][rubyinstaller]といったツールが使えます。 各パッケージマネージャ及びサードパーティーツールの詳細は、[インストールガイド][installation] ページを参照して下さい。 diff --git a/ko/about/index.md b/ko/about/index.md index 3cff26d8a4..7645f25275 100644 --- a/ko/about/index.md +++ b/ko/about/index.md @@ -136,7 +136,7 @@ end * 루비는 운영체제에 의존하지 않는 스레딩 기능을 제공합니다. 그리고 이는 루비가 동작하는 모든 플랫폼에 적용되어서 스레드를 지원하지 않는 MS-DOS에서도 다중 스레드 프로그램을 작성할 수 있습니다. -* 루비는 이식성이 매우 높습니다. 대부분 GNU Linux에서 개발되었지만 대부분의 UNIX, 맥 OS X, Windows, DOS, BeOS, OS/2 등에서 동작합니다. +* 루비는 이식성이 매우 높습니다. 대부분 GNU Linux에서 개발되었지만 대부분의 UNIX, macOS, Windows, DOS, BeOS, OS/2 등에서 동작합니다. ### 루비의 다른 구현체들 @@ -152,7 +152,7 @@ MRI가 지원하지 않는 특별한 기능을 가지거나 합니다. 그리고 다양한 라이브러리 집합을 활용합니다. * [Rubinius][rubinius]는 ‘루비로 쓰여진 루비’입니다. LLVM 위에 구축되어, Rubinius는 다른 언어 역시 구축된 멋진 가상 기기 위에서 활동합니다. -* [MacRuby][macruby]는 Mac OS X를 위한 애플의 Cocoa 라이브러리에 강력하게 통합된 루비로, 손쉽게 데스크톱 응용프로그램을 작성할 수 있도록 해줍니다. +* [MacRuby][macruby]는 macOS를 위한 애플의 Cocoa 라이브러리에 강력하게 통합된 루비로, 손쉽게 데스크톱 응용프로그램을 작성할 수 있도록 해줍니다. * [mruby][mruby]는 루비의 경량 구현체로 애플리케이션 안에 링크되거나 포함시킬 수 있습니다. 루비의 창시자인 유키히로 “Matz” 마츠모토가 개발을 이끌고 있습니다. * [IronRuby][ironruby]는 “.NET Framework과 강력하게 통합된” 구현체입니다. diff --git a/ko/documentation/index.md b/ko/documentation/index.md index fc3296983f..a3f6866493 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -131,7 +131,7 @@ ruby -v * [E-TextEditor][30] * [Ruby In Steel][31] -* Mac OS X +* macOS * [TextMate][32] * [TextWrangler][33] * [Dash][39] (문서 브라우저) diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index 97fb77d2f0..6390ee76bd 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -31,7 +31,7 @@ lang: ko * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [Solaris, OpenIndiana](#solaris) * [다른 배포판](#other-systems) * [인스톨러](#installers) @@ -115,14 +115,14 @@ $ sudo pacman -S ruby {% endhighlight %} -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} -OS X 엘 캐피탄, 요세미티, 매버릭스에는 루비 2.0이 포함되어 있습니다. -OS X 마운틴 라이언, 라이언, 스노 레퍼드는 루비 1.8.7을 +macOS 엘 캐피탄, 요세미티, 매버릭스에는 루비 2.0이 포함되어 있습니다. +macOS 마운틴 라이언, 라이언, 스노 레퍼드는 루비 1.8.7을 탑재하여 출시되었습니다. -많은 OS X 사용자들은 패키지 관리자로 [Homebrew][homebrew]를 사용합니다. +많은 macOS 사용자들은 패키지 관리자로 [Homebrew][homebrew]를 사용합니다. Homebrew를 사용해 새로운 버전의 루비를 얻는 방법은 정말로 쉽습니다. {% highlight sh %} @@ -175,7 +175,7 @@ $ pkg install runtime/ruby-18 [ruby-build][ruby-build]는 다른 버전의 루비를 임의의 디렉터리에 컴파일하고 설치할 수 있게 하는 [rbenv](#rbenv)의 플러그인입니다. ruby-build는 rbenv 없이 독자적으로 사용 할 수도 있습니다. -맥 OS X, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. +macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. ### ruby-install @@ -184,7 +184,7 @@ ruby-build는 rbenv 없이 독자적으로 사용 할 수도 있습니다. [ruby-install][ruby-install]은 다른 버전의 루비를 임의의 디렉터리에 컴파일하고 설치할 수 있게 합니다. 루비 버전을 전환하는 [chruby](#chruby)와 형제 관계입니다. -맥 OS X, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. +macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. ### RubyInstaller @@ -206,7 +206,7 @@ Windows를 사용하고 있다면, 루비 설치를 도와줄 훌륭한 프로 도와줄 추가 도구들을 제공합니다. OS X, Windows를 지원합니다. * [Bitnami Ruby Stack][rubystack]는 루비 온 레일즈를 위한 완전한 개발환경을 제공합니다. - OS X, Linux, Windows, 가상 기기, 클라우드 이미지를 지원합니다. + macOS, Linux, Windows, 가상 기기, 클라우드 이미지를 지원합니다. ## 관리자 @@ -230,7 +230,7 @@ chruby는 [ruby-install](#ruby-install)로 설치된 루비뿐만 [rbenv][rbenv]는 여러 종류의 루비를 설치할 수 있게 합니다. rbenv 자체는 루비 설치를 지원하지 않습니다만, [ruby-build](#ruby-build)라는 유명한 플러그인에서 루비를 설치할 수 있습니다. -rbenv, ruby-build 모두 맥 OS X, Linux나 다른 UNIX-계열 운영체제에서 사용가능합니다. +rbenv, ruby-build 모두 macOS, Linux나 다른 UNIX-계열 운영체제에서 사용가능합니다. ### RVM ("Ruby Version Manager") @@ -238,13 +238,13 @@ rbenv, ruby-build 모두 맥 OS X, Linux나 다른 UNIX-계열 운영체제에 [RVM][rvm]은 시스템에 여러 종류의 루비를 설치하고 관리할 수 있게 해줍니다. RVM은 다른 gemsets도 관리해 줍니다. -맥 OS X, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. +macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. ### uru {: #uru} -[Uru][uru]는 OS X, Linux, Windows에서 여러 루비를 사용하게 하는 가벼운 +[Uru][uru]는 macOS, Linux, Windows에서 여러 루비를 사용하게 하는 가벼운 멀티 플랫폼 커맨드 라인 툴입니다. diff --git a/ko/documentation/quickstart/index.md b/ko/documentation/quickstart/index.md index d1f66451c0..a691119788 100644 --- a/ko/documentation/quickstart/index.md +++ b/ko/documentation/quickstart/index.md @@ -32,7 +32,7 @@ header: | irb(Interactive Ruby의 약자)를 시작하십시오. -* **맥 OS X**를 사용한다면, 터미널 애플리케이션을 시작하여 `irb`라고 +* **macOS**를 사용한다면, 터미널 애플리케이션을 시작하여 `irb`라고 입력하고 엔터를 누릅니다. * **Linux**를 사용한다면, 셸을 시작하여 `irb`라고 입력하고 엔터를 누릅니다. * **Windows**를 사용한다면, 시작 메뉴의 루비 섹션에서 `Interactive Ruby`를 diff --git a/ko/downloads/index.md b/ko/downloads/index.md index 40af8f1f4f..608c5d5ec7 100644 --- a/ko/downloads/index.md +++ b/ko/downloads/index.md @@ -15,7 +15,7 @@ lang: ko * Linux/UNIX에서는 시스템에 포함된 패키지 관리 시스템이나 서드파티 도구([rbenv][rbenv]나 [RVM][rvm])를 사용할 수 있습니다. -* OS X에서는 서드파티 도구([rbenv][rbenv]나 [RVM][rvm])를 사용할 수 있습니다. +* macOS에서는 서드파티 도구([rbenv][rbenv]나 [RVM][rvm])를 사용할 수 있습니다. * Windows에서는 [RubyInstaller][rubyinstaller]를 사용할 수 있습니다. 패키지 관리 시스템이나 서드파티 도구에 대한 좀 더 자세한 diff --git a/pl/about/index.md b/pl/about/index.md index 25aab72d2b..3c352997ac 100644 --- a/pl/about/index.md +++ b/pl/about/index.md @@ -182,7 +182,7 @@ Ruby posiada bogactwo innych właściwości, niektóre z nich to: czy sama platforma wspiera wątki, można ich używać nawet w MS-DOS! * Ruby jest bardzo przenośny: rozwijany głównie na platformie GNU/Linux, - ale może być używany na wielu typach UNIXów, Mac OS X, + ale może być używany na wielu typach UNIXów, macOS, Windows, DOS, BeOS, OS/2, itd. ### Inne implementacje Rubiego diff --git a/pl/documentation/index.md b/pl/documentation/index.md index 37efa765b2..3a07ee8e2b 100644 --- a/pl/documentation/index.md +++ b/pl/documentation/index.md @@ -123,7 +123,7 @@ Oto lista popularnych narzędzi używanych przez rubistów: * [E-TextEditor][30] * [Ruby In Steel][31] -* Dla Mac OS X: +* Dla macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (przeglądarka dokumentacji) diff --git a/pl/documentation/installation/index.md b/pl/documentation/installation/index.md index fb9af987f1..e052b8fb24 100644 --- a/pl/documentation/installation/index.md +++ b/pl/documentation/installation/index.md @@ -15,7 +15,7 @@ trzecich do zarządzania i instalacji Rubiego. Poniższa lista przedstawia dostępne metody instalacji. Wybierz najbardziej odpowiednią. -* OS X +* macOS * [rbenv](#rbenv) * [RVM](#rvm) @@ -49,7 +49,7 @@ Narzędzie rbenv umożliwia zarządzanie wieloma instalacjami Rubiego. Nie umożliwia instalowania Rubiego, ale jest popularna wtyczka ruby-build do instalowania Rubiego. -Oba narzędzia są dostępne dla systemu OS X, Linux, lub innych bazujących na UNIX-ie. +Oba narzędzia są dostępne dla systemu macOS, Linux, lub innych bazujących na UNIX-ie. Po najaktualniejszą instrukcję instalacji rbenv zajrzyj na [stronę rbenv][rbenv]. @@ -61,7 +61,7 @@ Sprawdź je też i wybierz odpowiednie dla ciebie. {: #rvm} Narzędzie RVM umożliwia instalację i zarządzanie wieloma instalacjami Rubiego w -systemie. Jest dostępny wyłącznie na system OS X, Linux, lub dowolny system +systemie. Jest dostępny wyłącznie na system macOS, Linux, lub dowolny system bazujący na systemie UNIX. Po najaktualniejszą instrukcję instalacji RVM zajrzyj na [rvm.io][rvm]. @@ -99,7 +99,7 @@ Na tej stronie następujące menedżery pakietów są opisane: * [yum (CentOS, Fedora lub RHEL)](#yum) * [portage (Gentoo)](#gentoo) * [pacman (Arch Linux)](#pacman) -* [Homebrew (OS X)](#homebrew) +* [Homebrew (macOS)](#homebrew) * [Solaris, OpenIndiana](#solaris) @@ -155,7 +155,7 @@ $ sudo pacman -S ruby {% endhighlight %} -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Ruby 2.0.0 jest zawarty w OS X Mavericks. @@ -164,20 +164,20 @@ A OS X Mountain Lion, Lion i Snow Leopard jest dostarczany z 1.8.7. 2.0 oraz 1.8 są starszymi wersjami, więc jest sporo możliwości by zainstalować najnowszą wersję Rubiego. -Większość użytkowników systemu OS X ze społeczności Rubiego używa narzędzi osób +Większość użytkowników systemu macOS ze społeczności Rubiego używa narzędzi osób trzecich by zainstalować Rubiego. Ale są też menedżery pakietów wspierające Rubiego. -Wiele osób w OS X używa [Homebrew][homebrew] jako menedżera pakietów. +Wiele osób w macOS używa [Homebrew][homebrew] jako menedżera pakietów. Bardzo łatwo jest zainstalować Rubiego: {% highlight sh %} $ brew install ruby {% endhighlight %} -A ponadto z racji, że OS X bazuje na Unixie, pobieranie i instalowanie ze +A ponadto z racji, że macOS bazuje na Unixie, pobieranie i instalowanie ze źródeł jest proste i efektywne jak inne rozwiązania. By ułatwić ci instalację -nowej wersji Rubiego w OS X dobrym pomysłem jest użycie narzędzi osób trzecich. +nowej wersji Rubiego w macOS dobrym pomysłem jest użycie narzędzi osób trzecich. ### Ruby On Solaris and OpenIndiana diff --git a/pl/documentation/quickstart/index.md b/pl/documentation/quickstart/index.md index b7237b177e..7a7cf74b05 100644 --- a/pl/documentation/quickstart/index.md +++ b/pl/documentation/quickstart/index.md @@ -28,7 +28,7 @@ Rubiego. (Jeśli na swoim komputerze nie masz zainstalowanego Rubiego, Otwórz IRB’a. -* Jeśli używasz **Mac OS X** otwórz `Terminal` i wpisz `irb`, naciśnij +* Jeśli używasz **macOS** otwórz `Terminal` i wpisz `irb`, naciśnij enter. * Jeśli używasz **Linux’a**, otwórz konsolę, wpisz `irb` i naciśnij enter. diff --git a/pl/downloads/index.md b/pl/downloads/index.md index cec4b1eb89..05b85bc91d 100644 --- a/pl/downloads/index.md +++ b/pl/downloads/index.md @@ -18,7 +18,7 @@ Rubiego: * dla maszyn z systemem Linux/UNIX możesz użyć systemowego menedżera pakietów lub narzędzi osób trzecich ([rbenv][rbenv] lub [RVM][RVM]), -* dla maszyn z systemem OS X możesz użyć narzędzi osób trzecich ([rbenv][rbenv] lub [RVM][rvm]), +* dla maszyn z systemem macOS możesz użyć narzędzi osób trzecich ([rbenv][rbenv] lub [RVM][rvm]), * dla maszyn z systemem Windows możesz użyć narzędzia [RubyInstaller][rubyinstaller]. Zobacz stronę [Instalacja][installation] po więcej szczegółów dotyczących diff --git a/pt/about/index.md b/pt/about/index.md index b327714640..600d4a477c 100644 --- a/pt/about/index.md +++ b/pt/about/index.md @@ -187,7 +187,7 @@ seguintes: não, temos _multithreading_ até em MS-DOS! * O Ruby é altamente portável: é desenvolvido principalmente em ambiente - GNU/Linux, mas trabalha em muitos tipos de ambientes UNIX, Mac OS X, + GNU/Linux, mas trabalha em muitos tipos de ambientes UNIX, macOS, Windows, DOS, BeOS, OS/2, etc. ### Outras Implementações do Ruby diff --git a/pt/documentation/index.md b/pt/documentation/index.md index 36fa872bad..2495a64ec9 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -131,7 +131,7 @@ programadores Ruby: * [Ruby In Steel][31] * [Atom][atom] -* No Mac OS X: +* No macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (navegador de documentação) diff --git a/pt/documentation/installation/index.md b/pt/documentation/installation/index.md index 5896dfefd3..d5b6c5af91 100644 --- a/pt/documentation/installation/index.md +++ b/pt/documentation/installation/index.md @@ -34,7 +34,7 @@ para diferentes necessidades e plataformas: * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [Solaris, OpenIndiana](#solaris) * [Outras Distribuições](#other-systems) * [Instaladores](#installers) @@ -120,13 +120,13 @@ $ sudo pacman -S ruby {% endhighlight %} -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} No OS X Yosemite e Mavericks, o Ruby 2.0 já está incluso. O OS X Mountain Lion, Lion e Snow Leopard vêm com o Ruby 1.8.7. -Muitas pessoas no OS X usam o [Homebrew][homebrew] como gerenciador de pacotes. +Muitas pessoas no macOS usam o [Homebrew][homebrew] como gerenciador de pacotes. É muito fácil de obter uma versão mais nova do Ruby usando o Homebrew: {% highlight sh %} @@ -181,7 +181,7 @@ versão, você não precisa de um instalador separado, ele vem com o seu própri O [ruby-build][ruby-build] é um plugin para o [rbenv](#rbenv) que permite que você compile e instale diferentes versões do Ruby em diretórios arbitrários. O ruby-build também pode ser usado como um programa por si só, sem o rbenv. Ele -está disponível para OS X, Linux e outros sistemas operacionais baseados em UNIX. +está disponível para macOS, Linux e outros sistemas operacionais baseados em UNIX. ### ruby-install @@ -189,7 +189,7 @@ está disponível para OS X, Linux e outros sistemas operacionais baseados em UN O [ruby-install][ruby-install] permite que você compile e instale diferentes versões do Ruby em diretórios arbitrários. Também tem um colega, que gerencia -a alternância entre versões do Ruby. Ele está disponível para OS X, Linux e +a alternância entre versões do Ruby. Ele está disponível para macOS, Linux e outros sistemas operacionais baseados em UNIX. @@ -215,7 +215,7 @@ você pode usar os seguintes instaladores: que ajudam no desenvolvimento com Rails. Suporta o OS X e o Windows. * [Bitnami Ruby Stack][rubystack], que fornece um ambiente de desenvolvimento completo para Rails. - Suporta OS X, Linux, Windows, máquinas virtuais e imagens na nuvem. + Suporta macOS, Linux, Windows, máquinas virtuais e imagens na nuvem. ## Gerenciadores @@ -240,7 +240,7 @@ até mesmo compilados a partir do código fonte. O [rbenv][rbenv] permite que você gerencie múltiplas instalações do Ruby. Ele não suporta a instalação do Ruby, mas existe um plugin popular chamado [ruby-build](#ruby-build) para isso. Ambas estas -ferramentas estão disponíveis para OS X, Linux ou outros +ferramentas estão disponíveis para macOS, Linux ou outros sistemas operacionais do tipo UNIX. @@ -250,14 +250,14 @@ sistemas operacionais do tipo UNIX. O [RVM][rvm] permite que você instale e gerencie múltiplas instalações do Ruby em seu sistema. Ele também permite gerenciar diferentes gemsets. Também está disponível para -OS X, Linux ou outros sistemas operacionais do tipo UNIX. +macOS, Linux ou outros sistemas operacionais do tipo UNIX. ### uru {: #uru} O [Uru][uru] é uma ferramenta de linha de comando leve e multi-plataforma, que -te ajuda a usar múltiplas versões do Ruby em sistemas OS X, Linux e Windows. +te ajuda a usar múltiplas versões do Ruby em sistemas macOS, Linux e Windows. ## Compilando a Partir do Código Fonte diff --git a/pt/documentation/quickstart/index.md b/pt/documentation/quickstart/index.md index 8eac1424d8..c6a8f66f25 100644 --- a/pt/documentation/quickstart/index.md +++ b/pt/documentation/quickstart/index.md @@ -32,7 +32,7 @@ como essa é um jeito formidável de aprender a linguagem. Abra o IRB (que significa _Interactive Ruby_). -* Se estiver usando **Mac OS X** abra o `Terminal`, escreva `irb`, e depois +* Se estiver usando **macOS** abra o `Terminal`, escreva `irb`, e depois pressione a tecla enter. * Se estiver usando **Linux**, abra um shell e escreva `irb`, seguido de enter. diff --git a/pt/downloads/index.md b/pt/downloads/index.md index 0cef287b6e..2c7c392c70 100644 --- a/pt/downloads/index.md +++ b/pt/downloads/index.md @@ -15,7 +15,7 @@ Existem diversas ferramentas para instalar o Ruby em cada grande plataforma: * No Linux/UNIX, você pode usar o sistema de gerenciamento de pacotes da sua distribuição ou ferramentas de terceiros ([rbenv][rbenv] e [RVM][rvm]). -* Em máquinas com OS X, você pode usar ferramentas de terceirol ([rbenv][rbenv] e [RVM][rvm]). +* Em máquinas com macOS, você pode usar ferramentas de terceirol ([rbenv][rbenv] e [RVM][rvm]). * Em máquinas com Windows, você pode usar o [RubyInstaller][rubyinstaller] ou o pik. Consulte a página [Instalação][installation] para mais detalhes sobre diff --git a/ru/about/index.md b/ru/about/index.md index 58fea81d7f..7f05b1ea9e 100644 --- a/ru/about/index.md +++ b/ru/about/index.md @@ -184,7 +184,7 @@ Ruby полон другими особенностями и конструкц возможности многопоточности даже в MS-DOS! * Ruby отличается высокой переносимостью: он был разработан большей - частью на GNU/Linux, но работает на многих типах UNIX, Mac OS X, + частью на GNU/Linux, но работает на многих типах UNIX, macOS, Windows, DOS, BeOS, OS/2, и так далее. ### Другие имплементации Ruby diff --git a/ru/documentation/index.md b/ru/documentation/index.md index 4217bba73f..7aff940636 100644 --- a/ru/documentation/index.md +++ b/ru/documentation/index.md @@ -128,7 +128,7 @@ ruby -v * [E-TextEditor][30] * [Ruby In Steel][31] -* На Mac OS X: +* На macOS: * [TextMate][32] * [TextWrangler][33] diff --git a/ru/documentation/installation/index.md b/ru/documentation/installation/index.md index 94a4b22b76..2de0b726a9 100644 --- a/ru/documentation/installation/index.md +++ b/ru/documentation/installation/index.md @@ -32,7 +32,7 @@ lang: ru * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [Solaris, OpenIndiana](#solaris) * [Другие дистрибутивы](#other-systems) * [Установщики](#installers) @@ -121,13 +121,13 @@ $ sudo pacman -S ruby Это должно установить последнюю стабильную версию Ruby. -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} На OS X El Capitan, Yosemite и Mavericks, Ruby 2.0 уже включены. OS X Mountain Lion, Lion и Snow Leopard поставляются с версией Ruby 1.8.7. -Многие люди на OS X используют [Homebrew][homebrew] как пакетный менеджер. +Многие люди на macOS используют [Homebrew][homebrew] как пакетный менеджер. И это действительно просто – установить Ruby: {% highlight sh %} @@ -182,7 +182,7 @@ $ pkg install runtime/ruby-18 [ruby-build][ruby-build] - это плагин для [rbenv](#rbenv), который позволяет вам скомпилировать и установить разные версии Ruby в произвольные каталоги. ruby-build может использоваться как отдельная программа без rbenv. -Он доступен для OS X, Linux и других UNIX-подобных операционных систем. +Он доступен для macOS, Linux и других UNIX-подобных операционных систем. ### ruby-install @@ -191,7 +191,7 @@ ruby-build может использоваться как отдельная п [ruby-install][ruby-install] позволяет вам скомпилировать и установить различные версии Ruby в произвольные каталоги. Существует также родственник [chruby](#chruby), который управляет переключением между версиями Ruby. -Он доступен для OS X, Linux и других UNIX-подобных операционных систем. +Он доступен для macOS, Linux и других UNIX-подобных операционных систем. ### RubyInstaller @@ -216,7 +216,7 @@ ruby-build может использоваться как отдельная п Поддерживает OS X и Windows. * [Bitnami Ruby Stack][rubystack], которые предоставляет полное окружение для разработки на Rails. - Поддерживает OS X, Linux, Windows, виртуальные машины и облачные сервисы. + Поддерживает macOS, Linux, Windows, виртуальные машины и облачные сервисы. ## Менеджеры @@ -240,7 +240,7 @@ chruby может управлять версиями Ruby, которые ус [rbenv][rbenv] позволяет вам управлять несколькими установленными версиями Ruby. Он не поддерживает установку Ruby, но для этого существует популярный плагин -[ruby-build](#ruby-build). Оба инструмента доступны для OS X, Linux и других +[ruby-build](#ruby-build). Оба инструмента доступны для macOS, Linux и других UNIX-подобных операционных систем. @@ -249,14 +249,14 @@ UNIX-подобных операционных систем. [RVM][rvm] позволяет вам устанавливать и управлять несколькими установленными версиями Ruby в вашей системе. Также он может управлять разными наборами гемов. -Доступен для OS X, Linux и других UNIX-подобных операционных систем. +Доступен для macOS, Linux и других UNIX-подобных операционных систем. ### uru {: #uru} [Uru][uru] - это легковесная, кросс-платформенная командная утилита, которая -помогает вам использовать несколько версий Ruby на OS X, Linux или Windows. +помогает вам использовать несколько версий Ruby на macOS, Linux или Windows. ## Сборка из исходников diff --git a/ru/documentation/quickstart/index.md b/ru/documentation/quickstart/index.md index b66c70ae3c..f92eda9861 100644 --- a/ru/documentation/quickstart/index.md +++ b/ru/documentation/quickstart/index.md @@ -32,7 +32,7 @@ Ruby устанавливается вместе с программой, кот Откройте IRB (сокращение для Interactive Ruby). -* Если вы используете **Mac OS X**, откройте `Terminal`, наберите +* Если вы используете **macOS**, откройте `Terminal`, наберите `irb` и нажмите Enter. * Если вы используете **Linux**, откройте `shell`, наберите `irb` и нажмите Enter. diff --git a/ru/downloads/index.md b/ru/downloads/index.md index 90e0145d69..2c387b058e 100644 --- a/ru/downloads/index.md +++ b/ru/downloads/index.md @@ -15,7 +15,7 @@ lang: ru * На Linux/UNIX, вы можете использовать систему управления пакетами вашей операционной системы или сторонние инструменты ([rbenv][rbenv] и [RVM][rvm]). -* На OS X вы можете использовать сторонние инструменты ([rbenv][rbenv] и [RVM][rvm]). +* На macOS вы можете использовать сторонние инструменты ([rbenv][rbenv] и [RVM][rvm]). * На Windows вы можете использовать [RubyInstaller][rubyinstaller]. Смотрите на странице [Установка][installation] подробности об использовании diff --git a/stylesheets/normalize.css b/stylesheets/normalize.css index c2de8df942..8ed5e13efa 100644 --- a/stylesheets/normalize.css +++ b/stylesheets/normalize.css @@ -364,7 +364,7 @@ input[type="search"] { /** * Remove inner padding and search cancel button in Safari 5 and Chrome - * on OS X. + * on macOS. */ input[type="search"]::-webkit-search-cancel-button, diff --git a/tr/about/index.md b/tr/about/index.md index 5086e4929c..1ab9f43ec4 100644 --- a/tr/about/index.md +++ b/tr/about/index.md @@ -178,7 +178,7 @@ bahsedilmiştir: bile çoklu iş parçacıkları kullanabilirsiniz! * Ruby yüksek taşınabilirliğe sahiptir. GNU/Linux üzerinde geliştirilmiş - olsa dahi, UNIX’in bir çok çeşidi, Mac OS X, + olsa dahi, UNIX’in bir çok çeşidi, macOS, Windows, DOS, BeOS, OS/2, vb. üzerinde çalışmaktadır. ### Referanslar diff --git a/tr/documentation/quickstart/index.md b/tr/documentation/quickstart/index.md index 026aa625f2..2d044918a8 100644 --- a/tr/documentation/quickstart/index.md +++ b/tr/documentation/quickstart/index.md @@ -32,7 +32,7 @@ dili öğrenmek için dehşet verici bir yoldur. IRB’i açın (Interactive Ruby anlamına gelir). -* Eğer **Mac OS X** kullanıyorsanız `Terminal` açın ve yazın : `irb`, +* Eğer **macOS** kullanıyorsanız `Terminal` açın ve yazın : `irb`, sonra enter basın. * Eğer **Linux** kullanıyorsanız konsol açın ve yazın : `irb`, sonra enter basın. diff --git a/tr/downloads/index.md b/tr/downloads/index.md index 2d1628282b..1a56554acf 100644 --- a/tr/downloads/index.md +++ b/tr/downloads/index.md @@ -86,7 +86,7 @@ irb ve rdoc için “universe repository” aktif edilmelidir. Lütfen ayrıca `rvm` ‘i de inceleyin , [Ruby Version Manager][14] , ile aynı anda birkaç versiyon Ruby ve gemleri kullanabilirsiniz. -### OS X’de Ruby +### macOS’de Ruby Ruby 1.8.6 Mac OS X Leopard’da Ruby on Rails, Capistrno, Mongrel ve birçok popüler gem’i de kapsayacak şekilde tam desteklenir. Ayrıntı için @@ -107,7 +107,7 @@ $ port install ruby Fink (Fink Commander kullanarak) Ruby kurulumu için bir grafik arabirime sahiptir. -Ayrıca OS X, Unix temelli olduğu için, kaynak kodu indirip derlemek te +Ayrıca macOS, Unix temelli olduğu için, kaynak kodu indirip derlemek te diğer çözümler kadar etkili olacaktır. Ruby (ve Rails) in kurulumuna detaylı bakış için Dan Benjamin’in [Tiger diff --git a/vi/about/index.md b/vi/about/index.md index 1835d29a99..ca3e953d03 100644 --- a/vi/about/index.md +++ b/vi/about/index.md @@ -167,7 +167,7 @@ mà Ruby chạy trên sẽ có multithreading bất kể hệ đấy có hỗ tr cả MSDOS còn hỗ trợ! * Ruby rất dễ port: nó được phát triển chủ yếu cho GNU/Linux, nhưng có làm việc -với các hệ UNIX khác, như Mac OS X, Windows, DOS, BeOS, OS/2, vân vân. +với các hệ UNIX khác, như macOS, Windows, DOS, BeOS, OS/2, vân vân. ### Tham khảo diff --git a/vi/documentation/index.md b/vi/documentation/index.md index 85336637f7..300ee2baf8 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -130,7 +130,7 @@ tính năng nâng cao (ví dụ: tự động hoàn thiện, tái cấu trúc, h * [Ruby In Steel][31] * [Atom][atom] -* Trên Mac OS X: +* Trên macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (trình duyệt tài liệu) diff --git a/vi/documentation/installation/index.md b/vi/documentation/installation/index.md index 4f200771a1..11472b51d9 100644 --- a/vi/documentation/installation/index.md +++ b/vi/documentation/installation/index.md @@ -32,7 +32,7 @@ theo nhu cầu và nền tảng khác nhau. * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [Solaris, OpenIndiana](#solaris) * [Các bản phân phối khác](#other-systems) * [Installers](#installers) @@ -121,13 +121,13 @@ $ sudo pacman -S ruby Lệnh trên sẽ cài đặt phiên bản ổn định mới nhất của Ruby. -### Homebrew (OS X) +### Homebrew (macOS) {: #homebrew} Trên Yosemite và Mavericks, Ruby 2.0 có sẵn trong homebrew Đối với OS X Mountain Lion, Lion, và Snow Leopard thì là Ruby 1.8.7. -Nhiều người sử dụng [Homebrew][homebrew] trên OS X như một trình quản lý gói. +Nhiều người sử dụng [Homebrew][homebrew] trên macOS như một trình quản lý gói. Rất dễ để cài đặt phiên bản mới nhất của Ruby bằng Homebrew: {% highlight sh %} @@ -186,7 +186,7 @@ thì bạn không cần thêm installer nữa vì RVM đã có một installer r cho phép bạn có thể biên dịch và cài đặt các phiên bản khác nhau của Ruby trong các thư mục tuỳ ý. ruby-build có thể được sử dụng như một chương trình độc lập mà không cần rbenv. -Có sẵn trên OS X, Linux, và các hệ điều hành giống UNIX khác. +Có sẵn trên macOS, Linux, và các hệ điều hành giống UNIX khác. ### ruby-install @@ -196,7 +196,7 @@ Có sẵn trên OS X, Linux, và các hệ điều hành giống UNIX khác. phiên bản khác nhau của Ruby trong các thư mục tuỳ ý. Người anh em của nó là [chruby](#chruby), dùng để chuyển đổi giữa các phiên bản Ruby. -Có sẵn trên OS X, Linux, và các hệ điều hành giống UNIX khác. +Có sẵn trên macOS, Linux, và các hệ điều hành giống UNIX khác. ### RubyInstaller @@ -221,7 +221,7 @@ bạn có thể sử dụng các installers sau đây: Có sẵn trên OS X và Windows. * [Bitnami Ruby Stack][rubystack], cung cấp một môi trường phát triển hoàn chỉnh cho Rails. - Có sẵn trên OS X, Linux, Windows, các máy ảo và các cloud image. + Có sẵn trên macOS, Linux, Windows, các máy ảo và các cloud image. ## Trình quản lý @@ -247,7 +247,7 @@ hoặc thậm chí là các phiên bản được biên dịch từ mã nguồn. [rbenv][rbenv] cho phép bạn quản lý nhiều bản cài đặt của Ruby. Nó không hỗ trợ cài đặt Ruby, nhưng bạn có thể dùng plugin [ruby-build](#ruby-build) để cài đặt Ruby. -Cả hai công cụ trên đều có sẵn trên OS X, Linux, +Cả hai công cụ trên đều có sẵn trên macOS, Linux, và các hệ điều hành giống UNIX khác. @@ -256,14 +256,14 @@ và các hệ điều hành giống UNIX khác. [RVM][rvm] cho phép bạn cài đặt và quản lý nhiều bản cài đặt của Ruby. Nó cũng có thể quản lý các gemset khác nhau. -Có sẵn trên OS X, Linux, và các hệ điều hành giống UNIX khác. +Có sẵn trên macOS, Linux, và các hệ điều hành giống UNIX khác. ### uru {: #uru} [Uru][uru] là một công cụ dòng lệnh đa nền tảng, gọn nhẹ giúp bạn -sử dụng nhiều phiên bản Ruby trên OS X, Linux, hoặc Windows. +sử dụng nhiều phiên bản Ruby trên macOS, Linux, hoặc Windows. ## Biên dịch từ mã nguồn diff --git a/vi/documentation/quickstart/index.md b/vi/documentation/quickstart/index.md index 044bc0a4ec..f0e65c59f4 100644 --- a/vi/documentation/quickstart/index.md +++ b/vi/documentation/quickstart/index.md @@ -31,7 +31,7 @@ vào. Thử sức với Ruby code theo cách tương tác như thế này là m Mở IRB (hiểu là Tương tác với Ruby). -* Nếu bạn sử dụng **Mac OS X**, mở `Terminal` và gõ `irb` rồi enter. +* Nếu bạn sử dụng **macOS**, mở `Terminal` và gõ `irb` rồi enter. * Nếu bạn sử dụng **Linux**, mở một shell và gõ `irb` rồi enter. * Nếu bạn sử dụng **Windows**, mở `Interactive Ruby` từ phần Ruby trên Start Menu. diff --git a/zh_cn/about/index.md b/zh_cn/about/index.md index 30b67d9d7f..8de2d0fa38 100644 --- a/zh_cn/about/index.md +++ b/zh_cn/about/index.md @@ -112,7 +112,7 @@ Ruby 还有其他众多特性,下面列举一些: * Ruby 提供不依赖操作系统的线程。所以,不管操作系统是否支持,Ruby 支持的所有操作系统都可以使用多线程,甚至是 MS-DOS! -* Ruby 高度可移植:它主要在 GNU/Linux 上开发,但也支持很多类型的 UNIX,以及 Mac OS X,Windows,DOS,BeOS,OS/2 等。 +* Ruby 高度可移植:它主要在 GNU/Linux 上开发,但也支持很多类型的 UNIX,以及 macOS,Windows,DOS,BeOS,OS/2 等。 ### Ruby 的其他实现 diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index 02fb4662f1..46695de3a3 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -99,7 +99,7 @@ ruby -v * [Ruby In Steel][31] * [Atom][atom] -* Mac OS X: +* macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39](文档浏览器) diff --git a/zh_cn/documentation/installation/index.md b/zh_cn/documentation/installation/index.md index e66f8701d6..b9f60b203d 100644 --- a/zh_cn/documentation/installation/index.md +++ b/zh_cn/documentation/installation/index.md @@ -24,7 +24,7 @@ lang: zh_cn * [CentOS, Fedora, RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [OpenIndiana](#openindiana) * [其他发行版](#other-systems) * [安装工具](#installers) @@ -93,12 +93,12 @@ $ sudo pacman -S ruby 这将安装最新的 Ruby 稳定版。 -### Homebrew(OS X) +### Homebrew(macOS) {: #homebrew} macOS (High) Sierra 和 OS X El Capitan 已内置了 Ruby 2.0。 -许多 OS X 用户使用 [Homebrew][homebrew] 作为包管理器。用 Homebrew 能够非常简单地获取到最新版的 Ruby: +许多 macOS 用户使用 [Homebrew][homebrew] 作为包管理器。用 Homebrew 能够非常简单地获取到最新版的 Ruby: {% highlight sh %} $ brew install ruby @@ -134,13 +134,13 @@ $ pkg install runtime/ruby ### ruby-build {: #ruby-build} -[ruby-build][ruby-build] 是 [rbenv](#rbenv) 的一个插件,能在任意目录中编译和安装不同版本的 Ruby。ruby-build 也可以不依赖 rbenv 而单独使用。支持的平台有 OS X、Linux 和其它类 UNIX 操作系统。 +[ruby-build][ruby-build] 是 [rbenv](#rbenv) 的一个插件,能在任意目录中编译和安装不同版本的 Ruby。ruby-build 也可以不依赖 rbenv 而单独使用。支持的平台有 macOS、Linux 和其它类 UNIX 操作系统。 ### ruby-install {: #ruby-install} -[ruby-install][ruby-install] 能在任意目录中编译和安装不同版本的 Ruby。还有个兄弟工具,[chruby](#chruby),可以用来切换不同的 Ruby 版本。支持的平台有 OS X、Linux 和其它类 UNIX 操作系统。 +[ruby-install][ruby-install] 能在任意目录中编译和安装不同版本的 Ruby。还有个兄弟工具,[chruby](#chruby),可以用来切换不同的 Ruby 版本。支持的平台有 macOS、Linux 和其它类 UNIX 操作系统。 ### RubyInstaller @@ -157,7 +157,7 @@ $ pkg install runtime/ruby 如果是为了使用 Ruby on Rails 而安装 Ruby,可以使用下列安装工具: * [RailsInstaller][railsinstaller],使用的是 RubyInstaller,但包括了其它能够帮助 Rails 开发的工具。支持 OS X 和 Windows。 -* [Bitnami Ruby Stack][rubystack],提供了完整的 Rails 开发环境。支持 OS X、Linux、Windows、虚拟机和云镜像。 +* [Bitnami Ruby Stack][rubystack],提供了完整的 Rails 开发环境。支持 macOS、Linux、Windows、虚拟机和云镜像。 ## 管理工具 @@ -175,19 +175,19 @@ $ pkg install runtime/ruby ### rbenv {: #rbenv} -[rbenv][rbenv] 用于管理系统中安装的多个 Ruby 版本。它不能直接安装 Ruby,但有个流行的插件叫 [ruby-build](#ruby-build) 能够安装 Ruby。这两个工具都支持 OS X、Linux 和其它类 UNIX 操作系统。 +[rbenv][rbenv] 用于管理系统中安装的多个 Ruby 版本。它不能直接安装 Ruby,但有个流行的插件叫 [ruby-build](#ruby-build) 能够安装 Ruby。这两个工具都支持 macOS、Linux 和其它类 UNIX 操作系统。 ### RVM(“Ruby Version Manager”) {: #rvm} -[RVM][rvm] 能在系统中安装和管理多个 Ruby 版本。同时还能管理不同的 gem 集。支持 OS X、Linux 和其它类 UNIX 操作系统。 +[RVM][rvm] 能在系统中安装和管理多个 Ruby 版本。同时还能管理不同的 gem 集。支持 macOS、Linux 和其它类 UNIX 操作系统。 ### uru {: #uru} -[Uru][uru] 是一个轻量级的命令行工具,支持多平台,能够帮你在 OS X、Linux 和 Windows 上使用不同的 Ruby 版本。 +[Uru][uru] 是一个轻量级的命令行工具,支持多平台,能够帮你在 macOS、Linux 和 Windows 上使用不同的 Ruby 版本。 ## 通过源码编译安装 diff --git a/zh_cn/documentation/quickstart/index.md b/zh_cn/documentation/quickstart/index.md index c43142c7c4..f3e2a3424f 100644 --- a/zh_cn/documentation/quickstart/index.md +++ b/zh_cn/documentation/quickstart/index.md @@ -26,7 +26,7 @@ header: | 打开 IRB -* 如果您使用 **Mac OS X** 打开 `Terminal` 然后输入 `irb`,回车 +* 如果您使用 **macOS** 打开 `Terminal` 然后输入 `irb`,回车 * 如果您使用 **Linux**,打开一个 Shell,然后输入 `irb`,回车 * 如果您使用 **Windows**,打开 开始菜单 -> Ruby -> `Interactive Ruby` diff --git a/zh_cn/downloads/index.md b/zh_cn/downloads/index.md index 08e6ca381a..86c5d82c16 100644 --- a/zh_cn/downloads/index.md +++ b/zh_cn/downloads/index.md @@ -13,7 +13,7 @@ lang: zh_cn 每个流行的平台都有多种工具可用于安装 Ruby: * Linux/UNIX 平台,可以使用第三方工具(如 [rbenv][rbenv] 或 [RVM][rvm])或使用系统中的包管理系统。 -* OS X 平台,可以使用第三方工具(如 [rbenv][rbenv] 或 [RVM][rvm])。 +* macOS 平台,可以使用第三方工具(如 [rbenv][rbenv] 或 [RVM][rvm])。 * Windows 平台,可以使用 [RubyInstaller][rubyinstaller]。 使用包管理系统或第三方工具的详细说明,参见[安装页面][installation]。 diff --git a/zh_tw/about/index.md b/zh_tw/about/index.md index b24ecdfed6..1b3151a1d5 100644 --- a/zh_tw/about/index.md +++ b/zh_tw/about/index.md @@ -112,7 +112,7 @@ Ruby 還具有以下的特點: * Ruby 具有與作業系統無關的多線程(threading)能力。可以在所有可以執行 Ruby 的平台上都能夠達到多線程的目標,而不必管作業系統是否支援,就算是 MS-DOS 也行。 -* Ruby 具有高度的移植性:它大部份是在 GNU/Linux 上發展出來,但是可以執行於多種的作業系統如: UNIX、Mac OS X、Windows、DOS、BeOS、OS/2 等。 +* Ruby 具有高度的移植性:它大部份是在 GNU/Linux 上發展出來,但是可以執行於多種的作業系統如: UNIX、macOS、Windows、DOS、BeOS、OS/2 等。 ### 參考資料 diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 5a6531cdd4..c70ede6572 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -90,7 +90,7 @@ lang: zh_tw * [Ruby In Steel][31] * [Atom][atom] -* Mac OS X 作業系統: +* macOS 作業系統: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (瀏覽文件用) diff --git a/zh_tw/documentation/installation/index.md b/zh_tw/documentation/installation/index.md index 96c8541626..55b30a8e47 100644 --- a/zh_tw/documentation/installation/index.md +++ b/zh_tw/documentation/installation/index.md @@ -24,7 +24,7 @@ lang: zh_tw * [CentOS、Fedora、RHEL](#yum) * [Gentoo](#portage) * [Arch Linux](#pacman) - * [OS X](#homebrew) + * [macOS](#homebrew) * [Solaris、OpenIndiana](#solaris) * [其他發行版](#other-systems) * [安裝工具](#installers) @@ -99,13 +99,13 @@ $ sudo pacman -S ruby 會安裝最新穩定版的 Ruby。 -### Homebrew(OS X) +### Homebrew(macOS) {: #homebrew} OS X El Capitan、Yosemite 以及 Mavericks 內建 Ruby 2.0。 OS X Mountain Lion、Lion 以及 Snow Leopard 出廠內建 Ruby 1.8.7。 -OS X 的使用者使用 [Homebrew][homebrew] 作為套件管理工具。 +macOS 的使用者使用 [Homebrew][homebrew] 作為套件管理工具。 用法: {% highlight sh %} @@ -146,13 +146,13 @@ $ pkg install runtime/ruby-18 ### ruby-build {: #ruby-build} -[ruby-build][ruby-build] 是 [rbenv](#rbenv) 的一個插件,可以編譯及安裝不同版本的 Ruby 到任意目錄下。ruby-build 也可以不搭配 rbenv 使用。ruby-build 在 OS X、Linux 以及類 UNIX 平台下都可使用。 +[ruby-build][ruby-build] 是 [rbenv](#rbenv) 的一個插件,可以編譯及安裝不同版本的 Ruby 到任意目錄下。ruby-build 也可以不搭配 rbenv 使用。ruby-build 在 macOS、Linux 以及類 UNIX 平台下都可使用。 ### ruby-install {: #ruby-install} -[ruby-install][ruby-install] 可以編譯及安裝不同版本的 Ruby 到任意目錄下。還有一個姊妹工具叫做 [chruby](#chruby),可以用來切換不同版本的 Ruby。ruby-install 在 OS X、Linux 以及類 UNIX 平台下都可使用。 +[ruby-install][ruby-install] 可以編譯及安裝不同版本的 Ruby 到任意目錄下。還有一個姊妹工具叫做 [chruby](#chruby),可以用來切換不同版本的 Ruby。ruby-install 在 macOS、Linux 以及類 UNIX 平台下都可使用。 ### RubyInstaller @@ -174,7 +174,7 @@ Windows 使用者,可以使用這個很棒的專案來幫助您安裝 Ruby: 支援 OS X 與 Windows。 * [Bitnami Ruby Stack][rubystack], 提供完整的 Rails 開發環境。 - 兼容 OS X、Linux、Windows、虛擬機器以及雲鏡像。 + 兼容 macOS、Linux、Windows、虛擬機器以及雲鏡像。 ## 版本管理工具 @@ -192,19 +192,19 @@ Windows 使用者,可以使用這個很棒的專案來幫助您安裝 Ruby: ### rbenv {: #rbenv} -[rbenv][rbenv] 可以在系統上安裝多個版本的 Ruby。rbenv 本身不能安裝 Ruby,但有一個流行的插件,叫做 ruby-build,可以用來安裝 Ruby。支援 OS X、Linux 和其它類 Unix 的作業系統。 +[rbenv][rbenv] 可以在系統上安裝多個版本的 Ruby。rbenv 本身不能安裝 Ruby,但有一個流行的插件,叫做 ruby-build,可以用來安裝 Ruby。支援 macOS、Linux 和其它類 Unix 的作業系統。 ### RVM ("Ruby Version Manager") {: #rvm} -[RVM][rvm] 可以在系統上安裝多個版本的 Ruby。也可以管理不同的 Gem 包(gemset)。兼容 OS X、Linux 和其它類 Unix 的作業系統。 +[RVM][rvm] 可以在系統上安裝多個版本的 Ruby。也可以管理不同的 Gem 包(gemset)。兼容 macOS、Linux 和其它類 Unix 的作業系統。 ### uru {: #uru} -[Uru][uru] 是一個輕量、支援多平台的命令列工具,幫助您在 OS X、Linux 以及 Windows 上安裝多版本的 Ruby。 +[Uru][uru] 是一個輕量、支援多平台的命令列工具,幫助您在 macOS、Linux 以及 Windows 上安裝多版本的 Ruby。 ## 從原始碼編譯 diff --git a/zh_tw/documentation/quickstart/index.md b/zh_tw/documentation/quickstart/index.md index d8f020b1cb..36bb941f3a 100644 --- a/zh_tw/documentation/quickstart/index.md +++ b/zh_tw/documentation/quickstart/index.md @@ -28,7 +28,7 @@ Ruby 附帶了一支程式可以讓你即時看到執行 Ruby 敘述的結果。 打開 IRB (表示 Interactive Ruby)。 -* 如果你使用 **Mac OS X** 請打開 `Terminal` 然後輸入 `irb` 和 enter。 +* 如果你使用 **macOS** 請打開 `Terminal` 然後輸入 `irb` 和 enter。 * 如果你使用 **Linux**,請打開一個 shell 然後輸入 `irb` 和 enter。 * 如果你使用 **Windows**,請從開始選單中打開 Ruby 的 `Interactive Ruby` 。 diff --git a/zh_tw/downloads/index.md b/zh_tw/downloads/index.md index 984d9470c5..3a12293d62 100644 --- a/zh_tw/downloads/index.md +++ b/zh_tw/downloads/index.md @@ -13,7 +13,7 @@ lang: zh_tw 每個主要的平台都有多種工具可安裝 Ruby: * Linux/UNIX 平台,可以使用第三方工具(如 [rbenv][rbenv] 或 [RVM][rvm])或使用系統套件管理工具; -* OS X 平台,可以使用第三方工具(如 [rbenv][rbenv] 或 [RVM][rvm]); +* macOS 平台,可以使用第三方工具(如 [rbenv][rbenv] 或 [RVM][rvm]); * Windows 平台,可以使用 [RubyInstaller][rubyinstaller]。 進一步了解請參考[安裝][installation]頁面上關於套件管理工具與第三方工具的內容。 From 9885c8d817e7ffc7074552c523b87e0a70c1d3f4 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Tue, 4 Dec 2018 07:12:24 +0100 Subject: [PATCH 0276/2563] Fix links in English Snap post See https://github.com/ruby/www.ruby-lang.org/pull/1888#issuecomment-442523867 @hsbt, read your GitHub emails! :-p --- en/news/_posts/2018-11-08-snap.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/news/_posts/2018-11-08-snap.md b/en/news/_posts/2018-11-08-snap.md index 9edad1a60b..3bd78ec36e 100644 --- a/en/news/_posts/2018-11-08-snap.md +++ b/en/news/_posts/2018-11-08-snap.md @@ -9,7 +9,7 @@ lang: en We released the official snap package of Ruby language. -https://snapcraft.io/ruby + Snap is a package system developed by Canonical. It allows you to distribute a software with its dependencies for many different Linux systems. This solves the problem that a user cannot install the latest Ruby release from the default repository of their system like in rpm or apt. @@ -19,7 +19,7 @@ On Ubuntu 16.04 or later, you can use Ruby snap with the following command: sudo snap install ruby --classic ``` -(If you use other Linux distributions, please refer to https://docs.snapcraft.io/installing-snapd/6735) +(If you use other Linux distributions, please refer to ) Our snap uses the "channel" feature to release multiple Ruby series concurrently. For example, without specifying a channel, 2.5.3 will be installed. But if you want to use Ruby 2.4, specify the 2.4 channel like the following: @@ -42,6 +42,6 @@ eval `ruby.env` Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristine --extensions` command. -The initial version of official Ruby snap has released during Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. Any feedbacks are welcomed at https://github.com/ruby/snap.ruby. +The initial version of official Ruby snap has released during Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. Any feedbacks are welcomed at . Enjoy! From fefa8d15cf9dc9e2bc76f4e5b649c9222deb8613 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Wed, 5 Dec 2018 17:35:20 +0900 Subject: [PATCH 0277/2563] Translate 2019 Fukuoka award post (zh_tw) (#1908) --- .../2018-11-29-fukuoka-ruby-award-2019.md | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md diff --git a/zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md new file mode 100644 index 0000000000..0acf4632e7 --- /dev/null +++ b/zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -0,0 +1,65 @@ +--- +layout: news_post +title: "2019 福岡 Ruby 大賽 ─ Matz 親自審視參賽作品!" +author: "Fukuoka Ruby" +translator: Delton Ding +date: 2018-11-29 00:00:00 +0000 +lang: zh_tw +--- + +親愛的 Ruby 愛好者, + +日本福岡市政府與松本行弘(“Matz”)先生誠摯邀您一起來參加 Ruby 大賽。有開發出什麼有趣的 Ruby 應用嗎?歡迎參賽。 + +2019 福岡 Ruby 大賽──最大獎──壹百萬日圓! + +截止日期:2019 年 1 月 31 日。 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz 與評審委員小組會選出本次大賽的優勝者。福岡 Ruby 大賽的最大獎是壹百萬日圓。過去的優勝者有來自美國的 Rhomobile 公司以及韓國釜山的亞太經貿氣候中心。 + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +參賽的作品不必完全是用 Ruby 寫的,但需要從 Ruby 的特色中受益。 + +專案必須在過去 12 個月內開發或完成才有資格參賽,請訪問福岡市政府網站尋求更多細節: + +[http://www.digitalfukuoka.jp/events/185](http://www.digitalfukuoka.jp/events/185) + +或參考 + +[http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc) + +請將報名表 Email 至 award@f-ruby.com。 + +今年我們有以下特別獎: + +AWS 特賞得獎者將獲得: + +* Amazon Echo(可能會修改) +* 免費 AWS 架構技術諮詢服務 + +GMO Pepabo 特賞將獲得: + +* Lolipop! 共享主機服務的標準方案十年免費,或是 Managed Cloud 的流量方案價值日幣十萬元的折價券 +* Muumuu Domain DNS 註冊服務:十年免費域名一個(限每年費用低於一萬日圓的域名) + +IIJ GIO 特賞將獲得: + +* 價值 500,000 日元 IIJ GIO 免費優待券(至多使用 6 個月) + +Money Forward 特賞將獲得: + +* 與 Money Forward 的 Ruby 提交者共享晚餐 +* 個人金融管理系統 "Money Forward" 的高級服務十年免費優待券一張 + +Salesforce 特賞將獲得: + +* salesforce.com 的新奇禮品 + +“Matz 會仔細審閱、測試作品的原始碼,參加的意義非凡啊!大賽免費參加!” + +謝謝! From 97ef6910f74bd2b4e635d5c35983798fbe865d46 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Wed, 5 Dec 2018 07:53:07 +0900 Subject: [PATCH 0278/2563] Translate Fukuoka 2019 Post (zh_cn) --- .../2018-11-29-fukuoka-ruby-award-2019.md | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 zh_cn/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md diff --git a/zh_cn/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/zh_cn/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md new file mode 100644 index 0000000000..2bd20e83e8 --- /dev/null +++ b/zh_cn/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -0,0 +1,64 @@ +--- +layout: news_post +title: "2019 日本福冈 Ruby 竞赛 - 由松本行弘评判" +author: "Fukuoka Ruby" +translator: Delton Ding +date: 2018-11-29 00:00:00 +0000 +lang: zh_cn +--- + +亲爱的 Ruby 爱好者, + +日本福冈政府与 "Matz" 松本行弘想要邀请您参加 Ruby 竞赛。如果您开发 Ruby 程序,请积极申请。 + +2019 福冈 Ruby 竞赛 - 大奖 - 一百万日元 + +截止日期:2019 年 1 月 31 日 + +![福冈 Ruby 竞赛](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +本次福冈竞赛由松本行弘与其他专家评选获胜者。本次福冈竞赛大奖是一百万日元。 +历届获奖者包括 Rhomobile(美国) 和 APEC Climate Center(韩国) + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +参赛之程序不必完全由 Ruby 写成,但必须从 Ruby 独特的特性中受益。 + +所有在过去 12 个月内开发或完成的项目皆有资格参赛,请访问下述网站以获得更多信息或提交参赛: + +[http://www.digitalfukuoka.jp/events/185](http://www.digitalfukuoka.jp/events/185) +或 +[http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc) + +请将您的申请表发送至 award@f-ruby.com + +今年,我们提供了下述特别奖: + +AWS 奖项的获奖者将获得: + +* Amazon Echo(有变更的可能性) +* AWS 架构技术咨询 + +GMO Pepabo 奖项的获奖者将获得: + +* Lolipop! 共享主机服务:标准计划共享主机 10 年免费订阅,或 100,000 日元用于计费云服务的兑换券 +* Muumuu 域名 DNS 注册服务:1 个域名 10 年的免费订阅(限制每年 10,000 日元及以下的单一域名) + +IIJ GIO 奖项的获奖者将获得: + +* 价值 500,000 日元的 IIJ GIO 免费兑换券(至多 6 个月) + +Money Forward 奖项的获奖者将获得: + +* 与 Money Forward 的 Ruby 提交者共进晚餐的机会 +* 10 年免费的 Money Forward 个人财务管理服务高级服务 + +Salesforce 奖项的获奖者将获得: + +* salesforce.com 的新奇商品 + +「Matz 会直接测试并审阅你的源代码,参加此竞赛是极具意义的!参赛是免费的。」 + +谢谢。 From e0ea92a2f6791610846fc620a75ae5814efc0bc1 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Wed, 5 Dec 2018 07:55:00 +0900 Subject: [PATCH 0279/2563] Translate snap post (zh_cn) --- zh_cn/news/_posts/2018-11-08-snap.md | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 zh_cn/news/_posts/2018-11-08-snap.md diff --git a/zh_cn/news/_posts/2018-11-08-snap.md b/zh_cn/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..2cae77b1f2 --- /dev/null +++ b/zh_cn/news/_posts/2018-11-08-snap.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: Ruby 官方 Snap 源已发布 +author: Hiroshi SHIBATA +translator: Delton Ding +date: 2018-11-08 14:58:28 +0000 +lang: zh_cn +--- + +我们发布了 Ruby 语言的官方 snap 包。 + + + +Snap 是有 Canonical 开发的系统包管理系统,其允许开发者在多个 Linux 系统上发行软件,并将所有需要的依赖一同打包。这解决了用户不能从其系统提供的默认仓库(例如 rpm 或 apt 中)安装到最新版本的 Ruby 的问题。 + +在 Ubuntu 16.04 和其之后版本中,你可以通过如下命令安装 Ruby snap 包: + +``` +sudo snap install ruby --classic +``` + +(如果你使用其它 Linux 发行版,请参考 ) + +我们的 Snap 包使用「通道」特性来并行发布多个 Ruby 版本。举例来说,在不指定通道时,2.5.3 版本会被安装。但如果你想要使用 2.4 版本,你可以通过如下命令指定 2.4 通道: + +``` +sudo snap install ruby --classic --channel=2.4/stable +``` + +你还可以使用多个通道。下面的命令能把你当前的 Ruby 切换至 2.3: + +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` + +我们的 Snap 发行包将 `$HOME/.gem` 设置成 `GEM_HOME` 和 `GEM_PATH` 环境变量。所以如果你需要使用由 RubyGems 安装的命令(例如 Rails 或 RSpec),却没有使用 `buncle exec` 命令时,你需要将如下代码添加至 shell rc 文件(例如 .bashrc): + +``` +eval `ruby.env` +``` + +由于 `$HOME/.gem` 被多个版本的 Ruby 共享,如果你需要切换版本,你需要通过 `gem pristine --extensions` 命令重新编译 C 扩展。 + +Ruby 官方的首个 Snap 发行版,是在 2018 年 11 月 6 日至 8 日在 Canonical 伦敦办公室举办的 Snapcraft 峰会上发布的。我们欢迎通过 提交任何反馈。 + +请尽情享受。 From e87b7ada205e88c2ff60816cf1665ab2ccfb910f Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Wed, 5 Dec 2018 20:02:50 +0900 Subject: [PATCH 0280/2563] Translate snap post (zh_tw) --- zh_tw/news/_posts/2018-11-08-snap.md | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 zh_tw/news/_posts/2018-11-08-snap.md diff --git a/zh_tw/news/_posts/2018-11-08-snap.md b/zh_tw/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..97b621db6b --- /dev/null +++ b/zh_tw/news/_posts/2018-11-08-snap.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: Ruby 已發佈官方 Snap 套件 +author: Hiroshi SHIBATA +translator: Delton Ding +date: 2018-11-08 14:58:28 +0000 +lang: zh_tw +--- + +我們發佈了 Ruby 語言的官方 snap 套件。 + + + +Snap 是由 Canonical 開發的套件系統。它允許在多個 Linux 作業系統上將軟體與其依賴一同分發。這解決了用戶無法從作業系統自帶的倉庫例如 rpm 或 apt 中獲取到最新版本 Ruby 的問題。 + +在 Ubuntu 16.04 及其後續版本中,你可以通過下述命令使用 Ruby snap: + +``` +sudo snap install ruby --classic +``` + +(如果您正在使用其它 Linux 發行版,請參考 ) + +我們的 snap 套件使用「頻道(channel)」功能使得多個 Ruby 版本可以平行發行。例如,在不指定頻道時,會安裝 Ruby 2.5.3 版本。但如果你想使用 Ruby 2.4,你可以通過下述命令指定爲 2.4 頻道: + +``` +sudo snap install ruby --classic --channel=2.4/stable +``` + +你還可以同時使用多個頻道。下述指令會將你的 Ruby 切換至 2.3 版本。 + +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` + +我們的 Snap 套件預設將 `$HOME/.gem` 作爲 `GEM_HOME` 和 `GEM_PATH` 的環境變數。所以當你執行由 RubyGems 安裝的指令(例如 Rails 或 RSpec),而沒有使用 `bundle exec` 命令時,你需要將下述程式添加至你的 shell rc 檔案中(例如 .bashrc): + +``` +eval `ruby.env` +``` + +由於 `$HOME/.gem` 被多個不同版本共享,如果你切換 Ruby 版本,你需要通過 `gem pristine --extensions` 重新編譯 C 擴充程式才能繼續使用 gem。 + +Ruby 首個官方套件版本是在 2018 年 11 月 6 日至 8 日於 Canonical 倫敦辦公室舉辦的 Snapcraft 峰會上發佈的。我們歡迎任何通過 提交的回報。 + +請盡情享受。 From cf216f80c92030c15897ec58492dbe430688f241 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 24 Nov 2018 19:59:11 +0700 Subject: [PATCH 0281/2563] Translate Ruby 2.4.5 released news (id) --- .../_posts/2018-10-17-ruby-2-4-5-released.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 id/news/_posts/2018-10-17-ruby-2-4-5-released.md diff --git a/id/news/_posts/2018-10-17-ruby-2-4-5-released.md b/id/news/_posts/2018-10-17-ruby-2-4-5-released.md new file mode 100644 index 0000000000..61595791e7 --- /dev/null +++ b/id/news/_posts/2018-10-17-ruby-2-4-5-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Ruby 2.4.5 Rilis" +author: "usa" +translator: "meisyal" +date: 2018-10-17 17:00:00 +0000 +lang: id +--- + +Ruby 2.4.5 telah dirilis. + +Rilis ini mencakup sekitar 40 perbaikan *bug* dari rilis sebelumnya +dan beberapa perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk lebih detail. + +* [CVE-2018-16396: Penanda tercemar tidak disebarkan ke Array#pack dan String#unpack dengan beberapa arahan](/id/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Pemeriksaan kesetaraan OpenSSL::X509::Name tidak berfungsi dengan benar](/id/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +Lihat [commit logs](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) untuk detail. + +## Unduh + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.bz2) + + SIZE: 12667524 bytes + SHA1: 0e1f184556507c22bc59054496c0af7cf28fb188 + SHA256: 276c8e73e51e4ba6a0fe81fb92669734e741ccea86f01c45e99f2c7ef7bcd1e3 + SHA512: 7034fcaeaee41f14bc0ecce0d3d93bd1abe95310e1a0b95fac66eaba867adfb2bf7ba4d0d70d67a15ce8df16052dee405c38cdb18987602e64a2f701d37d3df0 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.gz) + + SIZE: 14232887 bytes + SHA1: 4d650f302f1ec00256450b112bb023644b6ab6dd + SHA256: 6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198 + SHA512: 39863b404b02bb3d2430fd19fb057bdded5e816842a1a1f00092de69cc360db836225b2186e18b6ee099ec5e8c60f89178a4297b2d221234b4962c70594c2b8e + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.tar.xz) + + SIZE: 10064712 bytes + SHA1: b5be590b37487248da3a85541a62fb81f7f7e29a + SHA256: 2f0cdcce9989f63ef7c2939bdb17b1ef244c4f384d85b8531d60e73d8cc31eeb + SHA512: 658f676c623109f4c7499615e191c98c3dd72cfcaeeaf121337d0b8a33c5243145edd50ec5e2775f988e3cd19788984f105fa165e3049779066566f67172c1b4 + +* [https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip](https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.5.zip) + + SIZE: 15694028 bytes + SHA1: 0bded7dfabfce5615162a1acd1341966a63e40f4 + SHA256: 33694b03ac178cf96aa728b74de7b0bc5d848fcfabc64a7c74ea093198142601 + SHA512: 9baec2b33604d5b2180b83bef9b39349d3f73b2eb5a7d44410572d893f76e6a0e1c39c572e6084a4e2466ca148ff2f377b5458144fe9b859a80cdf7b41fd5d72 + +## Komentar Rilis + +Terima kasih kepada semua yang telah membantu rilis ini. + +Perawatan Ruby 2.4, termasuk rilis ini, didasarkan pada +"Agreement for the Ruby stable version" dari Ruby Association. From 1f5490807647b4542b2efd1d7c396ca37e7d8f76 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sun, 2 Dec 2018 14:43:17 +0700 Subject: [PATCH 0282/2563] Translate Ruby 2.6.0-preview3 released news (id) --- ...2018-11-06-ruby-2-6-0-preview3-released.md | 158 ++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md diff --git a/id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md new file mode 100644 index 0000000000..6975fe3bbf --- /dev/null +++ b/id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -0,0 +1,158 @@ +--- +layout: news_post +title: "Ruby 2.6.0-preview3 Rilis" +author: "naruse" +translator: "meisyal" +date: 2018-11-06 00:00:00 +0000 +lang: id +--- + +Kami dengan senang hati mengumumkan rilis dari Ruby 2.6.0-preview3. + +Ruby 2.6.0-preview3 ada *preview* ketiga menuju Ruby 2.6.0. +preview3 ini dirilis untuk mengetes fitur baru sebelum datang +*Release Candidate*. + +## JIT + +Ruby 2.6 memperkenalkan sebuah implementasi awal dari *compiler* JIT +(Just-in-time). + +*Compiler* JIT bertujuan untuk memperbaiki performa dari program Ruby apapun +yang dieksekusi. Berbeda dengan JIT *compiler* biasanya pada bahasa pemrograman +lain, *compiler* JIT dari Ruby melakukan kompilasi JIT melalui sebuah jalan +unik, yang mencetak kode C ke sebuah *disk* dan mengeluarkan proses *compiler* +C untuk menghasilkan kode asli. +Lihat juga: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Bagaimana cara menggunakan: Tetapkan `--jit` pada *command line* atau `$RUBYOPT` +*environment variable*. Menetapkan `--jit-verbose=1` memperbolehkan untuk +mencetak informasi dasar dari kompilasi JIT yang berjalan. Lihat `ruby --help` +untuk pilihan lainnya. + +Tujuan utama dari rilis JIT ini adalah untuk menyediakan sebuah kesempatan untuk +mengecek jika ini berjalan di *platform* Anda dan menemukan risiko keamanan +sebelum rilis 2.6. *Compiler* JIT didukung hanya ketika Ruby dibuat oleh GCC, +Clang, atau Microsoft VC++, yang mana dibutuhkan saat *runtime*. Jika +sebaliknya, Anda tidak dapat menggunakannya. + +Sampai versi 2.6.0-preview3, kami telah meraih 1.7x performa lebih cepat +dibanding Ruby 2.5 pada CPU-*intensive non-trivial benchmark workload* yang +dikenal dengan Optcarrot . +Kami akan memperbaiki performa pada *memory-intensive workload* seperti +aplikasi Rails. + +Nantikan era baru dari performa Ruby. + +## RubyVM::AST [Eksperimental] + +Ruby 2.6 mengenalkan modul `RubyVM::AST`. + +Modul ini memiliki *method* `parse` yang mem-*parse string* dari kode Ruby yang +diberikan dan mengembalikan AST (Abstract Syntax Tree) *node*, dan *method* +`parse_file` yang mem-*parse* berkas dan mengembalikan AST *node*. +Kelas `RubyVM::AST::Node` juga mengenalkan Anda agar mendapatkan informasi +lokasi dan *children node* dari objek `Node`. Fitur ini eksperimental. +Kesesuaian struktur dari AST *node* tidak dijamin. + +## Fitur-fitur Baru + +* Menambahkan sebuah alias baru `then` pada `Kernel#yield_self`. [[Fitur #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` tanpa `rescue` sekarang menyebabkan sebuah *syntax error*. [EKSPERIMENTAL] + +* penamaan konstan bisa dimulai dengan sebuah huruf kapital non-ASCII. [[Fitur #13770]](https://bugs.ruby-lang.org/issues/13770) + +* endless range [[Fitur #12912]](https://bugs.ruby-lang.org/issues/12912) + + Sebuah endless range, `(1..)`, diperkenalkan. Ini berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: + + ary[1..] # identik dengan ary[1..-1] tanpa magical -1 + (1..).each {|index| ... } # inifinite loop dari indeks 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Menambahkan `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + *Method* ini mengembalikan sumber lokasi dari *binding*, sebuah *array* dua +elemen dari `__FILE__` dan `__LINE__`. Secara tradisi, informasi yang sama +mungkin dapat diambil dengan `eval("[__FILE__, __LINE__]", binding)`, tetapi +kami sedang merencanakan untuk mengubah perilaku ini sehingga `Kernel#eval` +mengabaikan sumber lokasi *binding* [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). +Sehingga, pengguna seharusnya menggunakan *method* yang baru diperkenalkan ini +daripada `Kernel#eval`. + +* Menambahkan pilihan `:exception` agar `Kernel#system` mengeluarkan *error* +daripada mengembalikan `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +## Perbaikan performa + +* Mempercepat `Proc#call` karena kami tidak peduli `$SAFE` lagi. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Dengan *benchmark* `lc_fizzbuzz` yang menggunakan `Proc#call` berkali-kali + kami dapat mengukur x1.4 kemajuan [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Mempercepat `block.call` di mana `block` diterima parameter *block*. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 memperbaiki performa *block passing*. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Selain itu, Ruby 2.6 memperbaiki performa dari pemanggilan *passed block*. + Dengan mikro *benchmark* kami dapat mengamati x2.6 kemajuan. + +* Transient Heap (theap) dikenalkan. [Bug #14858] [Feature #14989] + theap adalah *heap* yang diatur untuk *short-living memory object* yang + diarahkan oleh kelas tertentu (Array, Hash, Object, dan Struct). Sebagai + contoh, membuat objek Hash yang kecil dan *short-living* 2x lebih cepat. + Dengan rdoc *benchmark*, kami mengamati 6-7% kemajuan. + +## Perubahan penting lainnya sejak 2.5 + +* `$SAFE` adalah sebuah proses *state* global dan kita dapat mengatur ke `0` lagi. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Menempatkan parameter `safe_level` ke `ERB.new` tidak berlaku lagi. Argumen +`trim_mode` dan `eoutvar` diubah menjadi argumen kata kunci. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Menggabungkan RubyGems 3.0.0.beta2. Opsi `--ri` dan `--rdoc` dihapus. Mohon + gunakan opsi `--document` dan `--no-document`. + +* Menggabungkan [Bundler](https://github.com/bundler/bundler) sebagai gem + *default*. + +Lihat [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) +atau [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +untuk detail. + +Dengan perubahan tersebut, +[6474 berkas berubah, 171888 sisipan(+), 46617 terhapus(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3) +sejak Ruby 2.5.0! + +Nikmati memprogram dengan Ruby 2.6.0-preview3! + +## Unduh + +* + + SIZE: 17071670 bytes + SHA1: 67836fda11fa91e0b988a6cc07989fbceda025b4 + SHA256: 60243e3bd9661e37675009ab66ba63beacf5dec748885b9b93916909f965f27a + SHA512: 877278cd6e9b947f5bb6ed78136efb232dcc9c5c218b7236576171e7c3cd7f6b7d10d07d8402014a14aba1fcd1913a4370f0725c561ead41d8a3fe92029f7f76 + +* + + SIZE: 21537655 bytes + SHA1: 45f3c90dfffe03b746f21f24152666e361cbb41a + SHA256: 9152af9e700349dcfa2eec196dd91587d42d70a6837fa2c415ebba1167587be1 + SHA512: 335de36cf56706326f4acc4bbd35be01e0ac5fff30d0a69b2e1630ba4c78f0e711822d1623d0099a517c824b154917d2f60be192dfb143a422cf1d17b38e1183 + +* + + SIZE: 14973451 bytes + SHA1: 5f2df5d8c5a3888ccb915d36a3532ba32cda8791 + SHA256: 1f09a2ac1ab26721923cbf4b9302a66d36bb302dc45e72112b41d6fccc5b5931 + SHA512: d1693625723796e8902f3e4c4fae444f2912af9173489f7cf18c99db2a217afc971b082fce7089e39f8edd54d762d2b4e72843c8306ed29b05ccb15ac03dbb5b + +* + + SIZE: 12291692 bytes + SHA1: 7f8216247745215e9645568e7a02140f9a029b31 + SHA256: 9856d9e0e32df9e5cdf01928eec363d037f1a76dab2abbf828170647beaf64fe + SHA512: b4d3b17ecf96272c43cd7518c0b54dee63fc1150ad143e1d9c9d708506fe78676c80eb96cc47b8d46d1128bd483a53f16c944963a03d1f99f00131b74714df7b From 5435d8686c6999c516bb83ea1bde0394bd8fc043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sun, 2 Dec 2018 21:53:14 -0500 Subject: [PATCH 0283/2563] Translates 2018-11-08-snap.md (es) --- es/news/_posts/2018-11-08-snap.md | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 es/news/_posts/2018-11-08-snap.md diff --git a/es/news/_posts/2018-11-08-snap.md b/es/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..854fbd2439 --- /dev/null +++ b/es/news/_posts/2018-11-08-snap.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: El snap official de ruby está disponible +author: Hiroshi SHIBATA +translator: vtamara +date: 2018-11-08 14:58:28 +0000 +lang: es +--- + +Publicado el paquete snap oficial del lenguaje Ruby. + +https://snapcraft.io/ruby + +Snap es un sistema de paquetes desarrollado por Canonical. Le permite distribuir un programa con sus dependencias para muchas distribuciones de Linux diferentes. Esto resuelve el problema de los usuarios que no pueden instalar la versión más reciente de Ruby del repositorio por omisión de su sistema con rpm o apt. + +En Ubuntu 16.04 o posterior, puede usar el snap de Ruby con el siguiente comando: + +``` +sudo snap install ruby --classic +``` + +(Si usa otras distribuciones de Linux, por favor consulte https://docs.snapcraft.io/installing-snapd/6735) + +Nuestro snap usa la característica "channel" para publicar varias series de Ruby de manera concurrente. Por ejemplo, si no se especifica un canal, se instalará la versión 2.5.3. Pero si desea usar Ruby 2.4, especifique el canal 2.4 así: + +``` +sudo snap install ruby --classic --channel=2.4/stable +``` + +También puede usar múltiples canales. El siguiente comando cambia a Ruby 2.3: + +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` + +Nuestro snap establece `$HOME/.gem` en las variables de ambiente `GEM_HOME` y `GEM_PATH`. Así que si quiere ejecutar comandos instalados por rubygems tales como `rails` y `rspec` sin usar `bundle exec`, debe añadir la siguiente línea al archivo rc de su interprete de comandos (como `.bashrc`): + +``` +eval `ruby.env` +``` + +Como `$HOME/.gem` es compartido por diversas versiones, si cambia la versión de ruby y la usa, necesitará recompilar las extensiones de C usando el comando `gem pristine --extensions`. + +La versión inicial del snap oficial de Ruby ha sido publicada durante la cumbre de Snapcraft, que se llevó a cabo en las oficinas de Canonical en Londres el 6.Nov.2018. Toda retroalimentacioń es bienvenida en https://github.com/ruby/snap.ruby. + +¡Disfrutelo! From db77863392c0f2143ada28a57d5065c22ce7d24e Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Fri, 7 Dec 2018 01:14:05 +0900 Subject: [PATCH 0284/2563] Ruby 2.6.0-rc1 Released --- _data/downloads.yml | 2 +- _data/releases.yml | 14 ++ .../2018-12-06-ruby-2-6-0-rc1-released.md | 138 ++++++++++++++++++ .../2018-12-06-ruby-2-6-0-rc1-released.md | 120 +++++++++++++++ 4 files changed, 273 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md create mode 100644 ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index f22ecb059d..6ce5f843f3 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 2.6.0-preview3 + - 2.6.0-rc1 stable: diff --git a/_data/releases.yml b/_data/releases.yml index e81343dc8b..490f5a5333 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,20 @@ # 2.6 series +- version: 2.6.0-rc1 + date: 2018-12-07 + post: /en/news/2018/12/07/ruby-2-6-0-rc1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc1.zip + bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc1.tar.bz2 + xz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc1.tar.xz + sha256: + gz: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + zip: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + bz2: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + xz: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + - version: 2.6.0-preview3 date: 2018-11-06 post: /en/news/2018/11/06/ruby-2-6-0-preview3-released/ diff --git a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md new file mode 100644 index 0000000000..b185967a8a --- /dev/null +++ b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -0,0 +1,138 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc1 Released" +author: "naruse" +translator: +date: 2018-12-06 00:00:00 +0000 +lang: en +--- + +We are pleased to announce the release of Ruby 2.6.0-rc1. + +Ruby 2.6.0-rc1 is the third preview toward Ruby 2.6.0. +This rc1 is released to test new features before coming Release Candidate. + +## JIT + +Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. + +JIT compiler aims to improve performance of any Ruby program execution. +Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native code. +See also: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +How to use: Just specify `--jit` in command line or `$RUBYOPT` environment variable. +Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT compilation. See `ruby --help` for other options. + +The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. +JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available on runtime. Otherwise you can't use it for now. + +As of Ruby 2.6.0-rc1, we achieved 1.7x faster performance than Ruby 2.5 on CPU-intensive non-trivial benchmark workload called Optcarrot . We're going to improve the performance on memory-intensive workload like Rails application as well. + +Stay tuned for the new age of Ruby's performance. + +## RubyVM::AbstractSyntaxTree [Experimental] + +Ruby 2.6 introduces `RubyVM::AbstractSyntaxTree` module. + +This module has `parse` method which parses a given ruby code of string and returns AST (Abstract Syntax Tree) nodes, and `parse_file` method which parses a given ruby code file and returns AST nodes. +`RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes are not guaranteed. + +## New Features + +* Add a new alias `then` to `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` without `rescue` now causes a syntax error. [EXPERIMENTAL] + +* constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* endless range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: + + ary[1..] # identical to ary[1..-1] without magical -1 + (1..).each {|index| ... } # inifinite loop from index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). So, users should use this newly-introduced method instead of `Kernel#eval`. + +* Add `:exception` option to let `Kernel#system` raise error instead of returning `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* add the oneshot mode [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * This mode checks "whether each line was executed at least once or not", instead of "how many times each line was executed". A hook for each line is fired at most once, and after it is fired the hook flag is removed, i.e., it runs with zero overhead. + * Add `:oneshot_lines` keyword argument to Coverage.start. + * Add `:stop` and `:clear` keyword arguments to Coverage.result. If `clear` is true, it clears the counters to zero. If `stop` is true, it disables coverage measurement. + * Coverage.line_stub, which is a simple helper function that creates the "stub" of line coverage from a given source code. + +* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## Performance improvements + +* Speedup `Proc#call` because we don't need to care about `$SAFE` any more. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure + x1.4 improvements [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Speedup `block.call` where `block` is passed block parameter. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 improves block passing performance. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Additionally, Ruby 2.6 improves the performance of passed block calling. + With micro-benchmark we can observe x2.6 improvement. + +* Transient Heap (theap) is introduced. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + theap is managed heap for short-living memory objects which are pointed by + specific classes (Array, Hash, Object, and Struct). For example, making small + and short-living Hash object is x2 faster. With rdoc benchmark, we observed + 6-7% performance improvement. + +## Other notable changes since 2.5 + +* `$SAFE` is a process global state and we can set `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Supported Unicode version is updated to 11. It is planed to update 12 and 12.1 in future TEENY releases of Ruby 2.6. + +* Merge RubyGems 3.0.0.beta3. `--ri` and `--rdoc` options was removed. Please use `--document` and `--no-document` options instead of them. + +* Merge [Bundler](https://github.com/bundler/bundler) as Default gems. + +See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) +or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +for details. + +With those changes, +[6376 files changed, 227364 insertions(+), 51599 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +since Ruby 2.5.0! + +Enjoy programming with Ruby 2.6.0-rc1! + +## Download + +* + + SIZE: 16823448 bytes + SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 + SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 +4d77967a59e304353cde4a915537e7c4e4ee20be73 +* + + SIZE: 20737499 bytes + SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 + SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a +* + + SIZE: 14607078 bytes + SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e + SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 +* + + SIZE: 11851908 bytes + SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e + SHA256: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + SHA512: 3d93d8d80e4900e8b3a27f904ed60581cebc6c55f4ab7acafc81e95001f92f3ea4ddec2da6169b1ed5e0146f7b7c35c1c13b3243955d5825c72170834fe933f3 diff --git a/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md new file mode 100644 index 0000000000..f7a954e107 --- /dev/null +++ b/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -0,0 +1,120 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc1 Released" +author: "naruse" +translator: +date: 2018-12-06 00:00:00 +0000 +lang: ja +--- + +Ruby 2.6.0に向けた最初のリリース候補である、Ruby 2.6.0-rc1がリリースされました。 + +Ruby 2.6.0-rc1は、リリース前に出されるRelease Candidateに向けて最新の機能を試せるようにするためリリースされています。 + +## JIT + +Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 + +JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 +他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)) + +JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 + +今回のリリースはこのJITコンパイル機能を皆さんの環境で動作を確認して頂くとともに、セキュリティ上の問題が無いかを早期に確認するために行っています。 +現在のJITコンパイラを利用するためには、GCC、Clang、あるいはMicrosoft VC++によってビルドされたRubyでかつ、そのコンパイラが実行時に利用可能である必要があります。 + +Ruby 2.6.0-rc1の時点で、OptcarrotというCPU負荷中心のベンチマークにおいてRuby 2.5の約1.7倍の性能向上を達成しました。 +Railsアプリケーションなどのメモリ負荷の高い環境における性能は現在改善中です。 + +引き続き新時代のRubyの実効性能にご期待ください。 + +## RubyVM::AbstractSyntaxTree [Experimental] + +Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されました。 + +このモジュールには、文字列をパースしてAST(抽象構文木)のNodeを返す`parse`メソッド、ファイルをパースする`parse_file`メソッドが実装されています。 +`RubyVM::AbstractSyntaxTree::Node` も導入されました。このクラスのインスタンスから位置情報や子ノードを取得することができます。この機能はexperimentalです。また、ASTの構造に関する互換性は保証されていません。 + +## 新機能 + +* `Kernel#yield_self` の別名として `then` が追加されました [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `rescue` 無しの `else` が文法エラーとなるようになりました [EXPERIMENTAL] + +* ASCII以外の大文字でも定数を定義出来るようになりました [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 終端なしRange [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 終端なしRange `(1..)` が導入されました。これは終端を持ちません。これが典型的な用途です: + + ary[1..] # マジックナンバー -1 なしで ary[1..-1] と同じ意味 + (1..).each {|index| ... } # index が 1 から始まる無限ループ + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location` の追加 [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)、この新しいメソッドを用いることが今後は推奨されます。 + +* `Kernel#system` の失敗時に、falseを返す代わりに例外を上げさせる `:exception` オプションを追加 [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Coverage の oneshot_lines モードの追加 [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * This mode checks "whether each line was executed at least once or not", instead of "how many times each line was executed". A hook for each line is fired at most once, and after it is fired the hook flag is removed, i.e., it runs with zero overhead. + * Add `:oneshot_lines` keyword argument to Coverage.start. + * Add `:stop` and `:clear` keyword arguments to Coverage.result. If `clear` is true, it clears the counters to zero. If `stop` is true, it disables coverage measurement. + * Coverage.line_stub, which is a simple helper function that creates the "stub" of line coverage from a given source code. + +* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## パフォーマンスの改善 + +* 後述の`$SAFE`の変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212)。 +* `block` がブロックパラメータである時、`block.call`が高速化されました [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + Ruby 2.5ではブロック渡しの性能が改善されましたが [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045)、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 + マイクロベンチマークにおいては2.6倍高速化されています。 +* Transient Heap (theap) is introduced. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + theap is managed heap for short-living memory objects which are pointed by + specific classes (Array, Hash, Object, and Struct). For example, making small + and short-living Hash object is x2 faster. With rdoc benchmark, we observed + 6-7% performance improvement. + +## その他の注目すべき 2.5 からの変更点 + +* `$SAFE` はプロセスグローバルで扱われることになると共に、`0`以外を設定した後に`0`に戻せるようになりました [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) +* `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) +* サポートする Unicode のバージョンを 11 に更新しました。Ruby 2.6 では今後の TEENY リリースで、12 そして 12.1 への更新が予定されています。 +* RubyGems 3.0.0.beta3 をマージしました。 `--ri` と `--rdoc` オプションは使えなくなりました。`--document` または `--no-document` を利用してください。 +* [Bundler](https://github.com/bundler/bundler) を Default gems として標準添付しました。 + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1)を参照してください。 + +なお、こうした変更により、Ruby 2.5.0 以降では [6376 個のファイルに変更が加えられ、227364 行の追加と 51599 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) ! + +みなさんもRuby 2.6.0-rc1で楽しいプログラミングを! + +## Download + +* + + SIZE: 16823448 bytes + SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 + SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 +4d77967a59e304353cde4a915537e7c4e4ee20be73 +* + + SIZE: 20737499 bytes + SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 + SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a +* + + SIZE: 14607078 bytes + SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e + SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 +* + + SIZE: 11851908 bytes + SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e + SHA256: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + SHA512: 3d93d8d80e4900e8b3a27f904ed60581cebc6c55f4ab7acafc81e95001f92f3ea4ddec2da6169b1ed5e0146f7b7c35c1c13b3243955d5825c72170834fe933f3 From b09acaf2f1e8b45f199f20f830ca3387060b467d Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Fri, 7 Dec 2018 01:58:50 +0900 Subject: [PATCH 0285/2563] fix url --- en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 8 ++++---- ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index b185967a8a..6e85b61933 100644 --- a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -111,26 +111,26 @@ Enjoy programming with Ruby 2.6.0-rc1! ## Download -* +* SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 4d77967a59e304353cde4a915537e7c4e4ee20be73 -* +* SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a -* +* SIZE: 14607078 bytes SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 -* +* SIZE: 11851908 bytes SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e diff --git a/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index f7a954e107..e900f0ed77 100644 --- a/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -93,26 +93,26 @@ Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されまし ## Download -* +* SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 4d77967a59e304353cde4a915537e7c4e4ee20be73 -* +* SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a -* +* SIZE: 14607078 bytes SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 -* +* SIZE: 11851908 bytes SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e From 93b65db83e16ad070e8997a6f11c2c7021aa2aeb Mon Sep 17 00:00:00 2001 From: Shannon Skipper Date: Thu, 6 Dec 2018 16:55:00 -0800 Subject: [PATCH 0286/2563] Fix ruby-2.6.0-rc1 announcement file exts (en, ja) (#1911) --- en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 6 +++--- ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 6e85b61933..30259cd841 100644 --- a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -111,14 +111,14 @@ Enjoy programming with Ruby 2.6.0-rc1! ## Download -* +* SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 4d77967a59e304353cde4a915537e7c4e4ee20be73 -* +* SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 @@ -130,7 +130,7 @@ Enjoy programming with Ruby 2.6.0-rc1! SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 -* +* SIZE: 11851908 bytes SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e diff --git a/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index e900f0ed77..ba84fb78da 100644 --- a/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -93,14 +93,14 @@ Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されまし ## Download -* +* SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 4d77967a59e304353cde4a915537e7c4e4ee20be73 -* +* SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 @@ -112,7 +112,7 @@ Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されまし SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 -* +* SIZE: 11851908 bytes SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e From 4396c61b38868b92aa40ee22a761d099ca390dee Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Fri, 7 Dec 2018 09:16:57 +0900 Subject: [PATCH 0287/2563] Fix candidate version number (en) --- en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 30259cd841..d6fc41544c 100644 --- a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -9,8 +9,8 @@ lang: en We are pleased to announce the release of Ruby 2.6.0-rc1. -Ruby 2.6.0-rc1 is the third preview toward Ruby 2.6.0. -This rc1 is released to test new features before coming Release Candidate. +Ruby 2.6.0-rc1 is the first release candidate of Ruby 2.6.0. +It introduces some new features and performance improvements, for example: ## JIT From e10ba235d53ffdf0a1121e5ab5ece400f3af77e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Fri, 7 Dec 2018 13:34:15 -0500 Subject: [PATCH 0288/2563] Fixing urls after https://github.com/ruby/www.ruby-lang.org/pull/1907/files --- es/news/_posts/2018-11-08-snap.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/es/news/_posts/2018-11-08-snap.md b/es/news/_posts/2018-11-08-snap.md index 854fbd2439..02ee3a9cc6 100644 --- a/es/news/_posts/2018-11-08-snap.md +++ b/es/news/_posts/2018-11-08-snap.md @@ -9,7 +9,7 @@ lang: es Publicado el paquete snap oficial del lenguaje Ruby. -https://snapcraft.io/ruby + Snap es un sistema de paquetes desarrollado por Canonical. Le permite distribuir un programa con sus dependencias para muchas distribuciones de Linux diferentes. Esto resuelve el problema de los usuarios que no pueden instalar la versión más reciente de Ruby del repositorio por omisión de su sistema con rpm o apt. @@ -19,7 +19,7 @@ En Ubuntu 16.04 o posterior, puede usar el snap de Ruby con el siguiente comando sudo snap install ruby --classic ``` -(Si usa otras distribuciones de Linux, por favor consulte https://docs.snapcraft.io/installing-snapd/6735) +(Si usa otras distribuciones de Linux, por favor consulte ) Nuestro snap usa la característica "channel" para publicar varias series de Ruby de manera concurrente. Por ejemplo, si no se especifica un canal, se instalará la versión 2.5.3. Pero si desea usar Ruby 2.4, especifique el canal 2.4 así: @@ -42,6 +42,6 @@ eval `ruby.env` Como `$HOME/.gem` es compartido por diversas versiones, si cambia la versión de ruby y la usa, necesitará recompilar las extensiones de C usando el comando `gem pristine --extensions`. -La versión inicial del snap oficial de Ruby ha sido publicada durante la cumbre de Snapcraft, que se llevó a cabo en las oficinas de Canonical en Londres el 6.Nov.2018. Toda retroalimentacioń es bienvenida en https://github.com/ruby/snap.ruby. +La versión inicial del snap oficial de Ruby ha sido publicada durante la cumbre de Snapcraft, que se llevó a cabo en las oficinas de Canonical en Londres el 6.Nov.2018. Toda retroalimentacioń es bienvenida en . ¡Disfrutelo! From 688e5e907c1feee17cf0dacf14f0318fcb5cb329 Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 9 Dec 2018 16:30:56 +0900 Subject: [PATCH 0289/2563] [KO] Remove MacRuby from about page (#1918) Follow up https://github.com/ruby/www.ruby-lang.org/pull/1836 --- ko/about/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/ko/about/index.md b/ko/about/index.md index 7645f25275..7f901e45eb 100644 --- a/ko/about/index.md +++ b/ko/about/index.md @@ -152,7 +152,6 @@ MRI가 지원하지 않는 특별한 기능을 가지거나 합니다. 그리고 다양한 라이브러리 집합을 활용합니다. * [Rubinius][rubinius]는 ‘루비로 쓰여진 루비’입니다. LLVM 위에 구축되어, Rubinius는 다른 언어 역시 구축된 멋진 가상 기기 위에서 활동합니다. -* [MacRuby][macruby]는 macOS를 위한 애플의 Cocoa 라이브러리에 강력하게 통합된 루비로, 손쉽게 데스크톱 응용프로그램을 작성할 수 있도록 해줍니다. * [mruby][mruby]는 루비의 경량 구현체로 애플리케이션 안에 링크되거나 포함시킬 수 있습니다. 루비의 창시자인 유키히로 “Matz” 마츠모토가 개발을 이끌고 있습니다. * [IronRuby][ironruby]는 “.NET Framework과 강력하게 통합된” 구현체입니다. @@ -183,7 +182,6 @@ MRI가 지원하지 않는 특별한 기능을 가지거나 합니다. [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io From 117e4b62ae59b52b2b098ec4b1d84a8ba671c1b1 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Tue, 11 Dec 2018 17:21:17 +0900 Subject: [PATCH 0290/2563] Translate Ruby 2.6.0-rc1 Released (zh_cn) --- ...2018-11-06-ruby-2-6-0-preview3-released.md | 10 +- .../2018-12-06-ruby-2-6-0-rc1-released.md | 121 ++++++++++++++++++ 2 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md diff --git a/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index 799373e972..bf232eb485 100644 --- a/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -54,6 +54,14 @@ Ruby 2.6 引入了 `RubyVM::AST` 模块。 * 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) +* 新增 oneshot 模式 [[功能 #15022]](https://bugs.ruby-lang.org/issues/15022) + * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 + * 为 `Coverage.start` 方法新增 `:oneshot_lines` 关键字参数。 + * 为 `Coverage.result` 方法新增 `:stop` 和 `:clear` 关键字参数。如果 `clear` 被设置为 true,它会清空计数器。如果 `stop` 被设置为 true,它会禁用覆盖测量。 + * 新增 `Coverage.line_stub`,其为从源代码新建代码覆盖存根(stub)提供了一个简单的帮助函数。 + +* `FileUtils#cp_lr`. [[功能 #4189]](https://bugs.ruby-lang.org/issues/4189) + ## 性能提升 * 提升 `Proc#call` 的速度,因为我们无需再关心 `$SAFE`。[[功能 #14318]](https://bugs.ruby-lang.org/issues/14318) @@ -64,7 +72,7 @@ Ruby 2.6 引入了 `RubyVM::AST` 模块。 Ruby 2.5 提升了代码块传递的性能。[[功能 #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。 -* 引入了瞬态堆 (theap)。 [Bug #14858] [Feature #14989] 瞬态堆是用于管理指向特定类(Array, Hash, Object 和 Struct)短生命周期内存对象的堆。例如,创建小而短生命周期的哈希对象的速度提升到了 2 倍快。根据 rdoc benchmark,我们观察到了 6% 到 7% 的性能提升。 +* 引入了瞬态堆 (theap)。 [[漏洞 #14858]](https://bugs.ruby-lang.org/issues/14858) [[功能 #14989]](https://bugs.ruby-lang.org/issues/14989) 瞬态堆是用于管理指向特定类(Array、Hash、Object 和 Struct)短生命周期内存对象的堆。例如,创建小而短生命周期的哈希对象的速度提升到了 2 倍快。根据 rdoc benchmark,我们观察到了 6% 到 7% 的性能提升。 ## 其他自 2.5 以来的重要变化 diff --git a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md new file mode 100644 index 0000000000..09f06fc4a4 --- /dev/null +++ b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -0,0 +1,121 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc1 已发布" +author: "naruse" +translator: Delton Ding +date: 2018-12-06 00:00:00 +0000 +lang: zh_cn +--- + +我们高兴地宣布 Ruby 2.6.0-rc-1 已发布。 + +Ruby 2.6.0-rc1 是 Ruby 2.6.0 的第一个候选版本。此版本包括数个新特性和性能提升,例如: + +## JIT +Ruby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 + +JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语言中常见的 JIT 编译器,Ruby 的 JIT 编译器进行 JIT 编译的过程非常独特。其将生成的 C 代码打印至磁盘并 spawn 常见的 C 编译器进行代码的生成工作。详见:[Vladimir Makarov 的 MJIT 组织](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 + +如何使用:在命令行或 `$RUBYOPT` 环境变量中指定 `--jit` 参数。指定 `--jit-verbose=1` 将允许打印 JIT 编译过程中的调试信息。详见 `ruby --help` 查看更多其他选项。 + +此 JIT 发布的主要目的是检查平台的兼容性,以及在 2.6 版本发布前找出安全风险。目前 JIT 编译器只当 Ruby 由 gcc clang 或 Microsoft VC++ 编译后,编译器仍可被运行时发现时可用,除此之外你暂时无法使用 JIT。 + +Ruby 2.6.0-rc1 在使用 CPU 密集型场景下的复杂 Bemchmark Optcarrot 进行测试后,比起 Ruby 2.5 取得了 1.7 倍的性能提升。我们会进一步提升其在内存密集型场景,例如 Rails 应用中的性能。 + +请保持对 Ruby 新时代性能的关注。 + +## RubyVM::AbstractSyntaxTree [试验性] + +Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模块。 + +此模块提供 `parse` 方法,传入 Ruby 代码字符串,返回 AST(抽象语法树)节点。而 `parse_file` 方法则接受一个 Ruby 代码文件作为参数,返回 AST 节点。 + +同时引入了 `RubyVM::AbstractSyntaxTree::Node` 类,你可以从 `Node` 对象中获取位置信息和子节点。此功能尚处于实验性质,对于 AST 节点的兼容性不做保证。 + +## 新特性 + +* 为 `Kernel#yield_self` 添加了新别名 `then`。[[功能 #14594]](https://bugs.ruby-lang.org/issues/14594) + +* 不含 `rescue` 的 `else` 现在会引起语法错误。[实验性质] + +* 常量名现在可以以非 ASCII 大写字母开头。[[功能 #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 无限范围 [[功能 #12912]](https://bugs.ruby-lang.org/issues/12912) + + 引入了无限范围 `(1..)`。这个范围没有终点,以下是使用场景的举例。 + + ary[1..] # 等价于 ary[1..-1] 而不需要魔法的 -1 + (1..).each {|index| ... } # 从 1 开始的无限循环 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 `Binding#source_location`。[[功能 #14230]](https://bugs.ruby-lang.org/issues/14230) + + 此方法以一个二元组数组 `__FILE__` 和 `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [[漏洞 #4352]](https://bugs.ruby-lang.org/issues/4352)。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 + +* 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) + +* 新增 oneshot 模式 [[功能 #15022]](https://bugs.ruby-lang.org/issues/15022) + * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 + * 为 `Coverage.start` 方法新增 `:oneshot_lines` 关键字参数。 + * 为 `Coverage.result` 方法新增 `:stop` 和 `:clear` 关键字参数。如果 `clear` 被设置为 true,它会清空计数器。如果 `stop` 被设置为 true,它会禁用覆盖测量。 + * 新增 `Coverage.line_stub`,其为从源代码新建代码覆盖存根(stub)提供了一个简单的帮助函数。 + +* `FileUtils#cp_lr`. [[功能 #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 性能提升 + +* 提升 `Proc#call` 的速度,因为我们无需再关心 `$SAFE`。[[功能 #14318]](https://bugs.ruby-lang.org/issues/14318) + + 通过 `lc_fizzbuzz` 多次使用 `Proc#call` 的 benchmark 我们测量到了 1.4 倍性能提升 [[漏洞 #10212]]((https://bugs.ruby-lang.org/issues/10212))。 + +* 提升了当 `block` 是代码块参数时 `block.call` 的性能。[[功能 #14330]]((https://bugs.ruby-lang.org/issues/14330)) + + Ruby 2.5 提升了代码块传递的性能。[[功能 #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。 + +* 引入了瞬态堆 (theap)。 [[漏洞 #14858]](https://bugs.ruby-lang.org/issues/14858) [[功能 #14989]](https://bugs.ruby-lang.org/issues/14989) 瞬态堆是用于管理指向特定类(Array、Hash、Object 和 Struct)短生命周期内存对象的堆。例如,创建小而短生命周期的哈希对象的速度提升到了 2 倍快。根据 rdoc benchmark,我们观察到了 6% 到 7% 的性能提升。 + +## 其他自 2.5 以来的重要变化 + +* `$SAFE` 成为了进程全局状态,我们可以再次将其设为 `0`。[[功能 #14250]](https://bugs.ruby-lang.org/issues/14250) + +* 不再建议将 `safe_level` 参数传递给 `ERB.new` 的行为。`trim_mode` 和 `eoutvar` 参数被转换成了关键词参数。[[功能 #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 升级支持的 Unicode 版本至 11。我们计划在未来 Ruby 2.6 的小更新中升级至 12 和 12.1。 + +* 合并 RubyGems 3.0.0.beta3,`--ri` 和 `--rdoc` 选项已被移除。请使用 `--document` 和 `--no-document` 选项来替代他们。 + +* 合并 [Bundler](https://github.com/bundler/bundler) 作为默认 gem。 + +见 [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) 或 [提交日志](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) 以查看详情。 + +这些合并后,自 Ruby 2.5.0 已发生了 [6376 个文件变更,227364 行新增(+),51599 行删除(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1)! + +享受 Ruby 2.6.0-rc1 的编程吧! + +## 下载 + +* + + SIZE: 16823448 bytes + SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 + SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 +4d77967a59e304353cde4a915537e7c4e4ee20be73 +* + + SIZE: 20737499 bytes + SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 + SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a +* + + SIZE: 14607078 bytes + SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e + SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 +* + + SIZE: 11851908 bytes + SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e + SHA256: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + SHA512: 3d93d8d80e4900e8b3a27f904ed60581cebc6c55f4ab7acafc81e95001f92f3ea4ddec2da6169b1ed5e0146f7b7c35c1c13b3243955d5825c72170834fe933f3 From e7d2a14d6bc0f1df34e9bb072ba84e19f6d1fe21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Fri, 7 Dec 2018 14:03:26 -0500 Subject: [PATCH 0291/2563] Translation of 2018-11-29-fukuoka-ruby-award-2019.md (es) --- .../2018-11-29-fukuoka-ruby-award-2019.md | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 es/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md diff --git a/es/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/es/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md new file mode 100644 index 0000000000..6988c38b07 --- /dev/null +++ b/es/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -0,0 +1,67 @@ +--- +layout: news_post +title: "Fukuoka Ruby Award 2019 - Programas juzgados por Matz" +author: "Fukuoka Ruby" +translator: "vtamara" +date: 2018-11-29 00:00:00 +0000 +lang: es +--- + +Estimados Entusiastas de Ruby, + +Al gobierno de Fukuoka, Japón junto con "Matz" Matsumoto les gustaría +invitarlo a participar en la siguiente competencia de Ruby. +Si ha desarrollado un programa interesante en Ruby, lo animamos a competir. + +Fukuoka Ruby Award 2019 - Premio Mayor - 1 Millon de Yenes! + +Fecha límite para participar: Enero 31, 2019 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz y un grupo de panelistas elegirán los ganadores de la Competencia Fukuoka. El premio mayor de la Competencia Fukuoka es 1 millon de yenes. Los ganadores del premio mayor anteriores incluyen a Rhomobile (USA) y al Centro Climático APEC (Korea). + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +Los programas que entren en la competencia no tiene que estar escritos enteramente en Ruby pero deben aprovechar las ventajas de las características únicas de Ruby. + +Los proyectos deben haber sido desarrollados o completados en los últimos 12 meses para ser elegibles. Por favor visite el siguiente sitio web de Fukuoka para ver detalles adicionales o para ingresar: + +[http://www.digitalfukuoka.jp/events/185](http://www.digitalfukuoka.jp/events/185) +or +[http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc) + +Por favor envíe el formulario de aplicación por correo a award@f-ruby.com + +Este año, hay los siguientes premios especiales: + +El ganaor del Premio AWS recibirá: + +* Amazon Echo (sujeto a cambio) +* Consulta técnica sobre arquitectura AWS + +El ganador del Premio GMO Pebabo recibirá: + +* Lolipop! servicio de hospedaje compartido: suscripción gratuita por 10 años en el Plan Estándar, o cupon por JPY 100,0000 para el plan con medida de la Nube Administrada. +* Servicio de registro de Dominio DNS Muumuu: suscripción gratuita por 10 años a un dominio (por un dominio que cueste JPY 10,000 al año o menos) + +El ganador del premio IIJ GIO recibirá: + +* Cupón gratuito IIJ GIO equivalente a 500,000 yenes (Hasta por 6 meses) + +El ganador del Premio Money Forward recibirá: + +* cena con los contribuidores Ruby de Money Forward, +* un tiquete gratuito por 10 años para el plan premium de nuestro servicio de administración de finanzas personales "Money Forward". + +El ganador del Premio Salesforce recibirá: + +* productos novedosos de salesforce.com + +"Matz estará probando y evaluando su código fuente a fondo, +¡así que es muy significativo aplicar! La entrada a la +competencia es gratuita." + +Gracias! From ed6185f64c655600613438b30bd56e58deffd514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Fri, 7 Dec 2018 14:30:01 -0500 Subject: [PATCH 0292/2563] Translate 2018-12-06-ruby-2-6-0-rc1-released.md (es) --- .../2018-12-06-ruby-2-6-0-rc1-released.md | 157 ++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md diff --git a/es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md new file mode 100644 index 0000000000..4df6854850 --- /dev/null +++ b/es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -0,0 +1,157 @@ +--- +layout: news_post +title: "Publicado Ruby 2.6.0-rc1" +author: "naruse" +translator: "vtamara" +date: 2018-12-06 00:00:00 +0000 +lang: es +--- + +Nos complace anunciar la publicación de Ruby 2.6.0-rc1. + +Ruby 2.6.0-rc1 es el primer candidato a publicación de Ruby 2.6.0. +Introduce algunas características nuevas y mejoras en desempeño, por ejemplo: + +## JIT + +Ruby 2.6 introduce una implementación inicial de un compilador JIT +(Just-in-time). + +Un compilador JIT busca mejorar el desempeño de cualquier ejecución de un +programa en Ruby. +A diferencia de los compiladores JIT ordinarios para otros lenguajes, el +compilador JIT de Ruby hace la compilación JIT de manera única, +emitiendo código C en un disco y lanzando el proceso ordinario de +compilación en C para generar código nativo. +Ver también: [Organización MJIT por Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Forma de uso: Sólo especifique `--jit` en la línea de comandos o en la +variable de entorno `$RUBYOPT`. +Al especificar `--jit-verbose=1` se presentará información básica de la +compilación JIT. Vea más opciones con `ruby --help`. + +El propósito principal de esta versión JIT es darle oportunidad de +comprobar que funciona en su plataforma y encontrar riesgos de seguridad +antes de la versión 2.6. +El compilador JIT es soportado cuando Ruby se construye con GCC, Clang o +Microsoft VC++, que debe estar disponible en tiempo de ejecución. De +lo contrario no podrá usarlo por el momento. + +Con Ruby 2.6.0 preview3, hemos alcanzado una mejora en velocidad de 1.7 veces +sobre Ruby 2.5 con una carga de trabajo intensiva en el uso de la CPU, +denominada Optcarrot . +También vamos a mejorar el desempeño de cargas de trabajo intensivas en el +uso de memoria tales como las aplicaciones Rails. + +Este pendiente de la nueva era en el desempeño de Ruby. + +## RubyVM::AbstractSyntaxTree [Experimental] + +Ruby 2.6 introduce el módulo `RubyVM::AbstractSyntaxTree`. + +Este módulo tiene un método `parse` que puede reconocer código ruby en una cadena y retornar nodos del AST (Abstract Syntax Tree - Árbol de sintaxis abstracta), y el método `parse_file` que reconoce código ruby en un archivo y retorna los nodos del AST. +También se introduce la clase `RubyVM::AbstractSyntaxTree::Node`. Puede obtener información de la localización y los nodos hijos de objetos `Node`. Esta característica es experimental. No se garantiza compatibilidad de la estructura de los nodos AST. + + + +## Nuevas características + +* Se agregó el alias `then` a `Kernel#yield_self`. [[Característica #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` sin `rescue` ahora causa un error de sintaxis. [EXPERIMENTAL] + +* Los nombres de constantes pueden comenzar con una letra mayúscula fuera de la tabla ASCII. [[Característica #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Rangos no acotados [[Característica #12912]](https://bugs.ruby-lang.org/issues/12912) + + Se introduce un rango no acotado `(1..)`. Funciona como si no terminara. A continuación se presenta un uso típico: + + ary[1..] # igual a ary[1..-1] sin el mágico -1 + (1..).each {|index| ... } # ciclo infinito desde el índice 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Añadido `Binding#source_location`. [[Característica #14230]](https://bugs.ruby-lang.org/issues/14230) + + Este método retorna la localización en la fuente de una unión, un arreglo de 2 elementos `__FILE__` y `__LINE__`. Tradicionalmente, la misma información podría recuperarse con `eval("[__FILE__, __LINE__]", binding)`, pero planeamos cambiar este comportamiento para que `Kernel#eval` ignore la localización de uniones en las fuentes [[Falla #4352]](https://bugs.ruby-lang.org/issues/4352). Así que los usuarios deberían emplear este método recién introducido en lugar de `Kernel#eval`. + +* Añadida la opción `:exception` para que `Kernel.#system` lance un error en lugar de retornar `false`. [[Característica #14386]](https://bugs.ruby-lang.org/issues/14386) + + +* Agregado el modo oneshot [[Característica #15022]](https://bugs.ruby-lang.org/issues/15022) + * Este modo revisa "si cada línea fue ejecutada al menos una vez o no", en lugar de "cuantas veces fue ejecutada cada línea". Un gancho para cada línea es disparado al menos una vez, y después de que es disparado se elimina la bandera del gancho, i.e., corre sin gastos adicionales. + * Agregada el argumento de palabra clave `:oneshot_lines` a `Coverage.start`. + * Agregadas el argumento de palabra clave `:stop` y `:clear` a `Coverage.result`. Si `clear` es verdadero, deja el contador en cero. Si `stop` es verdadero, deshabilita las mediciones de cobertura. + * Coverage.line_stub, que es una función auixiliar que crea la "colilla" para cobertura de líneas de una código fuente dado. + +* `FileUtils#cp_lr`. [[Característica #4189]](https://bugs.ruby-lang.org/issues/4189) + + +## Mejoras en desempeño + +* Mejorada la velocidad de `Proc#call` porque ya no necesitamos preocuparnos por `$SAFE`. [[Característica #14318]](https://bugs.ruby-lang.org/issues/14318) + + Con la prueba de referencia `lc_fizzbuzz` que usa `Proc#call` repetidas veces podemos medir mejoras de 1.4 veces [[Falla #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Mejorada velocidad de `block.call` cuando `block` es un parámetro de + bloque pasado a una función. [[Característica #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 mejora el desempeño al pasar bloques. [[Característica #14045]](https://bugs.ruby-lang.org/issues/14045) + Además, Ruby 2.6 mejora el desempeño al llamar bloques pasados. + Con micro-pruebas de referencia podemos observar una mejora de 2.6 veces. + +* Se introduce la estructura de datos Montón transitorio (Transient Heap - theap). [[Falla #14858]](https://bugs.ruby-lang.org/issues/14858) [[Característica #14989]](https://bugs.ruby-lang.org/issues/14858) + theap es un montón usado para objetos en memoria de corta duración que son + apuntados por clases específicas (`Array`, `Hash`, `Object`, and `Struct`). + Por ejemplo, hacer objetos Hash pequeños y de corta duración es 2 veces + más rápido. Con la prueba de referencia rdoc, observamos una mejora en + desempeño de entre 6 y 7%. + + +## Otros cambios notables desde 2.5 + +* `$SAFE` es el estado global del proceso y podemos ponerlo nuevamente en `0`. [[Característica #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Es obsoleto pasar `safe_level` a `ERB.new`. Los argumentos `trim_mode` y `eoutvar` se cambian a argumentos de palabra clave (keyword arguments). [[Característica #14256]](https://bugs.ruby-lang.org/issues/14256) + +* La versión de Unicode soportada se ha actualizado a la 11. Se planea actualizar a 12 y 12.1 en las futuras versiones menores (TEENY) de Ruby 2.6. + +* Mezclado RubyGems 3.0.0.beta3. Se eliminaron las opciones `--ri` y `--rdoc`. Por favor use las opciones `--document` y `--no-document` en lugar de esas. + +* Mezclado [Bundler](https://github.com/bundler/bundler) como una gema por omisión. + +Vea detalles en [NOTICIAS](https://github.com/ruby/ruby/blob/v2_6_0_preview3/NEWS) +o en [la bitácora de commits](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_preview3). + +Con esos cambios, +[cambiaron 6376 archivos, 227364 inserciones(+), 51599 eliminaciones (-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +desde Ruby 2.5.0! + +Disfrute programar con Ruby 2.6.0-rc1! + +## Descargas + +* + + SIZE: 16823448 bytes + SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 + SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 +4d77967a59e304353cde4a915537e7c4e4ee20be73 +* + + SIZE: 20737499 bytes + SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 + SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a +* + + SIZE: 14607078 bytes + SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e + SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 +* + + SIZE: 11851908 bytes + SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e + SHA256: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + SHA512: 3d93d8d80e4900e8b3a27f904ed60581cebc6c55f4ab7acafc81e95001f92f3ea4ddec2da6169b1ed5e0146f7b7c35c1c13b3243955d5825c72170834fe933f3 From ee2f791f3a4511bfa07ba0f49caa67f092d09d60 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Sat, 15 Dec 2018 20:05:36 +0900 Subject: [PATCH 0293/2563] Ruby 2.6.0-rc2 Released --- _data/downloads.yml | 2 +- _data/releases.yml | 14 ++ .../2018-12-15-ruby-2-6-0-rc2-released.md | 137 ++++++++++++++++++ .../2018-12-15-ruby-2-6-0-rc2-released.md | 119 +++++++++++++++ 4 files changed, 271 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md create mode 100644 ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 6ce5f843f3..8e9fab33a5 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 2.6.0-rc1 + - 2.6.0-rc2 stable: diff --git a/_data/releases.yml b/_data/releases.yml index 490f5a5333..7f88679d53 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,20 @@ # 2.6 series +- version: 2.6.0-rc2 + date: 2018-12-15 + post: /en/news/2018/12/15/ruby-2-6-0-rc2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc2.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc2.zip + bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc2.tar.bz2 + xz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc2.tar.xz + sha256: + gz: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + zip: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + bz2: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + xz: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + - version: 2.6.0-rc1 date: 2018-12-07 post: /en/news/2018/12/07/ruby-2-6-0-rc1-released/ diff --git a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md new file mode 100644 index 0000000000..dcac1cab20 --- /dev/null +++ b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -0,0 +1,137 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc1 Released" +author: "naruse" +translator: +date: 2018-12-06 00:00:00 +0000 +lang: en +--- + +We are pleased to announce the release of Ruby 2.6.0-rc1. + +Ruby 2.6.0-rc1 is the first release candidate of Ruby 2.6.0. +It introduces some new features and performance improvements, for example: + +## JIT + +Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. + +JIT compiler aims to improve performance of any Ruby program execution. +Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native code. +See also: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +How to use: Just specify `--jit` in command line or `$RUBYOPT` environment variable. +Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT compilation. See `ruby --help` for other options. + +The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. +JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available on runtime. Otherwise you can't use it for now. + +As of Ruby 2.6.0-rc1, we achieved 1.7x faster performance than Ruby 2.5 on CPU-intensive non-trivial benchmark workload called Optcarrot . We're going to improve the performance on memory-intensive workload like Rails application as well. + +Stay tuned for the new age of Ruby's performance. + +## RubyVM::AbstractSyntaxTree [Experimental] + +Ruby 2.6 introduces `RubyVM::AbstractSyntaxTree` module. + +This module has `parse` method which parses a given ruby code of string and returns AST (Abstract Syntax Tree) nodes, and `parse_file` method which parses a given ruby code file and returns AST nodes. +`RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes are not guaranteed. + +## New Features + +* Add a new alias `then` to `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` without `rescue` now causes a syntax error. [EXPERIMENTAL] + +* constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* endless range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: + + ary[1..] # identical to ary[1..-1] without magical -1 + (1..).each {|index| ... } # inifinite loop from index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). So, users should use this newly-introduced method instead of `Kernel#eval`. + +* Add `:exception` option to let `Kernel#system` raise error instead of returning `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* add the oneshot mode [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * This mode checks "whether each line was executed at least once or not", instead of "how many times each line was executed". A hook for each line is fired at most once, and after it is fired the hook flag is removed, i.e., it runs with zero overhead. + * Add `:oneshot_lines` keyword argument to Coverage.start. + * Add `:stop` and `:clear` keyword arguments to Coverage.result. If `clear` is true, it clears the counters to zero. If `stop` is true, it disables coverage measurement. + * Coverage.line_stub, which is a simple helper function that creates the "stub" of line coverage from a given source code. + +* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## Performance improvements + +* Speedup `Proc#call` because we don't need to care about `$SAFE` any more. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure + x1.4 improvements [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Speedup `block.call` where `block` is passed block parameter. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 improves block passing performance. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Additionally, Ruby 2.6 improves the performance of passed block calling. + With micro-benchmark we can observe x2.6 improvement. + +* Transient Heap (theap) is introduced. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + theap is managed heap for short-living memory objects which are pointed by + specific classes (Array, Hash, Object, and Struct). For example, making small + and short-living Hash object is x2 faster. With rdoc benchmark, we observed + 6-7% performance improvement. + +## Other notable changes since 2.5 + +* `$SAFE` is a process global state and we can set `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Supported Unicode version is updated to 11. It is planed to update 12 and 12.1 in future TEENY releases of Ruby 2.6. + +* Merge RubyGems 3.0.0.beta3. `--ri` and `--rdoc` options was removed. Please use `--document` and `--no-document` options instead of them. + +* Merge [Bundler](https://github.com/bundler/bundler) as Default gems. + +See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) +or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +for details. + +With those changes, +[6376 files changed, 227364 insertions(+), 51599 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +since Ruby 2.5.0! + +Enjoy programming with Ruby 2.6.0-rc1! + +## Download + +* + + SIZE: 16723556 bytes + SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 + SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 +* + + SIZE: 20643747 bytes + SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 + SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c +* + + SIZE: 14581998 bytes + SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 + SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba +* + + SIZE: 11908088 bytes + SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 + SHA256: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + SHA512: a3dc43c0bc70dfdb9ff0d18b5b9797bbf332524f5d3bbb7940cf4e32286ca715808acfd11ebf3cdbe358a2466b7c6b5be3a7a784af7eb95c071fe1f8b4ab1261 diff --git a/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md new file mode 100644 index 0000000000..3b73499609 --- /dev/null +++ b/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -0,0 +1,119 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc1 Released" +author: "naruse" +translator: +date: 2018-12-06 00:00:00 +0000 +lang: ja +--- + +Ruby 2.6.0に向けた最初のリリース候補である、Ruby 2.6.0-rc1がリリースされました。 + +Ruby 2.6.0-rc1は、リリース前に出されるRelease Candidateに向けて最新の機能を試せるようにするためリリースされています。 + +## JIT + +Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 + +JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 +他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)) + +JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` を参照ください。 + +今回のリリースはこのJITコンパイル機能を皆さんの環境で動作を確認して頂くとともに、セキュリティ上の問題が無いかを早期に確認するために行っています。 +現在のJITコンパイラを利用するためには、GCC、Clang、あるいはMicrosoft VC++によってビルドされたRubyでかつ、そのコンパイラが実行時に利用可能である必要があります。 + +Ruby 2.6.0-rc1の時点で、OptcarrotというCPU負荷中心のベンチマークにおいてRuby 2.5の約1.7倍の性能向上を達成しました。 +Railsアプリケーションなどのメモリ負荷の高い環境における性能は現在改善中です。 + +引き続き新時代のRubyの実効性能にご期待ください。 + +## RubyVM::AbstractSyntaxTree [Experimental] + +Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されました。 + +このモジュールには、文字列をパースしてAST(抽象構文木)のNodeを返す`parse`メソッド、ファイルをパースする`parse_file`メソッドが実装されています。 +`RubyVM::AbstractSyntaxTree::Node` も導入されました。このクラスのインスタンスから位置情報や子ノードを取得することができます。この機能はexperimentalです。また、ASTの構造に関する互換性は保証されていません。 + +## 新機能 + +* `Kernel#yield_self` の別名として `then` が追加されました [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `rescue` 無しの `else` が文法エラーとなるようになりました [EXPERIMENTAL] + +* ASCII以外の大文字でも定数を定義出来るようになりました [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 終端なしRange [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 終端なしRange `(1..)` が導入されました。これは終端を持ちません。これが典型的な用途です: + + ary[1..] # マジックナンバー -1 なしで ary[1..-1] と同じ意味 + (1..).each {|index| ... } # index が 1 から始まる無限ループ + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location` の追加 [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)、この新しいメソッドを用いることが今後は推奨されます。 + +* `Kernel#system` の失敗時に、falseを返す代わりに例外を上げさせる `:exception` オプションを追加 [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Coverage の oneshot_lines モードの追加 [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * This mode checks "whether each line was executed at least once or not", instead of "how many times each line was executed". A hook for each line is fired at most once, and after it is fired the hook flag is removed, i.e., it runs with zero overhead. + * Add `:oneshot_lines` keyword argument to Coverage.start. + * Add `:stop` and `:clear` keyword arguments to Coverage.result. If `clear` is true, it clears the counters to zero. If `stop` is true, it disables coverage measurement. + * Coverage.line_stub, which is a simple helper function that creates the "stub" of line coverage from a given source code. + +* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## パフォーマンスの改善 + +* 後述の`$SAFE`の変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212)。 +* `block` がブロックパラメータである時、`block.call`が高速化されました [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + Ruby 2.5ではブロック渡しの性能が改善されましたが [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045)、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。 + マイクロベンチマークにおいては2.6倍高速化されています。 +* Transient Heap (theap) is introduced. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + theap is managed heap for short-living memory objects which are pointed by + specific classes (Array, Hash, Object, and Struct). For example, making small + and short-living Hash object is x2 faster. With rdoc benchmark, we observed + 6-7% performance improvement. + +## その他の注目すべき 2.5 からの変更点 + +* `$SAFE` はプロセスグローバルで扱われることになると共に、`0`以外を設定した後に`0`に戻せるようになりました [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) +* `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) +* サポートする Unicode のバージョンを 11 に更新しました。Ruby 2.6 では今後の TEENY リリースで、12 そして 12.1 への更新が予定されています。 +* RubyGems 3.0.0.beta3 をマージしました。 `--ri` と `--rdoc` オプションは使えなくなりました。`--document` または `--no-document` を利用してください。 +* [Bundler](https://github.com/bundler/bundler) を Default gems として標準添付しました。 + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1)を参照してください。 + +なお、こうした変更により、Ruby 2.5.0 以降では [6376 個のファイルに変更が加えられ、227364 行の追加と 51599 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) ! + +みなさんもRuby 2.6.0-rc1で楽しいプログラミングを! + +## Download + +* + + SIZE: 16723556 bytes + SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 + SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 +* + + SIZE: 20643747 bytes + SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 + SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c +* + + SIZE: 14581998 bytes + SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 + SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba +* + + SIZE: 11908088 bytes + SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 + SHA256: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + SHA512: a3dc43c0bc70dfdb9ff0d18b5b9797bbf332524f5d3bbb7940cf4e32286ca715808acfd11ebf3cdbe358a2466b7c6b5be3a7a784af7eb95c071fe1f8b4ab1261 From 55e062dd6d63a4824c311b6c0543cb00008e562a Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Sat, 15 Dec 2018 20:12:29 +0900 Subject: [PATCH 0294/2563] fix url and so on --- .../2018-12-15-ruby-2-6-0-rc2-released.md | 29 ++++++++++--------- .../2018-12-15-ruby-2-6-0-rc2-released.md | 25 ++++++++-------- 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index dcac1cab20..9c63cd6bfe 100644 --- a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -1,15 +1,16 @@ --- layout: news_post -title: "Ruby 2.6.0-rc1 Released" +title: "Ruby 2.6.0-rc2 Released" author: "naruse" translator: -date: 2018-12-06 00:00:00 +0000 +date: 2018-12-15 00:00:00 +0000 lang: en --- -We are pleased to announce the release of Ruby 2.6.0-rc1. +We are pleased to announce the release of Ruby 2.6.0-rc2. -Ruby 2.6.0-rc1 is the first release candidate of Ruby 2.6.0. +Ruby 2.6.0-rc2 is the second release candidate of Ruby 2.6.0. +RC2 is released to test bundled Bundler 1.17 instead of 2.0. It introduces some new features and performance improvements, for example: ## JIT @@ -26,7 +27,7 @@ Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT co The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available on runtime. Otherwise you can't use it for now. -As of Ruby 2.6.0-rc1, we achieved 1.7x faster performance than Ruby 2.5 on CPU-intensive non-trivial benchmark workload called Optcarrot . We're going to improve the performance on memory-intensive workload like Rails application as well. +As of Ruby 2.6.0-rc2, we achieved 1.7x faster performance than Ruby 2.5 on CPU-intensive non-trivial benchmark workload called Optcarrot . We're going to improve the performance on memory-intensive workload like Rails application as well. Stay tuned for the new age of Ruby's performance. @@ -41,7 +42,7 @@ This module has `parse` method which parses a given ruby code of string and retu * Add a new alias `then` to `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) -* `else` without `rescue` now causes a syntax error. [EXPERIMENTAL] +* `else` without `rescue` now causes a syntax error. [EXPERIMENTAL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) * constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) @@ -99,37 +100,37 @@ This module has `parse` method which parses a given ruby code of string and retu * Merge [Bundler](https://github.com/bundler/bundler) as Default gems. -See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) -or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS) +or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) for details. With those changes, -[6376 files changed, 227364 insertions(+), 51599 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +[6411 files changed, 228864 insertions(+), 97600 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) since Ruby 2.5.0! -Enjoy programming with Ruby 2.6.0-rc1! +Enjoy programming with Ruby 2.6.0-rc2! ## Download -* +* SIZE: 16723556 bytes SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 -* +* SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c -* +* SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba -* +* SIZE: 11908088 bytes SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 diff --git a/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 3b73499609..081264d3d9 100644 --- a/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -1,15 +1,16 @@ --- layout: news_post -title: "Ruby 2.6.0-rc1 Released" +title: "Ruby 2.6.0-rc2 Released" author: "naruse" translator: -date: 2018-12-06 00:00:00 +0000 +date: 2018-12-15 00:00:00 +0000 lang: ja --- -Ruby 2.6.0に向けた最初のリリース候補である、Ruby 2.6.0-rc1がリリースされました。 +Ruby 2.6.0に向けた二番目のリリース候補である、Ruby 2.6.0-rc2がリリースされました。 + +Ruby 2.6.0-rc2 は添付する Bundler のバージョンを 2.0 から 1.17 にダウングレードしています。 -Ruby 2.6.0-rc1は、リリース前に出されるRelease Candidateに向けて最新の機能を試せるようにするためリリースされています。 ## JIT @@ -39,7 +40,7 @@ Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されまし * `Kernel#yield_self` の別名として `then` が追加されました [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) -* `rescue` 無しの `else` が文法エラーとなるようになりました [EXPERIMENTAL] +* `rescue` 無しの `else` が文法エラーとなるようになりました [EXPERIMENTAL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) * ASCII以外の大文字でも定数を定義出来るようになりました [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) @@ -85,33 +86,33 @@ Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されまし * RubyGems 3.0.0.beta3 をマージしました。 `--ri` と `--rdoc` オプションは使えなくなりました。`--document` または `--no-document` を利用してください。 * [Bundler](https://github.com/bundler/bundler) を Default gems として標準添付しました。 -その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1)を参照してください。 +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2)を参照してください。 -なお、こうした変更により、Ruby 2.5.0 以降では [6376 個のファイルに変更が加えられ、227364 行の追加と 51599 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) ! +なお、こうした変更により、Ruby 2.5.0 以降では [6411 個のファイルに変更が加えられ、228864 行の追加と 97600 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) ! -みなさんもRuby 2.6.0-rc1で楽しいプログラミングを! +みなさんもRuby 2.6.0-rc2で楽しいプログラミングを! ## Download -* +* SIZE: 16723556 bytes SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 -* +* SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c -* +* SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba -* +* SIZE: 11908088 bytes SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 From 3040463f7ceb8b63f1243413bffe6b90a431958c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Sat, 15 Dec 2018 13:38:06 +0100 Subject: [PATCH 0295/2563] Translate 2.6.0-rc1 post (de) --- .../2018-12-06-ruby-2-6-0-rc1-released.md | 197 ++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md diff --git a/de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md new file mode 100644 index 0000000000..71a60b4de2 --- /dev/null +++ b/de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -0,0 +1,197 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc1 veröffentlicht" +author: "naruse" +translator: "Marvin Gülker" +date: 2018-12-06 00:00:00 +0000 +lang: de +--- + +Wir freuen uns, die Freigabe von Ruby 2.6.0-rc1 ankündigen zu können. + +Ruby 2.6.0-rc1 ist die erste Vorschau auf Ruby 2.6.0. Sie enthält +einige neue Features sowie Performanzverbesserungen, beispielsweise: + +## JIT + +Ruby 2.6 führt erstmals einen JIT-Compiler _(Just in Time Compiler)_ ein. + +Der JIT-Compiler soll die allgemeine Performanz aller Ruby-Programme +verbessern. Rubys JIT-Compiler arbeitet anders als herkömmliche +JIT-Compiler für andere Programmiersprachen, denn er schreibt C-Code +auf die Festplatte und startet dann einen gewöhnlichen +C-Compiler-Prozess, um Maschinencode zu erzeugen. Siehe dazu auch: +[Die Funktionsweise von MJIT von Wladimir Makarow](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Um den JIT zu benutzen, geben Sie `--jit` als Kommandozeilenoption +oder in der Umgebungsvariablen `$RUBYOPT` an. Bei Angabe von +`--jit-verbose=1` werden Informationen über die laufende +JIT-Kompilation ausgegeben. Siehe auch `ruby --help` für weitere +Optionen. + +Diese Veröffentlichung soll Ihnen Gelegenheit geben, zu überprüfen, ob +der JIT auf Ihrer Plattform funktioniert. Außerdem soll eine Prüfung +auf Sicherheitsprobleme noch vor der Freigabe von 2.6 ermöglicht +werden. Der JIT-Compiler wird derzeit nur unterstützt, wenn Ruby mit +GCC, Clang oder Microsoft VC++ gebaut wird und der Compiler auch +während des Programmablaufs verfügbar ist. Ansonsten können Sie ihn +momentan leider nicht verwenden. + +Mit Stand Ruby 2.6.0-rc1 haben wir eine 1,7-fache Verbesserung +der Performanz gegenüber Ruby 2.5 bei einem CPU-intensiven, +nicht-trivialen Belastungstest namens Optcarrot +festgestellt. Wir werden darüber hinaus auch die Performanz von +speicherhungrigen Anwendungen wie solchen auf Rails-Basis verbessern. + +Machen Sie sich bereit für eine neue Ära von Rubys Performanz. + +## RubyVM::AbstractSyntaxTree [Experimentell] + +Ruby 2.6 führt das Modul `RubyVM::AbstractSyntaxTree` ein. + +Dieses Modul verfügt über die Methoden `parse`, die den als String +übergenen Ruby-Code verarbeitet und eine Liste von Knoten des ASTs +_(Abstract Syntax Tree)_ zurückgibt, und `parse_file`, die die +übergebene Ruby-Quelldatei auf ähnliche Weise verarbeitet und +ebenfalls AST-Knoten zurückgibt. + +Weiterhin wird die ebenfalls experimentelle Klasse `RubyVM::AbstractSyntaxTree::Node` +eingeführt. Mithilfe von `Node`-Objekten können die Positionsinformationen und +Angaben über Kindknoten ermittelt werden. Eine Kompatibilität der +Struktur von AST-Knoten kann derzeit nicht gewährleistet werden. + +## Neue Features + +* Neuer alias `then` für `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` ohne `rescue` verursacht einen Syntaxfehler. [EXPERIMENTELL] + +* Konstantennamen können auch mit Großbuchstaben außerhalb des + ASCII-Zeichensatzes beginnen. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Endlos-Range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + Es wird ein Endlos-Range `(1..)` eingeführt, der über kein Ende + verfügt. Typische Anwendungsfälle sehen wie folgt aus: + + ary[1..] # identisch zu ary[1..-1] ohne magische -1 + (1..).each {|index| ... } # Endlosschleife ab Index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location` hinzugefügt. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + Diese Methode gibt ein 2-Element-Array mit den Bestandteilen + `__FILE__` und `__LINE__` zurück, die beschreiben, an welcher Stelle + im Quelltext ein Binding definiert wurde. Dieselbe Information + konnte bisher über `eval("[__FILE__, __LINE__]", binding)` ermittelt + werden, allerdings planen wir, dieses Verhalten so zu ändern, dass + `Kernel#eval` den Definitionsort eines `binding` ignoriert [[Bug + #4352]](https://bugs.ruby-lang.org/issues/4352). Nutzern wird + deshalb empfohlen, auf diese neu eingeführte Methode umzusteigen. + +* Option `:exception` zu `Kernel.#system` hinzugefügt. Diese Option + führt dazu, dass #system statt `false` zurückzugeben einen Fehler + verursacht. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Einmal-Modus _(oneshot mode)_ + hinzugefügt. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * Anstelle von „wie oft wurde eine bestimmte Zeile ausgeführt“, + prüft dieser Modus, „ob jede Zeile wenigstens einmal oder gar + nicht ausgeführt wurde“. Der entsprechende Hook wird für jede + Zeile höchstens einmal ausgeführt. Nach seinem Abschluss wird die + entsprechende Flagge entfernt, d.h. das Programm läuft danach + ohne geschwindigkeitsrelevante Einschränkungen. + * Schlüsselwortargument `:oneshot_lines` zu Coverage.start + hinzugefügt. + * Schlüsselwortargumente `:stop` und `:clear` zu Coverage.result + hinzugefügt. Wenn `clear` wahr ist, setzt es den Zähler auf Null + zurück. Wenn `:stop` wahr ist, wird die Abdeckungsmessung + ausgeschaltet. + * `Coverage.line_stub` hinzugefügt. Es handelt sich um eine einfache + Hilfsfunktion, die eine kurze Zusammenfassung der Zeilenabdeckung + des übergebenen Quellcodes erzeugt. +* `FileUtils#cp_lr` hinzugefügt. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## Performanzverbesserungen + +* `Proc#call` beschleunigt, weil wir uns nicht mehr um `$SAFE` kümmern + müssen. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Mithilfe des `lc_fizzbuzz`-Benchmarks, das sehr häufig `Proc#call` + benutzt, haben wir eine 1,4-fache Beschleunigung gemessen. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block.call` beschleunigt, wenn `block` als Block-Parameter + übergeben wird. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Bereits Ruby 2.5 verbessert die Performanz bei der Übergabe von + Blöcken. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Mit Ruby 2.6 wird auch der Aufruf von übergebenen Blöcken + beschleunigt, sodass wir im Mikro-Benchmark eine 2,6-fache + Beschleunigung messen konnten. + +* Es wird ein flüchtiger Heap _(transient heap, theap)_ + eingeführt [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989). Dabei handelt es sich um + einen automatisch verwalteten Freispeicher für kurzlebige Objekte im + Speicher, auf welche von bestimmten Klassen (Array, Hash, Object und + Struct) verwiesen wird. Dies führt beispielsweise dazu, dass die + Erstellung kleiner und kurzlebiger Hash-Objekte doppelt so schnell + ist. Im RDoc-Belastungstest haben wir eine 6- bis 7-prozentige + Performanzverbesserung festgestellt. + +## Sonstige bemerkenswerte Änderungen seit 2.5 + +* `$SAFE` ist ein prozess-globaler Zustand und kann wieder auf `0` gesetzt + werden. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Die Übergabe von `safe_level` an `ERB.new` ist als veraltet + markiert worden. Die Parameter `trim_mode` und `eoutvar` wurden in + Schlüsselwortargumente geändert. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Ruby unterstützt jetzt Unicode in Version 11. Es ist geplant, die + Versionen 12 und 12.1 in zukünftigen TEENY-Veröffentlichungen von + Ruby 2.6 zu unterstützen. + +* RubyGems 3.0.0.beta3 aufgenommen. Die Optionen `--ri` und `--rdoc` + wurden entfernt. Benutzen Sie stattdessen `--document` und + `--no-document`. + +* [Bundler](https://github.com/bundler/bundler) wird standardmäßig + mitgeliefert. + +Siehe die [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) +oder die [Commit-Logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +für weitere Details. + +Mit diesen Änderungen wurden +[6376 Dateien geändert, 227364 Einfügungen(+), 51599 Löschungen(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +seit Ruby 2.5.0! + +Viel Spaß mit der Programmierung mit Ruby 2.6.0-rc1! + +## Download + +* + + SIZE: 16823448 bytes + SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 + SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 +4d77967a59e304353cde4a915537e7c4e4ee20be73 +* + + SIZE: 20737499 bytes + SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 + SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a +* + + SIZE: 14607078 bytes + SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e + SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 +* + + SIZE: 11851908 bytes + SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e + SHA256: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + SHA512: 3d93d8d80e4900e8b3a27f904ed60581cebc6c55f4ab7acafc81e95001f92f3ea4ddec2da6169b1ed5e0146f7b7c35c1c13b3243955d5825c72170834fe933f3 From 0a656877802e352b3d333c8e77fd9d32358db2a3 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 15 Dec 2018 21:09:40 +0100 Subject: [PATCH 0296/2563] Add newlines --- en/documentation/installation/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index cb8a6c706a..f044fdb98a 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -69,6 +69,7 @@ versions instead of the latest release. To use the latest Ruby release, check that the package name matches its version number. Or use a dedicated [installer][installers]. + ### apt (Debian or Ubuntu) {: #apt} @@ -114,6 +115,7 @@ $ sudo snap switch ruby --channel=2.3/stable $ sudo snap refresh {% endhighlight %} + ### portage (Gentoo) {: #portage} From 91a70cef90e24623e3f99240a459530991d4e2e5 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 15 Dec 2018 21:10:31 +0100 Subject: [PATCH 0297/2563] Fix typo (zh_cn) --- zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index bf232eb485..81991d0baf 100644 --- a/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -20,7 +20,7 @@ JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语 此 JIT 发布的主要目的是检查平台的兼容性,以及在 2.6 版本发布前找出安全风险。目前 JIT 编译器只当 Ruby 由 gcc clang 或 Microsoft VC++ 编译后,编译器仍可被运行时发现时可用,除此之外你暂时无法使用 JIT。 -Ruby 2.6.0 preview3 在使用 CPU 密集型场景下的复杂 Bemchmark Optcarrot 进行测试后,比起 Ruby 2.5 取得了 1.7 倍的性能提升。我们会进一步提升其在内存密集型场景,例如 Rails 应用中的性能。 +Ruby 2.6.0 preview3 在使用 CPU 密集型场景下的复杂 Benchmark Optcarrot 进行测试后,比起 Ruby 2.5 取得了 1.7 倍的性能提升。我们会进一步提升其在内存密集型场景,例如 Rails 应用中的性能。 请保持对 Ruby 新时代性能的关注。 diff --git a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 09f06fc4a4..54a1d64709 100644 --- a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -20,7 +20,7 @@ JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语 此 JIT 发布的主要目的是检查平台的兼容性,以及在 2.6 版本发布前找出安全风险。目前 JIT 编译器只当 Ruby 由 gcc clang 或 Microsoft VC++ 编译后,编译器仍可被运行时发现时可用,除此之外你暂时无法使用 JIT。 -Ruby 2.6.0-rc1 在使用 CPU 密集型场景下的复杂 Bemchmark Optcarrot 进行测试后,比起 Ruby 2.5 取得了 1.7 倍的性能提升。我们会进一步提升其在内存密集型场景,例如 Rails 应用中的性能。 +Ruby 2.6.0-rc1 在使用 CPU 密集型场景下的复杂 Benchmark Optcarrot 进行测试后,比起 Ruby 2.5 取得了 1.7 倍的性能提升。我们会进一步提升其在内存密集型场景,例如 Rails 应用中的性能。 请保持对 Ruby 新时代性能的关注。 From 805b0a02d7e95a4c857d7d3e80d6c2f7c9cef8a5 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 15 Dec 2018 21:11:25 +0100 Subject: [PATCH 0298/2563] Fix date and link for Ruby 2.6.0-rc1 --- _data/releases.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index 7f88679d53..aae8211b78 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -36,8 +36,8 @@ xz: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d - version: 2.6.0-rc1 - date: 2018-12-07 - post: /en/news/2018/12/07/ruby-2-6-0-rc1-released/ + date: 2018-12-06 + post: /en/news/2018/12/06/ruby-2-6-0-rc1-released/ url: gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc1.tar.gz zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-rc1.zip From eabc38210dbabeea261ab58689f887ef18e94bbe Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 15 Dec 2018 21:26:09 +0100 Subject: [PATCH 0299/2563] Rewrap snap post (en) --- en/news/_posts/2018-11-08-snap.md | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/en/news/_posts/2018-11-08-snap.md b/en/news/_posts/2018-11-08-snap.md index 3bd78ec36e..28cc0cb155 100644 --- a/en/news/_posts/2018-11-08-snap.md +++ b/en/news/_posts/2018-11-08-snap.md @@ -11,7 +11,10 @@ We released the official snap package of Ruby language. -Snap is a package system developed by Canonical. It allows you to distribute a software with its dependencies for many different Linux systems. This solves the problem that a user cannot install the latest Ruby release from the default repository of their system like in rpm or apt. +Snap is a package system developed by Canonical. It allows you to distribute +a software with its dependencies for many different Linux systems. +This solves the problem that a user cannot install the latest Ruby release +from the default repository of their system like in rpm or apt. On Ubuntu 16.04 or later, you can use Ruby snap with the following command: @@ -19,9 +22,13 @@ On Ubuntu 16.04 or later, you can use Ruby snap with the following command: sudo snap install ruby --classic ``` -(If you use other Linux distributions, please refer to ) +(If you use other Linux distributions, please refer to +) -Our snap uses the "channel" feature to release multiple Ruby series concurrently. For example, without specifying a channel, 2.5.3 will be installed. But if you want to use Ruby 2.4, specify the 2.4 channel like the following: +Our snap uses the "channel" feature to release multiple Ruby series +concurrently. For example, without specifying a channel, 2.5.3 will be +installed. But if you want to use Ruby 2.4, specify the 2.4 channel +like the following: ``` sudo snap install ruby --classic --channel=2.4/stable @@ -34,14 +41,21 @@ sudo snap switch ruby --channel=2.3/stable sudo snap refresh ``` -Our snap set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environment variable. So if you want to execute commands installed by rubygems such as rails and rspec without using bundle exec, you have to add the following line to your shell rc files (like .bashrc): +Our snap set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environment variable. +So if you want to execute commands installed by rubygems such as rails and +rspec without using bundle exec, you have to add the following line to your +shell rc files (like .bashrc): ``` eval `ruby.env` ``` -Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristine --extensions` command. +Since `$HOME/.gem` is shared by multiple versions, if you switch versions +and use them, you will need to recompile C extensions using the +`gem pristine --extensions` command. -The initial version of official Ruby snap has released during Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. Any feedbacks are welcomed at . +The initial version of official Ruby snap has released during +Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. +Any feedbacks are welcomed at . Enjoy! From af2733ed1a439307a483f273b7f09d18574da122 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 15 Dec 2018 21:43:06 +0100 Subject: [PATCH 0300/2563] Various improvements in snap post (en) --- en/news/_posts/2018-11-08-snap.md | 32 ++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/en/news/_posts/2018-11-08-snap.md b/en/news/_posts/2018-11-08-snap.md index 28cc0cb155..9dd8b48fbb 100644 --- a/en/news/_posts/2018-11-08-snap.md +++ b/en/news/_posts/2018-11-08-snap.md @@ -1,34 +1,35 @@ --- layout: news_post -title: The official ruby snap is available +title: The official Ruby snap is available author: Hiroshi SHIBATA translator: date: 2018-11-08 14:58:28 +0000 lang: en --- -We released the official snap package of Ruby language. +We released the official snap package of the Ruby language. Snap is a package system developed by Canonical. It allows you to distribute a software with its dependencies for many different Linux systems. This solves the problem that a user cannot install the latest Ruby release -from the default repository of their system like in rpm or apt. +from the default repository of their system like in `rpm` or `apt`. -On Ubuntu 16.04 or later, you can use Ruby snap with the following command: +On Ubuntu 16.04 or later, you can install the Ruby snap with the +following command: ``` sudo snap install ruby --classic ``` (If you use other Linux distributions, please refer to -) +.) Our snap uses the "channel" feature to release multiple Ruby series -concurrently. For example, without specifying a channel, 2.5.3 will be -installed. But if you want to use Ruby 2.4, specify the 2.4 channel -like the following: +concurrently. For example, without specifying a channel, currently +Ruby 2.5.3 will be installed. But if you want to use Ruby 2.4, +specify the 2.4 channel as follows: ``` sudo snap install ruby --classic --channel=2.4/stable @@ -41,10 +42,11 @@ sudo snap switch ruby --channel=2.3/stable sudo snap refresh ``` -Our snap set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environment variable. -So if you want to execute commands installed by rubygems such as rails and -rspec without using bundle exec, you have to add the following line to your -shell rc files (like .bashrc): +Our snap sets the `GEM_HOME` and `GEM_PATH` environment variables +to `$HOME/.gem`. +So if you want to execute commands installed by gems, such as `rails` and +`rspec`, without using `bundle exec`, you have to add the following line +to your shell rc files (like `.bashrc`): ``` eval `ruby.env` @@ -54,8 +56,8 @@ Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristine --extensions` command. -The initial version of official Ruby snap has released during -Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. -Any feedbacks are welcomed at . +The initial version of the official Ruby snap has been released during +the Snapcraft summit held at the Canonical office in London on Nov 6-8th, 2018. +Any feedback is welcome at . Enjoy! From f145587990ad04fed15bf44587a4b43beb87b266 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 15 Dec 2018 21:45:57 +0100 Subject: [PATCH 0301/2563] Small fix in snap post (de) --- de/news/_posts/2018-11-08-snap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de/news/_posts/2018-11-08-snap.md b/de/news/_posts/2018-11-08-snap.md index 0649432a65..3f393ea0dc 100644 --- a/de/news/_posts/2018-11-08-snap.md +++ b/de/news/_posts/2018-11-08-snap.md @@ -30,7 +30,7 @@ sudo snap install ruby --classic Unser Snap-Paket enthält mehrere Ruby-Versionen gleichzeitig, wofür wir die „Channel“-Funktionalität von Snap verwenden. Wenn Sie keinen -„Channel“ angeben, wird standardmäßig 2.5.3 installiert. Wenn Sie +„Channel“ angeben, wird derzeit standardmäßig 2.5.3 installiert. Wenn Sie stattdessen Ruby 2.4 wollen, dann können Sie den 2.4er „Channel“ wie folgt anfordern: From fd3d543a4a7b7434cf4cbf593a74590bc263615c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 19 Dec 2018 14:09:24 -0500 Subject: [PATCH 0302/2563] Translation of 2018-12-15-ruby-2-6-0-rc2-release (es) --- .../2018-12-15-ruby-2-6-0-rc2-released.md | 157 ++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md diff --git a/es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md new file mode 100644 index 0000000000..dc926ef185 --- /dev/null +++ b/es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -0,0 +1,157 @@ +--- +layout: news_post +title: "Publicado Ruby 2.6.0-rc2" +author: "naruse" +translator: "vtamara" +date: 2018-12-15 00:00:00 +0000 +lang: es +--- + +Nos complace anunciar la publicación de Ruby 2.6.0-rc2. + +Ruby 2.6.0-rc2 es el seguno candidato a publicación de Ruby 2.6.0. +Se publica RC2 para probar Bundler 1.17 que se incorpora en lugar de 2.0. +Introduce algunas características nuevas y mejoras en desempeño, por ejemplo: + +## JIT + +Ruby 2.6 introduce una implementación inicial de un compilador JIT +(Just-in-time). + +Un compilador JIT busca mejorar el desempeño de cualquier ejecución de un +programa en Ruby. +A diferencia de los compiladores JIT ordinarios para otros lenguajes, el +compilador JIT de Ruby hace la compilación JIT de manera única, +emitiendo código C en un disco y lanzando el proceso ordinario de +compilación en C para generar código nativo. +Ver también: [Organización MJIT por Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Forma de uso: Sólo especifique `--jit` en la línea de comandos o en la +variable de entorno `$RUBYOPT`. +Al especificar `--jit-verbose=1` se presentará información básica de la +compilación JIT. Vea más opciones con `ruby --help`. + +El propósito principal de esta versión JIT es darle oportunidad de +comprobar que funciona en su plataforma y encontrar riesgos de seguridad +antes de la versión 2.6. +El compilador JIT es soportado cuando Ruby se construye con GCC, Clang o +Microsoft VC++, que debe estar disponible en tiempo de ejecución. De +lo contrario no podrá usarlo por el momento. + +Con Ruby 2.6.0-rc2, hemos alcanzado una mejora en velocidad de 1.7 veces +la de Ruby 2.5 con una carga de trabajo intensiva en el uso de la CPU, +denominada Optcarrot . +También vamos a mejorar el desempeño de cargas de trabajo intensivas en el +uso de memoria tales como las aplicaciones Rails. + +Este pendiente de la nueva era en el desempeño de Ruby. + +## RubyVM::AbstractSyntaxTree [Experimental] + +Ruby 2.6 introduce el módulo `RubyVM::AbstractSyntaxTree`. + +Este módulo tiene un método `parse` que puede reconocer código ruby en una cadena y retornar nodos del AST (Abstract Syntax Tree - Árbol de sintaxis abstracta), y el método `parse_file` que reconoce código ruby en un archivo y retorna los nodos del AST. +También se introduce la clase `RubyVM::AbstractSyntaxTree::Node`. Puede obtener información de la localización y los nodos hijos de objetos `Node`. Esta característica es experimental. No se garantiza compatibilidad de la estructura de los nodos AST. + + + +## Nuevas características + +* Se agregó el alias `then` a `Kernel#yield_self`. [[Característica #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` sin `rescue` ahora causa un error de sintaxis. [EXPERIMENTAL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +* Los nombres de constantes pueden comenzar con una letra mayúscula fuera de la tabla ASCII. [[Característica #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Rangos no acotados [[Característica #12912]](https://bugs.ruby-lang.org/issues/12912) + + Se introduce un rango no acotado `(1..)`. Funciona como si no terminara. A continuación se presenta un uso típico: + + ary[1..] # igual a ary[1..-1] sin el mágico -1 + (1..).each {|index| ... } # ciclo infinito desde el índice 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Añadido `Binding#source_location`. [[Característica #14230]](https://bugs.ruby-lang.org/issues/14230) + + Este método retorna la localización en la fuente de una unión, un arreglo de 2 elementos `__FILE__` y `__LINE__`. Tradicionalmente, la misma información podría recuperarse con `eval("[__FILE__, __LINE__]", binding)`, pero planeamos cambiar este comportamiento para que `Kernel#eval` ignore la localización de uniones en las fuentes [[Falla #4352]](https://bugs.ruby-lang.org/issues/4352). Así que los usuarios deberían emplear este método recién introducido en lugar de `Kernel#eval`. + +* Añadida la opción `:exception` para que `Kernel.#system` lance un error en lugar de retornar `false`. [[Característica #14386]](https://bugs.ruby-lang.org/issues/14386) + + +* Agregado el modo oneshot [[Característica #15022]](https://bugs.ruby-lang.org/issues/15022) + * Este modo revisa "si cada línea fue ejecutada al menos una vez o no", en lugar de "cuantas veces fue ejecutada cada línea". Un gancho para cada línea es disparado al menos una vez, y después de que es disparado se elimina la bandera del gancho, i.e., corre sin gastos adicionales. + * Agregada el argumento de palabra clave `:oneshot_lines` a `Coverage.start`. + * Agregadas el argumento de palabra clave `:stop` y `:clear` a `Coverage.result`. Si `clear` es verdadero, deja el contador en cero. Si `stop` es verdadero, deshabilita las mediciones de cobertura. + * Coverage.line_stub, que es una función auixiliar que crea la "colilla" para cobertura de líneas de una código fuente dado. + +* `FileUtils#cp_lr`. [[Característica #4189]](https://bugs.ruby-lang.org/issues/4189) + + +## Mejoras en desempeño + +* Mejorada la velocidad de `Proc#call` porque ya no necesitamos preocuparnos por `$SAFE`. [[Característica #14318]](https://bugs.ruby-lang.org/issues/14318) + + Con la prueba de referencia `lc_fizzbuzz` que usa `Proc#call` repetidas veces podemos medir mejoras de 1.4 veces [[Falla #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Mejorada velocidad de `block.call` cuando `block` es un parámetro de + bloque pasado a una función. [[Característica #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 mejora el desempeño al pasar bloques. [[Característica #14045]](https://bugs.ruby-lang.org/issues/14045) + Además, Ruby 2.6 mejora el desempeño al llamar bloques pasados. + Con micro-pruebas de referencia podemos observar una mejora de 2.6 veces. + +* Se introduce la estructura de datos Montón transitorio (Transient Heap - theap). [[Falla #14858]](https://bugs.ruby-lang.org/issues/14858) [[Característica #14989]](https://bugs.ruby-lang.org/issues/14858) + theap es un montón usado para objetos en memoria de corta duración que son + apuntados por clases específicas (`Array`, `Hash`, `Object`, and `Struct`). + Por ejemplo, hacer objetos Hash pequeños y de corta duración es 2 veces + más rápido. Con la prueba de referencia rdoc, observamos una mejora en + desempeño de entre 6 y 7%. + + +## Otros cambios notables desde 2.5 + +* `$SAFE` es el estado global del proceso y podemos ponerlo nuevamente en `0`. [[Característica #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Es obsoleto pasar `safe_level` a `ERB.new`. Los argumentos `trim_mode` y `eoutvar` se cambian a argumentos de palabra clave (keyword arguments). [[Característica #14256]](https://bugs.ruby-lang.org/issues/14256) + +* La versión de Unicode soportada se ha actualizado a la 11. Se planea actualizar a 12 y 12.1 en las futuras versiones menores (TEENY) de Ruby 2.6. + +* Mezclado RubyGems 3.0.0.beta3. Se eliminaron las opciones `--ri` y `--rdoc`. Por favor use las opciones `--document` y `--no-document` en lugar de esas. + +* Mezclado [Bundler](https://github.com/bundler/bundler) como una gema por omisión. + +Vea detalles en [NOTICIAS](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS) +o en [la bitácora de commits](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2). + +Con esos cambios, +[cambiaron 6411 archivos, 228864 inserciones(+), 97600 eliminaciones (-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) +desde Ruby 2.5.0! + +Disfrute programar con Ruby 2.6.0-rc2! + +## Descargas + +* + + SIZE: 16723556 bytes + SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 + SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 +* + + SIZE: 20643747 bytes + SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 + SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c +* + + SIZE: 14581998 bytes + SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 + SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba +* + + SIZE: 11908088 bytes + SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 + SHA256: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + SHA512: a3dc43c0bc70dfdb9ff0d18b5b9797bbf332524f5d3bbb7940cf4e32286ca715808acfd11ebf3cdbe358a2466b7c6b5be3a7a784af7eb95c071fe1f8b4ab1261 From b272b60dfd0fffa1243eaaba5e59cc48a4933aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Thu, 20 Dec 2018 16:04:59 +0100 Subject: [PATCH 0303/2563] Translate 2.6.0-rc2 release (de) --- .../2018-12-15-ruby-2-6-0-rc2-released.md | 198 ++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md diff --git a/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md new file mode 100644 index 0000000000..83d5f25dc7 --- /dev/null +++ b/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -0,0 +1,198 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc2 veröffentlicht" +author: "naruse" +translator: "Marvin Gülker" +date: 2018-12-15 00:00:00 +0000 +lang: de +--- + +Wir freuen uns, die Freigabe von Ruby 2.6.0-rc2 ankündigen zu können. + +Ruby 2.6.0-rc2 ist die zweite Vorschau auf Ruby 2.6.0. Der RC2 wird +veröffentlicht, um die Paketierung von Bundler 1.17 anstelle von 2.0 +zu testen. Daneben enthält die Vorschau einige neue Features sowie +Performanzverbesserungen, beispielsweise: + +## JIT + +Ruby 2.6 führt erstmals einen JIT-Compiler _(Just in Time Compiler)_ ein. + +Der JIT-Compiler soll die allgemeine Performanz aller Ruby-Programme +verbessern. Rubys JIT-Compiler arbeitet anders als herkömmliche +JIT-Compiler für andere Programmiersprachen, denn er schreibt C-Code +auf die Festplatte und startet dann einen gewöhnlichen +C-Compiler-Prozess, um Maschinencode zu erzeugen. Siehe dazu auch: +[Die Funktionsweise von MJIT von Wladimir Makarow](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Um den JIT zu benutzen, geben Sie `--jit` als Kommandozeilenoption +oder in der Umgebungsvariablen `$RUBYOPT` an. Bei Angabe von +`--jit-verbose=1` werden Informationen über die laufende +JIT-Kompilation ausgegeben. Siehe auch `ruby --help` für weitere +Optionen. + +Diese Veröffentlichung soll Ihnen Gelegenheit geben, zu überprüfen, ob +der JIT auf Ihrer Plattform funktioniert. Außerdem soll eine Prüfung +auf Sicherheitsprobleme noch vor der Freigabe von 2.6 ermöglicht +werden. Der JIT-Compiler wird derzeit nur unterstützt, wenn Ruby mit +GCC, Clang oder Microsoft VC++ gebaut wird und der Compiler auch +während des Programmablaufs verfügbar ist. Ansonsten können Sie ihn +momentan leider nicht verwenden. + +Mit Stand Ruby 2.6.0-rc2 haben wir eine 1,7-fache Verbesserung +der Performanz gegenüber Ruby 2.5 bei einem CPU-intensiven, +nicht-trivialen Belastungstest namens Optcarrot +festgestellt. Wir werden darüber hinaus auch die Performanz von +speicherhungrigen Anwendungen wie solchen auf Rails-Basis verbessern. + +Machen Sie sich bereit für eine neue Ära von Rubys Performanz. + +## RubyVM::AbstractSyntaxTree [Experimentell] + +Ruby 2.6 führt das Modul `RubyVM::AbstractSyntaxTree` ein. + +Dieses Modul verfügt über die Methoden `parse`, die den als String +übergenen Ruby-Code verarbeitet und eine Liste von Knoten des ASTs +_(Abstract Syntax Tree)_ zurückgibt, und `parse_file`, die die +übergebene Ruby-Quelldatei auf ähnliche Weise verarbeitet und +ebenfalls AST-Knoten zurückgibt. + +Weiterhin wird die ebenfalls experimentelle Klasse `RubyVM::AbstractSyntaxTree::Node` +eingeführt. Mithilfe von `Node`-Objekten können die Positionsinformationen und +Angaben über Kindknoten ermittelt werden. Eine Kompatibilität der +Struktur von AST-Knoten kann derzeit nicht gewährleistet werden. + +## Neue Features + +* Neuer alias `then` für `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` ohne `rescue` verursacht einen Syntaxfehler. [EXPERIMENTELL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +* Konstantennamen können auch mit Großbuchstaben außerhalb des + ASCII-Zeichensatzes beginnen. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Endlos-Range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + Es wird ein Endlos-Range `(1..)` eingeführt, der über kein Ende + verfügt. Typische Anwendungsfälle sehen wie folgt aus: + + ary[1..] # identisch zu ary[1..-1] ohne magische -1 + (1..).each {|index| ... } # Endlosschleife ab Index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location` hinzugefügt. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + Diese Methode gibt ein 2-Element-Array mit den Bestandteilen + `__FILE__` und `__LINE__` zurück, die beschreiben, an welcher Stelle + im Quelltext ein Binding definiert wurde. Dieselbe Information + konnte bisher über `eval("[__FILE__, __LINE__]", binding)` ermittelt + werden, allerdings planen wir, dieses Verhalten so zu ändern, dass + `Kernel#eval` den Definitionsort eines `binding` ignoriert [[Bug + #4352]](https://bugs.ruby-lang.org/issues/4352). Nutzern wird + deshalb empfohlen, auf diese neu eingeführte Methode umzusteigen. + +* Option `:exception` zu `Kernel.#system` hinzugefügt. Diese Option + führt dazu, dass #system statt `false` zurückzugeben einen Fehler + verursacht. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Einmal-Modus _(oneshot mode)_ + hinzugefügt. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * Anstelle von „wie oft wurde eine bestimmte Zeile ausgeführt“, + prüft dieser Modus, „ob jede Zeile wenigstens einmal oder gar + nicht ausgeführt wurde“. Der entsprechende Hook wird für jede + Zeile höchstens einmal ausgeführt. Nach seinem Abschluss wird die + entsprechende Flagge entfernt, d.h. das Programm läuft danach + ohne geschwindigkeitsrelevante Einschränkungen. + * Schlüsselwortargument `:oneshot_lines` zu Coverage.start + hinzugefügt. + * Schlüsselwortargumente `:stop` und `:clear` zu Coverage.result + hinzugefügt. Wenn `clear` wahr ist, setzt es den Zähler auf Null + zurück. Wenn `:stop` wahr ist, wird die Abdeckungsmessung + ausgeschaltet. + * `Coverage.line_stub` hinzugefügt. Es handelt sich um eine einfache + Hilfsfunktion, die eine kurze Zusammenfassung der Zeilenabdeckung + des übergebenen Quellcodes erzeugt. +* `FileUtils#cp_lr` hinzugefügt. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## Performanzverbesserungen + +* `Proc#call` beschleunigt, weil wir uns nicht mehr um `$SAFE` kümmern + müssen. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Mithilfe des `lc_fizzbuzz`-Benchmarks, das sehr häufig `Proc#call` + benutzt, haben wir eine 1,4-fache Beschleunigung gemessen. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block.call` beschleunigt, wenn `block` als Block-Parameter + übergeben wird. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Bereits Ruby 2.5 verbessert die Performanz bei der Übergabe von + Blöcken. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Mit Ruby 2.6 wird auch der Aufruf von übergebenen Blöcken + beschleunigt, sodass wir im Mikro-Benchmark eine 2,6-fache + Beschleunigung messen konnten. + +* Es wird ein flüchtiger Heap _(transient heap, theap)_ + eingeführt [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989). Dabei handelt es sich um + einen automatisch verwalteten Freispeicher für kurzlebige Objekte im + Speicher, auf welche von bestimmten Klassen (Array, Hash, Object und + Struct) verwiesen wird. Dies führt beispielsweise dazu, dass die + Erstellung kleiner und kurzlebiger Hash-Objekte doppelt so schnell + ist. Im RDoc-Belastungstest haben wir eine 6- bis 7-prozentige + Performanzverbesserung festgestellt. + +## Sonstige bemerkenswerte Änderungen seit 2.5 + +* `$SAFE` ist ein prozess-globaler Zustand und kann wieder auf `0` gesetzt + werden. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Die Übergabe von `safe_level` an `ERB.new` ist als veraltet + markiert worden. Die Parameter `trim_mode` und `eoutvar` wurden in + Schlüsselwortargumente geändert. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Ruby unterstützt jetzt Unicode in Version 11. Es ist geplant, die + Versionen 12 und 12.1 in zukünftigen TEENY-Veröffentlichungen von + Ruby 2.6 zu unterstützen. + +* RubyGems 3.0.0.beta3 aufgenommen. Die Optionen `--ri` und `--rdoc` + wurden entfernt. Benutzen Sie stattdessen `--document` und + `--no-document`. + +* [Bundler](https://github.com/bundler/bundler) wird standardmäßig + mitgeliefert. + +Siehe die [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS) +oder die [Commit-Logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) +für weitere Details. + +Mit diesen Änderungen wurden +[6411 Dateien geändert, 228864 Einfügungen(+), 97600 Löschungen(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) +seit Ruby 2.5.0! + +Viel Spaß mit der Programmierung mit Ruby 2.6.0-rc2! + +## Download + +* + + SIZE: 16723556 bytes + SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 + SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 +* + + SIZE: 20643747 bytes + SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 + SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c +* + + SIZE: 14581998 bytes + SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 + SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba +* + + SIZE: 11908088 bytes + SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 + SHA256: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + SHA512: a3dc43c0bc70dfdb9ff0d18b5b9797bbf332524f5d3bbb7940cf4e32286ca715808acfd11ebf3cdbe358a2466b7c6b5be3a7a784af7eb95c071fe1f8b4ab1261 From 8c21be1fb4158d28e4e9a3170450c1a5f33d5063 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 21 Dec 2018 00:08:11 +0100 Subject: [PATCH 0304/2563] Imrovements in Ruby 2.6.0-rc2 post (en) --- .../2018-12-15-ruby-2-6-0-rc2-released.md | 53 ++++++++++--------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 9c63cd6bfe..854005dbfa 100644 --- a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -15,28 +15,28 @@ It introduces some new features and performance improvements, for example: ## JIT -Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. +Ruby 2.6 introduces an initial implementation of a JIT (Just-in-time) compiler. -JIT compiler aims to improve performance of any Ruby program execution. -Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native code. +The JIT compiler aims to improve performance of any Ruby program execution. +Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which writes C code to a disk and spawns a common C compiler process to generate native code. See also: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). -How to use: Just specify `--jit` in command line or `$RUBYOPT` environment variable. +How to use: Just specify `--jit` in the command line or `$RUBYOPT` environment variable. Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT compilation. See `ruby --help` for other options. The main purpose of this JIT release is to provide a chance to check if it works for your platform and to find out security risks before the 2.6 release. -JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available on runtime. Otherwise you can't use it for now. +The JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available at runtime. Otherwise you can't use it for now. -As of Ruby 2.6.0-rc2, we achieved 1.7x faster performance than Ruby 2.5 on CPU-intensive non-trivial benchmark workload called Optcarrot . We're going to improve the performance on memory-intensive workload like Rails application as well. +As of Ruby 2.6.0-rc2, we achieved 1.7x faster performance than Ruby 2.5 on a CPU-intensive non-trivial benchmark workload called Optcarrot . We're going to improve the performance on memory-intensive workloads like Rails applications as well. Stay tuned for the new age of Ruby's performance. ## RubyVM::AbstractSyntaxTree [Experimental] -Ruby 2.6 introduces `RubyVM::AbstractSyntaxTree` module. +Ruby 2.6 introduces the `RubyVM::AbstractSyntaxTree` module. -This module has `parse` method which parses a given ruby code of string and returns AST (Abstract Syntax Tree) nodes, and `parse_file` method which parses a given ruby code file and returns AST nodes. -`RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes are not guaranteed. +This module has a `parse` method which parses Ruby code from a given string and returns AST (Abstract Syntax Tree) nodes, and a `parse_file` method which parses Ruby code from a given file and returns AST nodes. +The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes are not guaranteed. ## New Features @@ -44,37 +44,38 @@ This module has `parse` method which parses a given ruby code of string and retu * `else` without `rescue` now causes a syntax error. [EXPERIMENTAL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) -* constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) +* Constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) * endless range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) - An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: + An endless range, `(1..)`, is introduced. It works as if it has no end. This shows typical use cases: - ary[1..] # identical to ary[1..-1] without magical -1 - (1..).each {|index| ... } # inifinite loop from index 1 - ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + ary[1..] # identical to ary[1..-1] without magical -1 + (1..).each {|index| block } # inifinite loop from index 1 + ary.zip(1..) {|elem, index| block } # ary.each.with_index(1) { } * Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) - This method returns the source location of binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). So, users should use this newly-introduced method instead of `Kernel#eval`. + This method returns the source location of the binding, a 2-element array of `__FILE__` and `__LINE__`. Traditionally, the same information could be retrieved by `eval("[__FILE__, __LINE__]", binding)`, but we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). So, users should use this newly-introduced method instead of `Kernel#eval`. -* Add `:exception` option to let `Kernel#system` raise error instead of returning `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) +* Add `:exception` option to let `Kernel#system` raise an exception on failure instead of returning `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Add a oneshot mode to `Coverage`. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) -* add the oneshot mode [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) * This mode checks "whether each line was executed at least once or not", instead of "how many times each line was executed". A hook for each line is fired at most once, and after it is fired the hook flag is removed, i.e., it runs with zero overhead. * Add `:oneshot_lines` keyword argument to Coverage.start. * Add `:stop` and `:clear` keyword arguments to Coverage.result. If `clear` is true, it clears the counters to zero. If `stop` is true, it disables coverage measurement. * Coverage.line_stub, which is a simple helper function that creates the "stub" of line coverage from a given source code. -* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) +* Add `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) ## Performance improvements * Speedup `Proc#call` because we don't need to care about `$SAFE` any more. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) - With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure - x1.4 improvements [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). + With `lc_fizzbuzz` benchmark which uses `Proc#call` many times we can measure + x1.4 improvements. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). * Speedup `block.call` where `block` is passed block parameter. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) @@ -83,22 +84,22 @@ This module has `parse` method which parses a given ruby code of string and retu With micro-benchmark we can observe x2.6 improvement. * Transient Heap (theap) is introduced. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) - theap is managed heap for short-living memory objects which are pointed by - specific classes (Array, Hash, Object, and Struct). For example, making small + theap is a managed heap for short-living memory objects which are pointed to by + specific classes (Array, Hash, Object, and Struct). For example, making a small and short-living Hash object is x2 faster. With rdoc benchmark, we observed 6-7% performance improvement. ## Other notable changes since 2.5 -* `$SAFE` is a process global state and we can set `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) +* `$SAFE` is a process global state and we can set it to `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) * Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) -* Supported Unicode version is updated to 11. It is planed to update 12 and 12.1 in future TEENY releases of Ruby 2.6. +* Supported Unicode version is updated to 11. It is planed to update to 12 and 12.1 in future TEENY releases of Ruby 2.6. -* Merge RubyGems 3.0.0.beta3. `--ri` and `--rdoc` options was removed. Please use `--document` and `--no-document` options instead of them. +* Merge RubyGems 3.0.0.beta3. `--ri` and `--rdoc` options were removed. Please use `--document` and `--no-document` options instead. -* Merge [Bundler](https://github.com/bundler/bundler) as Default gems. +* Merge [Bundler](https://github.com/bundler/bundler) as default gem. See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS) or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) From d3d96e59317231d25888f5de9e98adeb2315fddd Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 21 Dec 2018 00:12:46 +0100 Subject: [PATCH 0305/2563] Fix typos in Ruby 2.6.0-rc2 post (de) --- de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 83d5f25dc7..458cd9f013 100644 --- a/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -52,7 +52,7 @@ Machen Sie sich bereit für eine neue Ära von Rubys Performanz. Ruby 2.6 führt das Modul `RubyVM::AbstractSyntaxTree` ein. Dieses Modul verfügt über die Methoden `parse`, die den als String -übergenen Ruby-Code verarbeitet und eine Liste von Knoten des ASTs +übergebenen Ruby-Code verarbeitet und eine Liste von Knoten des ASTs _(Abstract Syntax Tree)_ zurückgibt, und `parse_file`, die die übergebene Ruby-Quelldatei auf ähnliche Weise verarbeitet und ebenfalls AST-Knoten zurückgibt. @@ -97,6 +97,7 @@ Struktur von AST-Knoten kann derzeit nicht gewährleistet werden. * Einmal-Modus _(oneshot mode)_ hinzugefügt. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * Anstelle von „wie oft wurde eine bestimmte Zeile ausgeführt“, prüft dieser Modus, „ob jede Zeile wenigstens einmal oder gar nicht ausgeführt wurde“. Der entsprechende Hook wird für jede @@ -112,6 +113,7 @@ Struktur von AST-Knoten kann derzeit nicht gewährleistet werden. * `Coverage.line_stub` hinzugefügt. Es handelt sich um eine einfache Hilfsfunktion, die eine kurze Zusammenfassung der Zeilenabdeckung des übergebenen Quellcodes erzeugt. + * `FileUtils#cp_lr` hinzugefügt. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) ## Performanzverbesserungen From 764f649e0443af2cd4196f5789b4cf152dd8832d Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 23 Dec 2018 22:08:06 +0900 Subject: [PATCH 0306/2563] [KO] Follow up changes of #1877 (#1879) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [KO] Follow up changes of #1877 Ref: https://github.com/ruby/www.ruby-lang.org/pull/1877 * Add faq * Add C API reference * Add Atom to list * Translate FreeBSD Ports Collection from https://docs.freebsd.org/doc/10.3-RELEASE/usr/local/share/doc/freebsd/ko/articles/contributing/ports-contributing.html * Add missing text * Use 모하브 as Mojave translation * Follow up dc375e4aa909ce78d9cfb019a4a81940086830cf * Prefer 가상 머신 than 가상 기기 for virtual machine * Fix more * Use korean link --- ko/documentation/index.md | 40 +++++------ ko/documentation/installation/index.md | 97 +++++++++++++++++--------- 2 files changed, 81 insertions(+), 56 deletions(-) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index a3f6866493..9cbbd1ba2e 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -13,24 +13,13 @@ lang: ko ### 루비 설치하기 -브라우저에서만 루비를 시험해 보려는 게 아니라면 (밑의 링크 참조) -컴퓨터에 루비를 설치할 필요가 있습니다. -루비가 이미 설치되어 있는지 확인하려면 터미널을 열고 다음 명령어를 -입력하세요. - -{% highlight sh %} -ruby -v -{% endhighlight %} - -이 명령은 설치된 루비에 대한 정보를 알려줄 것입니다. -설치되어 있지 않다면, [설치 페이지](installation/)에 있는 많은 옵션을 -참조하세요. +[루비를 브라우저에서 시험해 볼 수도 있지만][1], 루비를 설치하기 위해서 +[설치 설명서](installation/)를 읽어보아도 좋습니다. ### 초보자용 문서 -[Try Ruby!][1] (영문) -: 초보자를 위한 웹 기반의 대화형 튜토리얼입니다. 루비를 설치하지 않고도 - 브라우저만 있으면 루비를 배울 수 있습니다. +[공식 FAQ](/en/documentation/faq/) (영문) +: 자주 묻는 질문들을 모았습니다. [Ruby Koans][2] (영문) : Koans는 루비를 배우는 깨달음의 길로 여러분을 안내합니다. Koans의 목표는 @@ -42,10 +31,6 @@ ruby -v 책입니다. *Why the Lucky Stiff*의 저작물로 루비를 배우는 사람을 위한 고전입니다. -[루비 20분 가이드](/ko/documentation/quickstart/) -: 루비의 기초를 다루는 튜토리얼입니다. 처음부터 끝까지 읽는 데 20분도 걸리지 - 않습니다. - [Learning Ruby][6] (영문) : 새로 언어를 배우는 사람이나 루비의 개념과 구조를 검색하려는 사람들을 위한 루비 스터디 노트들입니다. @@ -68,10 +53,6 @@ ruby -v [루비 FAQ][ko-2] : 황대산 님이 정리하신 FAQ입니다. -[다른 언어로 부터의 루비](/ko/documentation/ruby-from-other-languages/) -: 다른 언어를 하시다 루비로 오셨나요? C, C++, Java, Perl, PHP, Python에 - 상관없이 이 글이면 충분합니다. - ### 매뉴얼 [프로그래밍 루비][9] (영문) @@ -88,6 +69,9 @@ ruby -v ### 참조 +[공식 API 문서][40] +: 아직 릴리스되지 않은 트렁크를 포함한 여러 루비 버전의 공식 API 문서입니다. + [루비 코어 레퍼런스][13] (영문) : [RDoc][14]을 이용해 소스에서 추출한 레퍼런스입니다. String, Array, Symbol 등 모든 코어 클래스와 모듈에 대한 문서를 찾아볼 수 있습니다. @@ -96,6 +80,10 @@ ruby -v : 마찬가지로 RDoc을 이용해 소스에서 추출한 것으로 표준 라이브러리에 대한 레퍼런스입니다. +[루비 C API 레퍼런스][extensions] (영문) +: 루비의 공식 C API 문서입니다. + 루비 개발에 참여하거나, C 확장을 개발할 때 도움이 될 것입니다. + [RubyDoc.info][16] (영문) : 루비 젬과 GitHub에서 호스팅 되는 루비 프로젝트의 레퍼런스 문서들을 모아놓은 사이트입니다. @@ -125,16 +113,19 @@ ruby -v * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] + * [Atom][atom] * Windows * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] + * [Atom][atom] * macOS * [TextMate][32] * [TextWrangler][33] * [Dash][39] (문서 브라우저) + * [Atom][atom] ### 더 읽을거리 @@ -157,6 +148,7 @@ ruby -v [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -181,6 +173,8 @@ ruby -v [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash +[40]: https://docs.ruby-lang.org/en/ +[atom]: https://atom.io/ [ko-1]: http://docs.google.com/View?docid=ajb44wcvmjj8_2fg33f2 [ko-2]: http://beyond.daesan.com/pages/ruby-faq [ko-3]: https://groups.google.com/forum/#!forum/rubykr diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index 6390ee76bd..b398634e3c 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -4,12 +4,18 @@ title: "루비 설치하기" lang: ko --- -루비를 설치할 때 몇 가지 도구를 사용할 수 있습니다. -이 페이지에서는 루비를 설치하고 관리하는 주요 패키지 -관리 시스템들과 서드파티 도구들의 사용법과 -소스에서 루비를 빌드하는 법을 설명합니다. +루비를 설치하고 관리할 수 있는 다양한 패키지 관리 시스템들과 서드파티 도구들이 있습니다. + {: .summary} +컴퓨터에 이미 루비가 설치되어 있을 수도 있습니다. +이를 확인하려면 [터미널][terminal]을 열고 다음 명령어를 입력하세요. + +{% highlight sh %} +ruby -v +{% endhighlight %} + +이 명령은 설치된 루비에 대한 정보를 알려줄 것입니다. ## 설치 방법 선택하기 @@ -32,6 +38,7 @@ lang: ko * [Gentoo](#portage) * [Arch Linux](#pacman) * [macOS](#homebrew) + * [FreeBSD](#freebsd) * [Solaris, OpenIndiana](#solaris) * [다른 배포판](#other-systems) * [인스톨러](#installers) @@ -54,13 +61,11 @@ lang: ko 루비를 설치하기 위해 자신의 시스템의 패키지 관리자를 사용할 수 있습니다. 루비 커뮤니티의 일부 회원들은 루비를 설치할 때 패키지 관리자를 사용하지 -말아야 하고, 대신 도구를 사용해야 한다고 강하게 느끼고 있습니다. -모든 장단점들은 이 페이지에서 설명할 내용이 아니지만, 가장 기본적인 -이유는 대부분의 패키지 관리자들의 공식 저장소에는 오래된 버전의 루비가 있기 -때문입니다. -최신의 루비를 사용하고자 한다면, 올바른 패키지 명을 사용했는지 확인하거나 -밑에 설명할 도구를 사용하십시오. +말아야 하고, 대신 도구를 사용해야 한다고 느끼고 있습니다. +대부분의 패키지 관리자들은 오래된 버전의 루비를 설치합니다. +최신의 루비를 사용하고자 한다면, 패키지의 버전 번호가 올바른지 확인하거나 +특정 [인스톨러][installers]를 사용하세요. ### apt (Debian이나 Ubuntu) {: #apt} @@ -114,16 +119,16 @@ Arch Linux는 pacman이라는 이름의 패키지 관리자를 사용합니다. $ sudo pacman -S ruby {% endhighlight %} +이는 루비의 최신 안정판을 설치할 것입니다. + ### Homebrew (macOS) {: #homebrew} -macOS 엘 캐피탄, 요세미티, 매버릭스에는 루비 2.0이 포함되어 있습니다. -macOS 마운틴 라이언, 라이언, 스노 레퍼드는 루비 1.8.7을 -탑재하여 출시되었습니다. +엘 캐피탄(10.11)부터 모하비(10.14)까지의 macOS 릴리스에서는 루비 2.0 이상이 포함되어 있습니다. -많은 macOS 사용자들은 패키지 관리자로 [Homebrew][homebrew]를 사용합니다. -Homebrew를 사용해 새로운 버전의 루비를 얻는 방법은 정말로 쉽습니다. +[Homebrew][homebrew]는 macOS에서 일반적으로 사용되는 패키지 관리자입니다. +Homebrew를 사용해 새로운 버전의 루비를 설치하는 것은 쉽습니다. {% highlight sh %} $ brew install ruby @@ -132,21 +137,37 @@ $ brew install ruby 이 명령어는 최신 루비 버전을 설치할 것입니다. +### FreeBSD +{: #freebsd} + +FreeBSD는 패키지와 소스로부터 설치하는 방법을 모두 제공합니다. +pkg를 이용하여 패키지를 설치할 수 있습니다: + +{% highlight sh %} +$ pkg install ruby +{% endhighlight %} + +[포트 컬렉션][freebsd-ports-collection]을 사용하여 루비를 소스로부터 설치 +할 수 있습니다. 이는 설치 설정을 변경하고 싶을 때 유용합니다. + +FreeBSD 상의 루비와 그 환경에 대해서 더 자세한 정보는 +[FreeBSD Ruby Project 웹사이트][freebsd-ruby]에서 얻을 수 있습니다. + + ### Solaris와 OpenIndiana에서의 루비 {: #solaris} Solaris 8에서 Solaris 10까지 [Sunfreeware][sunfreeware]에서 루비 1.8.7을 사용 가능하며 [Blastwave][blastwave]에서 루비 1.8.7을 사용 가능합니다. [Sunfreeware][sunfreeware]에서 루비 1.9.2p0을 사용 가능하지만, 이는 구 버전입니다. -서드파티 도구를 사용하면 최신 버전의 루비를 얻을 수 있습니다. [OpenIndiana][openindiana]에서 루비를 설치하려면, -[Image Packaging System (IPS)][opensolaris-pkg] 클라이언트를 사용해 주십시오. -이것은 루비 1.9를 위한 OpenSolaris 네트워크 저장소로부터 최신 +Image Packaging System (IPS) 클라이언트를 사용해 주십시오. +이것은 OpenSolaris 저장소로부터 최신 루비 바이너리와 RubyGems를 직접 받아 설치합니다. 아주 쉽습니다. {% highlight sh %} -$ pkg install runtime/ruby-18 +$ pkg install runtime/ruby {% endhighlight %} 하지만, 서드파티 도구를 사용하는 것이 최신 버전의 루비를 얻는 더 좋은 방법입니다. @@ -155,7 +176,7 @@ $ pkg install runtime/ruby-18 ### 다른 배포판 다른 시스템에서는 자신의 Linux 배포 관리자를 위한 패키지 저장소를 검색할 수 있습니다. -아니면 서드파티 도구가 당신을 위한 올바른 선택일 수 있습니다. +아니면 [서드파티 인스톨러][installers]를 사용할 수도 있습니다. ## 인스톨러 @@ -163,8 +184,10 @@ $ pkg install runtime/ruby-18 시스템이나 패키지 관리자에서 제공하는 루비가 구 버전이라면, 서드 파티 인스톨러를 사용해 새로운 버전의 루비를 설치할 수 있습니다. + 어떤 인스톨러는 여러 버전의 루비를 같은 시스템에 설치하게 합니다. 관련된 관리자는 다른 루비 간의 전환을 도와줍니다. + [RVM](#rvm)을 버전 관리자로 사용할 계획이라면 포함되어 있으므로 별도의 인스톨러는 필요 없습니다. @@ -182,17 +205,16 @@ macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. {: #ruby-install} [ruby-install][ruby-install]은 다른 버전의 루비를 임의의 디렉터리에 -컴파일하고 설치할 수 있게 합니다. -루비 버전을 전환하는 [chruby](#chruby)와 형제 관계입니다. +컴파일하고 설치할 수 있게 합니다. [chruby](#chruby)도 루비 버전을 변경하는 +좋은 도구입니다. macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. ### RubyInstaller {: #rubyinstaller} -Windows를 사용하고 있다면, 루비 설치를 도와줄 훌륭한 프로젝트 [RubyInstaller][rubyinstaller]가 -있습니다. RubyInstaller는 Windows 환경에서 전체 루비 개발 환경을 설정하는데 필요한 모든 -것을 제공합니다. +Windows에서는 [RubyInstaller][rubyinstaller]는 전체 루비 개발 환경을 설정하는데 +필요한 모든 것을 제공합니다. 다운로드 받으시고 인스톨러를 실행하기만 하면 끝입니다! @@ -202,18 +224,19 @@ Windows를 사용하고 있다면, 루비 설치를 도와줄 훌륭한 프로 루비 온 레일즈를 사용하기 위해 루비를 설치하신다면 다음 인스톨러를 사용할 수 있습니다. -* [RailsInstaller][railsinstaller]는 RubyInstaller를 사용하지만, 레일즈 개발을 - 도와줄 추가 도구들을 제공합니다. - OS X, Windows를 지원합니다. +* [RailsInstaller][railsinstaller]는 [RubyInstaller][rubyinstaller]를 + 사용하지만, 레일즈 개발을 도와줄 추가 도구들을 제공합니다. macOS, Windows를 + 지원합니다. * [Bitnami Ruby Stack][rubystack]는 루비 온 레일즈를 위한 완전한 개발환경을 제공합니다. - macOS, Linux, Windows, 가상 기기, 클라우드 이미지를 지원합니다. + macOS, Linux, Windows, 가상 머신, 클라우드 이미지를 지원합니다. ## 관리자 많은 루비스트들이 여러 버전의 루비를 관리하기 위해 루비 관리자를 사용합니다. -그들은 다양한 장점을 부여하지만, 공식적으로 지원되는 것은 아닙니다. -하지만, 그들 각각의 커뮤니티는 매우 유용합니다. +그들은 각 프로젝트에서 서로 다른 루비 버전을 사용할 수 있도록 간단하게 또는 +자동으로 버전을 변경해주며 그 이외의 장점들이 있지만, 공식적으로 지원되는 것은 아닙니다. +하지만, 각각의 커뮤니티에서 도움을 구할 수 있습니다. ### chruby @@ -252,7 +275,7 @@ macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. {: #building-from-source} 물론, 소스로부터 루비를 설치할 수도 있습니다. -tarball을 [다운로드](/ko/downloads/), 압축을 풀고 이 명령어를 입력하세요. +tarball을 [다운로드][download], 압축을 풀고 이 명령어를 입력하세요. {% highlight sh %} $ ./configure @@ -263,6 +286,9 @@ $ sudo make install 기본적으로, 이 명령어는 루비를 `/usr/local`에 설치합니다. 변경하시려면 `./configure` 스크립트에 `--prefix=DIR` 옵션을 넘기세요. +[루비 README 파일][readme]에서 소스로부터 루비를 설치하는 법에 관련된 +추가 정보를 얻을 수 있습니다. + 서드파티 도구나 패키지 관리자를 사용하시는 것이 더 좋습니다. 왜냐하면, 이렇게 설치된 루비는 어떤 도구로도 관리되지 않기 때문이죠. @@ -279,6 +305,11 @@ $ sudo make install [sunfreeware]: http://www.sunfreeware.com [blastwave]: http://www.blastwave.org [openindiana]: http://openindiana.org/ -[opensolaris-pkg]: http://opensolaris.org/os/project/pkg/ [gentoo-ruby]: http://www.gentoo.org/proj/en/prog_lang/ruby/ +[freebsd-ruby]: https://wiki.freebsd.org/Ruby +[freebsd-ports-collection]: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html [homebrew]: http://brew.sh/ +[terminal]: : https://ko.wikipedia.org/wiki/%EB%8B%A8%EB%A7%90_%EC%97%90%EB%AE%AC%EB%A0%88%EC%9D%B4%ED%84%B0_%EB%AA%A9%EB%A1%9D +[download]: /ko/downloads/ +[installers]: /ko/documentation/installation/#installers +[readme]: https://github.com/ruby/ruby#how-to-compile-and-install From f8e7266e51d4ff00e3456d38a58c9f69cb944dfd Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 24 Dec 2018 12:02:32 +0100 Subject: [PATCH 0307/2563] Imrovements in Ruby 2.6.0-rc2 post (en) --- en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 854005dbfa..0c0b6ac5b3 100644 --- a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -19,7 +19,7 @@ Ruby 2.6 introduces an initial implementation of a JIT (Just-in-time) compiler. The JIT compiler aims to improve performance of any Ruby program execution. Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler does JIT compilation in a unique way, which writes C code to a disk and spawns a common C compiler process to generate native code. -See also: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). +See also: [MJIT organization (by Vladimir Makarov)](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). How to use: Just specify `--jit` in the command line or `$RUBYOPT` environment variable. Specifying `--jit-verbose=1` allows to print basic information of ongoing JIT compilation. See `ruby --help` for other options. @@ -46,7 +46,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get loc * Constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) -* endless range [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) +* Introduce endless ranges. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) An endless range, `(1..)`, is introduced. It works as if it has no end. This shows typical use cases: @@ -84,6 +84,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get loc With micro-benchmark we can observe x2.6 improvement. * Transient Heap (theap) is introduced. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + theap is a managed heap for short-living memory objects which are pointed to by specific classes (Array, Hash, Object, and Struct). For example, making a small and short-living Hash object is x2 faster. With rdoc benchmark, we observed From fe3c5d73d30c8114949eee92bb8b93551f3d2fc1 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 24 Dec 2018 12:16:45 +0100 Subject: [PATCH 0308/2563] Small improvements in Ruby 2.6.0-rc2 post (en) --- en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 0c0b6ac5b3..a0cfebef5b 100644 --- a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -36,7 +36,7 @@ Stay tuned for the new age of Ruby's performance. Ruby 2.6 introduces the `RubyVM::AbstractSyntaxTree` module. This module has a `parse` method which parses Ruby code from a given string and returns AST (Abstract Syntax Tree) nodes, and a `parse_file` method which parses Ruby code from a given file and returns AST nodes. -The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes are not guaranteed. +The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes is not guaranteed. ## New Features @@ -80,6 +80,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get loc * Speedup `block.call` where `block` is passed block parameter. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) Ruby 2.5 improves block passing performance. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Additionally, Ruby 2.6 improves the performance of passed block calling. With micro-benchmark we can observe x2.6 improvement. @@ -92,7 +93,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get loc ## Other notable changes since 2.5 -* `$SAFE` is a process global state and we can set it to `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) +* `$SAFE` now is a process global state and can be set to `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) * Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) From df17fd69d1ff4e405c97732e944337f1b8324613 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 24 Dec 2018 12:22:13 +0100 Subject: [PATCH 0309/2563] Improvements in Ruby 2.6.0-rc2 post (de) --- .../2018-12-15-ruby-2-6-0-rc2-released.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 458cd9f013..cf4f9f7c5e 100644 --- a/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -23,16 +23,16 @@ verbessern. Rubys JIT-Compiler arbeitet anders als herkömmliche JIT-Compiler für andere Programmiersprachen, denn er schreibt C-Code auf die Festplatte und startet dann einen gewöhnlichen C-Compiler-Prozess, um Maschinencode zu erzeugen. Siehe dazu auch: -[Die Funktionsweise von MJIT von Wladimir Makarow](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). +[Die Funktionsweise von MJIT (von Wladimir Makarow)](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). -Um den JIT zu benutzen, geben Sie `--jit` als Kommandozeilenoption +Um den JIT-Compiler zu benutzen, geben Sie `--jit` als Kommandozeilenoption oder in der Umgebungsvariablen `$RUBYOPT` an. Bei Angabe von `--jit-verbose=1` werden Informationen über die laufende JIT-Kompilation ausgegeben. Siehe auch `ruby --help` für weitere Optionen. Diese Veröffentlichung soll Ihnen Gelegenheit geben, zu überprüfen, ob -der JIT auf Ihrer Plattform funktioniert. Außerdem soll eine Prüfung +der JIT-Compiler auf Ihrer Plattform funktioniert. Außerdem soll eine Prüfung auf Sicherheitsprobleme noch vor der Freigabe von 2.6 ermöglicht werden. Der JIT-Compiler wird derzeit nur unterstützt, wenn Ruby mit GCC, Clang oder Microsoft VC++ gebaut wird und der Compiler auch @@ -87,15 +87,15 @@ Struktur von AST-Knoten kann derzeit nicht gewährleistet werden. im Quelltext ein Binding definiert wurde. Dieselbe Information konnte bisher über `eval("[__FILE__, __LINE__]", binding)` ermittelt werden, allerdings planen wir, dieses Verhalten so zu ändern, dass - `Kernel#eval` den Definitionsort eines `binding` ignoriert [[Bug - #4352]](https://bugs.ruby-lang.org/issues/4352). Nutzern wird + `Kernel#eval` den Definitionsort eines `binding` ignoriert + [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). Nutzern wird deshalb empfohlen, auf diese neu eingeführte Methode umzusteigen. * Option `:exception` zu `Kernel.#system` hinzugefügt. Diese Option führt dazu, dass #system statt `false` zurückzugeben einen Fehler verursacht. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) -* Einmal-Modus _(oneshot mode)_ +* Einmal-Modus _(oneshot mode)_ zu `Coverage` hinzugefügt. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) * Anstelle von „wie oft wurde eine bestimmte Zeile ausgeführt“, @@ -129,12 +129,15 @@ Struktur von AST-Knoten kann derzeit nicht gewährleistet werden. Bereits Ruby 2.5 verbessert die Performanz bei der Übergabe von Blöcken. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Mit Ruby 2.6 wird auch der Aufruf von übergebenen Blöcken beschleunigt, sodass wir im Mikro-Benchmark eine 2,6-fache Beschleunigung messen konnten. * Es wird ein flüchtiger Heap _(transient heap, theap)_ - eingeführt [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989). Dabei handelt es sich um + eingeführt [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989). + + Dabei handelt es sich um einen automatisch verwalteten Freispeicher für kurzlebige Objekte im Speicher, auf welche von bestimmten Klassen (Array, Hash, Object und Struct) verwiesen wird. Dies führt beispielsweise dazu, dass die @@ -170,7 +173,7 @@ Mit diesen Änderungen wurden [6411 Dateien geändert, 228864 Einfügungen(+), 97600 Löschungen(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) seit Ruby 2.5.0! -Viel Spaß mit der Programmierung mit Ruby 2.6.0-rc2! +Viel Spaß beim Programmieren mit Ruby 2.6.0-rc2! ## Download From 1ad3dd1bff49a12cf92f4741b4119b33dbb4b9ce Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Tue, 25 Dec 2018 15:55:47 +0900 Subject: [PATCH 0310/2563] Ruby 2.6.0 Released --- _data/branches.yml | 4 +- _data/downloads.yml | 2 +- _data/releases.yml | 14 ++ .../_posts/2018-12-25-ruby-2-6-0-released.md | 143 ++++++++++++++++++ .../_posts/2018-12-25-ruby-2-6-0-released.md | 137 +++++++++++++++++ 5 files changed, 297 insertions(+), 3 deletions(-) create mode 100644 en/news/_posts/2018-12-25-ruby-2-6-0-released.md create mode 100644 ja/news/_posts/2018-12-25-ruby-2-6-0-released.md diff --git a/_data/branches.yml b/_data/branches.yml index a9e159e09e..a663830e8d 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -9,8 +9,8 @@ # eol_date: date of EOL (YYYY-MM-DD) - name: 2.6 - status: preview - date: + status: normal maintenance + status: 2018-12-25 eol_date: - name: 2.5 diff --git a/_data/downloads.yml b/_data/downloads.yml index 8e9fab33a5..9392a60cf2 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,10 +4,10 @@ # optional preview: - - 2.6.0-rc2 stable: + - 2.6.0 - 2.5.3 - 2.4.5 diff --git a/_data/releases.yml b/_data/releases.yml index aae8211b78..d3d175a5e3 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,20 @@ # 2.6 series +- version: 2.6.0 + date: 2018-12-25 + post: /en/news/2018/12/25/ruby-2-6-0-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0.zip + bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0.tar.bz2 + xz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0.tar.xz + sha256: + gz: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 + zip: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a + bz2: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 + xz: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f + - version: 2.6.0-rc2 date: 2018-12-15 post: /en/news/2018/12/15/ruby-2-6-0-rc2-released/ diff --git a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md new file mode 100644 index 0000000000..180f6e478d --- /dev/null +++ b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -0,0 +1,143 @@ +--- +layout: news_post +title: "Ruby 2.6.0 Released" +author: "naruse" +translator: +date: 2018-12-25 00:00:00 +0000 +lang: en +--- + +We are pleased to announce the release of Ruby 2.6.0. + +It introduces a number of new features and performance improvements, most notably: + + * A new JIT compiler. + * The `RubyVM::AbstractSyntaxTree` module. + +## JIT [Experimental] + +Ruby 2.6 introduces an initial implementation of a JIT (Just-In-Time) compiler. + +The JIT compiler aims to improve the performance of Ruby programs. Unlike traditional JIT compilers which operate in-process, Ruby's JIT compiler writes out C code to disk and spawns a common C compiler to generate native code. For more details about it, see the [MJIT organization by Vladimir Makarov](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#MJIT-organization). + +In order to enable the JIT compiler, specify `--jit` on the command line or in the `$RUBYOPT` environment variable. Specifying `--jit-verbose=1` will cause the JIT compiler to print additional information. Read the output of `ruby --help` or [the documentation](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage) for other options. + +The JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available at runtime. + +As of Ruby 2.6.0, we have achieved [1.7x faster performance](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208) compared to Ruby 2.5 on a CPU-intensive, non-trivial benchmark called [Optcarrot](https://github.com/mame/optcarrot). However, it is still experimental and many other memory-intensive workloads like Rails might not benefit from it at the moment. For more details, see [Ruby 2.6 JIT - Progress and Future](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf). + +Stay tuned for the new age of Ruby's performance. + +## `RubyVM::AbstractSyntaxTree` [Experimental] + +Ruby 2.6 introduces the `RubyVM::AbstractSyntaxTree` module. **Future compatibility of this module is not guaranteed**. + +This module has a `parse` method, which parses the given string as Ruby code and returns the AST (Abstract Syntax Tree) nodes of the code. The `parse_file` method opens and parses the given file as Ruby code and returns AST nodes. + +The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get source location and children nodes from `Node` objects. This feature is experimental. + +## Other Notable New Features + +* Add an alias of `Kernel#yield_self` named `#then`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* Constant names may start with a non-ASCII capital letter. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Introduce endless ranges. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + An endless range, `(1..)`, works as if it has no end. Here are some typical use cases: + + ary[1..] # identical to ary[1..-1] without magical -1 + (1..).each {|index| ... } # enumerates values starting from index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Add `Enumerable#chain` and `Enumerator#+` [[Feature #15144]](https://bugs.ruby-lang.org/issues/15144) + +* Add function composition operators `<<` and `>>` to `Proc` and `Method`. [[Feature #6284]](https://bugs.ruby-lang.org/issues/6284) + + f = proc{|x| x + 2} + g = proc{|x| x * 3} + (f << g).call(3) # -> 11; identical to f(g(3)) + (f >> g).call(3) # -> 15; identical to g(f(3)) + +* Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + This method returns the source location of the binding, a 2-element array of `__FILE__` and `__LINE__`. Technically speaking, this is identical to `eval("[__FILE__, __LINE__]", binding)`. However, we are planning to change this behavior so that `Kernel#eval` ignores binding's source location [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). As such, it is recommended to use `Binding#source_location` instead of `Kernel#eval`. + +* Add an `exception:` option to `Kernel#system` which causes it to raise an exception on failure instead of returning `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Add a oneshot mode to `Coverage` [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + + * This mode checks "whether each line was executed at least once or not", instead of "how many times each line was executed". A hook for each line is fired only once, and once it is fired the hook flag will be removed, i.e., it runs with zero overhead. + * Add `oneshot_lines:` keyword argument to Coverage.start. + * Add `stop:` and `clear:` keyword arguments to Coverage.result. If `clear` is true, it clears the counters to zero. If `stop` is true, it disables coverage measurement. + * Coverage.line_stub is a simple helper function that creates the "stub" of line coverage from a given source code. + +* Add `FileUtils#cp_lr`. It works just like cp_r but links instead of copies. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## Performance improvements + +* Speed up `Proc#call` by removing the temporary allocation for `$SAFE`. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + We have observed a 1.4x peformance improvement in the `lc_fizzbuzz` benchmark that calls `Proc#call` numerous times. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* Speed up `block.call` when `block` is passed in as a block parameter. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Combined with improvements around block handling introduced in Ruby 2.5, block evaluation now performs 2.6x faster in a micro-benchmark in Ruby 2.6. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + +* Transient Heap (`theap`) is introduced. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + + `theap` is managed heap for short-living memory objects which are pointed by specific classes (`Array`, `Hash`, `Object`, and `Struct`). Making small and short-living Hash object is 2x faster. With rdoc benchmark, we observed 6-7% performance improvement. + +* Native implementations (`arm32`, `arm64`, `ppc64le`, `win32`, `win64`, `x86`, `amd64`) of coroutines to improve context switching performance of Fiber significantly. [[Feature #14739]](https://bugs.ruby-lang.org/issues/14739) + + `Fiber.yield` and `Fiber#resume` is about 5x faster on 64-bit Linux. Fiber intensive programs can expect up to 5% improvement overall. + +## Other notable changes since 2.5 + +* `$SAFE` is now a process global state and it can be set back to `0`. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments have been changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Unicode support is updated to version 11. We have plans to add support Unicode version 12 and 12.1 in a future TEENY release of Ruby 2.6. This will include support for the [new Japenese era](http://blog.unicode.org/2018/09/new-japanese-era.html). + +* Merge RubyGems 3.0.1. The `--ri` and `--rdoc` options have been removed. Please use `--document` and `--no-document` options instead. + +* [Bundler](https://github.com/bundler/bundler) is now installed as a default gem. + +* In exception handling blocks, `else` without `rescue` now causes a syntax error. [EXPERIMENTAL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0/NEWS) or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) for more details. + +With those changes, [6376 files changed, 227364 insertions(+), 51599 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) since Ruby 2.5.0! + +Merry Christmas, Happy Holidays, and enjoy programming with Ruby 2.6! + +## Download + +* + + SIZE: 16687800 bytes + SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 + SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdced +f0ff3eba51b9afab907e7e1ac243475772f8688382 +* + + SIZE: 20582054 bytes + SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 + SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f3 +0ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 +* + + SIZE: 14585856 bytes + SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 + SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 + SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 +* + + SIZE: 11918536 bytes + SHA1: 9ddaeba3505d2855460c8c653159fc0ac8928c0f + SHA256: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f + SHA512: c56eaf85ef7b79deb34ee4590b143c07f4fc83eb79775290761aee5a7c63374659613538a41f25706ed6e19e49d5c67a1014c24d17f29948294c7abd0b0fcea8 diff --git a/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md b/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md new file mode 100644 index 0000000000..3717933941 --- /dev/null +++ b/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -0,0 +1,137 @@ +--- +layout: news_post +title: "Ruby 2.6.0 Released" +author: "naruse" +translator: +date: 2018-12-25 00:00:00 +0000 +lang: ja +--- + +Ruby 2.6シリーズの最初の安定版である、Ruby 2.6.0がリリースされました。 + +Ruby 2.6.0には、多くの新しい機能やパフォーマンスの改善が含まれています。 その一部を以下に紹介します。 + +## JIT [Experimental] + +Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 + +JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 +他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: [MJIT organization by Vladimir Makarov](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#MJIT-organization)) + +JITコンパイルを有効にするには `--jit` オプションをコマンドラインまたは$RUBYOPT環境変数を指定します。`--jit-verbose=1`を指定すれば指定すれば実行中のJITコンパイルの基本的な情報を表示します。その他のオプションについては `ruby --help` か[ドキュメント](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage)をご参照ください。 + +現在のJITコンパイラを利用するためには、GCC、Clang、あるいはMicrosoft VC++によってビルドされたRubyでありかつ、そのコンパイラが実行時に利用可能である必要があります。 + +Ruby 2.6.0の時点で、[Optcarrot](https://github.com/mame/optcarrot)というCPU負荷中心のベンチマークにおいてRuby 2.5の[約1.7倍の性能向上](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208)を達成しました。一方、Railsアプリケーションなどのメモリ負荷の高い環境における性能は現在改善中で、まだ性能向上が期待できる状態には達しておりません。詳細は[Ruby 2.6 JIT - Progress and Future](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf)をご覧ください。 + +引き続き新時代のRubyの実効性能にご期待ください。 + +## `RubyVM::AbstractSyntaxTree` [Experimental] + +Ruby 2.6では抽象構文木を扱う `RubyVM::AbstractSyntaxTree` モジュールが導入されました。 + +このモジュールには、文字列をパースしてAST(抽象構文木)のNodeを返す`parse`メソッド、ファイルをパースする`parse_file`メソッドが実装されています。 +`RubyVM::AbstractSyntaxTree::Node` も導入されました。このクラスのインスタンスから位置情報や子ノードを取得することができます。この機能はexperimentalです。また、ASTの構造に関する互換性は保証されていません。 + +## 主要な新機能 + +* `Kernel#yield_self` の別名として `then` が追加されました [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* ASCII以外の大文字でも定数を定義出来るようになりました [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 終端なしRange [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 終わりがないRange `(1..)` が書けるようになりました。始点から無限大までのような範囲を直観的に表現できるようになります。以下に典型的な用途を示します。 + + ary[1..] # マジックナンバー -1 なしで ary[1..-1] と同じ意味 + (1..).each {|index| ... } # index が 1 から始まる無限ループ + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Enumerable#chain` と `Enumerator#+` が追加されました [[Feature #15144]](https://bugs.ruby-lang.org/issues/15144) + +* Procを関数合成するオペレータ `Proc#<<` 、`Proc#>>` が追加されました [[Feature #6284]](https://bugs.ruby-lang.org/issues/6284) + + f = proc{|x| x + 2} + g = proc{|x| x * 3} + (f << g).call(3) # -> 11; identical to f(g(3)) + (f >> g).call(3) # -> 15; identical to g(f(3)) + +* `Binding#source_location` の追加 [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + * `binding`のソースコード上の位置を `__FILE__` と `__LINE__` の二要素配列として返します。従来でも `eval("[__FILE__, __LINE__]", binding)` とすることでこれらの情報は得られましたが、将来的に `Kernel#eval` はbindingのソースコード行を無視する変更を予定しているため [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)、この新しいメソッドを用いることが今後は推奨されます。 + +* `Kernel#system` の失敗時に、falseを返す代わりに例外を上げさせる `exception:` オプションを追加 [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Coverage の oneshot_lines モードの追加 [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + + * コードカバレッジの測定で、「各ソースコード行を何回実行したか」ではなく、「各ソースコード行を1回でも実行したか否か」を記録するモード `oneshot_lines` が導入されました。各行に設定されたフックは高々1回しか実行されません。1回実行されたフックは除去されるので、その後はオーバーヘッド無しで実行されます。 + * `Coverage.start` に `oneshot_lines:` キーワード引数を追加しました。 + * `Coverage.result` に `stop:` と `clear:` キーワードを追加しました。`clear` が真のとき、カウンタが0クリアされます。`stop`が真のとき、カバレッジ測定を終了します。 + * `Coverage.line_stub` を追加しました。これは、指定されたソースコードの行カバレッジの「スタブ」を生成する簡単な補助関数です。 + +* `FileUtils#cp_lr` が追加されました。ディレクトリ構造を再帰的に再現し、各ファイルは元のファイルへのハードリンクとするコピーです(cp -lrと同様の効果)。[[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## パフォーマンスの改善 + +* 後述の`$SAFE`の変更に伴って考慮すべきことが減ったため、`Proc#call`が高速化されました [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + `Proc#call` を大量に呼び出す `lc_fizzbuzz` ベンチマークにおいては、1.4倍高速化されています [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212)。 + +* `block` がブロックパラメータである時、`block.call`が高速化されました [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + Ruby 2.5ではブロック渡しの性能が改善されましたが [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045)、加えてRuby 2.6では渡されたブロックの呼び出しも改善されました。マイクロベンチマークは2.6倍の高速化が確認されています。 + +* Transient Heap (`theap`) が導入されました。[[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + + theap は、特定のクラスが利用する短寿命メモリを管理します。現状、`Array`、`Object`(ユーザー定義オブジェクト)、`Struct`および8要素以下の小さな`Hash`オブジェクトが theap に対応しています。小さな短寿命`Hash`オブジェクトの生成は2倍程度高速になりました。`rdoc` ベンチマークでは、6~7%の性能改善が計測されています。 + +* コルーチンをネイティブ実装することによって、Fiberのコンテキスト切り替えの性能が大幅に向上しました(`arm32`、`arm64`、`ppc64le`、`win32`、`win64`、`x86`、`amd64`)。[[Feature #14739]](https://bugs.ruby-lang.org/issues/14739) + + `Fiber.yield`と`Fiber#resume`は64ビットLinuxでは約5倍高速です。`Fiber`を多用するプログラムでは、全体で最大5%の改善が見込まれます。 + +## その他の注目すべき 2.5 からの変更点 + +* `$SAFE` はプロセスグローバルで扱われることになると共に、`0`以外を設定した後に`0`に戻せるようになりました [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* `ERB.new`に`safe_level`を渡すのは非推奨になりました。また、`trim_mode`と`eoutvar`はキーワード引数に変更されました。 [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* サポートする Unicode のバージョンを 11 に更新しました。[新元号用合字対応](http://blog.unicode.org/2018/09/new-japanese-era.html)のため、Ruby 2.6 では今後の TEENY リリースで、12 そして 12.1 への更新が予定されています。 + +* RubyGems 3.0.1 をマージしました。 `--ri` と `--rdoc` オプションは使えなくなりました。`--document` または `--no-document` を利用してください。 + +* [Bundler](https://github.com/bundler/bundler) を Default gems として標準添付しました。 + +* `rescue` 無しの `else` が文法エラーとなるようになりました [EXPERIMENTAL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0)を参照してください。 + +なお、こうした変更により、Ruby 2.5.0 以降では [6376 個のファイルに変更が加えられ、227364 行の追加と 51599 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) ! + +メリークリスマス。Ruby とともに良いお年を! + +## Download + +* + + SIZE: 16687800 bytes + SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 + SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdced +f0ff3eba51b9afab907e7e1ac243475772f8688382 +* + + SIZE: 20582054 bytes + SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 + SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f3 +0ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 +* + + SIZE: 14585856 bytes + SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 + SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 + SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 +* + + SIZE: 11918536 bytes + SHA1: 9ddaeba3505d2855460c8c653159fc0ac8928c0f + SHA256: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f + SHA512: c56eaf85ef7b79deb34ee4590b143c07f4fc83eb79775290761aee5a7c63374659613538a41f25706ed6e19e49d5c67a1014c24d17f29948294c7abd0b0fcea8 From 5739e20f4ac94d577dd80d07b37dcbc93909335a Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Tue, 25 Dec 2018 16:22:51 +0900 Subject: [PATCH 0311/2563] fix missing version --- ja/news/_posts/2018-12-25-ruby-2-6-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md b/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md index 3717933941..004a8b34be 100644 --- a/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -105,7 +105,7 @@ Ruby 2.6では抽象構文木を扱う `RubyVM::AbstractSyntaxTree` モジュー なお、こうした変更により、Ruby 2.5.0 以降では [6376 個のファイルに変更が加えられ、227364 行の追加と 51599 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) ! -メリークリスマス。Ruby とともに良いお年を! +メリークリスマス。Ruby 2.6 とともに良いお年を! ## Download From 0f5743456952e2d28fc9287535cc6e99aaee2530 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Tue, 25 Dec 2018 16:26:27 +0900 Subject: [PATCH 0312/2563] update shortstat --- en/news/_posts/2018-12-25-ruby-2-6-0-released.md | 2 +- ja/news/_posts/2018-12-25-ruby-2-6-0-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md index 180f6e478d..88db46c920 100644 --- a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -109,7 +109,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get sou See [NEWS](https://github.com/ruby/ruby/blob/v2_6_0/NEWS) or [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) for more details. -With those changes, [6376 files changed, 227364 insertions(+), 51599 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) since Ruby 2.5.0! +With those changes, [6437 files changed, 231471 insertions(+), 98498 deletions(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) since Ruby 2.5.0! Merry Christmas, Happy Holidays, and enjoy programming with Ruby 2.6! diff --git a/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md b/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md index 004a8b34be..d0356555a1 100644 --- a/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -103,7 +103,7 @@ Ruby 2.6では抽象構文木を扱う `RubyVM::AbstractSyntaxTree` モジュー その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/v2_6_0/NEWS) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0)を参照してください。 -なお、こうした変更により、Ruby 2.5.0 以降では [6376 個のファイルに変更が加えられ、227364 行の追加と 51599 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) ! +なお、こうした変更により、Ruby 2.5.0 以降では [6437 個のファイルに変更が加えられ、231471 行の追加と 98498 行の削除が行われました](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) ! メリークリスマス。Ruby 2.6 とともに良いお年を! From 68a659ed37888caaf50129d2b862676b0f3b21ee Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 25 Dec 2018 17:40:00 +0900 Subject: [PATCH 0313/2563] Translate fukuoka-ruby-award 2019 (ko) (#1925) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Copy original news * [KO] Translate fukuoka-ruby-award 2019 * s/여러분에게/여러분께/ Co-Authored-By: riseshia * Better korean /대회에 참가하는 것은/대회참가는/ * Fix to correct year Co-Authored-By: riseshia * Fix to correct year (2) Co-Authored-By: riseshia --- .../2018-11-29-fukuoka-ruby-award-2019.md | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 ko/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md diff --git a/ko/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/ko/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md new file mode 100644 index 0000000000..27d0e9afc5 --- /dev/null +++ b/ko/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -0,0 +1,63 @@ +--- +layout: news_post +title: "2019 후쿠오카 루비 경진대회 - Matz가 심사합니다" +author: "Fukuoka Ruby" +translator: "shia" +date: 2018-11-29 00:00:00 +0000 +lang: ko +--- + +루비스트 여러분께, + +일본 후쿠오카 현은 'Matz' 마츠모토 씨와 함께 여러분을 다음 경진 대회에 초대합니다. 흥미로운 루비 프로그램을 개발하셨다면 한번 지원해보세요. + +2019 후쿠오카 루비 경진대회 - 대상 - 백만 엔! + +접수 마감: 2019년 1월 31일 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz를 포함한 패널들이 후쿠오카 경진대회의 우승자를 선택합니다. 후쿠오카 경진대회의 대상에게는 백만 엔의 상금이 주어집니다. 이전 이 대회의 우승자로는 Rhomobile(미국)과 APEC 기후 센터(한국)가 있습니다. + + + +대회에 참가하는 프로그램은 완전히 루비로 작성될 필요는 없습니다. 하지만 루비의 특징을 살려야 합니다. + +프로젝트는 지난 12개월 동안 개발되거나 완료된 것만이 유효합니다. 추가 설명이나 참가를 원하신다면 다음 웹사이트를 방문하세요. + +[http://www.digitalfukuoka.jp/events/185](http://www.digitalfukuoka.jp/events/185) +또는 +[http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc) + +지원서는 award@f-ruby.com으로 보내주세요. + +올해에는 다음과 같은 특별상이 준비되어 있습니다. + +AWS 상의 수상자는 다음을 받게 됩니다. + +* 아마존 에코 (변경될 가능성 있음) +* AWS 아키텍트의 기술 상담 + +GMO 페파보 상의 수상자는 다음을 받게 됩니다. + +* Lolipop! 공유 호스팅 서비스: 기본 플랜의 10년 구독권이나 클라우드 서비스에서 사용 가능한 100,000엔 분의 쿠폰 +* Muumuu 도메인 DNS 등록 서비스: 1개 도메인의 10년 무료 구독권(매년 10,000엔 이하의 비용이 드는 도메인에 한하여) + +IIJ GIO 상의 수상자는 다음을 받게 됩니다. + +* IIJ GIO 500,000엔의 무료 쿠폰(6개월간 유효) + +Money Forward 상의 수상자는 다음을 받게 됩니다. + +* Money Forward에서 일하고 있는 루비 커미터와의 저녁 식사 +* 개인 재정 관리 서비스 'Money Forward'의 10년 프리미엄 무료 이용권 + +Salesforce 상의 수상자는 다음을 받게 됩니다. + +* salesforce.com의 기념품 + +'Matz는 코드를 주의깊게 테스트하고 읽어볼 것이므로, 지원할만한 충분한 가치가 있을 것입니다! 대회참가는 무료입니다.' + +감사합니다! From c3db46db02084897562e0100245d2f746ff34989 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 25 Dec 2018 18:52:44 +0900 Subject: [PATCH 0314/2563] Translate 2.6.0-rc{1,2} release (ko) (#1924) * Copy original news * [KO] Translate 2.6.0-rc{1,2} release * Fix to use 2.6.0 * Follow up f8e7266 * Apply suggestions from code review Apply reviews Co-Authored-By: riseshia * Use 11, not 11.0.0 * better korean Co-Authored-By: riseshia --- .../2018-12-06-ruby-2-6-0-rc1-released.md | 137 +++++++++++++++++ .../2018-12-15-ruby-2-6-0-rc2-released.md | 139 ++++++++++++++++++ 2 files changed, 276 insertions(+) create mode 100644 ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md create mode 100644 ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md diff --git a/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md new file mode 100644 index 0000000000..8b0e22ebf2 --- /dev/null +++ b/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -0,0 +1,137 @@ +--- +layout: news_post +title: "루비 2.6.0-rc1 릴리스" +author: "naruse" +translator: "shia" +date: 2018-12-06 00:00:00 +0000 +lang: ko +--- + +루비 2.6.0-rc1의 릴리스를 알리게 되어 기쁩니다. + +루비 2.6.0-rc1은 루비 2.6.0의 첫 번째 릴리스 후보입니다. +이는 다음과 같은 여러 새 기능과 기능 향상을 포함합니다. + +## JIT + +루비 2.6은 JIT(Just-in-time) 컴파일러의 첫 구현체를 포함합니다. + +JIT 컴파일러는 루비 프로그램의 실행 성능을 향상시키는 것이 목적입니다. +다른 언어의 일반적인 JIT 컴파일러와는 다르게, 루비의 JIT 컴파일러는 C 코드를 디스크에 출력한 뒤, 일반적인 C 컴파일러 프로세스를 사용해 네이티브 코드를 생성하도록 합니다. +[Vladimir Makarov가 작성한 MJIT 구조](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)를 참고하세요. + +JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYOPT` 환경 변수에 지정합니다. +`--jit-verbose=1`을 지정하면 실행 중인 JIT 컴파일의 기본적인 정보를 출력합니다. 다른 옵션에 대해서는 `ruby --help`를 확인하세요. + +이번 JIT 릴리스의 주 목적은 2.6 릴리스 전에 각 플랫폼에서 잘 동작하는지, 보안상의 문제가 발생하는지 미리 확인하는 것입니다. +현재 JIT 컴파일러는 루비가 gcc나 clang, Microsoft VC++로 빌드되었으며, 해당 컴파일러가 런타임에서 사용 가능한 경우에만 이용할 수 있습니다. 그 이외에는 아직 이용할 수 없습니다. + +2.6.0-rc1에서는 Optcarrot이라는 CPU 성능을 요구하는 벤치마크에서 1.7배의 성능 향상을 이루었습니다(다음을 참조: https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208). Rails 애플리케이션 같은 메모리를 요구하는 작업에서도 성능을 향상시킬 것입니다. + +새로운 루비의 성능을 기대해주세요. + +## RubyVM::AbstractSyntaxTree [Experimental] + +루비 2.6에는 `RubyVM::AbstractSyntaxTree` 모듈이 도입되었습니다. + +이 모듈에는 문자열을 파싱하여 AST(추상구문트리)의 노드를 돌려주는 `parse` 메서드, 파일을 파싱하여 AST의 노드를 돌려주는 `parse_file` 메서드가 들어있습니다. +`RubyVM::AbstractSyntaxTree::Node`도 도입되었습니다. 이 클래스의 인스턴스로부터 위치정보나 자식 노드를 얻을 수 있습니다. 이 기능은 실험적으로 포함되었으며, AST 노드의 구조는 호환성을 보장하지 않습니다. + +## 새로운 기능 + +* `Kernel#yield_self`의 별칭으로 `then`이 추가되었습니다. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `rescue`가 없는 `else`가 문법 에러가 됩니다. [EXPERIMENTAL] + +* ASCII 이외의 대문자로 시작하는 상수를 정의할 수 있게 됩니다. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 종료 지정이 없는 범위 연산자. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 종료 지정이 없는 범위 연산자 `(1..)`가 추가됩니다. 이는 끝이 없는 것처럼 취급됩니다. 다음은 전형적인 사용 예시입니다. + + ary[1..] # ary[1..-1]와 동치 + (1..).each {|index| ... } # 1로 시작하는 무한 루프 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Binding#source_location`을 추가했습니다. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + 이 메서드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다. [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352) 그러므로 지금까지 사용하던 `eval("[__FILE__, __LINE__]", binding)`로 같은 정보를 획득할 수 없게 됩니다. 앞으로는 `Kernel#eval`보다는 새로운 `Binding#source_location` 메서드를 사용하게 될 것입니다. + +* `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가했습니다. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* `Coverage`의 oneshot_lines 모드를 추가했습니다. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * 이 모드는 '각 줄이 몇 번 실행되었는지' 대신 '각 줄이 한 번 이상 실행되었는지'를 확인합니다. 각 줄의 훅은 최대 1회만 실행되며, 실행된 후에는 플래그를 제거하기 때문에 오버헤드 없이 실행됩니다. + * `Coverage.start`에 `:oneshot_lines` 키워드 인수가 추가됩니다. + * `Coverage.result`에 `:stop`과 `:clear` 키워드 인수가 추가됩니다. 만약 `clear`가 참이라면, 이는 카운터를 0으로 초기화합니다. 만약 `stop`이 참이라면 커버리지 측정을 비활성화합니다. + * 주어진 소스 코드로부터 'stub'을 생성하는 간단한 헬퍼 함수인 `Coverage.line_stub`을 추가합니다. + +* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 성능 향상 + +* `Proc#call`이 더 이상 `$SAFE`를 고려하지 않아도 되어 속도가 빨라졌습니다. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크가 1.4배 빨라졌습니다. + [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block`이 블록 파라미터인 경우의 `block.call`이 빨라졌습니다. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + 루비 2.5에서는 블록 넘기기의 성능이 향상되었습니다만 [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045), + 추가로 2.6에서는 넘겨진 블록의 호출이 개선되었습니다. + 간단한 벤치마크에서 2.6배의 성능 향상을 확인했습니다. + +* Transient Heap(theap)이 도입되었습니다. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + theap은 특정 클래스(Array, Hash, Object, Struct)가 가리키는 짧은 생애를 + 가지는 메모리 객체들을 관리합니다. 예를 들어 작고 짧게 생존하는 Hash 객체는 + 2배 빨라집니다. rdoc 벤치마크에서 6-7%의 성능 향상을 확인했습니다. + +## 2.5 이후 주목할 만한 변경 + +* `$SAFE`가 프로세스 전역 변수로 취급되며, `0` 이외의 값을 설정한 후에 `0`으로 되돌리는 것이 가능해집니다. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* `ERB.new`에 `safe_level`을 넘기는 기능이 제거될 예정입니다. 또한 `trim_mode`와 `eoutvar`는 키워드 변수로 변경됩니다. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 유니코드 지원 버전이 11로 갱신되었습니다. 이는 루비 2.6의 TEENY 릴리스에서 12와 12.1로 갱신될 예정입니다. + +* RubyGems 3.0.0.beta3를 병합했습니다. `--ri`와 `--rdoc` 옵션이 제거되었습니다. 대신에 `--document`와 `--no-document`를 사용해주세요. + +* [Bundler](https://github.com/bundler/bundler)를 기본 젬으로 병합했습니다. + +[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1)에서 +더 자세한 설명을 확인할 수 있습니다. + +이러한 변경 사항에 따라, 루비 2.5.0 이후로 +[파일 6376개 수정, 227364줄 추가(+), 51599줄 삭제(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1)가 +이루어졌습니다! + +루비 2.6.0-rc1을 즐겨보세요! + +## 다운로드 + +* + + SIZE: 16823448 bytes + SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 + SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 +4d77967a59e304353cde4a915537e7c4e4ee20be73 +* + + SIZE: 20737499 bytes + SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 + SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a +* + + SIZE: 14607078 bytes + SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e + SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 +* + + SIZE: 11851908 bytes + SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e + SHA256: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + SHA512: 3d93d8d80e4900e8b3a27f904ed60581cebc6c55f4ab7acafc81e95001f92f3ea4ddec2da6169b1ed5e0146f7b7c35c1c13b3243955d5825c72170834fe933f3 diff --git a/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md new file mode 100644 index 0000000000..2c2429e3ed --- /dev/null +++ b/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -0,0 +1,139 @@ +--- +layout: news_post +title: "루비 2.6.0-rc2 릴리스" +author: "naruse" +translator: "shia" +date: 2018-12-15 00:00:00 +0000 +lang: ko +--- + +루비 2.6.0-rc2의 릴리스를 알리게 되어 기쁩니다. + +루비 2.6.0-rc2은 루비 2.6.0의 두 번째 릴리스 후보입니다. +RC2는 Bundler 2.0 대신 1.17을 포함해보기 위해서 릴리스되었습니다. +이는 다음과 같은 여러 새 기능과 기능 향상을 포함합니다. + +## JIT + +루비 2.6은 JIT(Just-in-time) 컴파일러의 첫 구현체를 포함합니다. + +JIT 컴파일러는 루비 프로그램의 실행 성능을 향상시키는 것이 목적입니다. +다른 언어의 일반적인 JIT 컴파일러와는 다르게, 루비의 JIT 컴파일러는 C 코드를 디스크에 출력한 뒤, 일반적인 C 컴파일러 프로세스를 사용해 네이티브 코드를 생성하도록 합니다. +[Vladimir Makarov가 작성한 MJIT 구조](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)를 참고하세요. + +JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYOPT` 환경 변수에 지정합니다. +`--jit-verbose=1`을 지정하면 실행 중인 JIT 컴파일의 기본적인 정보를 출력합니다. 다른 옵션에 대해서는 `ruby --help`를 확인하세요. + +이번 JIT 릴리스의 주 목적은 2.6 릴리스 전에 각 플랫폼에서 잘 동작하는지, 보안상의 문제가 발생하는지 미리 확인하는 것입니다. +현재 JIT 컴파일러는 루비가 gcc나 clang, Microsoft VC++로 빌드되었으며, 해당 컴파일러가 런타임에서 사용 가능한 경우에만 이용할 수 있습니다. 그 이외에는 아직 이용할 수 없습니다. + +2.6.0-rc2에서는 Optcarrot이라는 CPU 성능을 요구하는 벤치마크에서 1.7배의 성능 향상을 이루었습니다(다음을 참조: https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208). Rails 애플리케이션 같은 메모리를 요구하는 작업에서도 성능을 향상시킬 것입니다. + +새로운 루비의 성능을 기대해주세요. + +## RubyVM::AbstractSyntaxTree [Experimental] + +루비 2.6에는 `RubyVM::AbstractSyntaxTree` 모듈이 도입되었습니다. + +이 모듈에는 문자열을 파싱하여 AST(추상구문트리)의 노드를 돌려주는 `parse` 메서드, 파일을 파싱하여 AST의 노드를 돌려주는 `parse_file` 메서드가 들어있습니다. +`RubyVM::AbstractSyntaxTree::Node`도 도입되었습니다. 이 클래스의 인스턴스로부터 위치정보나 자식 노드를 얻을 수 있습니다. 이 기능은 실험적으로 포함되었으며, AST 노드의 구조는 호환성을 보장하지 않습니다. + +## 새로운 기능 + +* `Kernel#yield_self`의 별칭으로 `then`이 추가되었습니다. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `rescue`가 없는 `else`가 문법 에러가 됩니다. [EXPERIMENTAL] [[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +* ASCII 이외의 대문자로 시작하는 상수를 정의할 수 있게 됩니다. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 종료 지정이 없는 범위 연산자가 추가됩니다. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 종료 지정이 없는 범위 연산자 `(1..)`가 추가됩니다. 이는 끝이 없는 것처럼 취급됩니다. 다음은 전형적인 사용 예시입니다. + + ary[1..] # ary[1..-1]와 동치 + (1..).each {|index| block } # 1로 시작하는 무한 루프 + ary.zip(1..) {|elem, index| block } # ary.each.with_index(1) { } + +* `Binding#source_location`을 추가했습니다. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + 이 메서드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다. [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352) 그러므로 지금까지 사용하던 `eval("[__FILE__, __LINE__]", binding)`로 같은 정보를 획득할 수 없게 됩니다. 앞으로는 `Kernel#eval`보다는 새로운 `Binding#source_location` 메서드를 사용하게 될 것입니다. + +* `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가했습니다. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* `Coverage`의 oneshot_lines 모드를 추가했습니다. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + + * 이 모드는 '각 줄이 몇 번 실행되었는지' 대신 '각 줄이 한 번 이상 실행되었는지'를 확인합니다. 각 줄의 훅은 최대 1회만 실행되며, 실행된 후에는 플래그를 제거하기 때문에 오버헤드 없이 실행됩니다. + * `Coverage.start`에 `:oneshot_lines` 키워드 인수가 추가됩니다. + * `Coverage.result`에 `:stop`과 `:clear` 키워드 인수가 추가됩니다. 만약 `clear`가 참이라면, 이는 카운터를 0으로 초기화합니다. 만약 `stop`이 참이라면 커버리지 측정을 비활성화합니다. + * 주어진 소스 코드로부터 'stub'을 생성하는 간단한 헬퍼 함수인 `Coverage.line_stub`을 추가합니다. + +* `FileUtils#cp_lr`을 추가했습니다. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 성능 향상 + +* `Proc#call`이 더 이상 `$SAFE`를 고려하지 않아도 되어 속도가 빨라졌습니다. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크가 1.4배 빨라졌습니다. + [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block`이 블록 파라미터인 경우의 `block.call`이 빨라졌습니다. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + 루비 2.5에서는 블록 넘기기의 성능이 향상되었습니다만 [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045), + 추가로 2.6에서는 넘겨진 블록의 호출이 개선되었습니다. + 간단한 벤치마크에서 2.6배의 성능 향상을 확인했습니다. + +* Transient Heap(theap)이 도입되었습니다. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + + theap은 특정 클래스(Array, Hash, Object, Struct)가 가리키는 짧은 생애를 + 가지는 메모리 객체들을 관리합니다. 예를 들어 작고 짧게 생존하는 Hash 객체는 + 2배 빨라집니다. rdoc 벤치마크에서 6-7%의 성능 향상을 확인했습니다. + +## 2.5 이후 주목할 만한 변경 + +* `$SAFE`가 프로세스 전역 변수로 취급되며, `0` 이외의 값을 설정한 후에 `0`으로 되돌리는 것이 가능해집니다. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* `ERB.new`에 `safe_level`을 넘기는 기능이 제거될 예정입니다. 또한 `trim_mode`와 `eoutvar`는 키워드 변수로 변경됩니다. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 유니코드 지원 버전이 11로 갱신되었습니다. 이는 루비 2.6의 TEENY 릴리스에서 12와 12.1로 갱신될 예정입니다. + +* RubyGems 3.0.0.beta3를 병합했습니다. `--ri`와 `--rdoc` 옵션이 제거되었습니다. 대신에 `--document`와 `--no-document`를 사용해주세요. + +* [Bundler](https://github.com/bundler/bundler)를 기본 젬으로 병합했습니다. + +[NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2)에서 +더 자세한 설명을 확인할 수 있습니다. + +이러한 변경 사항에 따라, 루비 2.5.0 이후로 +[파일 6411개 수정, 228864줄 추가(+), 97600줄 삭제(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2)가 +이루어졌습니다! + +루비 2.6.0-rc2을 즐겨보세요! + +## 다운로드 + +* + + SIZE: 16723556 bytes + SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 + SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 +* + + SIZE: 20643747 bytes + SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 + SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c +* + + SIZE: 14581998 bytes + SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 + SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba +* + + SIZE: 11908088 bytes + SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 + SHA256: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + SHA512: a3dc43c0bc70dfdb9ff0d18b5b9797bbf332524f5d3bbb7940cf4e32286ca715808acfd11ebf3cdbe358a2466b7c6b5be3a7a784af7eb95c071fe1f8b4ab1261 From c1299d04044dba5d9a1a8e917ce420f306817a4d Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Tue, 25 Dec 2018 22:08:27 +0900 Subject: [PATCH 0315/2563] Translate Ruby 2.6.0-rc2 released (zh_cn) (#1921) --- .../2018-12-06-ruby-2-6-0-rc1-released.md | 3 +- .../2018-12-15-ruby-2-6-0-rc2-released.md | 121 ++++++++++++++++++ 2 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md diff --git a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 54a1d64709..354b4568c6 100644 --- a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -12,6 +12,7 @@ lang: zh_cn Ruby 2.6.0-rc1 是 Ruby 2.6.0 的第一个候选版本。此版本包括数个新特性和性能提升,例如: ## JIT + Ruby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语言中常见的 JIT 编译器,Ruby 的 JIT 编译器进行 JIT 编译的过程非常独特。其将生成的 C 代码打印至磁盘并 spawn 常见的 C 编译器进行代码的生成工作。详见:[Vladimir Makarov 的 MJIT 组织](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 @@ -60,7 +61,7 @@ Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模块。 * 为 `Coverage.result` 方法新增 `:stop` 和 `:clear` 关键字参数。如果 `clear` 被设置为 true,它会清空计数器。如果 `stop` 被设置为 true,它会禁用覆盖测量。 * 新增 `Coverage.line_stub`,其为从源代码新建代码覆盖存根(stub)提供了一个简单的帮助函数。 -* `FileUtils#cp_lr`. [[功能 #4189]](https://bugs.ruby-lang.org/issues/4189) +* `FileUtils#cp_lr`。[[功能 #4189]](https://bugs.ruby-lang.org/issues/4189) ## 性能提升 diff --git a/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md new file mode 100644 index 0000000000..bb420d5275 --- /dev/null +++ b/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -0,0 +1,121 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc2 已发布" +author: "naruse" +translator: "Delton Ding" +date: 2018-12-15 00:00:00 +0000 +lang: zh_cn +--- + +我们高兴地宣布 Ruby 2.6.0-rc-2 已发布。 + +Ruby 2.6.0-rc2 是 Ruby 2.6.0 的第二个候选版本。发布 RC2 是为了测试将内置的 Bundler 1.17 升级至 2.0。此版本包括数个新特性和性能提升,例如: + +## JIT + +Ruby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 + +JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语言中常见的 JIT 编译器,Ruby 的 JIT 编译器进行 JIT 编译的过程非常独特。其将生成的 C 代码打印至磁盘并 spawn 常见的 C 编译器进行代码的生成工作。详见:[Vladimir Makarov 的 MJIT 组织](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 + +如何使用:在命令行或 `$RUBYOPT` 环境变量中指定 `--jit` 参数。指定 `--jit-verbose=1` 将允许打印 JIT 编译过程中的调试信息。详见 `ruby --help` 查看更多其他选项。 + +此 JIT 发布的主要目的是检查平台的兼容性,以及在 2.6 版本发布前找出安全风险。目前 JIT 编译器只当 Ruby 由 gcc clang 或 Microsoft VC++ 编译后,编译器仍可被运行时发现时可用,除此之外你暂时无法使用 JIT。 + +Ruby 2.6.0-rc2 在使用 CPU 密集型场景下的复杂 Benchmark Optcarrot 进行测试后,比起 Ruby 2.5 取得了 1.7 倍的性能提升。我们会进一步提升其在内存密集型场景,例如 Rails 应用中的性能。 + +请保持对 Ruby 新时代性能的关注。 + +## RubyVM::AbstractSyntaxTree [试验性] + +Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模块。 + +此模块提供 `parse` 方法,传入 Ruby 代码字符串,返回 AST(抽象语法树)节点。而 `parse_file` 方法则接受一个 Ruby 代码文件作为参数,返回 AST 节点。 + +同时引入了 `RubyVM::AbstractSyntaxTree::Node` 类,你可以从 `Node` 对象中获取位置信息和子节点。此功能尚处于实验性质,对于 AST 节点的兼容性不做保证。 + +## 新特性 + +* 为 `Kernel#yield_self` 添加了新别名 `then`。[[功能 #14594]](https://bugs.ruby-lang.org/issues/14594) + +* 不含 `rescue` 的 `else` 现在会引起语法错误。[实验性质] + +* 常量名现在可以以非 ASCII 大写字母开头。[[功能 #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 无限范围 [[功能 #12912]](https://bugs.ruby-lang.org/issues/12912) + + 引入了无限范围 `(1..)`。这个范围没有终点,以下是使用场景的举例。 + + ary[1..] # 等价于 ary[1..-1] 而不需要魔法的 -1 + (1..).each {|index| ... } # 从 1 开始的无限循环 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 `Binding#source_location`。[[功能 #14230]](https://bugs.ruby-lang.org/issues/14230) + + 此方法以一个二元组数组 `__FILE__` 和 `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [[漏洞 #4352]](https://bugs.ruby-lang.org/issues/4352)。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 + +* 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) + +* 新增 oneshot 模式 [[功能 #15022]](https://bugs.ruby-lang.org/issues/15022) + * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 + * 为 `Coverage.start` 方法新增 `:oneshot_lines` 关键字参数。 + * 为 `Coverage.result` 方法新增 `:stop` 和 `:clear` 关键字参数。如果 `clear` 被设置为 true,它会清空计数器。如果 `stop` 被设置为 true,它会禁用覆盖测量。 + * 新增 `Coverage.line_stub`,其为从源代码新建代码覆盖存根(stub)提供了一个简单的帮助函数。 + +* `FileUtils#cp_lr`。[[功能 #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 性能提升 + +* 提升 `Proc#call` 的速度,因为我们无需再关心 `$SAFE`。[[功能 #14318]](https://bugs.ruby-lang.org/issues/14318) + + 通过 `lc_fizzbuzz` 多次使用 `Proc#call` 的 benchmark 我们测量到了 1.4 倍性能提升 [[漏洞 #10212]]((https://bugs.ruby-lang.org/issues/10212))。 + +* 提升了当 `block` 是代码块参数时 `block.call` 的性能。[[功能 #14330]]((https://bugs.ruby-lang.org/issues/14330)) + + Ruby 2.5 提升了代码块传递的性能。[[功能 #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。 + +* 引入了瞬态堆 (theap)。 [[漏洞 #14858]](https://bugs.ruby-lang.org/issues/14858) [[功能 #14989]](https://bugs.ruby-lang.org/issues/14989) 瞬态堆是用于管理指向特定类(Array、Hash、Object 和 Struct)短生命周期内存对象的堆。例如,创建小而短生命周期的哈希对象的速度提升到了 2 倍快。根据 rdoc benchmark,我们观察到了 6% 到 7% 的性能提升。 + +## 其他自 2.5 以来的重要变化 + +* `$SAFE` 成为了进程全局状态,我们可以再次将其设为 `0`。[[功能 #14250]](https://bugs.ruby-lang.org/issues/14250) + +* 不再建议将 `safe_level` 参数传递给 `ERB.new` 的行为。`trim_mode` 和 `eoutvar` 参数被转换成了关键词参数。[[功能 #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 升级支持的 Unicode 版本至 11。我们计划在未来 Ruby 2.6 的小更新中升级至 12 和 12.1。 + +* 合并 RubyGems 3.0.0.beta3,`--ri` 和 `--rdoc` 选项已被移除。请使用 `--document` 和 `--no-document` 选项来替代他们。 + +* 合并 [Bundler](https://github.com/bundler/bundler) 作为默认 gem。 + +见 [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS) 或 [提交日志](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) 以查看详情。 + +这些合并后,自 Ruby 2.5.0 已发生了 [6411 个文件变更,228864 行新增(+),97600 行删除(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2)! + +享受 Ruby 2.6.0-rc2 的编程吧! + +## 下载 + +* + + SIZE: 16723556 bytes + SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 + SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 +* + + SIZE: 20643747 bytes + SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 + SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c +* + + SIZE: 14581998 bytes + SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 + SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba +* + + SIZE: 11908088 bytes + SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 + SHA256: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + SHA512: a3dc43c0bc70dfdb9ff0d18b5b9797bbf332524f5d3bbb7940cf4e32286ca715808acfd11ebf3cdbe358a2466b7c6b5be3a7a784af7eb95c071fe1f8b4ab1261 From fdba9b9bc1c336994bb002b4e7592fcc03290c43 Mon Sep 17 00:00:00 2001 From: Vinicius Brasil Date: Tue, 25 Dec 2018 14:28:16 -0200 Subject: [PATCH 0316/2563] Fix Ruby 2.6 release post typo --- en/news/_posts/2018-12-25-ruby-2-6-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md index 88db46c920..5c1514ace2 100644 --- a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -99,7 +99,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get sou * Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments have been changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) -* Unicode support is updated to version 11. We have plans to add support Unicode version 12 and 12.1 in a future TEENY release of Ruby 2.6. This will include support for the [new Japenese era](http://blog.unicode.org/2018/09/new-japanese-era.html). +* Unicode support is updated to version 11. We have plans to add support Unicode version 12 and 12.1 in a future TEENY release of Ruby 2.6. This will include support for the [new Japanese era](http://blog.unicode.org/2018/09/new-japanese-era.html). * Merge RubyGems 3.0.1. The `--ri` and `--rdoc` options have been removed. Please use `--document` and `--no-document` options instead. From 845d4983279672a6c48e4fc45c87a500c70e91f4 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 26 Dec 2018 08:17:32 +0100 Subject: [PATCH 0317/2563] Fix date field for Ruby 2.6 series --- _data/branches.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/branches.yml b/_data/branches.yml index a663830e8d..2deccf968b 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -10,7 +10,7 @@ - name: 2.6 status: normal maintenance - status: 2018-12-25 + date: 2018-12-25 eol_date: - name: 2.5 From e73d4c1b0e81cc286442069305188aa3392eab81 Mon Sep 17 00:00:00 2001 From: epistrephein Date: Wed, 26 Dec 2018 08:19:02 +0100 Subject: [PATCH 0318/2563] Use date key instead of status for release date --- _data/branches.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/branches.yml b/_data/branches.yml index a663830e8d..2deccf968b 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -10,7 +10,7 @@ - name: 2.6 status: normal maintenance - status: 2018-12-25 + date: 2018-12-25 eol_date: - name: 2.5 From a763274efd88580046234bece7dfe0ca51762bff Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 26 Dec 2018 08:23:07 +0100 Subject: [PATCH 0319/2563] Fix sha512 sums in Ruby 2.6.0 post (en) --- en/news/_posts/2018-12-25-ruby-2-6-0-released.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md index 88db46c920..adbc0a38db 100644 --- a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -120,21 +120,22 @@ Merry Christmas, Happy Holidays, and enjoy programming with Ruby 2.6! SIZE: 16687800 bytes SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 - SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdced -f0ff3eba51b9afab907e7e1ac243475772f8688382 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdcedf0ff3eba51b9afab907e7e1ac243475772f8688382 + * SIZE: 20582054 bytes SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a - SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f3 -0ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f30ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + * SIZE: 14585856 bytes SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 + * SIZE: 11918536 bytes From c3a145897b03970fa78b469a3ece1c43e234ddf5 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 26 Dec 2018 16:36:45 +0900 Subject: [PATCH 0320/2563] Translate Ruby 2.6.0 Release (ko) (#1928) * Copy from original news * Translate Ruby 2.6.0 Release (ko) * Apply suggestions from code review Co-Authored-By: riseshia * More natural explanation * Apply Suggestion Co-Authored-By: riseshia --- .../2018-12-06-ruby-2-6-0-rc1-released.md | 2 +- .../2018-12-15-ruby-2-6-0-rc2-released.md | 2 +- .../_posts/2018-12-25-ruby-2-6-0-released.md | 143 ++++++++++++++++++ 3 files changed, 145 insertions(+), 2 deletions(-) create mode 100644 ko/news/_posts/2018-12-25-ruby-2-6-0-released.md diff --git a/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 8b0e22ebf2..c4168d1e85 100644 --- a/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -83,7 +83,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO * Transient Heap(theap)이 도입되었습니다. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) theap은 특정 클래스(Array, Hash, Object, Struct)가 가리키는 짧은 생애를 - 가지는 메모리 객체들을 관리합니다. 예를 들어 작고 짧게 생존하는 Hash 객체는 + 가지는 메모리 객체들을 관리합니다. 예를 들어 작고 짧게 생존하는 Hash 객체의 생성이 2배 빨라집니다. rdoc 벤치마크에서 6-7%의 성능 향상을 확인했습니다. ## 2.5 이후 주목할 만한 변경 diff --git a/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 2c2429e3ed..dba3b692b0 100644 --- a/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -86,7 +86,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO * Transient Heap(theap)이 도입되었습니다. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) theap은 특정 클래스(Array, Hash, Object, Struct)가 가리키는 짧은 생애를 - 가지는 메모리 객체들을 관리합니다. 예를 들어 작고 짧게 생존하는 Hash 객체는 + 가지는 메모리 객체들을 관리합니다. 예를 들어 작고 짧게 생존하는 Hash 객체의 생성이 2배 빨라집니다. rdoc 벤치마크에서 6-7%의 성능 향상을 확인했습니다. ## 2.5 이후 주목할 만한 변경 diff --git a/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md b/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md new file mode 100644 index 0000000000..e58d8e2f6c --- /dev/null +++ b/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -0,0 +1,143 @@ +--- +layout: news_post +title: "루비 2.6.0 릴리스" +author: "naruse" +translator: "shia" +date: 2018-12-25 00:00:00 +0000 +lang: ko +--- + +루비 2.6.0의 릴리스를 알리게 되어 기쁩니다. + +이는 여러 새 기능과 기능 향상을 포함하며, 주목할 만한 것은 아래와 같습니다. + + * 새로운 JIT 컴파일러. + * `RubyVM::AbstractSyntaxTree` 모듈. + +## JIT [Experimental] + +루비 2.6은 JIT(Just-in-time) 컴파일러의 첫 구현체를 포함합니다. + +JIT 컴파일러는 루비 프로그램의 실행 성능을 향상시키는 것이 목적입니다. 다른 언어의 일반적인 JIT 컴파일러와는 다르게, 루비의 JIT 컴파일러는 C 코드를 디스크에 출력한 뒤, 일반적인 C 컴파일러 프로세스를 사용해 네이티브 코드를 생성하도록 합니다. [Vladimir Makarov가 작성한 MJIT 구조](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#MJIT-organization)를 참고하세요. + +JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYOPT` 환경 변수에 지정합니다. `--jit-verbose=1`을 지정하면 실행 중인 JIT 컴파일의 추가적인 정보를 출력합니다. 다른 옵션에 대해서는 `ruby --help`나 [문서](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage)를 확인하세요. + +현재 JIT 컴파일러는 루비가 gcc나 clang, Microsoft VC++로 빌드되었으며, 해당 컴파일러가 런타임에서 사용 가능한 경우에만 이용할 수 있습니다. + +2.6.0에서는 [Optcarrot](https://github.com/mame/optcarrot)이라는 CPU 성능을 요구하는 벤치마크에서 루비 2.5에 비해 [1.7배의 성능 향상](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208)을 이루었습니다. 하지만 여전히 실험적인 기능이며 Rails 애플리케이션 같은 메모리를 요구하는 작업에서는 이득이 없을 수도 있습니다. 더 자세한 설명은 [Ruby 2.6 JIT - Progress and Future](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf)(영문)를 참고하세요. + +새로운 루비의 성능을 기대해주세요. + +## `RubyVM::AbstractSyntaxTree` [Experimental] + +루비 2.6에는 `RubyVM::AbstractSyntaxTree` 모듈이 도입되었습니다. **이 모듈의 하위 호환성은 보장되지 않습니다**. + +이 모듈에는 문자열을 파싱하여 AST(추상구문트리)의 노드를 돌려주는 `parse` 메서드, 파일을 파싱하여 AST의 노드를 돌려주는 `parse_file` 메서드가 들어있습니다. + +`RubyVM::AbstractSyntaxTree::Node`도 도입되었습니다. 이 클래스의 인스턴스로부터 위치정보나 자식 노드를 얻을 수 있습니다. 이 기능은 실험적입니다. + +## 주목할 만한 새로운 기능 + +* `Kernel#yield_self`의 별칭으로 `then`이 추가되었습니다. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* ASCII 이외의 대문자로 시작하는 상수를 정의할 수 있게 됩니다. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 종료 지정이 없는 범위 연산자가 추가됩니다. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 종료 지정이 없는 범위 연산자 `(1..)`가 추가됩니다. 이는 끝이 없는 것처럼 취급됩니다. 다음은 전형적인 사용 예시입니다. + + ary[1..] # ary[1..-1]와 동치 + (1..).each {|index| ... } # 1로 시작하는 무한 루프 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Enumerable#chain`과 `Enumerator#+`가 추가되었습니다. [[Feature #15144]](https://bugs.ruby-lang.org/issues/15144) + +* 함수 결합 연산자인 `<<`와 `>>`가 `Proc`과 `Method`에 추가되었습니다. [[Feature #6284]](https://bugs.ruby-lang.org/issues/6284) + + f = proc{|x| x + 2} + g = proc{|x| x * 3} + (f << g).call(3) # -> 11; identical to f(g(3)) + (f >> g).call(3) # -> 15; identical to g(f(3)) + +* `Binding#source_location`을 추가했습니다. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + 이 메서드는 `binding`의 소스 코드 상의 위치를 `__FILE__`과 `__LINE__`을 가지는 배열로 돌려줍니다. `Kernel#eval`이 `binding`의 소스 코드의 위치를 무시하도록 변경할 예정입니다. [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352) 그러므로 지금까지 사용하던 `eval("[__FILE__, __LINE__]", binding)`로 같은 정보를 획득할 수 없게 됩니다. 앞으로는 `Kernel#eval`보다는 새로운 `Binding#source_location` 메서드를 사용하게 될 것입니다. + +* `Kernal#system`이 실패했을 경우 `false`를 돌려주는 대신, 에러를 던지도록 하는 `:exception` 옵션을 추가했습니다. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* `Coverage`의 oneshot_lines 모드를 추가했습니다. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + + * 이 모드는 '각 줄이 몇 번 실행되었는지' 대신 '각 줄이 한 번 이상 실행되었는지'를 확인합니다. 각 줄의 훅은 최대 1회만 실행되며, 실행된 후에는 플래그를 제거하기 때문에 오버헤드 없이 실행됩니다. + * `Coverage.start`에 `:oneshot_lines` 키워드 인수가 추가됩니다. + * `Coverage.result`에 `:stop`과 `:clear` 키워드 인수가 추가됩니다. 만약 `clear`가 참이라면, 이는 카운터를 0으로 초기화합니다. 만약 `stop`이 참이라면 커버리지 측정을 비활성화합니다. + * 주어진 소스 코드로부터 'stub'을 생성하는 간단한 헬퍼 함수인 `Coverage.line_stub`을 추가합니다. + +* `FileUtils#cp_lr`을 추가했습니다. 이는 cp_r 처럼 동작하지만, 복사를 하는 대신 링크를 생성합니다. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 성능 향상 + +* `Proc#call`이 더 이상 `$SAFE`를 고려하지 않아도 되어 속도가 빨라졌습니다. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + `Proc#call`을 대량으로 호출하는 `lc_fizzbuzz` 벤치마크가 1.4배 빨라졌습니다. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block`이 블록 파라미터인 경우의 `block.call`이 빨라졌습니다. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + 루비 2.5에서 개선된 블록 넘기기 기능을 포함하여, 루비 2.6에서는 블록 평가가 간단한 벤치마크에서 2.6배 빨라졌습니다. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + +* Transient Heap(`theap`)이 도입되었습니다. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + + `theap`은 특정 클래스(`Array`, `Hash`, `Object`, `Struct`)가 가리키는 짧은 생애를 가지는 메모리 객체들을 관리합니다. 예를 들어 작고 짧게 생존하는 Hash 객체의 생성이 2배 빨라집니다. rdoc 벤치마크에서 6-7%의 성능 향상을 확인했습니다. + +* Fiber의 컨텍스트 변경 속도를 현저하게 향상시키는 코루틴의 네이티브 구현체(`arm32`, `arm64`, `ppc64le`, `win32`, `win64`, `x86`, `amd64`)가 추가되었습니다. [[Feature #14739]](https://bugs.ruby-lang.org/issues/14739) + + `Fiber.yield`와 `Fiber#resume`은 64비트 리눅스에서 5배 빨라집니다. Fiber를 빈번하게 사용하는 프로그램에서는 전체적으로 5%의 성능 향상을 기대할 수 있습니다. + +## 2.5 이후 주목할 만한 변경 + +* `$SAFE`가 프로세스 전역 변수로 취급되며, `0` 이외의 값을 설정한 후에 `0`으로 되돌리는 것이 가능해집니다. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* `ERB.new`에 `safe_level`을 넘기는 기능이 제거될 예정입니다. 또한 `trim_mode`와 `eoutvar`는 키워드 변수로 변경됩니다. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 유니코드 지원 버전이 11로 갱신되었습니다. 이는 루비 2.6의 TEENY 릴리스에서 12와 12.1로 갱신될 예정입니다. 이는 [새 일본 연호](http://blog.unicode.org/2018/09/new-japanese-era.html)(영문)에 대한 지원을 포함합니다. + +* RubyGems 3.0.1을 병합했습니다. `--ri`와 `--rdoc` 옵션이 제거되었습니다. 대신에 `--document`와 `--no-document`를 사용해주세요. + +* [Bundler](https://github.com/bundler/bundler)를 기본 젬으로 병합했습니다. + +* `rescue`가 없는 `else`가 문법 에러가 됩니다. [EXPERIMENTAL] [[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +[NEWS](https://github.com/ruby/ruby/blob/v2_6_0/NEWS)나 [커밋 로그](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0)에서 더 자세한 설명을 확인할 수 있습니다. + +이러한 변경 사항에 따라, 루비 2.5.0 이후로 [파일 6437개 수정, 231471줄 추가(+), 98498줄 삭제(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0)가 이루어졌습니다! + +메리 크리스마스, 행복한 휴일 보내시고, 루비 2.6과 함께 즐거운 프로그래밍 하세요! + +## 다운로드 + +* + + SIZE: 16687800 bytes + SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 + SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdced +f0ff3eba51b9afab907e7e1ac243475772f8688382 +* + + SIZE: 20582054 bytes + SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 + SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f3 +0ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 +* + + SIZE: 14585856 bytes + SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 + SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 + SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 +* + + SIZE: 11918536 bytes + SHA1: 9ddaeba3505d2855460c8c653159fc0ac8928c0f + SHA256: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f + SHA512: c56eaf85ef7b79deb34ee4590b143c07f4fc83eb79775290761aee5a7c63374659613538a41f25706ed6e19e49d5c67a1014c24d17f29948294c7abd0b0fcea8 From 6f1061ecacb4f2817dce12044118d87a86dfc785 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 26 Dec 2018 09:16:41 +0100 Subject: [PATCH 0321/2563] Fix sha512 sums in Ruby 2.6.0 post (ko) --- ko/news/_posts/2018-12-25-ruby-2-6-0-released.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md b/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md index e58d8e2f6c..e676557a7d 100644 --- a/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -120,21 +120,22 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO SIZE: 16687800 bytes SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 - SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdced -f0ff3eba51b9afab907e7e1ac243475772f8688382 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdcedf0ff3eba51b9afab907e7e1ac243475772f8688382 + * SIZE: 20582054 bytes SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a - SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f3 -0ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f30ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + * SIZE: 14585856 bytes SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 + * SIZE: 11918536 bytes From 43399ee7c0dd1a310d839101623d97e1892fe32b Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Wed, 26 Dec 2018 10:02:09 +0100 Subject: [PATCH 0322/2563] Small improvements in 2.6.0 post (en) --- .../_posts/2018-12-25-ruby-2-6-0-released.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md index 1b06e69e75..cc5f66a3e3 100644 --- a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -20,11 +20,11 @@ Ruby 2.6 introduces an initial implementation of a JIT (Just-In-Time) compiler. The JIT compiler aims to improve the performance of Ruby programs. Unlike traditional JIT compilers which operate in-process, Ruby's JIT compiler writes out C code to disk and spawns a common C compiler to generate native code. For more details about it, see the [MJIT organization by Vladimir Makarov](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#MJIT-organization). -In order to enable the JIT compiler, specify `--jit` on the command line or in the `$RUBYOPT` environment variable. Specifying `--jit-verbose=1` will cause the JIT compiler to print additional information. Read the output of `ruby --help` or [the documentation](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage) for other options. +In order to enable the JIT compiler, specify `--jit` on the command line or in the `$RUBYOPT` environment variable. Specifying `--jit-verbose=1` will cause the JIT compiler to print additional information. Read the output of `ruby --help` or the [documentation](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage) for other options. The JIT compiler is supported when Ruby is built by GCC, Clang, or Microsoft VC++, which needs to be available at runtime. -As of Ruby 2.6.0, we have achieved [1.7x faster performance](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208) compared to Ruby 2.5 on a CPU-intensive, non-trivial benchmark called [Optcarrot](https://github.com/mame/optcarrot). However, it is still experimental and many other memory-intensive workloads like Rails might not benefit from it at the moment. For more details, see [Ruby 2.6 JIT - Progress and Future](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf). +As of Ruby 2.6.0, we have achieved [1.7x faster performance](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208) compared to Ruby 2.5 on a CPU-intensive, non-trivial benchmark called [Optcarrot](https://github.com/mame/optcarrot). However, it is still experimental and many other memory-intensive workloads like Rails applications might not benefit from it at the moment. For more details, see [Ruby 2.6 JIT - Progress and Future](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf). Stay tuned for the new age of Ruby's performance. @@ -50,7 +50,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get sou (1..).each {|index| ... } # enumerates values starting from index 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } -* Add `Enumerable#chain` and `Enumerator#+` [[Feature #15144]](https://bugs.ruby-lang.org/issues/15144) +* Add `Enumerable#chain` and `Enumerator#+`. [[Feature #15144]](https://bugs.ruby-lang.org/issues/15144) * Add function composition operators `<<` and `>>` to `Proc` and `Method`. [[Feature #6284]](https://bugs.ruby-lang.org/issues/6284) @@ -65,14 +65,14 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get sou * Add an `exception:` option to `Kernel#system` which causes it to raise an exception on failure instead of returning `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) -* Add a oneshot mode to `Coverage` [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) +* Add a oneshot mode to `Coverage`. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) * This mode checks "whether each line was executed at least once or not", instead of "how many times each line was executed". A hook for each line is fired only once, and once it is fired the hook flag will be removed, i.e., it runs with zero overhead. - * Add `oneshot_lines:` keyword argument to Coverage.start. - * Add `stop:` and `clear:` keyword arguments to Coverage.result. If `clear` is true, it clears the counters to zero. If `stop` is true, it disables coverage measurement. - * Coverage.line_stub is a simple helper function that creates the "stub" of line coverage from a given source code. + * Add `oneshot_lines:` keyword argument to `Coverage.start`. + * Add `stop:` and `clear:` keyword arguments to `Coverage.result`. If `clear` is true, it clears the counters to zero. If `stop` is true, it disables coverage measurement. + * `Coverage.line_stub` is a simple helper function that creates the "stub" of line coverage from a given source code. -* Add `FileUtils#cp_lr`. It works just like cp_r but links instead of copies. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) +* Add `FileUtils#cp_lr`. It works just like `cp_r` but links instead of copies. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) ## Performance improvements @@ -87,7 +87,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get sou * Transient Heap (`theap`) is introduced. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) - `theap` is managed heap for short-living memory objects which are pointed by specific classes (`Array`, `Hash`, `Object`, and `Struct`). Making small and short-living Hash object is 2x faster. With rdoc benchmark, we observed 6-7% performance improvement. + `theap` is a managed heap for short-living memory objects which are pointed to by specific classes (`Array`, `Hash`, `Object`, and `Struct`). Making small and short-living Hash objects is 2x faster. With rdoc benchmark, we observed 6-7% performance improvement. * Native implementations (`arm32`, `arm64`, `ppc64le`, `win32`, `win64`, `x86`, `amd64`) of coroutines to improve context switching performance of Fiber significantly. [[Feature #14739]](https://bugs.ruby-lang.org/issues/14739) @@ -99,9 +99,9 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get sou * Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments have been changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) -* Unicode support is updated to version 11. We have plans to add support Unicode version 12 and 12.1 in a future TEENY release of Ruby 2.6. This will include support for the [new Japanese era](http://blog.unicode.org/2018/09/new-japanese-era.html). +* Unicode support is updated to version 11. We have plans to add support for Unicode version 12 and 12.1 in a future TEENY release of Ruby 2.6. This will include support for the [new Japanese era](http://blog.unicode.org/2018/09/new-japanese-era.html). -* Merge RubyGems 3.0.1. The `--ri` and `--rdoc` options have been removed. Please use `--document` and `--no-document` options instead. +* Merge RubyGems 3.0.1. The `--ri` and `--rdoc` options have been removed. Please use the `--document` and `--no-document` options instead. * [Bundler](https://github.com/bundler/bundler) is now installed as a default gem. From c8e9589b9aded39fb96afb91007df388eb36ec31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Wed, 26 Dec 2018 13:01:22 +0100 Subject: [PATCH 0323/2563] Translate 2.6.0 release post (de) --- .../_posts/2018-12-25-ruby-2-6-0-released.md | 228 ++++++++++++++++++ 1 file changed, 228 insertions(+) create mode 100644 de/news/_posts/2018-12-25-ruby-2-6-0-released.md diff --git a/de/news/_posts/2018-12-25-ruby-2-6-0-released.md b/de/news/_posts/2018-12-25-ruby-2-6-0-released.md new file mode 100644 index 0000000000..480e5c8ee1 --- /dev/null +++ b/de/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -0,0 +1,228 @@ +--- +layout: news_post +title: "Ruby 2.6.0 veröffentlicht" +author: "naruse" +translator: "Marvin Gülker" +date: 2018-12-25 00:00:00 +0000 +lang: de +--- + +Wir freuen uns, die Veröffentlichung von Ruby 2.6.0 bekanntgeben zu können. + +Diese Version enthält eine Reihe neuer Features und +Performanzverbesserungen, darunter insbesondere: + +* Ein neuer JIT-Compiler. +* Das Modul `RubyVM::AbstractSyntaxTree`. + +## JIT [Experimentell] + +Ruby 2.6 führt erstmals einen JIT-Compiler _(Just in Time Compiler)_ ein. + +Der JIT-Compiler soll die allgemeine Performanz aller Ruby-Programme +verbessern. Rubys JIT-Compiler arbeitet anders als herkömmliche +JIT-Compiler für andere Programmiersprachen, denn er schreibt C-Code +auf die Festplatte und startet dann einen gewöhnlichen +C-Compiler-Prozess, um Maschinencode zu erzeugen. Siehe dazu auch: +[Die Funktionsweise von MJIT (von Wladimir Makarow)](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Um den JIT-Compiler zu benutzen, geben Sie `--jit` als Kommandozeilenoption +oder in der Umgebungsvariablen `$RUBYOPT` an. Bei Angabe von +`--jit-verbose=1` werden Informationen über die laufende +JIT-Kompilation ausgegeben. Weitere Optionen können `ruby --help` oder +der [Dokumentation](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage) +entnommen werden. + +Für den Einsatz des JIT-Compilers ist es erforderlich, dass Ruby +mithilfe von GCC, Clang oder Microsoft VC++ kompiliert worden +ist. Darüber hinaus muss der verwendete Compiler zur Laufzeit auf dem +System zur Verfügung stehen. + +Mit Stand Ruby 2.6.0 haben wir eine 1,7-fache Verbesserung +der Performanz gegenüber Ruby 2.5 bei einem CPU-intensiven, +nicht-trivialen Belastungstest namens [Optcarrot](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208) +festgestellt. Allerdings ist der JIT-Compiler noch experimentell und +speicherhungrige Anwendungen wie solche auf Rails-Basis können +möglicherweise noch nicht von ihm profitieren. Weitere Informationen +finden Sie im Artikel [Ruby 2.6 JIT - Fortschritt und Zukunft](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf). + +Machen Sie sich bereit für eine neue Ära von Rubys Performanz. + +## `RubyVM::AbstractSyntaxTree` [Experimentell] + +Ruby 2.6 führt das Modul `RubyVM::AbstractSyntaxTree` ein. **Die +Kompatibilität dieses Moduls mit zukünftigen Versionen kann nicht +garantiert werden.** + +Dieses Modul verfügt über die Methoden `parse`, die den als String +übergebenen Ruby-Code verarbeitet und eine Liste von Knoten des ASTs +_(Abstract Syntax Tree)_ zurückgibt, und `parse_file`, die die +übergebene Ruby-Quelldatei auf ähnliche Weise verarbeitet und +ebenfalls AST-Knoten zurückgibt. + +Weiterhin wird die ebenfalls experimentelle Klasse `RubyVM::AbstractSyntaxTree::Node` +eingeführt. Mithilfe von `Node`-Objekten können die Positionsinformationen und +Angaben über Kindknoten ermittelt werden. + +## Weitere nennenswerte neue Features + +* Neuer alias `#then` für `Kernel#yield_self`. [[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* Konstantennamen können auch mit Großbuchstaben außerhalb des + ASCII-Zeichensatzes beginnen. [[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Endlos-Range eingeführt. [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + Es wird ein Endlos-Range `(1..)` eingeführt, der über kein Ende + verfügt. Typische Anwendungsfälle sehen wie folgt aus: + + ary[1..] # identisch zu ary[1..-1] ohne magische -1 + (1..).each {|index| ... } # Endlosschleife ab Index 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* `Enumerable#chain` und `Enumerator#+` hinzugefügt. [[Feature #15144]](https://bugs.ruby-lang.org/issues/15144) + +* Operatoren `<<` und `>>` für die Kombination von Funktionen zu + `Proc` und `Method` hinzugefügt. [[Feature #6284]](https://bugs.ruby-lang.org/issues/6284) + + f = proc{|x| x + 2} + g = proc{|x| x * 3} + (f << g).call(3) # -> 11; identical to f(g(3)) + (f >> g).call(3) # -> 15; identical to g(f(3)) + +* `Binding#source_location` hinzugefügt. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + Diese Methode gibt ein 2-Element-Array mit den Bestandteilen + `__FILE__` und `__LINE__` zurück, die beschreiben, an welcher Stelle + im Quelltext ein Binding definiert wurde. Dieselbe Information + konnte bisher über `eval("[__FILE__, __LINE__]", binding)` ermittelt + werden, allerdings planen wir, dieses Verhalten so zu ändern, dass + `Kernel#eval` den Definitionsort eines `binding` ignoriert + [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). Nutzern wird + deshalb empfohlen, auf diese neu eingeführte Methode umzusteigen. + +* Option `:exception` zu `Kernel.#system` hinzugefügt. Diese Option + führt dazu, dass #system statt `false` zurückzugeben einen Fehler + verursacht. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Einmal-Modus _(oneshot mode)_ zu `Coverage` + hinzugefügt. [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + + * Anstelle von „wie oft wurde eine bestimmte Zeile ausgeführt“, + prüft dieser Modus, „ob jede Zeile wenigstens einmal oder gar + nicht ausgeführt wurde“. Der entsprechende Hook wird für jede + Zeile höchstens einmal ausgeführt. Nach seinem Abschluss wird die + entsprechende Flagge entfernt, d.h. das Programm läuft danach + ohne geschwindigkeitsrelevante Einschränkungen. + * Schlüsselwortargument `:oneshot_lines` zu Coverage.start + hinzugefügt. + * Schlüsselwortargumente `:stop` und `:clear` zu Coverage.result + hinzugefügt. Wenn `clear` wahr ist, setzt es den Zähler auf Null + zurück. Wenn `:stop` wahr ist, wird die Abdeckungsmessung + ausgeschaltet. + * `Coverage.line_stub` hinzugefügt. Es handelt sich um eine einfache + Hilfsfunktion, die eine kurze Zusammenfassung der Zeilenabdeckung + des übergebenen Quellcodes erzeugt. + +* `FileUtils#cp_lr` hinzugefügt. Diese Methode funktioniert wie + `cp_r`, verlinkt aber statt zu kopieren. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## Performanzverbesserungen + +* `Proc#call` durch die Entfernung der temporären Allozierung von + `$SAFE` beschleunigt. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Mithilfe des `lc_fizzbuzz`-Belastungstests, der sehr häufig `Proc#call` + benutzt, haben wir eine 1,4-fache Beschleunigung gemessen. [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* `block.call` beschleunigt, wenn `block` als Block-Parameter + übergeben wird. [[Feature + #14330]](https://bugs.ruby-lang.org/issues/14330) + + Zusammen mit den bereits in Ruby 2.5 diesbezüglich vorgenommenen + Verbesserungen ist die Evaluation von Blöcken in Ruby 2.6 nun + ausweislich eines Micro-Benchmarks 2,6-mal schneller. + +* Es wird ein flüchtiger Heap _(transient heap, theap)_ + eingeführt [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989). + + Dabei handelt es sich um einen automatisch verwalteten Freispeicher + für kurzlebige Objekte im Speicher, auf welche von bestimmten + Klassen (Array, Hash, Object und Struct) verwiesen wird. Dies führt + beispielsweise dazu, dass die Erstellung kleiner und kurzlebiger + Hash-Objekte doppelt so schnell ist. Im RDoc-Belastungstest haben + wir eine 6- bis 7-prozentige Performanzverbesserung festgestellt. + +* Diverse native Implementierungen (`arm32`, `arm64`, `ppc64le`, `win32`, + `win64`, `x86`, `amd64`) von Coroutinen verbessern die Performanz + des Kontextwechsels bei `Fiber` signifikant. + + `Fiber.yield` und `Fiber#resume` sind auf einem 64-bit Linux-System + etwa 5 mal so schnell wie bisher. Programme, die intensiven + Gebrauch von Fibers machen, können insgesamt eine bis zu + fünfprozentige Performanzverbesserung erwarten. + +## Sonstige bemerkenswerte Änderungen seit 2.5 + +* `$SAFE` ist ein prozess-globaler Zustand und kann wieder auf `0` gesetzt + werden. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Die Übergabe von `safe_level` an `ERB.new` ist als veraltet + markiert worden. Die Parameter `trim_mode` und `eoutvar` wurden in + Schlüsselwortargumente geändert. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Ruby unterstützt jetzt Unicode in Version 11. Es ist geplant, die + Versionen 12 und 12.1 in zukünftigen TEENY-Veröffentlichungen von + Ruby 2.6 zu unterstützen und damit Unterstützung für die [neue + japanische Ära](http://blog.unicode.org/2018/09/new-japanese-era.html) einzuführen. + +* RubyGems 3.0.1 aufgenommen. Die Optionen `--ri` und `--rdoc` + wurden entfernt. Benutzen Sie stattdessen `--document` und + `--no-document`. + +* [Bundler](https://github.com/bundler/bundler) wird standardmäßig + mitgeliefert. + +* `else` ohne `rescue` in Fehlerbehandlungsblöcken verursacht einen + Syntaxfehler. [EXPERIMENTELL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +Siehe die [NEWS](https://github.com/ruby/ruby/blob/v2_6_0/NEWS) oder +die [Commit-Logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) +für weitere Details. + +Mit diesen Änderungen wurden [6437 Dateien geändert, 231471 Einfügungen(+), 98498 +Löschungen(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) +seit Ruby 2.5.0! + +Frohe Weihnachten, schöne Ferien und viel Spaß bei der Programmierung +mit Ruby 2.6! + +## Download + +* + + SIZE: 16687800 bytes + SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 + SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdcedf0ff3eba51b9afab907e7e1ac243475772f8688382 + +* + + SIZE: 20582054 bytes + SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 + SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f30ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + +* + + SIZE: 14585856 bytes + SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 + SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 + SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 + +* + + SIZE: 11918536 bytes + SHA1: 9ddaeba3505d2855460c8c653159fc0ac8928c0f + SHA256: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f + SHA512: c56eaf85ef7b79deb34ee4590b143c07f4fc83eb79775290761aee5a7c63374659613538a41f25706ed6e19e49d5c67a1014c24d17f29948294c7abd0b0fcea8 From cdb8e2c6681b1c14632b6675c23024e5c72c28b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 25 Dec 2018 16:00:57 -0500 Subject: [PATCH 0324/2563] Translation of 2018-12-25-ruby-2-6-0-released.md (es) --- .../_posts/2018-12-25-ruby-2-6-0-released.md | 202 ++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 es/news/_posts/2018-12-25-ruby-2-6-0-released.md diff --git a/es/news/_posts/2018-12-25-ruby-2-6-0-released.md b/es/news/_posts/2018-12-25-ruby-2-6-0-released.md new file mode 100644 index 0000000000..90994d470b --- /dev/null +++ b/es/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -0,0 +1,202 @@ +--- +layout: news_post +title: "Publicado Ruby 2.6.0" +author: "naruse" +translator: "vtamara" +date: 2018-12-25 00:00:00 +0000 +lang: es +--- + +Nos complace anunciar la publicación de Ruby 2.6.0. +Introduce diversas características nuevas y mejoras en desempeño, las más +notables son: + + * Un nuevo compilador JIT + * El módulo `RubyVM::AbstractSyntaxTree` + +## JIT [Experimental] + +Ruby 2.6 introduce una implementación inicial de un compilador JIT +(Just-in-time). + +El compilador JIT busca mejorar el desempeño de los programas Ruby. +A diferencia de los compiladores JIT ordinarios que operan +en-el-proceso, el compilador JIT de Ruby escribe código C en disco y lanza +un compilador de C común para generar código nativo. Para ver más detalles +sobre este, ver la [Organización del MJIT por Vladimir Makarov](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#MJIT-organization). + +Para habilitar el compilador JIT, especifique `--jit` en la línea de +comandos o en la variable de entorno `$RUBYOPT`. +Al especificar `--jit-verbose=1` el compilador JIT presentará información +adicional. Vea más opciones examinando el resultado de `ruby --help` o en +[la documentación](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage). + +El compilador JIT es soportado cuando Ruby se construye con GCC, Clang o +Microsoft VC++, que debe estar disponible en tiempo de ejecución. + +Con Ruby 2.6.0, hemos alcanzado una mejora en velocidad de [1.7 veces](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208) +respecto a Ruby 2.5 con una carga de trabajo no trivial e +intensiva en el uso de la CPU denominada [Optcarrot](https://github.com/mame/optcarrot). +Sin embargo aún es experimental y muchas otras cargas de trabajo intensivas en +el uso de la memoria como Rails, puede que en el momento no se benefician de +este. Puede ver más detalles en [Ruby 2.6 JIT - Progress and Future](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf). + +Este pendiente de la nueva era en el desempeño de Ruby. + +## RubyVM::AbstractSyntaxTree [Experimental] + +Ruby 2.6 introduce el módulo `RubyVM::AbstractSyntaxTree`. **No se +garantiza compatibilidad futura de este módulo**. + +Este módulo tiene un método `parse` que puede reconocer código ruby en una +cadena y retornar nodos del AST (Abstract Syntax Tree - Árbol de sintaxis +abstracta), y el método `parse_file` que reconoce código ruby en un archivo +y retorna los nodos del AST. + +También se introduce la clase `RubyVM::AbstractSyntaxTree::Node`. Puede +obtener información de la localización y de los nodos hijos de objetos `Node`. +Esta característica es experimental. + + +## Otras características notables + +* Se agregó un alias de `Kernel#yield_self` llamado `#then`. [[Característica #14594]](https://bugs.ruby-lang.org/issues/14594) + +* Los nombres de constantes pueden comenzar con una letra mayúscula fuera de la tabla ASCII. [[Característica #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Introduce rangos no acotados [[Característica #12912]](https://bugs.ruby-lang.org/issues/12912) + + Un rango no acotado `(1..)`, funciona como si no terminara. A continuación se presentan casos de uso: + + ary[1..] # igual a ary[1..-1] sin el mágico -1 + (1..).each {|index| ... } # enumera valores comenzando en el índice 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Añadidos `Enumerable#chain` y `Enumerator#+` [[Característica #15144]](https://bugs.ruby-lang.org/issues/15144) + +* Añadidos operadores de composición `<<` y `>>` a `Proc` y a `Method`. [[Característica #6284]](https://bugs.ruby-lang.org/issues/6284) + + f = proc{|x| x + 2} + g = proc{|x| x * 3} + (f << g).call(3) # -> 11; identical to f(g(3)) + (f >> g).call(3) # -> 15; identical to g(f(3)) + +* Añadido `Binding#source_location`. [[Característica #14230]](https://bugs.ruby-lang.org/issues/14230) + + Este método retorna la localización en la fuente de una unión, un arreglo + de 2 elementos `__FILE__` y `__LINE__`. Técnicamente hablando, es identico + a `eval("[__FILE__, __LINE__]", binding)`. Sin embargo planeamos cambiar + este comportamiento para que `Kernel#eval` ignore la localización de + uniones en las fuentes [[Falla #4352]](https://bugs.ruby-lang.org/issues/4352). + Así que se recomienda usar `Binding#source_location` en lugar + de `Kernel#eval`. + +* Añadida la opción `exception:` a `Kernel.#system` que lo hace lanzar una + excepción en caso de falla en lugar de retornar `false`. [[Característica #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Agregado el modo oneshot a `Coverage` [[Característica #15022]](https://bugs.ruby-lang.org/issues/15022) + + * Este modo revisa "si cada línea fue ejecutada al menos una vez o no", en + lugar de "cuantas veces fue ejecutada cada línea". Un gancho para cada + línea es disparado al menos una vez, y después de que es disparado se + elimina la bandera del gancho, i.e., corre sin gastos adicionales. + * Agregada el argumento de palabra clave `:oneshot_lines` a `Coverage.start`. + * Agregados los argumentos de palabra clave `:stop` y `:clear` a + `Coverage.result`. Si `clear` es verdadero, deja el contador en cero. + Si `stop` es verdadero, deshabilita las mediciones de cobertura. + * `Coverage.line_stub` es una función auxiliar que crea la "colilla" + para cobertura de líneas de una código fuente dado. + +* Añadido `FileUtils#cp_lr`. Funciona tal como `cp_r` pero enlaza en lugar + de copiar. [[Característica #4189]](https://bugs.ruby-lang.org/issues/4189) + + +## Mejoras en desempeño + +* Mejorada la velocidad de `Proc#call` al eliminar la localización temporal + para `$SAFE`. [[Característica #14318]](https://bugs.ruby-lang.org/issues/14318) + + Hemos observado una mejora en desempeño de 1.4 veces en la prueba de + referencia `lc_fizzbuzz` que usa `Proc#call` repetidas veces [[Falla #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Mejorada velocidad de `block.call` cuando `block` es pasado como + un parámetro de bloque. [[Característica #14330]](https://bugs.ruby-lang.org/issues/14330) + + Cobinado con mejoras en el manejo de bloques introducidas en Ruby 2.5, + la evaluación e bloques ahora se realiza 2.6 veces más rápido en + micro-pruebas de referencia en Ruby 2.6. [[Característica #14045]](https://bugs.ruby-lang.org/issues/14045) + +* Se introduce la estructura de datos `theap` - Montón transitorio (Transient Heap). [[Falla #14858]](https://bugs.ruby-lang.org/issues/14858) [[Característica #14989]](https://bugs.ruby-lang.org/issues/14858) + Un `theap` es un montón usado para objetos en memoria de corta duración + que son apuntados por clases específicas (`Array`, `Hash`, `Object`, y + `Struct`). + Hacer objetos Hash pequeños y de corta duración es 2 veces + más rápido. Con la prueba de referencia `rdoc`, observamos una mejora en + desempeño de entre 6 y 7%. + +* Implementación nativa (`arm32`, `arm64`, `ppc64le`, `win32`, `win64`, + `x86`, `amd64`) de corrutinas para mejorar significativamente el + desempeño de cambios de contexto de Fiber. [[Caracter#14739]](https://bugs.ruby-lang.org/issues/14739) + + `Fiber.yield` y `Fiber#resume` son cerca de 5 veces más rápidos en Linux de + 64-bits. Los programas que usen Fiber de manera intensiva pueden esperar + una mejora general del 5%. + +## Otros cambios notables desde 2.5 + +* `$SAFE` ahora es el estado global del proceso y puede ponerse en `0`. [[Característica #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Es obsoleto pasar `safe_level` a `ERB.new`. Se han cambiado los argumentos + `trim_mode` y `eoutvar` a argumentos de palabra clave (keyword arguments). [[Característica #14256]](https://bugs.ruby-lang.org/issues/14256) + +* La versión de Unicode soportada se ha actualizado a la 11. Se planea + actualizar a las versiones 12 y 12.1 en las futuras publicacioens menores + (TEENY) de Ruby 2.6. Esto incluirá soporte para la [nueva era japonesa](http://blog.unicode.org/2018/09/new-japanese-era.html). + +* Mezclado RubyGems 3.0.1. Se eliminaron las opciones `--ri` y `--rdoc`. + Por favor use las opciones `--document` y `--no-document` en lugar de esas. + +* [Bundler](https://github.com/bundler/bundler) es ahora instalado como una + gema por omisión. + +* En bloques para manejar excepciones, `else` sin `rescue` ahora produce un + error de sintaxis. [EXPERIMENTAL][[Característica #14606]](https://bugs.ruby-lang.org/issues/14606) + +Vea más detalles en [NOTICIAS](https://github.com/ruby/ruby/blob/v2_6_0/NEWS) +o en [la bitácora de contribuciones](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0). + +¡Con esos cambios, +[cambiaron 6437 archivos, 231471 inserciones(+), 98498 eliminaciones (-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) +desde Ruby 2.5.0! + +Feliz Navidad, Felices Fiestas y disfrute programar con Ruby 2.6.0! + +## Descargas + +* + + SIZE: 16687800 bytes + SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 + SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdced +f0ff3eba51b9afab907e7e1ac243475772f8688382 +* + + SIZE: 20582054 bytes + SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 + SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f3 +0ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 +* + + SIZE: 14585856 bytes + SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 + SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 + SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 +* + + SIZE: 11918536 bytes + SHA1: 9ddaeba3505d2855460c8c653159fc0ac8928c0f + SHA256: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f + SHA512: c56eaf85ef7b79deb34ee4590b143c07f4fc83eb79775290761aee5a7c63374659613538a41f25706ed6e19e49d5c67a1014c24d17f29948294c7abd0b0fcea8 + From d769dd58e1ee7c69362a16c38a180a18df0a9ef1 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 27 Dec 2018 08:02:12 +0900 Subject: [PATCH 0325/2563] Follow up 43399ee (#1935) Follow up 43399ee (ko) --- ko/news/_posts/2018-12-25-ruby-2-6-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md b/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md index e676557a7d..dd1b0a43ae 100644 --- a/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -72,7 +72,7 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO * `Coverage.result`에 `:stop`과 `:clear` 키워드 인수가 추가됩니다. 만약 `clear`가 참이라면, 이는 카운터를 0으로 초기화합니다. 만약 `stop`이 참이라면 커버리지 측정을 비활성화합니다. * 주어진 소스 코드로부터 'stub'을 생성하는 간단한 헬퍼 함수인 `Coverage.line_stub`을 추가합니다. -* `FileUtils#cp_lr`을 추가했습니다. 이는 cp_r 처럼 동작하지만, 복사를 하는 대신 링크를 생성합니다. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) +* `FileUtils#cp_lr`을 추가했습니다. 이는 `cp_r`처럼 동작하지만, 복사를 하는 대신 링크를 생성합니다. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) ## 성능 향상 From c97165bbcc493c83a95091f1d64a9be771c3ac5c Mon Sep 17 00:00:00 2001 From: Vinicius Brasil Date: Wed, 26 Dec 2018 21:12:30 -0200 Subject: [PATCH 0326/2563] Update about/website/index.md with supporting orgs (pt) --- pt/about/website/index.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pt/about/website/index.md b/pt/about/website/index.md index 02d4c7e4d7..2254faa8ab 100644 --- a/pt/about/website/index.md +++ b/pt/about/website/index.md @@ -34,12 +34,15 @@ e outros colaboradores deste website. Também agradecemos a todas as organizações que nos dão suporte: - * [NaCl][nacl] (hospedagem) + * [Ruby Association][rubyassociation] (hospedagem) * [Heroku][heroku] (hospedagem) * [IIJ][iij] (hospedagem) * [GlobalSign][globalsign] (certificação SSL) * [Fastly][fastly] (CDN) - + * [Hatena][hatena] ([mackerel][mackerel], monitoramento do servidor) + * [![CloudCore][cloudcore-logo] CloudCore][cloudcore] (servidor de build) + * [Ruby no Kai][rubynokai] (servidor de build) + [logo]: /pt/about/logo/ [webmaster]: mailto:webmaster@ruby-lang.org @@ -53,3 +56,9 @@ Também agradecemos a todas as organizações que nos dão suporte: [iij]: http://www.iij.ad.jp [globalsign]: https://www.globalsign.com [fastly]: http://www.fastly.com +[rubyassociation]: http://www.ruby.or.jp +[hatena]: http://hatenacorp.jp/ +[mackerel]: https://mackerel.io/ +[cloudcore]: http://www.cloudcore.jp/?utm_source=ad&utm_medium=ad&utm_content=dev&utm_campaign=vps +[cloudcore-logo]: http://www.cloudcore.jp/develop/links/images/74x36_white.gif +[rubynokai]: http://ruby-no-kai.org/ From 506f2a4866e798ce738d3d7bfc0abb047b8dfd52 Mon Sep 17 00:00:00 2001 From: Vinicius Brasil Date: Wed, 26 Dec 2018 22:14:22 -0200 Subject: [PATCH 0327/2563] Remove trailing spaces --- pt/about/website/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt/about/website/index.md b/pt/about/website/index.md index 2254faa8ab..1643cb4772 100644 --- a/pt/about/website/index.md +++ b/pt/about/website/index.md @@ -42,7 +42,7 @@ Também agradecemos a todas as organizações que nos dão suporte: * [Hatena][hatena] ([mackerel][mackerel], monitoramento do servidor) * [![CloudCore][cloudcore-logo] CloudCore][cloudcore] (servidor de build) * [Ruby no Kai][rubynokai] (servidor de build) - + [logo]: /pt/about/logo/ [webmaster]: mailto:webmaster@ruby-lang.org From 90c52536f25a934dcc64c222a460fbd5f0af2c19 Mon Sep 17 00:00:00 2001 From: Vinicius Brasil Date: Fri, 28 Dec 2018 10:17:47 -0200 Subject: [PATCH 0328/2563] Update URL reference order to match en version (pt) --- pt/about/website/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pt/about/website/index.md b/pt/about/website/index.md index 1643cb4772..26990b5d7f 100644 --- a/pt/about/website/index.md +++ b/pt/about/website/index.md @@ -51,12 +51,11 @@ Também agradecemos a todas as organizações que nos dão suporte: [github-repo]: https://github.com/ruby/www.ruby-lang.org/ [github-issues]: https://github.com/ruby/www.ruby-lang.org/issues [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki -[nacl]: http://www.netlab.jp +[rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ [iij]: http://www.iij.ad.jp [globalsign]: https://www.globalsign.com [fastly]: http://www.fastly.com -[rubyassociation]: http://www.ruby.or.jp [hatena]: http://hatenacorp.jp/ [mackerel]: https://mackerel.io/ [cloudcore]: http://www.cloudcore.jp/?utm_source=ad&utm_medium=ad&utm_content=dev&utm_campaign=vps From 092c8c84b823b5925058dfb8da56a2f07d19f5aa Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 29 Dec 2018 10:02:47 +0100 Subject: [PATCH 0329/2563] Fix SHA512 sums in Ruby 2.6.0 post (ja) --- ja/news/_posts/2018-12-25-ruby-2-6-0-released.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md b/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md index d0356555a1..000faf37c3 100644 --- a/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/ja/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -114,21 +114,22 @@ Ruby 2.6では抽象構文木を扱う `RubyVM::AbstractSyntaxTree` モジュー SIZE: 16687800 bytes SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 - SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdced -f0ff3eba51b9afab907e7e1ac243475772f8688382 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdcedf0ff3eba51b9afab907e7e1ac243475772f8688382 + * SIZE: 20582054 bytes SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a - SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f3 -0ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f30ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + * SIZE: 14585856 bytes SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 + * SIZE: 11918536 bytes From 5373a5a207681366fbe57108a748c634d37679fe Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sat, 29 Dec 2018 17:42:33 +0100 Subject: [PATCH 0330/2563] Fix SHA512 sums in Ruby 2.6.0 post (es) --- es/news/_posts/2018-12-25-ruby-2-6-0-released.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/es/news/_posts/2018-12-25-ruby-2-6-0-released.md b/es/news/_posts/2018-12-25-ruby-2-6-0-released.md index 90994d470b..268f887622 100644 --- a/es/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/es/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -178,25 +178,25 @@ Feliz Navidad, Felices Fiestas y disfrute programar con Ruby 2.6.0! SIZE: 16687800 bytes SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 - SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdced -f0ff3eba51b9afab907e7e1ac243475772f8688382 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdcedf0ff3eba51b9afab907e7e1ac243475772f8688382 + * SIZE: 20582054 bytes SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a - SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f3 -0ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f30ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + * SIZE: 14585856 bytes SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 + * SIZE: 11918536 bytes SHA1: 9ddaeba3505d2855460c8c653159fc0ac8928c0f SHA256: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f SHA512: c56eaf85ef7b79deb34ee4590b143c07f4fc83eb79775290761aee5a7c63374659613538a41f25706ed6e19e49d5c67a1014c24d17f29948294c7abd0b0fcea8 - From 2bc187be5366d076dbe9e9f55740c2c82a0bf222 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 30 Dec 2018 21:06:13 +0100 Subject: [PATCH 0331/2563] Add minitest to development group For Linter tests with 'bundle exec ruby test/test_linter.rb'. --- Gemfile | 1 + Gemfile.lock | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 7ead5254c9..6956a83ba8 100644 --- a/Gemfile +++ b/Gemfile @@ -16,6 +16,7 @@ group :production do end group :development do + gem 'minitest' gem 'spidr', '~> 0.6' gem 'validate-website', '~> 1.6' end diff --git a/Gemfile.lock b/Gemfile.lock index 7ad6fb4bad..594fb99a4e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -45,6 +45,7 @@ GEM ruby_dep (~> 1.2) mercenary (0.3.6) mini_portile2 (2.3.0) + minitest (5.11.3) nokogiri (1.8.5) mini_portile2 (~> 2.3.0) paint (1.0.1) @@ -98,6 +99,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 3.0) lanyon (~> 0.4.0) + minitest rack-protection rack-rewrite rack-ssl From 1ba26514a3b4cbe8e88b71a83e91830a46e20502 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 30 Dec 2018 21:07:03 +0100 Subject: [PATCH 0332/2563] Never exit on errors during Linter test runs Always set +exit_on_errors+ to false for Linter test runs, even for test cases that should not cause errors, to avoid stopping test runs and silencing (unexpected) error messages during development. --- test/test_linter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_linter.rb b/test/test_linter.rb index 5ef5248e78..3491876d84 100644 --- a/test/test_linter.rb +++ b/test/test_linter.rb @@ -16,7 +16,7 @@ it "can run ok" do Dir.chdir @md_ok - stdout, stderr = capture_io { Linter.new.run } + stdout, stderr = capture_io { Linter.new(exit_on_errors: false).run } stdout.must_equal @output_ok end From 6144c5c48da1733e46c6675a13d96f8a829ca4b0 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 30 Dec 2018 21:08:05 +0100 Subject: [PATCH 0333/2563] Fix line breaks for SHA sums in some old posts Drop nonessential line breaks in markdown source of some old release posts for easier parsing of SHA sums. --- ...009-09-04-ruby-1-9-1-p243-verffentlicht.md | 9 +++---- ...009-12-07-ruby-1-9-1-p376-verffentlicht.md | 9 +++---- ...008-10-28-ruby-1-9-1-preview-1-released.md | 15 ++++++----- .../_posts/2009-01-30-ruby-1-9-1-released.md | 9 +++---- .../2010-07-02-ruby-1-9-1-p429-is-released.md | 9 +++---- .../2010-07-02-ruby-1-9-2-rc1-is-released.md | 9 +++---- .../2010-07-11-ruby-1-9-2-rc2-is-released.md | 9 +++---- .../2012-02-16-ruby-1-9-3-p125-is-released.md | 9 +++---- .../2012-04-20-ruby-1-9-3-p194-is-released.md | 9 +++---- .../2012-04-21-ruby-1-9-2-p320-is-released.md | 9 +++---- .../2012-10-12-ruby-1-9-3-p286-is-released.md | 9 +++---- .../2012-11-09-ruby-1-9-3-p327-is-released.md | 9 +++---- .../2012-12-25-ruby-1-9-3-p362-is-released.md | 9 +++---- .../2013-01-17-ruby-1-9-3-p374-is-released.md | 9 +++---- es/news/_posts/2009-02-11-ruby-1-9-1.md | 9 +++---- .../2012-11-12-liberado-ruby-1-9-3-p327.md | 9 +++---- .../2012-12-27-liberado-ruby-1-9-3-p362.md | 9 +++---- .../2013-01-19-liberado-ruby-1-9-3-p374.md | 9 +++---- .../2013-02-23-liberado-ruby-1-9-3-p392.md | 27 +++++++------------ ...08-10-28-sortie-de-ruby-1-9-1-preview-1.md | 15 ++++++----- .../2010-07-03-sortie-de-ruby-1-9-1-p429.md | 9 +++---- .../2010-07-03-sortie-de-ruby-1-9-2-rc1.md | 9 +++---- .../2010-07-11-sortie-de-ruby-1-9-2-rc2.md | 9 +++---- .../2012-04-20-sortie-de-ruby-1-9-3-p194.md | 9 +++---- ...sortie-de-la-version-1-9-3-p286-de-ruby.md | 9 +++---- ...sortie-de-la-version-1-9-3-p327-de-ruby.md | 9 +++---- ...sortie-de-la-version-1-9-3-p362-de-ruby.md | 9 +++---- ...sortie-de-la-version-1-9-3-p374-de-ruby.md | 9 +++---- id/news/_posts/2009-01-30-ruby-1-9-1-rilis.md | 9 +++---- .../2012-02-16-ruby-1-9-3-p125-is-released.md | 9 +++---- .../2012-04-20-ruby-1-9-3-p194-is-released.md | 9 +++---- .../2012-04-21-ruby-1-9-2-p320-is-released.md | 9 +++---- .../2012-10-12-ruby-1-9-3-p286-is-released.md | 9 +++---- .../2012-11-09-ruby-1-9-3-p327-is-released.md | 9 +++---- .../2012-12-25-ruby-1-9-3-p362-is-released.md | 9 +++---- .../2013-01-17-ruby-1-9-3-p374-is-released.md | 9 +++---- ...008-11-14-ruby-1-9-1-preview-1-released.md | 18 ++++++------- .../_posts/2009-01-31-ruby-1-9-1-released.md | 9 +++---- .../2010-11-14-ruby-1-9-1-p429-is-released.md | 9 +++---- .../2010-11-14-ruby-1-9-2-rc1-is-released.md | 9 +++---- .../2010-11-14-ruby-1-9-2-rc2-is-released.md | 9 +++---- .../2013-01-06-ruby-1-9-3-p362-is-released.md | 9 +++---- .../2013-01-27-ruby-1-9-3-p374-is-released.md | 9 +++---- .../2011-10-31-ruby-1-9-3-p0-is-released.md | 9 +++---- ja/news/_posts/2012-02-16-ruby-1-9-3-p125.md | 9 +++---- .../2012-04-20-ruby-1-9-3-p194-is-released.md | 9 +++---- .../2012-10-12-ruby-1-9-3-p286-is-released.md | 9 +++---- .../2012-11-09-ruby-1-9-3-p327-is-released.md | 9 +++---- .../2012-12-25-ruby-1-9-3-p362-is-released.md | 9 +++---- .../2013-01-17-ruby-1-9-3-p374-is-released.md | 9 +++---- .../2010-07-14-ruby-1-9-1-p429-release.md | 15 ++++++----- .../2011-11-06-ruby-1-9-3-p0-is-released.md | 9 +++---- ...3-04-ruby-1-9-1-disponvel-para-download.md | 9 +++---- .../2013-01-17-ruby-1-9-3-p374-is-released.md | 9 +++---- ...011-01-17-ruby-1-9-1-preview-1-released.md | 15 ++++++----- ...008-10-31-ruby-1-9-1-preview-1-released.md | 15 ++++++----- zh_cn/news/_posts/2009-02-16-ruby-1-9-1.md | 9 +++---- ...008-10-30-ruby-1-9-1-preview-1-released.md | 15 ++++++----- zh_tw/news/_posts/2009-01-31-ruby-1-9-1.md | 9 +++---- .../news/_posts/2010-07-17-ruby-1-9-2-rc2.md | 9 +++---- ...2012-11-02-ruby-2-0-0-preview1-released.md | 9 +++---- 61 files changed, 231 insertions(+), 381 deletions(-) diff --git a/de/news/_posts/2009-09-04-ruby-1-9-1-p243-verffentlicht.md b/de/news/_posts/2009-09-04-ruby-1-9-1-p243-verffentlicht.md index 3f8502685b..ae1e37456c 100644 --- a/de/news/_posts/2009-09-04-ruby-1-9-1-p243-verffentlicht.md +++ b/de/news/_posts/2009-09-04-ruby-1-9-1-p243-verffentlicht.md @@ -18,8 +18,7 @@ Download: MD5: 66d4f8403d13623051091347764881a0 - SHA256: - 39c9850841c0dd5d368f96b854f97c19b21eb28a02200f8b4e151f608092e687 + SHA256: 39c9850841c0dd5d368f96b854f97c19b21eb28a02200f8b4e151f608092e687 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz][3] @@ -27,8 +26,7 @@ Download: MD5: 515bfd965814e718c0943abf3dde5494 - SHA256: - 31598e37b3962643bec722921644957be6f8fb9a26f6c91fa627bd668ea68be4 + SHA256: 31598e37b3962643bec722921644957be6f8fb9a26f6c91fa627bd668ea68be4 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.zip][4] @@ -36,8 +34,7 @@ Download: MD5: 7086675f78185d72719132231b810e4d - SHA256: - 68a9847299269c5251dc61f7aad8482ab6022a6b1be13635d607fb593208b226 + SHA256: 68a9847299269c5251dc61f7aad8482ab6022a6b1be13635d607fb593208b226 diff --git a/de/news/_posts/2009-12-07-ruby-1-9-1-p376-verffentlicht.md b/de/news/_posts/2009-12-07-ruby-1-9-1-p376-verffentlicht.md index 1cfc49907f..78bb67bea9 100644 --- a/de/news/_posts/2009-12-07-ruby-1-9-1-p376-verffentlicht.md +++ b/de/news/_posts/2009-12-07-ruby-1-9-1-p376-verffentlicht.md @@ -31,20 +31,17 @@ Alle Änderungen sind im [ChangeLog][2] aufgelistet. * * [ruby-1.9.1-p376.tar.bz2][3] * Größe: 7.293.106 Byte * MD5-Summe: e019ae9c643c5efe91be49e29781fb94 - * SHA256: - 79164e647e23bb7c705195e0075ce6020c30dd5ec4f8c8a12a100fe0eb0d6783 + * SHA256: 79164e647e23bb7c705195e0075ce6020c30dd5ec4f8c8a12a100fe0eb0d6783 * * [ruby-1.9.1-p376.tar.gz][4] * Größe: 9.073.007 Byte * MD5-Summe: ebb20550a11e7f1a2fbd6fdec2a3e0a3 - * SHA256: - 58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca + * SHA256: 58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca * * [ruby-1.9.1-p376.zip][5] * Größe: 10.337.871 Byte * MD5-Summe: d4d5e62f65cb92a281f1569a7f25371b - * SHA256: - 486d3efdab269040ce7142964ba3a4e0d46f0a5b812136bcac7e5bafc726c14e + * SHA256: 486d3efdab269040ce7142964ba3a4e0d46f0a5b812136bcac7e5bafc726c14e diff --git a/en/news/_posts/2008-10-28-ruby-1-9-1-preview-1-released.md b/en/news/_posts/2008-10-28-ruby-1-9-1-preview-1-released.md index 1570d5ed9d..ca448d67cf 100644 --- a/en/news/_posts/2008-10-28-ruby-1-9-1-preview-1-released.md +++ b/en/news/_posts/2008-10-28-ruby-1-9-1-preview-1-released.md @@ -19,18 +19,21 @@ Yugui (Yuki Sonoda) announced the release of Ruby 1.9.1-preview 1: You can download the release from; * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.bz2][2] - SIZE: 6169022 bytes MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 SHA256: - dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a + SIZE: 6169022 bytes + MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 + SHA256: dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.gz][3] - SIZE: 7409682 bytes MD5: 738f701532452fd5d36f5c155f3ba692 SHA256: - 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d + SIZE: 7409682 bytes + MD5: 738f701532452fd5d36f5c155f3ba692 + SHA256: 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.zip][4] - SIZE: 8569116 bytes MD5: 5f68246246c4cd29d8a3b6b34b29b6ac SHA256: - a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 + SIZE: 8569116 bytes + MD5: 5f68246246c4cd29d8a3b6b34b29b6ac + SHA256: a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 diff --git a/en/news/_posts/2009-01-30-ruby-1-9-1-released.md b/en/news/_posts/2009-01-30-ruby-1-9-1-released.md index 2f4fe06ad8..99a1e4dccf 100644 --- a/en/news/_posts/2009-01-30-ruby-1-9-1-released.md +++ b/en/news/_posts/2009-01-30-ruby-1-9-1-released.md @@ -33,8 +33,7 @@ Download from MD5: 0278610ec3f895ece688de703d99143e - SHA256: - de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 + SHA256: de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz][5] @@ -42,8 +41,7 @@ Download from MD5: 50e4f381ce68c6de72bace6d75f0135b - SHA256: - a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc + SHA256: a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.zip][6] @@ -51,8 +49,7 @@ Download from MD5: 3377d43b041877cda108e243c6b7f436 - SHA256: - 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b + SHA256: 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b diff --git a/en/news/_posts/2010-07-02-ruby-1-9-1-p429-is-released.md b/en/news/_posts/2010-07-02-ruby-1-9-1-p429-is-released.md index e7856e0f61..2cce9d581a 100644 --- a/en/news/_posts/2010-07-02-ruby-1-9-1-p429-is-released.md +++ b/en/news/_posts/2010-07-02-ruby-1-9-1-p429-is-released.md @@ -36,20 +36,17 @@ The vulnerability was found and reported by Masaya TARUI. * [ruby-1.9.1-p429.tar.bz2][1] * SIZE: 7300923 bytes * MD5: 09df32ae51b6337f7a2e3b1909b26213 - * SHA256: - e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb + * SHA256: e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb * [ruby-1.9.1-p429.tar.gz][2] * SIZE: 9078126 bytes * MD5: 0f6d7630f26042e00bc59875755cf879 - * SHA256: - fdd97f52873b70f378ac73c76a1b2778e210582ce5fe1e1c241c37bd906b43b2 + * SHA256: fdd97f52873b70f378ac73c76a1b2778e210582ce5fe1e1c241c37bd906b43b2 * [ruby-1.9.1-p429.zip][3] * SIZE: 10347659 bytes * MD5: fcd031414e5e4534f97aa195bb586d6c - * SHA256: - c9fe2364b477ad004030f4feeb89aeaa2a01675ff95db1bed31a932806f85680 + * SHA256: c9fe2364b477ad004030f4feeb89aeaa2a01675ff95db1bed31a932806f85680 diff --git a/en/news/_posts/2010-07-02-ruby-1-9-2-rc1-is-released.md b/en/news/_posts/2010-07-02-ruby-1-9-2-rc1-is-released.md index 96aca288b1..280fe98189 100644 --- a/en/news/_posts/2010-07-02-ruby-1-9-2-rc1-is-released.md +++ b/en/news/_posts/2010-07-02-ruby-1-9-2-rc1-is-released.md @@ -39,20 +39,17 @@ Ruby and let us know via [our issue tracker][4] if you have any issues. * [ruby-1.9.2-rc1.tar.bz2][5] * SIZE: 8479087 bytes * MD5: 242dcfaed8359a6918941b55d0806bf0 - * SHA256: - c2a680aa5472c8d04a71625afa2b0f75c030d3655a3063fe364cfda8b33c1480 + * SHA256: c2a680aa5472c8d04a71625afa2b0f75c030d3655a3063fe364cfda8b33c1480 * [ruby-1.9.2-rc1.tar.gz](URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-rc1.tar.gz) * SIZE: 10779309 bytes * MD5: fdedd5b42ae89a9a46797823ad2d9acf - * SHA256: - 3e90036728342ce8463be00d42d4a36de70dabed96216c5f8a26ec9ba4b29537 + * SHA256: 3e90036728342ce8463be00d42d4a36de70dabed96216c5f8a26ec9ba4b29537 * [ruby-1.9.2-rc1.zip][6] * SIZE: 12158992 bytes * MD5: 3da59c5d3567f6e1f1697abbef71f507 - * SHA256: - 4f593a3d0873cea8f371a7fc7484cad7bc03acac0ada1970cb9f83a89bc27997 + * SHA256: 4f593a3d0873cea8f371a7fc7484cad7bc03acac0ada1970cb9f83a89bc27997 diff --git a/en/news/_posts/2010-07-11-ruby-1-9-2-rc2-is-released.md b/en/news/_posts/2010-07-11-ruby-1-9-2-rc2-is-released.md index e9ca32736f..2c117a8b38 100644 --- a/en/news/_posts/2010-07-11-ruby-1-9-2-rc2-is-released.md +++ b/en/news/_posts/2010-07-11-ruby-1-9-2-rc2-is-released.md @@ -40,20 +40,17 @@ more than 99% of RubySpecs. Try out the new Ruby and let us know via * [ruby-1.9.2-rc2.tar.bz2][4] * SIZE: 8480974 bytes * MD5: 4e4906d0aab711286b31f5a834860cc3 - * SHA256: - 692ebae991b104482dc9f0d220c1afb6b690a338b3b815aaa4f62954d2fa1b4a + * SHA256: 692ebae991b104482dc9f0d220c1afb6b690a338b3b815aaa4f62954d2fa1b4a * [ruby-1.9.2-rc2.tar.gz][5] * SIZE: 10781884 bytes * MD5: d12cd39eee4d99bc54b52aba5a0ba4e1 - * SHA256: - 5d523d99f928705ac1de84ade03283c468415c00f8b6755a8dd7a140828869b4 + * SHA256: 5d523d99f928705ac1de84ade03283c468415c00f8b6755a8dd7a140828869b4 * [ruby-1.9.2-rc2.zip][6] * SIZE: 12161233 bytes * MD5: 05229b43981e4e5ce58b5fb2e98eee52 - * SHA256: - 33f7f4cdd8444c2594728f70ac07477575a7cba5e7756bd3645f23e52605618c + * SHA256: 33f7f4cdd8444c2594728f70ac07477575a7cba5e7756bd3645f23e52605618c diff --git a/en/news/_posts/2012-02-16-ruby-1-9-3-p125-is-released.md b/en/news/_posts/2012-02-16-ruby-1-9-3-p125-is-released.md index 3aeb6e6e5d..54801e0818 100644 --- a/en/news/_posts/2012-02-16-ruby-1-9-3-p125-is-released.md +++ b/en/news/_posts/2012-02-16-ruby-1-9-3-p125-is-released.md @@ -28,22 +28,19 @@ NOTE: Repackaged on 2012-02-17 02:04:00 UTC to fix [\[Bug #6040\]][6]. * SIZE: 9733962 bytes * MD5: 702529a7f8417ed79f628b77d8061aa5 - * SHA256: - c67a59443052b5a9219eb4cee3892bdfbc6f250f0c8e214e02256a4cc7ef5526 + * SHA256: c67a59443052b5a9219eb4cee3892bdfbc6f250f0c8e214e02256a4cc7ef5526 * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz][8] * SIZE: 12278584 bytes * MD5: e3ea86b9d3fc2d3ec867f66969ae3b92 - * SHA256: - 8b3c035cf4f0ad6420f447d6a48e8817e5384d0504514939aeb156e251d44cce + * SHA256: 8b3c035cf4f0ad6420f447d6a48e8817e5384d0504514939aeb156e251d44cce * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.zip][9] * SIZE: 13742164 bytes * MD5: 2cff031a8801d91a0a0ca8e9a83e2ec8 - * SHA256: - c16423182227c765398723da2419e4e962076778ec5e39417fad564e413fde1d + * SHA256: c16423182227c765398723da2419e4e962076778ec5e39417fad564e413fde1d diff --git a/en/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md b/en/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md index 5fdb855ee0..8b4f29023c 100644 --- a/en/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md +++ b/en/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md @@ -54,20 +54,17 @@ See [tickets][2] and [ChangeLog][3] for details. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2>][4] * SIZE: 9841223 bytes * MD5: 2278eff4cfed3cbc0653bc73085caa34 - * SHA256: - a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa + * SHA256: a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz>][5] * SIZE: 12432239 bytes * MD5: bc0c715c69da4d1d8bd57069c19f6c0e - * SHA256: - 46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb + * SHA256: 46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.zip>][6] * SIZE: 13898712 bytes * MD5: 77e67b15234e442d4a3dcc450bc70fea - * SHA256: - 77474cfb92385b3a0b4c346553048bc65bfe68d4f220128329671a0234cb124d + * SHA256: 77474cfb92385b3a0b4c346553048bc65bfe68d4f220128329671a0234cb124d diff --git a/en/news/_posts/2012-04-21-ruby-1-9-2-p320-is-released.md b/en/news/_posts/2012-04-21-ruby-1-9-2-p320-is-released.md index 35d360ebf5..c9d2d531f3 100644 --- a/en/news/_posts/2012-04-21-ruby-1-9-2-p320-is-released.md +++ b/en/news/_posts/2012-04-21-ruby-1-9-2-p320-is-released.md @@ -54,20 +54,17 @@ See [tickets][2] and [ChangeLog][3] for details. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p320.tar.bz2>][4] * SIZE: 8981382 bytes * MD5: b226dfe95d92750ee7163e899b33af00 - * SHA256: - 6777f865cfa21ffdc167fcc4a7da05cb13aab1bd9e59bfcda82c4b32f75e6b51 + * SHA256: 6777f865cfa21ffdc167fcc4a7da05cb13aab1bd9e59bfcda82c4b32f75e6b51 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p320.tar.gz>][5] * SIZE: 11338691 bytes * MD5: 5ef5d9c07af207710bd9c2ad1cef4b42 - * SHA256: - 39a1f046e8756c1885cde42b234bc608196e50feadf1d0f202f7634f4a4b1245 + * SHA256: 39a1f046e8756c1885cde42b234bc608196e50feadf1d0f202f7634f4a4b1245 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p320.zip>][6] * SIZE: 12730896 bytes * MD5: 0bdfd04bfeb0933c0bdcd00e4ea94c49 - * SHA256: - 83db9c86d5cf20bb91e625c3c9c1da8e61d941e1bc8ff4a1b9ea70c12f2972d3 + * SHA256: 83db9c86d5cf20bb91e625c3c9c1da8e61d941e1bc8ff4a1b9ea70c12f2972d3 diff --git a/en/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md b/en/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md index f925509840..792dce5804 100644 --- a/en/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md +++ b/en/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md @@ -22,20 +22,17 @@ See [tickets][3] and [ChangeLog][4] for details. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.bz2>][5] * SIZE: 9961862 bytes * MD5: e76848a86606a4fd5dcf14fc4b4e755e - * SHA256: - 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 + * SHA256: 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz>][6] * SIZE: 12459652 bytes * MD5: e2469b55c2a3d0d643097d47fe4984bb - * SHA256: - e94367108751fd6bce79401d947baa66096c757fd3a0856350a2abd05d26d89d + * SHA256: e94367108751fd6bce79401d947baa66096c757fd3a0856350a2abd05d26d89d * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.zip>][7] * SIZE: 13906047 bytes * MD5: 8b3c2d6bd306804ed198260e4f5b6418 - * SHA256: - 9d59c5885e66e6fbfbc49a2b6b80429141f8bdd2827747ec9a4eee7c2252b522 + * SHA256: 9d59c5885e66e6fbfbc49a2b6b80429141f8bdd2827747ec9a4eee7c2252b522 diff --git a/en/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md b/en/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md index e81b6a34fe..7192a116c3 100644 --- a/en/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md +++ b/en/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md @@ -19,20 +19,17 @@ See [tickets][2] and [ChangeLog][3] for details. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.bz2>][4] * SIZE: 9975835 bytes * MD5: 7d602aba93f31ceef32800999855fbca - * SHA256: - d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 + * SHA256: d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz>][5] * SIZE: 12484826 bytes * MD5: 96118e856b502b5d7b3a4398e6c6e98c - * SHA256: - 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 + * SHA256: 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.zip>][6] * SIZE: 13925310 bytes * MD5: 24f4417179a5eae6ce321c0cfadd837e - * SHA256: - 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe + * SHA256: 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe diff --git a/en/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md b/en/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md index 0861395dc7..922a8b1c8e 100644 --- a/en/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md +++ b/en/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md @@ -24,20 +24,17 @@ You can download this release from: * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.bz2>][3] * SIZE: 10021565 bytes * MD5: 13c26ea368d88a560f07cc8c5eb4fa05 - * SHA256: - 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 + * SHA256: 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.gz>][4] * SIZE: 12565596 bytes * MD5: 1efc2316dc50e97591792d90647fade2 - * SHA256: - eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 + * SHA256: eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.zip>][5] * SIZE: 13869324 bytes * MD5: 764d5e2d8149a7f424fc02089f8a7359 - * SHA256: - 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d + * SHA256: 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d ## Release Comment diff --git a/en/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md b/en/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md index 119d6eaee8..ed5e681f13 100644 --- a/en/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md +++ b/en/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md @@ -25,20 +25,17 @@ You can download this release from: * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2>][3] * SIZE: 10017658 bytes * MD5: 944e73eba9ee9e1f2647ff32ec0b14b2 - * SHA256: - 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 + * SHA256: 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz>][4] * SIZE: 12555429 bytes * MD5: 90b6c327abcdf30a954c2d6ae44da2a9 - * SHA256: - 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 + * SHA256: 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.zip>][5] * SIZE: 13871394 bytes * MD5: c0001d5d36ad2e3e6a84810abe585b79 - * SHA256: - 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 + * SHA256: 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 ## Release Comment diff --git a/es/news/_posts/2009-02-11-ruby-1-9-1.md b/es/news/_posts/2009-02-11-ruby-1-9-1.md index 1feac0f94e..e27315920f 100644 --- a/es/news/_posts/2009-02-11-ruby-1-9-1.md +++ b/es/news/_posts/2009-02-11-ruby-1-9-1.md @@ -20,8 +20,7 @@ descargarlo de las siguientes direcciones: MD5: 0278610ec3f895ece688de703d99143e - SHA256: - de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 + SHA256: de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz][3] @@ -29,8 +28,7 @@ descargarlo de las siguientes direcciones: MD5: 50e4f381ce68c6de72bace6d75f0135b - SHA256: - a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc + SHA256: a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.zip][4] @@ -38,8 +36,7 @@ descargarlo de las siguientes direcciones: MD5: 3377d43b041877cda108e243c6b7f436 - SHA256: - 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b + SHA256: 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b diff --git a/es/news/_posts/2012-11-12-liberado-ruby-1-9-3-p327.md b/es/news/_posts/2012-11-12-liberado-ruby-1-9-3-p327.md index 09ad0037fc..21cc9e7da6 100644 --- a/es/news/_posts/2012-11-12-liberado-ruby-1-9-3-p327.md +++ b/es/news/_posts/2012-11-12-liberado-ruby-1-9-3-p327.md @@ -22,20 +22,17 @@ Para tener información detallada se recomienda revisar el registro de * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.bz2>][2] * SIZE: 9975835 bytes * MD5: 7d602aba93f31ceef32800999855fbca - * SHA256: - d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 + * SHA256: d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz>][3] * SIZE: 12484826 bytes * MD5: 96118e856b502b5d7b3a4398e6c6e98c - * SHA256: - 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 + * SHA256: 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.zip>][4] * SIZE: 13925310 bytes * MD5: 24f4417179a5eae6ce321c0cfadd837e - * SHA256: - 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe + * SHA256: 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe diff --git a/es/news/_posts/2012-12-27-liberado-ruby-1-9-3-p362.md b/es/news/_posts/2012-12-27-liberado-ruby-1-9-3-p362.md index de2fcb34bc..8075621b9f 100644 --- a/es/news/_posts/2012-12-27-liberado-ruby-1-9-3-p362.md +++ b/es/news/_posts/2012-12-27-liberado-ruby-1-9-3-p362.md @@ -26,8 +26,7 @@ A continuación detallamos las fuentes para descargar esta versión. * SIZE 10021565 bytes * MD5 13c26ea368d88a560f07cc8c5eb4fa05 -* SHA256 - 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 +* SHA256 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 ^ * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.gz>][4] @@ -35,8 +34,7 @@ A continuación detallamos las fuentes para descargar esta versión. * SIZE 12565596 bytes * MD5 1efc2316dc50e97591792d90647fade2 -* SHA256 - eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 +* SHA256 eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 ^ * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.zip>][5] @@ -44,8 +42,7 @@ A continuación detallamos las fuentes para descargar esta versión. * SIZE 13869324 bytes * MD5 764d5e2d8149a7f424fc02089f8a7359 -* SHA256 - 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d +* SHA256 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d No me queda mas que despedirme de todos vosotros transmitiendo el mensaje de agradecimiento realizado por U. Nakamura en el anuncio de la diff --git a/es/news/_posts/2013-01-19-liberado-ruby-1-9-3-p374.md b/es/news/_posts/2013-01-19-liberado-ruby-1-9-3-p374.md index 0f48385034..d1639c71db 100644 --- a/es/news/_posts/2013-01-19-liberado-ruby-1-9-3-p374.md +++ b/es/news/_posts/2013-01-19-liberado-ruby-1-9-3-p374.md @@ -29,18 +29,15 @@ Las fuentes de descarga disponibles son las siguientes: * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2>][3] * SIZE 10017658 bytes * MD5 944e73eba9ee9e1f2647ff32ec0b14b2 -* SHA256 - 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 +* SHA256 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz>][4] * SIZE 12555429 bytes * MD5 90b6c327abcdf30a954c2d6ae44da2a9 -* SHA256 - 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 +* SHA256 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.zip>][5] * SIZE 13871394 bytes * MD5 c0001d5d36ad2e3e6a84810abe585b79 -* SHA256 - 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 +* SHA256 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 diff --git a/es/news/_posts/2013-02-23-liberado-ruby-1-9-3-p392.md b/es/news/_posts/2013-02-23-liberado-ruby-1-9-3-p392.md index 36b5db64fc..54a98de9f1 100644 --- a/es/news/_posts/2013-02-23-liberado-ruby-1-9-3-p392.md +++ b/es/news/_posts/2013-02-23-liberado-ruby-1-9-3-p392.md @@ -26,30 +26,21 @@ Se puede obtener esta versión desde las siguientes fuentes de descarga: * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.bz2>][5] - SIZE: - 10024221 bytes - MD5: - a810d64e2255179d2f334eb61fb8519c - SHA256: - 5a7334dfdf62966879bf539b8a9f0b889df6f3b3824fb52a9303c3c3d3a58391 + SIZE: 10024221 bytes + MD5: a810d64e2255179d2f334eb61fb8519c + SHA256: 5a7334dfdf62966879bf539b8a9f0b889df6f3b3824fb52a9303c3c3d3a58391 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz>][6] - SIZE: - 12557294 bytes - MD5: - f689a7b61379f83cbbed3c7077d83859 - SHA256: - 8861ddadb2cd30fb30e42122741130d12f6543c3d62d05906cd41076db70975f + SIZE: 12557294 bytes + MD5: f689a7b61379f83cbbed3c7077d83859 + SHA256: 8861ddadb2cd30fb30e42122741130d12f6543c3d62d05906cd41076db70975f * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.zip>][7] - SIZE: - 13863402 bytes - MD5: - 212fb3bc41257b41d1f8bfe0725916b7 - SHA256: - f200ce4a63ce57bea64028a507350717c2a16bdbba6d9538bc69e9e7c2177c8b + SIZE: 13863402 bytes + MD5: 212fb3bc41257b41d1f8bfe0725916b7 + SHA256: f200ce4a63ce57bea64028a507350717c2a16bdbba6d9538bc69e9e7c2177c8b Me despido transmitiendo el agradecimiento del equipo de desarrollo a todas las personas que han colaborado en el desarrollo de esta versión diff --git a/fr/news/_posts/2008-10-28-sortie-de-ruby-1-9-1-preview-1.md b/fr/news/_posts/2008-10-28-sortie-de-ruby-1-9-1-preview-1.md index f856932fae..b8332c9f35 100644 --- a/fr/news/_posts/2008-10-28-sortie-de-ruby-1-9-1-preview-1.md +++ b/fr/news/_posts/2008-10-28-sortie-de-ruby-1-9-1-preview-1.md @@ -18,18 +18,21 @@ Yugui (Yuki Sonoda) a annoncé la sortie de Ruby 1.9.1-preview 1 : Vous pouvez télécharger cette pré-version dans les formats suivants : * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.bz2][1] - SIZE: 6169022 bytes MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 SHA256: - dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a + SIZE: 6169022 bytes + MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 + SHA256: dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.gz][2] - SIZE: 7409682 bytes MD5: 738f701532452fd5d36f5c155f3ba692 SHA256: - 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d + SIZE: 7409682 bytes + MD5: 738f701532452fd5d36f5c155f3ba692 + SHA256: 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.zip][3] - SIZE: 8569116 bytes MD5: 5f68246246c4cd29d8a3b6b34b29b6ac SHA256: - a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 + SIZE: 8569116 bytes + MD5: 5f68246246c4cd29d8a3b6b34b29b6ac + SHA256: a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 diff --git a/fr/news/_posts/2010-07-03-sortie-de-ruby-1-9-1-p429.md b/fr/news/_posts/2010-07-03-sortie-de-ruby-1-9-1-p429.md index 27a29ebd82..1d414b135b 100644 --- a/fr/news/_posts/2010-07-03-sortie-de-ruby-1-9-1-p429.md +++ b/fr/news/_posts/2010-07-03-sortie-de-ruby-1-9-1-p429.md @@ -36,20 +36,17 @@ Faille détectée et rapportée par Masaya Tarui. * [ruby-1.9.1-p429.tar.bz2][2] * SIZE: 7300923 bytes * MD5: 09df32ae51b6337f7a2e3b1909b26213 - * SHA256: - e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb + * SHA256: e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb * [ruby-1.9.1-p429.tar.gz][3] * SIZE: 9078126 bytes * MD5: 0f6d7630f26042e00bc59875755cf879 - * SHA256: - fdd97f52873b70f378ac73c76a1b2778e210582ce5fe1e1c241c37bd906b43b2 + * SHA256: fdd97f52873b70f378ac73c76a1b2778e210582ce5fe1e1c241c37bd906b43b2 * [ruby-1.9.1-p429.zip][4] * SIZE: 10347659 bytes * MD5: fcd031414e5e4534f97aa195bb586d6c - * SHA256: - c9fe2364b477ad004030f4feeb89aeaa2a01675ff95db1bed31a932806f85680 + * SHA256: c9fe2364b477ad004030f4feeb89aeaa2a01675ff95db1bed31a932806f85680 diff --git a/fr/news/_posts/2010-07-03-sortie-de-ruby-1-9-2-rc1.md b/fr/news/_posts/2010-07-03-sortie-de-ruby-1-9-2-rc1.md index 7ea06e4f32..e4e3b410bd 100644 --- a/fr/news/_posts/2010-07-03-sortie-de-ruby-1-9-2-rc1.md +++ b/fr/news/_posts/2010-07-03-sortie-de-ruby-1-9-2-rc1.md @@ -41,20 +41,17 @@ exprimer vos retours sur [le bug tracker][5]. * [ruby-1.9.2-rc1.tar.bz2][6] * SIZE: 8479087 bytes * MD5: 242dcfaed8359a6918941b55d0806bf0 - * SHA256: - c2a680aa5472c8d04a71625afa2b0f75c030d3655a3063fe364cfda8b33c1480 + * SHA256: c2a680aa5472c8d04a71625afa2b0f75c030d3655a3063fe364cfda8b33c1480 * [ruby-1.9.2-rc1.tar.gz][7] * SIZE: 10779309 bytes * MD5: fdedd5b42ae89a9a46797823ad2d9acf - * SHA256: - 3e90036728342ce8463be00d42d4a36de70dabed96216c5f8a26ec9ba4b29537 + * SHA256: 3e90036728342ce8463be00d42d4a36de70dabed96216c5f8a26ec9ba4b29537 * [ruby-1.9.2-rc1.zip][8] * SIZE: 12158992 bytes * MD5: 3da59c5d3567f6e1f1697abbef71f507 - * SHA256: - 4f593a3d0873cea8f371a7fc7484cad7bc03acac0ada1970cb9f83a89bc27997 + * SHA256: 4f593a3d0873cea8f371a7fc7484cad7bc03acac0ada1970cb9f83a89bc27997 diff --git a/fr/news/_posts/2010-07-11-sortie-de-ruby-1-9-2-rc2.md b/fr/news/_posts/2010-07-11-sortie-de-ruby-1-9-2-rc2.md index 6df09c83f9..7248c19b87 100644 --- a/fr/news/_posts/2010-07-11-sortie-de-ruby-1-9-2-rc2.md +++ b/fr/news/_posts/2010-07-11-sortie-de-ruby-1-9-2-rc2.md @@ -42,20 +42,17 @@ RC et à exprimer vos retours sur [le bug tracker][4]. * [ruby-1.9.2-rc2.tar.bz2][5] * SIZE: 8480974 bytes * MD5: 4e4906d0aab711286b31f5a834860cc3 - * SHA256: - 692ebae991b104482dc9f0d220c1afb6b690a338b3b815aaa4f62954d2fa1b4a + * SHA256: 692ebae991b104482dc9f0d220c1afb6b690a338b3b815aaa4f62954d2fa1b4a * [ruby-1.9.2-rc2.tar.gz][6] * SIZE: 10781884 bytes * MD5: d12cd39eee4d99bc54b52aba5a0ba4e1 - * SHA256: - 5d523d99f928705ac1de84ade03283c468415c00f8b6755a8dd7a140828869b4 + * SHA256: 5d523d99f928705ac1de84ade03283c468415c00f8b6755a8dd7a140828869b4 * [ruby-1.9.2-rc2.zip][7] * SIZE: 12161233 bytes * MD5: 05229b43981e4e5ce58b5fb2e98eee52 - * SHA256: - 33f7f4cdd8444c2594728f70ac07477575a7cba5e7756bd3645f23e52605618c + * SHA256: 33f7f4cdd8444c2594728f70ac07477575a7cba5e7756bd3645f23e52605618c diff --git a/fr/news/_posts/2012-04-20-sortie-de-ruby-1-9-3-p194.md b/fr/news/_posts/2012-04-20-sortie-de-ruby-1-9-3-p194.md index 64891f67e9..9df60a0294 100644 --- a/fr/news/_posts/2012-04-20-sortie-de-ruby-1-9-3-p194.md +++ b/fr/news/_posts/2012-04-20-sortie-de-ruby-1-9-3-p194.md @@ -58,20 +58,17 @@ Pour plus d\'informations, vous pouvez consultez les [tickets][2] et le * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2>][4] * SIZE: 9841223 bytes * MD5: 2278eff4cfed3cbc0653bc73085caa34 - * SHA256: - a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa + * SHA256: a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz>][5] * SIZE: 12432239 bytes * MD5: bc0c715c69da4d1d8bd57069c19f6c0e - * SHA256: - 46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb + * SHA256: 46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.zip>][6] * SIZE: 13898712 bytes * MD5: 77e67b15234e442d4a3dcc450bc70fea - * SHA256: - 77474cfb92385b3a0b4c346553048bc65bfe68d4f220128329671a0234cb124d + * SHA256: 77474cfb92385b3a0b4c346553048bc65bfe68d4f220128329671a0234cb124d diff --git a/fr/news/_posts/2012-10-13-sortie-de-la-version-1-9-3-p286-de-ruby.md b/fr/news/_posts/2012-10-13-sortie-de-la-version-1-9-3-p286-de-ruby.md index 012cbd3e04..525ae92567 100644 --- a/fr/news/_posts/2012-10-13-sortie-de-la-version-1-9-3-p286-de-ruby.md +++ b/fr/news/_posts/2012-10-13-sortie-de-la-version-1-9-3-p286-de-ruby.md @@ -22,20 +22,17 @@ détails. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.bz2>][5] * TAILLE: 9961862 bytes * MD5: e76848a86606a4fd5dcf14fc4b4e755e - * SHA256: - 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 + * SHA256: 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz>][6] * TAILLE: 12459652 bytes * MD5: e2469b55c2a3d0d643097d47fe4984bb - * SHA256: - e94367108751fd6bce79401d947baa66096c757fd3a0856350a2abd05d26d89d + * SHA256: e94367108751fd6bce79401d947baa66096c757fd3a0856350a2abd05d26d89d * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.zip>][7] * TAILLE: 13906047 bytes * MD5: 8b3c2d6bd306804ed198260e4f5b6418 - * SHA256: - 9d59c5885e66e6fbfbc49a2b6b80429141f8bdd2827747ec9a4eee7c2252b522 + * SHA256: 9d59c5885e66e6fbfbc49a2b6b80429141f8bdd2827747ec9a4eee7c2252b522 diff --git a/fr/news/_posts/2012-11-11-sortie-de-la-version-1-9-3-p327-de-ruby.md b/fr/news/_posts/2012-11-11-sortie-de-la-version-1-9-3-p327-de-ruby.md index a01954c5dc..1b696e9879 100644 --- a/fr/news/_posts/2012-11-11-sortie-de-la-version-1-9-3-p327-de-ruby.md +++ b/fr/news/_posts/2012-11-11-sortie-de-la-version-1-9-3-p327-de-ruby.md @@ -19,20 +19,17 @@ détails. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.bz2>][4] * SIZE: 9975835 bytes * MD5: 7d602aba93f31ceef32800999855fbca - * SHA256: - d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 + * SHA256: d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz>][5] * SIZE: 12484826 bytes * MD5: 96118e856b502b5d7b3a4398e6c6e98c - * SHA256: - 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 + * SHA256: 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.zip>][6] * SIZE: 13925310 bytes * MD5: 24f4417179a5eae6ce321c0cfadd837e - * SHA256: - 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe + * SHA256: 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe diff --git a/fr/news/_posts/2012-12-27-sortie-de-la-version-1-9-3-p362-de-ruby.md b/fr/news/_posts/2012-12-27-sortie-de-la-version-1-9-3-p362-de-ruby.md index 9517296e1d..09dba58997 100644 --- a/fr/news/_posts/2012-12-27-sortie-de-la-version-1-9-3-p362-de-ruby.md +++ b/fr/news/_posts/2012-12-27-sortie-de-la-version-1-9-3-p362-de-ruby.md @@ -27,20 +27,17 @@ Vous pouvez télécharger cette version depuis : * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.bz2>][3] * SIZE: 10021565 bytes * MD5: 13c26ea368d88a560f07cc8c5eb4fa05 - * SHA256: - 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 + * SHA256: 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.gz>][4] * SIZE: 12565596 bytes * MD5: 1efc2316dc50e97591792d90647fade2 - * SHA256: - eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 + * SHA256: eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.zip>][5] * SIZE: 13869324 bytes * MD5: 764d5e2d8149a7f424fc02089f8a7359 - * SHA256: - 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d + * SHA256: 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d ## Commentaire diff --git a/fr/news/_posts/2013-01-19-sortie-de-la-version-1-9-3-p374-de-ruby.md b/fr/news/_posts/2013-01-19-sortie-de-la-version-1-9-3-p374-de-ruby.md index f69ccf96b5..5deb49f3cb 100644 --- a/fr/news/_posts/2013-01-19-sortie-de-la-version-1-9-3-p374-de-ruby.md +++ b/fr/news/_posts/2013-01-19-sortie-de-la-version-1-9-3-p374-de-ruby.md @@ -29,20 +29,17 @@ Vous pouvez télécharger cette nouvelle version depuis : * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2>][3] * SIZE: 10017658 bytes * MD5: 944e73eba9ee9e1f2647ff32ec0b14b2 - * SHA256: - 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 + * SHA256: 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz>][4] * SIZE: 12555429 bytes * MD5: 90b6c327abcdf30a954c2d6ae44da2a9 - * SHA256: - 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 + * SHA256: 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.zip>][5] * SIZE: 13871394 bytes * MD5: c0001d5d36ad2e3e6a84810abe585b79 - * SHA256: - 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 + * SHA256: 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 ## Commentaire diff --git a/id/news/_posts/2009-01-30-ruby-1-9-1-rilis.md b/id/news/_posts/2009-01-30-ruby-1-9-1-rilis.md index e1befa5ec9..4f3c29abd6 100644 --- a/id/news/_posts/2009-01-30-ruby-1-9-1-rilis.md +++ b/id/news/_posts/2009-01-30-ruby-1-9-1-rilis.md @@ -33,8 +33,7 @@ Download dari MD5: 0278610ec3f895ece688de703d99143e - SHA256: - de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 + SHA256: de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz][5] @@ -42,8 +41,7 @@ Download dari MD5: 50e4f381ce68c6de72bace6d75f0135b - SHA256: - a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc + SHA256: a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.zip][6] @@ -51,8 +49,7 @@ Download dari MD5: 3377d43b041877cda108e243c6b7f436 - SHA256: - 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b + SHA256: 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b diff --git a/id/news/_posts/2012-02-16-ruby-1-9-3-p125-is-released.md b/id/news/_posts/2012-02-16-ruby-1-9-3-p125-is-released.md index 1697f89116..5e68b22618 100644 --- a/id/news/_posts/2012-02-16-ruby-1-9-3-p125-is-released.md +++ b/id/news/_posts/2012-02-16-ruby-1-9-3-p125-is-released.md @@ -29,22 +29,19 @@ Catatan: Dipackage ulang pada on 2012-02-17 02:04:00 UTC untuk memperbaiki [\[Bu * SIZE: 9733962 bytes * MD5: 702529a7f8417ed79f628b77d8061aa5 - * SHA256: - c67a59443052b5a9219eb4cee3892bdfbc6f250f0c8e214e02256a4cc7ef5526 + * SHA256: c67a59443052b5a9219eb4cee3892bdfbc6f250f0c8e214e02256a4cc7ef5526 * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz][8] * SIZE: 12278584 bytes * MD5: e3ea86b9d3fc2d3ec867f66969ae3b92 - * SHA256: - 8b3c035cf4f0ad6420f447d6a48e8817e5384d0504514939aeb156e251d44cce + * SHA256: 8b3c035cf4f0ad6420f447d6a48e8817e5384d0504514939aeb156e251d44cce * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.zip][9] * SIZE: 13742164 bytes * MD5: 2cff031a8801d91a0a0ca8e9a83e2ec8 - * SHA256: - c16423182227c765398723da2419e4e962076778ec5e39417fad564e413fde1d + * SHA256: c16423182227c765398723da2419e4e962076778ec5e39417fad564e413fde1d diff --git a/id/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md b/id/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md index 232f1173df..54bd2e5071 100644 --- a/id/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md +++ b/id/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md @@ -54,20 +54,17 @@ Lihat [tiket][2] dan [ChangeLog][3] untuk rinciannya. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2>][4] * SIZE: 9841223 bytes * MD5: 2278eff4cfed3cbc0653bc73085caa34 - * SHA256: - a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa + * SHA256: a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz>][5] * SIZE: 12432239 bytes * MD5: bc0c715c69da4d1d8bd57069c19f6c0e - * SHA256: - 46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb + * SHA256: 46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.zip>][6] * SIZE: 13898712 bytes * MD5: 77e67b15234e442d4a3dcc450bc70fea - * SHA256: - 77474cfb92385b3a0b4c346553048bc65bfe68d4f220128329671a0234cb124d + * SHA256: 77474cfb92385b3a0b4c346553048bc65bfe68d4f220128329671a0234cb124d diff --git a/id/news/_posts/2012-04-21-ruby-1-9-2-p320-is-released.md b/id/news/_posts/2012-04-21-ruby-1-9-2-p320-is-released.md index 5859ace327..e77d75e7f2 100644 --- a/id/news/_posts/2012-04-21-ruby-1-9-2-p320-is-released.md +++ b/id/news/_posts/2012-04-21-ruby-1-9-2-p320-is-released.md @@ -54,20 +54,17 @@ Lihat [tiket][2] dan [ChangeLog][3] untuk rinciannya. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p320.tar.bz2>][4] * SIZE: 8981382 bytes * MD5: b226dfe95d92750ee7163e899b33af00 - * SHA256: - 6777f865cfa21ffdc167fcc4a7da05cb13aab1bd9e59bfcda82c4b32f75e6b51 + * SHA256: 6777f865cfa21ffdc167fcc4a7da05cb13aab1bd9e59bfcda82c4b32f75e6b51 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p320.tar.gz>][5] * SIZE: 11338691 bytes * MD5: 5ef5d9c07af207710bd9c2ad1cef4b42 - * SHA256: - 39a1f046e8756c1885cde42b234bc608196e50feadf1d0f202f7634f4a4b1245 + * SHA256: 39a1f046e8756c1885cde42b234bc608196e50feadf1d0f202f7634f4a4b1245 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p320.zip>][6] * SIZE: 12730896 bytes * MD5: 0bdfd04bfeb0933c0bdcd00e4ea94c49 - * SHA256: - 83db9c86d5cf20bb91e625c3c9c1da8e61d941e1bc8ff4a1b9ea70c12f2972d3 + * SHA256: 83db9c86d5cf20bb91e625c3c9c1da8e61d941e1bc8ff4a1b9ea70c12f2972d3 diff --git a/id/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md b/id/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md index 9cbf238efd..12edd56a3d 100644 --- a/id/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md +++ b/id/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md @@ -22,20 +22,17 @@ Lihat [tiket][3] dan [ChangeLog][4] untuk rinciannya. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.bz2>][5] * SIZE: 9961862 bytes * MD5: e76848a86606a4fd5dcf14fc4b4e755e - * SHA256: - 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 + * SHA256: 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz>][6] * SIZE: 12459652 bytes * MD5: e2469b55c2a3d0d643097d47fe4984bb - * SHA256: - e94367108751fd6bce79401d947baa66096c757fd3a0856350a2abd05d26d89d + * SHA256: e94367108751fd6bce79401d947baa66096c757fd3a0856350a2abd05d26d89d * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.zip>][7] * SIZE: 13906047 bytes * MD5: 8b3c2d6bd306804ed198260e4f5b6418 - * SHA256: - 9d59c5885e66e6fbfbc49a2b6b80429141f8bdd2827747ec9a4eee7c2252b522 + * SHA256: 9d59c5885e66e6fbfbc49a2b6b80429141f8bdd2827747ec9a4eee7c2252b522 diff --git a/id/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md b/id/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md index 71f7eedaa5..de88364d56 100644 --- a/id/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md +++ b/id/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md @@ -20,20 +20,17 @@ Harap lihat [tiket][2] dan [ChangeLog][3] untuk rinciannya. * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.bz2>][4] * SIZE: 9975835 bytes * MD5: 7d602aba93f31ceef32800999855fbca - * SHA256: - d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 + * SHA256: d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz>][5] * SIZE: 12484826 bytes * MD5: 96118e856b502b5d7b3a4398e6c6e98c - * SHA256: - 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 + * SHA256: 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.zip>][6] * SIZE: 13925310 bytes * MD5: 24f4417179a5eae6ce321c0cfadd837e - * SHA256: - 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe + * SHA256: 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe diff --git a/id/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md b/id/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md index 42835f0a06..b15c13b6e3 100644 --- a/id/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md +++ b/id/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md @@ -25,20 +25,17 @@ Anda dapat mengunduh rilis ini dari: * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.bz2>][3] * SIZE: 10021565 bytes * MD5: 13c26ea368d88a560f07cc8c5eb4fa05 - * SHA256: - 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 + * SHA256: 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.gz>][4] * SIZE: 12565596 bytes * MD5: 1efc2316dc50e97591792d90647fade2 - * SHA256: - eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 + * SHA256: eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.zip>][5] * SIZE: 13869324 bytes * MD5: 764d5e2d8149a7f424fc02089f8a7359 - * SHA256: - 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d + * SHA256: 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d ## Komentar Rilis diff --git a/id/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md b/id/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md index 185f28bb09..1ca8ec1d0a 100644 --- a/id/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md +++ b/id/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md @@ -26,20 +26,17 @@ Anda dapat mengunduh rilis ini dari: * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2>][3] * SIZE: 10017658 bytes * MD5: 944e73eba9ee9e1f2647ff32ec0b14b2 - * SHA256: - 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 + * SHA256: 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz>][4] * SIZE: 12555429 bytes * MD5: 90b6c327abcdf30a954c2d6ae44da2a9 - * SHA256: - 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 + * SHA256: 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.zip>][5] * SIZE: 13871394 bytes * MD5: c0001d5d36ad2e3e6a84810abe585b79 - * SHA256: - 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 + * SHA256: 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 ## Komentar Rilis diff --git a/it/news/_posts/2008-11-14-ruby-1-9-1-preview-1-released.md b/it/news/_posts/2008-11-14-ruby-1-9-1-preview-1-released.md index aabb960162..50a2397bb7 100644 --- a/it/news/_posts/2008-11-14-ruby-1-9-1-preview-1-released.md +++ b/it/news/_posts/2008-11-14-ruby-1-9-1-preview-1-released.md @@ -19,21 +19,21 @@ Yugui (Yuki Sonoda) ha annunciato il rilascio di Ruby 1.9.1-preview 1: Puoi scaricare questa nuova versione da: * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.bz2][2] - Dimensione: 6169022 bytes MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 - SHA256: - dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a + Dimensione: 6169022 bytes + MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 + SHA256: dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.gz][3] - Dimensione: 7409682 bytes MD5: 738f701532452fd5d36f5c155f3ba692 - SHA256: - 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d + Dimensione: 7409682 bytes + MD5: 738f701532452fd5d36f5c155f3ba692 + SHA256: 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.zip][4] - Dimensione: 8569116 bytes MD5: 5f68246246c4cd29d8a3b6b34b29b6ac - SHA256: - a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 + Dimensione: 8569116 bytes + MD5: 5f68246246c4cd29d8a3b6b34b29b6ac + SHA256: a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 diff --git a/it/news/_posts/2009-01-31-ruby-1-9-1-released.md b/it/news/_posts/2009-01-31-ruby-1-9-1-released.md index 67d26ea1e0..e9faf32a8e 100644 --- a/it/news/_posts/2009-01-31-ruby-1-9-1-released.md +++ b/it/news/_posts/2009-01-31-ruby-1-9-1-released.md @@ -31,8 +31,7 @@ Scaricalo da: MD5: 0278610ec3f895ece688de703d99143e - SHA256: - de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 + SHA256: de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz][5] @@ -40,8 +39,7 @@ Scaricalo da: MD5: 50e4f381ce68c6de72bace6d75f0135b - SHA256: - a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc + SHA256: a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.zip][6] @@ -49,8 +47,7 @@ Scaricalo da: MD5: 3377d43b041877cda108e243c6b7f436 - SHA256: - 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b + SHA256: 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b diff --git a/it/news/_posts/2010-11-14-ruby-1-9-1-p429-is-released.md b/it/news/_posts/2010-11-14-ruby-1-9-1-p429-is-released.md index a8c7bc60a9..d025823a39 100644 --- a/it/news/_posts/2010-11-14-ruby-1-9-1-p429-is-released.md +++ b/it/news/_posts/2010-11-14-ruby-1-9-1-p429-is-released.md @@ -37,20 +37,17 @@ Questa vulnerabilità è state scoperta e segnalata da Masaya TARUI. * [ruby-1.9.1-p429.tar.bz2][1] * SIZE: 7300923 bytes * MD5: 09df32ae51b6337f7a2e3b1909b26213 - * SHA256: - e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb + * SHA256: e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb * [ruby-1.9.1-p429.tar.gz][2] * SIZE: 9078126 bytes * MD5: 0f6d7630f26042e00bc59875755cf879 - * SHA256: - fdd97f52873b70f378ac73c76a1b2778e210582ce5fe1e1c241c37bd906b43b2 + * SHA256: fdd97f52873b70f378ac73c76a1b2778e210582ce5fe1e1c241c37bd906b43b2 * [ruby-1.9.1-p429.zip][3] * SIZE: 10347659 bytes * MD5: fcd031414e5e4534f97aa195bb586d6c - * SHA256: - c9fe2364b477ad004030f4feeb89aeaa2a01675ff95db1bed31a932806f85680 + * SHA256: c9fe2364b477ad004030f4feeb89aeaa2a01675ff95db1bed31a932806f85680 diff --git a/it/news/_posts/2010-11-14-ruby-1-9-2-rc1-is-released.md b/it/news/_posts/2010-11-14-ruby-1-9-2-rc1-is-released.md index f743730e91..083908a78d 100644 --- a/it/news/_posts/2010-11-14-ruby-1-9-2-rc1-is-released.md +++ b/it/news/_posts/2010-11-14-ruby-1-9-2-rc1-is-released.md @@ -42,20 +42,17 @@ se trovi qualche problema. * [ruby-1.9.2-rc1.tar.bz2][5] * SIZE: 8479087 bytes * MD5: 242dcfaed8359a6918941b55d0806bf0 - * SHA256: - c2a680aa5472c8d04a71625afa2b0f75c030d3655a3063fe364cfda8b33c1480 + * SHA256: c2a680aa5472c8d04a71625afa2b0f75c030d3655a3063fe364cfda8b33c1480 * [ruby-1.9.2-rc1.tar.gz](URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-rc1.tar.gz) * SIZE: 10779309 bytes * MD5: fdedd5b42ae89a9a46797823ad2d9acf - * SHA256: - 3e90036728342ce8463be00d42d4a36de70dabed96216c5f8a26ec9ba4b29537 + * SHA256: 3e90036728342ce8463be00d42d4a36de70dabed96216c5f8a26ec9ba4b29537 * [ruby-1.9.2-rc1.zip][6] * SIZE: 12158992 bytes * MD5: 3da59c5d3567f6e1f1697abbef71f507 - * SHA256: - 4f593a3d0873cea8f371a7fc7484cad7bc03acac0ada1970cb9f83a89bc27997 + * SHA256: 4f593a3d0873cea8f371a7fc7484cad7bc03acac0ada1970cb9f83a89bc27997 diff --git a/it/news/_posts/2010-11-14-ruby-1-9-2-rc2-is-released.md b/it/news/_posts/2010-11-14-ruby-1-9-2-rc2-is-released.md index 0a21e3bbb9..536ba04d3a 100644 --- a/it/news/_posts/2010-11-14-ruby-1-9-2-rc2-is-released.md +++ b/it/news/_posts/2010-11-14-ruby-1-9-2-rc2-is-released.md @@ -35,20 +35,17 @@ eccetto per i cambiamenti seguenti: * [ruby-1.9.2-rc2.tar.bz2][3] * SIZE: 8480974 bytes * MD5: 4e4906d0aab711286b31f5a834860cc3 - * SHA256: - 692ebae991b104482dc9f0d220c1afb6b690a338b3b815aaa4f62954d2fa1b4a + * SHA256: 692ebae991b104482dc9f0d220c1afb6b690a338b3b815aaa4f62954d2fa1b4a * [ruby-1.9.2-rc2.tar.gz][4] * SIZE: 10781884 bytes * MD5: d12cd39eee4d99bc54b52aba5a0ba4e1 - * SHA256: - 5d523d99f928705ac1de84ade03283c468415c00f8b6755a8dd7a140828869b4 + * SHA256: 5d523d99f928705ac1de84ade03283c468415c00f8b6755a8dd7a140828869b4 * [ruby-1.9.2-rc2.zip][5] * SIZE: 12161233 bytes * MD5: 05229b43981e4e5ce58b5fb2e98eee52 - * SHA256: - 33f7f4cdd8444c2594728f70ac07477575a7cba5e7756bd3645f23e52605618c + * SHA256: 33f7f4cdd8444c2594728f70ac07477575a7cba5e7756bd3645f23e52605618c diff --git a/it/news/_posts/2013-01-06-ruby-1-9-3-p362-is-released.md b/it/news/_posts/2013-01-06-ruby-1-9-3-p362-is-released.md index ee1168c358..9c94a1acaa 100644 --- a/it/news/_posts/2013-01-06-ruby-1-9-3-p362-is-released.md +++ b/it/news/_posts/2013-01-06-ruby-1-9-3-p362-is-released.md @@ -24,20 +24,17 @@ Puoi scaricare questa versione da: * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.bz2>][3] * SIZE: 10021565 bytes * MD5: 13c26ea368d88a560f07cc8c5eb4fa05 - * SHA256: - 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 + * SHA256: 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.gz>][4] * SIZE: 12565596 bytes * MD5: 1efc2316dc50e97591792d90647fade2 - * SHA256: - eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 + * SHA256: eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.zip>][5] * SIZE: 13869324 bytes * MD5: 764d5e2d8149a7f424fc02089f8a7359 - * SHA256: - 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d + * SHA256: 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d ## Commento dell\'autore di questa versione diff --git a/it/news/_posts/2013-01-27-ruby-1-9-3-p374-is-released.md b/it/news/_posts/2013-01-27-ruby-1-9-3-p374-is-released.md index c84f9b91ae..d85a01198b 100644 --- a/it/news/_posts/2013-01-27-ruby-1-9-3-p374-is-released.md +++ b/it/news/_posts/2013-01-27-ruby-1-9-3-p374-is-released.md @@ -26,20 +26,17 @@ Puoi scaricare questa versione da: * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2>][3] * SIZE: 10017658 bytes * MD5: 944e73eba9ee9e1f2647ff32ec0b14b2 - * SHA256: - 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 + * SHA256: 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz>][4] * SIZE: 12555429 bytes * MD5: 90b6c327abcdf30a954c2d6ae44da2a9 - * SHA256: - 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 + * SHA256: 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.zip>][5] * SIZE: 13871394 bytes * MD5: c0001d5d36ad2e3e6a84810abe585b79 - * SHA256: - 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 + * SHA256: 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 ## Commento sulla version diff --git a/ja/news/_posts/2011-10-31-ruby-1-9-3-p0-is-released.md b/ja/news/_posts/2011-10-31-ruby-1-9-3-p0-is-released.md index 8f9738381a..8292c89b58 100644 --- a/ja/news/_posts/2011-10-31-ruby-1-9-3-p0-is-released.md +++ b/ja/news/_posts/2011-10-31-ruby-1-9-3-p0-is-released.md @@ -12,20 +12,17 @@ Ruby 1.9.3 の最初の正式版である ruby-1.9.3-p0 がリリースされま * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.bz2>][1] * SIZE: 9554576 bytes * MD5: 65401fb3194cdccd6c1175ab29b8fdb8 - * SHA256: - ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf + * SHA256: ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz>][2] * SIZE: 12223217 bytes * MD5: 8e2fef56185cfbaf29d0c8329fc77c05 - * SHA256: - 3b910042e3561f4296fd95d96bf30322e53eecf083992e5042a7680698cfa34e + * SHA256: 3b910042e3561f4296fd95d96bf30322e53eecf083992e5042a7680698cfa34e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.zip>][3] * SIZE: 13691314 bytes * MD5: 437ac529a7872c8dcc956eab8e7e6f76 - * SHA256: - 1be16d0172e9cf9e5078a7bee2465a9f3af431920e1e3d9417a4fc2ee074bca4 + * SHA256: 1be16d0172e9cf9e5078a7bee2465a9f3af431920e1e3d9417a4fc2ee074bca4 ## 1.9.2からの変更点 diff --git a/ja/news/_posts/2012-02-16-ruby-1-9-3-p125.md b/ja/news/_posts/2012-02-16-ruby-1-9-3-p125.md index f51f47b8e7..ed10972911 100644 --- a/ja/news/_posts/2012-02-16-ruby-1-9-3-p125.md +++ b/ja/news/_posts/2012-02-16-ruby-1-9-3-p125.md @@ -26,22 +26,19 @@ See [tickets][4] and [ChangeLog][5] for details. * SIZE: 9733962 bytes * MD5: 702529a7f8417ed79f628b77d8061aa5 - * SHA256: - c67a59443052b5a9219eb4cee3892bdfbc6f250f0c8e214e02256a4cc7ef5526 + * SHA256: c67a59443052b5a9219eb4cee3892bdfbc6f250f0c8e214e02256a4cc7ef5526 * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz][7] * SIZE: 12278584 bytes * MD5: e3ea86b9d3fc2d3ec867f66969ae3b92 - * SHA256: - 8b3c035cf4f0ad6420f447d6a48e8817e5384d0504514939aeb156e251d44cce + * SHA256: 8b3c035cf4f0ad6420f447d6a48e8817e5384d0504514939aeb156e251d44cce * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.zip][8] * SIZE: 13742164 bytes * MD5: 2cff031a8801d91a0a0ca8e9a83e2ec8 - * SHA256: - c16423182227c765398723da2419e4e962076778ec5e39417fad564e413fde1d + * SHA256: c16423182227c765398723da2419e4e962076778ec5e39417fad564e413fde1d diff --git a/ja/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md b/ja/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md index a343a87b98..dfd4183416 100644 --- a/ja/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md +++ b/ja/news/_posts/2012-04-20-ruby-1-9-3-p194-is-released.md @@ -45,20 +45,17 @@ RubyGemsがSSL証明書をどのように使うかは、~/.gemrcファイルや/ * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2>][4] * SIZE: 9841223 bytes * MD5: 2278eff4cfed3cbc0653bc73085caa34 - * SHA256: - a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa + * SHA256: a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz>][5] * SIZE: 12432239 bytes * MD5: bc0c715c69da4d1d8bd57069c19f6c0e - * SHA256: - 46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb + * SHA256: 46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.zip>][6] * SIZE: 13898712 bytes * MD5: 77e67b15234e442d4a3dcc450bc70fea - * SHA256: - 77474cfb92385b3a0b4c346553048bc65bfe68d4f220128329671a0234cb124d + * SHA256: 77474cfb92385b3a0b4c346553048bc65bfe68d4f220128329671a0234cb124d diff --git a/ja/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md b/ja/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md index d055d33457..7949e4be20 100644 --- a/ja/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md +++ b/ja/news/_posts/2012-10-12-ruby-1-9-3-p286-is-released.md @@ -23,20 +23,17 @@ Ruby 1.9.3-p286 がリリースされました。 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.bz2>][5] * SIZE: 9961862 bytes * MD5: e76848a86606a4fd5dcf14fc4b4e755e - * SHA256: - 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 + * SHA256: 5281656c7a0ae48b64f28d845a96b4dfa16ba1357a911265752787585fb5ea64 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz>][6] * SIZE: 12459652 bytes * MD5: e2469b55c2a3d0d643097d47fe4984bb - * SHA256: - e94367108751fd6bce79401d947baa66096c757fd3a0856350a2abd05d26d89d + * SHA256: e94367108751fd6bce79401d947baa66096c757fd3a0856350a2abd05d26d89d * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.zip>][7] * SIZE: 13906047 bytes * MD5: 8b3c2d6bd306804ed198260e4f5b6418 - * SHA256: - 9d59c5885e66e6fbfbc49a2b6b80429141f8bdd2827747ec9a4eee7c2252b522 + * SHA256: 9d59c5885e66e6fbfbc49a2b6b80429141f8bdd2827747ec9a4eee7c2252b522 ## おしらせ diff --git a/ja/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md b/ja/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md index b68a16e457..35eb778fae 100644 --- a/ja/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md +++ b/ja/news/_posts/2012-11-09-ruby-1-9-3-p327-is-released.md @@ -21,20 +21,17 @@ Ruby 1.9.3-p327 がリリースされました。 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.bz2>][4] * SIZE: 9975835 bytes * MD5: 7d602aba93f31ceef32800999855fbca - * SHA256: - d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 + * SHA256: d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz>][5] * SIZE: 12484826 bytes * MD5: 96118e856b502b5d7b3a4398e6c6e98c - * SHA256: - 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 + * SHA256: 51dd76462d3f6eb2c659a75e90f949f56da58c42bfb5766212478160b7f23d71 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.zip>][6] * SIZE: 13925310 bytes * MD5: 24f4417179a5eae6ce321c0cfadd837e - * SHA256: - 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe + * SHA256: 51dfb919182f69f02a388a6c4b911cb43a321234a282cbf500f50cee51e2f5fe diff --git a/ja/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md b/ja/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md index e27c7ed209..17a7945064 100644 --- a/ja/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md +++ b/ja/news/_posts/2012-12-25-ruby-1-9-3-p362-is-released.md @@ -25,20 +25,17 @@ lang: ja * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.bz2>][3] * SIZE: 10021565 bytes * MD5: 13c26ea368d88a560f07cc8c5eb4fa05 - * SHA256: - 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 + * SHA256: 9ed456711a4c0fb2969d9144a81a706d2d506070a35a6d5bc98bb5c8407f9985 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.gz>][4] * SIZE: 12565596 bytes * MD5: 1efc2316dc50e97591792d90647fade2 - * SHA256: - eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 + * SHA256: eb593607862b16a28176ae6d086dbe3bd9bd41935ec999a8cd5ef8773e8239d6 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.zip>][5] * SIZE: 13869324 bytes * MD5: 764d5e2d8149a7f424fc02089f8a7359 - * SHA256: - 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d + * SHA256: 713ed8149f819ef3ae6b9ac0e27d0c9ee26d3d78e44d42d02ce426d6cb18068d ## リリースに寄せて diff --git a/ja/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md b/ja/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md index 2a1ce8afdd..2def25937e 100644 --- a/ja/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md +++ b/ja/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md @@ -25,20 +25,17 @@ lang: ja * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2>][3] * SIZE: 10017658 bytes * MD5: 944e73eba9ee9e1f2647ff32ec0b14b2 - * SHA256: - 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 + * SHA256: 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz>][4] * SIZE: 12555429 bytes * MD5: 90b6c327abcdf30a954c2d6ae44da2a9 - * SHA256: - 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 + * SHA256: 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.zip>][5] * SIZE: 13871394 bytes * MD5: c0001d5d36ad2e3e6a84810abe585b79 - * SHA256: - 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 + * SHA256: 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 ## リリースに寄せて diff --git a/ko/news/_posts/2010-07-14-ruby-1-9-1-p429-release.md b/ko/news/_posts/2010-07-14-ruby-1-9-1-p429-release.md index 72341c88b2..f10c5948f6 100644 --- a/ko/news/_posts/2010-07-14-ruby-1-9-1-p429-release.md +++ b/ko/news/_posts/2010-07-14-ruby-1-9-1-p429-release.md @@ -32,18 +32,21 @@ Masaya TARUI * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p429.tar.bz2>][1] - SIZE: 7300923 bytes MD5: 09df32ae51b6337f7a2e3b1909b26213 SHA256: - e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb + SIZE: 7300923 bytes + MD5: 09df32ae51b6337f7a2e3b1909b26213 + SHA256: e0b9471d77354628a8041068f45734eb2d99f5b5df08fe5a76d785d989a47bfb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p429.tar.gz>][2] - SIZE: 9078126 bytes MD5: 0f6d7630f26042e00bc59875755cf879 SHA256: - fdd97f52873b70f378ac73c76a1b2778e210582ce5fe1e1c241c37bd906b43b2 + SIZE: 9078126 bytes + MD5: 0f6d7630f26042e00bc59875755cf879 + SHA256: fdd97f52873b70f378ac73c76a1b2778e210582ce5fe1e1c241c37bd906b43b2 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p429.zip>][3] - SIZE: 10347659 bytes MD5: fcd031414e5e4534f97aa195bb586d6c SHA256: - c9fe2364b477ad004030f4feeb89aeaa2a01675ff95db1bed31a932806f85680 + SIZE: 10347659 bytes + MD5: fcd031414e5e4534f97aa195bb586d6c + SHA256: c9fe2364b477ad004030f4feeb89aeaa2a01675ff95db1bed31a932806f85680 diff --git a/ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md b/ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md index cb6e522f11..64d7446949 100644 --- a/ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md +++ b/ko/news/_posts/2011-11-06-ruby-1-9-3-p0-is-released.md @@ -13,20 +13,17 @@ lang: ko * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.bz2>][1] * SIZE: 9554576 bytes * MD5: 65401fb3194cdccd6c1175ab29b8fdb8 - * SHA256: - ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf + * SHA256: ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz>][2] * SIZE: 12223217 bytes * MD5: 8e2fef56185cfbaf29d0c8329fc77c05 - * SHA256: - 3b910042e3561f4296fd95d96bf30322e53eecf083992e5042a7680698cfa34e + * SHA256: 3b910042e3561f4296fd95d96bf30322e53eecf083992e5042a7680698cfa34e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.zip>][3] * SIZE: 13691314 bytes * MD5: 437ac529a7872c8dcc956eab8e7e6f76 - * SHA256: - 1be16d0172e9cf9e5078a7bee2465a9f3af431920e1e3d9417a4fc2ee074bca4 + * SHA256: 1be16d0172e9cf9e5078a7bee2465a9f3af431920e1e3d9417a4fc2ee074bca4 ## 1.9.2와의 차이점 diff --git a/pt/news/_posts/2009-03-04-ruby-1-9-1-disponvel-para-download.md b/pt/news/_posts/2009-03-04-ruby-1-9-1-disponvel-para-download.md index dbdaff1b53..e67f2e79e8 100644 --- a/pt/news/_posts/2009-03-04-ruby-1-9-1-disponvel-para-download.md +++ b/pt/news/_posts/2009-03-04-ruby-1-9-1-disponvel-para-download.md @@ -36,8 +36,7 @@ O Download está disponível em: MD5: 0278610ec3f895ece688de703d99143e - SHA256: - de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 + SHA256: de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz][5] @@ -45,8 +44,7 @@ O Download está disponível em: MD5: 50e4f381ce68c6de72bace6d75f0135b - SHA256: - a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc + SHA256: a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.zip][6] @@ -54,8 +52,7 @@ O Download está disponível em: MD5: 3377d43b041877cda108e243c6b7f436 - SHA256: - 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b + SHA256: 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b diff --git a/ru/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md b/ru/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md index dd8b8a48ff..71a3f41904 100644 --- a/ru/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md +++ b/ru/news/_posts/2013-01-17-ruby-1-9-3-p374-is-released.md @@ -26,20 +26,17 @@ lang: ru * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2>][3] * SIZE: 10017658 bytes * MD5: 944e73eba9ee9e1f2647ff32ec0b14b2 - * SHA256: - 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 + * SHA256: 712944f691b79f22f655547826400c26b13bc8c9e7bdc73a4abea45d5e766d85 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz>][4] * SIZE: 12555429 bytes * MD5: 90b6c327abcdf30a954c2d6ae44da2a9 - * SHA256: - 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 + * SHA256: 0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.zip>][5] * SIZE: 13871394 bytes * MD5: c0001d5d36ad2e3e6a84810abe585b79 - * SHA256: - 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 + * SHA256: 058af4cf409c93cce1de74a6b3355ddcf740f3efae1ab02d63471fcdbed19088 ## Комментарий к релизу diff --git a/tr/news/_posts/2011-01-17-ruby-1-9-1-preview-1-released.md b/tr/news/_posts/2011-01-17-ruby-1-9-1-preview-1-released.md index c44d63b81d..c394f00ed9 100644 --- a/tr/news/_posts/2011-01-17-ruby-1-9-1-preview-1-released.md +++ b/tr/news/_posts/2011-01-17-ruby-1-9-1-preview-1-released.md @@ -18,18 +18,21 @@ Yugui (Yuki Sonoda) Ruby 1.9.1-preview 1 sürümünü bildirdi: Bu sürümü indirebileceğiniz yerler; * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.bz2][2] - BOYUT: 6169022 bytes MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 SHA256: - dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a + BOYUT: 6169022 bytes + MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 + SHA256: dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.gz][3] - BOYUT: 7409682 bytes MD5: 738f701532452fd5d36f5c155f3ba692 SHA256: - 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d + BOYUT: 7409682 bytes + MD5: 738f701532452fd5d36f5c155f3ba692 + SHA256: 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.zip][4] - BOYUT: 8569116 bytes MD5: 5f68246246c4cd29d8a3b6b34b29b6ac SHA256: - a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 + BOYUT: 8569116 bytes + MD5: 5f68246246c4cd29d8a3b6b34b29b6ac + SHA256: a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 diff --git a/zh_cn/news/_posts/2008-10-31-ruby-1-9-1-preview-1-released.md b/zh_cn/news/_posts/2008-10-31-ruby-1-9-1-preview-1-released.md index b98f199137..f9681bb451 100644 --- a/zh_cn/news/_posts/2008-10-31-ruby-1-9-1-preview-1-released.md +++ b/zh_cn/news/_posts/2008-10-31-ruby-1-9-1-preview-1-released.md @@ -17,18 +17,21 @@ Yugui (Yuki Sonoda) 宣布发布 Ruby 1.9.1-preview 1: 你可以从下面下载这个版本: * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.bz2][2] - SIZE: 6169022 bytes MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 SHA256: - dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a + SIZE: 6169022 bytes + MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 + SHA256: dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.gz][3] - SIZE: 7409682 bytes MD5: 738f701532452fd5d36f5c155f3ba692 SHA256: - 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d + SIZE: 7409682 bytes + MD5: 738f701532452fd5d36f5c155f3ba692 + SHA256: 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.zip][4] - SIZE: 8569116 bytes MD5: 5f68246246c4cd29d8a3b6b34b29b6ac SHA256: - a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 + SIZE: 8569116 bytes + MD5: 5f68246246c4cd29d8a3b6b34b29b6ac + SHA256: a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 diff --git a/zh_cn/news/_posts/2009-02-16-ruby-1-9-1.md b/zh_cn/news/_posts/2009-02-16-ruby-1-9-1.md index 9b5e3aa837..06fb5a2aae 100644 --- a/zh_cn/news/_posts/2009-02-16-ruby-1-9-1.md +++ b/zh_cn/news/_posts/2009-02-16-ruby-1-9-1.md @@ -26,8 +26,7 @@ Ruby 1.8 系列自从 2003 年发布以来,已经造就了许多伟大的产 MD5: 0278610ec3f895ece688de703d99143e - SHA256: - de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 + SHA256: de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz][3] @@ -35,8 +34,7 @@ Ruby 1.8 系列自从 2003 年发布以来,已经造就了许多伟大的产 MD5: 50e4f381ce68c6de72bace6d75f0135b - SHA256: - a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc + SHA256: a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.zip][4] @@ -44,8 +42,7 @@ Ruby 1.8 系列自从 2003 年发布以来,已经造就了许多伟大的产 MD5: 3377d43b041877cda108e243c6b7f436 - SHA256: - 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b + SHA256: 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b diff --git a/zh_tw/news/_posts/2008-10-30-ruby-1-9-1-preview-1-released.md b/zh_tw/news/_posts/2008-10-30-ruby-1-9-1-preview-1-released.md index f109130f83..13596aaba5 100644 --- a/zh_tw/news/_posts/2008-10-30-ruby-1-9-1-preview-1-released.md +++ b/zh_tw/news/_posts/2008-10-30-ruby-1-9-1-preview-1-released.md @@ -15,18 +15,21 @@ Yugui (Yuki Sonoda) 先生於日前公佈發表了 Ruby 1.9.1-preview 1 您可以在以下連結下載: * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.bz2][1] - SIZE: 6169022 bytes MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 SHA256: - dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a + SIZE: 6169022 bytes + MD5: 0d51dc949bb6b438ad4ebfabbb5f6754 + SHA256: dc39000537d7c7528ef26af8e1c3a6215b30b6c579c615eaec7013513410456a ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.gz][2] - SIZE: 7409682 bytes MD5: 738f701532452fd5d36f5c155f3ba692 SHA256: - 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d + SIZE: 7409682 bytes + MD5: 738f701532452fd5d36f5c155f3ba692 + SHA256: 99443bdae9f94ba7b08de187881f8cbee172379edf9c5fa85fc04c869150ff6d ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.zip][3] - SIZE: 8569116 bytes MD5: 5f68246246c4cd29d8a3b6b34b29b6ac SHA256: - a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 + SIZE: 8569116 bytes + MD5: 5f68246246c4cd29d8a3b6b34b29b6ac + SHA256: a6c3a7bf7ea83b595024764926353e08596a78e40c57ac58c568662e5e88df95 Ruby 1.9.1 新版本釋出時間表如下: diff --git a/zh_tw/news/_posts/2009-01-31-ruby-1-9-1.md b/zh_tw/news/_posts/2009-01-31-ruby-1-9-1.md index 9f6fdf5c28..46b4e7c332 100644 --- a/zh_tw/news/_posts/2009-01-31-ruby-1-9-1.md +++ b/zh_tw/news/_posts/2009-01-31-ruby-1-9-1.md @@ -28,8 +28,7 @@ Ruby 1.8 將繼續維護. 今年將會釋出 1.8.8的版本. MD5: 0278610ec3f895ece688de703d99143e - SHA256: - de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 + SHA256: de7d33aeabdba123404c21230142299ac1de88c944c9f3215b816e824dd33321 ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz][5] @@ -37,8 +36,7 @@ Ruby 1.8 將繼續維護. 今年將會釋出 1.8.8的版本. MD5: 50e4f381ce68c6de72bace6d75f0135b - SHA256: - a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc + SHA256: a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc ^ * [https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.zip][6] @@ -46,8 +44,7 @@ Ruby 1.8 將繼續維護. 今年將會釋出 1.8.8的版本. MD5: 3377d43b041877cda108e243c6b7f436 - SHA256: - 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b + SHA256: 00562fce4108e5c6024c4152f943eaa7dcc8cf97d5c449ac102673a0d5c1943b diff --git a/zh_tw/news/_posts/2010-07-17-ruby-1-9-2-rc2.md b/zh_tw/news/_posts/2010-07-17-ruby-1-9-2-rc2.md index 7ce1cc32bc..33580d8678 100644 --- a/zh_tw/news/_posts/2010-07-17-ruby-1-9-2-rc2.md +++ b/zh_tw/news/_posts/2010-07-17-ruby-1-9-2-rc2.md @@ -35,20 +35,17 @@ Ruby 1.9.2 已經達到預期的穩定. 根據推出日程, Ruby 1.9.2 將會在 * [ruby-1.9.2-rc2.tar.bz2][4] * SIZE: 8480974 bytes * MD5: 4e4906d0aab711286b31f5a834860cc3 - * SHA256: - 692ebae991b104482dc9f0d220c1afb6b690a338b3b815aaa4f62954d2fa1b4a + * SHA256: 692ebae991b104482dc9f0d220c1afb6b690a338b3b815aaa4f62954d2fa1b4a * [ruby-1.9.2-rc2.tar.gz][5] * SIZE: 10781884 bytes * MD5: d12cd39eee4d99bc54b52aba5a0ba4e1 - * SHA256: - 5d523d99f928705ac1de84ade03283c468415c00f8b6755a8dd7a140828869b4 + * SHA256: 5d523d99f928705ac1de84ade03283c468415c00f8b6755a8dd7a140828869b4 * [ruby-1.9.2-rc2.zip][6] * SIZE: 12161233 bytes * MD5: 05229b43981e4e5ce58b5fb2e98eee52 - * SHA256: - 33f7f4cdd8444c2594728f70ac07477575a7cba5e7756bd3645f23e52605618c + * SHA256: 33f7f4cdd8444c2594728f70ac07477575a7cba5e7756bd3645f23e52605618c diff --git a/zh_tw/news/_posts/2012-11-02-ruby-2-0-0-preview1-released.md b/zh_tw/news/_posts/2012-11-02-ruby-2-0-0-preview1-released.md index 31f8374088..b19ec12a82 100644 --- a/zh_tw/news/_posts/2012-11-02-ruby-2-0-0-preview1-released.md +++ b/zh_tw/news/_posts/2012-11-02-ruby-2-0-0-preview1-released.md @@ -17,20 +17,17 @@ check out the new features in Ruby 2.0 before final release! * https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-preview1.tar.bz2 * SIZE: 10309440 bytes * MD5: 47a0f662f0e258aa1c5e429c310861b3 - * SHA256: - 79e5605003bf6766fbd123ce00a0027df716ba6d28494c35185909f7e61a5bdf + * SHA256: 79e5605003bf6766fbd123ce00a0027df716ba6d28494c35185909f7e61a5bdf * https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-preview1.tar.gz * SIZE: 12937316 bytes * MD5: c7d73f3ddb6d25e7733626ddbad04158 - * SHA256: - 94b585560c05cb40fadd03e675bd3beb8271c2e976b45644cc765bf854cfd80c + * SHA256: 94b585560c05cb40fadd03e675bd3beb8271c2e976b45644cc765bf854cfd80c * https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-preview1.zip * SIZE: 14470260 bytes * MD5: 4adb51aa69b56b81c81a8c5f892689cf - * SHA256: - c327f3d91ed7033790244d5b263d7b346f3d8efe808079f5a598507fad90ee6e + * SHA256: c327f3d91ed7033790244d5b263d7b346f3d8efe808079f5a598507fad90ee6e ## The new features in 2.0.0 From 51580e535b7246f43a6b2034c9b0d60bed81d64e Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 30 Dec 2018 21:09:16 +0100 Subject: [PATCH 0334/2563] Add test for SHA sum lengths Check for wrong SHA sum lengths in release posts, an error that happens from time to time (mainly truncated or wrapped SHA512). --- lib/linter.rb | 7 ++++++ lib/linter/document.rb | 25 +++++++++++++++++++ ...2019-01-01-invalid-sha1-length-released.md | 16 ++++++++++++ ...19-01-02-invalid-sha256-length-released.md | 16 ++++++++++++ ...19-01-03-invalid-sha512-length-released.md | 17 +++++++++++++ .../2019-01-01-ruby-with-sha-sums-released.md | 16 ++++++++++++ ...-01-01-ruby-without-sha512-sum-released.md | 15 +++++++++++ test/output_errors.txt | 6 +++++ 8 files changed, 118 insertions(+) create mode 100644 test/md_errors/en/_posts/2019-01-01-invalid-sha1-length-released.md create mode 100644 test/md_errors/en/_posts/2019-01-02-invalid-sha256-length-released.md create mode 100644 test/md_errors/en/_posts/2019-01-03-invalid-sha512-length-released.md create mode 100644 test/md_ok/en/_posts/2019-01-01-ruby-with-sha-sums-released.md create mode 100644 test/md_ok/en/_posts/2019-01-01-ruby-without-sha512-sum-released.md diff --git a/lib/linter.rb b/lib/linter.rb index 6b7d2c7e73..de38f26748 100644 --- a/lib/linter.rb +++ b/lib/linter.rb @@ -82,6 +82,13 @@ def check errors[doc] << "missing translator variable" if doc.translator_missing? errors[doc] << "missing date variable" if doc.date_missing? end + + if doc.release_post? + errors[doc] << "invalid SHA1 length" if doc.sha1_length_invalid? + errors[doc] << "invalid SHA256 length" if doc.sha256_length_invalid? + errors[doc] << "invalid SHA512 length" if doc.sha512_length_invalid? + else + end end end diff --git a/lib/linter/document.rb b/lib/linter/document.rb index d27377d44d..ed992d4d09 100644 --- a/lib/linter/document.rb +++ b/lib/linter/document.rb @@ -19,6 +19,10 @@ def post? filename.match? %r{/_posts/} end + def release_post? + post? && filename.match?(%r{released\.md}) + end + # posts from before the migration to the Jekyll site # (they follow different rules; e.g. they have no YAML date variable, # filenames of translations differ from original `en' post, ...) @@ -91,6 +95,27 @@ def trailing_whitespace? content.match?(/ $/) end + def sha1_length_invalid? + matchdata = content.match(/SHA1: *(?[0-9a-f]*)/) + return nil unless matchdata + + matchdata[:sha].size != 40 + end + + def sha256_length_invalid? + matchdata = content.match(/SHA256: *(?[0-9a-f]*)/) + return nil unless matchdata + + matchdata[:sha].size != 64 + end + + def sha512_length_invalid? + matchdata = content.match(/SHA512: *(?[0-9a-f]*)/) + return nil unless matchdata + + matchdata[:sha].size != 128 + end + private def read_yaml_and_content(filename) diff --git a/test/md_errors/en/_posts/2019-01-01-invalid-sha1-length-released.md b/test/md_errors/en/_posts/2019-01-01-invalid-sha1-length-released.md new file mode 100644 index 0000000000..d5ad0e02bf --- /dev/null +++ b/test/md_errors/en/_posts/2019-01-01-invalid-sha1-length-released.md @@ -0,0 +1,16 @@ +--- +layout: news_post +title: "Release Post" +author: "stomar" +translator: +date: 2019-01-01 12:00:00 +0000 +lang: en +--- + +Content + +Sums, SHA1 too short + + SHA1: abcdef78901234567890 + SHA256: abcdef7890123456789012345678901234567890123456789012345678901234 + SHA512: abcdef78901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 diff --git a/test/md_errors/en/_posts/2019-01-02-invalid-sha256-length-released.md b/test/md_errors/en/_posts/2019-01-02-invalid-sha256-length-released.md new file mode 100644 index 0000000000..11d231d5a3 --- /dev/null +++ b/test/md_errors/en/_posts/2019-01-02-invalid-sha256-length-released.md @@ -0,0 +1,16 @@ +--- +layout: news_post +title: "Release Post" +author: "stomar" +translator: +date: 2019-01-02 12:00:00 +0000 +lang: en +--- + +Content + +Sums, SHA256 too long + + SHA1: abcdef7890123456789012345678901234567890 + SHA256: abcdef7890123456789012345678901234567890123456789012345678901234567890 + SHA512: abcdef78901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 diff --git a/test/md_errors/en/_posts/2019-01-03-invalid-sha512-length-released.md b/test/md_errors/en/_posts/2019-01-03-invalid-sha512-length-released.md new file mode 100644 index 0000000000..f723af75e9 --- /dev/null +++ b/test/md_errors/en/_posts/2019-01-03-invalid-sha512-length-released.md @@ -0,0 +1,17 @@ +--- +layout: news_post +title: "Release Post" +author: "stomar" +translator: +date: 2019-01-03 12:00:00 +0000 +lang: en +--- + +Content + +Sums, SHA512 wrapped + + SHA1: abcdef7890123456789012345678901234567890 + SHA256: abcdef7890123456789012345678901234567890123456789012345678901234 + SHA512: abcdef789012345678901234567890123456789012345678901234567890 +12345678901234567890123456789012345678901234567890123456789012345678 diff --git a/test/md_ok/en/_posts/2019-01-01-ruby-with-sha-sums-released.md b/test/md_ok/en/_posts/2019-01-01-ruby-with-sha-sums-released.md new file mode 100644 index 0000000000..a6812763ae --- /dev/null +++ b/test/md_ok/en/_posts/2019-01-01-ruby-with-sha-sums-released.md @@ -0,0 +1,16 @@ +--- +layout: news_post +title: "Release Post" +author: "stomar" +translator: +date: 2019-01-01 12:00:00 +0000 +lang: en +--- + +Content + +Sums: + + SHA1: abcdef7890123456789012345678901234567890 + SHA256: abcdef7890123456789012345678901234567890123456789012345678901234 + SHA512: abcdef78901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 diff --git a/test/md_ok/en/_posts/2019-01-01-ruby-without-sha512-sum-released.md b/test/md_ok/en/_posts/2019-01-01-ruby-without-sha512-sum-released.md new file mode 100644 index 0000000000..c661176f67 --- /dev/null +++ b/test/md_ok/en/_posts/2019-01-01-ruby-without-sha512-sum-released.md @@ -0,0 +1,15 @@ +--- +layout: news_post +title: "Release Post" +author: "stomar" +translator: +date: 2019-01-01 12:00:00 +0000 +lang: en +--- + +Content + +Sums: + + SHA1: abcdef7890123456789012345678901234567890 + SHA256: abcdef7890123456789012345678901234567890123456789012345678901234 diff --git a/test/output_errors.txt b/test/output_errors.txt index 7306e5ee71..d4a10f74d4 100644 --- a/test/output_errors.txt +++ b/test/output_errors.txt @@ -58,3 +58,9 @@ en/_posts/2018-01-14-date-variable-wrong-offset.md date variable with wrong time zone offset (not +0000) en/_posts/2018-01-15-date-mismatch.md filename not matching date variable +en/_posts/2019-01-01-invalid-sha1-length-released.md + invalid SHA1 length +en/_posts/2019-01-02-invalid-sha256-length-released.md + invalid SHA256 length +en/_posts/2019-01-03-invalid-sha512-length-released.md + invalid SHA512 length From 5a34b3b436e6229a4a40e23be0dbf91b56b1ff3e Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 30 Dec 2018 21:10:16 +0100 Subject: [PATCH 0335/2563] Small change in layout of SHA sums in some old posts Small format change to avoid Linter errors for some old release posts. The previous format caused errors because of the seemingly missing SHA sum (which is given in the following line of the definition list). Removing the ':' after 'SHA256' makes the Linter ignore these sums. --- .../_posts/2010-11-15-ruby-1-9-2-released.md | 18 ++++---- .../2009-12-07-ruby-1-9-1-p376-is-released.md | 18 ++++---- .../2010-08-16-ruby-1-9-1-p430-is-released.md | 18 ++++---- .../_posts/2010-08-18-ruby-1-9-2-released.md | 18 ++++---- .../2010-12-25-ruby-1-9-2-p136-is-released.md | 18 ++++---- .../2011-07-15-ruby-1-9-2-p290-is-released.md | 18 ++++---- .../2009-12-13-ruby-1-9-1-p376-liberado.md | 18 ++++---- .../_posts/2010-08-18-ruby-1-9-2-liberada.md | 18 ++++---- .../2011-07-19-liberado-ruby-1-9-2-p290.md | 18 ++++---- .../2011-11-04-liberado-ruby-1-9-3-p0.md | 45 ++++--------------- .../2010-08-23-ruby-1-9-2-is-released.md | 18 ++++---- ...0-12-28-sortie-de-la-version-1-9-2-p136.md | 18 ++++---- .../2010-11-14-ruby-1-9-1-p430-is-released.md | 18 ++++---- .../2010-11-14-ruby-1-9-2-is-released.md | 18 ++++---- .../2011-01-01-ruby-1-9-2-p136-is-released.md | 18 ++++---- .../2011-08-05-ruby-1-9-2-p290-is-released.md | 18 ++++---- ja/news/_posts/2009-12-07-ruby-1-9-1-p376.md | 18 ++++---- .../2010-08-16-ruby-1-9-1-p430-is-released.md | 18 ++++---- .../2010-08-18-ruby-1-9-2-is-released.md | 18 ++++---- .../2010-12-25-ruby-1-9-2-p136-is-released.md | 18 ++++---- .../2011-07-15-ruby-1-9-2-p290-is-released.md | 18 ++++---- .../2010-08-16-ruby-1-9-1-p430-is-released.md | 18 ++++---- .../2011-07-19-ruby-1-9-2-p290-release.md | 18 ++++---- ...ruby-1-9-2-p290-disponvel-para-download.md | 18 ++++---- .../2011-01-17-ruby-1-9-2-is-released.md | 18 ++++---- ...2011-01-18-ruby-1-9-2-p136-srm-yaynland.md | 18 ++++---- zh_cn/news/_posts/2010-11-06-ruby-1-9-2.md | 18 ++++---- .../news/_posts/2011-01-04-ruby-1-9-2-p136.md | 18 ++++---- .../2010-08-18-ruby-1-9-1-p430-is-released.md | 18 ++++---- zh_tw/news/_posts/2010-08-18-ruby-1-9-2.md | 18 ++++---- 30 files changed, 270 insertions(+), 297 deletions(-) diff --git a/bg/news/_posts/2010-11-15-ruby-1-9-2-released.md b/bg/news/_posts/2010-11-15-ruby-1-9-2-released.md index dcdf8a6057..6bea73d667 100644 --- a/bg/news/_posts/2010-11-15-ruby-1-9-2-released.md +++ b/bg/news/_posts/2010-11-15-ruby-1-9-2-released.md @@ -71,33 +71,33 @@ It causes a LoadError ### За сваляне * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][4] - РАЗМЕР: + РАЗМЕР : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][5] - РАЗМЕР: + РАЗМЕР : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][6] - РАЗМЕР: + РАЗМЕР : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a diff --git a/en/news/_posts/2009-12-07-ruby-1-9-1-p376-is-released.md b/en/news/_posts/2009-12-07-ruby-1-9-1-p376-is-released.md index db514d32d8..1d2287a6ac 100644 --- a/en/news/_posts/2009-12-07-ruby-1-9-1-p376-is-released.md +++ b/en/news/_posts/2009-12-07-ruby-1-9-1-p376-is-released.md @@ -35,33 +35,33 @@ See the ChangeLog for more detail. #### Location * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.bz2>][3] - SIZE: + SIZE : 7293106 bytes - MD5: + MD5 : e019ae9c643c5efe91be49e29781fb94 - SHA256: + SHA256 : 79164e647e23bb7c705195e0075ce6020c30dd5ec4f8c8a12a100fe0eb0d6783 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.gz>][4] - SIZE: + SIZE : 9073007 bytes - MD5: + MD5 : ebb20550a11e7f1a2fbd6fdec2a3e0a3 - SHA256: + SHA256 : 58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.zip>][5] - SIZE: + SIZE : 10337871 bytes - MD5: + MD5 : d4d5e62f65cb92a281f1569a7f25371b - SHA256: + SHA256 : 486d3efdab269040ce7142964ba3a4e0d46f0a5b812136bcac7e5bafc726c14e diff --git a/en/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md b/en/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md index 014edff571..bc869e647d 100644 --- a/en/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md +++ b/en/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md @@ -13,33 +13,33 @@ I recommend all Ruby 1.9.1 users to upgrade the 1.9.1 to p430. ### Downloads * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.bz2>][2] - SIZE: + SIZE : 7299829 bytes - MD5: + MD5 : f855103aebeb3318dccb409319b547a0 - SHA256: + SHA256 : 8d5cc11d819e476fb651db783f714cc4100922f47447f7acdce87ed769cf9d97 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.gz>][3] - SIZE: + SIZE : 9078229 bytes - MD5: + MD5 : 093d17e911b1f7306de95422ec332826 - SHA256: + SHA256 : 6d28120e792a4a1cf32dd5f90c1643ecb48760157322a1bb267dd784d14fcb3a * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.zip>][4] - SIZE: + SIZE : 10347823 bytes - MD5: + MD5 : a16d7e3ef2ddbf230cb4dab6c917c8aa - SHA256: + SHA256 : 004713d27bfd1ccadf656e88f23d9a78ff5f9265079e8ce947faa6fff0da40d6 diff --git a/en/news/_posts/2010-08-18-ruby-1-9-2-released.md b/en/news/_posts/2010-08-18-ruby-1-9-2-released.md index 5d7a6128ac..743b575af1 100644 --- a/en/news/_posts/2010-08-18-ruby-1-9-2-released.md +++ b/en/news/_posts/2010-08-18-ruby-1-9-2-released.md @@ -67,33 +67,33 @@ It causes a LoadError ### Downloads * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][4] - SIZE: + SIZE : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][5] - SIZE: + SIZE : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][6] - SIZE: + SIZE : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a diff --git a/en/news/_posts/2010-12-25-ruby-1-9-2-p136-is-released.md b/en/news/_posts/2010-12-25-ruby-1-9-2-p136-is-released.md index f3a66df3dd..1ce53df5f1 100644 --- a/en/news/_posts/2010-12-25-ruby-1-9-2-p136-is-released.md +++ b/en/news/_posts/2010-12-25-ruby-1-9-2-p136-is-released.md @@ -11,33 +11,33 @@ Ruby 1.9.2-p136 has been released. This is the second release of Ruby 1.9.2. It ### Download * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2>][2] - SIZE: + SIZE : 8819324 bytes - MD5: + MD5 : 52958d35d1b437f5d9d225690de94c13 - SHA256: + SHA256 : 33092509aad118f07f0483a3db1d4c5adaccf4bb0324cd43f44e3bd3dd1858cb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz>][3] - SIZE: + SIZE : 11155066 bytes - MD5: + MD5 : 6e17b200b907244478582b7d06cd512e - SHA256: + SHA256 : c4314df44f3ab81230685fb51c296ce21034f4c719e2fcc0baba221d19f28746 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.zip>][4] - SIZE: + SIZE : 12566581 bytes - MD5: + MD5 : f400021058e886786ded510a9f45b2c6 - SHA256: + SHA256 : 84ffc047b29032ba848dbbf50d3302de7ac732db1448e57303c27ad4b47c2c5b diff --git a/en/news/_posts/2011-07-15-ruby-1-9-2-p290-is-released.md b/en/news/_posts/2011-07-15-ruby-1-9-2-p290-is-released.md index f7ed6e1a62..8363c0ef69 100644 --- a/en/news/_posts/2011-07-15-ruby-1-9-2-p290-is-released.md +++ b/en/news/_posts/2011-07-15-ruby-1-9-2-p290-is-released.md @@ -15,33 +15,33 @@ See [ChangeLog][1] for details. ### Downloads * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.bz2>][2] - SIZE: + SIZE : 8811237 bytes - MD5: + MD5 : 096758c3e853b839dc980b183227b182 - SHA256: + SHA256 : 403b3093fbe8a08dc69c269753b8c6e7bd8f87fb79a7dd7d676913efe7642487 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz>][3] - SIZE: + SIZE : 11182217 bytes - MD5: + MD5 : 604da71839a6ae02b5b5b5e1b792d5eb - SHA256: + SHA256 : 1cc817575c4944d3d78959024320ed1d5b7c2b4931a855772dacad7c3f6ebd7e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.zip>][4] - SIZE: + SIZE : 12600100 bytes - MD5: + MD5 : 6060b410aa15d09ac13b93033b8b5c66 - SHA256: + SHA256 : bce3d1c8c78fbafb6a0d67df2b8dec5322301f7b4b0f7594656ad689e9cb461d diff --git a/es/news/_posts/2009-12-13-ruby-1-9-1-p376-liberado.md b/es/news/_posts/2009-12-13-ruby-1-9-1-p376-liberado.md index e025be6231..7b83b77a6f 100644 --- a/es/news/_posts/2009-12-13-ruby-1-9-1-p376-liberado.md +++ b/es/news/_posts/2009-12-13-ruby-1-9-1-p376-liberado.md @@ -37,33 +37,33 @@ Vea el ChangeLog para más detalles. #### Location * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.bz2>][3] - SIZE: + SIZE : 7293106 bytes - MD5: + MD5 : e019ae9c643c5efe91be49e29781fb94 - SHA256: + SHA256 : 79164e647e23bb7c705195e0075ce6020c30dd5ec4f8c8a12a100fe0eb0d6783 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.gz>][4] - SIZE: + SIZE : 9073007 bytes - MD5: + MD5 : ebb20550a11e7f1a2fbd6fdec2a3e0a3 - SHA256: + SHA256 : 58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.zip>][5] - SIZE: + SIZE : 10337871 bytes - MD5: + MD5 : d4d5e62f65cb92a281f1569a7f25371b - SHA256: + SHA256 : 486d3efdab269040ce7142964ba3a4e0d46f0a5b812136bcac7e5bafc726c14e diff --git a/es/news/_posts/2010-08-18-ruby-1-9-2-liberada.md b/es/news/_posts/2010-08-18-ruby-1-9-2-liberada.md index 3357d18e6e..aeb9c3587c 100644 --- a/es/news/_posts/2010-08-18-ruby-1-9-2-liberada.md +++ b/es/news/_posts/2010-08-18-ruby-1-9-2-liberada.md @@ -87,33 +87,33 @@ Causa LoadError ### Descargas * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][4] - SIZE: + SIZE : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][5] - SIZE: + SIZE : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][6] - SIZE: + SIZE : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a diff --git a/es/news/_posts/2011-07-19-liberado-ruby-1-9-2-p290.md b/es/news/_posts/2011-07-19-liberado-ruby-1-9-2-p290.md index f412984ac5..50873fb6f8 100644 --- a/es/news/_posts/2011-07-19-liberado-ruby-1-9-2-p290.md +++ b/es/news/_posts/2011-07-19-liberado-ruby-1-9-2-p290.md @@ -14,33 +14,33 @@ la lectura de su [lista de cambios][1]. ### Descargas * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.bz2>][2] - SIZE: + SIZE : 8811237 bytes - MD5: + MD5 : 096758c3e853b839dc980b183227b182 - SHA256: + SHA256 : 403b3093fbe8a08dc69c269753b8c6e7bd8f87fb79a7dd7d676913efe7642487 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz>][3] - SIZE: + SIZE : 11182217 bytes - MD5: + MD5 : 604da71839a6ae02b5b5b5e1b792d5eb - SHA256: + SHA256 : 1cc817575c4944d3d78959024320ed1d5b7c2b4931a855772dacad7c3f6ebd7e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.zip>][4] - SIZE: + SIZE : 12600100 bytes - MD5: + MD5 : 6060b410aa15d09ac13b93033b8b5c66 - SHA256: + SHA256 : bce3d1c8c78fbafb6a0d67df2b8dec5322301f7b4b0f7594656ad689e9cb461d diff --git a/es/news/_posts/2011-11-04-liberado-ruby-1-9-3-p0.md b/es/news/_posts/2011-11-04-liberado-ruby-1-9-3-p0.md index 34fbb02fb9..997a40c38f 100644 --- a/es/news/_posts/2011-11-04-liberado-ruby-1-9-3-p0.md +++ b/es/news/_posts/2011-11-04-liberado-ruby-1-9-3-p0.md @@ -22,46 +22,19 @@ Como resumen de las novedades contenidas en esta versión cabe destacar: ## Descargas * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.bz2>][3] - -SIZE: - -9554576 bytes - -MD5: - -65401fb3194cdccd6c1175ab29b8fdb8 - -SHA256: - -ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf + SIZE: 9554576 bytes + MD5: 65401fb3194cdccd6c1175ab29b8fdb8 + SHA256: ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz>][4] - -SIZE: - -12223217 bytes - -MD5: - -8e2fef56185cfbaf29d0c8329fc77c05 - -SHA256: - -3b910042e3561f4296fd95d96bf30322e53eecf083992e5042a7680698cfa34e + SIZE: 12223217 bytes + MD5: 8e2fef56185cfbaf29d0c8329fc77c05 + SHA256: 3b910042e3561f4296fd95d96bf30322e53eecf083992e5042a7680698cfa34e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.zip>][5] - -SIZE: - -13691314 bytes - -MD5: - -437ac529a7872c8dcc956eab8e7e6f76 - -SHA256: - -1be16d0172e9cf9e5078a7bee2465a9f3af431920e1e3d9417a4fc2ee074bca4 + SIZE: 13691314 bytes + MD5: 437ac529a7872c8dcc956eab8e7e6f76 + SHA256: 1be16d0172e9cf9e5078a7bee2465a9f3af431920e1e3d9417a4fc2ee074bca4 diff --git a/fr/news/_posts/2010-08-23-ruby-1-9-2-is-released.md b/fr/news/_posts/2010-08-23-ruby-1-9-2-is-released.md index 3337990d09..36a37c52b6 100644 --- a/fr/news/_posts/2010-08-23-ruby-1-9-2-is-released.md +++ b/fr/news/_posts/2010-08-23-ruby-1-9-2-is-released.md @@ -81,33 +81,33 @@ J\'obtiens une erreur de type LoadError ### Téléchargement * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][4] - SIZE: + SIZE : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][5] - SIZE: + SIZE : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][6] - SIZE: + SIZE : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a diff --git a/fr/news/_posts/2010-12-28-sortie-de-la-version-1-9-2-p136.md b/fr/news/_posts/2010-12-28-sortie-de-la-version-1-9-2-p136.md index 78756b55c5..08b50cc454 100644 --- a/fr/news/_posts/2010-12-28-sortie-de-la-version-1-9-2-p136.md +++ b/fr/news/_posts/2010-12-28-sortie-de-la-version-1-9-2-p136.md @@ -12,33 +12,33 @@ détails. ### Téléchargement * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2>][2] - SIZE: + SIZE : 8819324 bytes - MD5: + MD5 : 52958d35d1b437f5d9d225690de94c13 - SHA256: + SHA256 : 33092509aad118f07f0483a3db1d4c5adaccf4bb0324cd43f44e3bd3dd1858cb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz>][3] - SIZE: + SIZE : 11155066 bytes - MD5: + MD5 : 6e17b200b907244478582b7d06cd512e - SHA256: + SHA256 : c4314df44f3ab81230685fb51c296ce21034f4c719e2fcc0baba221d19f28746 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.zip>][4] - SIZE: + SIZE : 12566581 bytes - MD5: + MD5 : f400021058e886786ded510a9f45b2c6 - SHA256: + SHA256 : 84ffc047b29032ba848dbbf50d3302de7ac732db1448e57303c27ad4b47c2c5b diff --git a/it/news/_posts/2010-11-14-ruby-1-9-1-p430-is-released.md b/it/news/_posts/2010-11-14-ruby-1-9-1-p430-is-released.md index d0329fb160..a74d3a3476 100644 --- a/it/news/_posts/2010-11-14-ruby-1-9-1-p430-is-released.md +++ b/it/news/_posts/2010-11-14-ruby-1-9-1-p430-is-released.md @@ -15,33 +15,33 @@ versione di patch p430. ### Scarica * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.bz2>][2] - SIZE: + SIZE : 7299829 bytes - MD5: + MD5 : f855103aebeb3318dccb409319b547a0 - SHA256: + SHA256 : 8d5cc11d819e476fb651db783f714cc4100922f47447f7acdce87ed769cf9d97 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.gz>][3] - SIZE: + SIZE : 9078229 bytes - MD5: + MD5 : 093d17e911b1f7306de95422ec332826 - SHA256: + SHA256 : 6d28120e792a4a1cf32dd5f90c1643ecb48760157322a1bb267dd784d14fcb3a * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.zip>][4] - SIZE: + SIZE : 10347823 bytes - MD5: + MD5 : a16d7e3ef2ddbf230cb4dab6c917c8aa - SHA256: + SHA256 : 004713d27bfd1ccadf656e88f23d9a78ff5f9265079e8ce947faa6fff0da40d6 diff --git a/it/news/_posts/2010-11-14-ruby-1-9-2-is-released.md b/it/news/_posts/2010-11-14-ruby-1-9-2-is-released.md index c28083b7a9..d6c939e1ce 100644 --- a/it/news/_posts/2010-11-14-ruby-1-9-2-is-released.md +++ b/it/news/_posts/2010-11-14-ruby-1-9-2-is-released.md @@ -89,33 +89,33 @@ Causa un LoadError ### Scarica * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][2] - SIZE: + SIZE : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][3] - SIZE: + SIZE : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][4] - SIZE: + SIZE : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a diff --git a/it/news/_posts/2011-01-01-ruby-1-9-2-p136-is-released.md b/it/news/_posts/2011-01-01-ruby-1-9-2-p136-is-released.md index f20ee257c0..f42b4fe96c 100644 --- a/it/news/_posts/2011-01-01-ruby-1-9-2-p136-is-released.md +++ b/it/news/_posts/2011-01-01-ruby-1-9-2-p136-is-released.md @@ -14,33 +14,33 @@ maggiori dettagli. ### Download * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2>][2] - SIZE: + SIZE : 8819324 bytes - MD5: + MD5 : 52958d35d1b437f5d9d225690de94c13 - SHA256: + SHA256 : 33092509aad118f07f0483a3db1d4c5adaccf4bb0324cd43f44e3bd3dd1858cb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz>][3] - SIZE: + SIZE : 11155066 bytes - MD5: + MD5 : 6e17b200b907244478582b7d06cd512e - SHA256: + SHA256 : c4314df44f3ab81230685fb51c296ce21034f4c719e2fcc0baba221d19f28746 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.zip>][4] - SIZE: + SIZE : 12566581 bytes - MD5: + MD5 : f400021058e886786ded510a9f45b2c6 - SHA256: + SHA256 : 84ffc047b29032ba848dbbf50d3302de7ac732db1448e57303c27ad4b47c2c5b diff --git a/it/news/_posts/2011-08-05-ruby-1-9-2-p290-is-released.md b/it/news/_posts/2011-08-05-ruby-1-9-2-p290-is-released.md index 4c76b7e678..9b13a89262 100644 --- a/it/news/_posts/2011-08-05-ruby-1-9-2-p290-is-released.md +++ b/it/news/_posts/2011-08-05-ruby-1-9-2-p290-is-released.md @@ -12,33 +12,33 @@ Vedi [ChangeLog][1] per i dettagli. ### Download * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.bz2>][2] - SIZE: + SIZE : 8811237 bytes - MD5: + MD5 : 096758c3e853b839dc980b183227b182 - SHA256: + SHA256 : 403b3093fbe8a08dc69c269753b8c6e7bd8f87fb79a7dd7d676913efe7642487 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz>][3] - SIZE: + SIZE : 11182217 bytes - MD5: + MD5 : 604da71839a6ae02b5b5b5e1b792d5eb - SHA256: + SHA256 : 1cc817575c4944d3d78959024320ed1d5b7c2b4931a855772dacad7c3f6ebd7e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.zip>][4] - SIZE: + SIZE : 12600100 bytes - MD5: + MD5 : 6060b410aa15d09ac13b93033b8b5c66 - SHA256: + SHA256 : bce3d1c8c78fbafb6a0d67df2b8dec5322301f7b4b0f7594656ad689e9cb461d diff --git a/ja/news/_posts/2009-12-07-ruby-1-9-1-p376.md b/ja/news/_posts/2009-12-07-ruby-1-9-1-p376.md index b21178b0e5..ca25b32a53 100644 --- a/ja/news/_posts/2009-12-07-ruby-1-9-1-p376.md +++ b/ja/news/_posts/2009-12-07-ruby-1-9-1-p376.md @@ -34,33 +34,33 @@ Ruby 1.9.1のすべてのユーザーにp376へのアップグレードを推奨 #### 所在 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.bz2>][2] - SIZE: + SIZE : 7293106 bytes - MD5: + MD5 : e019ae9c643c5efe91be49e29781fb94 - SHA256: + SHA256 : 79164e647e23bb7c705195e0075ce6020c30dd5ec4f8c8a12a100fe0eb0d6783 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.gz>][3] - SIZE: + SIZE : 9073007 bytes - MD5: + MD5 : ebb20550a11e7f1a2fbd6fdec2a3e0a3 - SHA256: + SHA256 : 58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.zip>][4] - SIZE: + SIZE : 10337871 bytes - MD5: + MD5 : d4d5e62f65cb92a281f1569a7f25371b - SHA256: + SHA256 : 486d3efdab269040ce7142964ba3a4e0d46f0a5b812136bcac7e5bafc726c14e diff --git a/ja/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md b/ja/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md index 07ed453e22..eefea804a7 100644 --- a/ja/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md +++ b/ja/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md @@ -14,35 +14,35 @@ Ruby 1.9.1-p430 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.bz2>][2] - SIZE: + SIZE : 7299829 bytes - MD5: + MD5 : f855103aebeb3318dccb409319b547a0 - SHA256: + SHA256 : 8d5cc11d819e476fb651db783f714cc4100922f47447f7acdce87ed769cf9d97 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.gz>][3] - SIZE: + SIZE : 9078229 bytes - MD5: + MD5 : 093d17e911b1f7306de95422ec332826 - SHA256: + SHA256 : 6d28120e792a4a1cf32dd5f90c1643ecb48760157322a1bb267dd784d14fcb3a * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.zip>][4] - SIZE: + SIZE : 10347823 bytes - MD5: + MD5 : a16d7e3ef2ddbf230cb4dab6c917c8aa - SHA256: + SHA256 : 004713d27bfd1ccadf656e88f23d9a78ff5f9265079e8ce947faa6fff0da40d6 diff --git a/ja/news/_posts/2010-08-18-ruby-1-9-2-is-released.md b/ja/news/_posts/2010-08-18-ruby-1-9-2-is-released.md index 21016f5788..2f17692219 100644 --- a/ja/news/_posts/2010-08-18-ruby-1-9-2-is-released.md +++ b/ja/news/_posts/2010-08-18-ruby-1-9-2-is-released.md @@ -72,33 +72,33 @@ LoadErrorが発生する ### ダウンロード * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][4] - SIZE: + SIZE : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][5] - SIZE: + SIZE : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][6] - SIZE: + SIZE : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a diff --git a/ja/news/_posts/2010-12-25-ruby-1-9-2-p136-is-released.md b/ja/news/_posts/2010-12-25-ruby-1-9-2-p136-is-released.md index 8399e5e029..55e43b1dc5 100644 --- a/ja/news/_posts/2010-12-25-ruby-1-9-2-p136-is-released.md +++ b/ja/news/_posts/2010-12-25-ruby-1-9-2-p136-is-released.md @@ -11,33 +11,33 @@ Ruby 1.9.2-p136がリリースされました。 これはRuby 1.9.2の2回目 ### ダウンロード * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2>][2] - SIZE: + SIZE : 8819324 bytes - MD5: + MD5 : 52958d35d1b437f5d9d225690de94c13 - SHA256: + SHA256 : 33092509aad118f07f0483a3db1d4c5adaccf4bb0324cd43f44e3bd3dd1858cb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz>][3] - SIZE: + SIZE : 11155066 bytes - MD5: + MD5 : 6e17b200b907244478582b7d06cd512e - SHA256: + SHA256 : c4314df44f3ab81230685fb51c296ce21034f4c719e2fcc0baba221d19f28746 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.zip>][4] - SIZE: + SIZE : 12566581 bytes - MD5: + MD5 : f400021058e886786ded510a9f45b2c6 - SHA256: + SHA256 : 84ffc047b29032ba848dbbf50d3302de7ac732db1448e57303c27ad4b47c2c5b diff --git a/ja/news/_posts/2011-07-15-ruby-1-9-2-p290-is-released.md b/ja/news/_posts/2011-07-15-ruby-1-9-2-p290-is-released.md index 1ac15e0fcc..ac0fb0d4ce 100644 --- a/ja/news/_posts/2011-07-15-ruby-1-9-2-p290-is-released.md +++ b/ja/news/_posts/2011-07-15-ruby-1-9-2-p290-is-released.md @@ -14,33 +14,33 @@ Ruby 1.9.2-p290がリリースされました。 ### ダウンロード * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.bz2>][2] - SIZE: + SIZE : 8811237 bytes - MD5: + MD5 : 096758c3e853b839dc980b183227b182 - SHA256: + SHA256 : 403b3093fbe8a08dc69c269753b8c6e7bd8f87fb79a7dd7d676913efe7642487 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz>][3] - SIZE: + SIZE : 11182217 bytes - MD5: + MD5 : 604da71839a6ae02b5b5b5e1b792d5eb - SHA256: + SHA256 : 1cc817575c4944d3d78959024320ed1d5b7c2b4931a855772dacad7c3f6ebd7e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.zip>][4] - SIZE: + SIZE : 12600100 bytes - MD5: + MD5 : 6060b410aa15d09ac13b93033b8b5c66 - SHA256: + SHA256 : bce3d1c8c78fbafb6a0d67df2b8dec5322301f7b4b0f7594656ad689e9cb461d diff --git a/ko/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md b/ko/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md index fca5a5a0e1..f6bd96a878 100644 --- a/ko/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md +++ b/ko/news/_posts/2010-08-16-ruby-1-9-1-p430-is-released.md @@ -15,35 +15,35 @@ lang: ko * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.bz2>][2] - SIZE: + SIZE : 7299829 bytes - MD5: + MD5 : f855103aebeb3318dccb409319b547a0 - SHA256: + SHA256 : 8d5cc11d819e476fb651db783f714cc4100922f47447f7acdce87ed769cf9d97 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.gz>][3] - SIZE: + SIZE : 9078229 bytes - MD5: + MD5 : 093d17e911b1f7306de95422ec332826 - SHA256: + SHA256 : 6d28120e792a4a1cf32dd5f90c1643ecb48760157322a1bb267dd784d14fcb3a * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.zip>][4] - SIZE: + SIZE : 10347823 bytes - MD5: + MD5 : a16d7e3ef2ddbf230cb4dab6c917c8aa - SHA256: + SHA256 : 004713d27bfd1ccadf656e88f23d9a78ff5f9265079e8ce947faa6fff0da40d6 diff --git a/ko/news/_posts/2011-07-19-ruby-1-9-2-p290-release.md b/ko/news/_posts/2011-07-19-ruby-1-9-2-p290-release.md index 09c5512073..da1e6037d6 100644 --- a/ko/news/_posts/2011-07-19-ruby-1-9-2-p290-release.md +++ b/ko/news/_posts/2011-07-19-ruby-1-9-2-p290-release.md @@ -15,33 +15,33 @@ lang: ko ### 다운로드 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.bz2>][2] - SIZE: + SIZE : 8811237 bytes - MD5: + MD5 : 096758c3e853b839dc980b183227b182 - SHA256: + SHA256 : 403b3093fbe8a08dc69c269753b8c6e7bd8f87fb79a7dd7d676913efe7642487 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz>][3] - SIZE: + SIZE : 11182217 bytes - MD5: + MD5 : 604da71839a6ae02b5b5b5e1b792d5eb - SHA256: + SHA256 : 1cc817575c4944d3d78959024320ed1d5b7c2b4931a855772dacad7c3f6ebd7e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.zip>][4] - SIZE: + SIZE : 12600100 bytes - MD5: + MD5 : 6060b410aa15d09ac13b93033b8b5c66 - SHA256: + SHA256 : bce3d1c8c78fbafb6a0d67df2b8dec5322301f7b4b0f7594656ad689e9cb461d diff --git a/pt/news/_posts/2011-07-18-ruby-1-9-2-p290-disponvel-para-download.md b/pt/news/_posts/2011-07-18-ruby-1-9-2-p290-disponvel-para-download.md index ddfeec2b76..09373ad256 100644 --- a/pt/news/_posts/2011-07-18-ruby-1-9-2-p290-disponvel-para-download.md +++ b/pt/news/_posts/2011-07-18-ruby-1-9-2-p290-disponvel-para-download.md @@ -15,33 +15,33 @@ Ver [ChangeLog][1] (em Inglês). ### Downloads * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.bz2>][2] - TAMANHO: + TAMANHO : 8811237 bytes - MD5: + MD5 : 096758c3e853b839dc980b183227b182 - SHA256: + SHA256 : 403b3093fbe8a08dc69c269753b8c6e7bd8f87fb79a7dd7d676913efe7642487 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz>][3] - TAMANHO: + TAMANHO : 11182217 bytes - MD5: + MD5 : 604da71839a6ae02b5b5b5e1b792d5eb - SHA256: + SHA256 : 1cc817575c4944d3d78959024320ed1d5b7c2b4931a855772dacad7c3f6ebd7e * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.zip>][4] - TAMANHO: + TAMANHO : 12600100 bytes - MD5: + MD5 : 6060b410aa15d09ac13b93033b8b5c66 - SHA256: + SHA256 : bce3d1c8c78fbafb6a0d67df2b8dec5322301f7b4b0f7594656ad689e9cb461d diff --git a/tr/news/_posts/2011-01-17-ruby-1-9-2-is-released.md b/tr/news/_posts/2011-01-17-ruby-1-9-2-is-released.md index 435f9de935..f0ffe6d1d8 100644 --- a/tr/news/_posts/2011-01-17-ruby-1-9-2-is-released.md +++ b/tr/news/_posts/2011-01-17-ruby-1-9-2-is-released.md @@ -69,33 +69,33 @@ Bir LoadError kaynağı ### İndirin * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][4] - BOYUT: + BOYUT : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][5] - BOYUT: + BOYUT : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][6] - BOYUT: + BOYUT : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a diff --git a/tr/news/_posts/2011-01-18-ruby-1-9-2-p136-srm-yaynland.md b/tr/news/_posts/2011-01-18-ruby-1-9-2-p136-srm-yaynland.md index cb7ffa08f9..85e3b4b803 100644 --- a/tr/news/_posts/2011-01-18-ruby-1-9-2-p136-srm-yaynland.md +++ b/tr/news/_posts/2011-01-18-ruby-1-9-2-p136-srm-yaynland.md @@ -11,33 +11,33 @@ düzenlendi. Ayrıntı için [ChangeLog][1] adresine bakınız. ### İndirin * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2>][2] - BOYUT: + BOYUT : 8819324 bytes - MD5: + MD5 : 52958d35d1b437f5d9d225690de94c13 - SHA256: + SHA256 : 33092509aad118f07f0483a3db1d4c5adaccf4bb0324cd43f44e3bd3dd1858cb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz>][3] - BOYUT: + BOYUT : 11155066 bytes - MD5: + MD5 : 6e17b200b907244478582b7d06cd512e - SHA256: + SHA256 : c4314df44f3ab81230685fb51c296ce21034f4c719e2fcc0baba221d19f28746 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.zip>][4] - BOYUT: + BOYUT : 12566581 bytes - MD5: + MD5 : f400021058e886786ded510a9f45b2c6 - SHA256: + SHA256 : 84ffc047b29032ba848dbbf50d3302de7ac732db1448e57303c27ad4b47c2c5b diff --git a/zh_cn/news/_posts/2010-11-06-ruby-1-9-2.md b/zh_cn/news/_posts/2010-11-06-ruby-1-9-2.md index 4eb4ffc4d3..8282d33201 100644 --- a/zh_cn/news/_posts/2010-11-06-ruby-1-9-2.md +++ b/zh_cn/news/_posts/2010-11-06-ruby-1-9-2.md @@ -77,33 +77,33 @@ It causes a LoadError ### 下载 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][4] - SIZE: + SIZE : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][5] - SIZE: + SIZE : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][6] - SIZE: + SIZE : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a diff --git a/zh_cn/news/_posts/2011-01-04-ruby-1-9-2-p136.md b/zh_cn/news/_posts/2011-01-04-ruby-1-9-2-p136.md index 2e4bf5a0b4..53dea3cb1e 100644 --- a/zh_cn/news/_posts/2011-01-04-ruby-1-9-2-p136.md +++ b/zh_cn/news/_posts/2011-01-04-ruby-1-9-2-p136.md @@ -11,33 +11,33 @@ Ruby 1.9.2-p136 已经发布. 这是 Ruby 1.9.2 的第二个发布版本。 它 ### 下载 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2>][2] - SIZE: + SIZE : 8819324 bytes - MD5: + MD5 : 52958d35d1b437f5d9d225690de94c13 - SHA256: + SHA256 : 33092509aad118f07f0483a3db1d4c5adaccf4bb0324cd43f44e3bd3dd1858cb * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz>][3] - SIZE: + SIZE : 11155066 bytes - MD5: + MD5 : 6e17b200b907244478582b7d06cd512e - SHA256: + SHA256 : c4314df44f3ab81230685fb51c296ce21034f4c719e2fcc0baba221d19f28746 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.zip>][4] - SIZE: + SIZE : 12566581 bytes - MD5: + MD5 : f400021058e886786ded510a9f45b2c6 - SHA256: + SHA256 : 84ffc047b29032ba848dbbf50d3302de7ac732db1448e57303c27ad4b47c2c5b diff --git a/zh_tw/news/_posts/2010-08-18-ruby-1-9-1-p430-is-released.md b/zh_tw/news/_posts/2010-08-18-ruby-1-9-1-p430-is-released.md index 80b836a364..ce0174d93e 100644 --- a/zh_tw/news/_posts/2010-08-18-ruby-1-9-1-p430-is-released.md +++ b/zh_tw/news/_posts/2010-08-18-ruby-1-9-1-p430-is-released.md @@ -14,33 +14,33 @@ I recommend all Ruby 1.9.1 users to upgrade the 1.9.1 to p430. ### Downloads * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.bz2>][2] - SIZE: + SIZE : 7299829 bytes - MD5: + MD5 : f855103aebeb3318dccb409319b547a0 - SHA256: + SHA256 : 8d5cc11d819e476fb651db783f714cc4100922f47447f7acdce87ed769cf9d97 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.gz>][3] - SIZE: + SIZE : 9078229 bytes - MD5: + MD5 : 093d17e911b1f7306de95422ec332826 - SHA256: + SHA256 : 6d28120e792a4a1cf32dd5f90c1643ecb48760157322a1bb267dd784d14fcb3a * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.zip>][4] - SIZE: + SIZE : 10347823 bytes - MD5: + MD5 : a16d7e3ef2ddbf230cb4dab6c917c8aa - SHA256: + SHA256 : 004713d27bfd1ccadf656e88f23d9a78ff5f9265079e8ce947faa6fff0da40d6 diff --git a/zh_tw/news/_posts/2010-08-18-ruby-1-9-2.md b/zh_tw/news/_posts/2010-08-18-ruby-1-9-2.md index 32311d51e0..524bb529c1 100644 --- a/zh_tw/news/_posts/2010-08-18-ruby-1-9-2.md +++ b/zh_tw/news/_posts/2010-08-18-ruby-1-9-2.md @@ -71,33 +71,33 @@ LoadError 的原因 ? ### 下載 * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2>][4] - SIZE: + SIZE : 8495472 bytes - MD5: + MD5 : d8a02cadf57d2571cd4250e248ea7e4b - SHA256: + SHA256 : e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz>][5] - SIZE: + SIZE : 10787899 bytes - MD5: + MD5 : 755aba44607c580fddc25e7c89260460 - SHA256: + SHA256 : 8c0c4e261a921b5c406bf9e76ac23bf3c915651534e9d1b9e8c5d0bee4a7285c * [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip>][6] - SIZE: + SIZE : 12159728 bytes - MD5: + MD5 : e57a393ccd62ddece4c63bd549d8cf7f - SHA256: + SHA256 : e61521af06da71fde9f0c7c08baaf7415614d00c86ec5a7ab08b60a4f3185b2a From 99880bb4db08c2d3d81d8e3ddfe0c9d1e33b46ab Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 30 Dec 2018 21:11:18 +0100 Subject: [PATCH 0336/2563] Fix SHA512 sum in Ruby 2.6.0-rc1 posts --- de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 6 ++++-- en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 6 ++++-- es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 6 ++++-- ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 6 ++++-- ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 6 ++++-- zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 6 ++++-- 6 files changed, 24 insertions(+), 12 deletions(-) diff --git a/de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 71a60b4de2..701f2b9ad1 100644 --- a/de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/de/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -175,20 +175,22 @@ Viel Spaß mit der Programmierung mit Ruby 2.6.0-rc1! SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d - SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 -4d77967a59e304353cde4a915537e7c4e4ee20be73 + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea3934d77967a59e304353cde4a915537e7c4e4ee20be73 + * SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a + * SIZE: 14607078 bytes SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 + * SIZE: 11851908 bytes diff --git a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index d6fc41544c..58f415f403 100644 --- a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -116,20 +116,22 @@ Enjoy programming with Ruby 2.6.0-rc1! SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d - SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 -4d77967a59e304353cde4a915537e7c4e4ee20be73 + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea3934d77967a59e304353cde4a915537e7c4e4ee20be73 + * SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a + * SIZE: 14607078 bytes SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 + * SIZE: 11851908 bytes diff --git a/es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 4df6854850..84b3b50174 100644 --- a/es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/es/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -135,20 +135,22 @@ Disfrute programar con Ruby 2.6.0-rc1! SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d - SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 -4d77967a59e304353cde4a915537e7c4e4ee20be73 + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea3934d77967a59e304353cde4a915537e7c4e4ee20be73 + * SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a + * SIZE: 14607078 bytes SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 + * SIZE: 11851908 bytes diff --git a/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index ba84fb78da..d18c8fb073 100644 --- a/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/ja/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -98,20 +98,22 @@ Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されまし SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d - SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 -4d77967a59e304353cde4a915537e7c4e4ee20be73 + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea3934d77967a59e304353cde4a915537e7c4e4ee20be73 + * SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a + * SIZE: 14607078 bytes SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 + * SIZE: 11851908 bytes diff --git a/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index c4168d1e85..e4be554f91 100644 --- a/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/ko/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -115,20 +115,22 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d - SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 -4d77967a59e304353cde4a915537e7c4e4ee20be73 + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea3934d77967a59e304353cde4a915537e7c4e4ee20be73 + * SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a + * SIZE: 14607078 bytes SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 + * SIZE: 11851908 bytes diff --git a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 354b4568c6..be852ecf2d 100644 --- a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -100,20 +100,22 @@ Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模块。 SIZE: 16823448 bytes SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d - SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea393 -4d77967a59e304353cde4a915537e7c4e4ee20be73 + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea3934d77967a59e304353cde4a915537e7c4e4ee20be73 + * SIZE: 20737499 bytes SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a + * SIZE: 14607078 bytes SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 + * SIZE: 11851908 bytes From 8f9e920331437b698ddb3d1b67faeb6ad3611faa Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 30 Dec 2018 21:12:05 +0100 Subject: [PATCH 0337/2563] Fix SHA512 sums in Ruby 2.4.0-preview3 post (pt) --- .../2016-11-09-ruby-2-4-0-preview3-released.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index 65d5c61088..5526e865b0 100644 --- a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -101,32 +101,28 @@ desde o Ruby 2.3.0! SIZE: 12615328 bytes SHA1: fefe49f6a7d5b642936c324f3b05aaac827355db SHA256: 305a2b2c627990e54965393f6eb1c442eeddfa149128ccdd9f4334e2e00a2a52 - SHA512: 6602c65a7b1e3bc680acc48217108f4335e84fdd74a9cf06f2e2f9ad00a2fccacf9fa035a912bc9d5cc3f0c7a5 -e21475971dfac37b0364311ef3645f25c7ddf9 + SHA512: 6602c65a7b1e3bc680acc48217108f4335e84fdd74a9cf06f2e2f9ad00a2fccacf9fa035a912bc9d5cc3f0c7a5e21475971dfac37b0364311ef3645f25c7ddf9 * SIZE: 15758023 bytes SHA1: f6a6ec9f7fedad0bf4efee2e42801cc963f60dca SHA256: c35fe752ccfabf69bf48e6aab5111c25a05938b428936f780638e2111934c9dd - SHA512: 68556d5252b6813b4c8eeba32733e940207f80694b5c5d20e69bf01eb52929ed2466496b05a895a5ad4831d430 -695e17624eb35b728b2d4d7cf02df756ac48b4 + SHA512: 68556d5252b6813b4c8eeba32733e940207f80694b5c5d20e69bf01eb52929ed2466496b05a895a5ad4831d430695e17624eb35b728b2d4d7cf02df756ac48b4 * SIZE: 9957596 bytes SHA1: 66592b1a52f985638d639e7c3dd6bdda4e0569d0 SHA256: b14be2b5c80bff0d6894ae2b37afdb17a968413e70236ec860f3e2d670b4c317 - SHA512: 5be20f0b2609745790c2b22f2228e69a840f63c34a117a1f95fd5436af211f0a6db2758d513d3e095a2d97c53c -80793579cb2a1e00e70cf72c487a88c4a40d33 + SHA512: 5be20f0b2609745790c2b22f2228e69a840f63c34a117a1f95fd5436af211f0a6db2758d513d3e095a2d97c53c80793579cb2a1e00e70cf72c487a88c4a40d33 * SIZE: 17579012 bytes SHA1: 15d08cff952da3844ae54887b7f74b12d47c9ee2 SHA256: b95a8f67fb7d6e852db77c5660c8878c14d68eb72c5501dac164a7e640ecb06e - SHA512: fa15e1b7ab0cab56c9a580e1b1e2fee250ee0b9c59546079675a1931a36e37131bd37d64033c75e05d8e9d9fcc -33ce7850254d3acaca2136cf3bd08b070244f0 + SHA512: fa15e1b7ab0cab56c9a580e1b1e2fee250ee0b9c59546079675a1931a36e37131bd37d64033c75e05d8e9d9fcc33ce7850254d3acaca2136cf3bd08b070244f0 ## Comentários de Lançamento From e72d59b11ef642478c3ceacc2b66490ee20262e5 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Wed, 26 Dec 2018 13:22:08 +1300 Subject: [PATCH 0338/2563] Adjust CSS for code (#1933) Make font size of code the same as of parent element. --- stylesheets/main.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/stylesheets/main.css b/stylesheets/main.css index 1cb8e168b3..483e7c6c83 100644 --- a/stylesheets/main.css +++ b/stylesheets/main.css @@ -135,8 +135,6 @@ code { border: 1px solid #ddd; background-color: #f8f8f8; font-family: Consolas, "Liberation Mono", Courier, monospace; - font-size: 14px; - line-height: 16px; text-shadow: 0 1px 0 #fff; -webkit-border-radius: 3px; -moz-border-radius: 3px; From f3c342483067fea19b30039faaa15bc0347927e6 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 1 Jan 2019 11:23:31 +0900 Subject: [PATCH 0339/2563] Add link for Ruby Weekly (#1941) --- en/community/weblogs/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/community/weblogs/index.md b/en/community/weblogs/index.md index 4dfcee783e..d5c6bbed7e 100644 --- a/en/community/weblogs/index.md +++ b/en/community/weblogs/index.md @@ -42,6 +42,7 @@ out there, be sure to let them know! [rubyflow]: http://www.rubyflow.com/ [rubyland]: http://rubyland.news/ +[ruby-weekly]: https://rubyweekly.com/ [riding-rails]: http://weblog.rubyonrails.org/ [reddit]: http://www.reddit.com/r/ruby [hn]: http://news.ycombinator.com/ From 0328087520358160abda366c3e9ed7e761b3220f Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 1 Jan 2019 12:52:16 +0900 Subject: [PATCH 0340/2563] Update blog section (ko) (#1942) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * %s/웹로그/블로그/ * Sync up Original post * Follow up blog section update (ko) Follow up https://github.com/ruby/www.ruby-lang.org/pull/1889 * Backport of #1941 * Use single quote * Apply suggestions from code review Co-Authored-By: riseshia * Better translation --- ko/community/index.md | 2 +- ko/community/weblogs/index.md | 47 ++++++++++++++++++----------------- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/ko/community/index.md b/ko/community/index.md index 74ec2140a8..2a5f0df9eb 100644 --- a/ko/community/index.md +++ b/ko/community/index.md @@ -34,7 +34,7 @@ lang: ko : 루비 개발 과정에 참여하고 싶다면 바로 지금이 최고의 타이밍입니다. 루비를 도와주는데 관심이 있으시다면 여기서 시작하세요. -[루비에 관한 웹로그](weblogs/) +[루비에 관한 블로그](weblogs/) : 루비 커뮤니티에서 블로그에 관한 이야기를 빼놓을 수 없죠. 여기에 구독할 만한 추천 블로그 목록이 있습니다. diff --git a/ko/community/weblogs/index.md b/ko/community/weblogs/index.md index c34419dfc4..d0eddcc34b 100644 --- a/ko/community/weblogs/index.md +++ b/ko/community/weblogs/index.md @@ -1,6 +1,6 @@ --- layout: page -title: "웹로그" +title: "블로그" lang: ko --- @@ -10,35 +10,36 @@ lang: ko 있습니다. {: .summary} +### 루비 블로그 발굴하기 + +* [**RubyFlow**][rubyflow]는 '루비와 레일즈 커뮤니티의 링크 목록'으로 + 라이브러리, 블로그 글, 튜토리얼 등의 루비에 대한 정보를 다루는 링크를 + 제공하는 루비 뉴스 사이트입니다. +* [**Rubyland**][rubyland]는 여러 RSS 피드로부터 루비에 관련된 뉴스와 블로그 + 글을 모아줍니다. + ### 주목할 만한 블로그들 업데이트 빈도나 속도에 주목할 만한 블로그들 -* [**O’Reilly Ruby**][8]는 루비 튜토리얼과 커뮤니티에 주목할 만한 개발자와의 - 인터뷰를 하는 그룹 블로그입니다. -* [**Riding Rails**][9]는 루비 온 레일즈 팀의 공식 블로그입니다. - 레일즈를 하고 있다면, 이 블로그에서는 보안 패치의 요약과 전체 레일즈 커뮤니티가 - 어떻게 돌아가는지에 대한 넓은 식견을 얻을 수 있습니다. -* [**Ruby Inside**][10]는 루비, 레일즈 양쪽에 대한 애플리케이션이나 - 라이브러리의 정보를 제공합니다. -* [**Matz의 블로그**][11]는 루비의 창시자가 하는 일본어 블로그입니다. - 전혀 읽을 수 없다고 해도, 그가 여기 있다는 것을 알 수 있습니다. +* [**Ruby Weekly**][ruby-weekly]는 블로그라기보다는 뉴스레터에 가까움에도 + 불구하고, Ruby Weekly는 매주 흥미로운 루비 기사나 뉴스를 제공합니다. +* [**Riding Rails**][riding-rails]는 루비 온 레일즈 팀의 공식 그룹 블로그입니다. + 레일즈를 이용하고 있다면, 이 블로그는 보안 업데이트를 받아 보거나 넓은 레일즈 커뮤니티를 + 전망하기에 필수입니다. ### 널리 알리기 -위의 웹로그들이 관심을 가질 만한 주제를 다루고 -계신다면 그들과 접촉하는 것도 방법입니다. (레일즈에 관련된 정보가 아니라면 -당신은 모르겠지만 아마 *Riding Rails*에서는 관심없을 것입니다.) - -루비는 [Slashdot][14], [reddit][15], [Hacker News][16] 내에서도 -존중받는 프로그래밍 뉴스입니다. 뛰어난 코드를 발견했다면 그들에게도 알려주세요. +위의 블로그들이 관심을 가질 만한 주제를 다루고 +계신다면 그들과 접촉하는 것도 방법입니다. +루비는 [reddit][reddit], [Hacker News][hn]의 프로그래밍 뉴스에서도 +자주 등장하는 주제입니다. 뛰어난 코드를 발견했다면 그들에게도 알려주세요. -[8]: http://oreillynet.com/ruby/ -[9]: http://weblog.rubyonrails.org/ -[10]: http://www.rubyinside.com/ -[11]: http://www.rubyist.net/~matz/ -[14]: http://developers.slashdot.org/ -[15]: http://www.reddit.com/r/ruby -[16]: http://news.ycombinator.com/ +[rubyflow]: http://www.rubyflow.com/ +[rubyland]: http://rubyland.news/ +[ruby-weekly]: https://rubyweekly.com/ +[riding-rails]: http://weblog.rubyonrails.org/ +[reddit]: http://www.reddit.com/r/ruby +[hn]: http://news.ycombinator.com/ From 003344c4670fa9b3710a0320f60e2564194d1f4f Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 1 Jan 2019 22:49:33 +0900 Subject: [PATCH 0341/2563] Translate snap article (ko) (#1943) * Import Original diff * Translate snap article (ko) * Apply suggestions from code review Co-Authored-By: riseshia --- ko/documentation/installation/index.md | 19 ++++++++ ko/news/_posts/2018-11-08-snap.md | 61 ++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 ko/news/_posts/2018-11-08-snap.md diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index b398634e3c..631f329575 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -35,6 +35,7 @@ ruby -v * [패키지 관리 시스템](#package-management-systems) * [Debian, Ubuntu](#apt) * [CentOS, Fedora, RHEL](#yum) + * [Snap](#snap) * [Gentoo](#portage) * [Arch Linux](#pacman) * [macOS](#homebrew) @@ -94,6 +95,24 @@ $ sudo yum install ruby 설치된 버전은 보통 그 특정 배포 버전 릴리스 시기의 최신 버전의 루비입니다. +### snap (Ubuntu나 다른 리눅스 배포판) +{: #snap} + +Snap은 Canonical에 의해 개발된 패키지 매니저입니다. 이는 Ubuntu에서 바로 사용 가능합니다만, 다른 리눅스 배포판에서도 동작합니다. +다음과 같이 사용할 수 있습니다. + +{% highlight sh %} +$ sudo snap install ruby --classic +{% endhighlight %} + +루비의 마이너 시리즈를 위한 채널을 제공합니다. 예를 들어, 다음 명령은 루비 2.3으로 변경할 수 있게 해줍니다. + +{% highlight sh %} +$ sudo snap switch ruby --channel=2.3/stable +$ sudo snap refresh +{% endhighlight %} + + ### portage (Gentoo) {: #portage} diff --git a/ko/news/_posts/2018-11-08-snap.md b/ko/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..fce15461a1 --- /dev/null +++ b/ko/news/_posts/2018-11-08-snap.md @@ -0,0 +1,61 @@ +--- +layout: news_post +title: 공식 루비 snap이 사용 가능합니다. +author: Hiroshi SHIBATA +translator: "shia" +date: 2018-11-08 14:58:28 +0000 +lang: ko +--- + +루비의 공식 snap 패키지를 릴리스 했습니다. + + + +Snap 은 Canonical이 개발한 패키지 시스템입니다. 이를 통해 여러 다른 리눅스 +시스템을 위한 의존성과 함께 소프트웨어를 배포할 수 있습니다. +이는 `rpm`이나 `apt`와 같은 각자의 기본 저장소에서 최신 루비 릴리스를 설치할 +수 없는 문제를 해결합니다. + +Ubuntu 16.04나 그 이후의 버전을 사용하고 있다면 다음 명령을 통해서 루비 snap을 +설치할 수 있습니다. + +``` +sudo snap install ruby --classic +``` + +(만약 다른 리눅스 배포판을 이용하고 있다면, +를 참고하세요.) + +이 snap은 여러 루비 시리즈를 동시에 릴리스하기 위해서 '채널' 기능을 사용합니다. +예를 들어, 채널을 지정하지 않는다면 루비 2.5.3이 설치될 것입니다. 그러나 +루비 2.4를 사용하고 있다면 다음과 같이 2.4 채널을 지정해주세요. + +``` +sudo snap install ruby --classic --channel=2.4/stable +``` + +여러 채널을 동시에 사용할 수도 있습니다. 다음 명령을 통해 루비 2.3으로 전환할 수 있습니다. + +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` + +루비 snap은 `GEM_HOME`과 `GEM_PATH` 환경 변수를 `$HOME/.gem`으로 +지정합니다. +그러므로 만약 젬에서 설치한 `rails`나 `rspec`과 같은 명령을 `bundle exec` 없이 +실행하고 싶다면 아래의 명령을 셸 rc 파일(예를 들어 `.bashrc`)에 추가해야 +합니다. + +``` +eval `ruby.env` +``` + +`$HOME/.gem`은 여러 버전에서 공유되므로, 만약 버전을 변경하고 이를 사용한다면, +`gem pristine --extensions` 명령을 이용해서 C 확장을 다시 컴파일해야 합니다. + +공식 루비 snap의 첫 버전은 2018년 11월 6일부터 8일까지 런던의 +Canonical 오피스에서 개최된 Snapcraft 서밋에서 릴리스 되었습니다. +문제나 개선점이 있는 경우 로 피드백을 보내주세요. + +즐겨보세요! From 5f9f13ace38ac91760466820c71464e6700efad7 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 2 Jan 2019 20:59:35 +0700 Subject: [PATCH 0342/2563] Update success stories (id) (#1844) --- id/documentation/success-stories/index.md | 98 +++++++++++------------ 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/id/documentation/success-stories/index.md b/id/documentation/success-stories/index.md index 08a8cdb133..0acf8425b9 100644 --- a/id/documentation/success-stories/index.md +++ b/id/documentation/success-stories/index.md @@ -9,85 +9,85 @@ yang menggunakannya sebagai hobi. Di sini Anda akan menemukan sebagian kecil contoh dari berbagai penggunaan Ruby di dunia nyata. {: .summary} -#### Aplikasi Web - -* [Basecamp][1], aplikasi manajemen proyek berbasis web yang - dikembangkan oleh [37signals][2], menggunakan Ruby on Rails. 37signals - merupakan pembuat framework Rails yang menggunakan bahasa Ruby. - -* [A List Apart][3], majalah digital bagi para webmaster yang telah - berdiri sejak tahun 1997, telah direnovasi dan menggunakan aplikasi - khusus yang dikembangkan menggunakan Ruby on Rails. - -* [Twitter][4], situs komunitas yang sangat ramai menggunakan Ruby on - Rails sebagai *framework*. - -* [BookJetty][5] merupakan situs bagi pecinta buku, dikembangkan oleh - [Herryanto Siatono][6] ([Pluit Solutions][7]). - -* [Ruby on Rails Applications][8] berisi sebagian kecil daftar aplikasi - yang dikembangkan menggunakan Ruby on Rails. - -* [Rails 100][9] berisi daftar 100 aplikasi Rails terpopuler - berdasarkan statistik dari Alexa. - -* [Real World Usage di Rails Wiki][10] berisi daftar aplikasi berbasis - Ruby on Rails. - #### Simulasi -* [NASA Langley Research Center][11] menggunakan Ruby untuk melakukan +* [NASA Langley Research Center][1] menggunakan Ruby untuk melakukan simulasi. -* Kelompok riset di [Motorola][12] menggunakan Ruby untuk melakukan +* Sebuah kelompok riset di [Motorola][2] menggunakan Ruby untuk melakukan simulasi, baik untuk meng-*generate* skenario maupun memproses data hasilnya. +#### Pemodelan 3D + +* [Google SketchUp][3] adalah sebuah aplikasi pemodelan 3D yang menggunakan + Ruby untuk *macro scripting API*. + #### Bisnis -* [Toronto Rehab][13] menggunakan aplikasi berbasis RubyWebDialogs dalam +* [Toronto Rehab][4] menggunakan aplikasi berbasis RubyWebDialogs dalam manajemen dukungan *on-call* dan *on-site* untuk *help desk* Teknologi Informasi dan tim operasi Teknologi Informasi. #### Robotika -* Proyek [MORPHA][14] menggunakan Ruby untuk mengimplementasikan bagian +* Proyek [MORPHA][5] menggunakan Ruby untuk mengimplementasikan bagian pengendali reaktif dari robot Siemens yang digunakan. #### Jaringan Komputer -* [Open Domain Server][15] menggunakan Ruby untuk memungkinkan pengguna +* [Open Domain Server][6] menggunakan Ruby untuk memungkinkan pengguna Dynamic DNS meng-*update* konfigurasi IP mereka secara *real time* agar dapat dipetakan ke domain statis. #### Telekomunikasi -* Ruby digunakan oleh [Lucent][16] pada produk wireless 3G yang mereka +* Ruby digunakan oleh [Lucent][7] pada produk wireless 3G yang mereka kembangkan. #### Administrasi Sistem * Ruby digunakan untuk mengembangkan koleksi data sentral di [Level 3 - Communications][17] pada sistem *Unix Capacity and Planning* yang + Communications][8] pada sistem *Unix Capacity and Planning* yang memproses statistik di lebih dari 1700 server Unix (Solaris dan Linux) yang tersebar di seluruh dunia. +#### Aplikasi Web + +* [Basecamp][9], sebuah aplikasi manajemen proyek berbasis *web* yang + dikembangkan oleh [37signals][10], diprogram sepenuhnya dalam bahasa Ruby. +* [A List Apart][11], sebuah majalah digital bagi para *webmaster* yang telah + berdiri sejak tahun 1997, telah direnovasi dan menggunakan aplikasi + khusus yang dikembangkan menggunakan Ruby on Rails. -[1]: http://www.basecamphq.com -[2]: http://www.37signals.com -[3]: http://www.alistapart.com -[4]: http://www.twitter.com -[5]: http://www.bookjetty.com/ -[6]: http://www.workingwithrails.com/person/5050-herryanto-siatono -[7]: http://www.pluitsolutions.com/ -[8]: http://www.rubyonrails.org/applications -[9]: http://rails100.pbwiki.com/ -[10]: http://wiki.rubyonrails.com/rails/pages/RealWorldUsage -[11]: http://www.larc.nasa.gov/ -[12]: http://www.motorola.com -[13]: https://www.uhn.ca/TorontoRehab -[14]: http://www.morpha.de/php_e/index.php3 -[15]: http://ods.org/ -[16]: http://www.lucent.com/ -[17]: http://www.level3.com/ +#### Keamanan + +* [Metasploit Framework][metasploit], sebuah komunitas proyek *open source* + yang dikelola oleh [Rapid7][rapid7], sebuah *platform penetration testing* + gratis yang membantu IT *proffessional* untuk menilai keamanan dari + jaringan dan aplikasi mereka. Metasploit Project terdiri dari lebih + 700000 baris kode dan telah diunduh lebih dari jutaan kali pada tahun 2010. + Edisi komersial dikembangkan oleh Rapid7 juga berbasis Ruby. + +* [Arachni Web Application Security Scanner][arachni] adalah sebuah Ruby + *framework* yang gratis, modular, dan *high-performance* yang ditujukan + untuk membantu *penetration tester* dan administrator mengevaluasi + keamanan dari aplikasi *web* modern. + + + +[1]: http://www.larc.nasa.gov/ +[2]: http://www.motorola.com +[3]: http://www.sketchup.com/ +[4]: https://www.uhn.ca/TorontoRehab +[5]: http://www.morpha.de/php_e/index.php3 +[6]: http://ods.org/ +[7]: http://www.lucent.com/ +[8]: http://www.level3.com/ +[9]: http://www.basecamphq.com +[10]: http://www.37signals.com +[11]: http://www.alistapart.com +[metasploit]: http://www.metasploit.com +[rapid7]: http://www.rapid7.com +[arachni]: http://www.arachni-scanner.com/ From 4ee1fd324b04ca4bdba2ed3d42a9bbd1d08a85a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20F=C3=A9lizard?= Date: Thu, 3 Jan 2019 10:20:50 +0000 Subject: [PATCH 0343/2563] Add French mirror (HTTP, HTTPS and rsync) --- en/downloads/mirrors/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/en/downloads/mirrors/index.md b/en/downloads/mirrors/index.md index ce7ec1d2ea..791b0bddae 100644 --- a/en/downloads/mirrors/index.md +++ b/en/downloads/mirrors/index.md @@ -23,6 +23,7 @@ Please try to use a mirror that is near you. * [Germany][mirror-http-de] (AmbiWeb GmbH) * [Holland][mirror-http-nl] (XS4ALL) - only release packages * [Austria][mirror-http-at] (tuwien.ac.at) +* [France][mirror-http-fr] (cyberbits.eu) * [China 1][mirror-http-cn1] (ruby.taobao.org) * [China 2][mirror-http-cn2] (Ruby China) @@ -39,6 +40,10 @@ Please try to use a mirror that is near you. * [Greece][mirror-ftp-gr] (ntua.gr) * [Austria][mirror-ftp-at] (tuwien.ac.at) +### Mirror sites via rsync + +* [France][mirror-rsync-fr] (cyberbits.eu) + [mirror-https-cdn]: https://cache.ruby-lang.org/pub/ruby/ [mirror-http-jp-ring-shibaura-it]: http://ring.shibaura-it.ac.jp/archives/lang/ruby/ [mirror-http-jp-ring-u-toyama]: http://ring.u-toyama.ac.jp/archives/lang/ruby/ @@ -47,6 +52,7 @@ Please try to use a mirror that is near you. [mirror-http-de]: http://dl.ambiweb.de/mirrors/ftp.ruby-lang.org/ [mirror-http-nl]: http://www.xs4all.nl/~hipster/lib/mirror/ruby/ [mirror-http-at]: http://gd.tuwien.ac.at/languages/ruby/ +[mirror-http-fr]: https://mirror.cyberbits.eu/ruby/ [mirror-http-cn1]: https://ruby.taobao.org/mirrors/ruby/ [mirror-http-cn2]: https://cache.ruby-china.com/pub/ruby/ [mirror-ftp-jp-ring-shibaura-it]: ftp://ring.shibaura-it.ac.jp/pub/lang/ruby/ @@ -58,3 +64,4 @@ Please try to use a mirror that is near you. [mirror-ftp-de]: ftp://ftp.fu-berlin.de/unix/languages/ruby/ [mirror-ftp-gr]: ftp://ftp.ntua.gr/pub/lang/ruby/ [mirror-ftp-at]: ftp://gd.tuwien.ac.at/languages/ruby/ +[mirror-rsync-fr]: rsync://rsync.cyberbits.eu/ruby/ From f35e71090cc5e78a7efe64f506b88cf48e32ad5a Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Mon, 31 Dec 2018 10:36:19 +0900 Subject: [PATCH 0344/2563] Translate Ruby 2.6.0-rc1 Released Post (zh_tw) --- ...2018-11-06-ruby-2-6-0-preview3-released.md | 10 +- .../2018-12-06-ruby-2-6-0-rc1-released.md | 123 ++++++++++++++++++ 2 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 zh_tw/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md diff --git a/zh_tw/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/zh_tw/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index e7ff5a10a5..2b80849d7f 100644 --- a/zh_tw/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/zh_tw/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -54,13 +54,21 @@ Ruby 2.6 引入了 `RubyVM::AST` 模組。 * 新增 :exception 選項讓 Kernel.#system 引發錯誤而非回傳 false。[[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) +* 新增 oneshot 模式 [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * 此模式會檢查「每一行原始碼至少被執行一次」,而不是「每行原始碼被執行了幾次」。每行原始碼的 hook 至多被調用一次,並會在調用後將 hook 移除。換句話說,移除後的程式運行時不會有額外的效能開銷。 + * 爲 `Coverage.start` 方法新增 `:oneshot_lines` 參數。 + * 爲 `Coverage.result` 方法新增 `:stop` 和 `:clear` 參數。若 `clear` 設爲 true,它會清空計數器。若 `stop` 設爲 true。它會禁用覆蓋測量。 + * 新增 Coverage.line_stub,其爲原始碼新建覆蓋存根(stub)提供了一個簡單的幫助函式。 + +* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + ## 效能提升 * 提升 `Proc#call`的速度,因為我們不需要再顧慮 `$SAFE` 了。[[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) 透過 `lc_fizzbuzz` 大量使用 `Proc#call` 的測試,我們測得了 1.4 倍效能提升。[[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) * 提升了當 `block` 為 block 參數時 `block.call` 的效能。[[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) Ruby 2.5 提升了 block 傳遞效能。[[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了 block 傳遞的呼叫效能。藉由 micro-benchmark 我們測得了 2.6 倍的提升。 -* 引入了瞬態堆積(theap)。[Bug #14858] [Feature #14989] teap 是用來管理短生命週期的指向特定類別(Array, Hash, Object 和 Struct)指標的堆積。舉例來說,新建小而短生命週期的 Hash 物件的效能提升了 2x。藉由 rdoc benchmark,我們測得了 6%-7% 的效能提升。 +* 引入了瞬態堆積(theap)。[[Bug #14858](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]]((https://bugs.ruby-lang.org/issues/14989)) teap 是用來管理短生命週期的指向特定類別(Array、Hash、Object 和 Struct)指標的堆積。舉例來說,新建小而短生命週期的 Hash 物件的效能提升了 2x。藉由 rdoc benchmark,我們測得了 6%-7% 的效能提升。 ## 自 2.5 起重要的變化 diff --git a/zh_tw/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/zh_tw/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md new file mode 100644 index 0000000000..b521173b7a --- /dev/null +++ b/zh_tw/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -0,0 +1,123 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc1 已發佈" +author: "naruse" +translator: Delton Ding +date: 2018-12-06 00:00:00 +0000 +lang: zh_tw +--- + +我們很榮幸的宣布 Ruby 2.6.0-rc1 發布了。 + +Ruby 2.6.0-rc1 是 Ruby 2.6.0 的第一個候選版本。此版本包括數個新特性和效能提升。例如: + +## JIT + +Ruby 2.6 引入了 JIT(Just-in-time)編譯器初始實作。 + +JIT 編譯器專注於提升任何 Ruby 程式的執行速度。不同於其他語言的 JIT 編譯器,Ruby 的 JIT 使用一種獨特的編譯方式,將 C 程式碼寫入到硬碟中,再使用一般的 C 編譯器來生成原生程式碼(native code)。詳見 [Vladmir Makarov 的 MJIT 組織](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) + +如何使用:只需在命令列或是 $RUBYOPT 的環境變數中指定 "--jit" 即可。指定 "--jit-verbose=1" 可將印出正在編譯中的 JIT 訊息。更多選項請參考 "ruby --help"。 + +此次 JIT 預覽版發布的主要目為提供使用者檢查是否適用於您的平台,並且在 2.6 正式版本發布前找出安全性風險。現行的 JIT 編譯器僅在透過 gcc clang 或 Microsoft VC++ 建構 Ruby 以及編譯器可運行時進行支援,除此之外你無法使用它。 + +在 2.6.0-rc1 中,我們相比 Ruby 2.5 在 CPU 密集場景的性能測試 Optcarrot 中,取得了 1.7 倍的效能提升。我們正着手優化記憶體密集場景例如 Rails 應用中的執行效能。 + +請持續關注 Ruby 效能的全新時代。 + +## RubyVM::AbstractSyntaxTree [ 實驗性質 ] + +Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模組。 + +此模組擁有 `parse` 方法,解析給予的 Ruby 程式碼字串並回傳抽象語法樹 AST(Abstract Syntax Tree)節點,以及解析給予 Ruby 程式碼檔案並回傳 AST 節點的 `parse_file` 方法。 + +同樣也引入了 `RubyVM::AbstractSyntaxTree::Node` 類別,您可以從 `Node` 物件中獲取位置訊息和子結點,此功能為實驗性質,無法保證 AST 節點結構的相容性。 + +## 新功能 + +* 新增一個別名 `then` 到 `Kernel#yield_self` 中。[[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* 現在 `else` 沒有 `rescue` 的話會導致語法錯誤。[ 實驗性質 ] + +* 常數名稱可以非 ASCII 大寫字母開頭。[[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 無盡範圍 [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 引入了無盡範圍 `(1..)`,如同無止盡般的運作,下面列出幾個典型的例子: + + ary[1..] # 與 ary[1..-1] 完全相同,少了神奇的 -1 + (1..).each {|index| ... } # 從 index 1 開始無限循環 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 Binding#source_location. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + * 此方法回傳 binding 的原始碼路徑,為一個兩個元素的陣列 `__FILE__` 和 `__LINE__`。照理來說,`eval("[__FILE__, __LINE__]", binding)` 可以獲取相同的訊息,但我們打算改變這種情況以便 `Kernel#eval` 忽略 binding 的原始碼路徑 [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)。因此,使用者應使用這個新引入的方法來取代 `Kernel#eval`。 + +* 新增 :exception 選項讓 Kernel.#system 引發錯誤而非回傳 false。[[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* 新增 oneshot 模式 [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * 此模式會檢查「每一行原始碼至少被執行一次」,而不是「每行原始碼被執行了幾次」。每行原始碼的 hook 至多被調用一次,並會在調用後將 hook 移除。換句話說,移除後的程式運行時不會有額外的效能開銷。 + * 爲 `Coverage.start` 方法新增 `:oneshot_lines` 參數。 + * 爲 `Coverage.result` 方法新增 `:stop` 和 `:clear` 參數。若 `clear` 設爲 true,它會清空計數器。若 `stop` 設爲 true。它會禁用覆蓋測量。 + * 新增 Coverage.line_stub,其爲原始碼新建覆蓋存根(stub)提供了一個簡單的幫助函式。 + +* `FileUtils#cp_lr`。[[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 效能提升 + +* 提升 `Proc#call`的速度,因為我們不需要再顧慮 `$SAFE` 了。[[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) 透過 `lc_fizzbuzz` 大量使用 `Proc#call` 的測試,我們測得了 1.4 倍效能提升。[[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* 提升了當 `block` 為 block 參數時 `block.call` 的效能。[[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) Ruby 2.5 提升了 block 傳遞效能。[[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了 block 傳遞的呼叫效能。藉由 micro-benchmark 我們測得了 2.6 倍的提升。 + +* 引入了瞬態堆積(theap)。[Bug #14858] [Feature #14989] teap 是用來管理短生命週期的指向特定類別(Array、Hash、Object 和 Struct)指標的堆積。舉例來說,新建小而短生命週期的 Hash 物件的效能提升了 2x。藉由 rdoc benchmark,我們測得了 6%-7% 的效能提升。 + +## 自 2.5 起重要的變化 + +* $SAFE 成為了 Process 全域狀態,我們可以再次將其設為 0。[[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* 不再建議將 safe_level 參數傳遞給 ERB.new 的行為。trim_mode 和 eoutvar 參數被轉換成關鍵字參數。[[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 將支援的 Unicode 版本升級至 11。我們計劃在 2.6 的小版本更新中升至 12 和 12.1 版本。 + +* 合併 RubyGems 3.0.0.beta3。`--ri` 和 `--rdoc` 選項已被移除。請改用 `--document` 和 `--no-document` 選項。 + +* 合併 [Bundler](https://github.com/bundler/bundler) 作爲預設 gems。 + +請參考 [新聞](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) +或 [提交紀錄](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +來進一步了解。 + +自 Ruby 2.5.0 以來,共計有 +[6376 個文件變更,227364 行增加(+),51599 行刪減(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +! + +與 Ruby 2.6.0-rc1 一起享受編程吧! + +## 下載 + +* + + SIZE: 16823448 bytes + SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 + SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea3934d77967a59e304353cde4a915537e7c4e4ee20be73 + +* + + SIZE: 20737499 bytes + SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 + SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a + +* + + SIZE: 14607078 bytes + SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e + SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 + +* + + SIZE: 11851908 bytes + SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e + SHA256: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + SHA512: 3d93d8d80e4900e8b3a27f904ed60581cebc6c55f4ab7acafc81e95001f92f3ea4ddec2da6169b1ed5e0146f7b7c35c1c13b3243955d5825c72170834fe933f3 From 669538a74d96b11a7cc3031fd176f062ee3469bd Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Sat, 29 Dec 2018 19:33:01 +0900 Subject: [PATCH 0345/2563] Translate 2.6.0-rc2 released news (zh_tw) --- .../2018-12-15-ruby-2-6-0-rc2-released.md | 120 ++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md diff --git a/zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md new file mode 100644 index 0000000000..8aefff7484 --- /dev/null +++ b/zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -0,0 +1,120 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc2 已發佈" +author: "naruse" +translator: "Delton Ding" +date: 2018-12-15 00:00:00 +0000 +lang: zh_tw +--- + +我們很榮幸的宣布 Ruby 2.6.0-rc2 發布了。 + +Ruby 2.6.0-rc2 是 Ruby 2.6.0 的第一個候選版本。發佈 RC2 是爲了測試將內建的 Bundler 升級至 2.0 後的影響。此版本包括數個新特性和效能提升。例如: + +## JIT + +Ruby 2.6 引入了 JIT(Just-in-time)編譯器初始實作。 + +JIT 編譯器專注於提升任何 Ruby 程式的執行速度。不同於其他語言的 JIT 編譯器,Ruby 的 JIT 使用一種獨特的編譯方式,將 C 程式碼寫入到硬碟中,再使用一般的 C 編譯器來生成原生程式碼(native code)。詳見 [Vladmir Makarov 的 MJIT 組織](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) + +如何使用:只需在命令列或是 $RUBYOPT 的環境變數中指定 "--jit" 即可。指定 "--jit-verbose=1" 可將印出正在編譯中的 JIT 訊息。更多選項請參考 "ruby --help"。 + +此次 JIT 預覽版發布的主要目為提供使用者檢查是否適用於您的平台,並且在 2.6 正式版本發布前找出安全性風險。現行的 JIT 編譯器僅在透過 gcc clang 或 Microsoft VC++ 建構 Ruby 以及編譯器可運行時進行支援,除此之外你無法使用它。 + +在 2.6.0-rc2 中,我們相比 Ruby 2.5 在 CPU 密集場景的性能測試 Optcarrot 中,取得了 1.7 倍的效能提升。我們正著手優化記憶體密集場景例如 Rails 應用中的執行效能。 + +請持續關注 Ruby 效能的全新時代。 + +## RubyVM::AbstractSyntaxTree [ 實驗性質 ] + +Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模組。 + +此模組擁有 `parse` 方法,解析給予的 Ruby 程式碼字串並回傳抽象語法樹 AST(Abstract Syntax Tree)節點,以及解析給予 Ruby 程式碼檔案並回傳 AST 節點的 `parse_file` 方法。 + +同樣也引入了 `RubyVM::AbstractSyntaxTree::Node` 類別,您可以從 `Node` 物件中獲取位置訊息和子節點,此功能為實驗性質,無法保證 AST 節點結構的相容性。 + +## 新功能 + +* 新增一個別名 `then` 到 `Kernel#yield_self` 中。[[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* 現在 `else` 沒有 `rescue` 的話會導致語法錯誤。[ 實驗性質 ] + +* 常數名稱可以非 ASCII 大寫字母開頭。[[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 無盡範圍 [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 引入了無盡範圍 `(1..)`,如同無止盡般的運作,下面列出幾個典型的例子: + + ary[1..] # 與 ary[1..-1] 完全相同,少了神奇的 -1 + (1..).each {|index| ... } # 從 index 1 開始無限循環 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 Binding#source_location. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + * 此方法回傳 binding 的原始碼路徑,為一個兩個元素的陣列 `__FILE__` 和 `__LINE__`。照理來說,`eval("[__FILE__, __LINE__]", binding)` 可以獲取相同的訊息,但我們打算改變這種情況以便 `Kernel#eval` 忽略 binding 的原始碼路徑 [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)。因此,使用者應使用這個新引入的方法來取代 `Kernel#eval`。 + +* 新增 :exception 選項讓 Kernel.#system 引發錯誤而非回傳 false。[[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* 新增 oneshot 模式 [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * 此模式會檢查「每一行原始碼至少被執行一次」,而不是「每行原始碼被執行了幾次」。每行原始碼的 hook 至多被調用一次,並會在調用後將 hook 移除。換句話說,移除後的程式運行時不會有額外的效能開銷。 + * 爲 `Coverage.start` 方法新增 `:oneshot_lines` 參數。 + * 爲 `Coverage.result` 方法新增 `:stop` 和 `:clear` 參數。若 `clear` 設爲 true,它會清空計數器。若 `stop` 設爲 true。它會禁用覆蓋測量。 + * 新增 Coverage.line_stub,其爲原始碼新建覆蓋存根(stub)提供了一個簡單的幫助函式。 + +* `FileUtils#cp_lr`。[[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 效能提升 + +* 提升 `Proc#call`的速度,因為我們不需要再顧慮 `$SAFE` 了。[[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) 透過 `lc_fizzbuzz` 大量使用 `Proc#call` 的測試,我們測得了 1.4 倍效能提升。[[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* 提升了當 `block` 為 block 參數時 `block.call` 的效能。[[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) Ruby 2.5 提升了 block 傳遞效能。[[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) 另外,Ruby 2.6 提升了 block 傳遞的呼叫效能。藉由 micro-benchmark 我們測得了 2.6 倍的提升。 + +* 引入了瞬態堆積(theap)。[Bug #14858] [Feature #14989] teap 是用來管理短生命週期的指向特定類別(Array、Hash、Object 和 Struct)指標的堆積。舉例來說,新建小而短生命週期的 Hash 物件的效能提升了 2x。藉由 rdoc benchmark,我們測得了 6%-7% 的效能提升。 + +## 自 2.5 起重要的變化 + +* $SAFE 成為了 Process 全域狀態,我們可以再次將其設為 0。[[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* 不再建議將 safe_level 參數傳遞給 ERB.new 的行為。trim_mode 和 eoutvar 參數被轉換成關鍵字參數。[[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 將支援的 Unicode 版本升級至 11。我們計劃在 2.6 的小版本更新中升至 12 和 12.1 版本。 + +* 合併 RubyGems 3.0.0.beta3。`--ri` 和 `--rdoc` 選項已被移除。請改用 `--document` 和 `--no-document` 選項。 + +* 合併 [Bundler](https://github.com/bundler/bundler) 作爲預設 gems。 + +請參考 [新聞](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS) +或 [提交紀錄](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) +來進一步了解。 + +自 Ruby 2.5.0 以來,共計有 +[6411 個文件變更,228864 行增加(+),97600 行刪減(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) +! + +與 Ruby 2.6.0-rc2 一起享受編程吧! + +## 下載 + +* + + SIZE: 16723556 bytes + SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 + SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 +* + + SIZE: 20643747 bytes + SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 + SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c +* + + SIZE: 14581998 bytes + SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 + SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba +* + + SIZE: 11908088 bytes + SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 + SHA256: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + SHA512: a3dc43c0bc70dfdb9ff0d18b5b9797bbf332524f5d3bbb7940cf4e32286ca715808acfd11ebf3cdbe358a2466b7c6b5be3a7a784af7eb95c071fe1f8b4ab1261 From 6900c10b75c0038e64c4150ccd80103014317b7f Mon Sep 17 00:00:00 2001 From: Vinicius Brasil Date: Wed, 9 Jan 2019 00:32:23 +0000 Subject: [PATCH 0346/2563] Translate Ruby Snap post (pt) (#1940) * Translate 2018 Nov Ruby Snap post (pt) Co-Authored-By: vnbrs --- pt/news/_posts/2018-11-08-snap.md | 64 +++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 pt/news/_posts/2018-11-08-snap.md diff --git a/pt/news/_posts/2018-11-08-snap.md b/pt/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..bda07666f8 --- /dev/null +++ b/pt/news/_posts/2018-11-08-snap.md @@ -0,0 +1,64 @@ +--- +layout: news_post +title: O snap oficial do Ruby está disponível +author: Hiroshi SHIBATA +translator: "vnbrs (Vinicius Brasil)" +date: 2018-11-08 14:58:28 +0000 +lang: pt +--- + +Nós oficialmente lançamos um pacote snap para a linguagem Ruby. + + + +Snap é um sistema de pacotes desenvolvido pela Canonical. Ele permite que você +distribua um software com suas dependências para diferentes sistemas Linux. +Isso resolve o problema de quando um usuário não consegue instalar a última +versão do Ruby do repositório padrão de seu sistema, como no `rpm` or `apt`. + +No Ubuntu 16.04 ou superior, você pode instalar o snap do Ruby com o seguinte +comando: + +``` +sudo snap install ruby --classic +``` + +(Se você utiliza outras distribuições Linux, por favor acesse +.) + +Nosso snap utiliza a funcionalidade de "canal" para distribuir +múltiplas versões de Ruby concorrentemente. Por exemplo, sem especificar +um canal, atualmente a versão 2.5.3 do Ruby será instalada. Mas se você +quer utilizar a versão 2.4, especifique o canal 2.4 como abaixo: + +``` +sudo snap install ruby --classic --channel=2.4/stable +``` + +Você pode também utilizar diversos canais. O seguinte comando muda para a versão 2.3: + +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` + +Nosso snap configura as variáveis de ambiente `GEM_HOME` e `GEM_PATH` +para `$HOME/.gem`. +Então se você quer executar comandos instalados por gems, como `rails` e +`rspec`, sem utilizar `bundle exec`, você precisará adicionar a seguinte +linha no seu arquivo shell rc (como `.bashrc`): + +``` +eval `ruby.env` +``` + +Já que `$HOME/.gem` é compartilhado entre múltiplas versões, se você +troca de versão e as utiliza, você precisará recompilar as extensões C +utilizando o comando `gem pristine --extensions`. + +A versão inicial do snap oficial do Ruby foi lançada durante o Snapcraft +summit sediado no escritório da Canonical em Londres entre 6 e 8 de Novembro +de 2018. +Qualquer feedback é bem vindo em . + +Aproveite! From 7a0e41bec13cb65a3dd9012d3b1546f66495432c Mon Sep 17 00:00:00 2001 From: Vincent Lin Date: Sat, 12 Jan 2019 20:12:50 +0800 Subject: [PATCH 0347/2563] Update translation of Documentation (zh_tw) --- zh_tw/documentation/index.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index c70ede6572..f5fea23b2d 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -7,10 +7,14 @@ lang: zh_tw 當想要寫 Ruby 程式時,這裡是一些可以幫上忙的入門教學、學習手冊和參考文件: {: .summary} +### 安裝 Ruby + +儘管可以輕鬆的[在瀏覽器試玩 Ruby ][1],你還是可以閱讀[安裝指南](installation/)來幫助你安裝 Ruby。 + ### 入門 -[試玩 Ruby!][1] -: 針對新手的互動式教學。讓你可以在瀏覽器中試玩 Ruby,體驗用 Ruby 寫程式的感受。 +[官方 FAQ](/en/documentation/faq/) +: 官方常見問題與解答。 [Ruby Koans][2] : Ruby Koans 導引你走上學習 Ruby 的啟蒙之路。可以學到 Ruby 語言、語法、結構、常用函數與函式庫。 @@ -20,12 +24,6 @@ lang: zh_tw : 非比尋常但玩味無窮的書,透過故事、幽默與漫畫來教會你 Ruby。由 *why the lucky stiff* 創作,本書是學習 Ruby 的經典大作。 -[二十分鐘 Ruby 體驗](/zh_tw/documentation/quickstart/) -: 一份不錯的 Ruby 入門體驗,從開始到結束應該不花你二十分鐘。 - -[從其他語言到 Ruby](/zh_tw/documentation/ruby-from-other-languages/) -: 已經熟悉其他程式語言? 不論是 C、C++、Java、Perl、PHP 或是 Python,這裡都有介紹! - [Learning Ruby][6] : 蒐集了許多 Ruby 上手的經驗談,紮實的介紹了 Ruby 的概念與如何建構 Ruby 程式。 @@ -51,12 +49,18 @@ lang: zh_tw ### 參考文件 +[Official API Documentation][40] +: 各種版本的 Ruby 官方 API 文件,包含當前未釋出的版本(trunk)。 + [Ruby Core Reference][13] : 直接從原始碼拉出來的 [RDoc][14] 文件,包括所有的核心類別和模組(例如 String、Array、Symbol 等)。 [Ruby Standard Library Reference][15] : 也是從從原始碼拉出來的 RDoc 文件,記載了 Ruby 的標準函式庫。 +[Ruby C API Reference][extensions] +: 官方 Ruby 的 C API 介紹文件,有助於你撰寫 C 擴充程式或是貢獻到 Ruby 的開發。 + [RubyDoc.info][16] : 一站式站點,擁有 RubyGems 與 GitHub 上托管的 Ruby 專案的文件。 @@ -115,6 +119,7 @@ lang: zh_tw [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -139,6 +144,7 @@ lang: zh_tw [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash +[40]: https://docs.ruby-lang.org/en/ [atom]: https://atom.io/ [rubytw]: http://ruby.tw From c3e2ff68a287740572cf659336f55ec8158a98bf Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 15 Jan 2019 23:54:17 +0900 Subject: [PATCH 0348/2563] Translate Ruby Community Conduct Guideline (ko) (#1946) * Copy original article * Translate Ruby Community Conduct Guideline(ko) * Apply suggestions from code review Co-Authored-By: riseshia --- ko/conduct/index.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ko/conduct/index.md diff --git a/ko/conduct/index.md b/ko/conduct/index.md new file mode 100644 index 0000000000..13dfa92818 --- /dev/null +++ b/ko/conduct/index.md @@ -0,0 +1,19 @@ +--- +layout: page +title: "루비 커뮤니티 행동 지침" +lang: ko +--- +루비 개발자 커뮤니티의 안전하고, 생산적인 공동 작업을 위해서 PostgreSQL CoC로 +제출된 안으로부터 다음을 골랐습니다. +루비와 관련이 있는 각 커뮤니티(콘퍼런스 등)는 해당 커뮤니티에 적합한 행동 지침을 사용할 수 있습니다. +{: .summary} + +이 문서는 루비 커뮤니티에 기여할 의지가 있는 사람들에게 안전하고, 서로를 +존중하며, 생산적이고 협력적인 장소를 제공하기 위한 커뮤니티 지침을 제공합니다. +이는 커뮤니티의 (메일링 리스트, 제출된 패치, 커밋에 대한 의견 등의) +의사소통 수단으로 정의되는 모든 '공동 작업 공간'에 적용 가능합니다. + + * 참여자는 반대 의견에 관대해야 합니다. + * 참여자는 말과 행동을 통해 인신공격을 하거나 헐뜯어서는 안 됩니다. + * 참여자는 다른 사람의 말이나 행동을 항상 좋은 의도로 해석해야 합니다. + * 타당하게 괴롭힘이라고 판단될 수 있는 행동은 용인되지 않을 것입니다. From d110924ee592ef6bab9afc6ea391e9a1409d3c9a Mon Sep 17 00:00:00 2001 From: Vinicius Brasil Date: Sun, 20 Jan 2019 11:41:44 -0200 Subject: [PATCH 0349/2563] Translate Fukuoka Ruby Award 2019 post (pt) (#1937) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Translate pt/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md Co-Authored-By: vnbrs Co-Authored-By: Júlio Campos --- .../2018-11-29-fukuoka-ruby-award-2019.md | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 pt/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md diff --git a/pt/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/pt/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md new file mode 100644 index 0000000000..bb1ba16fa1 --- /dev/null +++ b/pt/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -0,0 +1,63 @@ +--- +layout: news_post +title: "Competição Fukuoka Ruby Award 2019 - Aplicações a serem julgadas pelo Matz" +author: "Fukuoka Ruby" +translator: "vnbrs (Vinicius Brasil)" +date: 2018-11-29 00:00:00 +0000 +lang: pt +--- + +Caros entusiatas de Ruby, + +O governo de Fukuoka, Japão, juntamente com "Matz" Matsumoto gostaria de convidá-los para entrar na seguinte competição de Ruby. Se você desenvolveu algum programa interessante em Ruby, por favor seja encorajado a aplicar. + +Competição Fukuoka Ruby Award 2019 - Grande Prêmio - 1 Milhão de Ienes! + +Data máxima para aplicação: 31 de Janeiro de 2019 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz e um grupo de jurados selecionarão os vencedores da competição de Fukuoka. O grande prêmio para essa competição é 1 milhão de ienes. Fora o grande prêmio, outras premiações incluem Rhomobile (EUA) and APEC Climate Center (Coréia). + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +Os programas que entrarem na competição não precisam ser inteiramente escritos em Ruby, porém devem utilizar as características únicas do Ruby. + +Os projetos devem ter sido desenvolvidos ou sidos completados nos últimos 12 meses para serem elegíves. Por favor visite o seguinte site de Fukuoka para detalhes adicionais, ou para entrar para a competição: + +[http://www.digitalfukuoka.jp/events/185](http://www.digitalfukuoka.jp/events/185) +ou +[http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc) + +Por favor, envie o formulário de aplicação para award@f-ruby.com + +Esse ano, temos alguns prêmios especiais: + +O ganhador do prêmio AWS receberá: + +* Amazon Echo (sujeito à mudança) +* Consultoria técnica de arquitetos AWS + +O ganhador do prêmio GMO Pepabo receberá: + +* Lolipop! (serviço de hospedagem compartilhada): assinatura gratuita por 10 anos do plano Standard, ou um cupom no valor de ¥ 100.000,00 para o plano metrificado da Managed Cloud +* Muumuu Domain (serviço de registro de DNS): assinatura gratuita por 10 anos de um domínio (válido somente para domínios de ¥ 10.000,00 ou menos por ano) + +O ganhador do prêmio IIJ GIO receberá: + +* Um cupom de IIJ GIO que vale 500,000 ienes (mais de 6 meses) + +O ganhador do prêmio Money Forward receberá: + +* Um jantar com os comitters do Ruby do Money Forward +* Um cupom de 10 anos dos serviços premium de nosso serviço de gerenciamento de finanças "Money Forward" + +O ganhador do prêmio Salesforce receberá: + +* Alguns mimos novos da salesforce.com + +"Matz estará testando e revisando seu código minusciosamente, então é muito oportuno aplicar! A competição é gratuita para entrar." + +Obrigado! From 5ddf5cd51488bd723b3f73a7c7d97941dd32bcbf Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sun, 20 Jan 2019 20:43:03 +0700 Subject: [PATCH 0350/2563] Translate Ruby 2.6.0-rc1 released news (id) (#1945) --- .../2018-12-06-ruby-2-6-0-rc1-released.md | 176 ++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md diff --git a/id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md new file mode 100644 index 0000000000..d5bc935f88 --- /dev/null +++ b/id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -0,0 +1,176 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc1 Rilis" +author: "naruse" +translator: "meisyal" +date: 2018-12-06 00:00:00 +0000 +lang: id +--- + +Kami dengan senang hati mengumumkan rilis dari Ruby 2.6.0-rc1. + +Ruby 2.6.0-rc1 adalah kandidat rilis pertama dari Ruby 2.6.0. +Kandidat ini memperkenalkan beberapa fitur baru dan perbaikan performa, +sebagai contoh: + +## JIT + +Ruby 2.6 memperkenalkan sebuah implementasi awal dari *compiler* JIT +(Just-in-time). + +*Compiler* JIT bertujuan untuk memperbaiki performa dari program Ruby apapun +yang dieksekusi. Berbeda dengan JIT *compiler* biasanya pada bahasa pemrograman +lain, *compiler* JIT dari Ruby melakukan kompilasi JIT melalui sebuah jalan +unik, yang mencetak kode C ke sebuah *disk* dan mengeluarkan proses *compiler* +C untuk menghasilkan kode asli. +Lihat juga: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Bagaimana cara menggunakan: Tetapkan `--jit` pada *command line* atau `$RUBYOPT` +*environment variable*. Menetapkan `--jit-verbose=1` memperbolehkan untuk +mencetak informasi dasar dari kompilasi JIT yang berjalan. Lihat `ruby --help` +untuk pilihan lainnya. + +Tujuan utama dari rilis JIT ini adalah untuk menyediakan sebuah kesempatan untuk +mengecek jika ini berjalan di *platform* Anda dan menemukan risiko keamanan +sebelum rilis 2.6. *Compiler* JIT didukung hanya ketika Ruby dibuat oleh GCC, +Clang, atau Microsoft VC++, yang mana dibutuhkan saat *runtime*. Jika +sebaliknya, Anda tidak dapat menggunakannya. + +Sampai versi 2.6.0-rc1, kami telah meraih 1.7x performa lebih cepat +dibanding Ruby 2.5 pada CPU-*intensive non-trivial benchmark workload* yang +dikenal dengan Optcarrot . +Kami akan memperbaiki performa pada *memory-intensive workload*, seperti +aplikasi Rails. + +Nantikan era baru dari performa Ruby. + +## RubyVM::AbstractSyntaxTree [Eksperimental] + +Ruby 2.6 mengenalkan modul `RubyVM::AbstractSyntaxTree`. + +Modul ini memiliki *method* `parse` yang mem-*parse string* dari kode Ruby yang +diberikan dan mengembalikan AST (Abstract Syntax Tree) *node*, dan *method* +`parse_file` yang mem-*parse* berkas dan mengembalikan AST *node*. +Kelas `RubyVM::AbstractSyntaxTree::Node` juga diperkenalkan. Anda bisa +mendapatkan informasi lokasi dan *children node* dari objek `Node`. Fitur ini +eksperimental. Kesesuaian struktur dari AST *node* tidak dijamin. + +## Fitur-fitur Baru + +* Menambahkan sebuah alias baru `then` pada `Kernel#yield_self`. [[Fitur #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` tanpa `rescue` sekarang menyebabkan sebuah *syntax error*. [EKSPERIMENTAL] + +* penamaan konstan bisa dimulai dengan sebuah huruf kapital non-ASCII. [[Fitur #13770]](https://bugs.ruby-lang.org/issues/13770) + +* endless range [[Fitur #12912]](https://bugs.ruby-lang.org/issues/12912) + + Sebuah endless range, `(1..)`, diperkenalkan. Ini berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: + + ary[1..] # identik dengan ary[1..-1] tanpa magical -1 + (1..).each {|index| ... } # inifinite loop dari indeks 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Menambahkan `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + *Method* ini mengembalikan sumber lokasi dari *binding*, sebuah *array* dua +elemen dari `__FILE__` dan `__LINE__`. Secara tradisi, informasi yang sama +mungkin dapat diambil dengan `eval("[__FILE__, __LINE__]", binding)`, tetapi +kami sedang merencanakan untuk mengubah perilaku ini sehingga `Kernel#eval` +mengabaikan sumber lokasi *binding* [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). +Sehingga, pengguna seharusnya menggunakan *method* yang baru diperkenalkan ini +daripada `Kernel#eval`. + +* Menambahkan pilihan `:exception` agar `Kernel#system` mengeluarkan *error* +daripada mengembalikan `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Menambahkan mode *oneshot* [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + * Mode ini mengecek "apakah setiap baris dieksekusi minimal sekali atau tidak", +daripada "berapa banyak setiap baris dieksekusi". Sebuah *hook* untuk setiap +baris ditembakan paling banyak sekali dan setelah itu penanda *hook* dihapus, +sebagai contoh ini berjalan dengan *zero overhead*. + * Menambahkan argumen kata kunci `:oneshot_lines` pada Coverage.start. + * Menambahkan argumen kata kunci `:stop` dan `:clear` pada Coverage.result. +Jika `clear` *true* maka mengubah *counter* menjadi nol. Jika `stop` *true* +maka nonaktifkan pengukuran *coverage*. + * Coverage.line_stub, yang mana adalah sebuah fungsi pembantu yang sederhana +yang dapat membuat "stub" dari baris *coverage* dari sebuah kode sumber yang +diberikan. + +* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## Perbaikan performa + +* Mempercepat `Proc#call` karena kami tidak peduli `$SAFE` lagi. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Dengan *benchmark* `lc_fizzbuzz` yang menggunakan `Proc#call` berkali-kali + kami dapat mengukur x1.4 kemajuan [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Mempercepat `block.call` di mana `block` diterima parameter *block*. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 memperbaiki performa *block passing*. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + Selain itu, Ruby 2.6 memperbaiki performa dari pemanggilan *passed block*. + Dengan mikro *benchmark* kami dapat mengamati x2.6 kemajuan. + +* Transient Heap (theap) diperkenalkan. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + theap adalah *heap* yang diatur untuk *short-living memory object* yang + diarahkan oleh kelas tertentu (Array, Hash, Object, dan Struct). Sebagai + contoh, membuat objek Hash yang kecil dan *short-living* 2x lebih cepat. + Dengan rdoc *benchmark*, kami mengamati 6-7% kemajuan. + +## Perubahan penting lainnya sejak 2.5 + +* `$SAFE` adalah sebuah proses *state* global dan kita dapat mengatur ke `0` lagi. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Menempatkan parameter `safe_level` ke `ERB.new` tidak berlaku lagi. Argumen +`trim_mode` dan `eoutvar` diubah menjadi argumen kata kunci. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Mendukung versi Unicode 11. Ini akan direncanakan untuk mendukung versi 12 + dan 12.1 pada rilis TEENY dari Ruby 2.6. + +* Menggabungkan RubyGems 3.0.0.beta2. Opsi `--ri` dan `--rdoc` dihapus. Mohon + gunakan opsi `--document` dan `--no-document`. + +* Menggabungkan [Bundler](https://github.com/bundler/bundler) sebagai gem + *default*. + +Lihat [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc1/NEWS) +atau [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +untuk detail. + +Dengan perubahan tersebut, +[6376 berkas berubah, 227364 sisipan(+), 51599 terhapus(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc1) +sejak Ruby 2.5.0! + +Nikmati memprogram dengan Ruby 2.6.0-rc1! + +## Unduh + +* + + SIZE: 16823448 bytes + SHA1: 889db7731fd43f6dbf7f31ffdb0a29bba1a8d356 + SHA256: 6d6183639ed9c02320d7132e97c65489a39e24d8b55fc4ed35ac53d1189cb61d + SHA512: ad101adee5c43f3645561e73970f15d4e9141f707da69a92e224575c665949e18ca53389e5315fca2ea3934d77967a59e304353cde4a915537e7c4e4ee20be73 + +* + + SIZE: 20737499 bytes + SHA1: 457e39aee1978da5e42af42a6ad230421544aa07 + SHA256: 2bcdf468de499e4d6983d60d63dcc883f4c54fdc05a08a54eb93d315477bc4cc + SHA512: 0842fae8a199f6c1e76f5d775edbf468e18a54f0419324eb73595e0268c728c71733371d71dc2fa342105dbc487987ca5556948a9ef067276a7b5f552462802a + +* + + SIZE: 14607078 bytes + SHA1: 269fe9d414d7731e4a63959fadffe5c50c08ce0e + SHA256: b4e9c0e8801946e9f0baba30948955f4341e9e04f363c206b7bd774208053eb5 + SHA512: cbd6281b2aab6fbce3f699c1ab57e5423304dca7a547a0b3cd4e8e980326dc7b85b2ca2bfaf3f3a648d40f4222fdf1740d81d422790ee7ae1ba1ed33eb11e3e8 + +* + + SIZE: 11851908 bytes + SHA1: 3b93fdf1c5bd969ab4fe0a8176a6cf64e4597e6e + SHA256: 21d9d54c20e45ccacecf8bea4dfccd05edc52479c776381ae98ef6a7b4afa739 + SHA512: 3d93d8d80e4900e8b3a27f904ed60581cebc6c55f4ab7acafc81e95001f92f3ea4ddec2da6169b1ed5e0146f7b7c35c1c13b3243955d5825c72170834fe933f3 From 81f6058cca50bd1adf482ecbfccac397b12b986f Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 20 Jan 2019 16:18:20 +0100 Subject: [PATCH 0351/2563] Add newlines --- de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 3 +++ en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 3 +++ es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 3 +++ ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 3 +++ ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 3 +++ zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 3 +++ zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 3 +++ 7 files changed, 21 insertions(+) diff --git a/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index cf4f9f7c5e..018070b630 100644 --- a/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/de/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -183,18 +183,21 @@ Viel Spaß beim Programmieren mit Ruby 2.6.0-rc2! SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 + * SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c + * SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba + * SIZE: 11908088 bytes diff --git a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index a0cfebef5b..7e33e1a0ac 100644 --- a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -121,18 +121,21 @@ Enjoy programming with Ruby 2.6.0-rc2! SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 + * SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c + * SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba + * SIZE: 11908088 bytes diff --git a/es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index dc926ef185..f5610f3e59 100644 --- a/es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/es/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -137,18 +137,21 @@ Disfrute programar con Ruby 2.6.0-rc2! SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 + * SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c + * SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba + * SIZE: 11908088 bytes diff --git a/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 081264d3d9..9fd111094b 100644 --- a/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/ja/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -100,18 +100,21 @@ Ruby 2.6では `RubyVM::AbstractSyntaxTree` モジュールが導入されまし SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 + * SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c + * SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba + * SIZE: 11908088 bytes diff --git a/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index dba3b692b0..bc93996f24 100644 --- a/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/ko/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -119,18 +119,21 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 + * SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c + * SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba + * SIZE: 11908088 bytes diff --git a/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index bb420d5275..7da18177db 100644 --- a/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -101,18 +101,21 @@ Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模块。 SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 + * SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c + * SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba + * SIZE: 11908088 bytes diff --git a/zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 8aefff7484..491b5029b7 100644 --- a/zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/zh_tw/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -100,18 +100,21 @@ Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模組。 SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 + * SIZE: 20643747 bytes SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c + * SIZE: 14581998 bytes SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba + * SIZE: 11908088 bytes From 3d8dd1b2800ec5e1b028d668a6ec772bb3f74262 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Sun, 20 Jan 2019 16:42:29 +0100 Subject: [PATCH 0352/2563] Remove MacRuby from about page (translations) --- bg/about/index.md | 3 --- de/about/index.md | 4 ---- id/about/index.md | 4 ---- ja/about/index.md | 2 -- pl/about/index.md | 3 --- pt/about/index.md | 4 ---- ru/about/index.md | 4 ---- zh_cn/about/index.md | 2 -- 8 files changed, 26 deletions(-) diff --git a/bg/about/index.md b/bg/about/index.md index ffbaccca26..6e41013663 100644 --- a/bg/about/index.md +++ b/bg/about/index.md @@ -178,8 +178,6 @@ Ruby притежава множество други черти, като ня * [Rubinius][rubinius] е ‘Ruby написан на Ruby’. Изграден върху LLVM, Rubinius предлага удобна виртуална машина, върху която също така се изграждат други езици. -* [MacRuby][macruby] e Ruby, тясно интегрирано с Cocoa - библиотеката на Apple - за Mac OS X, позволяваща създаването на настолни приложения. * [mruby][mruby] е лека и бърза имплементация на Ruby, която може да бъде вградена и използвана в приложения. Разработва се от екип начело със създателя на Ruby Yukihiro "Matz" Matsumoto. @@ -211,7 +209,6 @@ Ruby притежава множество други черти, като ня [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io diff --git a/de/about/index.md b/de/about/index.md index a6ff52d113..58dcc6d235 100644 --- a/de/about/index.md +++ b/de/about/index.md @@ -209,9 +209,6 @@ Hier ist eine Liste: der sogar andere Sprachen aufbauen. Ebenso wie JRuby besitzt es echt nebenläufige Threads, ist jedoch im Gegensatz zu diesem kompatibel zur C-API des MRI. -* [MacRuby][macruby] ist stark integriert in Apples Cocoa-Framework für Mac - OS X, was ein leichtes Erstellen von Desktopanwendungen für Mac OS X - ermöglicht. * [mruby][mruby] ist eine schlanke Ruby-Implementierung, die gelinkt und in Anwendungen eingebunden werden kann. Die Entwicklung von mruby wird von Yukihiro “Matz” Matsumoto geleitet, @@ -246,7 +243,6 @@ November 2001. [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io diff --git a/id/about/index.md b/id/about/index.md index 29709ef4b4..3dbbdd13f1 100644 --- a/id/about/index.md +++ b/id/about/index.md @@ -213,9 +213,6 @@ Berikut ini daftarnya: yang memiliki performa tinggi. * [mruby][mruby] adalah sebuah implementasi *lightweight* dari bahasa Ruby yang dapat dihubungkan dan ditanamkan dengan sebuah aplikasi. -* [MacRuby][macruby] adalah Ruby yang sangat terintegrasi erat dengan pustaka - Apple Cocoa untuk Mac OS X, memperbolehkan Anda untuk memprogram aplikasi - *desktop* dengan mudah. * [IronRuby][ironruby] adalah sebuah implementasi “tightly integrated with the .NET Framework”. * [MagLev][maglev] adalah “a fast, stable, Ruby implementation with integrated @@ -251,7 +248,6 @@ di Ruby, dalam Bahasa Inggris), 22 Desember 2003. [jruby]: http://jruby.org [rubinius]: http://rubini.us [truffleruby]: https://github.com/oracle/truffleruby -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io diff --git a/ja/about/index.md b/ja/about/index.md index 4a35624819..a59126f493 100644 --- a/ja/about/index.md +++ b/ja/about/index.md @@ -172,7 +172,6 @@ MRI以外のRuby処理系には以下のようなものがあります。 * [JRuby][jruby]は、JVM(Java仮想マシン)上に構築されたRubyです。 JVMの最適化されたJITコンパイラやGC、並行スレッド、ツール群、そして膨大なコレクションのライブラリを使うことができます。 * [Rubinius][rubinius]は「Rubyで書かれたRuby」です。LLVM上に構築されています。LLVMは他の言語も構築されるよくできた仮想マシンです。 -* [MacRuby][macruby]は、Mac OS X用のCocoaライブラリとしっかり統合されたRubyです。デスクトップアプリケーションを作成できます。 * [mruby][mruby]はRubyの軽量実装です。アプリケーションにリンクし、組み込むことができます。Rubyの作者であるまつもと ゆきひろ氏によって開発が進められています。 * [IronRuby][ironruby]は、.Netフレームワークにしっかりと統合されたRuby処理系です。 * [MagLev][maglev]は、オブジェクトの永続化と分散共有キャッシュを持った、高速で安定したRuby処理系です。 @@ -198,7 +197,6 @@ MRI以外のRuby処理系には以下のようなものがあります。 [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io diff --git a/pl/about/index.md b/pl/about/index.md index 3c352997ac..d640c14219 100644 --- a/pl/about/index.md +++ b/pl/about/index.md @@ -201,8 +201,6 @@ Tu jest lista: * [Rubinius][rubinius] jest ‘Rubim napisanym w Rubim’. Zbudowanym na szczycie LLVM, Rubinius ukazuje sprytną maszynę wirtualną na bazie której budowane są inne języki. -* [MacRuby][macruby] jest Rubim ściśle zintegrowanym z bibliotekami Cocoa Apple - dla Mac OS X, umożliwiając łatwe pisanie desktopowych aplikacji. * [mruby][mruby] jest lekką implementacją języka Ruby, która może być połączona i osadzona w aplikacji. + Its development is lead by Ruby’s creator Yukihiro “Matz” Matsumoto. @@ -234,7 +232,6 @@ Tu jest lista: [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io diff --git a/pt/about/index.md b/pt/about/index.md index 600d4a477c..2a2cdfec5d 100644 --- a/pt/about/index.md +++ b/pt/about/index.md @@ -209,9 +209,6 @@ Segue uma lista: * [Rubinius][rubinius] é “Ruby escrito em Ruby”. Construído em cima da LLVM, Rubinius utiliza uma elegante máquina virtual sobre a qual outras linguagens também estão sendo construídas. -* [MacRuby][macruby] é um Ruby que é fortemente integrado com as bibliotecas - Cocoa da Apple para o Mac OS X, permitindo que você escreva aplicações - desktop com facilidade. * [mruby][mruby] é uma implementação leve da linguagem Ruby que pode ser vinculada e embutida em uma aplicação. Seu desenvolvimento é conduzido pelo criador do Ruby, Yukihiro “Matz” Matsumoto. @@ -246,7 +243,6 @@ Nov. 2001. [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io diff --git a/ru/about/index.md b/ru/about/index.md index 7f05b1ea9e..d032d60797 100644 --- a/ru/about/index.md +++ b/ru/about/index.md @@ -204,9 +204,6 @@ Ruby как язык имеет несколько разных имплемен * [Rubinius][rubinius] это "Ruby написанный на Ruby". Реализован на основе LLVM – изящной виртуальной машине, на который созданы и другие известные языки. -* [MacRuby][macruby] это Ruby, который тесно интегрирован с библиотеками - Cocoa от Apple для Mac OS X. Позволяет вам проще писать приложения для Mac - OS X. * [mruby][mruby] это легковесная реализация Ruby, которая может быть слинкована и встроена в приложение. Возглавляет разработку mruby создатель языка Ruby, Yukihiro “Matz” Matsumoto. @@ -242,7 +239,6 @@ Ruby как язык имеет несколько разных имплемен [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io diff --git a/zh_cn/about/index.md b/zh_cn/about/index.md index 8de2d0fa38..8cb037274b 100644 --- a/zh_cn/about/index.md +++ b/zh_cn/about/index.md @@ -122,7 +122,6 @@ Ruby 还有其他众多特性,下面列举一些: * [JRuby][jruby] 是基于 JVM(Java Virtual Machine)的 Ruby 实现,利用了 JVM 中优秀的 JIT 编译器、垃圾回收程序、并发线程、工具生态系统和大量的库。 * [Rubinius][rubinius] 是用“Ruby 编写的 Ruby”。构建于 LLVM 之上,Rubinius 跑在一个很灵活的虚拟机上,别的语言也可以构建于这个虚拟机上。 -* [MacRuby][macruby] 是一个与苹果 Mac OS X 上 Cocoa 库紧密集成的实现,可以让你轻易地写出桌面应用程序。 * [mruby][mruby] 是 Ruby 语言的轻量级实现,可以链接或嵌入到程序之中。mruby 由 Ruby 的创建者松本行弘(Matz)领导开发。 * [IronRuby][ironruby] 是一个“与 .NET 框架紧密集成”的实现。 * [MagLev][maglev] 是“一个快速、稳定的 Ruby 实现,支持集成对象持久化和分布式共享缓存”。 @@ -149,7 +148,6 @@ Ruby 还有其他众多特性,下面列举一些: [tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html [jruby]: http://jruby.org [rubinius]: http://rubini.us -[macruby]: http://www.macruby.org [mruby]: http://www.mruby.org/ [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io From 6a4069736afabed620b5200743bda7b80493fc3b Mon Sep 17 00:00:00 2001 From: Vincent Lin Date: Sun, 20 Jan 2019 23:49:24 +0800 Subject: [PATCH 0353/2563] Translate Ruby 2.6.0 Released post (zh_tw) --- .../_posts/2018-12-25-ruby-2-6-0-released.md | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 zh_tw/news/_posts/2018-12-25-ruby-2-6-0-released.md diff --git a/zh_tw/news/_posts/2018-12-25-ruby-2-6-0-released.md b/zh_tw/news/_posts/2018-12-25-ruby-2-6-0-released.md new file mode 100644 index 0000000000..4a447c54e5 --- /dev/null +++ b/zh_tw/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -0,0 +1,143 @@ +--- +layout: news_post +title: "Ruby 2.6.0 發佈" +author: "naruse" +translator: Vincent Lin +date: 2018-12-25 00:00:00 +0000 +lang: zh_tw +--- + +我們高興地宣佈 Ruby 2.6.0 已發佈。 + +Ruby 2.6.0 引入了許多新功能以及效能提升,其中最值得注目的是: + + * 全新的 JIT 編譯器 + * `RubyVM::AbstractSyntaxTree` 模組 + +## JIT [ 實驗性質 ] + +Ruby 2.6 引入了 JIT(Just-in-time)編譯器初始實作。 + +JIT 編譯器專注於提升任何 Ruby 程式的執行速度。不同於其他語言的 JIT 編譯器,Ruby 的 JIT 使用一種獨特的編譯方式,將 C 程式碼寫入到硬碟中,再使用一般的 C 編譯器來生成原生程式碼(native code)。詳見 [Vladmir Makarov 的 MJIT 組織](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization) + +想要使用 JIT 編譯器的話,只需在命令列或是 `$RUBYOPT` 的環境變數中指定 `--jit` 即可。指定 `--jit-verbose=1` 可將印出正在編譯中的 JIT 訊息。更多選項請參考 `ruby --help` 的輸出或是[文件](https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage)。 + +JIT 編譯器僅在透過 GCC、Clang、或是 Microsoft VC++ 建構 Ruby 以及編譯器可運行時進行支援。 + +相較於 Ruby 2.5,Ruby 2.6 在 CPU 密集場景的複雜性能測試 [Optcarrot](https://github.com/mame/optcarrot) 中,取得了 [1.7 倍的效能提升](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208)。然而,由於仍在實驗性質,許多記憶體密集場景,例如 Rails 應用等在此刻可能無法從中受益。更多詳細消息請參閱 [Ruby 2.6 JIT - Progress and Future](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf)。 + +請持續關注 Ruby 效能的全新時代。 + +## `RubyVM::AbstractSyntaxTree` [ 實驗性質 ] + +Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模組。 **無法保證此模組的未來相容性** + +此模組擁有 `parse` 方法,解析給予的 Ruby 程式碼字串並回傳抽象語法樹 AST(Abstract Syntax Tree)節點,以及解析給予 Ruby 程式碼檔案並回傳 AST 節點的 `parse_file` 方法。 + +同樣也引入了 `RubyVM::AbstractSyntaxTree::Node` 類別,您可以從 `Node` 物件中獲取位置訊息和子節點,此功能為實驗性質。 + +## 其他注目的新功能 + +* 新增一個別名 `then` 到 `Kernel#yield_self` 中。[[Feature #14594]](https://bugs.ruby-lang.org/issues/14594) + +* 常數名稱可以非 ASCII 大寫字母開頭。[[Feature #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 無盡範圍 [[Feature #12912]](https://bugs.ruby-lang.org/issues/12912) + + 引入了無盡範圍 `(1..)`,如同無止盡般的運作,下面列出幾個典型的例子: + + ary[1..] # 與 ary[1..-1] 完全相同,少了神奇的 -1 + (1..).each {|index| ... } # 從 index 1 開始無限循環 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 `Enumerable#chain` 和 `Enumerator#+`。[[Feature #15144]](https://bugs.ruby-lang.org/issues/15144) + +* 為 `Proc` 和 `Method` 新增函式組合運算子 `<<` 和 `>>`。[[Feature #6284]](https://bugs.ruby-lang.org/issues/6284) + + f = proc{|x| x + 2} + g = proc{|x| x * 3} + (f << g).call(3) # -> 11; 與 f(g(3)) 相同 + (f >> g).call(3) # -> 15; 與 g(f(3)) 相同 + +* 新增 `Binding#source_location`。[[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + 此方法回傳 binding 的原始碼路徑,為一個兩個元素的陣列 `__FILE__` 和 `__LINE__`。照理來說,`eval("[__FILE__, __LINE__]", binding)` 可以獲取相同的訊息,但我們打算改變這種情況以便 `Kernel#eval` 忽略 binding 的原始碼路徑 [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352)。因此,我們建議應使用 `Binding#source_location` 來取代 `Kernel#eval`。 + +* 新增 `exception:` 選項讓 `Kernel.#system` 在錯誤時引發例外處理而非回傳 `false`。[[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* 為 `Coverage` 新增 oneshot 模式。[[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + + * 此模式會檢查「每一行原始碼至少被執行一次」,而不是「每行原始碼被執行了幾次」。每行原始碼的 hook 至多被調用一次,並會在調用後將 hook 移除。換句話說,移除後的程式運行時不會有額外的效能負擔。 + * 為 `Coverage.start` 方法新增 `:oneshot_lines` 參數。 + * 為 `Coverage.result` 方法新增 `:stop` 和 `:clear` 參數。若 `clear` 設爲 true,它會重置計數器。若 `stop` 設爲 true。它會禁用覆蓋測量。 + * 新增 `Coverage.line_stub`,其爲原始碼新建行數覆蓋存根(stub)提供了一個簡單的幫助函式。 + +* 新增 `FileUtils#cp_lr`。如同 `cp_r` 運作,但使用連結取代複製。[[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 效能提升 + +* 提升 `Proc#call` 的速度,因為我們不需要再顧慮 `$SAFE` 了。[[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + 透過 `lc_fizzbuzz` 大量使用 `Proc#call` 的測試,我們測得了 1.4 倍效能提升。[[Bug #10212]](https://bugs.ruby-lang.org/issues/10212) + +* 提升了當 `block` 為 block 參數時 `block.call` 的效能。[[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + 結合了 Ruby 2.5 引入的 block 傳遞效能進步成果,現在 Ruby 2.6 更進一步提升傳遞 block 的呼叫效能,讓我們在 micro-benchmark 中,測得了 2.6 倍的效能提升。[[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + +* 引入了瞬態堆積(`theap`)。[[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + + `theap` 是用來管理短生命週期的指向特定類別(`Array`、`Hash`、`Object` 和 `Struct`)指標的堆積。舉例來說,新建小而短生命週期的 Hash 物件的效能提升了 2x。藉由 rdoc benchmark,我們測得了 6%-7% 的效能提升。 + +* 協程(coroutines)的原生實作 (`arm32`, `arm64`, `ppc64le`, `win32`, `win64`, `x86`, `amd64`) 顯著提升 Fiber 的上下文交換效能。[[Feature #14739]](https://bugs.ruby-lang.org/issues/14739) + + `Fiber.yield` 與 `Fiber#resume` 在 64 位元的 Linux 上提升了五倍的效能。對於密集使用 Fiber 的應用程序會有最高 5% 的性能提升。 + +## 自 2.5 起重要的變化 + +* `$SAFE` 成為了 Process 全域狀態,我們可以再次將其設為 `0`。[[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* 不再建議將 `safe_level` 參數傳遞給 `ERB.new` 的行為。`trim_mode` 和 `eoutvar` 參數被轉換成關鍵字參數。[[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 將支援的 Unicode 版本升級至 11。我們計劃在 2.6 的小版本更新中升至 12 和 12.1 版本,包含對於[新日本年號](http://blog.unicode.org/2018/09/new-japanese-era.html)的支援。 + +* 合併 RubyGems 3.0.1。`--ri` 和 `--rdoc` 選項已被移除。請改用 `--document` 和 `--no-document` 選項。 + +* [Bundler](https://github.com/bundler/bundler) 現已作爲預設的 gems。 + +* 在例外處理區塊中,不含 `rescue` 的 `else` 將會引起語法錯誤。[實驗性質][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +請參考[新聞](https://github.com/ruby/ruby/blob/v2_6_0/NEWS)或[提交紀錄](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0)來進一步了解。 + +自 Ruby 2.5.0 以來,共計有 [6437 個文件變更,231471 行增加 (+),98498 行刪減 (-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0)! + +聖誕快樂,佳節愉快,並且和 Ruby 2.6 一起享受編程吧! + +## 下載 + +* + + SIZE: 16687800 bytes + SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 + SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdcedf0ff3eba51b9afab907e7e1ac243475772f8688382 + +* + + SIZE: 20582054 bytes + SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 + SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f30ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + +* + + SIZE: 14585856 bytes + SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 + SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 + SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 + +* + + SIZE: 11918536 bytes + SHA1: 9ddaeba3505d2855460c8c653159fc0ac8928c0f + SHA256: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f + SHA512: c56eaf85ef7b79deb34ee4590b143c07f4fc83eb79775290761aee5a7c63374659613538a41f25706ed6e19e49d5c67a1014c24d17f29948294c7abd0b0fcea8 From 5e68a22ff611c1a47d893009c32946c5fb2bd2dc Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 22 Jan 2019 10:52:00 +0700 Subject: [PATCH 0354/2563] Translate the official ruby snap news post (id) (#1919) --- id/news/_posts/2018-11-08-snap.md | 65 +++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 id/news/_posts/2018-11-08-snap.md diff --git a/id/news/_posts/2018-11-08-snap.md b/id/news/_posts/2018-11-08-snap.md new file mode 100644 index 0000000000..ccc326315c --- /dev/null +++ b/id/news/_posts/2018-11-08-snap.md @@ -0,0 +1,65 @@ +--- +layout: news_post +title: Ruby snap resmi tersedia +author: Hiroshi SHIBATA +translator: "meisyal" +date: 2018-11-08 14:58:28 +0000 +lang: id +--- + +Kami telah merilis *snap package* dari bahasa Ruby yang resmi. + + + +Snap adalah sebuah *package system* yang dikembangkan oleh Canonical. Snap +memperbolehkan Anda untuk mendistribusikan sebuah perangkat lunak beserta +*dependency*-nya untuk banyak sistem Linux yang berbeda. Ini memecahkan +masalah pengguna yang tidak dapat memasang Ruby terbaru dari *default +repository* yang ada di sistem mereka, seperti `rpm` atau `apt`. + +Pada Ubuntu 16.04 atau setelahnya, Anda dapat memasang Ruby snap dengan +perintah berikut: + +``` +sudo snap install ruby --classic +``` + +(Jika Anda menggunakan distribusi Linux lainnya, mohon merujuk ke +.) + +snap kami menggunakan fitur "channel" untuk merilis banyak rangkaian Ruby +secara bersamaan. Sebagai contoh, tanpa menentukan sebuah channel, Ruby 2.5.3 +saat ini akan dipasang. Tetapi, jika Anda ingin menggunakan Ruby 2.4, +tentukan channel 2.4 sebagai berikut: + +``` +sudo snap install ruby --classic --channel=2.4/stable +``` + +Anda juga dapat menggunakan banyak channel. Perintah berikut mengalihkan ke +Ruby 2.3: + +``` +sudo snap switch ruby --channel=2.3/stable +sudo snap refresh +``` + +snap kami menetapkan *environment variable* `GEM_HOME` dan `GEM_PATH` +ke `$HOME/.gem`. +Sehingga, jika Anda ingin mengeksekusi perintah yang dipasang oleh gem, +seperti `rails` dan `rspec`, tanpa menggunakan `bundle exec`, Anda harus +menambahkan baris berikut pada berkas shell rc Anda (seperti `.bashrc`): + +``` +eval `ruby.env` +``` + +Karena `$HOME/.gem` dibagi ke banyak versi, jika Anda beralih versi dan +menggunakannya, Anda butuh untuk *recompile C extension* menggunakan perintah +`gem pristine --extensions`. + +Versi awal dari snap Ruby telah dirilis selama Snapcraft *summit* yang +diadakan di kantor Canonical London pada 6 - 8 November 2018. Umpan balik +apapun dapat dikirim ke . + +Nikmati! From a35bad79ec90e4b8a281614d95a6028ce6b9e708 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sun, 30 Dec 2018 15:16:39 +0700 Subject: [PATCH 0355/2563] Translate 2019 Fukuoka Ruby Award Competition post (id) --- .../2018-11-29-fukuoka-ruby-award-2019.md | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 id/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md diff --git a/id/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/id/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md new file mode 100644 index 0000000000..ce5b5d8806 --- /dev/null +++ b/id/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -0,0 +1,76 @@ +--- +layout: news_post +title: "2019 Fukuoka Ruby Award Competition - Peserta akan dinilai oleh Matz" +author: "Fukuoka Ruby" +translator: "meisyal" +date: 2018-11-29 00:00:00 +0000 +lang: id +--- + +Penggemar Ruby terhormat, + +Pemerintah Fukuoka, Jepang, bersama dengan "Matz" Matsumoto ingin mengundang +Anda untuk mengikuti kompetisi Ruby berikut. Jika Anda pernah mengembangkan +sebuah program Ruby yang menarik, dianjurkan untuk mengikuti kompetisi ini. + +2019 Fukuoka Ruby Award Competition - Hadiah Utama - 1 Juta Yen! + +Batas akhir pendaftaran: 31 Januari 2019 + +![Fukuoka Ruby Award](http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/fukuokarubyaward2017.png) + +Matz dan sebuah grup panelis akan memilih pemenang kompetisi ini. Hadiah utama +dari kompetisi ini adalah 1 juta Yen. Hadiah pemenang sebelumnya termasuk +*Rhomobile* (USA) dan APEC *Climate Center* (Korea). + +[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) + +Program-program yang masuk di kompetisi ini tidak harus sepenuhnya ditulis +dalam bahasa Ruby, tetapi harus mengambil kemudahan dari karakteristik unik +yang diberikan oleh Ruby. + +Proyek harus dikembangkan atau diselesaikan selama 12 bulan untuk memenuhi +persyaratan. Silakan kunjungi laman Fukuoka berikut untuk detail lebih lanjut +atau pengajuan: + +[http://www.digitalfukuoka.jp/events/185](http://www.digitalfukuoka.jp/events/185) +atau +[http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/](http://myfukuoka.com/events/2019-fukuoka-ruby-award-guidelines-for-applicants/) + +[http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc](http://www.digitalfukuoka.jp/uploads/event_detail/file/465/RubyAward_ApplicationForm_2019.doc) + +Silakan kirim formulir pengajuan ke award@f-ruby.com + +Tahun ini, ada beberapa hadiah spesial sebagai berikut: + +Pemenang *AWS Prize* akan menerima: + +* *Amazon Echo* (dapat berubah sewaktu-waktu) +* *AWS architect technical consultation* + +Pemenang *GMO Pepabo Prize* akan menerima: + +* layanan *shared hosting Lolipop!*: 10 tahun gratis berlangganan *Standard + Plan* atau kupon 100,000 Yen untuk *metered plan* dari *Managed Cloud* +* layanan registrasi DNS *Muumuu Domain*: 10 tahun gratis berlangganan satu + domain (untuk sebuah domain berharga 10,000 Yen atau kurang per tahun) + +Pemenang *IIJ GIO Prize* akan menerima: + +* kupon gratis *IIJ GIO* senilai 500,000 Yen (hingga 6 bulan) + +Pemenang *Money Forward Prize* akan menerima: + +* makan malam dengan Ruby *committer* dari *Money Forward*. +* sebuah tiket gratis 10 tahun menggunakan layanan premium manajemen finansial + pribadi "Money Forward". + +Pemenang *Salesforce Prize* akan menerima: + +* salesforce.com *novelty goods* + +"Matz akan mengetes dan mengulas program dari kode sumber Anda secara seksama, +sehingga ini sangat berarti untuk mengajukan! Kompetisi ini gratis untuk +diikuti." + +Terima kasih. From 37b9f9bf4b8331d0d63cd9a12cb6f9f62aa70dfd Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Wed, 23 Jan 2019 10:52:47 +0900 Subject: [PATCH 0356/2563] Translate 2.6.0 Released Post (zh_cn) (#1927) --- .../_posts/2018-12-25-ruby-2-6-0-released.md | 142 ++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 zh_cn/news/_posts/2018-12-25-ruby-2-6-0-released.md diff --git a/zh_cn/news/_posts/2018-12-25-ruby-2-6-0-released.md b/zh_cn/news/_posts/2018-12-25-ruby-2-6-0-released.md new file mode 100644 index 0000000000..1b9746cfaf --- /dev/null +++ b/zh_cn/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -0,0 +1,142 @@ +--- +layout: news_post +title: "Ruby 2.6.0 已发布" +author: "naruse" +translator: "Delton Ding" +date: 2018-12-25 00:00:00 +0000 +lang: zh_cn +--- + +我们高兴地宣布 Ruby 2.6.0 已发布。 + +Ruby 2.6.0 引入了许多新特性以及性能提升,其中最值得瞩目的是: + + * 全新的 JIT 编译器 + * `RubyVM::AbstractSyntaxTree` 模块 + +## JIT [实验性] + +Ruby 2.6 引入了 JIT (Just-in-time) 编译器的初始实现。 + +JIT 编译器旨在提升任何 Ruby 程序的执行速度。不同于其他语言中常见的 JIT 编译器,Ruby 的 JIT 编译器进行 JIT 编译的过程非常独特。其将生成的 C 代码打印至磁盘并 spawn 常见的 C 编译器进行代码的生成工作。详见:[Vladimir Makarov 的 MJIT 组织](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization)。 + +如何使用:在命令行或 `$RUBYOPT` 环境变量中指定 `--jit` 参数。指定 `--jit-verbose=1` 将允许打印 JIT 编译过程中的调试信息。详见 `ruby --help` 查看更多其他选项。 + +JIT 编译器需要在 Ruby 由 GCC、Clang 或 Microsoft VC++ 编译后,编译器仍可被运行时发现时才可用。 + +Ruby 2.6.0-rc1 在使用 CPU 密集型场景下的复杂 Benchmark Optcarrot 进行测试后,比起 Ruby 2.5 取得了 [1.7 倍的性能提升](https://gist.github.com/k0kubun/d7f54d96f8e501bbbc78b927640f4208)。然而,许多内存密集型场景(例如 Rails)可能暂时无法从中获益。你可以查看 [Ruby 2.6 JIT - 进展与未来(英文)](https://medium.com/@k0kubun/ruby-2-6-jit-progress-and-future-84e0a830ecbf)来了解更多详情。 + +请保持对 Ruby 新时代性能的关注。 + +## RubyVM::AbstractSyntaxTree [试验性] + +Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模块。**但对于 AST 节点的向后兼容性不做保证。** + +此模块提供 `parse` 方法,传入 Ruby 代码字符串,返回 AST(抽象语法树)节点。而 `parse_file` 方法则接受一个 Ruby 代码文件作为参数,返回 AST 节点。 + +同时引入了 `RubyVM::AbstractSyntaxTree::Node` 类,你可以从 `Node` 对象中获取位置信息和子节点。此功能尚处于实验性质。 + +## 其它新特性 + +* 为 `Kernel#yield_self` 添加了新别名 `then`。[[功能 #14594]](https://bugs.ruby-lang.org/issues/14594) + +* 常量名现在可以以非 ASCII 大写字母开头。[[功能 #13770]](https://bugs.ruby-lang.org/issues/13770) + +* 无限范围 [[功能 #12912]](https://bugs.ruby-lang.org/issues/12912) + + 引入了无限范围 `(1..)`。这个范围没有终点,以下是使用场景的举例。 + + ary[1..] # 等价于 ary[1..-1] 而不需要魔法的 -1 + (1..).each {|index| ... } # 从 1 开始的无限循环 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* 新增 `Enumerable#chain` 与 `Enumerator#+` [[功能 #15144]](https://bugs.ruby-lang.org/issues/15144) + +* 为 `Proc` 和 `Method` 新增了函数构造操作符 `<<` 与 `>>`。 [[功能 #6284]](https://bugs.ruby-lang.org/issues/6284) + + f = proc{|x| x + 2} + g = proc{|x| x * 3} + (f << g).call(3) # -> 11; identical to f(g(3)) + (f >> g).call(3) # -> 15; identical to g(f(3)) + +* 新增 `Binding#source_location`。[[功能 #14230]](https://bugs.ruby-lang.org/issues/14230) + + 此方法以一个二元组数组 `__FILE__` 和 `__LINE__` 的形式返回 binding 的源代码路径。传统上,这可以通过执行 `eval("[__FILE__, __LINE__]", binding)` 来获得相同的数据。但我们计划改变这一行为让 `Kernel#eval` 忽略 `binding` 的源代码路径 [[漏洞 #4352]](https://bugs.ruby-lang.org/issues/4352)。所以,用户需要通过新加入的方法来替代之前的 `Kernel#eval`。 + +* 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) + +* 新增 oneshot 模式 [[功能 #15022]](https://bugs.ruby-lang.org/issues/15022) + * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 + * 为 `Coverage.start` 方法新增 `:oneshot_lines` 关键字参数。 + * 为 `Coverage.result` 方法新增 `:stop` 和 `:clear` 关键字参数。如果 `clear` 被设置为 true,它会清空计数器。如果 `stop` 被设置为 true,它会禁用覆盖测量。 + * 新增 `Coverage.line_stub`,其为从源代码新建代码覆盖存根(stub)提供了一个简单的帮助函数。 + +* `FileUtils#cp_lr`。[[功能 #4189]](https://bugs.ruby-lang.org/issues/4189) + +## 性能提升 + +* 由于移除了对 `$SAFE` 临时赋值的支持,提升 `Proc#call` 的速度。[[功能 #14318]](https://bugs.ruby-lang.org/issues/14318) + + 通过 `lc_fizzbuzz` 多次使用 `Proc#call` 的 benchmark 我们测量到了 1.4 倍性能提升 [[漏洞 #10212]]((https://bugs.ruby-lang.org/issues/10212))。 + +* 提升了当 `block` 是代码块参数时 `block.call` 的性能。[[功能 #14330]]((https://bugs.ruby-lang.org/issues/14330)) + + 通过与 Ruby 2.5 中引入的提升代码块传递的性能的方法结合,Ruby 2.6 进一步提升了传递代码块调用时的性能。通过 micro-benchmark 我们观察到了 2.6 倍性能提升。[[功能 #14045]](https://bugs.ruby-lang.org/issues/14045) + +* 引入了瞬态堆 (theap)。 [[漏洞 #14858]](https://bugs.ruby-lang.org/issues/14858) [[功能 #14989]](https://bugs.ruby-lang.org/issues/14989) + + 瞬态堆是用于管理指向特定类(Array、Hash、Object 和 Struct)短生命周期内存对象的堆。例如,创建小而短生命周期的哈希对象的速度提升到了 2 倍快。根据 rdoc benchmark,我们观察到了 6% 到 7% 的性能提升。 + +* 协程采用了原生实现(`arm32`、`arm64`、`ppc64le`、`win32`、`win64`、`x86`、`amd64`)显著提升了 Fiber 的性能。 [[功能 #14739]](https://bugs.ruby-lang.org/issues/14739) + + `Fiber.yield` 与 `Fiber#resume` 方法在 64 位 Linux 上提升了 5 倍性能。对于使用 Fiber 密集的程序,约有最高 5% 的性能提升。 + +## 其它自 2.5 以来值得注意的新特性 + +* `$SAFE` 成为了进程全局状态,我们可以再次将其设为 `0`。[[功能 #14250]](https://bugs.ruby-lang.org/issues/14250) + +* 不再建议将 `safe_level` 参数传递给 `ERB.new` 的行为。`trim_mode` 和 `eoutvar` 参数被转换成了关键词参数。[[功能 #14256]](https://bugs.ruby-lang.org/issues/14256) + +* 升级支持的 Unicode 版本至 11。我们计划在未来 Ruby 2.6 的小更新中升级至 12 和 12.1。其将引入新的[日本年号](http://blog.unicode.org/2018/09/new-japanese-era.html)。 + +* 合并 RubyGems 3.0.1,`--ri` 和 `--rdoc` 选项已被移除。请使用 `--document` 和 `--no-document` 选项来替代他们。 + +* 合并 [Bundler](https://github.com/bundler/bundler) 作为默认 gem。 + +* 不含 `rescue` 的 `else` 现在会引起语法错误。[实验性][[功能 #14606]](https://bugs.ruby-lang.org/issues/14606) + +见 [NEWS](https://github.com/ruby/ruby/blob/v2_6_0/NEWS) 或 [提交日志](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0) 以查看详情。 + +这些合并后,自 Ruby 2.5.0 已发生了 [6437 个文件变更,231471 行新增(+),98498 行删除(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0)! + +圣诞快乐!享受你 Ruby 2.6 的编程之旅吧! + +## 下载 + +* + + SIZE: 16687800 bytes + SHA1: c95f4e86e21390270dad3ebb94491fd42ee2ce69 + SHA256: f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072 + SHA512: 01f886b0c0782a06315c4a46414e9f2b66ee634ba4349c8e0697f511793ae3c56d2ad3cad6563f2b0fdcedf0ff3eba51b9afab907e7e1ac243475772f8688382 + +* + + SIZE: 20582054 bytes + SHA1: a804e63d18da12107e1d101918a3d8f4c5462a27 + SHA256: 8a4fb6ca58202495c9682cb88effd804398bd0ef023e3e36f001ca88d8b5855a + SHA512: 16d66ec4a2c6a2e928d5b50e094a5efa481ac6e4d5ed77459d351ef19fe692aa59b68307e3e25229eec5f30ae2f9adae2663bafe9c9d44bfb45d3833d77839d4 + +* + + SIZE: 14585856 bytes + SHA1: b8638eb806efbf7b6af87b24ccc6ad915f262318 + SHA256: c89ca663ad9a6238f4b1ec4d04c7dff630560c6e6eca6d30857c4d394f01a599 + SHA512: ca3daf9acf11d3db2900af21b66231bd1f025427a9d2212b35f6137ca03f77f57171ddfdb99022c8c8bcd730ff92a7a4af54e8a2a770a67d8e16c5807aa391f1 + +* + + SIZE: 11918536 bytes + SHA1: 9ddaeba3505d2855460c8c653159fc0ac8928c0f + SHA256: acb00f04374899ba8ee74bbbcb9b35c5c6b1fd229f1876554ee76f0f1710ff5f + SHA512: c56eaf85ef7b79deb34ee4590b143c07f4fc83eb79775290761aee5a7c63374659613538a41f25706ed6e19e49d5c67a1014c24d17f29948294c7abd0b0fcea8 From 48f03b32459bb99bf2bcbeae8373aced9208809c Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 17 Nov 2018 22:48:55 +0700 Subject: [PATCH 0357/2563] Translate Ruby 2.3.8 released news (id) --- .../_posts/2018-10-17-ruby-2-3-8-released.md | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 id/news/_posts/2018-10-17-ruby-2-3-8-released.md diff --git a/id/news/_posts/2018-10-17-ruby-2-3-8-released.md b/id/news/_posts/2018-10-17-ruby-2-3-8-released.md new file mode 100644 index 0000000000..8ab87d470a --- /dev/null +++ b/id/news/_posts/2018-10-17-ruby-2-3-8-released.md @@ -0,0 +1,59 @@ +--- +layout: news_post +title: "Ruby 2.3.8 Rilis" +author: "usa" +translator: "meisyal" +date: 2018-10-17 17:00:00 +0000 +lang: id +--- + +Ruby 2.3.8 telah dirilis. + +Rilis ini mencakup beberapa perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk lebih detail. + +* [CVE-2018-16396: Penanda tercemar tidak disebarkan ke Array#pack dan String#unpack dengan beberapa arahan](/id/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/) +* [CVE-2018-16395: Pemeriksaan kesetaraan OpenSSL::X509::Name tidak berfungsi dengan benar](/id/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/) + +Rilis ini juga mencakup sebuah perbaikan yang tidak berhubungan dengan keamanan +untuk mendukung Visual Studio 2014 dengan Windows 10 October 2018 Update untuk +alasan perawatan. + +Ruby 2.3 saat ini berada pada fase perawatan keamanan hingga akhir bulan Maret +2019. Setelah tanggal tersebut, perawatan Ruby 2.3 akan berakhir. Kami +merekomendasikan Anda untuk mulai merencanakan migrasi ke versi Ruby terbaru, +seperti 2.5 atau 2.4. + +## Unduh + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2) + + SIZE: 14418609 bytes + SHA1: 91b31abdba00a346c155fd32bd32d3cec3b73bc4 + SHA256: 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c + SHA512: 6d79e0d25757fd37188a8db3e630a52539bce7927fcb779a2ce9a97b9e5f330753035c16843552f1a1fb6c9a1e5c0f916b3cc8b5c0bfe81e20f35f8442e40ae8 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.gz) + + SIZE: 17858806 bytes + SHA1: 69311991a9cd2c8e3c86a0dbbaaf915ae91f0bec + SHA256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf + SHA512: 43b02f2f9de6baf281f09a49fd07367127b4de1fb14473380d06bfa7667990d8f722ae2d33cf7d15b02f7e799515f21aebd308897c4c2a5461ebab4049d6c7ef + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.xz) + + SIZE: 11465792 bytes + SHA1: 9771acdad851bbf0ef349bb7da5d0ffc91a860ed + SHA256: 910f635d84fd0d81ac9bdee0731279e6026cb4cd1315bbbb5dfb22e09c5c1dfe + SHA512: 06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095 + +* [https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip](https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.zip) + + SIZE: 19911652 bytes + SHA1: ad9e0ec7c874701832c9e224eb5b9e2258f3a041 + SHA256: ec9792d0473a22954ad25cd0c531fc672679c1a5eaeefa08caf9e1288852796f + SHA512: 732d69cd55f1c273a02005306720fd8fc9d77398177db9509452be31820976b54b30319d9e6bc36fb6bcd7af656f807ef6c26d8955012c8b20424912a2f51bf8 + +## Komentar Rilis + +Terima kasih kepada semua yang telah membantu rilis ini. From fe09aedecd335e1ea31fca29f25eafac2bff4d04 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Fri, 30 Nov 2018 06:24:14 +0700 Subject: [PATCH 0358/2563] Translate Ruby 2.5.3 released news (id) --- .../_posts/2018-10-18-ruby-2-5-3-released.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 id/news/_posts/2018-10-18-ruby-2-5-3-released.md diff --git a/id/news/_posts/2018-10-18-ruby-2-5-3-released.md b/id/news/_posts/2018-10-18-ruby-2-5-3-released.md new file mode 100644 index 0000000000..b180df59df --- /dev/null +++ b/id/news/_posts/2018-10-18-ruby-2-5-3-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 2.5.3 Rilis" +author: "nagachika" +translator: "meisyal" +date: 2018-10-18 12:30:00 +0000 +lang: id +--- + +Ruby 2.5.3 telah dirilis. + +Ada beberapa berkas yang hilang di dalam *package* rilis 2.5.2 yang mana +dibutuhkan untuk membangun. +Lihat detail di [[Bug #15232]](https://bugs.ruby-lang.org/issues/15232). + +Rilis ini hanya memperbaiki masalah *package*. +Tidak berisi perbaikan *bug* tambahan dari 2.5.2. + +## Unduh + +* + + SIZE: 14159874 bytes + SHA1: d47ede7dab79de25fcc274dfcad0f92f389a4313 + SHA256: 228a787ba68a7b20ac6e1d5af3d176d36e8ed600eb754d6325da341c3088ed76 + SHA512: 6fe89fe9d406bb454457442f908774577369ab2501da4fd15725ccbab77675b88faad739a6c8ad1c7b6690b439a27de5e08035b7546406cdeca65c7b295e2c77 + +* + + SIZE: 15972577 bytes + SHA1: f919a9fbcdb7abecd887157b49833663c5c15fda + SHA256: 9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c + SHA512: d13dc55655076f7d983481155cccc06eb51c51c8eabfc3edcc22e1dabad931eb28c0b2a23d9589b5132faf18c3c0077f8719cf33a91d71bb72213d306edde1a0 + +* + + SIZE: 11453336 bytes + SHA1: 5acbdea1ced1e36684268e1cb6f8a4e7669bce77 + SHA256: 1cc9d0359a8ea35fc6111ec830d12e60168f3b9b305a3c2578357d360fcf306f + SHA512: 6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518 + +* + + SIZE: 19170700 bytes + SHA1: c34a5a47d5ac64ef25368b5dffc3df2854531d7a + SHA256: 622ffa051470e967f3e51cc6347783e93d9b09a4557d4f5a78efb87b959f87a3 + SHA512: 7807641e65516670dc10426364a3d45ecfb65555827e551b4a595bad373e1292797414abf0f67bed5d66815090afe6a6a3e3e29f8b7dbc4da462c43a3e8791b6 + +## Komentar Rilis + +Banyak *committers*, pengembang, dan pengguna yang menyediakan laporan *bug* +telah membantu kami membuat rilis ini. +Terima kasih atas kontribusinya. + +Khususnya untuk wanabe yang melaporkan masalah *package* 2.5.2. From 537ababb6206a37a76188eeab030773b74570c91 Mon Sep 17 00:00:00 2001 From: miyohide Date: Sun, 27 Jan 2019 09:28:42 +0900 Subject: [PATCH 0359/2563] Add posts about Rubima 0059 published (ja) RubiMa Editors have released Rubyist Magazine 0059 (in japanese). --- ...9-01-27-rubyist-magazine-0059-published.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ja/news/_posts/2019-01-27-rubyist-magazine-0059-published.md diff --git a/ja/news/_posts/2019-01-27-rubyist-magazine-0059-published.md b/ja/news/_posts/2019-01-27-rubyist-magazine-0059-published.md new file mode 100644 index 0000000000..23d58ca7f9 --- /dev/null +++ b/ja/news/_posts/2019-01-27-rubyist-magazine-0059-published.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "Rubyist Magazine 0059号 発行" +author: "miyohide" +translator: +date: 2019-01-27 09:30:00 +0000 +lang: ja +--- +[日本Rubyの会][1]有志による、ウェブ雑誌[Rubyist Magazine][2]の[0059号][3]がリリースされました([\[ruby-list:50745\]][4])。 +今号は、 + +* [巻頭言](https://magazine.rubyist.net/articles/0059/0059-ForeWord.html) +* [RubyistのためのフロントエンドフレームワークOvto](https://magazine.rubyist.net/articles/0059/0059-Ovto.html) +* [mruby/cで始めるオリジナルIoTデバイス作り](https://magazine.rubyist.net/articles/0059/0059-original_mrubyc_iot_device.html) +* [RubyとRailsの学習ガイド2019年版](https://magazine.rubyist.net/articles/0059/0059-Ruby-Rails-Beginners-Guide.html) +* [書籍紹介『現場で使えるRuby on Rails5速習実践ガイド』](https://magazine.rubyist.net/articles/0059/0059-genba-rails.html) +* [RegionalRubyKaigi レポート (70) 沖縄 Ruby 会議 02](https://magazine.rubyist.net/articles/0059/0059-OkinawaRubyKaigi02Report.html) +* [RegionalRubyKaigi レポート (71) TokyuRuby 会議 12](https://magazine.rubyist.net/articles/0059/0059-TokyuRubyKaigi12Report.html) +* [RegionalRubyKaigi レポート (72) 大江戸 Ruby 会議 07](https://magazine.rubyist.net/articles/0059/0059-OedoRubyKaigi07Report.html) +* [Rails Girls Tokyo 10th レポート](https://magazine.rubyist.net/articles/0059/0059-RailsGirlsTokyo10th.html) +* [Rails Girls Sendai 1st 開催レポート](https://magazine.rubyist.net/articles/0059/0059-RailsGirlsSendai1stReport.html) + + という構成となっています。 + お楽しみください。 + +[1]: https://ruby-no-kai.org/ +[2]: https://magazine.rubyist.net/ +[3]: https://magazine.rubyist.net/articles/0059/0059-index.html +[4]: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/50745 From 2d90aff31c27614ed715bf4faf759ebfd47a452d Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Wed, 30 Jan 2019 20:01:05 +0900 Subject: [PATCH 0360/2563] Ruby 2.6.1 Released --- _data/downloads.yml | 2 +- _data/releases.yml | 14 ++++++ .../_posts/2019-01-30-ruby-2-6-1-released.md | 49 +++++++++++++++++++ .../_posts/2019-01-30-ruby-2-6-1-released.md | 43 ++++++++++++++++ 4 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2019-01-30-ruby-2-6-1-released.md create mode 100644 ja/news/_posts/2019-01-30-ruby-2-6-1-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 9392a60cf2..994e336d29 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -7,7 +7,7 @@ preview: stable: - - 2.6.0 + - 2.6.1 - 2.5.3 - 2.4.5 diff --git a/_data/releases.yml b/_data/releases.yml index d3d175a5e3..23fe0818b9 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,20 @@ # 2.6 series +- version: 2.6.1 + date: 2019-01-30 + post: /en/news/2019/01/30/ruby-2-6-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.zip + bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.tar.bz2 + xz: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.tar.xz + sha256: + gz: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 + zip: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 + bz2: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 + xz: 47b629808e9fd44ce1f760cdf3ed14875fc9b19d4f334e82e2cf25cb2898f2f2 + - version: 2.6.0 date: 2018-12-25 post: /en/news/2018/12/25/ruby-2-6-0-released/ diff --git a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md new file mode 100644 index 0000000000..83169c88d5 --- /dev/null +++ b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 2.6.1 Released" +author: "naruse" +translator: +date: 2019-01-30 00:00:00 +0000 +lang: en +--- + +Ruby 2.6.1 has been released. + +This release includes some bug fixes. + + +There are also some bug fixes. +See [commit logs](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1) for more details. + +## Download + +* + + SIZE: 16742207 bytes + SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 + SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 + SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 +* + + SIZE: 20595342 bytes + SHA1: 6fd14990dc411eb58852324d45b29f84d580644d + SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 + SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 +* + + SIZE: 14561930 bytes + SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 + SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 + SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 +* + + SIZE: 11872964 bytes + SHA1: ba5f4338bb642e3836dd80b73a9df0d1b6e079ae + SHA256: 47b629808e9fd44ce1f760cdf3ed14875fc9b19d4f334e82e2cf25cb2898f2f2 + SHA512: fb36289a955f0596c683cdadf1e4a9a9fd35222b1e1c6160c2e7cd82e5befd40a7aa4361e55f7a8f83c06ee899ec493821c7db34a60c4ac3bca0e874d33ef1a9 + +## Release Comment + +Many committers, developers, and users who provided bug reports helped +us to make this release. +Thanks for their contributions. diff --git a/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md b/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md new file mode 100644 index 0000000000..3288a99f09 --- /dev/null +++ b/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 2.6.1 リリース" +author: "naruse" +translator: +date: 2019-01-30 00:00:00 +0000 +lang: ja +--- + +Ruby 2.6.1 がリリースされました。 + +その他いくつかの不具合修正も含まれます。詳細は [commit log](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1) を参照してください。 + +## ダウンロード + +* + + SIZE: 16742207 bytes + SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 + SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 + SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 +* + + SIZE: 20595342 bytes + SHA1: 6fd14990dc411eb58852324d45b29f84d580644d + SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 + SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 +* + + SIZE: 14561930 bytes + SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 + SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 + SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 +* + + SIZE: 11872964 bytes + SHA1: ba5f4338bb642e3836dd80b73a9df0d1b6e079ae + SHA256: 47b629808e9fd44ce1f760cdf3ed14875fc9b19d4f334e82e2cf25cb2898f2f2 + SHA512: fb36289a955f0596c683cdadf1e4a9a9fd35222b1e1c6160c2e7cd82e5befd40a7aa4361e55f7a8f83c06ee899ec493821c7db34a60c4ac3bca0e874d33ef1a9 + +## リリースコメント + +このリリースにあたり、多くのコミッター、開発者、バグ報告をしてくれたユーザーの皆様に感謝を申し上げます。 From 5b4396bebd59e7aa5b5f7106d5d25d643ffc9006 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 31 Jan 2019 01:05:30 +1300 Subject: [PATCH 0361/2563] Add notable changes/fixes. --- en/news/_posts/2019-01-30-ruby-2-6-1-released.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md index 83169c88d5..ae94f9926a 100644 --- a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -9,12 +9,13 @@ lang: en Ruby 2.6.1 has been released. -This release includes some bug fixes. - +## Changes -There are also some bug fixes. +This release includes some bug fixes. See [commit logs](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1) for more details. +* [Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string](https://bugs.ruby-lang.org/issues/15468) + ## Download * From 26f8db9b88d8446efd1a99b3ab649780b89a9e98 Mon Sep 17 00:00:00 2001 From: Oshan Wisumperuma Date: Mon, 28 Jan 2019 14:52:05 +0530 Subject: [PATCH 0362/2563] Update 2018-12-25-ruby-2-6-0-released.md ruby/ruby#2058 --- en/news/_posts/2018-12-25-ruby-2-6-0-released.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md index cc5f66a3e3..3edae6e84b 100644 --- a/en/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/en/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -113,6 +113,12 @@ With those changes, [6437 files changed, 231471 insertions(+), 98498 deletions(- Merry Christmas, Happy Holidays, and enjoy programming with Ruby 2.6! +## Known Problem + +_(This section was added at January 28, 2019.)_ + +* [Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string](https://github.com/ruby/ruby/pull/2058) + ## Download * From 894ec6e7751785b782ec2cbddcb8d93cbcb6d8ae Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 31 Jan 2019 01:11:23 +1300 Subject: [PATCH 0363/2563] Hot topic first then see others. --- en/news/_posts/2019-01-30-ruby-2-6-1-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md index ae94f9926a..588d53a1e1 100644 --- a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -11,11 +11,11 @@ Ruby 2.6.1 has been released. ## Changes +* [Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string](https://bugs.ruby-lang.org/issues/15468) has been fixed. + This release includes some bug fixes. See [commit logs](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1) for more details. -* [Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string](https://bugs.ruby-lang.org/issues/15468) - ## Download * From 4bd41f0862390e3c698e9919e64afe4afe152291 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 31 Jan 2019 01:12:51 +1300 Subject: [PATCH 0364/2563] Fix formatting. --- en/news/_posts/2019-01-30-ruby-2-6-1-released.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md index 588d53a1e1..807d8bc0c4 100644 --- a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -13,8 +13,7 @@ Ruby 2.6.1 has been released. * [Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string](https://bugs.ruby-lang.org/issues/15468) has been fixed. -This release includes some bug fixes. -See [commit logs](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1) for more details. +This release includes additional bug fixes. See the [commit logs](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1) for more details. ## Download From eaf295f51ce9b7ffa29f35b02e189762efd476e9 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 31 Jan 2019 16:46:23 +0900 Subject: [PATCH 0365/2563] Translate ruby 2.6.1 release news (ko) (#1955) * Copy origin news * Translate ruby 2.6.1 release news (ko) * Update ko/news/_posts/2019-01-30-ruby-2-6-1-released.md Co-Authored-By: riseshia --- .../_posts/2019-01-30-ruby-2-6-1-released.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 ko/news/_posts/2019-01-30-ruby-2-6-1-released.md diff --git a/ko/news/_posts/2019-01-30-ruby-2-6-1-released.md b/ko/news/_posts/2019-01-30-ruby-2-6-1-released.md new file mode 100644 index 0000000000..52f0fc18fa --- /dev/null +++ b/ko/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "루비 2.6.1 릴리스" +author: "naruse" +translator: "shia" +date: 2019-01-30 00:00:00 +0000 +lang: ko +--- + +루비 2.6.1이 릴리스 되었습니다. + +## 변경점 + +* [`Net::Protocol::BufferedIO#write`가 긴 멀티바이트 문자열을 전송할 때 `NoMethodError` 에러가 발생하는 문제](https://bugs.ruby-lang.org/issues/15468)가 수정되었습니다. + +이번 릴리스는 몇몇 버그 수정 또한 포함합니다. [커밋 로그](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1)를 확인해주세요. + +## 다운로드 + +* + + SIZE: 16742207 bytes + SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 + SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 + SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 +* + + SIZE: 20595342 bytes + SHA1: 6fd14990dc411eb58852324d45b29f84d580644d + SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 + SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 +* + + SIZE: 14561930 bytes + SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 + SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 + SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 +* + + SIZE: 11872964 bytes + SHA1: ba5f4338bb642e3836dd80b73a9df0d1b6e079ae + SHA256: 47b629808e9fd44ce1f760cdf3ed14875fc9b19d4f334e82e2cf25cb2898f2f2 + SHA512: fb36289a955f0596c683cdadf1e4a9a9fd35222b1e1c6160c2e7cd82e5befd40a7aa4361e55f7a8f83c06ee899ec493821c7db34a60c4ac3bca0e874d33ef1a9 + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 신고해 준 사용자들이 이 릴리스를 만드는 데 도움을 +주었습니다. +그들의 기여에 감사드립니다. From 813f6374beb8f2cb17d577fed4c292238f7c5255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Thu, 31 Jan 2019 07:44:03 -0500 Subject: [PATCH 0366/2563] Translate Ruby 2.6.1 (es) --- .../_posts/2019-01-30-ruby-2-6-1-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 es/news/_posts/2019-01-30-ruby-2-6-1-released.md diff --git a/es/news/_posts/2019-01-30-ruby-2-6-1-released.md b/es/news/_posts/2019-01-30-ruby-2-6-1-released.md new file mode 100644 index 0000000000..0b16295ace --- /dev/null +++ b/es/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Publicado Ruby 2.6.1" +author: "naruse" +translator: "vtamara" +date: 2019-01-30 00:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 2.6.1. + +## Cambios + +* [Net::Protocol::BufferedIO#write lanza NoMethodError cuando se le envía una cadena multi-byte grande](https://bugs.ruby-lang.org/issues/15468) ha sido solucionada. + +Esta versión incluye soluciones a fallas adicionales. Ver más detalles en la +[bitácora de contribuciones](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1). + +## Descargas + +* + + SIZE: 16742207 bytes + SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 + SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 + SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 +* + + SIZE: 20595342 bytes + SHA1: 6fd14990dc411eb58852324d45b29f84d580644d + SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 + SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 +* + + SIZE: 14561930 bytes + SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 + SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 + SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 +* + + SIZE: 11872964 bytes + SHA1: ba5f4338bb642e3836dd80b73a9df0d1b6e079ae + SHA256: 47b629808e9fd44ce1f760cdf3ed14875fc9b19d4f334e82e2cf25cb2898f2f2 + SHA512: fb36289a955f0596c683cdadf1e4a9a9fd35222b1e1c6160c2e7cd82e5befd40a7aa4361e55f7a8f83c06ee899ec493821c7db34a60c4ac3bca0e874d33ef1a9 + +## Comentario sobre la versión + +Muchos contribuyentes, desarrolladores y usuarios que reportaron fallas +nos ayudaron a hacer esta versión. +Gracias por sus contribuciones. From 44dc0b0b56ba4edb9f1b6bbd79a1725c7ee25629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20G=C3=BClker?= Date: Thu, 31 Jan 2019 15:00:50 +0100 Subject: [PATCH 0367/2563] Translate 2.6.1 release post (de) --- .../_posts/2019-01-30-ruby-2-6-1-released.md | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 de/news/_posts/2019-01-30-ruby-2-6-1-released.md diff --git a/de/news/_posts/2019-01-30-ruby-2-6-1-released.md b/de/news/_posts/2019-01-30-ruby-2-6-1-released.md new file mode 100644 index 0000000000..ceae91ac6f --- /dev/null +++ b/de/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Ruby 2.6.1 veröffentlicht" +author: "naruse" +translator: "Marvin Gülker" +date: 2019-01-30 00:00:00 +0000 +lang: de +--- + +Ruby 2.6.1 ist veröffentlicht worden. + +## Änderungen + +* Der Fehler [Net::Protocol::BufferedIO#write erzeugt einen NoMethodError beim Versand von großen Multi-Byte-Strings](https://bugs.ruby-lang.org/issues/15468) wurde behoben. + +Diese Veröffentlichung enthält weitere Fehlerkorrekturen. Siehe die +[Commit-Logs](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1) +für weitere Details. + +## Download + +* + + SIZE: 16742207 bytes + SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 + SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 + SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 +* + + SIZE: 20595342 bytes + SHA1: 6fd14990dc411eb58852324d45b29f84d580644d + SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 + SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 +* + + SIZE: 14561930 bytes + SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 + SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 + SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 +* + + SIZE: 11872964 bytes + SHA1: ba5f4338bb642e3836dd80b73a9df0d1b6e079ae + SHA256: 47b629808e9fd44ce1f760cdf3ed14875fc9b19d4f334e82e2cf25cb2898f2f2 + SHA512: fb36289a955f0596c683cdadf1e4a9a9fd35222b1e1c6160c2e7cd82e5befd40a7aa4361e55f7a8f83c06ee899ec493821c7db34a60c4ac3bca0e874d33ef1a9 + +## Veröffentlichungskommentar + +Viele Commiter, Entwickler und Nutzer, die Fehler gemeldet haben, +haben uns bei dieser Veröffentlichung geholfen. +Danke für ihre Beiträge. From c38799a198ba05afc491e7852c81523a602bee87 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Fri, 1 Feb 2019 09:58:33 +0900 Subject: [PATCH 0368/2563] Translate Patch Writer's Guide (ko) (#1952) * Translate Patch Writer's Guide (ko) * Apply reviews --- .../ruby-core/writing-patches/index.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 ko/community/ruby-core/writing-patches/index.md diff --git a/ko/community/ruby-core/writing-patches/index.md b/ko/community/ruby-core/writing-patches/index.md new file mode 100644 index 0000000000..ecd3f5e786 --- /dev/null +++ b/ko/community/ruby-core/writing-patches/index.md @@ -0,0 +1,48 @@ +--- +layout: page +title: "패치 작성자를 위한 지침" +lang: ko +--- + +다음은 마츠 씨가 직접 언급한 좋은 패치를 만드는 방법입니다. +{: .summary} + +이 지침은 Ruby-Core 메일링 리스트의 [마츠 씨의 글][ruby-core-post]에서 +가져왔습니다. + +* 패치당 하나의 수정사항 구현하기 + + 이는 대부분의 보류 중인 패치들이 갖고 있는 가장 큰 문제입니다. 여러 개의 + 버그를 수정하는 (또 여러 기능을 추가하는) 패치를 한 번에 보내면, 우리는 이를 + 다시 나눠서 적용해야 합니다. 이는 바쁜 개발자에게는 상대적으로 힘든 작업이 + 되기에, 이런 유형의 패치는 자주 보류되곤 합니다. 큰 패치를 보내지 말아주세요. + +* 설명 제공하기 + + 가끔 어떤 문제를 고치는지에 대한 충분한 설명이 없는 패치가 들어오곤 합니다. 좀 + 더 나은 설명(패치가 고치는 문제점, 전제조건, 플랫폼 등)과 함께라면 패치가 더 + 일찍 병합될 수 있을 것입니다. + +* 최신 리비전 기반으로 패치 작성하기 + + 고치려는 문제가 이미 최신 리비전에서 수정되었을 수 있습니다. 코드가 완전히 + 달라졌을 수도 있습니다. 패치를 제출하기 전에 서브버전 저장소에서 최신 + 버전(최신 개발 버전은 `trunk` 브랜치, {{ site.svn.stable.version }} 버전은 + `{{ site.svn.stable.branch }}` 브랜치)을 받아 보세요. + +* `diff -u` 사용하기 + + 우리는 `diff -c`나 다른 스타일보다 `diff -u`의 unified diff 스타일의 패치를 + 선호합니다. 그게 리뷰하기 훨씬 쉽습니다. 수정한 파일을 보내지 마세요. 직접 + diff를 만들고 싶지 않습니다. + +* 테스트 케이스 추가하기(선택 사항) + + 패치가 테스트 케이스(`test/*/test_*.rb`에 패치하는 게 좋습니다)를 제공하면 + 작성자의 의도와 패치를 이해하는 데 도움이 됩니다. + +추후에는 Git 스타일 push/pull 워크플로로 옮겨갈 수 있습니다. 하지만 그 전까진 +위의 지침을 따른다면 낙심할 일을 줄일 수 있을 겁니다. + + +[ruby-core-post]: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/25139 From 966a4d221857b07e463d1e3cfe35018be1b05037 Mon Sep 17 00:00:00 2001 From: Vincent Lin Date: Fri, 1 Feb 2019 01:56:43 +0800 Subject: [PATCH 0369/2563] Translate Ruby 2.6.1 Released (zh_tw) --- .../_posts/2019-01-30-ruby-2-6-1-released.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md diff --git a/zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md b/zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md new file mode 100644 index 0000000000..d6e0addc00 --- /dev/null +++ b/zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Ruby 2.6.1 發佈" +author: "naruse" +translator: Vincent Lin +date: 2019-01-30 00:00:00 +0000 +lang: zh_tw +--- + +Ruby 2.6.1 發佈了。 + +## 變化 + +* 修復了[當傳送巨大多位元字串時 Net::Protocol::BufferedIO#write 會引發 NoMethodError](https://bugs.ruby-lang.org/issues/15468)。 + +此次發佈包含了許多錯誤修正,請參閱[提交紀錄](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1)進一步了解。 + +## 下載 + +* + + SIZE: 16742207 bytes + SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 + SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 + SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 +* + + SIZE: 20595342 bytes + SHA1: 6fd14990dc411eb58852324d45b29f84d580644d + SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 + SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 +* + + SIZE: 14561930 bytes + SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 + SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 + SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 +* + + SIZE: 11872964 bytes + SHA1: ba5f4338bb642e3836dd80b73a9df0d1b6e079ae + SHA256: 47b629808e9fd44ce1f760cdf3ed14875fc9b19d4f334e82e2cf25cb2898f2f2 + SHA512: fb36289a955f0596c683cdadf1e4a9a9fd35222b1e1c6160c2e7cd82e5befd40a7aa4361e55f7a8f83c06ee899ec493821c7db34a60c4ac3bca0e874d33ef1a9 + +## 發佈記 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝他們。 From 543830cccbdd82622ec6f89d648e456fc98ec065 Mon Sep 17 00:00:00 2001 From: Delton Ding Date: Mon, 4 Feb 2019 01:03:55 +0900 Subject: [PATCH 0370/2563] Translate 2.6.1 Release Post (zh_cn) --- .../_posts/2019-01-30-ruby-2-6-1-released.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md diff --git a/zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md b/zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md new file mode 100644 index 0000000000..ebeaa4e689 --- /dev/null +++ b/zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Ruby 2.6.1 发布" +author: "naruse" +translator: "Delton Ding" +date: 2019-01-30 00:00:00 +0000 +lang: zh_cn +--- + +我们高兴地宣布 Ruby 2.6.1 已发布。 + +## 变化 + +* 修复了[当 Net::Protocol::BufferedIO#write 传入过大的多字节字符串时会导致 NoMethodError](https://bugs.ruby-lang.org/issues/15468) 的错误。 + +此次发布修复了多个错误,请查看 [提交日志](https://github.com/ruby/ruby/compare/v2_4_4...v2_4_5) 以获取更多详情。 + +## 下载 + +* + + SIZE: 16742207 bytes + SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 + SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 + SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 +* + + SIZE: 20595342 bytes + SHA1: 6fd14990dc411eb58852324d45b29f84d580644d + SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 + SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 +* + + SIZE: 14561930 bytes + SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 + SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 + SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 +* + + SIZE: 11872964 bytes + SHA1: ba5f4338bb642e3836dd80b73a9df0d1b6e079ae + SHA256: 47b629808e9fd44ce1f760cdf3ed14875fc9b19d4f334e82e2cf25cb2898f2f2 + SHA512: fb36289a955f0596c683cdadf1e4a9a9fd35222b1e1c6160c2e7cd82e5befd40a7aa4361e55f7a8f83c06ee899ec493821c7db34a60c4ac3bca0e874d33ef1a9 + +## 发布记 + +许多提交者、开发者和提供漏洞报告的用户帮助我们发布了这个版本。在此感谢这些人的贡献。 From 7bf7df8695f0d79039048069035b351a243227fc Mon Sep 17 00:00:00 2001 From: Tadashi Saito Date: Thu, 31 Jan 2019 00:29:38 +0900 Subject: [PATCH 0371/2563] Add a item to sync with English version announcement of Ruby 2.6.1 --- ja/news/_posts/2019-01-30-ruby-2-6-1-released.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md b/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md index 3288a99f09..a9f1f2b8d1 100644 --- a/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -9,6 +9,8 @@ lang: ja Ruby 2.6.1 がリリースされました。 +* [大きな多バイト文字列を送ると Net::Protocol::BufferedIO#write で NoMethodError が発生する問題](https://bugs.ruby-lang.org/issues/15468) が修正されました。 + その他いくつかの不具合修正も含まれます。詳細は [commit log](https://github.com/ruby/ruby/compare/v2_6_0...v2_6_1) を参照してください。 ## ダウンロード From 9aaf816b9b354ad32875b8ec184c6d651520cf1d Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 5 Feb 2019 20:55:33 +0700 Subject: [PATCH 0372/2563] Translate Ruby 2.6.0-rc2 released news (id) --- .../2018-12-15-ruby-2-6-0-rc2-released.md | 180 ++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md diff --git a/id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md new file mode 100644 index 0000000000..804238a15c --- /dev/null +++ b/id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -0,0 +1,180 @@ +--- +layout: news_post +title: "Ruby 2.6.0-rc2 Rilis" +author: "naruse" +translator: "meisyal" +date: 2018-12-15 00:00:00 +0000 +lang: id +--- + +Kami dengan senang hati mengumumkan rilis dari Ruby 2.6.0-rc2. + +Ruby 2.6.0-rc2 adalah kandidat rilis kedua dari Ruby 2.6.0. +RC2 dirilis untuk mengetes *Bundler* 1.17 daripada 2.0 yang di-*bundle*. +Kandidat ini memperkenalkan beberapa fitur baru dan perbaikan performa, +sebagai contoh: + +## JIT + +Ruby 2.6 memperkenalkan sebuah implementasi awal dari *compiler* JIT +(Just-in-time). + +*Compiler* JIT bertujuan untuk memperbaiki performa dari program Ruby apapun +yang dieksekusi. Berbeda dengan JIT *compiler* biasanya pada bahasa pemrograman +lain, *compiler* JIT dari Ruby melakukan kompilasi JIT melalui sebuah jalan +unik, yang mencetak kode C ke sebuah *disk* dan mengeluarkan proses *compiler* +C untuk menghasilkan kode asli. +Lihat juga: [MJIT organization by Vladimir Makarov](https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#mjit-organization). + +Bagaimana cara menggunakan: Tetapkan `--jit` pada *command line* atau `$RUBYOPT` +*environment variable*. Menetapkan `--jit-verbose=1` memperbolehkan untuk +mencetak informasi dasar dari kompilasi JIT yang berjalan. Lihat `ruby --help` +untuk pilihan lainnya. + +Tujuan utama dari rilis JIT ini adalah untuk menyediakan sebuah kesempatan untuk +mengecek jika ini berjalan di *platform* Anda dan menemukan risiko keamanan +sebelum rilis 2.6. *Compiler* JIT didukung hanya ketika Ruby dibuat oleh GCC, +Clang, atau Microsoft VC++, yang mana dibutuhkan saat *runtime*. Jika +sebaliknya, Anda tidak dapat menggunakannya. + +Sampai versi 2.6.0-rc2, kami telah meraih 1.7x performa lebih cepat +dibanding Ruby 2.5 pada CPU-*intensive non-trivial benchmark workload* yang +dikenal dengan Optcarrot . +Kami akan memperbaiki performa pada *memory-intensive workload*, seperti +aplikasi Rails. + +Nantikan era baru dari performa Ruby. + +## RubyVM::AbstractSyntaxTree [Eksperimental] + +Ruby 2.6 mengenalkan modul `RubyVM::AbstractSyntaxTree`. + +Modul ini memiliki *method* `parse` yang mem-*parse string* dari kode Ruby yang +diberikan dan mengembalikan AST (Abstract Syntax Tree) *node*, dan *method* +`parse_file` yang mem-*parse* berkas dan mengembalikan AST *node*. +Kelas `RubyVM::AbstractSyntaxTree::Node` juga diperkenalkan. Anda bisa +mendapatkan informasi lokasi dan *children node* dari objek `Node`. Fitur ini +eksperimental. Kesesuaian struktur dari AST *node* tidak dijamin. + +## Fitur-fitur Baru + +* Menambahkan sebuah alias baru `then` pada `Kernel#yield_self`. [[Fitur #14594]](https://bugs.ruby-lang.org/issues/14594) + +* `else` tanpa `rescue` sekarang menyebabkan sebuah *syntax error*. [EXPERIMENTAL][[Feature #14606]](https://bugs.ruby-lang.org/issues/14606) + +* penamaan konstan bisa dimulai dengan sebuah huruf kapital non-ASCII. [[Fitur #13770]](https://bugs.ruby-lang.org/issues/13770) + +* Memperkenalkan endless range. [[Fitur #12912]](https://bugs.ruby-lang.org/issues/12912) + + Sebuah endless range, `(1..)`, diperkenalkan. Ini berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: + + ary[1..] # identik dengan ary[1..-1] tanpa magical -1 + (1..).each {|index| ... } # inifinite loop dari indeks 1 + ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } + +* Menambahkan `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) + + *Method* ini mengembalikan sumber lokasi dari *binding*, sebuah *array* dua +elemen dari `__FILE__` dan `__LINE__`. Secara tradisi, informasi yang sama +mungkin dapat diambil dengan `eval("[__FILE__, __LINE__]", binding)`, tetapi +kami sedang merencanakan untuk mengubah perilaku ini sehingga `Kernel#eval` +mengabaikan sumber lokasi *binding* [[Bug #4352]](https://bugs.ruby-lang.org/issues/4352). +Sehingga, pengguna seharusnya menggunakan *method* yang baru diperkenalkan ini +daripada `Kernel#eval`. + +* Menambahkan pilihan `:exception` agar `Kernel#system` mengeluarkan *error* +daripada mengembalikan `false`. [[Feature #14386]](https://bugs.ruby-lang.org/issues/14386) + +* Menambahkan mode *oneshot* [[Feature#15022]](https://bugs.ruby-lang.org/issues/15022) + + * Mode ini mengecek "apakah setiap baris dieksekusi minimal sekali atau tidak", +daripada "berapa banyak setiap baris dieksekusi". Sebuah *hook* untuk setiap +baris ditembakan paling banyak sekali dan setelah itu penanda *hook* dihapus, +sebagai contoh ini berjalan dengan *zero overhead*. + * Menambahkan argumen kata kunci `:oneshot_lines` pada Coverage.start. + * Menambahkan argumen kata kunci `:stop` dan `:clear` pada Coverage.result. +Jika `clear` *true* maka mengubah *counter* menjadi nol. Jika `stop` *true* +maka nonaktifkan pengukuran *coverage*. + * Coverage.line_stub, yang mana adalah sebuah fungsi pembantu yang sederhana +yang dapat membuat "stub" dari baris *coverage* dari sebuah kode sumber yang +diberikan. + +* `FileUtils#cp_lr`. [[Feature #4189]](https://bugs.ruby-lang.org/issues/4189) + +## Perbaikan performa + +* Mempercepat `Proc#call` karena kami tidak peduli `$SAFE` lagi. + [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) + + Dengan *benchmark* `lc_fizzbuzz` yang menggunakan `Proc#call` berkali-kali + kami dapat mengukur x1.4 kemajuan [[Bug #10212]](https://bugs.ruby-lang.org/issues/10212). + +* Mempercepat `block.call` di mana `block` diterima parameter *block*. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330) + + Ruby 2.5 memperbaiki performa *block passing*. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045) + + Selain itu, Ruby 2.6 memperbaiki performa dari pemanggilan *passed block*. + Dengan mikro *benchmark* kami dapat mengamati x2.6 kemajuan. + +* Transient Heap (theap) diperkenalkan. [[Bug #14858]](https://bugs.ruby-lang.org/issues/14858) [[Feature #14989]](https://bugs.ruby-lang.org/issues/14989) + + theap adalah *heap* yang diatur untuk *short-living memory object* yang + diarahkan oleh kelas tertentu (Array, Hash, Object, dan Struct). Sebagai + contoh, membuat objek Hash yang kecil dan *short-living* 2x lebih cepat. + Dengan rdoc *benchmark*, kami mengamati 6-7% kemajuan. + +## Perubahan penting lainnya sejak 2.5 + +* `$SAFE` adalah sebuah proses *state* global dan kita dapat mengatur ke `0` lagi. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250) + +* Menempatkan parameter `safe_level` ke `ERB.new` tidak berlaku lagi. Argumen +`trim_mode` dan `eoutvar` diubah menjadi argumen kata kunci. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) + +* Mendukung versi Unicode 11. Ini akan direncanakan untuk mendukung versi 12 + dan 12.1 pada rilis TEENY dari Ruby 2.6. + +* Menggabungkan RubyGems 3.0.0.beta3. Opsi `--ri` dan `--rdoc` dihapus. Mohon + gunakan opsi `--document` dan `--no-document`. + +* Menggabungkan [Bundler](https://github.com/bundler/bundler) sebagai gem + *default*. + +Lihat [NEWS](https://github.com/ruby/ruby/blob/v2_6_0_rc2/NEWS) +atau [commit logs](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) +untuk detail. + +Dengan perubahan tersebut, +[6411 berkas berubah, 228864 sisipan(+), 97600 terhapus(-)](https://github.com/ruby/ruby/compare/v2_5_0...v2_6_0_rc2) +sejak Ruby 2.5.0! + +Nikmati memprogram dengan Ruby 2.6.0-rc2! + +## Download + +* + + SIZE: 16723556 bytes + SHA1: a4d7f8c8c3584a60fe1a57d03d80162361fe3c78 + SHA256: 9c0245e96379246040f1fd0978f8e447e7f47cdccbdaffdb83302a995276b62b + SHA512: 789f608f93db6e12835911f3105d9abe2fabb67cd22dc3bafdff38716ac56974925738e7f7788ebef5bdf67b6fd91f84a4ee78a3e5d072cfc8ee0972de737b08 + +* + + SIZE: 20643747 bytes + SHA1: c1a2898949d929dd952880f1c1c2bac2ef2609b4 + SHA256: e8a446cf1f2ffc14483604de0a5e12c2578dd2f672ae87798ca2bbb9b7b73899 + SHA512: 2d06feae13f485f5da59574672b14d03881ed532d652648f94e2435f5d81df623b5ef532b8ba8e0b9bc4ee6baf7c0328a5610eab753a9020a0fea2673254c76c + +* + + SIZE: 14581998 bytes + SHA1: 94bbee97de4955e67effb7f512c58300617a3a09 + SHA256: b3d03e471e3136f43bb948013d4f4974abb63d478e8ff7ec2741b22750a3ec50 + SHA512: 9bfbe83fd3699b71bae2350801d8c967eb128e79b62a9d36fc0f011b83c53cab28a280939f4cc9f0a28f9bf02dce8eea30866ca4d06480dc44289400abf580ba + +* + + SIZE: 11908088 bytes + SHA1: 13a7f06d832dc28989e3e4321490a6ba528ed023 + SHA256: d620b3d87b3190867304067f3ce77f5305f7ec1b2e73b09c17710c97c028986d + SHA512: a3dc43c0bc70dfdb9ff0d18b5b9797bbf332524f5d3bbb7940cf4e32286ca715808acfd11ebf3cdbe358a2466b7c6b5be3a7a784af7eb95c071fe1f8b4ab1261 From 97c48651ef1def20266ebf4fd55d365d7304d718 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 8 Feb 2019 16:34:55 +0900 Subject: [PATCH 0373/2563] Add known problem section to 2.6.0 release post (ko) (#1962) * Add known problem section Ref: https://github.com/ruby/www.ruby-lang.org/pull/1953/files#diff-75096a7d388db30daf2a0bcdcf0a035b * Better korean sentence --- ko/news/_posts/2018-12-25-ruby-2-6-0-released.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md b/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md index dd1b0a43ae..d0cdefbef4 100644 --- a/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/ko/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -113,6 +113,12 @@ JIT 컴파일을 사용하려면 `--jit` 옵션을 커맨드라인이나 `$RUBYO 메리 크리스마스, 행복한 휴일 보내시고, 루비 2.6과 함께 즐거운 프로그래밍 하세요! +## 알려진 문제점 + +_(이 문단은 2019년 1월 28일에 추가되었습니다.)_ + +* [`Net::Protocol::BufferedIO#write`로 긴 멀티바이트 문자열을 전송할 때 `NoMethodError` 에러가 발생하는 문제](https://bugs.ruby-lang.org/issues/15468) + ## 다운로드 * From f22ca9c53260ce0f89f1809bb210430e19d51bf9 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 8 Feb 2019 14:20:41 +0100 Subject: [PATCH 0374/2563] Add newlines --- de/news/_posts/2019-01-30-ruby-2-6-1-released.md | 3 +++ en/news/_posts/2019-01-30-ruby-2-6-1-released.md | 3 +++ es/news/_posts/2019-01-30-ruby-2-6-1-released.md | 3 +++ ja/news/_posts/2019-01-30-ruby-2-6-1-released.md | 3 +++ ko/news/_posts/2019-01-30-ruby-2-6-1-released.md | 3 +++ zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md | 3 +++ zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md | 3 +++ 7 files changed, 21 insertions(+) diff --git a/de/news/_posts/2019-01-30-ruby-2-6-1-released.md b/de/news/_posts/2019-01-30-ruby-2-6-1-released.md index ceae91ac6f..036bc16369 100644 --- a/de/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/de/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -25,18 +25,21 @@ für weitere Details. SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 + * SIZE: 20595342 bytes SHA1: 6fd14990dc411eb58852324d45b29f84d580644d SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 + * SIZE: 14561930 bytes SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 + * SIZE: 11872964 bytes diff --git a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md index 807d8bc0c4..165544bf67 100644 --- a/en/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/en/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -23,18 +23,21 @@ This release includes additional bug fixes. See the [commit logs](https://github SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 + * SIZE: 20595342 bytes SHA1: 6fd14990dc411eb58852324d45b29f84d580644d SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 + * SIZE: 14561930 bytes SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 + * SIZE: 11872964 bytes diff --git a/es/news/_posts/2019-01-30-ruby-2-6-1-released.md b/es/news/_posts/2019-01-30-ruby-2-6-1-released.md index 0b16295ace..410c27cec9 100644 --- a/es/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/es/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -24,18 +24,21 @@ Esta versión incluye soluciones a fallas adicionales. Ver más detalles en la SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 + * SIZE: 20595342 bytes SHA1: 6fd14990dc411eb58852324d45b29f84d580644d SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 + * SIZE: 14561930 bytes SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 + * SIZE: 11872964 bytes diff --git a/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md b/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md index a9f1f2b8d1..723e52fd5e 100644 --- a/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/ja/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -21,18 +21,21 @@ Ruby 2.6.1 がリリースされました。 SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 + * SIZE: 20595342 bytes SHA1: 6fd14990dc411eb58852324d45b29f84d580644d SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 + * SIZE: 14561930 bytes SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 + * SIZE: 11872964 bytes diff --git a/ko/news/_posts/2019-01-30-ruby-2-6-1-released.md b/ko/news/_posts/2019-01-30-ruby-2-6-1-released.md index 52f0fc18fa..2f53620f9e 100644 --- a/ko/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/ko/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -23,18 +23,21 @@ lang: ko SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 + * SIZE: 20595342 bytes SHA1: 6fd14990dc411eb58852324d45b29f84d580644d SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 + * SIZE: 14561930 bytes SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 + * SIZE: 11872964 bytes diff --git a/zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md b/zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md index ebeaa4e689..b92d8b6749 100644 --- a/zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/zh_cn/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -23,18 +23,21 @@ lang: zh_cn SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 + * SIZE: 20595342 bytes SHA1: 6fd14990dc411eb58852324d45b29f84d580644d SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 + * SIZE: 14561930 bytes SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 + * SIZE: 11872964 bytes diff --git a/zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md b/zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md index d6e0addc00..00ec2f8728 100644 --- a/zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md +++ b/zh_tw/news/_posts/2019-01-30-ruby-2-6-1-released.md @@ -23,18 +23,21 @@ Ruby 2.6.1 發佈了。 SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e016e60f107fa40da251bc9659584ee3191caee726b5c6818ecbe109f825c553041a5dfda7e6d2889fcf587e63fb5d9fbe6cbdbdc4572e1123c302f0f1b881 + * SIZE: 20595342 bytes SHA1: 6fd14990dc411eb58852324d45b29f84d580644d SHA256: ed1537f49d333a809900c1f49ad16c4c06224ebbf5c744cb7b9104ab2a385366 SHA512: 8a092486ecefac5bd734897562257a576112e59d90026d0b2ada10aa0b7e0fa86ed1cd803c6254eaa21b19ba36502d9ac268eae6f5714a6eca01904117ab0da6 + * SIZE: 14561930 bytes SHA1: d4c92d9b0057473238df2fd4792454b43976fda3 SHA256: 82c9402920eac9ce777beb3f34eeadc2a3f3ce80f25004bbf54b5ed1280ba099 SHA512: fc41429491935b89532733b95476ab9f8a4efc310aad8f4c2bd3b68fba08fd7b6e9ac84c6c88ca892022d1ba76435295f3299ea466f9b5453c07d41cb539af59 + * SIZE: 11872964 bytes From 4b192570d10e2a24b49df9b07f270261820c0073 Mon Sep 17 00:00:00 2001 From: jacobherrington Date: Fri, 8 Feb 2019 09:11:22 -0600 Subject: [PATCH 0375/2563] Rephrase copy on the blog page (en) The copy on this page had a bit of odd phrasing. These changes make more sense to me. --- en/community/weblogs/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/community/weblogs/index.md b/en/community/weblogs/index.md index d5c6bbed7e..3693b57cd5 100644 --- a/en/community/weblogs/index.md +++ b/en/community/weblogs/index.md @@ -32,12 +32,12 @@ updates. ### Spreading the Word -You can contact the authors of the above blogs, if you are covering a -topic they’d be interested in. +If you're interested in writing for any of the above blogs, you should +contact the authors. Ruby is also a common topic on [reddit][reddit], and [Hacker News][hn], in their respective programming news. If you find some brilliant code -out there, be sure to let them know! +out there, be sure to share! [rubyflow]: http://www.rubyflow.com/ From 117106587e2f0c98b6b643ce69855b764ffff631 Mon Sep 17 00:00:00 2001 From: Jacob Herrington Date: Sat, 9 Feb 2019 05:56:43 -0600 Subject: [PATCH 0376/2563] Fixes Editor list on documentation page (en) (#1965) * Standardize editor links Atom was using a different style for the markdown link than the other editors, so I changed it to be consistent. * Move extensions link due to it's uniqueness * Add VS Code to cross platform editors * Remove multiple links to Atom Atom should be listed only once on the cross-platform list --- en/documentation/index.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 999a5b8ad2..a346697c8f 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -110,19 +110,18 @@ Here is a list of popular tools used by Rubyists: * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] + * [Atom][41] + * [Visual Studio Code][42] * On Windows: * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] - * [Atom][atom] * On macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (documentation browser) - * [Atom][atom] ### Further Reading @@ -146,7 +145,6 @@ If you have questions about Ruby the [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib -[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -172,4 +170,7 @@ If you have questions about Ruby the [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash [40]: https://docs.ruby-lang.org/en/ -[atom]: https://atom.io/ +[41]: https://atom.io/ +[42]: https://code.visualstudio.com/ + +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html From 6358ecb254d0312d0e1a1f5c92e7613dc36a1c81 Mon Sep 17 00:00:00 2001 From: Jacob Herrington Date: Sat, 9 Feb 2019 05:58:17 -0600 Subject: [PATCH 0377/2563] Update dmoz.org to dmoztools.net on community page (en) (#1966) * Update dmoz.org to dmoztools.net dmoz.org is no longer operating, but the information is still available on dmoztools.net. I think it's worth considering changing these resources out for more modern ones. * Add https to links and fix broken dmztools.net link --- en/community/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/community/index.md b/en/community/index.md index ac43463a4d..af8113244b 100644 --- a/en/community/index.md +++ b/en/community/index.md @@ -50,5 +50,5 @@ General Ruby Information [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ From 147cf89e8510939643a29c52cc20f370309b61e8 Mon Sep 17 00:00:00 2001 From: jacobherrington Date: Sat, 9 Feb 2019 12:26:25 -0600 Subject: [PATCH 0378/2563] Fix dmoz.org links dmoz.org is no longer active. dmoztools.net still hosts a lot of the same content. This commit updates those links. --- bg/community/index.md | 4 ++-- de/community/index.md | 4 ++-- es/community/index.md | 4 ++-- fr/community/index.md | 4 ++-- id/community/index.md | 4 ++-- it/community/index.md | 4 ++-- ko/community/index.md | 4 ++-- pl/community/index.md | 4 ++-- pt/community/index.md | 4 ++-- ru/community/index.md | 4 ++-- tr/community/index.md | 4 ++-- vi/community/index.md | 4 ++-- zh_cn/community/index.md | 4 ++-- zh_tw/community/index.md | 4 ++-- 14 files changed, 28 insertions(+), 28 deletions(-) diff --git a/bg/community/index.md b/bg/community/index.md index 9163201374..f1e17ba225 100644 --- a/bg/community/index.md +++ b/bg/community/index.md @@ -47,5 +47,5 @@ Oбщността, която се образува около един език [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/de/community/index.md b/de/community/index.md index 4ce240e6f2..4096e9cae9 100644 --- a/de/community/index.md +++ b/de/community/index.md @@ -81,5 +81,5 @@ Allgemeine Information zu Ruby [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/es/community/index.md b/es/community/index.md index 01d8282622..93de504312 100644 --- a/es/community/index.md +++ b/es/community/index.md @@ -52,5 +52,5 @@ Información general sobre Ruby [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/fr/community/index.md b/fr/community/index.md index 9acf3ef3f4..7a3915e0fa 100644 --- a/fr/community/index.md +++ b/fr/community/index.md @@ -53,5 +53,5 @@ Informations générales [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/id/community/index.md b/id/community/index.md index d184623392..1094d13fc7 100644 --- a/id/community/index.md +++ b/id/community/index.md @@ -65,6 +65,6 @@ Informasi Umum Tentang Ruby [2]: http://tech.groups.yahoo.com/group/id-ruby/ [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ [6]: http://ruby.id/slack/ diff --git a/it/community/index.md b/it/community/index.md index f66310fc01..e35fe23bb6 100644 --- a/it/community/index.md +++ b/it/community/index.md @@ -52,5 +52,5 @@ Informazioni generali su Ruby [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/ko/community/index.md b/ko/community/index.md index 2a5f0df9eb..0c099aeaa3 100644 --- a/ko/community/index.md +++ b/ko/community/index.md @@ -49,5 +49,5 @@ lang: ko * [Rails at Open Directory Project][5] [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/pl/community/index.md b/pl/community/index.md index 4021e48fb8..2363da87aa 100644 --- a/pl/community/index.md +++ b/pl/community/index.md @@ -54,6 +54,6 @@ Ogólne informacje o Rubim [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ [6]: http://forum.rubyonrails.pl/ diff --git a/pt/community/index.md b/pt/community/index.md index 53e4e481bf..8c3b5cdf01 100644 --- a/pt/community/index.md +++ b/pt/community/index.md @@ -49,5 +49,5 @@ Informação gerais sobre o Ruby [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/ru/community/index.md b/ru/community/index.md index c05a850e6e..13fda56841 100644 --- a/ru/community/index.md +++ b/ru/community/index.md @@ -49,5 +49,5 @@ lang: ru [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/tr/community/index.md b/tr/community/index.md index a40e04dc59..d6706c0c31 100644 --- a/tr/community/index.md +++ b/tr/community/index.md @@ -60,5 +60,5 @@ Genel Ruby Kaynakları [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/vi/community/index.md b/vi/community/index.md index 9676ae6f9d..d49615f5df 100644 --- a/vi/community/index.md +++ b/vi/community/index.md @@ -50,5 +50,5 @@ Thông tin chung về Ruby [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/zh_cn/community/index.md b/zh_cn/community/index.md index 3e9c9850b5..662ade757b 100644 --- a/zh_cn/community/index.md +++ b/zh_cn/community/index.md @@ -39,6 +39,6 @@ Ruby 的一般信息 [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ [ruby-china]: https://ruby-china.org diff --git a/zh_tw/community/index.md b/zh_tw/community/index.md index ed7509b86c..730bbff94c 100644 --- a/zh_tw/community/index.md +++ b/zh_tw/community/index.md @@ -44,5 +44,5 @@ Ruby 的一般消息 [railsfun]: http://railsfun.tw/index.php [3]: http://rubycentral.org/ -[4]: http://dmoz.org/Computers/Programming/Languages/Ruby/ -[5]: http://dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/ +[4]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ +[5]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ From 4eef1d373cbc54bf2e97398b35da6f23a9a30ce9 Mon Sep 17 00:00:00 2001 From: Vincent Lin Date: Sun, 10 Feb 2019 19:15:13 +0800 Subject: [PATCH 0379/2563] Add the link to the Ruby Bibliography in the sidebar (zh_tw, zh_cn) --- _config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_config.yml b/_config.yml index 07844e1643..1004b1bfe1 100644 --- a/_config.yml +++ b/_config.yml @@ -1501,6 +1501,9 @@ locales: url: /zh_tw/documentation/ # books: # text: 書籍 + rubybib: + text: 學術研究 + <<: *rubybib libraries: text: 函式庫 url: /zh_tw/libraries/ @@ -1558,6 +1561,9 @@ locales: url: /zh_cn/documentation/ # books: # text: Books + rubybib: + text: 学术研究 + <<: *rubybib libraries: text: 代码库 url: /zh_cn/libraries/ From d4e30a683194e6695b766092aac83924d2d10b99 Mon Sep 17 00:00:00 2001 From: Jacob Herrington Date: Sun, 10 Feb 2019 08:02:28 -0600 Subject: [PATCH 0380/2563] Editor list fixes in more languages (id, ja, ko, pt, vi, zh_cn, zh_tw) (#1968) * Remove duplicate instances of Atom (vi) * Add VS Code to editors (vi) * Move extensions link (vi) * Remove multiple instances of Atom (ja) * Add VS Code to editor list (ja) * Remove duplicate instances of Atom (tw) * Add VS Code to editor list (tw) * Remove duplicate instances of Atom (cn) * Add VS Code to editor list (cn) * Remove duplicate instances of Aton (pt) * Add VS Code to editor list (pt) * Remove duplicate instances of Atom (ko) * Move extensions link (ko) * Add VS code to editor list (ko) * Remove duplicate instances of Atom (id) * Move extensions link (id) * Add VS code to editor list (id) --- id/documentation/index.md | 11 ++++++----- ja/documentation/index.md | 8 ++++---- ko/documentation/index.md | 12 +++++++----- pt/documentation/index.md | 8 ++++---- vi/documentation/index.md | 11 ++++++----- zh_cn/documentation/index.md | 8 ++++---- zh_tw/documentation/index.md | 8 ++++---- 7 files changed, 35 insertions(+), 31 deletions(-) diff --git a/id/documentation/index.md b/id/documentation/index.md index e64c69ba50..dbac2231f9 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -127,19 +127,18 @@ Berikut adalah daftar kakas populer yang digunakan oleh para pengguna Ruby. * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] + * [Atom][40] + * [Visual Studio Code][41] * Pada Windows: * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] - * [Atom][atom] * Pada macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (documentation browser) - * [Atom][atom] ### Bacaan selanjutnya @@ -163,7 +162,6 @@ adalah tempat yang baik untuk memulai. [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib -[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -188,4 +186,7 @@ adalah tempat yang baik untuk memulai. [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[atom]: https://atom.io/ +[40]: https://atom.io/ +[41]: https://code.visualstudio.com/ + +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html diff --git a/ja/documentation/index.md b/ja/documentation/index.md index 073f37bbba..6bb3c65d6a 100644 --- a/ja/documentation/index.md +++ b/ja/documentation/index.md @@ -89,19 +89,18 @@ Rubyistに人気のあるソフトウェアには次のようなものがあり * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] + * [Atom][40] + * [Visual Studio Code][41] * Windows * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] - * [Atom][atom] * macOS * [TextMate][32] * [TextWrangler][33] * [Dash][39] (ドキュメント表示ツール) - * [Atom][atom] Posted by Shugo Maeda on 26 May 2006 {: .post-info} @@ -153,4 +152,5 @@ Posted by Shugo Maeda on 26 May 2006 [36]: https://netbeans.org/ [37]: http://www.sublimetext.com/ [39]: http://kapeli.com/dash -[atom]: https://atom.io/ +[40]: https://atom.io/ +[41]: https://code.visualstudio.com/ diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 9cbbd1ba2e..63d8ca2a8d 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -113,19 +113,18 @@ lang: ko * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] + * [Atom][41] + * [Visual Studio Code][42] * Windows * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] - * [Atom][atom] * macOS * [TextMate][32] * [TextWrangler][33] * [Dash][39] (문서 브라우저) - * [Atom][atom] ### 더 읽을거리 @@ -148,7 +147,6 @@ lang: ko [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib -[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -174,7 +172,11 @@ lang: ko [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash [40]: https://docs.ruby-lang.org/en/ -[atom]: https://atom.io/ +[41]: https://atom.io/ +[42]: https://code.visualstudio.com/ + +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html + [ko-1]: http://docs.google.com/View?docid=ajb44wcvmjj8_2fg33f2 [ko-2]: http://beyond.daesan.com/pages/ruby-faq [ko-3]: https://groups.google.com/forum/#!forum/rubykr diff --git a/pt/documentation/index.md b/pt/documentation/index.md index 2495a64ec9..d9bd690acc 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -123,19 +123,18 @@ programadores Ruby: * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] + * [Atom][40] + * [Visual Studio Code][41] * No Windows: * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] - * [Atom][atom] * No macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (navegador de documentação) - * [Atom][atom] ### Leitura Complementar @@ -183,4 +182,5 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[atom]: https://atom.io/ +[40]: https://atom.io/ +[41]: https://code.visualstudio.com/ diff --git a/vi/documentation/index.md b/vi/documentation/index.md index 300ee2baf8..7b6948d94f 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -122,19 +122,18 @@ tính năng nâng cao (ví dụ: tự động hoàn thiện, tái cấu trúc, h * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] + * [Atom][40] + * [Visual Studio Code][41] * Trên Windows: * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] - * [Atom][atom] * Trên macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (trình duyệt tài liệu) - * [Atom][atom] ### Đọc thêm @@ -158,7 +157,6 @@ là một nơi tuyệt vời. [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib -[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -183,4 +181,7 @@ là một nơi tuyệt vời. [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[atom]: https://atom.io/ +[40]: https://atom.io/ +[41]: https://code.visualstudio.com/ + +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index 46695de3a3..4462ec9c1b 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -91,19 +91,18 @@ ruby -v * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] + * [Atom][40] + * [Visual Studio Code][41] * Windows: * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] - * [Atom][atom] * macOS: * [TextMate][32] * [TextWrangler][33] * [Dash][39](文档浏览器) - * [Atom][atom] ### 扩展阅读 @@ -148,4 +147,5 @@ ruby -v [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[atom]: https://atom.io/ +[40]: https://atom.io/ +[41]: https://code.visualstudio.com/ diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index f5fea23b2d..7881ad71dc 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -86,19 +86,18 @@ lang: zh_tw * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] + * [Atom][41] + * [Visual Studio Code][42] * Windows 作業系統: * [Notepad++][29] * [E-TextEditor][30] * [Ruby In Steel][31] - * [Atom][atom] * macOS 作業系統: * [TextMate][32] * [TextWrangler][33] * [Dash][39] (瀏覽文件用) - * [Atom][atom] ### 進階閱讀 @@ -145,7 +144,8 @@ lang: zh_tw [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash [40]: https://docs.ruby-lang.org/en/ -[atom]: https://atom.io/ +[41]: https://atom.io/ +[42]: https://code.visualstudio.com/ [rubytw]: http://ruby.tw [ruby-user-guide-zh_tw]: http://guides.ruby.tw/ruby/ From c3fe63969513de1214ce2e6497fc22ee159acdb0 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Tue, 12 Feb 2019 12:05:13 +0900 Subject: [PATCH 0381/2563] Rephrase copy on the blog page (ko) (#1972) --- ko/community/weblogs/index.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ko/community/weblogs/index.md b/ko/community/weblogs/index.md index d0eddcc34b..401a82e192 100644 --- a/ko/community/weblogs/index.md +++ b/ko/community/weblogs/index.md @@ -30,11 +30,10 @@ lang: ko ### 널리 알리기 -위의 블로그들이 관심을 가질 만한 주제를 다루고 -계신다면 그들과 접촉하는 것도 방법입니다. +위의 블로그에 관해 글을 쓰고 싶다면, 블로그 저자와 접촉해보세요. 루비는 [reddit][reddit], [Hacker News][hn]의 프로그래밍 뉴스에서도 -자주 등장하는 주제입니다. 뛰어난 코드를 발견했다면 그들에게도 알려주세요. +자주 등장하는 주제입니다. 뛰어난 코드를 발견했다면 공유해주세요! [rubyflow]: http://www.rubyflow.com/ From 824ddc013d4cae5a13a442efe7bdf0e5e465abc4 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Thu, 14 Feb 2019 15:38:43 +0100 Subject: [PATCH 0382/2563] Use named link references Partially revert 1171065 and d4e30a683 to use named link references for Atom, and restore previous order of the references; also introduce named link references for VS code. --- en/documentation/index.md | 11 +++++------ id/documentation/index.md | 11 +++++------ ja/documentation/index.md | 8 ++++---- ko/documentation/index.md | 11 +++++------ pt/documentation/index.md | 8 ++++---- vi/documentation/index.md | 11 +++++------ zh_cn/documentation/index.md | 8 ++++---- zh_tw/documentation/index.md | 8 ++++---- 8 files changed, 36 insertions(+), 40 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index a346697c8f..4287c373d4 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -110,8 +110,8 @@ Here is a list of popular tools used by Rubyists: * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][41] - * [Visual Studio Code][42] + * [Atom][atom] + * [Visual Studio Code][vscode] * On Windows: * [Notepad++][29] @@ -145,6 +145,7 @@ If you have questions about Ruby the [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -170,7 +171,5 @@ If you have questions about Ruby the [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash [40]: https://docs.ruby-lang.org/en/ -[41]: https://atom.io/ -[42]: https://code.visualstudio.com/ - -[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html +[atom]: https://atom.io/ +[vscode]: https://code.visualstudio.com/ diff --git a/id/documentation/index.md b/id/documentation/index.md index dbac2231f9..bc2bcaea0d 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -127,8 +127,8 @@ Berikut adalah daftar kakas populer yang digunakan oleh para pengguna Ruby. * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][40] - * [Visual Studio Code][41] + * [Atom][atom] + * [Visual Studio Code][vscode] * Pada Windows: * [Notepad++][29] @@ -162,6 +162,7 @@ adalah tempat yang baik untuk memulai. [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -186,7 +187,5 @@ adalah tempat yang baik untuk memulai. [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://atom.io/ -[41]: https://code.visualstudio.com/ - -[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html +[atom]: https://atom.io/ +[vscode]: https://code.visualstudio.com/ diff --git a/ja/documentation/index.md b/ja/documentation/index.md index 6bb3c65d6a..67df7719cd 100644 --- a/ja/documentation/index.md +++ b/ja/documentation/index.md @@ -89,8 +89,8 @@ Rubyistに人気のあるソフトウェアには次のようなものがあり * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][40] - * [Visual Studio Code][41] + * [Atom][atom] + * [Visual Studio Code][vscode] * Windows * [Notepad++][29] @@ -152,5 +152,5 @@ Posted by Shugo Maeda on 26 May 2006 [36]: https://netbeans.org/ [37]: http://www.sublimetext.com/ [39]: http://kapeli.com/dash -[40]: https://atom.io/ -[41]: https://code.visualstudio.com/ +[atom]: https://atom.io/ +[vscode]: https://code.visualstudio.com/ diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 63d8ca2a8d..22f8022ef5 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -113,8 +113,8 @@ lang: ko * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][41] - * [Visual Studio Code][42] + * [Atom][atom] + * [Visual Studio Code][vscode] * Windows * [Notepad++][29] @@ -147,6 +147,7 @@ lang: ko [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -172,10 +173,8 @@ lang: ko [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash [40]: https://docs.ruby-lang.org/en/ -[41]: https://atom.io/ -[42]: https://code.visualstudio.com/ - -[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html +[atom]: https://atom.io/ +[vscode]: https://code.visualstudio.com/ [ko-1]: http://docs.google.com/View?docid=ajb44wcvmjj8_2fg33f2 [ko-2]: http://beyond.daesan.com/pages/ruby-faq diff --git a/pt/documentation/index.md b/pt/documentation/index.md index d9bd690acc..fd3645d294 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -123,8 +123,8 @@ programadores Ruby: * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][40] - * [Visual Studio Code][41] + * [Atom][atom] + * [Visual Studio Code][vscode] * No Windows: * [Notepad++][29] @@ -182,5 +182,5 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://atom.io/ -[41]: https://code.visualstudio.com/ +[atom]: https://atom.io/ +[vscode]: https://code.visualstudio.com/ diff --git a/vi/documentation/index.md b/vi/documentation/index.md index 7b6948d94f..b1fd2c5b15 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -122,8 +122,8 @@ tính năng nâng cao (ví dụ: tự động hoàn thiện, tái cấu trúc, h * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][40] - * [Visual Studio Code][41] + * [Atom][atom] + * [Visual Studio Code][vscode] * Trên Windows: * [Notepad++][29] @@ -157,6 +157,7 @@ là một nơi tuyệt vời. [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ [15]: http://www.ruby-doc.org/stdlib +[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html [16]: http://www.rubydoc.info/ [17]: http://rubydocs.org/ [18]: http://apidock.com/ @@ -181,7 +182,5 @@ là một nơi tuyệt vời. [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://atom.io/ -[41]: https://code.visualstudio.com/ - -[extensions]: https://docs.ruby-lang.org/en/trunk/extension_rdoc.html +[atom]: https://atom.io/ +[vscode]: https://code.visualstudio.com/ diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index 4462ec9c1b..9f6e9a18ed 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -91,8 +91,8 @@ ruby -v * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][40] - * [Visual Studio Code][41] + * [Atom][atom] + * [Visual Studio Code][vscode] * Windows: * [Notepad++][29] @@ -147,5 +147,5 @@ ruby -v [37]: http://www.sublimetext.com/ [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash -[40]: https://atom.io/ -[41]: https://code.visualstudio.com/ +[atom]: https://atom.io/ +[vscode]: https://code.visualstudio.com/ diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 7881ad71dc..3ec01d65dc 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -86,8 +86,8 @@ lang: zh_tw * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][41] - * [Visual Studio Code][42] + * [Atom][atom] + * [Visual Studio Code][vscode] * Windows 作業系統: * [Notepad++][29] @@ -144,8 +144,8 @@ lang: zh_tw [38]: http://ruby.learncodethehardway.org/ [39]: http://kapeli.com/dash [40]: https://docs.ruby-lang.org/en/ -[41]: https://atom.io/ -[42]: https://code.visualstudio.com/ +[atom]: https://atom.io/ +[vscode]: https://code.visualstudio.com/ [rubytw]: http://ruby.tw [ruby-user-guide-zh_tw]: http://guides.ruby.tw/ruby/ From b2cf27fdad276eb754c4be2f145d92c572d161a8 Mon Sep 17 00:00:00 2001 From: Vincent Lin Date: Wed, 20 Feb 2019 18:11:06 +0800 Subject: [PATCH 0383/2563] Update Download Ruby page (zh_tw, zh_cn) --- zh_cn/downloads/index.md | 11 +++++++++++ zh_tw/downloads/index.md | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/zh_cn/downloads/index.md b/zh_cn/downloads/index.md index 86c5d82c16..7f97a8f035 100644 --- a/zh_cn/downloads/index.md +++ b/zh_cn/downloads/index.md @@ -30,6 +30,12 @@ lang: zh_cn * [Ruby {{ release.version }}]({{ release.url.gz }})
sha256: {{ release.sha256.gz }}{% endfor %} +{% if site.data.downloads.preview %} +* **预览版:**{% for version in site.data.downloads.preview %}{% assign release = site.data.releases | where: "version", version | first %} + * [Ruby {{ release.version }}]({{ release.url.gz }})
+ sha256: {{ release.sha256.gz }}{% endfor %} +{% endif %} + {% if site.data.downloads.security_maintenance %} * **在做安全性维护的版本(很快 EOL!):**{% for version in site.data.downloads.security_maintenance %}{% assign release = site.data.releases | where: "version", version | first %} * [Ruby {{ release.version }}]({{ release.url.gz }})
@@ -46,6 +52,9 @@ lang: zh_cn * [稳定版快照]({{ site.data.downloads.stable_snapshot.url.gz }}):当前稳定版 tarball 的最新快照 * [每日构建版快照]({{ site.data.downloads.nightly_snapshot.url.gz }}):这是 SVN 上的 tarball,每晚构建。可能有问题或 bug,谨慎使用! +更多有关特定发行版本、特别是老旧版本的资讯,请参阅[版本页面][releases]。 +关于现正维护中的多个 Ruby 分支资讯,可在[分支页面][branches]中找到。 + 关于 Ruby Subversion 和 Git 仓库的信息,参见 [Ruby Core](/zh_cn/community/ruby-core/) 页面。 Ruby 源代码可从世界各地的[镜像站][mirrors]获得。请尝试离您最近的镜像站。 @@ -54,6 +63,8 @@ Ruby 源代码可从世界各地的[镜像站][mirrors]获得。请尝试离您 [license]: {{ site.license.url }} [installation]: /zh_cn/documentation/installation/ +[releases]: /en/downloads/releases/ +[branches]: /en/downloads/branches/ [mirrors]: /en/downloads/mirrors/ [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv diff --git a/zh_tw/downloads/index.md b/zh_tw/downloads/index.md index 3a12293d62..59da84e718 100644 --- a/zh_tw/downloads/index.md +++ b/zh_tw/downloads/index.md @@ -30,6 +30,12 @@ lang: zh_tw * [Ruby {{ release.version }}]({{ release.url.gz }})
sha256: {{ release.sha256.gz }}{% endfor %} +{% if site.data.downloads.preview %} +* **預覽版本:**{% for version in site.data.downloads.preview %}{% assign release = site.data.releases | where: "version", version | first %} + * [Ruby {{ release.version }}]({{ release.url.gz }})
+ sha256: {{ release.sha256.gz }}{% endfor %} +{% endif %} + {% if site.data.downloads.security_maintenance %} * **處於安全維護週期(即將停止維護!):**{% for version in site.data.downloads.security_maintenance %}{% assign release = site.data.releases | where: "version", version | first %} * [Ruby {{ release.version }}]({{ release.url.gz }})
@@ -49,6 +55,9 @@ lang: zh_tw 這是 SVN 上的 tarball,每晚更新。 可能有問題或 bug,謹慎使用,風險自負! +更多有關特定發行版本、特別是老舊版本的資訊,請參閱[版本頁面][releases]。 +關於現正維護中的多個 Ruby 分支資訊,可在[分支頁面][branches]中找到。 + 關於 Ruby Subversion 與 Git Repositories 的資訊,參見 [Ruby Core](/en/community/ruby-core/) 頁面。 Ruby 原始碼可從世界各地的[鏡像站][mirrors]獲得。請嘗試離您最近的鏡像站。 @@ -57,6 +66,8 @@ Ruby 原始碼可從世界各地的[鏡像站][mirrors]獲得。請嘗試離您 [license]: {{ site.license.url }} [installation]: /zh_tw/documentation/installation/ +[releases]: /en/downloads/releases/ +[branches]: /en/downloads/branches/ [mirrors]: /en/downloads/mirrors/ [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv From c50956c36e6d66c438504ec1aacfc975fae25484 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Thu, 21 Feb 2019 09:31:05 +0900 Subject: [PATCH 0384/2563] Update translation of downloads page (ko) (#1975) --- ko/downloads/index.md | 49 +++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/ko/downloads/index.md b/ko/downloads/index.md index 608c5d5ec7..bd5ba90930 100644 --- a/ko/downloads/index.md +++ b/ko/downloads/index.md @@ -6,12 +6,12 @@ lang: ko 자신이 선호하는 방식으로 최신 루비 배포판을 설치할 수 있습니다. 현재 안정 버전은 {{ site.data.downloads.stable[0] }}입니다. -[루비 라이센스][license]를 읽어 보십시오. +[루비 라이센스][license]를 읽어 보세요. {: .summary} ### 루비를 설치하는 방법 -각 주요 플랫폼에서 루비를 설치할 수 있는 몇 가지 도구들이 있습니다. +각 주요 플랫폼에서 루비를 설치할 수 있는 몇 가지 도구가 있습니다. * Linux/UNIX에서는 시스템에 포함된 패키지 관리 시스템이나 서드파티 도구([rbenv][rbenv]나 [RVM][rvm])를 사용할 수 있습니다. @@ -25,20 +25,24 @@ lang: ko ### 루비 컴파일하기 - 소스 코드 -소스 코드로 설치하기는 당신이 자신의 플랫폼에 충분히 익숙하고 -자신의 환경을 위한 특별한 설정이 필요할 때 훌륭한 솔루션입니다. -또한 이 방법은 자신의 플랫폼을 위해 미리 만들어진 패키지가 -없을 때에도 좋은 솔루션입니다. +사용 중인 플랫폼에 충분히 익숙하고, 자신의 환경을 위한 특별한 설정이 +필요한 경우, 소스 코드로 설치하면 좋습니다. +플랫폼에 미리 만들어진 패키지가 없을 때에도 좋은 해결책이 되죠. -루비를 소스에서 빌드하는 하시려면 [설치][installation] 페이지에서 -자세한 내용을 보실 수 있습니다. 루비를 컴파일하는데 문제가 있다면, -밑에서 소개하는 서드파티 도구 중 하나를 이용해볼 것을 고려해 보십시오. -도움이 될 것입니다. +루비를 소스에서 빌드하려면 [설치][installation] 페이지에서 +자세한 내용을 참고하세요. 루비를 컴파일하는 데 문제가 있다면, +위에서 소개한 서드파티 도구 중 하나를 이용해 보세요. 도움이 될 것입니다. * **안정 릴리스:**{% for version in site.data.downloads.stable %}{% assign release = site.data.releases | where: "version", version | first %} * [루비 {{ release.version }}]({{ release.url.gz }})
sha256: {{ release.sha256.gz }}{% endfor %} +{% if site.data.downloads.preview %} +* **프리뷰 릴리스:**{% for version in site.data.downloads.preview %}{% assign release = site.data.releases | where: "version", version | first %} + * [루비 {{ release.version }}]({{ release.url.gz }})
+ sha256: {{ release.sha256.gz }}{% endfor %} +{% endif %} + {% if site.data.downloads.security_maintenance %} * **보안 유지보수 단계(곧 EOL 예정!):**{% for version in site.data.downloads.security_maintenance %}{% assign release = site.data.releases | where: "version", version | first %} * [루비 {{ release.version }}]({{ release.url.gz }})
@@ -52,21 +56,30 @@ lang: ko {% endif %} * **스냅숏:** - * [Stable Snapshot]({{ site.data.downloads.stable_snapshot.url.gz }}): - 안정 브랜치의 최신 스냅숏을 tarball로 압축한 것. - * [Nightly Snapshot]({{ site.data.downloads.nightly_snapshot.url.gz }}): - 나이틀리로 제작된 SVN 상의 모든 것을 tarball로 압축한 것. - 본 스냅숏은 버그 혹은 기타 이슈를 포함하고 있을 수 있으니 주의하여 사용하십시오! + * [안정 스냅숏]({{ site.data.downloads.stable_snapshot.url.gz }}): + 안정 브랜치의 최신 스냅숏을 tarball로 압축한 것입니다. + * [나이틀리 스냅숏]({{ site.data.downloads.nightly_snapshot.url.gz }}): + 나이틀리로 제작된 SVN 상의 모든 것을 tarball로 압축한 것입니다. + 본 스냅숏은 버그 혹은 기타 이슈를 포함하고 있을 수 있으니 주의하여 + 사용하세요! + +특정 릴리스(특히 오래된 것이나 프리뷰 버전의 경우)에 대한 자세한 정보는 +[릴리스 페이지][releases]에서 볼 수 있습니다. +여러 루비 브랜치의 현 유지보수 상태에 대해서는 [브랜치 페이지][branches]에서 +볼 수 있습니다. -루비 서브버전과 Git 저장소에 대한 정보는, [루비 코어](/ko/community/ruby-core/) 페이지를 읽어 보십시오. +루비 서브버전과 Git 저장소에 대한 정보는, [루비 코어](/ko/community/ruby-core/) +페이지를 읽어 보세요. -루비 소스는 전세계의 [미러 사이트][mirrors]에서 사용하실 수 있습니다. -자신과 가까운 곳의 미러를 이용해 주십시오. +루비 소스는 전세계의 [미러 사이트][mirrors]에서 사용할 수 있습니다. +자신과 가까운 곳의 미러를 이용해 주세요. [license]: {{ site.license.url }} [installation]: /ko/documentation/installation/ +[releases]: /en/downloads/releases/ +[branches]: /en/downloads/branches/ [mirrors]: /en/downloads/mirrors/ [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv From 17059f34db45eeead056338d8d60218b4d04c360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20Ar=C4=B1l=C4=B1k?= Date: Sat, 23 Feb 2019 12:47:18 +0300 Subject: [PATCH 0385/2563] Add necessary suffix (tr) --- tr/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr/index.html b/tr/index.html index 24d2bf62e9..aa7c996223 100644 --- a/tr/index.html +++ b/tr/index.html @@ -16,7 +16,7 @@

Ruby...

dildir. Okumayı ve yazmayı kolaylaştıran, doğal bir sözdizimine sahiptir.

- Ruby İndirin + Ruby'yi İndirin veya Devamını Okuyun... From 8a558839967960d7821e2853457d963851cfb319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20Ar=C4=B1l=C4=B1k?= Date: Sat, 23 Feb 2019 14:42:04 +0300 Subject: [PATCH 0386/2563] Fix meaning of language description in main page (tr) --- tr/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr/index.html b/tr/index.html index 24d2bf62e9..64ce45243a 100644 --- a/tr/index.html +++ b/tr/index.html @@ -13,7 +13,7 @@

Ruby...

Verimlilik ve sadelik üzerine odaklanmış, açık kaynak kodlu dinamik bir - dildir. Okumayı ve yazmayı kolaylaştıran, doğal bir sözdizimine sahiptir. + dildir. Okuması doğal ve yazması kolay zarif bir sözdizimine sahiptir.

Ruby İndirin From 5db6009dd330ae56797c0355434d38ded634c1f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20Ar=C4=B1l=C4=B1k?= Date: Mon, 25 Feb 2019 02:36:39 +0300 Subject: [PATCH 0387/2563] Fix typo in installation page (ko) (#1984) --- ko/documentation/installation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index 631f329575..c3bf276ec9 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -328,7 +328,7 @@ $ sudo make install [freebsd-ruby]: https://wiki.freebsd.org/Ruby [freebsd-ports-collection]: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html [homebrew]: http://brew.sh/ -[terminal]: : https://ko.wikipedia.org/wiki/%EB%8B%A8%EB%A7%90_%EC%97%90%EB%AE%AC%EB%A0%88%EC%9D%B4%ED%84%B0_%EB%AA%A9%EB%A1%9D +[terminal]: https://ko.wikipedia.org/wiki/%EB%8B%A8%EB%A7%90_%EC%97%90%EB%AE%AC%EB%A0%88%EC%9D%B4%ED%84%B0_%EB%AA%A9%EB%A1%9D [download]: /ko/downloads/ [installers]: /ko/documentation/installation/#installers [readme]: https://github.com/ruby/ruby#how-to-compile-and-install From 660a8159bdee73f1c56e25bf667872c6dea4511c Mon Sep 17 00:00:00 2001 From: Vincent Lin Date: Mon, 25 Feb 2019 09:44:37 +0800 Subject: [PATCH 0388/2563] Remove useless backspace in posts (zh_tw, zh_cn) (#1986) --- zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 2 +- zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 2 +- zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md | 2 +- zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index 81991d0baf..8bcdb4b41a 100644 --- a/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/zh_cn/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -55,7 +55,7 @@ Ruby 2.6 引入了 `RubyVM::AST` 模块。 * 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) * 新增 oneshot 模式 [[功能 #15022]](https://bugs.ruby-lang.org/issues/15022) - * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 + * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 * 为 `Coverage.start` 方法新增 `:oneshot_lines` 关键字参数。 * 为 `Coverage.result` 方法新增 `:stop` 和 `:clear` 关键字参数。如果 `clear` 被设置为 true,它会清空计数器。如果 `stop` 被设置为 true,它会禁用覆盖测量。 * 新增 `Coverage.line_stub`,其为从源代码新建代码覆盖存根(stub)提供了一个简单的帮助函数。 diff --git a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index be852ecf2d..5b073a2da2 100644 --- a/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/zh_cn/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -56,7 +56,7 @@ Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模块。 * 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) * 新增 oneshot 模式 [[功能 #15022]](https://bugs.ruby-lang.org/issues/15022) - * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 + * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 * 为 `Coverage.start` 方法新增 `:oneshot_lines` 关键字参数。 * 为 `Coverage.result` 方法新增 `:stop` 和 `:clear` 关键字参数。如果 `clear` 被设置为 true,它会清空计数器。如果 `stop` 被设置为 true,它会禁用覆盖测量。 * 新增 `Coverage.line_stub`,其为从源代码新建代码覆盖存根(stub)提供了一个简单的帮助函数。 diff --git a/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 7da18177db..cf194ee741 100644 --- a/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/zh_cn/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -56,7 +56,7 @@ Ruby 2.6 引入了 `RubyVM::AbstractSyntaxTree` 模块。 * 增加 `:exception` 选项,以让 `Kernel.#system` 抛出错误而不是返回 `false`。[[功能 #14386]](https://bugs.ruby-lang.org/issues/14386) * 新增 oneshot 模式 [[功能 #15022]](https://bugs.ruby-lang.org/issues/15022) - * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 + * 此模式检查「每一行代码是否都至少被执行一次」,而不是「每行代码被执行了几次」。每行代码的 hook 至多被调用一次,并会在调用后将 hook 标识移除。换句话说,移除后的代码运行将没有额外的性能开销。 * 为 `Coverage.start` 方法新增 `:oneshot_lines` 关键字参数。 * 为 `Coverage.result` 方法新增 `:stop` 和 `:clear` 关键字参数。如果 `clear` 被设置为 true,它会清空计数器。如果 `stop` 被设置为 true,它会禁用覆盖测量。 * 新增 `Coverage.line_stub`,其为从源代码新建代码覆盖存根(stub)提供了一个简单的帮助函数。 diff --git a/zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md b/zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md index d4f45d4cc8..31b9d3af18 100644 --- a/zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md +++ b/zh_tw/news/_posts/2017-12-27-fukuoka-ruby-award-2018.md @@ -45,7 +45,7 @@ AWS 特賞得獎者將獲得: GMO Pepabo 特賞將獲得: * Lolipop! 共享主機服務的標準方案十年免費,或是 Managed Cloud 的流量方案價值日幣十萬元的折價券 -* Muumuu Domain DNS 註冊服務:十年免費域名一個(限每年費用低於一萬日圓的域名) +* Muumuu Domain DNS 註冊服務:十年免費域名一個(限每年費用低於一萬日圓的域名) IIJ GIO 特賞將獲得: diff --git a/zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md b/zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md index 0acf4632e7..9fbe713a46 100644 --- a/zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md +++ b/zh_tw/news/_posts/2018-11-29-fukuoka-ruby-award-2019.md @@ -45,7 +45,7 @@ AWS 特賞得獎者將獲得: GMO Pepabo 特賞將獲得: * Lolipop! 共享主機服務的標準方案十年免費,或是 Managed Cloud 的流量方案價值日幣十萬元的折價券 -* Muumuu Domain DNS 註冊服務:十年免費域名一個(限每年費用低於一萬日圓的域名) +* Muumuu Domain DNS 註冊服務:十年免費域名一個(限每年費用低於一萬日圓的域名) IIJ GIO 特賞將獲得: From a44c5af2f3ed2fb446e48d0178db0ff9c7a18c53 Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Sun, 3 Mar 2019 16:11:11 +0100 Subject: [PATCH 0389/2563] Fix missing open code tag --- .../ruby-from-other-languages/to-ruby-from-perl/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vi/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md b/vi/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md index dc25a67782..27e32bef4c 100644 --- a/vi/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md +++ b/vi/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md @@ -21,7 +21,7 @@ Giống như Perl, trong Ruby,... * Cách hoạt động của các String cũng tương tự nhau. * Có một ký tự phân cách giữa chuỗi và regex khi trích dẫn cú pháp như của Perls (như `%q{(dẫu nháy đơn) này}`, hoặc `%Q{(nháy kép) này}`, - và %w{trích dẫn danh sách các từ}`. + và `%w{trích dẫn danh sách các từ}`. Bạn `%Q|có thể|` `%Q(dùng)` ký tự `%Q^khác^` nếu thích. * You’ve got double-quotish variable interpolation, though nó `"trông #{như thế} này"` (và bạn có thể đặt bất cứ đoạn mã mình thích vào From f386e7f9720f3224ed07a40c28888c42f61caf15 Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Sun, 3 Mar 2019 16:11:56 +0100 Subject: [PATCH 0390/2563] Fix uri encoding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit >> URI.encode "https://www.google.com/maps/search/松江テルサ/@35.463976,133.062015,14z?hl=ja" => "https://www.google.com/maps/search/%E6%9D%BE%E6%B1%9F%E3%83%86%E3%83%AB%E3%82%B5/@35.463976,133.062015,14z?hl=ja" --- .../_posts/2015-09-03-matsue-rubykaigi-registration-is-open.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2015-09-03-matsue-rubykaigi-registration-is-open.md b/ja/news/_posts/2015-09-03-matsue-rubykaigi-registration-is-open.md index 1e135bf761..078a675c3a 100644 --- a/ja/news/_posts/2015-09-03-matsue-rubykaigi-registration-is-open.md +++ b/ja/news/_posts/2015-09-03-matsue-rubykaigi-registration-is-open.md @@ -10,7 +10,7 @@ lang: ja 日本Rubyの会が後援する、[地域Ruby会議(RegionalRubyKaigi)][1]の1つである[松江Ruby会議07](http://matsue.rubyist.net/matrk07/)の参加登録が開始されました。 * 開催日: 2015年9月26日(土) 11:00 〜 17:10 (懇親会) 18:00 〜 20:00 -* 会場: [松江テルサ4F](https://www.google.com/maps/search/松江テルサ/@35.463976,133.062015,14z?hl=ja) +* 会場: [松江テルサ4F](https://www.google.com/maps/search/%E6%9D%BE%E6%B1%9F%E3%83%86%E3%83%AB%E3%82%B5/@35.463976,133.062015,14z?hl=ja) * 主  催: Matsue.rb(まつえるびー) * 参加費: 無料 * 中継: [動画による中継(YouTube)](https://www.youtube.com/watch?v=JhNlQra5VKg) From 2c8ff6b80a1d8fb2b8b86e38996fdd7e6b8c491d Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Sun, 3 Mar 2019 16:23:28 +0100 Subject: [PATCH 0391/2563] Fix tidy js check ref https://github.com/htacg/tidy-html5/issues/65 --- admin/translation-status/index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/admin/translation-status/index.html b/admin/translation-status/index.html index 2ce9252e96..9d6886602f 100644 --- a/admin/translation-status/index.html +++ b/admin/translation-status/index.html @@ -1,6 +1,3 @@ ---- ---- - @@ -40,7 +37,7 @@

News Post Translation Status

var code = window.navigator.language || window.navigator.userLanguage || "en"; if (code.substr(0,2) !== "zh") { code = code.substr(0,2); } var language = code.replace(/-/g,'_').toLowerCase(); - document.write(''); + document.write(' +
+ + + + +{% include branches.json.html %} diff --git a/_includes/branches.json.html b/_includes/branches.json.html new file mode 100644 index 0000000000..c803806f26 --- /dev/null +++ b/_includes/branches.json.html @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/en/downloads/branches/index.md b/en/downloads/branches/index.md index 7f39e85866..4458cfec55 100644 --- a/en/downloads/branches/index.md +++ b/en/downloads/branches/index.md @@ -32,12 +32,14 @@ the following phases: Only previews or release candidates have been released for this branch so far. +{% include branches-timeline.html %} + {% for branch in site.data.branches %} ### Ruby {{ branch.name }} status: {{ branch.status }}
-release date: {{ branch.date }}{% if branch.eol_date %}
-EOL date: {{ branch.eol_date }} -{% endif %} +release date: {{ branch.date }}
+normal maintenance until: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}TBD{% endif %}
+EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}TBD{% endif %} {% endfor %} diff --git a/ja/downloads/index.md b/ja/downloads/index.md index b16293c19a..caebdd314c 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -80,3 +80,15 @@ Windows向けのバイナリが有志により配布されています。 [railsinstaller]: http://railsinstaller.org/ [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv + +{% include branches-timeline.html %} + +{% for branch in site.data.branches %} +### Ruby {{ branch.name }} + +ステータス: {{ branch.status }}
+リリース: {{ branch.date }}
+通常メンテナンス終了: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}TBD{% endif %}
+EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}TBD{% endif %} + +{% endfor %} diff --git a/javascripts/branch-timeline.js b/javascripts/branch-timeline.js new file mode 100644 index 0000000000..377c36d163 --- /dev/null +++ b/javascripts/branch-timeline.js @@ -0,0 +1,138 @@ +(function (){ + google.charts.load("current", { + packages: ["timeline"] + }); + google.charts.setOnLoadCallback(drawChart); + + function drawChart() { + const source = + JSON.parse(document.getElementById("branches.json").innerHTML).slice(0, 5).reverse() + .map(e => { + return { + ...e, + date: new Date(e.date), + security_maintenance_date: e.security_maintenance_date ? new Date(e.security_maintenance_date) : null, + eol_date: e.eol_date ? new Date(e.eol_date) : null + }; + }); + const container = document.getElementById('lifecycle-timeline'); + const options = { + timeline: { + groupByRowLabel: true, + showBarLabels: false + }, + alternatingRowStyle: false, + enableInteractivity: false, + tooltip: { + isHtml: true + } + }; + + container.style.height = `${50+source.length*42}px` + const chart = new google.visualization.Timeline(container); + const dataTable = new google.visualization.DataTable(); + const color_eol = '#555555'; + const colors = { + past: { + 'normal maintenance': '#7f9382', + 'security maintenance': '#e7d9cb' + }, + current: { + 'normal maintenance': '#028A0F', + 'security maintenance': '#F28C28' + }, + future: { + 'normal maintenance': '#71b47b', + 'security maintenance': '#ffd58b' + } + } + window.dt = dataTable; + dataTable.addColumn({ + type: 'string', + id: 'Version' + }); + dataTable.addColumn({ + type: 'string', + id: 'Status' + }); + dataTable.addColumn({ + type: 'string', + id: 'style', + role: 'style' + }); + dataTable.addColumn({ + type: 'date', + id: 'Start' + }); + dataTable.addColumn({ + type: 'date', + id: 'End' + }); + const today = new Date(); + const active = []; + dataTable.addRows(source.map(e => { + const name = e.name == 3 ? "3.0" : `${e.name}`; + let color1 = colors.current["normal maintenance"]; + let color2 = colors.current["security maintenance"]; + const status = e.status.toUpperCase(); + let eol_date = e.eol_date; + if (!eol_date) { + eol_date = new Date(e.date.getFullYear() + 4, 2, 31); + } + let security_maintenance_date = e.security_maintenance_date; + if (!security_maintenance_date) { + security_maintenance_date = new Date(e.date.getFullYear() + 3, 2, 31); + } + if (security_maintenance_date < today) { + color1 = colors.past["normal maintenance"]; + } else if (today < e.date) { + color1 = colors.future["normal maintenance"]; + } else { + active.push(name); + } + if (eol_date < today) { + color2 = colors.past["security maintenance"]; + } else if (today < security_maintenance_date) { + color2 = colors.future["security maintenance"]; + } else { + active.push(name); + } + return [[ + name, + "NORMAL MAINTENANCE", + color1, + e.date, + security_maintenance_date, + ],[ + name, + "SECURITY MAINTENANCE", + color2, + security_maintenance_date, + eol_date, + ]]; + }).flat()); + + var todayColor = "#ff0000"; + dataTable.addRows([[source[0].name,"today",todayColor,today,today]]); + + window.addEventListener("resize", () => { + if (this.resizeTO) clearTimeout(this.resizeTO); + this.resizeTO = setTimeout(() => { + window.dispatchEvent(new Event('resizeEnd')); + }, 500); + }); + window.addEventListener("resizeEnd", () => { + const tooltips = document.querySelectorAll(".rlo-timeline-tooltip"); + for(const tooltip of tooltips){tooltip.parentElement.remove();} + chart.draw(dataTable, options); + }); + google.visualization.events.addListener(chart, 'ready', ()=>{ + const line = document.querySelector(`rect[fill="${todayColor}"]`); + line.parentElement.appendChild(line); + active.forEach(a=>{ + $(`text:contains("${a}")`).css({"font-weight": 900}); + }); + }); + chart.draw(dataTable, options); + } +})(); From 8b597eb90b2fe419316185119b3a7e6beebdea11 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Thu, 26 Jan 2023 08:49:52 +0700 Subject: [PATCH 1849/2563] Translate CVE-2021-33621 news post (id) --- ...esponse-splitting-in-cgi-cve-2021-33621.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md diff --git a/id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md new file mode 100644 index 0000000000..911318db9c --- /dev/null +++ b/id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "CVE-2021-33621: HTTP response splitting pada CGI" +author: "mame" +translator: "meisyal" +date: 2022-11-22 02:00:00 +0000 +tags: security +lang: id +--- + +Kami telah merilis *gem* cgi versi 0.3.5, 0.2.2, dan 0.1.0.2 yang memiliki +sebuah kerentanan HTTP *response splitting*. +Kerentanan ini telah ditetapkan dengan penanda CVE +[CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621). + +## Detail + +Jika sebuah aplikasi menghasilkan respons HTTP dengan menggunakan *gem* cgi +melalui masukan pengguna yang tidak dapat dipercaya, seorang penyerang dapat +mengeksploitasinya dengan menginjeksi sebuah HTTP *response header* dan/atau +*body* yang berbahaya. + +Begitu pula, isi dari objek `CGI::Cookie` tidak dicek dengan tepat. Jika sebuah +aplikasi membuat sebuah objek `CGI::Cookie` berdasarkan masukan pengguna, +seorang penyerang bisa mengeksploitasinya dengan menginjeksi atribut-atribut +yang tidak valid pada `Set-Cookie` *header*. Kami berpikir hal tersebut tidak +mungkin terjadi, tetapi kami telah memasukkan perubahan untuk mengecek +argumen pada `CGI::Cookie#initialize` secara preventif. + +Mohon perbarui versi *gem* cgi ke 0.3.5, 0.2.2, dan 0.1.0.2, atau setelahnya. +Anda dapat menggunakan perintah `gem update cgi` untuk memperbarui. +Jika Anda menggunakan *bundler*, mohon tambahkan `gem "cgi", ">= 0.3.5"` pada +`Gemfile` Anda. + +## Versi terimbas + +* cgi gem 0.3.3 atau sebelumnya +* cgi gem 0.2.1 atau sebelumnya +* cgi gem 0.1.1 atau 0.1.0.1 atau 0.1.0 + +## Rujukan + +Terima kasih kepada [Hiroshi Tokumaru](https://hackerone.com/htokumaru?type=user) +yang telah menemukan isu ini. + +## Riwayat + +Semula dipublikasikan pada 2022-11-22 02:00:00 (UTC) From d4b4ba745d8ea3776e5b0dbd542c763e033ec0c8 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 28 Jan 2023 15:36:04 +0700 Subject: [PATCH 1850/2563] Translate Ruby 2.7.7 released news post (id) --- .../_posts/2022-11-24-ruby-2-7-7-released.md | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 id/news/_posts/2022-11-24-ruby-2-7-7-released.md diff --git a/id/news/_posts/2022-11-24-ruby-2-7-7-released.md b/id/news/_posts/2022-11-24-ruby-2-7-7-released.md new file mode 100644 index 0000000000..5bbc0e13d5 --- /dev/null +++ b/id/news/_posts/2022-11-24-ruby-2-7-7-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Ruby 2.7.7 Dirilis" +author: "usa" +translator: "meisyal" +date: 2022-11-24 12:00:00 +0000 +lang: id +--- + +Ruby 2.7.7 telah dirilis. + +Rilis ini mencakup sebuah perbaikan keamanan. +Mohon cek topik di bawah ini untuk detail. + +* [CVE-2021-33621: HTTP response splitting pada CGI]({%link id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +Rilis ini juga mencakup beberapa perbaikan terkait masalah *build*. Perbaikan +tersebut tidak akan memengaruhi kompatibilitas pada versi sebelumnya. +Lihat [commit logs](https://github.com/ruby/ruby/compare/v2_7_6...v2_7_7) +untuk lebih detail. + +## Unduh + +{% assign release = site.data.releases | where: "version", "2.7.7" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang telah menyediakan laporan +*bug* membantu kami untuk membuat rilis ini. Terima kasih atas kontribusinya. From da45290aea67d50aee3c4cff93be1dcced4b3779 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Wed, 8 Feb 2023 21:41:35 +0900 Subject: [PATCH 1851/2563] Ruby 3.2.1 Released (#2976) --- _data/downloads.yml | 2 +- _data/releases.yml | 24 ++++++++++ .../_posts/2023-02-08-ruby-3-2-1-released.md | 44 +++++++++++++++++++ .../_posts/2023-02-08-ruby-3-2-1-released.md | 43 ++++++++++++++++++ 4 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2023-02-08-ruby-3-2-1-released.md create mode 100644 ja/news/_posts/2023-02-08-ruby-3-2-1-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 90aee5f324..02ba2ff9db 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -7,7 +7,7 @@ preview: stable: - - 3.2.0 + - 3.2.1 - 3.1.3 - 3.0.5 diff --git a/_data/releases.yml b/_data/releases.yml index 373498111b..64386df05c 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,30 @@ # 3.2 series +- version: 3.2.1 + date: '2023-02-08' + post: "/en/news/2023/02/08/ruby-3-2-1-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.1.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.1.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.1.zip + size: + gz: 20448976 + xz: 15094384 + zip: 24595108 + sha1: + gz: aa570c9c89dc19090f623dc31083a4fa4e2b8a7b + xz: eab9eaa05c6f572032e8c8f6108c9a4fe229ddd3 + zip: fa35be65563b8d989ecf529b938e391b5d595ac4 + sha256: + gz: 13d67901660ee3217dbd9dd56059346bd4212ce64a69c306ef52df64935f8dbd + xz: 746c8661ae25449cbdc5297d1092702e93e66f365a75fecb740d4f292ced630c + zip: b6e132b65ec1a821067a5a1ca281936aa6f8967d3f758c623a9f4f22e711a317 + sha512: + gz: f8bbff5e237b501f4042ddc70a19ac1ce74f72f147c90daf7f3007a940136abde37c12a0f7444f713ede09ba847c2cc2897a1742823832e3dc8cce80073164e1 + xz: 69caadab9be6b56905ea4fc92fa0e36704f9fa6a0e7e7f4c6bdb79e9cbe8dc57c524f96d9c18802d61aa1ca578fed2e9758692f9d701bf0dba938f0206b721b3 + zip: 795e1b74f70552d756c0a75c12ff9f3150866546643dd86afbbe8c0bcaa4df53ae928004e3632e703e14bb76d671c4627dfd01eb453d039067186200ea058d74 + - version: 3.2.0 date: 2022-12-25 post: /en/news/2022/12/25/ruby-3-2-0-released/ diff --git a/en/news/_posts/2023-02-08-ruby-3-2-1-released.md b/en/news/_posts/2023-02-08-ruby-3-2-1-released.md new file mode 100644 index 0000000000..202f230167 --- /dev/null +++ b/en/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "Ruby 3.2.1 Released" +author: "naruse" +translator: +date: 2023-02-08 12:00:00 +0000 +lang: en +--- + +Ruby 3.2.1 has been released. + +This is the first TEENY version release of the stable 3.2 series. + +See the [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...v3_2_1) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. diff --git a/ja/news/_posts/2023-02-08-ruby-3-2-1-released.md b/ja/news/_posts/2023-02-08-ruby-3-2-1-released.md new file mode 100644 index 0000000000..659c4c1019 --- /dev/null +++ b/ja/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.2.1 リリース" +author: "naruse" +translator: mame +date: 2023-02-08 12:00:00 +0000 +lang: ja +--- + +Ruby 3.2.1 がリリースされました。 + +これは 3.2 シリーズにおける最初の TEENY リリースになります。 + +詳しい変更については [commit log](https://github.com/ruby/ruby/compare/v3_2_0...v3_2_1) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.2.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +このリリースにあたり、多くのコミッター、開発者、バグ報告をしてくれたユーザーの皆様に感謝を申し上げます。 From 10fc110ea335b949de8a5007289c41bbabb17473 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 8 Feb 2023 20:54:52 +0700 Subject: [PATCH 1852/2563] Translate Ruby 3.0.5 released news post (id) --- .../_posts/2022-11-24-ruby-3-0-5-released.md | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 id/news/_posts/2022-11-24-ruby-3-0-5-released.md diff --git a/id/news/_posts/2022-11-24-ruby-3-0-5-released.md b/id/news/_posts/2022-11-24-ruby-3-0-5-released.md new file mode 100644 index 0000000000..6f28c172d7 --- /dev/null +++ b/id/news/_posts/2022-11-24-ruby-3-0-5-released.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "Ruby 3.0.5 Dirilis" +author: "usa" +translator: "meisyal" +date: 2022-11-24 12:00:00 +0000 +lang: id +--- + +Ruby 3.0.5 telah dirilis. + +Rilis ini mencakup sebuah perbaikan keamanan. +Mohon cek topik di bawah ini untuk detail. + +* [CVE-2021-33621: HTTP response splitting pada CGI]({%link id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +Rilis ini juga mencakup beberapa perbaikan *bug*. +Lihat [commit logs](https://github.com/ruby/ruby/compare/v3_0_4...v3_0_5) untuk +lebih detail. + +## Unduh + +{% assign release = site.data.releases | where: "version", "3.0.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang telah menyediakan laporan +*bug* membantu kami untuk membuat rilis ini. Terima kasih atas kontribusinya. + +Perawatan dari Ruby 3.0, termasuk rilis ini, didasarkan pada +"Agreement for the Ruby stable version" dari Ruby Association. From f0c798be2aa4c208a83d175dc4e608db79679516 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 10 Feb 2023 09:33:45 +0900 Subject: [PATCH 1853/2563] Replace commit logs to GitHub releases at en and ja --- en/news/_posts/2022-11-24-ruby-2-7-7-released.md | 2 +- en/news/_posts/2022-11-24-ruby-3-0-5-released.md | 2 +- en/news/_posts/2022-11-24-ruby-3-1-3-released.md | 2 +- en/news/_posts/2023-02-08-ruby-3-2-1-released.md | 2 +- ja/news/_posts/2022-11-24-ruby-2-7-7-released.md | 2 +- ja/news/_posts/2022-11-24-ruby-3-0-5-released.md | 2 +- ja/news/_posts/2022-11-24-ruby-3-1-3-released.md | 2 +- ja/news/_posts/2023-02-08-ruby-3-2-1-released.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/news/_posts/2022-11-24-ruby-2-7-7-released.md b/en/news/_posts/2022-11-24-ruby-2-7-7-released.md index 9f9bd9b63f..a742dabcea 100644 --- a/en/news/_posts/2022-11-24-ruby-2-7-7-released.md +++ b/en/news/_posts/2022-11-24-ruby-2-7-7-released.md @@ -15,7 +15,7 @@ Please check the topics below for details. * [CVE-2021-33621: HTTP response splitting in CGI]({%link en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) This release also includes some build problem fixes. They are not considered to affect compatibility with previous versions. -See the [commit logs](https://github.com/ruby/ruby/compare/v2_7_6...v2_7_7) for further details. +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v2_7_7) for further details. ## Download diff --git a/en/news/_posts/2022-11-24-ruby-3-0-5-released.md b/en/news/_posts/2022-11-24-ruby-3-0-5-released.md index 2ffea8f0a5..283fca8702 100644 --- a/en/news/_posts/2022-11-24-ruby-3-0-5-released.md +++ b/en/news/_posts/2022-11-24-ruby-3-0-5-released.md @@ -15,7 +15,7 @@ Please check the topics below for details. * [CVE-2021-33621: HTTP response splitting in CGI]({%link en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) This release also includes some bug fixes. -See the [commit logs](https://github.com/ruby/ruby/compare/v3_0_4...v3_0_5) for further details. +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_5) for further details. ## Download diff --git a/en/news/_posts/2022-11-24-ruby-3-1-3-released.md b/en/news/_posts/2022-11-24-ruby-3-1-3-released.md index 6e48ee6044..3a7524fec0 100644 --- a/en/news/_posts/2022-11-24-ruby-3-1-3-released.md +++ b/en/news/_posts/2022-11-24-ruby-3-1-3-released.md @@ -17,7 +17,7 @@ Please check the topics below for details. This release also includes a fix for build failure with Xcode 14 and macOS 13 (Ventura). See [the related ticket](https://bugs.ruby-lang.org/issues/18912) for more details. -See the [commit logs](https://github.com/ruby/ruby/compare/v3_1_2...v3_1_3) for further details. +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_3) for further details. ## Download diff --git a/en/news/_posts/2023-02-08-ruby-3-2-1-released.md b/en/news/_posts/2023-02-08-ruby-3-2-1-released.md index 202f230167..ce0ba418e1 100644 --- a/en/news/_posts/2023-02-08-ruby-3-2-1-released.md +++ b/en/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -11,7 +11,7 @@ Ruby 3.2.1 has been released. This is the first TEENY version release of the stable 3.2 series. -See the [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...v3_2_1) for further details. +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_1) for further details. ## Download diff --git a/ja/news/_posts/2022-11-24-ruby-2-7-7-released.md b/ja/news/_posts/2022-11-24-ruby-2-7-7-released.md index 2557ef74ca..0c0c837be6 100644 --- a/ja/news/_posts/2022-11-24-ruby-2-7-7-released.md +++ b/ja/news/_posts/2022-11-24-ruby-2-7-7-released.md @@ -15,7 +15,7 @@ Ruby 2.7.7 がリリースされました。 * [CVE-2021-33621: HTTP response splitting in CGI]({%link en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) このリリースには、いくつかのビルド上の問題への対応も含まれています。これらの変更は以前のバージョンとの互換性には影響しないと判断されています。 -詳しくは [commit logs](https://github.com/ruby/ruby/compare/v2_7_6...v2_7_7) を参照してください。 +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v2_7_7) を参照してください。 ## ダウンロード diff --git a/ja/news/_posts/2022-11-24-ruby-3-0-5-released.md b/ja/news/_posts/2022-11-24-ruby-3-0-5-released.md index adb49bd294..eaf6d7d56b 100644 --- a/ja/news/_posts/2022-11-24-ruby-3-0-5-released.md +++ b/ja/news/_posts/2022-11-24-ruby-3-0-5-released.md @@ -15,7 +15,7 @@ Ruby 3.0.5 がリリースされました。 * [CVE-2021-33621: HTTP response splitting in CGI]({%link en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) このリリースには、いくつかのバグ修正も含まれています。 -詳しくは [commit logs](https://github.com/ruby/ruby/compare/v3_0_4...v3_0_5) を参照してください。 +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_5) を参照してください。 ## ダウンロード diff --git a/ja/news/_posts/2022-11-24-ruby-3-1-3-released.md b/ja/news/_posts/2022-11-24-ruby-3-1-3-released.md index 9f5e870c6d..996fc7eae8 100644 --- a/ja/news/_posts/2022-11-24-ruby-3-1-3-released.md +++ b/ja/news/_posts/2022-11-24-ruby-3-1-3-released.md @@ -17,7 +17,7 @@ Ruby 3.1.3 がリリースされました。 またこのリリースでは Xcode 14 や macOS 13 (Ventura) でのビルドがうまくいかない問題に対する対策も含まれています。 詳しくは [関連チケット](https://bugs.ruby-lang.org/issues/18912) を参照してください。 -その他の変更点について詳しくは [commit logs](https://github.com/ruby/ruby/compare/v3_1_2...v3_1_3) を参照してください。 +その他の変更点について詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_3) を参照してください。 ## ダウンロード diff --git a/ja/news/_posts/2023-02-08-ruby-3-2-1-released.md b/ja/news/_posts/2023-02-08-ruby-3-2-1-released.md index 659c4c1019..a2efa975d3 100644 --- a/ja/news/_posts/2023-02-08-ruby-3-2-1-released.md +++ b/ja/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -11,7 +11,7 @@ Ruby 3.2.1 がリリースされました。 これは 3.2 シリーズにおける最初の TEENY リリースになります。 -詳しい変更については [commit log](https://github.com/ruby/ruby/compare/v3_2_0...v3_2_1) を参照してください。 +詳しい変更については [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_1) を参照してください。 ## ダウンロード From eb1c8628e8c7988cd9b4b1c339bbe62cf7235eec Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 10 Feb 2023 10:55:33 +0900 Subject: [PATCH 1854/2563] Translate Ruby 3.2.1 released (ko) (#2979) * Copy from en * Translate Ruby 3.2.1 released --- .../_posts/2023-02-08-ruby-3-2-1-released.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 ko/news/_posts/2023-02-08-ruby-3-2-1-released.md diff --git a/ko/news/_posts/2023-02-08-ruby-3-2-1-released.md b/ko/news/_posts/2023-02-08-ruby-3-2-1-released.md new file mode 100644 index 0000000000..cb33705715 --- /dev/null +++ b/ko/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "Ruby 3.2.1 릴리스" +author: "naruse" +translator: "shia" +date: 2023-02-08 12:00:00 +0000 +lang: ko +--- + +Ruby 3.2.1이 릴리스되었습니다. + +3.2 안정 버전대의 첫 TEENY 버전입니다. + +자세한 사항은 [커밋 로그](https://github.com/ruby/ruby/compare/v3_2_0...v3_2_1)를 확인해 주세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.2.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From f4a055960ed4983e951edbddbdd4f917eb8307f2 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Fri, 10 Feb 2023 15:02:06 +0900 Subject: [PATCH 1855/2563] Add "expected_eol_date" --- _data/branches.yml | 4 ++++ en/downloads/branches/index.md | 2 +- ja/downloads/index.md | 2 +- javascripts/branch-timeline.js | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/_data/branches.yml b/_data/branches.yml index 1d91d558c6..5d4a419bff 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -13,24 +13,28 @@ date: 2022-12-25 security_maintenance_date: eol_date: + expected_eol_date: 2026-03-31 - name: 3.1 status: normal maintenance date: 2021-12-25 security_maintenance_date: eol_date: + expected_eol_date: 2025-03-31 - name: 3.0 status: normal maintenance date: 2020-12-25 security_maintenance_date: eol_date: + expected_eol_date: 2024-03-31 - name: 2.7 status: security maintenance date: 2019-12-25 security_maintenance_date: 2022-04-01 eol_date: + expected_eol_date: 2023-03-31 - name: 2.6 status: eol diff --git a/en/downloads/branches/index.md b/en/downloads/branches/index.md index 4458cfec55..d3ad4a6625 100644 --- a/en/downloads/branches/index.md +++ b/en/downloads/branches/index.md @@ -40,6 +40,6 @@ the following phases: status: {{ branch.status }}
release date: {{ branch.date }}
normal maintenance until: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}TBD{% endif %}
-EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}TBD{% endif %} +EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }} (expected){% else %}TBD{% endif %}{% endif %} {% endfor %} diff --git a/ja/downloads/index.md b/ja/downloads/index.md index caebdd314c..89550049e1 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -89,6 +89,6 @@ Windows向けのバイナリが有志により配布されています。 ステータス: {{ branch.status }}
リリース: {{ branch.date }}
通常メンテナンス終了: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}TBD{% endif %}
-EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}TBD{% endif %} +EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }}(見込み){% else %}TBD{% endif %}{% endif %} {% endfor %} diff --git a/javascripts/branch-timeline.js b/javascripts/branch-timeline.js index 377c36d163..dfe7a5d061 100644 --- a/javascripts/branch-timeline.js +++ b/javascripts/branch-timeline.js @@ -12,7 +12,7 @@ ...e, date: new Date(e.date), security_maintenance_date: e.security_maintenance_date ? new Date(e.security_maintenance_date) : null, - eol_date: e.eol_date ? new Date(e.eol_date) : null + eol_date: e.eol_date ? new Date(e.eol_date) : e.expected_eol_date ? new Date(e.expected_eol_date) : null }; }); const container = document.getElementById('lifecycle-timeline'); From 6f0d36a160d7730b692f4fd4a7a691038737637d Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 11 Feb 2023 12:05:33 +0900 Subject: [PATCH 1856/2563] Replace commit logs to GitHub releases (ko) (#2982) --- ko/news/_posts/2022-11-24-ruby-2-7-7-released.md | 2 +- ko/news/_posts/2022-11-24-ruby-3-0-5-released.md | 2 +- ko/news/_posts/2022-11-24-ruby-3-1-3-released.md | 2 +- ko/news/_posts/2023-02-08-ruby-3-2-1-released.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ko/news/_posts/2022-11-24-ruby-2-7-7-released.md b/ko/news/_posts/2022-11-24-ruby-2-7-7-released.md index e700aff940..6f9fd6252b 100644 --- a/ko/news/_posts/2022-11-24-ruby-2-7-7-released.md +++ b/ko/news/_posts/2022-11-24-ruby-2-7-7-released.md @@ -15,7 +15,7 @@ Ruby 2.7.7이 릴리스되었습니다. * [CVE-2021-33621: CGI에서의 HTTP 응답 분할]({%link ko/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) 이 릴리스는 몇몇 빌드 문제 수정을 포함합니다. 이는 이전 버전과 호환성 문제를 일으키지 않습니다. -자세한 사항은 [커밋 로그](https://github.com/ruby/ruby/compare/v2_7_6...v2_7_7)를 확인해 주세요. +자세한 사항은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v2_7_7)를 확인해 주세요. ## 다운로드 diff --git a/ko/news/_posts/2022-11-24-ruby-3-0-5-released.md b/ko/news/_posts/2022-11-24-ruby-3-0-5-released.md index 3d1f91cc4b..a3a4148bbb 100644 --- a/ko/news/_posts/2022-11-24-ruby-3-0-5-released.md +++ b/ko/news/_posts/2022-11-24-ruby-3-0-5-released.md @@ -15,7 +15,7 @@ Ruby 3.0.5가 릴리스되었습니다. * [CVE-2021-33621: CGI에서의 HTTP 응답 분할]({%link ko/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) 이 릴리스는 몇몇 버그 수정을 포함합니다. -자세한 사항은 [커밋 로그](https://github.com/ruby/ruby/compare/v3_0_4...v3_0_5)를 확인해 주세요. +자세한 사항은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_0_5)를 확인해 주세요. ## 다운로드 diff --git a/ko/news/_posts/2022-11-24-ruby-3-1-3-released.md b/ko/news/_posts/2022-11-24-ruby-3-1-3-released.md index 2c978bf872..c9a10a29b6 100644 --- a/ko/news/_posts/2022-11-24-ruby-3-1-3-released.md +++ b/ko/news/_posts/2022-11-24-ruby-3-1-3-released.md @@ -17,7 +17,7 @@ Ruby 3.1.3이 릴리스되었습니다. 이 릴리스는 Xcode 14와 macOS 13(Ventura)에서의 빌드 실패에 대한 수정을 포함합니다. 자세한 사항은 [관련 티켓](https://bugs.ruby-lang.org/issues/18912)을 확인해 주세요. -자세한 사항은 [커밋 로그](https://github.com/ruby/ruby/compare/v3_1_2...v3_1_3)를 확인해 주세요. +자세한 사항은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_1_3)를 확인해 주세요. ## 다운로드 diff --git a/ko/news/_posts/2023-02-08-ruby-3-2-1-released.md b/ko/news/_posts/2023-02-08-ruby-3-2-1-released.md index cb33705715..0a897ff2da 100644 --- a/ko/news/_posts/2023-02-08-ruby-3-2-1-released.md +++ b/ko/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -11,7 +11,7 @@ Ruby 3.2.1이 릴리스되었습니다. 3.2 안정 버전대의 첫 TEENY 버전입니다. -자세한 사항은 [커밋 로그](https://github.com/ruby/ruby/compare/v3_2_0...v3_2_1)를 확인해 주세요. +자세한 사항은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_1)를 확인해 주세요. ## 다운로드 From 380464e61aa896ca7f7390ffff86150f7ae46129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sat, 11 Feb 2023 06:50:26 -0500 Subject: [PATCH 1857/2563] Translate Ruby 3.2.1 released news post (es) --- .../_posts/2023-02-08-ruby-3-2-1-released.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 es/news/_posts/2023-02-08-ruby-3-2-1-released.md diff --git a/es/news/_posts/2023-02-08-ruby-3-2-1-released.md b/es/news/_posts/2023-02-08-ruby-3-2-1-released.md new file mode 100644 index 0000000000..8e12e9856a --- /dev/null +++ b/es/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "Publicado Ruby 3.2.1" +author: "naruse" +translator: vtamara +date: 2023-02-08 12:00:00 +0000 +lang: en +--- + +Ruby 3.2.1 ha sido publicado + +Esta es la primera versión PEQUEÑA de la serie estable 3.2. + +Ver más detalles de las [versiones en GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_1). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.2.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentario de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron +reportes de fallas nos ayudaron a darle forma a esta versión. +Gracias por sus contribuciones. From 185f1e12e8ff1b5dd11ed4e576a5f223e8f38013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sun, 12 Feb 2023 06:19:25 -0500 Subject: [PATCH 1858/2563] Improve with feedback of @gvfcastro --- es/news/_posts/2023-02-08-ruby-3-2-1-released.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/es/news/_posts/2023-02-08-ruby-3-2-1-released.md b/es/news/_posts/2023-02-08-ruby-3-2-1-released.md index 8e12e9856a..f8748bb06c 100644 --- a/es/news/_posts/2023-02-08-ruby-3-2-1-released.md +++ b/es/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -4,14 +4,14 @@ title: "Publicado Ruby 3.2.1" author: "naruse" translator: vtamara date: 2023-02-08 12:00:00 +0000 -lang: en +lang: es --- -Ruby 3.2.1 ha sido publicado +Ruby 3.2.1 ha sido publicado. Esta es la primera versión PEQUEÑA de la serie estable 3.2. -Ver más detalles de las [versiones en GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_1). +Puedes ver la [página de lanzamientos en GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_1) para obtener más detalles. ## Descargas From 15d6a73842d05c5b27553418b2234ab85ef3a9cd Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Thu, 16 Feb 2023 18:59:25 +0700 Subject: [PATCH 1859/2563] Translate Ruby 3.1.3 released news post (id) --- .../_posts/2022-11-24-ruby-3-1-3-released.md | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 id/news/_posts/2022-11-24-ruby-3-1-3-released.md diff --git a/id/news/_posts/2022-11-24-ruby-3-1-3-released.md b/id/news/_posts/2022-11-24-ruby-3-1-3-released.md new file mode 100644 index 0000000000..f298ca76dc --- /dev/null +++ b/id/news/_posts/2022-11-24-ruby-3-1-3-released.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "Ruby 3.1.3 Dirilis" +author: "nagachika" +translator: "meisyal" +date: 2022-11-24 12:00:00 +0000 +lang: id +--- + +Ruby 3.1.3 telah dirilis. + +Rilis ini mencakup sebuah perbaikan keamanan. +Mohon cek topik di bawah ini untuk detail. + +* [CVE-2021-33621: HTTP response splitting pada CGI]({%link id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +Rilis ini juga mencakup perbaikan kegagalan *build* pada Xcode 14 dan +macOS 13 (Ventura). Lihat [tiket terkait](https://bugs.ruby-lang.org/issues/18912) +untuk lebih detail. + +Lihat [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_3) +untuk detail lanjut. + +## Unduh + +{% assign release = site.data.releases | where: "version", "3.1.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang telah menyediakan laporan +*bug* membantu kami untuk membuat rilis ini. Terima kasih atas kontribusinya. From c60cf31020e2c9ebd05a4f69868f75d4d924e53f Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Fri, 17 Feb 2023 23:28:55 +0800 Subject: [PATCH 1860/2563] Translate 'Ruby 3.2.1 Released' (zh_cn) (#2978) --- .../_posts/2023-02-08-ruby-3-2-1-released.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 zh_cn/news/_posts/2023-02-08-ruby-3-2-1-released.md diff --git a/zh_cn/news/_posts/2023-02-08-ruby-3-2-1-released.md b/zh_cn/news/_posts/2023-02-08-ruby-3-2-1-released.md new file mode 100644 index 0000000000..e1bf305fcf --- /dev/null +++ b/zh_cn/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "Ruby 3.2.1 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2023-02-08 12:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.2.1 已发布。 + +这是 Ruby 3.2 系列的第一个小版本更新。 + +您可以通过 [提交日志](https://github.com/ruby/ruby/compare/v3_2_0...v3_2_1) 获取更多信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.2.1" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 版本说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 32ea097a56e4bd19f5a56fc8f195784ba93fb6df Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Mon, 27 Feb 2023 12:21:37 +0900 Subject: [PATCH 1861/2563] Remove outdated Ruby variants from ja site * IronRuby's latest release was in 2011 according to http://ironruby.net/ * MagLev's latest release was in 2013 according to https://github.com/MagLev/maglev/tags * ParrotVM is currently inactive according to http://www.parrot.org/ --- ja/about/index.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ja/about/index.md b/ja/about/index.md index a704b1ba32..0d952c0270 100644 --- a/ja/about/index.md +++ b/ja/about/index.md @@ -173,9 +173,6 @@ MRI以外のRuby処理系には以下のようなものがあります。 JVMの最適化されたJITコンパイラやGC、並行スレッド、ツール群、そして膨大なコレクションのライブラリを使うことができます。 * [Rubinius][rubinius]は「Rubyで書かれたRuby」です。LLVM上に構築されています。LLVMは他の言語も構築されるよくできた仮想マシンです。 * [mruby][mruby]はRubyの軽量実装です。アプリケーションにリンクし、組み込むことができます。Rubyの作者であるまつもと ゆきひろ氏によって開発が進められています。 -* [IronRuby][ironruby]は、.Netフレームワークにしっかりと統合されたRuby処理系です。 -* [MagLev][maglev]は、オブジェクトの永続化と分散共有キャッシュを持った、高速で安定したRuby処理系です。 -* [Cardinal][cardinal]はPerl6用の仮想マシンである[Parrot][parrot]上のRubyコンパイラです。 ### 参照リンク @@ -198,7 +195,3 @@ MRI以外のRuby処理系には以下のようなものがあります。 [jruby]: http://jruby.org [rubinius]: http://rubini.us [mruby]: http://www.mruby.org/ -[ironruby]: http://www.ironruby.net -[maglev]: http://maglev.github.io -[cardinal]: https://github.com/parrot/cardinal -[parrot]: http://parrot.org From dc19c3b43aae36e86e3cff4ab87ae2bd4b4b4a8f Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Mon, 27 Feb 2023 12:28:06 +0900 Subject: [PATCH 1862/2563] Add truffleruby to variant list in ja --- ja/about/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ja/about/index.md b/ja/about/index.md index 0d952c0270..10bba9de67 100644 --- a/ja/about/index.md +++ b/ja/about/index.md @@ -173,6 +173,7 @@ MRI以外のRuby処理系には以下のようなものがあります。 JVMの最適化されたJITコンパイラやGC、並行スレッド、ツール群、そして膨大なコレクションのライブラリを使うことができます。 * [Rubinius][rubinius]は「Rubyで書かれたRuby」です。LLVM上に構築されています。LLVMは他の言語も構築されるよくできた仮想マシンです。 * [mruby][mruby]はRubyの軽量実装です。アプリケーションにリンクし、組み込むことができます。Rubyの作者であるまつもと ゆきひろ氏によって開発が進められています。 +* [truffleruby][truffleruby]はGraalVM上に構築された高速なRuby実装です。 ### 参照リンク @@ -195,3 +196,4 @@ MRI以外のRuby処理系には以下のようなものがあります。 [jruby]: http://jruby.org [rubinius]: http://rubini.us [mruby]: http://www.mruby.org/ +[truffleruby]: https://github.com/oracle/truffleruby From 2b1b6cc6629060d6eab07ff97a6826c13f6396b0 Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Mon, 27 Feb 2023 12:39:47 +0900 Subject: [PATCH 1863/2563] Put outdated variants into a new section They are still available today. --- ja/about/index.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ja/about/index.md b/ja/about/index.md index 10bba9de67..0fa467f7b0 100644 --- a/ja/about/index.md +++ b/ja/about/index.md @@ -171,10 +171,16 @@ MRI以外のRuby処理系には以下のようなものがあります。 * [JRuby][jruby]は、JVM(Java仮想マシン)上に構築されたRubyです。 JVMの最適化されたJITコンパイラやGC、並行スレッド、ツール群、そして膨大なコレクションのライブラリを使うことができます。 -* [Rubinius][rubinius]は「Rubyで書かれたRuby」です。LLVM上に構築されています。LLVMは他の言語も構築されるよくできた仮想マシンです。 * [mruby][mruby]はRubyの軽量実装です。アプリケーションにリンクし、組み込むことができます。Rubyの作者であるまつもと ゆきひろ氏によって開発が進められています。 * [truffleruby][truffleruby]はGraalVM上に構築された高速なRuby実装です。 +#### 以下のバージョンはここ数年ほとんどまたは全く更新されていませんが、引き続き利用可能です。 + +* [Rubinius][rubinius]は「Rubyで書かれたRuby」です。LLVM上に構築されています。LLVMは他の言語も構築されるよくできた仮想マシンです。 +* [IronRuby][ironruby]は、.Netフレームワークにしっかりと統合されたRuby処理系です。 +* [MagLev][maglev]は、オブジェクトの永続化と分散共有キャッシュを持った、高速で安定したRuby処理系です。 +* [Cardinal][cardinal]はPerl6用の仮想マシンである[Parrot][parrot]上のRubyコンパイラです。 + ### 参照リンク 1 Matz, ruby-talk メーリングリスト上での会話, [2000年5月12日][blade]。 @@ -197,3 +203,7 @@ MRI以外のRuby処理系には以下のようなものがあります。 [rubinius]: http://rubini.us [mruby]: http://www.mruby.org/ [truffleruby]: https://github.com/oracle/truffleruby +[ironruby]: http://www.ironruby.net +[maglev]: http://maglev.github.io +[cardinal]: https://github.com/parrot/cardinal +[parrot]: http://parrot.org From ada7beb0d210ec6b2436737f9b002b1b207ad0aa Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 13:05:14 +0900 Subject: [PATCH 1864/2563] split branch page for ja lang --- ja/downloads/branches/index.md | 34 ++++++++++++++++++++++++++++++++++ ja/downloads/index.md | 20 +++++--------------- 2 files changed, 39 insertions(+), 15 deletions(-) create mode 100644 ja/downloads/branches/index.md diff --git a/ja/downloads/branches/index.md b/ja/downloads/branches/index.md new file mode 100644 index 0000000000..c261d67c53 --- /dev/null +++ b/ja/downloads/branches/index.md @@ -0,0 +1,34 @@ +--- +layout: page +title: "Ruby のメンテナンスバージョン" +lang: ja +--- + +このページでは Ruby のバージョンのメンテナンス状況を記載します。 +{: .summary} + +より詳細な情報については[リリースページ](../releases/)を見てください。 + +これらは Ruby のブランチとそのメンテナンス状況の暫定リストです。 +EOL の日付等は予定として掲載しています。 + +Ruby のバージョンごとのブランチのメンテナンス方針は以下のフェーズに別れています: + +* **ノーマルメンテナンス** (不具合修正): + これらのブランチのバージョンは機能修正と脆弱性の修正が行われます。 +* **セキュリティメンテナンス** (脆弱性の修正): + これらのブランチは脆弱性の修正のみ行われます。 +* **EOL** (end-of-life): + これらのブランチは Ruby 開発チームによる修正は種類を問わず行われません。 + +{% include branches-timeline.html %} + +{% for branch in site.data.branches %} +### Ruby {{ branch.name }} + +ステータス: {{ branch.status }}
+リリース: {{ branch.date }}
+通常メンテナンス終了: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}TBD{% endif %}
+EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }}(見込み){% else %}TBD{% endif %}{% endif %} + +{% endfor %} diff --git a/ja/downloads/index.md b/ja/downloads/index.md index 89550049e1..a62b73ea6f 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -57,7 +57,11 @@ lang: ja 毎晩Gitから作成しているtarballです。 バグやその他の問題があるかもしれません。利用する場合は自己責任でお願いします! -RubyのSubversionやGitリポジトリについての情報は、[リポジトリガイド](/ja/documentation/repository-guide)を参照してください。 +Ruby の Gitリポジトリについての情報は、[リポジトリガイド](/ja/documentation/repository-guide)を参照してください。 + +リリースごとの詳しい情報や古いリリース、プレビューなどの情報については[リリースページ][releases]を見てください。 + +現在メンテナンス状況や Ruby のバージョンごとの情報については[メンテナンスバージョン][branches]のページを見てください。 Rubyのソースコードは、世界各国の[ミラーサイト][mirrors]からダウンロードできます。 お近くのミラーサイトをお使いください。 @@ -71,8 +75,6 @@ Windows向けのバイナリが有志により配布されています。 * [RailsInstaller][railsinstaller] (英語) RubyInstaller に Rails の開発に必要なものを加えたもの。 - - [license]: {{ site.license.url }} [installation]: /ja/documentation/installation/ [mirrors]: /en/downloads/mirrors/ @@ -80,15 +82,3 @@ Windows向けのバイナリが有志により配布されています。 [railsinstaller]: http://railsinstaller.org/ [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv - -{% include branches-timeline.html %} - -{% for branch in site.data.branches %} -### Ruby {{ branch.name }} - -ステータス: {{ branch.status }}
-リリース: {{ branch.date }}
-通常メンテナンス終了: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}TBD{% endif %}
-EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }}(見込み){% else %}TBD{% endif %}{% endif %} - -{% endfor %} From 0036c488261c98e72a7723dbc45bb4f38bc3000a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 13:05:36 +0900 Subject: [PATCH 1865/2563] Removed outdated preview branch info --- en/downloads/branches/index.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/en/downloads/branches/index.md b/en/downloads/branches/index.md index d3ad4a6625..1dfef04ac9 100644 --- a/en/downloads/branches/index.md +++ b/en/downloads/branches/index.md @@ -28,9 +28,6 @@ the following phases: * **eol** (end-of-life): Branch is not supported by the ruby-core team any longer and does not receive any fixes. No further patch release will be released. -* **preview**: - Only previews or release candidates have been released for - this branch so far. {% include branches-timeline.html %} From 7aae60572859a9be78155c6c72828057d6a09788 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 14:51:56 +0900 Subject: [PATCH 1866/2563] Update ja/downloads/branches/index.md Co-authored-by: Sorah Fukumori --- ja/downloads/branches/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/branches/index.md b/ja/downloads/branches/index.md index c261d67c53..fbc7131758 100644 --- a/ja/downloads/branches/index.md +++ b/ja/downloads/branches/index.md @@ -1,6 +1,6 @@ --- layout: page -title: "Ruby のメンテナンスバージョン" +title: "Ruby ブランチごとのメンテナンス状況" lang: ja --- From bbcd9ed783393f0ff8d77c69404d22189226cbbd Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 14:52:02 +0900 Subject: [PATCH 1867/2563] Update ja/downloads/branches/index.md Co-authored-by: Sorah Fukumori --- ja/downloads/branches/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/branches/index.md b/ja/downloads/branches/index.md index fbc7131758..421966fcc4 100644 --- a/ja/downloads/branches/index.md +++ b/ja/downloads/branches/index.md @@ -4,7 +4,7 @@ title: "Ruby ブランチごとのメンテナンス状況" lang: ja --- -このページでは Ruby のバージョンのメンテナンス状況を記載します。 +このページでは Ruby の各ブランチについてメンテナンス状況を記載します。 {: .summary} より詳細な情報については[リリースページ](../releases/)を見てください。 From 1b2db3bdc10553659005b99f7a47703bb2fef07a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 14:52:11 +0900 Subject: [PATCH 1868/2563] Update ja/downloads/branches/index.md Co-authored-by: Sorah Fukumori --- ja/downloads/branches/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/branches/index.md b/ja/downloads/branches/index.md index 421966fcc4..754091d38b 100644 --- a/ja/downloads/branches/index.md +++ b/ja/downloads/branches/index.md @@ -9,7 +9,7 @@ lang: ja より詳細な情報については[リリースページ](../releases/)を見てください。 -これらは Ruby のブランチとそのメンテナンス状況の暫定リストです。 +以下は Ruby のブランチとそのメンテナンス状況の暫定リストです。 EOL の日付等は予定として掲載しています。 Ruby のバージョンごとのブランチのメンテナンス方針は以下のフェーズに別れています: From e81258987a40d0a5d4a9166f38cd306ec0be103c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 14:52:18 +0900 Subject: [PATCH 1869/2563] Update ja/downloads/index.md Co-authored-by: Sorah Fukumori --- ja/downloads/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/index.md b/ja/downloads/index.md index a62b73ea6f..858df6178c 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -57,7 +57,7 @@ lang: ja 毎晩Gitから作成しているtarballです。 バグやその他の問題があるかもしれません。利用する場合は自己責任でお願いします! -Ruby の Gitリポジトリについての情報は、[リポジトリガイド](/ja/documentation/repository-guide)を参照してください。 +Ruby の Git リポジトリについての情報は、[リポジトリガイド](/ja/documentation/repository-guide)を参照してください。 リリースごとの詳しい情報や古いリリース、プレビューなどの情報については[リリースページ][releases]を見てください。 From 287df87263d61a4204c59e671915f66082da2645 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 14:52:22 +0900 Subject: [PATCH 1870/2563] Update ja/downloads/branches/index.md Co-authored-by: Sorah Fukumori --- ja/downloads/branches/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/branches/index.md b/ja/downloads/branches/index.md index 754091d38b..e0b71a1313 100644 --- a/ja/downloads/branches/index.md +++ b/ja/downloads/branches/index.md @@ -12,7 +12,7 @@ lang: ja 以下は Ruby のブランチとそのメンテナンス状況の暫定リストです。 EOL の日付等は予定として掲載しています。 -Ruby のバージョンごとのブランチのメンテナンス方針は以下のフェーズに別れています: +Ruby の各ブランチは以下のフェーズに別れてメンテナンスされています: * **ノーマルメンテナンス** (不具合修正): これらのブランチのバージョンは機能修正と脆弱性の修正が行われます。 From 17ac02c1c740774d25aca3691a4a19af0bb53005 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 14:52:30 +0900 Subject: [PATCH 1871/2563] Update ja/downloads/index.md Co-authored-by: Sorah Fukumori --- ja/downloads/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/index.md b/ja/downloads/index.md index 858df6178c..b6346672d7 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -59,7 +59,7 @@ lang: ja Ruby の Git リポジトリについての情報は、[リポジトリガイド](/ja/documentation/repository-guide)を参照してください。 -リリースごとの詳しい情報や古いリリース、プレビューなどの情報については[リリースページ][releases]を見てください。 +リリースごとの詳しい情報や古いリリース、プレビューなどの情報については[リリースページ][releases]を参照してください。 現在メンテナンス状況や Ruby のバージョンごとの情報については[メンテナンスバージョン][branches]のページを見てください。 From b50a065324e1f356a38c6867de2d900d71e7749d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 14:52:35 +0900 Subject: [PATCH 1872/2563] Update ja/downloads/index.md Co-authored-by: Sorah Fukumori --- ja/downloads/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/index.md b/ja/downloads/index.md index b6346672d7..8bd5dc7875 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -61,7 +61,7 @@ Ruby の Git リポジトリについての情報は、[リポジトリガイド リリースごとの詳しい情報や古いリリース、プレビューなどの情報については[リリースページ][releases]を参照してください。 -現在メンテナンス状況や Ruby のバージョンごとの情報については[メンテナンスバージョン][branches]のページを見てください。 +各 Ruby バージョンのメンテナンス方針、各ブランチの状況・予定については[ブランチごとのメンテナンス状況][branches]を参照してください。 Rubyのソースコードは、世界各国の[ミラーサイト][mirrors]からダウンロードできます。 お近くのミラーサイトをお使いください。 From a8ee3e9721996b1f0ee4762abdac174e04aa2af0 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 14:57:02 +0900 Subject: [PATCH 1873/2563] branches page is not development today, because this page has been published from 7 years ago. --- en/downloads/branches/index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/en/downloads/branches/index.md b/en/downloads/branches/index.md index 1dfef04ac9..dfeec7aab9 100644 --- a/en/downloads/branches/index.md +++ b/en/downloads/branches/index.md @@ -4,10 +4,6 @@ title: "Ruby Maintenance Branches" lang: en --- -{% comment %} -In development. Not to be translated yet. -{% endcomment %} - This page lists the current maintenance status of the various Ruby branches. {: .summary} From 4c025cc4992ad586e7a3f3aadda42982b5d77ac2 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 15:03:40 +0900 Subject: [PATCH 1874/2563] Update ja/downloads/branches/index.md Co-authored-by: Sorah Fukumori --- ja/downloads/branches/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/branches/index.md b/ja/downloads/branches/index.md index e0b71a1313..82977dca07 100644 --- a/ja/downloads/branches/index.md +++ b/ja/downloads/branches/index.md @@ -28,7 +28,7 @@ Ruby の各ブランチは以下のフェーズに別れてメンテナンスさ ステータス: {{ branch.status }}
リリース: {{ branch.date }}
-通常メンテナンス終了: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}TBD{% endif %}
+ノーマルメンテナンス終了: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}TBD{% endif %}
EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }}(見込み){% else %}TBD{% endif %}{% endif %} {% endfor %} From 6a4d90a0a81155b7fb2aaec989bff7ef96773a6d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 15:38:17 +0900 Subject: [PATCH 1875/2563] Added missing references for ja/downloads --- ja/downloads/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ja/downloads/index.md b/ja/downloads/index.md index 8bd5dc7875..2a70e31c85 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -77,6 +77,8 @@ Windows向けのバイナリが有志により配布されています。 [license]: {{ site.license.url }} [installation]: /ja/documentation/installation/ +[releases]: /en/downloads/releases/ +[branches]: /ja/downloads/branches/ [mirrors]: /en/downloads/mirrors/ [rubyinstaller]: https://rubyinstaller.org/ [railsinstaller]: http://railsinstaller.org/ From 2271a6127fc67c383220914c6a11a8d5e92d47e1 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Feb 2023 15:42:06 +0900 Subject: [PATCH 1876/2563] Fixup 6a4d90a0a81155b7fb2aaec989bff7ef96773a6d --- ja/downloads/branches/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ja/downloads/branches/index.md b/ja/downloads/branches/index.md index 82977dca07..c8dca436d1 100644 --- a/ja/downloads/branches/index.md +++ b/ja/downloads/branches/index.md @@ -7,7 +7,7 @@ lang: ja このページでは Ruby の各ブランチについてメンテナンス状況を記載します。 {: .summary} -より詳細な情報については[リリースページ](../releases/)を見てください。 +より詳細な情報については[リリースページ][releases]を見てください。 以下は Ruby のブランチとそのメンテナンス状況の暫定リストです。 EOL の日付等は予定として掲載しています。 @@ -32,3 +32,5 @@ Ruby の各ブランチは以下のフェーズに別れてメンテナンスさ EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }}(見込み){% else %}TBD{% endif %}{% endif %} {% endfor %} + +[releases]: /en/downloads/releases/ From 2e084889224ed1cafff16eb2afc63386c745395e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 2 Mar 2023 10:47:55 +0900 Subject: [PATCH 1877/2563] Added download link each Ruby releases --- en/downloads/releases/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/downloads/releases/index.md b/en/downloads/releases/index.md index 4385de0419..0fb35ca85b 100644 --- a/en/downloads/releases/index.md +++ b/en/downloads/releases/index.md @@ -26,6 +26,7 @@ actual creation dates of the source tarballs. Release Version Release Date +Download URL Release Notes {% assign releases = site.data.releases | reverse | sort: "date" | reverse %} @@ -33,6 +34,7 @@ actual creation dates of the source tarballs. Ruby {{ release.version }} {{ release.date }} +download more... {% endfor %} From 03e8e52dc654ce013672da501e22b238e7f5a201 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 2 Mar 2023 11:04:47 +0900 Subject: [PATCH 1878/2563] Added all of gz download urls --- _data/releases.yml | 218 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 218 insertions(+) diff --git a/_data/releases.yml b/_data/releases.yml index 64386df05c..8fb51177cf 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -1631,21 +1631,33 @@ - version: 2.4.1 date: 2017-03-22 post: /en/news/2017/03/22/ruby-2-4-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.gz - version: 2.4.0 date: 2016-12-25 post: /en/news/2016/12/25/ruby-2-4-0-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.gz - version: 2.4.0-rc1 date: 2016-12-12 post: /en/news/2016/12/12/ruby-2-4-0-rc1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0-rc1.tar.gz - version: 2.4.0-preview3 date: 2016-11-09 post: /en/news/2016/11/09/ruby-2-4-0-preview3-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0-preview3.tar.gz - version: 2.4.0-preview2 date: 2016-09-08 post: /en/news/2016/09/08/ruby-2-4-0-preview2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0-preview2.tar.gz - version: 2.4.0-preview1 date: 2016-06-20 post: /en/news/2016/06/20/ruby-2-4-0-preview1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0-preview1.tar.gz # 2.3 series @@ -1708,24 +1720,38 @@ - version: 2.3.4 date: 2017-03-30 post: /en/news/2017/03/30/ruby-2-3-4-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.4.tar.gz - version: 2.3.3 date: 2016-11-21 post: /en/news/2016/11/21/ruby-2-3-3-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.gz - version: 2.3.2 date: 2016-11-15 post: /en/news/2016/11/15/ruby-2-3-2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.2.tar.gz - version: 2.3.1 date: 2016-04-26 post: /en/news/2016/04/26/ruby-2-3-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.gz - version: 2.3.0 date: 2015-12-25 post: /en/news/2015/12/25/ruby-2-3-0-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.gz - version: 2.3.0-preview2 date: 2015-12-11 post: /en/news/2015/12/11/ruby-2-3-0-preview2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview2.tar.gz - version: 2.3.0-preview1 date: 2015-11-11 post: /en/news/2015/11/11/ruby-2-3-0-preview1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview1.tar.gz # 2.2 series @@ -1774,36 +1800,58 @@ - version: 2.2.7 date: 2017-03-28 post: /en/news/2017/03/28/ruby-2-2-7-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.7.tar.gz - version: 2.2.6 date: 2016-11-15 post: /en/news/2016/11/15/ruby-2-2-6-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.gz - version: 2.2.5 date: 2016-04-26 post: /en/news/2016/04/26/ruby-2-2-5-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.5.tar.gz - version: 2.2.4 date: 2015-12-16 post: /en/news/2015/12/16/ruby-2-2-4-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.gz - version: 2.2.3 date: 2015-08-18 post: /en/news/2015/08/18/ruby-2-2-3-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.gz - version: 2.2.2 date: 2015-04-13 post: /en/news/2015/04/13/ruby-2-2-2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz - version: 2.2.1 date: 2015-03-03 post: /en/news/2015/03/03/ruby-2-2-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.gz - version: 2.2.0 date: 2014-12-25 post: /en/news/2014/12/25/ruby-2-2-0-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.gz - version: 2.2.0-rc1 date: 2014-12-18 post: /en/news/2014/12/18/ruby-2-2-0-rc1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0-rc1.tar.gz - version: 2.2.0-preview2 date: 2014-11-28 post: /en/news/2014/11/28/ruby-2-2-0-preview2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0-preview2.tar.gz - version: 2.2.0-preview1 date: 2014-09-18 post: /en/news/2014/09/18/ruby-2-2-0-preview1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0-preview1.tar.gz # 2.1 series @@ -1824,279 +1872,449 @@ - version: 2.1.9 date: 2016-03-30 post: /en/news/2016/03/30/ruby-2-1-9-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.9.tar.gz - version: 2.1.8 date: 2015-12-16 post: /en/news/2015/12/16/ruby-2-1-8-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.gz - version: 2.1.7 date: 2015-08-18 post: /en/news/2015/08/18/ruby-2-1-7-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.7.tar.gz - version: 2.1.6 date: 2015-04-13 post: /en/news/2015/04/13/ruby-2-1-6-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.6.tar.gz - version: 2.1.5 date: 2014-11-13 post: /en/news/2014/11/13/ruby-2-1-5-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz - version: 2.1.4 date: 2014-10-27 post: /en/news/2014/10/27/ruby-2-1-4-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz - version: 2.1.3 date: 2014-09-19 post: /en/news/2014/09/19/ruby-2-1-3-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.gz - version: 2.1.2 date: 2014-05-09 post: /en/news/2014/05/09/ruby-2-1-2-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz - version: 2.1.1 date: 2014-02-24 post: /en/news/2014/02/24/ruby-2-1-1-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz - version: 2.1.0 date: 2013-12-25 post: /en/news/2013/12/25/ruby-2-1-0-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz - version: 2.1.0-rc1 date: 2013-12-20 post: /en/news/2013/12/20/ruby-2-1-0-rc1-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-rc1.tar.gz - version: 2.1.0-preview2 date: 2013-11-22 post: /en/news/2013/11/22/ruby-2-1-0-preview2-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.gz - version: 2.1.0-preview1 date: 2013-09-23 post: /en/news/2013/09/23/ruby-2-1-0-preview1-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.gz # 2.0.0 series - version: 2.0.0-p648 date: 2015-12-16 post: /en/news/2015/12/16/ruby-2-0-0-p648-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.tar.gz - version: 2.0.0-p647 date: 2015-08-18 post: /en/news/2015/08/18/ruby-2-0-0-p647-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p647.tar.gz - version: 2.0.0-p645 date: 2015-04-13 post: /en/news/2015/04/13/ruby-2-0-0-p645-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p645.tar.gz - version: 2.0.0-p643 date: 2015-02-25 post: /en/news/2015/02/25/ruby-2-0-0-p643-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p643.tar.gz - version: 2.0.0-p598 date: 2014-11-13 post: /en/news/2014/11/13/ruby-2-0-0-p598-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p598.tar.gz - version: 2.0.0-p594 date: 2014-10-27 post: /en/news/2014/10/27/ruby-2-0-0-p594-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p594.tar.gz - version: 2.0.0-p576 date: 2014-09-19 post: /en/news/2014/09/19/ruby-2-0-0-p576-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p576.tar.gz - version: 2.0.0-p481 date: 2014-05-09 post: /en/news/2014/05/09/ruby-2-0-0-p481-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p481.tar.gz - version: 2.0.0-p451 date: 2014-02-24 post: /en/news/2014/02/24/ruby-2-0-0-p451-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p451.tar.gz - version: 2.0.0-p353 date: 2013-11-22 post: /en/news/2013/11/22/ruby-2-0-0-p353-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz - version: 2.0.0-p247 date: 2013-06-27 post: /en/news/2013/06/27/ruby-2-0-0-p247-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz - version: 2.0.0-p195 date: 2013-05-14 post: /en/news/2013/05/14/ruby-2-0-0-p195-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p195.tar.gz - version: 2.0.0 date: 2013-02-24 post: /en/news/2013/02/24/ruby-2-0-0-p0-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0.tar.gz - version: 2.0.0-rc2 date: 2013-02-08 post: /en/news/2013/02/08/ruby-2-0-0-rc2-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.tar.gz # 1.9.3 series - version: 1.9.3-p551 date: 2014-11-13 post: /en/news/2014/11/13/ruby-1-9-3-p551-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p551.tar.gz - version: 1.9.3-p550 date: 2014-10-27 post: /en/news/2014/10/27/ruby-1-9-3-p550-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p550.tar.gz - version: 1.9.3-p547 date: 2014-05-16 post: /en/news/2014/05/16/ruby-1-9-3-p547-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p547.tar.gz - version: 1.9.3-p545 date: 2014-02-24 post: /en/news/2014/02/24/ruby-1-9-3-p545-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p545.tar.gz - version: 1.9.3-p484 date: 2013-11-22 post: /en/news/2013/11/22/ruby-1-9-3-p484-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz - version: 1.9.3-p448 date: 2013-06-27 post: /en/news/2013/06/27/ruby-1-9-3-p448-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.gz - version: 1.9.3-p429 date: 2013-05-14 post: /en/news/2013/05/14/ruby-1-9-3-p429-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p429.tar.gz - version: 1.9.3-p392 date: 2013-02-22 post: /en/news/2013/02/22/ruby-1-9-3-p392-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz - version: 1.9.3-p385 date: 2013-02-06 post: /en/news/2013/02/06/ruby-1-9-3-p385-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p385.tar.gz - version: 1.9.3-p374 date: 2013-01-17 post: /en/news/2013/01/17/ruby-1-9-3-p374-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz - version: 1.9.3-p362 date: 2012-12-25 post: /en/news/2012/12/25/ruby-1-9-3-p362-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p362.tar.gz - version: 1.9.3-p327 date: 2012-11-09 post: /en/news/2012/11/09/ruby-1-9-3-p327-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz - version: 1.9.3-p286 date: 2012-10-12 post: /en/news/2012/10/12/ruby-1-9-3-p286-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz - version: 1.9.3-p194 date: 2012-04-20 post: /en/news/2012/04/20/ruby-1-9-3-p194-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz - version: 1.9.3-p125 date: 2012-02-16 post: /en/news/2012/02/16/ruby-1-9-3-p125-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz - version: 1.9.3 date: 2011-10-31 post: /en/news/2011/10/31/ruby-1-9-3-p0-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3.tar.gz - version: 1.9.3-rc1 date: 2011-09-24 post: /en/news/2011/09/24/ruby-1-9-3-rc1-has-been-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-rc1.tar.gz - version: 1.9.3-preview1 date: 2011-08-01 post: /en/news/2011/08/01/ruby-1-9-3-preview1-has-been-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-preview1.tar.gz # 1.9.2 series - version: 1.9.2-p330 date: 2014-08-19 post: /en/news/2014/08/19/ruby-1-9-2-p330-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p330.tar.gz - version: 1.9.2-p320 date: 2012-04-21 post: /en/news/2012/04/21/ruby-1-9-2-p320-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p320.tar.gz - version: 1.9.2-p290 date: 2011-07-15 post: /en/news/2011/07/15/ruby-1-9-2-p290-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz - version: 1.9.2-p136 date: 2010-12-25 post: /en/news/2010/12/25/ruby-1-9-2-p136-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz - version: 1.9.2 date: 2010-08-18 post: /en/news/2010/08/18/ruby-1-9-2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2.tar.gz - version: 1.9.2-rc2 date: 2010-07-11 post: /en/news/2010/07/11/ruby-1-9-2-rc2-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-rc2.tar.gz - version: 1.9.2-rc1 date: 2010-07-02 post: /en/news/2010/07/02/ruby-1-9-2-rc1-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-rc1.tar.gz - version: 1.9.2-preview1 date: 2009-07-20 post: /en/news/2009/07/20/ruby-1-9-2-preview-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-preview1.tar.gz # 1.9.1 series - version: 1.9.1-p430 date: 2010-08-16 post: /en/news/2010/08/16/ruby-1-9-1-p430-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p430.tar.gz - version: 1.9.1-p429 date: 2010-07-02 post: /en/news/2010/07/02/ruby-1-9-1-p429-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p429.tar.gz - version: 1.9.1-p376 date: 2009-12-07 post: /en/news/2009/12/07/ruby-1-9-1-p376-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.gz - version: 1.9.1-p243 date: 2009-07-20 post: /en/news/2009/07/20/ruby-1-9-1-p243-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz - version: 1.9.1-p129 date: 2009-05-12 post: /en/news/2009/05/12/ruby-1-9-1-p129-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz - version: 1.9.1 date: 2009-01-30 post: /en/news/2009/01/30/ruby-1-9-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1.tar.gz - version: 1.9.1-preview1 date: 2008-10-28 post: /en/news/2008/10/28/ruby-1-9-1-preview-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.gz # 1.9.0 - version: 1.9.0 date: 2007-12-25 post: /en/news/2007/12/25/ruby-1-9-0-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0.tar.gz # 1.8.7 series - version: 1.8.7-p374 date: 2013-06-27 post: /en/news/2013/06/27/ruby-1-8-7-p374-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p374.tar.gz - version: 1.8.7-p370 date: 2012-06-29 post: /en/news/2012/06/29/ruby-1-8-7-p370-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p370.tar.gz - version: 1.8.7-p352 date: 2011-07-02 post: /en/news/2011/07/02/ruby-1-8-7-p352-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p352.tar.gz - version: 1.8.7-p330 date: 2010-12-25 post: /en/news/2010/12/25/ruby-1-8-7-p330-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p330.tar.gz - version: 1.8.7-p302 date: 2010-08-16 post: /en/news/2010/08/16/ruby-1-8-7-p302-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p302.tar.gz - version: 1.8.7-p299 date: 2010-06-23 post: /en/news/2010/06/23/ruby-1-8-7-p299-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p299.tar.gz - version: 1.8.7-p248 date: 2009-12-25 post: /en/news/2009/12/25/ruby-1-8-7-p248-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p248.tar.gz - version: 1.8.7-p160 date: 2009-04-18 post: /en/news/2009/04/18/ruby-1-8-7-p160-and-1-8-6-p368-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p160.tar.gz - version: 1.8.7-p72 date: 2008-08-11 post: /en/news/2008/08/11/ruby-1-8-7-p72-and-1-8-6-p287-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz - version: 1.8.7 date: 2008-05-31 post: /en/news/2008/05/31/ruby-1-8-7-has-been-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.tar.gz # 1.8.6 series - version: 1.8.6-p368 date: 2009-04-18 post: /en/news/2009/04/18/ruby-1-8-7-p160-and-1-8-6-p368-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p368.tar.gz - version: 1.8.6-p287 date: 2008-08-11 post: /en/news/2008/08/11/ruby-1-8-7-p72-and-1-8-6-p287-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p287.tar.gz - version: 1.8.6 date: 2007-03-12 post: /en/news/2007/03/12/ruby-1-8-6-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz # older releases - version: 1.8.5 date: 2006-08-29 post: /en/news/2006/08/29/ruby-1-8-5-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz - version: 1.8.4 date: 2005-12-24 post: /en/news/2005/12/24/ruby-184-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz - version: 1.8.4-preview2 date: 2005-12-14 post: /en/news/2005/12/14/ruby-184-preview-2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4-preview2.tar.gz - version: 1.8.3 date: 2005-09-21 post: /en/news/2005/09/21/ruby-183-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.3.tar.gz - version: 1.8.2 date: 2004-12-26 post: /en/news/2004/12/26/ruby-182-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz - version: 1.8.2-preview4 date: 2004-12-22 post: /en/news/2004/12/22/182-preview4-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2-preview4.tar.gz - version: 1.8.2-preview3 date: 2004-11-08 post: /en/news/2004/11/08/182-preview3-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2-preview3.tar.gz - version: 1.8.2-preview2 date: 2004-07-30 post: /en/news/2004/07/30/ruby-182-preview2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2-preview2.tar.gz - version: 1.8.2-preview1 date: 2004-07-21 post: /en/news/2004/07/21/ruby-182-preview1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2-preview1.tar.gz - version: 1.8.0 date: 2003-08-04 post: /en/news/2003/08/04/ruby-180-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0.tar.gz - version: 1.6.7 date: 2002-03-01 post: /en/news/2002/03/01/167-is-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.6.7.tar.gz From 4d46e0a2666cee431abbe2cf3b1e0c6f0936ce59 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 2 Mar 2023 11:05:51 +0900 Subject: [PATCH 1879/2563] Mark < 2.1 as older releases --- _data/releases.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index 8fb51177cf..ad0fc490c7 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -1935,7 +1935,7 @@ url: gz: https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.gz -# 2.0.0 series +# older releases - version: 2.0.0-p648 date: 2015-12-16 @@ -2007,9 +2007,6 @@ post: /en/news/2013/02/08/ruby-2-0-0-rc2-is-released/ url: gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.tar.gz - -# 1.9.3 series - - version: 1.9.3-p551 date: 2014-11-13 post: /en/news/2014/11/13/ruby-1-9-3-p551-is-released/ @@ -2100,9 +2097,6 @@ post: /en/news/2011/08/01/ruby-1-9-3-preview1-has-been-released/ url: gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-preview1.tar.gz - -# 1.9.2 series - - version: 1.9.2-p330 date: 2014-08-19 post: /en/news/2014/08/19/ruby-1-9-2-p330-released/ @@ -2181,17 +2175,11 @@ post: /en/news/2008/10/28/ruby-1-9-1-preview-1-released/ url: gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.gz - -# 1.9.0 - - version: 1.9.0 date: 2007-12-25 post: /en/news/2007/12/25/ruby-1-9-0-released/ url: gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0.tar.gz - -# 1.8.7 series - - version: 1.8.7-p374 date: 2013-06-27 post: /en/news/2013/06/27/ruby-1-8-7-p374-is-released/ @@ -2242,9 +2230,6 @@ post: /en/news/2008/05/31/ruby-1-8-7-has-been-released/ url: gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.tar.gz - -# 1.8.6 series - - version: 1.8.6-p368 date: 2009-04-18 post: /en/news/2009/04/18/ruby-1-8-7-p160-and-1-8-6-p368-released/ @@ -2260,9 +2245,6 @@ post: /en/news/2007/03/12/ruby-1-8-6-released/ url: gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz - -# older releases - - version: 1.8.5 date: 2006-08-29 post: /en/news/2006/08/29/ruby-1-8-5-released/ From 204f1621a175ed9eabde71307e4b9a738a67372c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 2 Mar 2023 11:16:45 +0900 Subject: [PATCH 1880/2563] Added ja releases page --- en/downloads/releases/index.md | 6 +---- ja/downloads/branches/releases/index.md | 33 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 ja/downloads/branches/releases/index.md diff --git a/en/downloads/releases/index.md b/en/downloads/releases/index.md index 0fb35ca85b..136f0dfffb 100644 --- a/en/downloads/releases/index.md +++ b/en/downloads/releases/index.md @@ -4,10 +4,6 @@ title: "Ruby Releases" lang: en --- -{% comment %} -In development. Not to be translated yet. -{% endcomment %} - This page lists individual Ruby releases. {: .summary} @@ -17,7 +13,7 @@ Ruby branches see the ### Ruby releases by version number -This is a preliminary list of Ruby releases. +This is a list of Ruby releases. The shown dates correspond to the publication dates of the English versions of release posts and may differ from the actual creation dates of the source tarballs. diff --git a/ja/downloads/branches/releases/index.md b/ja/downloads/branches/releases/index.md new file mode 100644 index 0000000000..21eb6aad9d --- /dev/null +++ b/ja/downloads/branches/releases/index.md @@ -0,0 +1,33 @@ +--- +layout: page +title: "Ruby のリリース一覧" +lang: ja +--- + +このページではこれまでにリリースされた Ruby を列挙しています。 +{: .summary} + +現在メンテナンスされている Ruby のバージョンについての情報は[Ruby ブランチごとのメンテナンス状況](../branches/)を参照してください。 + +### バージョンごとの Ruby のリリース一覧 + +これはRubyのリリース一覧です。 +表示されている日付は英語バージョンのリリースアナウンスの日付に対応しています。 +英語のリリースアナウンスは tar ファイルの作成日とは異なる場合があります。 + + + + + + + + +{% assign releases = site.data.releases | reverse | sort: "date" | reverse %} +{% for release in releases %} + + + + + +{% endfor %} +
リリースバージョンリリース日ダウンロード URLリリースノート
Ruby {{ release.version }}{{ release.date }}downloadmore...
From b779008bb948edbc9560b5279eaa170945ce6ce2 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 2 Mar 2023 16:42:39 +0900 Subject: [PATCH 1881/2563] Some of fixes for ja releases page --- ja/downloads/index.md | 2 +- ja/downloads/{branches => }/releases/index.md | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename ja/downloads/{branches => }/releases/index.md (100%) diff --git a/ja/downloads/index.md b/ja/downloads/index.md index 2a70e31c85..f681f3813a 100644 --- a/ja/downloads/index.md +++ b/ja/downloads/index.md @@ -77,7 +77,7 @@ Windows向けのバイナリが有志により配布されています。 [license]: {{ site.license.url }} [installation]: /ja/documentation/installation/ -[releases]: /en/downloads/releases/ +[releases]: /ja/downloads/releases/ [branches]: /ja/downloads/branches/ [mirrors]: /en/downloads/mirrors/ [rubyinstaller]: https://rubyinstaller.org/ diff --git a/ja/downloads/branches/releases/index.md b/ja/downloads/releases/index.md similarity index 100% rename from ja/downloads/branches/releases/index.md rename to ja/downloads/releases/index.md From dac2959c3f001da5cf989a4d22341dad2603d7b5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 2 Mar 2023 17:07:09 +0900 Subject: [PATCH 1882/2563] Fixed wrong url for Ruby 1.6 --- _data/releases.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/releases.yml b/_data/releases.yml index ad0fc490c7..c794ff3f7b 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -2299,4 +2299,4 @@ date: 2002-03-01 post: /en/news/2002/03/01/167-is-released/ url: - gz: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.6.7.tar.gz + gz: https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.7.tar.gz From 76f9d4050f9f2affbe717d7a54667036d7758c6a Mon Sep 17 00:00:00 2001 From: Kentaro Goto Date: Thu, 2 Mar 2023 17:25:10 +0900 Subject: [PATCH 1883/2563] Improve ja/downloads/releases/ layout --- stylesheets/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylesheets/main.css b/stylesheets/main.css index 00cde8fb06..6f8792f975 100644 --- a/stylesheets/main.css +++ b/stylesheets/main.css @@ -483,7 +483,7 @@ hr.hidden-modern { display: none; } .release-list th, .release-list td { - padding: 2px 2em 2px 0px; + padding: 2px 1em 2px 0px; } .buttons .button { From 87737a4ba3a67b183d95d5473407be384640b32f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 3 Mar 2023 12:22:54 +0900 Subject: [PATCH 1884/2563] ja/downloads/releases is now published --- ja/downloads/branches/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/downloads/branches/index.md b/ja/downloads/branches/index.md index c8dca436d1..113d3cab8f 100644 --- a/ja/downloads/branches/index.md +++ b/ja/downloads/branches/index.md @@ -33,4 +33,4 @@ EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expecte {% endfor %} -[releases]: /en/downloads/releases/ +[releases]: /ja/downloads/releases/ From e3ee21b89744a2056bfefd52558f4824ce066a12 Mon Sep 17 00:00:00 2001 From: marocchino Date: Wed, 8 Mar 2023 18:30:59 +0900 Subject: [PATCH 1885/2563] Translate downloads/branches, downloads/releases (ko) (#2993) * Translate downloads/branches, downloads/releases (ko) * Translate TBD (ko) * Trailing whitespace * Apply suggestions from code review Co-authored-by: Chayoung You * Update links --------- Co-authored-by: Chayoung You --- ko/downloads/branches/index.md | 35 +++++++++++++++++++ ko/downloads/index.md | 4 +-- ko/downloads/releases/index.md | 34 ++++++++++++++++++ ...2015-11-11-ruby-2-3-0-preview1-released.md | 2 +- ...2022-04-03-ruby-3-2-0-preview1-released.md | 6 ++-- ...2022-09-09-ruby-3-2-0-preview2-released.md | 6 ++-- 6 files changed, 78 insertions(+), 9 deletions(-) create mode 100644 ko/downloads/branches/index.md create mode 100644 ko/downloads/releases/index.md diff --git a/ko/downloads/branches/index.md b/ko/downloads/branches/index.md new file mode 100644 index 0000000000..c519ad9f97 --- /dev/null +++ b/ko/downloads/branches/index.md @@ -0,0 +1,35 @@ +--- +layout: page +title: "Ruby 유지보수 브랜치" +lang: ko +--- + +이 페이지는 여러 Ruby 브랜치의 현재 유지보수 상태를 나열합니다. +{: .summary} + +특정 릴리스에 대한 자세한 내용은 [릴리스 페이지](../releases/)를 참조하세요. + +이것은 Ruby 브랜치와 유지보수 상태의 예비 목록입니다. +표시된 날짜는 영어 버전의 릴리스 게시물 또는 EOL 발표에서 유추됩니다. + +Ruby 브랜치 또는 릴리스 시리즈는 다음 단계로 분류됩니다. + +* **일반 유지보수**(버그 수정): + 이 브랜치는 일반 버그 수정 및 보안 수정을 받습니다. +* **보안 유지보수**(보안 수정): + 보안 수정 사항만 이 브랜치에 백포트됩니다. +* **eol**(end-of-life 수명 종료): + 이 브랜치는 더 이상 ruby-core 팀에서 지원하지 않으며 + 어떠한 수정 사항도 받지 않습니다. 더 이상 패치 릴리스가 릴리스되지 않습니다. + +{% include branches-timeline.html %} + +{% for branch in site.data.branches %} +### Ruby {{ branch.name }} + +상태: {{ branch.status }}
+릴리스 날짜: {{ branch.date }}
+일반 유지보수 종료: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}미정{% endif %}
+EOL: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }}(예정){% else %}미정{% endif %}{% endif %} + +{% endfor %} diff --git a/ko/downloads/index.md b/ko/downloads/index.md index 18e37a19cf..c36ef3b35f 100644 --- a/ko/downloads/index.md +++ b/ko/downloads/index.md @@ -78,8 +78,8 @@ Ruby 소스는 전세계의 [미러 사이트][mirrors]에서 사용할 수 있 [license]: {{ site.license.url }} [installation]: /ko/documentation/installation/ -[releases]: /en/downloads/releases/ -[branches]: /en/downloads/branches/ +[releases]: /ko/downloads/releases/ +[branches]: /ko/downloads/branches/ [mirrors]: /en/downloads/mirrors/ [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv diff --git a/ko/downloads/releases/index.md b/ko/downloads/releases/index.md new file mode 100644 index 0000000000..0df0c0d90d --- /dev/null +++ b/ko/downloads/releases/index.md @@ -0,0 +1,34 @@ +--- +layout: page +title: "Ruby 릴리스" +lang: ko +--- + +이 페이지에는 개별 Ruby 릴리스가 나열되어 있습니다. +{: .summary} + +여러 Ruby 브랜치의 현재 유지보수 상태에 대한 정보는 +[브랜치 페이지](../branches/)를 참조하세요. + +### 버전 번호별 Ruby 릴리스 + +Ruby 릴리스 목록입니다. +표시된 날짜는 릴리스 게시물의 영어 버전 게시 날짜에 해당하며 소스 tarball의 실제 +생성 날짜와 다를 수 있습니다. + + + + + + + + +{% assign releases = site.data.releases | reverse | sort: "date" | reverse %} +{% for release in releases %} + + + + + +{% endfor %} +
릴리스 버전릴리스 날짜다운로드 URL릴리스 노트
Ruby {{ release.version }}{{ release.date }}다운로드더 보기...
diff --git a/ko/news/_posts/2015-11-11-ruby-2-3-0-preview1-released.md b/ko/news/_posts/2015-11-11-ruby-2-3-0-preview1-released.md index b91d1bfb67..ae9c9117c2 100644 --- a/ko/news/_posts/2015-11-11-ruby-2-3-0-preview1-released.md +++ b/ko/news/_posts/2015-11-11-ruby-2-3-0-preview1-released.md @@ -34,7 +34,7 @@ C#, 그루비, 스위프트 언어에 있습니다. ## 2.2 이후의 주목할 만한 변경 -* TBD(확정되지 않아 나중에 발표) +* 미정 자세한 내용은 [뉴스](https://github.com/ruby/ruby/blob/v2_3_0_preview1/NEWS)와 [변경기록](https://github.com/ruby/ruby/blob/v2_3_0_preview1/ChangeLog)을 diff --git a/ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md b/ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md index 1a88f17471..894126f4c4 100644 --- a/ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md +++ b/ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md @@ -131,15 +131,15 @@ long_time_re =~ "a" * 50000 + "x" # 타임아웃이 발생하지 않습니다. * 다음 기본 젬이 갱신되었습니다. - * TBD + * 미정 * 다음 내장 젬이 갱신되었습니다. - * TBD + * 미정 * 다음 기본 gem은 이제 내장 gem이 됩니다. 사용하려면 번들러 환경에서 `Gemfile`에 다음 라이브러리들을 추가해야 합니다. - * TBD + * 미정 더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 [커밋 로그](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }})를 diff --git a/ko/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md b/ko/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md index 216a696a72..22318a201d 100644 --- a/ko/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md +++ b/ko/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md @@ -247,15 +247,15 @@ long_time_re =~ "a" * 50000 + "x" # never interrupted * 다음 기본 gem이 갱신되었습니다. - * TBD + * 미정 * 다음 내장 gem이 갱신되었습니다. - * TBD + * 미정 * 다음 기본 gem은 이제 내장 gem입니다. bundler 환경에서는 `Gemfile`에 다음 라이브러리를 추가해야 합니다. - * TBD + * 미정 더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 [커밋 로그](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }})를 From 7edf7826449c696165e3ec5809b1590913733421 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Mar 2023 02:29:19 +0000 Subject: [PATCH 1886/2563] Bump rack from 2.2.6.2 to 2.2.6.3 Bumps [rack](https://github.com/rack/rack) from 2.2.6.2 to 2.2.6.3. - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md) - [Commits](https://github.com/rack/rack/compare/v2.2.6.2...v2.2.6.3) --- updated-dependencies: - dependency-name: rack dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4e591ab187..c5bc6bf348 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -62,7 +62,7 @@ GEM forwardable-extended (~> 2.6) public_suffix (5.0.1) racc (1.6.2) - rack (2.2.6.2) + rack (2.2.6.3) rack-protection (3.0.5) rack rack-rewrite (1.5.1) From 56b3955ed104f9d0b5a2ca7abc912d90c2e3e8d4 Mon Sep 17 00:00:00 2001 From: marocchino Date: Sun, 12 Mar 2023 16:29:13 +0900 Subject: [PATCH 1887/2563] =?UTF-8?q?=F0=9F=94=80=20Translate=20to=20ruby?= =?UTF-8?q?=20from=20...=20(ko)=20(#2995)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Translate to ruby from ... (ko) * Apply suggestions from code review Co-authored-by: Shia * Fix so-called sentence (ko) * Better explain for OO (ko) * Trailing whitespace --------- Co-authored-by: Shia --- .../ruby-from-other-languages/index.md | 6 +- .../to-ruby-from-c-and-cpp/index.md | 130 ++++++++++++++++++ .../to-ruby-from-perl/index.md | 61 ++++++++ .../to-ruby-from-php/index.md | 48 +++++++ 4 files changed, 242 insertions(+), 3 deletions(-) create mode 100644 ko/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md create mode 100644 ko/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md create mode 100644 ko/documentation/ruby-from-other-languages/to-ruby-from-php/index.md diff --git a/ko/documentation/ruby-from-other-languages/index.md b/ko/documentation/ruby-from-other-languages/index.md index b593f4baeb..6166abea45 100644 --- a/ko/documentation/ruby-from-other-languages/index.md +++ b/ko/documentation/ruby-from-other-languages/index.md @@ -16,10 +16,10 @@ Java나 다른 언어들과 유사합니다. 다른 언어를 사용한 적이 ## 차이점들: *어떤 언어*에서 Ruby로 -* [C나 C++에서 Ruby로](/en/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/) +* [C나 C++에서 Ruby로](to-ruby-from-c-and-cpp/) * [Java에서 Ruby로](to-ruby-from-java/) -* [Perl에서 Ruby로](/en/documentation/ruby-from-other-languages/to-ruby-from-perl/) -* [PHP에서 Ruby로](/en/documentation/ruby-from-other-languages/to-ruby-from-php/) +* [Perl에서 Ruby로](to-ruby-from-perl/) +* [PHP에서 Ruby로](to-ruby-from-php/) * [Python에서 Ruby로](to-ruby-from-python/) ## 언어의 중요한 기능과 알아둘 점 diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md new file mode 100644 index 0000000000..e0aaa3f4c7 --- /dev/null +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md @@ -0,0 +1,130 @@ +--- +layout: page +title: "C나 C++에서 Ruby로" +lang: ko +--- + +Ruby에서 코드가 C 또는 C++와 어떻게 다른지 항목 별로 설명하는 것은 상당히 +큰 차이가 있기 때문에 어렵습니다. +이 어려움의 원인 중 하나는 Ruby 런타임이 많은 일을 해 주기 때문입니다. +Ruby는 C의 "숨겨진 메커니즘 없음" 원칙에서 가능한 한 멀리 있는 것 같습니다. +Ruby의 요점은 런타임이 더 많은 작업을 수행하는 대신 인간의 작업을 더 쉽게 +만드는 것입니다. 최적화를 위해 코드를 프로파일링 하지 않는 한, Ruby를 사용할 때 +"컴파일러를 행복하게 유지"하는 데 조금도 신경을 쓸 필요가 없습니다. + +즉, Ruby 코드가 "같은 일을 하는" C 또는 C++ 코드보다 훨씬 느리게 실행될 것으로 +예상할 수 있습니다. 동시에 Ruby 프로그램을 얼마나 빨리 시작하고 실행할 수 +있는지, 작성하는 데 몇 줄의 코드가 필요한지 빠르게 이해할 수 있습니다. +Ruby는 C++ 보다 훨씬 간단합니다. Ruby는 여러분을 응석받이로 만들 것입니다. + +Ruby는 정적으로 타입이 결정되지 않고 동적으로 결정됩니다. 런타임은 실행 시간에 +가능한 한 많은 작업을 수행합니다. 예를 들어, Ruby 프로그램이 "링크"(즉, 로드 및 +사용)할 모듈이나 미리 호출할 메서드를 알 필요가 없습니다. + +다행스럽게도 Ruby와 C는 건강한 공생 관계를 가지고 있습니다. Ruby는 소위 +"확장 모듈"을 지원합니다. 이들은 Ruby 프로그램에서 사용할 수 있지만(외부에서 볼 +때 다른 Ruby 모듈처럼 보이고 작동함) C로 작성된 모듈입니다. 이런 식으로 Ruby +소프트웨어의 성능에 중요한 부분을 구획화하고 순수한 C로 만들 수 있습니다. + +물론 Ruby 자체는 C로 작성되었습니다. + +### C와 비슷한 점 + +C처럼, Ruby에서도... + +* 원하는 경우 절차적으로 프로그래밍할 수 있습니다(그러나 내부에서는 여전히 객체 + 지향일 것입니다). +* 대부분의 연산자는 동일합니다(복합 할당 및 비트 연산자 포함). 그러나 Ruby에는 + `++` 또는 `--`가 없습니다. +* `__FILE__` 및 `__LINE__`이 있습니다. +* 특별한 `const` 키워드는 없지만 상수도 쓸 수 있습니다. 상수다움은 명명 + 규칙으로 결정됩니다. 대문자로 시작하는 이름은 상수입니다. +* 문자열은 큰따옴표로 묶습니다. +* 문자열은 변경 가능합니다. +* `man` 페이지와 마찬가지로 `ri` 명령을 사용하여 터미널 창에서 대부분의 문서를 + 읽을 수 있습니다. +* 동일한 종류의 커맨드 라인 디버거를 사용할 수 있습니다. + +### C++과 비슷한 점 + +C++처럼, Ruby에서도... + +* 대부분 같은 연산자를 사용합니다(심지어 `::`까지). `<<`는 종종 목록에 요소를 + 추가하는 데 사용됩니다. 하지만 주의할 것이 하나 있습니다. Ruby에서는 `->`를 + 사용하지 않습니다. 항상 `.`입니다. +* `public`, `private` 및 `protected`는 유사한 작업을 수행합니다. +* 상속 구문은 동일하게 한 문자이지만 `:` 대신 `<`를 사용합니다. +* C++에서 `namespace`가 사용되는 방식과 유사하게 코드를 "모듈"에 넣을 수 + 있습니다. +* 예외도 비슷한 방식으로 작동하지만 순수 예외를 보호하기 위해 키워드 이름이 + 변경되었습니다. + +### C와 다른 점 + +C와는 다르게, Ruby에서는... + +* 코드를 컴파일할 필요가 없습니다. 직접 실행하면 됩니다. +* 객체는 강력한 타입입니다(변수 이름 자체에는 타입이 전혀 없음). +* 매크로나 전처리기가 없습니다. 캐스트가 없습니다. 포인터도 없습니다(포인터 + 연산도 없습니다). typedefs, sizeof, enum도 없습니다. +* 헤더 파일이 없습니다. 기본 소스 코드 파일에서 기능(일반적으로 "메서드"라고 + 함)과 클래스를 정의하기만 하면 됩니다. +* `#define`이 없습니다. 대신 상수를 사용하십시오. +* 모든 변수는 힙에 저장됩니다. 또한, 가비지 컬렉터가 처리하므로 직접 해제할 필요가 + 없습니다. +* 메서드(예: 함수)에 대한 인수는 값으로 전달되며 값은 항상 개체 참조입니다. +* `#include ` 또는 `#include "foo"` 대신 `require 'foo'`를 사용합니다. +* 어셈블리를 사용할 수 없습니다. +* 줄 끝에 세미콜론이 없습니다. +* `if` 및 `while` 조건 표현식에는 괄호 없이 사용합니다. +* 메서드(예: 함수) 호출에 대한 괄호는 종종 생략 가능합니다. +* 일반적으로 중괄호를 사용하지 않습니다. `end` 키워드로 여러 줄 구성(`while` + 루프와 같은)을 끝냅니다. +* `do` 키워드는 소위 "블록"을 위한 것입니다. C와 같은 "do 문"이 없습니다. +* "블록"이라는 용어는 다른 의미를 가집니다. 실행하는 동안 메서드 본문이 블록을 + 호출할 수 있도록 메서드 호출과 연결하는 코드 블록용입니다. +* 변수 선언이 없습니다. 필요할 때 즉시 새 이름을 지정하기만 하면 됩니다. +* 참 거짓을 확인할 때 `false` 및 `nil`만 거짓 값으로 평가됩니다. 다른 모든 것은 + true입니다(`0`, `0.0` 및 `"0"` 포함). +* `char`가 없습니다. 단지 1자로 된 문자열입니다. +* 문자열은 null 바이트로 끝나지 않습니다. +* 배열 리터럴은 중괄호 대신 대괄호 안에 들어갑니다. +* 배열에 더 많은 요소를 넣으면 배열이 자동으로 커집니다. +* 두 개의 배열을 더하면 포인터 연산을 수행하는 대신 새롭고 더 큰 배열(물론 힙에 + 할당됨)을 반환합니다. +* 대부분의 경우 모든 것이 표현식입니다(즉, `while` 문은 실제로 rvalue로 + 평가됩니다). + +### C++과 다른 점 + +C과는 다르게, Ruby에서는... + +* 명시적인 참조가 없습니다. 즉, Ruby에서 모든 변수는 일부 개체에 대해 자동으로 + 역참조된 이름일 뿐입니다. +* 개체는 강 타입이지만 *동적* 타입이 지정됩니다. 런타임은 *실행 시간에* 해당 메서드 + 호출이 실제로 작동하는지 확인합니다. +* "constructor"는 클래스 이름 대신 `initialize`라고 합니다. +* 모든 메서드는 항상 가상입니다. +* "클래스"(정적) 변수 이름은 항상 `@@`로 시작합니다.(예: `@@total_widgets`) +* 멤버 변수에 직접 접근하지 않습니다. 공용 멤버 변수(Ruby에서 attributes로 + 부름)에 대한 모든 액세스는 메서드를 통해 이루어집니다. +* `this`가 아니라 `self`입니다. +* 일부 메서드는 '?' 또는 '!'로 끝납니다. 실제로 메서드 이름의 일부입니다. +* 그 자체로는 다중 상속이 없습니다. Ruby에는 "믹스인"이 있습니다(즉, 모듈의 모든 + 인스턴스 메서드를 "상속"할 수 있음). +* 일부 대소문자 규칙이 적용됩니다(예: 클래스 이름은 대문자로 시작하고 변수는 + 소문자로 시작). +* 메서드 호출에 대한 괄호는 일반적으로 생략 가능합니다. +* 언제든지 클래스를 다시 열고 메서드를 더 추가할 수 있습니다. +* C++ 템플릿이 필요하지 않습니다(주어진 변수에 모든 종류의 개체를 할당할 수 있고 + 타입은 어쨌든 런타임에 파악되기 때문입니다). 캐스팅도 없습니다. +* 이터레이션은 약간 다르게 수행됩니다. Ruby에서는 별도의 이터레이터 + 객체(`vector::const_iterator iter`와 같은)를 사용하지 않습니다. 대신 + 연속적인 요소를 전달하는 코드 블록을 취하는 컨테이너 개체의 이터레이터 + 메서드(`each`와 같은)를 사용합니다. +* 컨테이너 타입은 `Array`와 `Hash` 두 가지뿐입니다. +* 타입 변환이 없습니다. 그러나 Ruby를 사용하면 필요하지 않다는 것을 알게 될 + 것입니다. +* 멀티스레딩은 내장되어 있지만 Ruby 1.8부터는 네이티브 스레드와 달리 "그린 + 스레드"(인터프리터 내에서만 구현됨)입니다. +* 단위 테스트 라이브러리는 Ruby와 함께 표준으로 제공됩니다. diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md new file mode 100644 index 0000000000..78f514e6d2 --- /dev/null +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md @@ -0,0 +1,61 @@ +--- +layout: page +title: "Perl에서 Ruby로" +lang: ko +--- + +Perl은 굉장합니다. Perl의 문서도 굉장합니다. Perl 커뮤니티도… 굉장합니다. +처음부터 내장된 우아한 객체 지향 기능을 갈망하는 Perler에게는 Ruby가 적합할 수 +있습니다. + +### 비슷한 점들 + +Perl처럼, Ruby에서도... + +* CPAN과 다소 유사한 패키지 관리 시스템이 있습니다([RubyGems][1]라고 함). +* 정규식 라이브러리는 내장되어 있습니다. 보나페티! +* 일반적으로 사용되는 내장 기능이 상당히 많습니다. +* 괄호는 종종 생략할 수 있습니다. +* 문자열은 기본적으로 동일하게 작동합니다. +* Perl과 유사한 일반 구분 문자열 및 정규식 인용 구문이 있습니다. + `%q{this}`(작은따옴표) 또는 `%Q{this}`(큰따옴표) 및 `%w{단일따옴표 단어 목록의 + 경우}`처럼 보입니다. 원하는 경우 `%Q|can|` `%Q(use)` `%Q^other^` 구분 기호를 + 사용할 수 있습니다. +* `"#{like} this"`처럼 보이지만 큰따옴표 변수 보간이 있습니다.(그리고 `#{}` 안에 + 원하는 Ruby 코드를 넣을 수 있습니다) +* 셸 명령 확장은 `` `backticks` ``를 사용합니다. +* 내장된 문서 도구가 있습니다(Ruby는 rdoc이라고 함). + +### 다른 점들 + +Perl과는 다르게, Ruby에서는... + +* Perl과 같은 상황에 따른 규칙이 없습니다. +* 변수는 참조하는 개체와 동일하지 않습니다. 대신 항상 개체에 대한 참조일 + 뿐입니다. +* `$` 및 `@`는 변수 이름의 첫 번째 문자로 사용되는 경우가 있지만 유형을 나타내는 + 것이 아니라 범위를 나타냅니다.(`$`는 전역, `@`는 객체 인스턴스, `@@`는 클래스 + 속성을 나타냅니다) +* 배열 리터럴은 괄호 대신 괄호 안에 들어갑니다. +* 배열의 하위 배열을 작성해도 하나의 큰 배열로 병합되지 않습니다. 대신 배열의 + 배열을 얻습니다. +* `sub`가 아니라 `def`를 사용합니다. +* 각 줄의 끝에는 세미콜론이 필요하지 않습니다. 여기에 더해 함수 정의, 클래스 + 정의 및 case 문과 같은 것을 `end` 키워드로 끝냅니다. +* 개체는 강타입입니다. 타입 간 변환이 필요한 경우 `foo.to_i`, `foo.to_s` 등을 + 직접 호출해야 합니다. +* `eq`, `ne`, `lt`, `gt`, `ge`, `le`은 없습니다. +* 다이아몬드 연산자(`<>`)가 없습니다. + 일반적으로 `IO.some_method`를 대신 사용합니다. +* 두꺼운 쉼표 `=>`는 해시 리터럴에만 사용됩니다. +* `undef`가 없습니다. Ruby에는 `nil`이 있습니다. (Ruby안의 다른 것처럼) `nil`은 + 객체입니다. 정의되지 않은 변수와는 다릅니다. 부울처럼 취급하면 `false`로 + 평가됩니다. +* 참 거짓을 평가할 때 `false` 및 `nil`만 거짓 값으로 평가됩니다. 다른 모든 + 것은 true입니다(`0`, `0.0` 및 `"0"` 포함). +* [PerlMonks][2]는 없습니다. ruby-talk 메일링 리스트는 매우 유용한 곳입니다. + + + +[1]: http://guides.rubygems.org +[2]: http://www.perlmonks.org/ diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-php/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-php/index.md new file mode 100644 index 0000000000..74f2571b47 --- /dev/null +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-php/index.md @@ -0,0 +1,48 @@ +--- +layout: page +title: "PHP에서 Ruby로" +lang: ko +--- + +PHP는 웹 애플리케이션에 널리 사용되고 있지만 Ruby on Rails를 사용하고 싶거나 +일반적인 용도에 더 적합한 언어를 원한다면 Ruby를 살펴볼 가치가 있습니다. + +### 비슷한 점들 + +PHP처럼, Ruby에서도... + +* Ruby는 PHP와 같이 동적으로 타이핑되므로 변수 선언에 대해 걱정할 필요가 + 없습니다. +* 클래스가 있으며 PHP 5(`public`, `protected` 및 `private`)에서와 같이 클래스에 + 대한 액세스를 제어할 수 있습니다. +* 일부 변수는 PHP와 동일하게 $로 시작합니다(전부가 아님). +* `eval`도 있습니다. +* 문자열 보간을 사용할 수 있습니다. `"$foo is a $bar"` 대신 + `"#{foo} is a #{bar}"`를 사용할 수 있습니다. PHP에서와 같이 작은따옴표 + 문자열에는 적용되지 않습니다. +* 히어독(heredoc)이 있습니다. +* Ruby에는 PHP 5처럼 예외가 있습니다. +* 상당히 큰 표준 라이브러리가 있습니다. +* 배열 및 해시는 `array()`를 `{`, `}`로 교환하면 예상대로 작동합니다. + `array('a' => 'b')`는 `{'a' => 'b'}`가 됩니다. +* `true` 및 `false`는 PHP처럼 동작하지만 `null`은 `nil`이라고 합니다. + +### 다른 점들 + +PHP와는 다르게, Ruby에서는... + +* 강력한 타이핑이 있습니다. `to_s`, `to_i` 등을 호출해야 합니다. 언어에 의존하지 + 않고 문자열, 정수 등을 변환합니다. +* 문자열, 숫자, 배열, 해시 등은 객체입니다. abs(-1)을 호출하는 대신 + -1.abs입니다. +* 메서드 호출에서 괄호는 생략 가능합니다. 단, 어떤 매개변수가 어떤 메서드 호출로 + 이동하는지 명확히 하는 경우는 예외입니다. +* 표준 라이브러리 및 확장은 모듈 및 클래스로 구성됩니다. +* 리플렉션은 객체 고유의 기능이므로 PHP 5에서와 같이 `Reflection` 클래스를 + 사용할 필요가 없습니다. +* 변수는 참조입니다. +* `abstract` 클래스나 `interface`가 없습니다. +* 해시와 배열은 상호 교환할 수 없습니다. +* `false` 및 `nil`만 거짓입니다. `0`, `array()` 및 `""`는 조건문에서 모두 + 참입니다. +* `raise`(PHP에서는 `throw`)를 포함하여 거의 모든 것이 메서드 호출입니다. From ccba4abe8f2e2ac2fd3057960be62e8d61cb98b4 Mon Sep 17 00:00:00 2001 From: marocchino Date: Mon, 13 Mar 2023 06:28:38 +0900 Subject: [PATCH 1888/2563] Translate ruby faq 1 (ko) (#2998) * Translate ruby faq 1 (ko) * Apply suggestions from code review Co-authored-by: Chayoung You * Apply suggestions from code review Co-authored-by: Chayoung You * Translate part (ko) --------- Co-authored-by: Chayoung You --- ko/documentation/faq/1/index.md | 319 ++++++++++++++++++++++++++++++++ ko/documentation/faq/index.md | 62 +++++++ 2 files changed, 381 insertions(+) create mode 100644 ko/documentation/faq/1/index.md create mode 100644 ko/documentation/faq/index.md diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md new file mode 100644 index 0000000000..f2241ffe24 --- /dev/null +++ b/ko/documentation/faq/1/index.md @@ -0,0 +1,319 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 일반적인 질문 + +### Ruby란? + +Ruby는 Yukihiro Matsumoto(이 문서와 메일링 리스트에서 "Matz"라는 핸들을 +사용함)가 만든 단순하고 강력한 객체 지향 프로그래밍 언어입니다. + +Perl과 마찬가지로 Ruby는 텍스트 처리에 능숙합니다. Smalltalk와 마찬가지로 Ruby의 +모든 것은 객체이며 Ruby에는 블록, 이터레이터, 메타 클래스 및 기타 유용한 기능이 +있습니다. + +Ruby를 사용하여 서버를 작성하고, 프로토타입을 실험하고, 일상적인 프로그래밍 작업을 +수행할 수 있습니다. 완전히 통합된 객체 지향 언어인 Ruby는 확장성이 뛰어납니다. + +Ruby의 기능: + +* 간단한 구문, +* 기본적인 객체 지향 기능(클래스, 메서드, 객체 등), +* 특별한 객체 지향 기능(믹스인, 싱글턴 메서드, 리네이밍 등), +* 연산자 오버로딩, +* 예외 처리, +* 이터레이터와 클로저, +* 가비지 컬렉션, +* 동적 로딩(아키텍처에 따라 다름), +* 높은 이동성(다양한 Unix, Windows, DOS, macOS, OS/2, Amiga 등에서 실행 가능). + +### Ruby 코드를 보여주세요! + +이름과 나이가 있는 `Person`이라는 클래스를 정의해 봅시다. 몇 명의 사람을 만들고 +검사하여 코드를 테스트합니다. + +~~~ +class Person + attr_accessor :name, :age + + def initialize(name, age) + @name = name + @age = age.to_i + end + + def inspect + "#{name} (#{age})" + end +end + +p1 = Person.new("Elmo", 4) +p2 = Person.new("Zoe", 7) + +p1 # => Elmo (4) +p2 # => Zoe (7) +~~~ + +이제 다음과 같은 줄이 포함된 파일 `ages`에서 이름과 나이를 읽어서 사람들의 +배열을 채웁니다. + +~~~ +Bert: 8 +Cookie: 11 +Elmo: 4 +Ernie: 8 +Zoe: 7 +~~~ + +이 코드는 정규식을 사용하여 입력 파일에서 연속적인 줄을 구문 분석하여 각 일치 +항목에 대해 새 `Person` 객체를 만들고 배열 `people`의 맨 뒤에 푸시합니다. + +~~~ +people = Array.new + +File.foreach("ages") do |line| + people << Person.new($1, $2) if line =~ /(.*):\s+(\d+)/ +end + +people # => [Bert (8), Cookie (11), Elmo (4), Ernie (8), Zoe (7)] +~~~ + +이제 사람의 나이를 기준으로 결과를 정렬해 보겠습니다. 여러 가지 방법으로 이를 +수행할 수 있습니다. Ruby에 두 사람을 비교하는 방법을 알려주는 정렬 블록을 정의할 +수 있습니다. + +~~~ +sorted = people.sort {|a, b| a.age <=> b.age } +sorted # => [Elmo (4), Zoe (7), Bert (8), Ernie (8), Cookie (11)] +~~~ + +또 다른 방법은 클래스 `Person`에 대한 비교 메서드를 변경하는 것입니다. + +~~~ +class Person + def <=>(other) + age <=> other.age + end +end +people.sort # => [Elmo (4), Zoe (7), Bert (8), Ernie (8), Cookie (11)] +~~~ + +### 이름이 "Ruby"인 이유는 무엇인가요? + +Perl의 영향을 받은 Matz는 새로운 언어에 보석 이름을 사용하고 싶었고 동료의 +탄생석을 따서 Ruby라는 이름을 지었습니다. + +나중에 그는 Ruby가 여러 상황에서 Perl 바로 다음에 오는 것을 깨달았습니다. +탄생석에서 Perl은 6월, Ruby는 7월입니다. 폰트 크기 측정 시 pearl은 5pt, ruby는 +5.5pt입니다. 그는 Ruby가 Perl보다 새로운(그리고 바라건대 더 나은) 프로그래밍 +언어의 좋은 이름이라고 생각했습니다. + +(1999년 6월 11일 [\[ruby-talk:00394\]][ruby-talk:00394]에서 Matz의 설명을 +기반으로 합니다.) + +[ruby-talk:00394]: https://blade.ruby-lang.org/ruby-talk/394 + +### Ruby의 역사는? + +다음은 1999년 6월 4일 [\[ruby-talk:00382\]][ruby-talk:00382]에 Matz가 작성한 +게시물을 요약한 것입니다. (Ruby의 생일은 [\[ruby-list:15977\]][ruby-list:15977]에서 +수정되었습니다.) + +> Ruby는 1993년 2월 24일에 태어났습니다. 동료와 객체 지향 스크립팅 언어의 +> 가능성에 대해 이야기하고 있었습니다. 나는 Perl(Perl5가 아닌 Perl4)을 알고 +> 있었지만 장난감 언어의 냄새가 나기 때문에 별로 좋아하지 않았습니다(여전히 +> 그렇습니다). 객체 지향 스크립팅 언어는 매우 유망해 보였습니다. + +> 저는 그때 Python을 알았습니다. 그러나 나는 그것이 진정한 객체 지향 언어라고 +> 생각하지 않았기 때문에 그것을 좋아하지 않았습니다. 객체 지향 기능은 언어에 대한 추가 +> 기능으로 나타났습니다. 15년 동안 언어 마니아이자 객체 지향 팬으로서 저는 진정한 객체 +> 지향의 사용하기 쉬운 스크립팅 언어를 정말로 원했습니다. 찾아보았지만 찾을 수 +> 없었습니다. + +> 그래서 만들기로 했습니다. 인터프리터를 가동시키는 데 몇 달이 걸렸습니다. +> 이터레이터, 예외 처리, 가비지 컬렉터 같은 내가 좋아하는 기능을 내 언어에 +> 넣었습니다. + +> 그런 다음 Perl의 기능을 클래스 라이브러리로 재구성하여 구현했습니다. 1995년 +> 12월에 일본 국내 뉴스그룹에 Ruby 0.95를 올렸습니다. + +> 그 이후로 활발한 메일링 리스트가 만들어지고 웹 페이지가 형성되었습니다. + +[ruby-talk:00382]: https://blade.ruby-lang.org/ruby-talk/382 +[ruby-list:15977]: https://blade.ruby-lang.org/ruby-list/15977 + +### Ruby 홈 페이지는 어디에 있나요? + +공식 Ruby 홈 페이지는 [www.ruby-lang.org](https://www.ruby-lang.org)입니다. +영어 및 일본어 버전 외에도 다양한 언어로 번역되어 있습니다. + +Ruby 정보를 찾기 위한 좋은 출발점은 [문서](/ko/documentation/) 및 +[커뮤니티](/ko/community/) 페이지입니다. + +### Ruby 뉴스그룹이 있나요? + +comp.lang.ruby는 2000년 5월에 설립되었습니다. +([Conrad Schneiker](mailto:schneiker@jump.net)의 노력에 감사드립니다.) + +### Ruby 메일링 리스트가 있나요? + +Ruby에 대해 이야기하는 여러 메일링 리스트가 있습니다. +자세한 내용은 [메일링 리스트](/ko/community/mailing-lists/) 페이지를 참조하세요. + +를 +사용하여 메일링 리스트 아카이브를 검색할 수 있습니다. (이것은 ruby-talk 메일링 리스트의 +URL이며, 다른 메일링 리스트를 원하면 변경해서 사용하세요.) + +### mutt에서 메일링 리스트를 쓰려면 어떻게 해야 하나요? + +{% include faq-out-of-date.html %} + +일부 Ruby 메일링 리스트의 경우 메일링 리스트 소프트웨어는 제목 줄에 +`ruby-core:1234`와 같은 접두어를 추가합니다. 이로 인해 일부 메일 사용자 +에이전트의 스레딩이 혼동될 수 있습니다. + +mutt에서는 다음 변수 설정을 사용하여 스레딩을 작동시킬 수 있습니다. + +~~~ +# reply regexp, to support MLs like ruby-talk. +set reply_regexp="^(\[[a-z0-9:-]+\][[:space:]]*)?(re([\[0-9\]+])*|aw):[[:space:]]*" +~~~ + +### "Ruby"와 "ruby" 중 어느 것이 맞습니까? + +공식적으로는 언어를 "Ruby"라고 합니다. 대부분의 시스템에서는 `ruby` 명령을 +사용하여 호출됩니다. "Ruby" 대신 "ruby"를 사용해도 괜찮습니다. + +언어 이름으로 "RUBY"를 사용하지 마십시오. + +처음엔, 역사적으로도, "ruby"라고 불렸습니다. + +### Ruby 책이 있나요? + +{% include faq-out-of-date.html %} + +* Ruby 프로그래밍: 실용적인 프로그래머 가이드, + (곡괭이 책) David Thomas와 Andrew Hunt 저: ISBN 0-20171-089-7, + Addison-Wesley, 2000년 10월. + +* Matz 외의 일본어 Ruby 참고서. 일본에서는 ASCII에서 출판되었습니다(ISBN + 4-7561-3254-5). 영어 번역본인 "The Ruby Programming Language"는 O'Reilly & + Associates에서 구할 수 있습니다(ISBN 978-0596516178). + +* 일본어 "Ruby Pocket Reference"는 O'Reilly Japan에서 출판되었습니다(ISBN + 4-87311-023-8). 번역본을 보고 싶다면 미국에 있는 O'Reilly에게 알려주세요. + +* 또한 Jeffrey Friedl의 "정규 표현식 마스터링"(Hip Owl Book): O'Reilly & + Associates, ISBN 1-56592-257-3은 다양한 프로그래밍 언어에서 정규 표현식의 + 기술 및 구현을 다루는 참고서입니다. 대부분 Ruby 정규 표현식과 관련성이 + 높습니다. + +### 어떤 편집기가 Ruby를 지원하나요? + +{% include faq-out-of-date.html %} + +* [Emacs](http://www.gnu.org/software/emacs/emacs.html), + [XEmacs](http://www.xemacs.org/): `ruby-mode.el`이 Ruby 배포판으로 제공됩니다. + XEmacs의 일부 버전에서는 `.emacs` 파일에 `(load "font-lock")`을 추가해야 + `ruby-mode.el`이 사용 중인 구문 강조 패키지를 감지할 수 있습니다. +* [Vim](http://www.vim.org/): Vim 5.7 이상에는 런타임 패키지의 표준으로 Ruby + 구문 파일이 있습니다. 이전 버전의 경우 Ruby용 구문 파일은 + [http://www.xs4all.nl/~hipster/lib/ruby/ruby.vim](http://www.xs4all.nl/~hipster/lib/ruby/ruby.vim)에서 찾을 수 있습니다. +* [Jedit](http://jedit.sourceforge.net/): Java로 작성된 휴대용 편집기로 Ruby를 + 지원합니다. +* [Nedit](http://www.nedit.org): Eric Santonacci는 Nedit에 대한 Ruby 지원을 + 작성했습니다. + [ftp://ftp.talc.fr/pub/ruby/ruby.nedit-0.1.tar.gz](ftp://ftp.talc.fr/pub/ruby/ruby.nedit-0.1.tar.gz)에서 사용 가능합니다. +* Barry Shultz는 TextPad용 Ruby 정의 파일을 작성했습니다. + [https://www.textpad.com/add-ons/synn2t.html](https://www.textpad.com/add-ons/synn2t.html)에서 사용 가능합니다. + +### Ruby 코드의 실행 결과를 주석으로 추가하려면 어떻게 해야하나요? + +{% include faq-out-of-date.html %} + +사람들은 일반적으로 각 명령문 실행 결과를 해당 명령문에 첨부된 주석으로 표시하여 +Ruby 코드에 주석을 답니다. 예를 들어 다음 코드에서는 할당이 문자열 "Billy Bob"을 +생성한 다음 일부 부분 문자열을 추출한 결과를 보여줍니다. + +~~~ +str = "Billy" + " Bob" # => "Billy Bob" +str[0,1] + str[2,1] + str[-2,2] # => "Blob" +~~~ + +Emacs 및 vim 사용자는 이를 편집 환경과 통합할 수 있습니다. 이는 주석이 달린 Ruby +코드가 포함된 이메일을 사람들에게 보내려는 경우에 유용합니다. `xmp`를 설치한 +Emacs 사용자는 `.emacs` 파일에 다음을 추가할 수 있습니다. + +~~~ +(defun ruby-xmp-region (reg-start reg-end) + "Pipe the region through Ruby's xmp utility and replace the region with + the result." + (interactive "r") + (shell-command-on-region reg-start reg-end + "ruby -r xmp -n -e 'xmp($_, \"%l\t\t# %r\n\")'" + t)) +(global-set-key [(meta f10)] 'ruby-xmp-region) +~~~ + +Vim 사용자는 매핑을 사용할 수 있습니다(hipster님 감사합니다). + +~~~ +map :!ruby -r xmp -n -e 'xmp($_, "\%l\t\t\# \%r\n")' +~~~ + +두 경우 모두 코드 영역을 강조 표시하고 Meta-F10을 눌러 주석을 추가합니다. + +### Ruby 매뉴얼을 읽어도 이해가 안 돼요! + +{% include faq-out-of-date.html %} + +Ruby의 구문은 Ruby 1.0 이후 상당히 안정적이지만 때때로 새로운 기능이 추가됩니다. +따라서 책과 온라인 설명서가 뒤처질 수 있습니다. + +문제가 있는 경우 메일링 리스트([메일링 리스트 페이지](/ko/community/mailing-lists/) 참조)에서 +언제든지 질문하십시오. +일반적으로 언어의 작성자인 Matz, 다른 전문가, 자신과 유사한 문제를 해결한 +사람들로부터 적절한 답변을 얻을 수 있습니다. + +문제가 있는 소스 코드와 함께 `ruby -v`의 출력을 첨부하세요. + +[`irb`](/en/documentation/faq/10/#irb)를 사용하는 데 문제가 있는 경우 몇 가지 +제한 사항이 있다는 점에 유의하세요. `irb --single-irb`를 사용하거나 `ruby` +명령을 직접 사용하여 스크립트를 사용해 보세요. + +메일링 리스트에 비슷한 질문이 있을 수 있으며 질문하기 전에 최근 +메일(RFC1855:3.1.1, 3.1.2)을 읽어보는 것이 좋습니다. +하지만 메일링 리스트에서 질문하시면 정답이 곧 나올 것입니다. diff --git a/ko/documentation/faq/index.md b/ko/documentation/faq/index.md new file mode 100644 index 0000000000..8ff84896ce --- /dev/null +++ b/ko/documentation/faq/index.md @@ -0,0 +1,62 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +이 문서에는 Ruby에 대한 자주 묻는 질문과 답변이 포함되어 있습니다. +{: .summary} + +이 FAQ는 원래 Shugo Maeda가 편집하고 Kentaro Goto가 영어로 번역한 +"[The Ruby Language FAQ][original-faq]"를 기반으로 합니다. +FAQ를 사이트에 통합하고 콘텐츠를 대대적으로 점검한 Zachary Scott과 Marcus +Stollsteimer에게 감사드립니다. + +이 문서의 코드 예제는 Ruby 2.3을 사용하여 실행되었습니다. + +[original-faq]: http://ruby-doc.org/docs/ruby-doc-bundle/FAQ/FAQ.html + +{% include faq-notice.md %} + +## 콘텐츠 + +* [일반적인 질문](1/) +* [Ruby의 경쟁 상대는...?](/en/documentation/faq/2/) +* [Ruby 설치하기](/en/documentation/faq/3/) +* [변수, 상수 및 인수](/en/documentation/faq/4/) +* [이터레이터](/en/documentation/faq/5/) +* [구문](/en/documentation/faq/6/) +* [메서드](/en/documentation/faq/7/) +* [클래스 및 모듈](/en/documentation/faq/8/) +* [빌트인 라이브러리](/en/documentation/faq/9/) +* [확장 라이브러리](/en/documentation/faq/10/) +* [기타 기능](/en/documentation/faq/11/) From 80c8c5aa208ce8725b16ecdd2797506a5d5b5b6b Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Mon, 13 Mar 2023 15:54:33 +0900 Subject: [PATCH 1889/2563] Update translation of "Ruby From Other Languages" (ko) (#2999) --- .../to-ruby-from-c-and-cpp/index.md | 58 ++++++++-------- .../to-ruby-from-java/index.md | 30 ++++---- .../to-ruby-from-perl/index.md | 30 ++++---- .../to-ruby-from-php/index.md | 16 ++--- .../to-ruby-from-python/index.md | 68 +++++++++++-------- 5 files changed, 105 insertions(+), 97 deletions(-) diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md index e0aaa3f4c7..2c7ab9261c 100644 --- a/ko/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md @@ -4,7 +4,7 @@ title: "C나 C++에서 Ruby로" lang: ko --- -Ruby에서 코드가 C 또는 C++와 어떻게 다른지 항목 별로 설명하는 것은 상당히 +Ruby에서 코드가 C 또는 C++와 어떻게 다른지 항목별로 설명하는 것은 상당히 큰 차이가 있기 때문에 어렵습니다. 이 어려움의 원인 중 하나는 Ruby 런타임이 많은 일을 해 주기 때문입니다. Ruby는 C의 "숨겨진 메커니즘 없음" 원칙에서 가능한 한 멀리 있는 것 같습니다. @@ -15,7 +15,7 @@ Ruby의 요점은 런타임이 더 많은 작업을 수행하는 대신 인간 즉, Ruby 코드가 "같은 일을 하는" C 또는 C++ 코드보다 훨씬 느리게 실행될 것으로 예상할 수 있습니다. 동시에 Ruby 프로그램을 얼마나 빨리 시작하고 실행할 수 있는지, 작성하는 데 몇 줄의 코드가 필요한지 빠르게 이해할 수 있습니다. -Ruby는 C++ 보다 훨씬 간단합니다. Ruby는 여러분을 응석받이로 만들 것입니다. +Ruby는 C++보다 훨씬 간단합니다. Ruby는 여러분을 응석받이로 만들 것입니다. Ruby는 정적으로 타입이 결정되지 않고 동적으로 결정됩니다. 런타임은 실행 시간에 가능한 한 많은 작업을 수행합니다. 예를 들어, Ruby 프로그램이 "링크"(즉, 로드 및 @@ -37,7 +37,7 @@ C처럼, Ruby에서도... * 대부분의 연산자는 동일합니다(복합 할당 및 비트 연산자 포함). 그러나 Ruby에는 `++` 또는 `--`가 없습니다. * `__FILE__` 및 `__LINE__`이 있습니다. -* 특별한 `const` 키워드는 없지만 상수도 쓸 수 있습니다. 상수다움은 명명 +* 특별한 `const` 키워드는 없지만 상수도 쓸 수 있습니다. 상수인지 아닌지는 명명 규칙으로 결정됩니다. 대문자로 시작하는 이름은 상수입니다. * 문자열은 큰따옴표로 묶습니다. * 문자열은 변경 가능합니다. @@ -45,14 +45,14 @@ C처럼, Ruby에서도... 읽을 수 있습니다. * 동일한 종류의 커맨드 라인 디버거를 사용할 수 있습니다. -### C++과 비슷한 점 +### C++와 비슷한 점 C++처럼, Ruby에서도... -* 대부분 같은 연산자를 사용합니다(심지어 `::`까지). `<<`는 종종 목록에 요소를 +* 대부분 같은 연산자를 사용합니다(심지어 `::`까지). `<<`는 종종 배열에 요소를 추가하는 데 사용됩니다. 하지만 주의할 것이 하나 있습니다. Ruby에서는 `->`를 사용하지 않습니다. 항상 `.`입니다. -* `public`, `private` 및 `protected`는 유사한 작업을 수행합니다. +* `public`, `private`, `protected`는 유사한 작업을 수행합니다. * 상속 구문은 동일하게 한 문자이지만 `:` 대신 `<`를 사용합니다. * C++에서 `namespace`가 사용되는 방식과 유사하게 코드를 "모듈"에 넣을 수 있습니다. @@ -64,29 +64,29 @@ C++처럼, Ruby에서도... C와는 다르게, Ruby에서는... * 코드를 컴파일할 필요가 없습니다. 직접 실행하면 됩니다. -* 객체는 강력한 타입입니다(변수 이름 자체에는 타입이 전혀 없음). -* 매크로나 전처리기가 없습니다. 캐스트가 없습니다. 포인터도 없습니다(포인터 - 연산도 없습니다). typedefs, sizeof, enum도 없습니다. -* 헤더 파일이 없습니다. 기본 소스 코드 파일에서 기능(일반적으로 "메서드"라고 - 함)과 클래스를 정의하기만 하면 됩니다. -* `#define`이 없습니다. 대신 상수를 사용하십시오. +* 객체는 강 타입입니다(변수 이름 자체에는 타입이 전혀 없음). +* 매크로나 전처리기가 없습니다. 캐스팅이 없습니다. 포인터도 없습니다(포인터 + 연산도 없습니다). typedef, sizeof, enum도 없습니다. +* 헤더 파일이 없습니다. 메인 소스 코드 파일에서 함수(일반적으로 "메서드"라고 + 함)와 클래스를 정의하기만 하면 됩니다. +* `#define`이 없습니다. 대신 상수를 사용하세요. * 모든 변수는 힙에 저장됩니다. 또한, 가비지 컬렉터가 처리하므로 직접 해제할 필요가 없습니다. -* 메서드(예: 함수)에 대한 인수는 값으로 전달되며 값은 항상 개체 참조입니다. +* 메서드(예: 함수)에 대한 인수는 값으로 전달되며 그 값은 항상 객체 참조입니다. * `#include ` 또는 `#include "foo"` 대신 `require 'foo'`를 사용합니다. * 어셈블리를 사용할 수 없습니다. * 줄 끝에 세미콜론이 없습니다. -* `if` 및 `while` 조건 표현식에는 괄호 없이 사용합니다. +* `if` 및 `while` 조건 표현식을 괄호 없이 적습니다. * 메서드(예: 함수) 호출에 대한 괄호는 종종 생략 가능합니다. * 일반적으로 중괄호를 사용하지 않습니다. `end` 키워드로 여러 줄 구성(`while` - 루프와 같은)을 끝냅니다. + 루프 등)을 끝냅니다. * `do` 키워드는 소위 "블록"을 위한 것입니다. C와 같은 "do 문"이 없습니다. * "블록"이라는 용어는 다른 의미를 가집니다. 실행하는 동안 메서드 본문이 블록을 - 호출할 수 있도록 메서드 호출과 연결하는 코드 블록용입니다. + 호출할 수 있도록 메서드 호출과 연결하는 코드 블록을 가리킵니다. * 변수 선언이 없습니다. 필요할 때 즉시 새 이름을 지정하기만 하면 됩니다. * 참 거짓을 확인할 때 `false` 및 `nil`만 거짓 값으로 평가됩니다. 다른 모든 것은 - true입니다(`0`, `0.0` 및 `"0"` 포함). -* `char`가 없습니다. 단지 1자로 된 문자열입니다. + 참입니다(`0`, `0.0`, `"0"` 포함). +* `char`가 없습니다. 단지 한 글자로 된 문자열입니다. * 문자열은 null 바이트로 끝나지 않습니다. * 배열 리터럴은 중괄호 대신 대괄호 안에 들어갑니다. * 배열에 더 많은 요소를 넣으면 배열이 자동으로 커집니다. @@ -95,33 +95,33 @@ C와는 다르게, Ruby에서는... * 대부분의 경우 모든 것이 표현식입니다(즉, `while` 문은 실제로 rvalue로 평가됩니다). -### C++과 다른 점 +### C++와 다른 점 -C과는 다르게, Ruby에서는... +C++와는 다르게, Ruby에서는... -* 명시적인 참조가 없습니다. 즉, Ruby에서 모든 변수는 일부 개체에 대해 자동으로 +* 명시적인 참조가 없습니다. 즉, Ruby에서 모든 변수는 일부 객체에 대해 자동으로 역참조된 이름일 뿐입니다. -* 개체는 강 타입이지만 *동적* 타입이 지정됩니다. 런타임은 *실행 시간에* 해당 메서드 +* 객체는 강 타입이지만 *동적* 타입이 지정됩니다. 런타임은 *실행 시간에* 해당 메서드 호출이 실제로 작동하는지 확인합니다. -* "constructor"는 클래스 이름 대신 `initialize`라고 합니다. +* "생성자"는 클래스 이름 대신 `initialize`라고 합니다. * 모든 메서드는 항상 가상입니다. -* "클래스"(정적) 변수 이름은 항상 `@@`로 시작합니다.(예: `@@total_widgets`) +* "클래스"(정적) 변수 이름은 항상 `@@`로 시작합니다(예: `@@total_widgets`). * 멤버 변수에 직접 접근하지 않습니다. 공용 멤버 변수(Ruby에서 attributes로 부름)에 대한 모든 액세스는 메서드를 통해 이루어집니다. * `this`가 아니라 `self`입니다. -* 일부 메서드는 '?' 또는 '!'로 끝납니다. 실제로 메서드 이름의 일부입니다. +* 일부 메서드는 '?' 또는 '!'로 끝납니다. 실제로 메서드 이름의 일부분입니다. * 그 자체로는 다중 상속이 없습니다. Ruby에는 "믹스인"이 있습니다(즉, 모듈의 모든 인스턴스 메서드를 "상속"할 수 있음). * 일부 대소문자 규칙이 적용됩니다(예: 클래스 이름은 대문자로 시작하고 변수는 소문자로 시작). * 메서드 호출에 대한 괄호는 일반적으로 생략 가능합니다. * 언제든지 클래스를 다시 열고 메서드를 더 추가할 수 있습니다. -* C++ 템플릿이 필요하지 않습니다(주어진 변수에 모든 종류의 개체를 할당할 수 있고 +* C++ 템플릿이 필요하지 않습니다(주어진 변수에 모든 종류의 객체를 할당할 수 있고 타입은 어쨌든 런타임에 파악되기 때문입니다). 캐스팅도 없습니다. * 이터레이션은 약간 다르게 수행됩니다. Ruby에서는 별도의 이터레이터 - 객체(`vector::const_iterator iter`와 같은)를 사용하지 않습니다. 대신 - 연속적인 요소를 전달하는 코드 블록을 취하는 컨테이너 개체의 이터레이터 - 메서드(`each`와 같은)를 사용합니다. + 객체(`vector::const_iterator iter` 등)를 사용하지 않습니다. 대신 + 연속적인 요소를 전달하는 코드 블록을 취하는 컨테이너 객체의 이터레이터 + 메서드(`each` 등)를 사용합니다. * 컨테이너 타입은 `Array`와 `Hash` 두 가지뿐입니다. * 타입 변환이 없습니다. 그러나 Ruby를 사용하면 필요하지 않다는 것을 알게 될 것입니다. diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-java/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-java/index.md index ea8a9528af..8e6001af77 100644 --- a/ko/documentation/ruby-from-other-languages/to-ruby-from-java/index.md +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-java/index.md @@ -4,12 +4,12 @@ title: "Java에서 Ruby로" lang: ko --- -Java는 성숙하고 검증되어있고 (Java를 싫어하는 사람들은 여전히 이의를 +Java는 성숙하고 검증되어 있고 (Java를 싫어하는 사람들은 여전히 이의를 제기하겠지만) 빠릅니다. 하지만 장황하기도 합니다. Java에서 Ruby로 전환하면 코드량이 상당히 적어질 것입니다. 또 빠르게 프로토타입을 만들 때 시간이 적게 걸릴 것입니다. -### 비슷한 점들 +### 비슷한 점 Java처럼, Ruby에서도... @@ -17,15 +17,15 @@ Java처럼, Ruby에서도... * 객체는 강 타입입니다. * public, private, protected 메서드가 있습니다. * 내장된 문서화 툴이 있습니다(Ruby에서는 RDoc이라 합니다). rdoc으로 - 생성된 문서는 javadoc으로 생성된 문서와 매우 비슷합니다. + 생성한 문서는 javadoc으로 생성한 문서와 매우 비슷합니다. -### 다른 점들 +### 다른 점 Java와는 다르게, Ruby에서는... -* 코드를 컴파일 할 필요가 없습니다. 직접 실행하시면 됩니다. -* 여러 인기있는 서드파티 GUI 툴킷이 있습니다. Ruby 유저는 - [WxRuby][1], [FXRuby][2], [Ruby-GNOME2][3], [Qt][4]나 +* 코드를 컴파일할 필요가 없습니다. 직접 실행하면 됩니다. +* 여러 인기 있는 서드파티 GUI 툴킷이 있습니다. Ruby 유저는 + [WxRuby][1], [FXRuby][2], [Ruby-GNOME2][3], [Qt][4], [Ruby Tk](https://github.com/ruby/tk) 등을 사용할 수 있습니다. * 클래스 같은 것을 정의할 때 코드 블록에 중괄호를 넣는 대신, 선언 뒤에 `end` 키워드를 사용합니다. @@ -35,18 +35,18 @@ Java와는 다르게, Ruby에서는... * 2나 3.14159 같은 숫자를 포함해 모든 것이 객체입니다. * 정적 타입 체크가 없습니다. * 변수 이름은 라벨일 뿐입니다. 변수 이름에 관련된 타입은 없습니다. -* 타입 선언이 없습니다. 필요할 때 새로운 변수 이름에 대입만 하시면 그대로 - "동작"합니다. (예를 들어, `int[] a = {1,2,3};` 대신 `a = [1,2,3]`) -* 형변환이 없습니다. 그냥 메서드를 호출 하세요. 예외를 보게 될 때에는 - 유닛테스트가 코드를 실행하기도 전에 말해 줄 것입니다. +* 타입 선언이 없습니다. 필요할 때 새로운 변수 이름에 대입만 하면 그대로 + "동작"합니다(예를 들어, `int[] a = {1,2,3};` 대신 `a = [1,2,3]`). +* 캐스팅이 없습니다. 그냥 메서드를 호출하세요. 예외를 보게 될 때에는 + 유닛 테스트가 코드를 실행하기도 전에 말해 줄 것입니다. * `Foo foo = new Foo("hi")` 대신 `foo = Foo.new("hi")`를 사용합니다. * 생성자는 클래스 이름 대신 항상 “initialize”로 명명됩니다. -* 인터페이스 대신 “mixins”을 사용합니다. -* YAML을 XML보다 선호하는 경향이 있습니다. +* 인터페이스 대신 "믹스인"을 사용합니다. +* XML보다 YAML을 선호하는 경향이 있습니다. * `null` 대신 `nil`을 사용합니다. -* Ruby는 `==`과 `equals()`을 다르게 취급합니다. Ruby에서 값이 같은지를 +* Ruby는 `==`과 `equals()`를 다르게 취급합니다. Ruby에서 값이 같은지를 확인하려면 `==`를 사용하고(Java에서는 `equals()`), 객체가 같은지를 확인하려면 - `equal?()`를 사용합니다.(Java에서는 `==`) + `equal?()`을 사용합니다(Java에서는 `==`). diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md index 78f514e6d2..277f09178e 100644 --- a/ko/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-perl/index.md @@ -8,7 +8,7 @@ Perl은 굉장합니다. Perl의 문서도 굉장합니다. Perl 커뮤니티도 처음부터 내장된 우아한 객체 지향 기능을 갈망하는 Perler에게는 Ruby가 적합할 수 있습니다. -### 비슷한 점들 +### 비슷한 점 Perl처럼, Ruby에서도... @@ -17,42 +17,42 @@ Perl처럼, Ruby에서도... * 일반적으로 사용되는 내장 기능이 상당히 많습니다. * 괄호는 종종 생략할 수 있습니다. * 문자열은 기본적으로 동일하게 작동합니다. -* Perl과 유사한 일반 구분 문자열 및 정규식 인용 구문이 있습니다. - `%q{this}`(작은따옴표) 또는 `%Q{this}`(큰따옴표) 및 `%w{단일따옴표 단어 목록의 - 경우}`처럼 보입니다. 원하는 경우 `%Q|can|` `%Q(use)` `%Q^other^` 구분 기호를 +* 일반 구분 문자열 및 Perl과 유사한 정규식 인용 구문이 있습니다. + `%q{this}`(작은따옴표) 또는 `%Q{this}`(큰따옴표) 및 `%w{작은따옴표 단어 목록의 경우}`처럼 + 보입니다. 원하는 경우 `%Q|can|` `%Q(use)` `%Q^other^` 구분 기호를 사용할 수 있습니다. -* `"#{like} this"`처럼 보이지만 큰따옴표 변수 보간이 있습니다.(그리고 `#{}` 안에 - 원하는 Ruby 코드를 넣을 수 있습니다) +* `"#{like} this"`처럼 보이지만 큰따옴표 변수 보간이 있습니다(그리고 `#{}` 안에 + 원하는 Ruby 코드를 넣을 수 있습니다). * 셸 명령 확장은 `` `backticks` ``를 사용합니다. * 내장된 문서 도구가 있습니다(Ruby는 rdoc이라고 함). -### 다른 점들 +### 다른 점 Perl과는 다르게, Ruby에서는... * Perl과 같은 상황에 따른 규칙이 없습니다. -* 변수는 참조하는 개체와 동일하지 않습니다. 대신 항상 개체에 대한 참조일 +* 변수는 참조하는 객체와 동일하지 않습니다. 대신 항상 객체에 대한 참조일 뿐입니다. -* `$` 및 `@`는 변수 이름의 첫 번째 문자로 사용되는 경우가 있지만 유형을 나타내는 +* `$` 및 `@`는 변수 이름의 첫 번째 문자로 사용되는 경우가 있지만 타입을 나타내는 것이 아니라 범위를 나타냅니다.(`$`는 전역, `@`는 객체 인스턴스, `@@`는 클래스 속성을 나타냅니다) -* 배열 리터럴은 괄호 대신 괄호 안에 들어갑니다. +* 배열 리터럴은 괄호 대신 대괄호 안에 들어갑니다. * 배열의 하위 배열을 작성해도 하나의 큰 배열로 병합되지 않습니다. 대신 배열의 배열을 얻습니다. * `sub`가 아니라 `def`를 사용합니다. * 각 줄의 끝에는 세미콜론이 필요하지 않습니다. 여기에 더해 함수 정의, 클래스 정의 및 case 문과 같은 것을 `end` 키워드로 끝냅니다. -* 개체는 강타입입니다. 타입 간 변환이 필요한 경우 `foo.to_i`, `foo.to_s` 등을 +* 객체는 강 타입입니다. 타입 간 변환이 필요한 경우 `foo.to_i`, `foo.to_s` 등을 직접 호출해야 합니다. -* `eq`, `ne`, `lt`, `gt`, `ge`, `le`은 없습니다. +* `eq`, `ne`, `lt`, `gt`, `ge`, `le`는 없습니다. * 다이아몬드 연산자(`<>`)가 없습니다. 일반적으로 `IO.some_method`를 대신 사용합니다. * 두꺼운 쉼표 `=>`는 해시 리터럴에만 사용됩니다. -* `undef`가 없습니다. Ruby에는 `nil`이 있습니다. (Ruby안의 다른 것처럼) `nil`은 - 객체입니다. 정의되지 않은 변수와는 다릅니다. 부울처럼 취급하면 `false`로 +* `undef`가 없습니다. Ruby에는 `nil`이 있습니다. (Ruby의 다른 것처럼) `nil`은 + 객체입니다. 정의되지 않은 변수와는 다릅니다. 불처럼 취급하면 `false`로 평가됩니다. * 참 거짓을 평가할 때 `false` 및 `nil`만 거짓 값으로 평가됩니다. 다른 모든 - 것은 true입니다(`0`, `0.0` 및 `"0"` 포함). + 것은 참입니다(`0`, `0.0`, `"0"` 포함). * [PerlMonks][2]는 없습니다. ruby-talk 메일링 리스트는 매우 유용한 곳입니다. diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-php/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-php/index.md index 74f2571b47..bb27cc9ecf 100644 --- a/ko/documentation/ruby-from-other-languages/to-ruby-from-php/index.md +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-php/index.md @@ -7,15 +7,15 @@ lang: ko PHP는 웹 애플리케이션에 널리 사용되고 있지만 Ruby on Rails를 사용하고 싶거나 일반적인 용도에 더 적합한 언어를 원한다면 Ruby를 살펴볼 가치가 있습니다. -### 비슷한 점들 +### 비슷한 점 PHP처럼, Ruby에서도... -* Ruby는 PHP와 같이 동적으로 타이핑되므로 변수 선언에 대해 걱정할 필요가 +* Ruby는 PHP와 같이 동적 타입을 사용하므로 변수 선언에 대해 걱정할 필요가 없습니다. -* 클래스가 있으며 PHP 5(`public`, `protected` 및 `private`)에서와 같이 클래스에 +* 클래스가 있으며 PHP 5(`public`, `protected`, `private`)에서와 같이 클래스에 대한 액세스를 제어할 수 있습니다. -* 일부 변수는 PHP와 동일하게 $로 시작합니다(전부가 아님). +* 일부 변수는 PHP와 동일하게 $로 시작합니다(전부는 아님). * `eval`도 있습니다. * 문자열 보간을 사용할 수 있습니다. `"$foo is a $bar"` 대신 `"#{foo} is a #{bar}"`를 사용할 수 있습니다. PHP에서와 같이 작은따옴표 @@ -27,12 +27,12 @@ PHP처럼, Ruby에서도... `array('a' => 'b')`는 `{'a' => 'b'}`가 됩니다. * `true` 및 `false`는 PHP처럼 동작하지만 `null`은 `nil`이라고 합니다. -### 다른 점들 +### 다른 점 PHP와는 다르게, Ruby에서는... -* 강력한 타이핑이 있습니다. `to_s`, `to_i` 등을 호출해야 합니다. 언어에 의존하지 - 않고 문자열, 정수 등을 변환합니다. +* 강 타입을 사용합니다. 문자열, 정수 등을 변환하려면 언어에 의존하는 대신 + `to_s`, `to_i` 등을 호출해야 합니다. * 문자열, 숫자, 배열, 해시 등은 객체입니다. abs(-1)을 호출하는 대신 -1.abs입니다. * 메서드 호출에서 괄호는 생략 가능합니다. 단, 어떤 매개변수가 어떤 메서드 호출로 @@ -43,6 +43,6 @@ PHP와는 다르게, Ruby에서는... * 변수는 참조입니다. * `abstract` 클래스나 `interface`가 없습니다. * 해시와 배열은 상호 교환할 수 없습니다. -* `false` 및 `nil`만 거짓입니다. `0`, `array()` 및 `""`는 조건문에서 모두 +* `false` 및 `nil`만 거짓입니다. `0`, `array()`, `""`는 조건문에서 모두 참입니다. * `raise`(PHP에서는 `throw`)를 포함하여 거의 모든 것이 메서드 호출입니다. diff --git a/ko/documentation/ruby-from-other-languages/to-ruby-from-python/index.md b/ko/documentation/ruby-from-other-languages/to-ruby-from-python/index.md index 6fd599331e..c42f5cdbe0 100644 --- a/ko/documentation/ruby-from-other-languages/to-ruby-from-python/index.md +++ b/ko/documentation/ruby-from-other-languages/to-ruby-from-python/index.md @@ -4,63 +4,71 @@ title: "Python에서 Ruby로" lang: ko --- -Python도 매우 좋은 범용적인 프로그래밍 언어입니다. Python에서 Ruby로 +Python도 매우 좋은 범용 프로그래밍 언어입니다. Python에서 Ruby로 넘어오면 Python을 배울 때보다 조금 더 구문이 늘었을 뿐이라는 걸 알게 될 것입니다. -### 비슷한 점들 +### 비슷한 점 Python처럼, Ruby에서도... -* 대화형 프롬프트가 있습니다. (`irb`라고 부릅니다.) -* 커맨드 라인에서 문서를 읽을 수 있습니다. (`pydoc` 대신 `ri` 명령을 - 사용합니다.) -* 라인 종결이 없습니다. (정상적인 줄 바꿈 제외). -* 문자열 리터럴은 Python의 3따옴표로 감싼 문자열처럼 여러 줄에 걸쳐 +* 대화형 프롬프트가 있습니다(`irb`라고 부릅니다). +* 커맨드 라인에서 문서를 읽을 수 있습니다(`pydoc` 대신 `ri` 명령을 + 사용합니다). +* 라인 종결이 없습니다(일반적인 줄 바꿈 제외). +* 문자열 리터럴은 Python의 따옴표 세 개로 감싼 문자열처럼 여러 줄에 걸쳐 입력할 수 있습니다. -* 괄호는 리스트에, 중괄호는 사전형에 사용합니다.(사전형은 Ruby에선 +* 대괄호는 리스트에, 중괄호는 사전형에 사용합니다.(사전형은 Ruby에선 "해시"라고 부릅니다.) -* 배열은 같은 동작을 합니다. (배열을 더하면 하나의 긴 배열을 만들지만, - `a3 = [ a1, a2 ]`처럼 구성하면 배열의 배열이 됩니다.) -* 객체는 강(strongly)타입인 동시에 동적(dynamically)타입입니다. +* 배열은 같은 동작을 합니다(배열을 더하면 하나의 긴 배열을 만들지만, + `a3 = [ a1, a2 ]`처럼 구성하면 배열의 배열이 됩니다). +* 객체는 강 타입인 동시에 동적 타입입니다. * 모든 것은 객체이며, 변수는 객체의 참조일 뿐입니다. * 키워드는 조금 다르지만, 예외는 거의 비슷하게 동작합니다. -* 내장형 문서화 툴이 있습니다. (Ruby에서는 rdoc이라 부릅니다.) +* 내장형 문서화 툴이 있습니다(Ruby에서는 rdoc이라 부릅니다). +* 일급(first-class) 함수, 익명 함수, 클로저와 함께 함수형 프로그래밍 지원이 + 뛰어납니다. -### 다른 점들 +### 다른 점 Python과는 다르게, Ruby에서는... * 문자열은 변경 가능합니다. * 상수(변경할 의도가 없는 변수)를 만들 수 있습니다. -* 강제적인 대소문자-규칙이 있습니다. (예를 들어, 클래스 이름은 대문자로 - 시작해야 하고, 변수는 소문자로 시작해야 합니다.) +* 강제적인 대소문자 규칙이 있습니다(예를 들어, 클래스 이름은 대문자로 + 시작해야 하고, 변수는 소문자로 시작해야 합니다). * 한 종류의 리스트 컨테이너(배열)밖에 없으며 배열은 변경 가능합니다. -* 따옴표를 사용한 문자열은 (`\t` 같은) 이스케이프 시퀀스와 특수한 "표현식 - 치환" 신택스를 사용할 수 있습니다.(이는 `"add " + "strings " + "together"`처럼 - 적을 필요 없이 Ruby 표현식을 문자열 사이에 넣을 수 있게 합니다.) - 홀 따옴표는 Python의 `r"raw strings"`와 같습니다. +* 큰따옴표를 사용한 문자열은 (`\t` 같은) 이스케이프 시퀀스와 특수한 "표현식 + 치환" 구문을 사용할 수 있습니다(이는 `"add " + "strings " + "together"`처럼 + 적을 필요 없이 Ruby 표현식을 문자열 사이에 넣을 수 있게 합니다). + 작은따옴표는 Python의 `r"raw strings"`와 같습니다. * "새로운 스타일", "옛날 스타일" 클래스가 없습니다. 한 종류입니다. (Python 3 이상은 이 문제가 없습니다만, Python 2와의 완벽한 하위 호환은 되지 않습니다.) -* 속성을 직접 액세스할 수 없습니다. Ruby에서는 전부 메서드 호출입니다. -* 메서드를 호출할 때의 괄호는 대부분 생략가능합니다. +* 속성에 직접 액세스할 수 없습니다. Ruby에서는 전부 메서드 호출입니다. +* 메서드를 호출할 때의 괄호는 대부분 생략 가능합니다. * Python의 `_자발적인_` 밑줄 `__규칙__` 대신 `public`, `private`, `protected`로 액세스를 강제할 수 있습니다. -* “mixins”은 다중 상속 대신 사용합니다. -* 빌트인 클래스에 추가하고 수정할 수 있습니다. 두 언어 다 어느 시점에서든 +* "믹스인"은 다중 상속 대신 사용합니다. +* 빌트인 클래스에 메서드를 추가하고 수정할 수 있습니다. 두 언어 다 어느 시점에서든 클래스를 열고 수정할 수 있지만, Python은 빌트인 클래스의 수정을 방지하고 있고, Ruby는 아닙니다. -* `True`나 `False` 대신 `true`나 `false`를 받습니다. (그리고 `None` 대신 - `nil`을 받습니다.) -* 참거짓을 평가할 때 `false`와 `nil`만이 거짓 값으로 평가됩니다. +* `True`나 `False` 대신 `true`나 `false`를 사용합니다. (그리고 `None` 대신 + `nil`을 사용합니다.) +* 참 거짓을 평가할 때 `false`와 `nil`만이 거짓 값으로 평가됩니다. (`0`, `0.0`, `""`, `[]`를 포함해) 나머지는 전부 참입니다. * `elif` 대신 `elsif`입니다. -* `import` 대신 `require`입니다. 그것 말고는 같습니다. -* 코드 (아래의 docstring 대신) 위의 평범한 주석을 문서를 생성하는 데 +* `import` 대신 `require`입니다. 그것 말고 사용법은 같습니다. +* (아래의 docstring 대신) 코드 *위의* 일반적인 주석은 문서를 생성하는 데 사용합니다. * 좀 더 기억해야 하지만, 빨리 배울 수 있는 많은 단축 명령이 있습니다. - 단축명령들은 Ruby를 좀 더 재미있고, 생산적이게 합니다. + 단축 명령은 Ruby를 좀 더 재미있고, 생산적이게 합니다. * (Python의 `del`문처럼) 한 번 설정한 변수를 해제하는 방법은 없습니다. - 낡은 콘텐츠를 가비지 컬렉션하도록 변수를 nil로 리셋할 수는 있지만 + 오래된 값을 가비지 컬렉션하도록 변수를 `nil`로 리셋할 수는 있지만 변수는 스코프가 끝날 때까지 심볼 테이블에 남습니다. +* `yield` 키워드가 다르게 동작합니다. Python에서는 함수의 호출 스코프 바깥으로 + 반환해서 실행하게 됩니다. 해당 함수로 다시 돌아오는 건 외부 코드의 책임입니다. + Ruby에서는 `yield`가 마지막 인수로 전달된 다른 함수를 실행하고, 그 즉시 함수로 + 돌아옵니다. +* Python은 익명 함수로 람다 하나만을 지원하지만, Ruby는 블록, 프록, 람다를 + 포함합니다. From 04fe95deae0754dabcc5d22f4c5552ca1c87ad55 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Mar 2023 12:01:46 +0000 Subject: [PATCH 1890/2563] Bump rack from 2.2.6.3 to 2.2.6.4 Bumps [rack](https://github.com/rack/rack) from 2.2.6.3 to 2.2.6.4. - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md) - [Commits](https://github.com/rack/rack/compare/v2.2.6.3...v2.2.6.4) --- updated-dependencies: - dependency-name: rack dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index c5bc6bf348..177b7459e7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -62,7 +62,7 @@ GEM forwardable-extended (~> 2.6) public_suffix (5.0.1) racc (1.6.2) - rack (2.2.6.3) + rack (2.2.6.4) rack-protection (3.0.5) rack rack-rewrite (1.5.1) From e4ea7aa49d7ff3f56ddd6dfe29a2773cd39f460f Mon Sep 17 00:00:00 2001 From: marocchino Date: Fri, 17 Mar 2023 19:35:55 +0900 Subject: [PATCH 1891/2563] Translate ruby faq 2 (ko) (#3000) * Translate ruby faq 2 (ko) * Apply suggestions from code review Co-authored-by: Shia * Apply suggestions from code review Co-authored-by: Chayoung You * Update ko/documentation/faq/2/index.md Co-authored-by: Chayoung You --------- Co-authored-by: Shia Co-authored-by: Chayoung You --- ko/documentation/faq/1/index.md | 2 +- ko/documentation/faq/2/index.md | 94 +++++++++++++++++++++++++++++++++ ko/documentation/faq/index.md | 4 +- 3 files changed, 97 insertions(+), 3 deletions(-) create mode 100644 ko/documentation/faq/2/index.md diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md index f2241ffe24..41d0a2807a 100644 --- a/ko/documentation/faq/1/index.md +++ b/ko/documentation/faq/1/index.md @@ -9,7 +9,7 @@ header: | | 1 | - 2 + 2 | 3 | diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md new file mode 100644 index 0000000000..1de7493baf --- /dev/null +++ b/ko/documentation/faq/2/index.md @@ -0,0 +1,94 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## Ruby의 경쟁 상대는...? + +### Ruby는 Python과 어떻게 다릅니까? + +Python과 Ruby는 둘 다 절차적 프로그래밍 스타일에서 객체 지향 프로그래밍 +스타일로의 원활한 전환을 제공하는 객체 지향 언어입니다. 대조적으로 Smalltalk는 +객체만 있습니다. 객체, 상속 및 상당한 규모의 Smalltalk 클래스 계층 구조를 +이해하기 전에는 아무것도 할 수 없습니다. Python과 Ruby는 절차적 보조 바퀴를 +제공함으로써 Smalltalk가 주류가 되지 못하게 했던 기능 중 하나를 +"수정"합니다. 두 언어는 반대 방향에서 이 해법에 접근한다는 점에서 다릅니다. + +Python은 하이브리드 언어입니다. 절차적 프로그래밍을 위한 함수와 객체 지향 +프로그래밍을 위한 객체가 있습니다. Python은 함수와 메서드가 모든 메서드 def의 +명시적인 `self` 매개 변수를 사용하여 상호 변환할 수 있도록 하여 두 세계를 +연결합니다. 함수가 객체에 삽입되면 첫 번째 인수는 자동으로 수신자에 대한 참조가 +됩니다. + +Ruby는 절차적 언어로 가장할 수 있는 순수한 객체 지향 언어입니다. 함수는 없고 +메서드 호출만 있습니다. Ruby 메서드에서 `self`라고도 하는 수신자는 C++의 +`this`와 같은 숨겨진 인수입니다. 클래스 정의 밖의 `def` 문은 Python에서는 +함수지만 Ruby에서 실제로는 메서드 호출입니다. 이러한 가짜 함수는 Ruby 클래스 +계층 구조의 루트인 Object 클래스의 private 메서드가 됩니다. 절차적 프로그래밍은 +다른 방향에서 깔끔하게 해결됩니다. 모든 것이 객체입니다. 사용자가 아직 객체를 +이해하지 못했어도 `def`가 함수 정의인 것처럼 동작해서 문제없이 사용할 수 있습니다. + +Ruby의 객체 지향 순수성은 Python에는 부족하거나 Python이 여전히 노력하고 있는 다음과 같은 +여러 기능을 더 제공합니다. 통합 타입/클래스 계층 구조, 메타클래스, 모든 항목을 +하위 클래스로 분류하는 기능, 균일한 메서드 호출(`len()`은 함수지만 `items()`는 +메서드라는 말도 안 되는 일은 없습니다). Ruby는 Smalltalk와 마찬가지로 단일 상속만 +지원하지만 매우 강력한 믹스인 개념이 있습니다. 클래스 정의에 모듈을 인클루드 +할 수 있고, 그러면 해당 모듈의 메서드, 상수 등이 클래스에 삽입됩니다. + +Ruby는 또 Smalltalk와 마찬가지로 클로저와 코드 블록을 제공하고 동일한 효과를 +위해 사용합니다. Ruby 컬렉션 클래스와 반복자는 Python이 싹트고 있는 +임시방편(람다, 리스트 컴프리헨션)보다 뛰어나고 훨씬 강력하고 우아합니다. + +Ruby의 구문과 디자인 철학은 Perl의 영향을 많이 받았습니다. 문법적 변동성이 +많습니다. 명령문 수정자(`if`, `unless`, `while`, `until` 등)는 명령문 끝에 +올 수 있습니다. 일부 키워드는 선택사항입니다(예: `if` 문의 `then`). 메서드 +호출에서 괄호가 생략되는 경우가 있습니다. 메서드의 수신자는 일반적으로 생략될 수 +있습니다. 아주 많은 것들을 Perl에서 바로 가져왔습니다. 빌트인 정규식, `$_` 및 그 +친구들, 히어 도큐먼트(here document), 작은따옴표/큰따옴표 문자열 구분, `$` 및 `@` 접두사를 사용하여 +이름의 종류 구분 등, 이 외에도 더 있습니다. + +Perl을 좋아한다면 Ruby도 좋아할 것이고 그 문법에 익숙할 것입니다. Smalltalk를 +좋아한다면 Ruby를 좋아할 것이고 그 의미론에 익숙할 것입니다. Python을 좋아한다면 +Python과 Ruby/Perl 사이의 엄청난 디자인 철학 차이로 인해 흥미를 잃을 수도, 아닐 수도 +있습니다. + +Ruby는 Python보다 훨씬 더 복잡하지만 대부분의 경우 Ruby의 기능이 서로 잘 +어울립니다. Ruby는 잘 설계되었으며 P3K(Python 3000)에 채용할 만한 깔끔한 아이디어로 +가득 차 있습니다. 하지만 얼마나 많은 Python 프로그래머가 그것에 끌릴지 잘 +모르겠습니다. Ruby는 (아직) 저를 유혹하지는 못했습니다. 그러나 진지하게 연구할 +가치가 있으며 Perl에 실질적인 위협이 될 수 있습니다. + +작성자: [John Dell'Aquila](mailto:jbd@alum.mit.edu), comp.lang.python, +2000년 11월 17일. 허락을 받아 재가공했습니다. diff --git a/ko/documentation/faq/index.md b/ko/documentation/faq/index.md index 8ff84896ce..e255739d1b 100644 --- a/ko/documentation/faq/index.md +++ b/ko/documentation/faq/index.md @@ -9,7 +9,7 @@ header: | | 1 | - 2 + 2 | 3 | @@ -50,7 +50,7 @@ Stollsteimer에게 감사드립니다. ## 콘텐츠 * [일반적인 질문](1/) -* [Ruby의 경쟁 상대는...?](/en/documentation/faq/2/) +* [Ruby의 경쟁 상대는...?](2/) * [Ruby 설치하기](/en/documentation/faq/3/) * [변수, 상수 및 인수](/en/documentation/faq/4/) * [이터레이터](/en/documentation/faq/5/) From 8610d861271eff5b38edf97e522454c032475033 Mon Sep 17 00:00:00 2001 From: marocchino Date: Mon, 27 Mar 2023 09:34:17 +0900 Subject: [PATCH 1892/2563] Translate ruby faq 3 (ko) (#3005) * Translate ruby faq 3 (ko) * Revert unusual term * Apply suggestions from code review Co-authored-by: Shia --------- Co-authored-by: Shia --- ko/documentation/faq/1/index.md | 2 +- ko/documentation/faq/2/index.md | 2 +- ko/documentation/faq/3/index.md | 194 ++++++++++++++++++++++++++++++++ ko/documentation/faq/index.md | 2 +- 4 files changed, 197 insertions(+), 3 deletions(-) create mode 100644 ko/documentation/faq/3/index.md diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md index 41d0a2807a..b793a3e26b 100644 --- a/ko/documentation/faq/1/index.md +++ b/ko/documentation/faq/1/index.md @@ -11,7 +11,7 @@ header: | | 2 | - 3 + 3 | 4 | diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md index 1de7493baf..7eae98ab49 100644 --- a/ko/documentation/faq/2/index.md +++ b/ko/documentation/faq/2/index.md @@ -11,7 +11,7 @@ header: | | 2 | - 3 + 3 | 4 | diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md new file mode 100644 index 0000000000..b26050af13 --- /dev/null +++ b/ko/documentation/faq/3/index.md @@ -0,0 +1,194 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 1 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## Ruby 설치하기 + +Ruby 다운로드 및 설치에 대한 최신 정보는 +[설치](/ko/documentation/installation/)나 [다운로드](/ko/downloads/) 페이지를 +참조하세요. + +### 어떤 운영 체제에서 Ruby를 지원하나요? + +{% include faq-out-of-date.html %} + +Ruby는 Linux에서 개발되었으며 매우 간단한 C로 작성되었습니다. Linux 및 기타 +UNIX와 유사한 운영 체제 macOS, Windows, DOS, BeOS, Amiga, Acorn Risc OS, +OS/2에서 실행됩니다. + +### Ruby 소스는 어디서 구할 수 있나요? + +[www.ruby-lang.org/ko/downloads/](/ko/downloads/)에서 최신 버전의 Ruby를 +다운로드할 수 있습니다. 미러 사이트도 이 페이지에 나열되어 있습니다. + +또한 이 페이지에는 개발 트리의 나이틀리 스냅숏에 대한 링크도 있습니다. + +### 개발 소스 트리를 볼 수 있나요? + +{% include faq-out-of-date.html %} + +CVS 클라이언트가 있는 경우 다음을 사용하여 현재 소스 트리를 확인할 수 있습니다: + +~~~ +$ cvs -d :pserver:anonymous@cvs.netlab.co.jp:/home/cvs login +(Logging in to anonymous@cvs.netlab.co.jp) +CVS password: guest +$ cvs -d :pserver:anonymous@cvs.netlab.co.jp:/home/cvs co ruby +~~~ + +CVS가 없는 경우 다음에서 개발 소스의 나이틀리 스냅숏을 얻을 수 있습니다. +[https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz](https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz). + +### Ruby를 컴파일하려면 어떻게 하나요? + +유닉스에서 Ruby는 빌드 환경을 구성하기 위해 `autoconf` 시스템을 사용합니다. +배포판에서 Ruby를 빌드하기 위해 `autoconf` 명령이 필요하지 않으며, 그냥 밑의 +명령을 사용하면 됩니다. + +~~~ +$ ./configure [configure options] +$ make +$ make test +$ make install +~~~ + +기본 설치 위치(`/usr/local`)를 바꾸지 않고 Ruby를 설치하려면 슈퍼유저 권한이 +필요할 수 있습니다. 다음 명령을 사용하여 `configure` 옵션의 전체 목록을 얻을 수 +있습니다. + +~~~ +$ ./configure --help +~~~ + +소스 리포지토리에서 작업하는 경우, `configure`를 실행하기 전에 `autoconf`를 +실행해야 할 수 있습니다. + +### 내 라이브러리가 어디에 있는지 Ruby에게 알려주려면 어떻게 하나요? + +{% include faq-out-of-date.html %} + +일부 시스템에서는 빌드 프로세스에서 확장 모듈에서 사용하는 라이브러리 +(예: `dbm` 라이브러리)를 찾지 못할 수 있습니다. + +'configure' 옵션을 사용하여 Ruby에게 라이브러리를 찾을 위치를 알려줄 수 있습 +니다. From [\[ruby-talk:5041\]][ruby-talk:5041]: + +~~~ +$ ./configure --with-xxx-yyy=DIR +~~~ + +여기서 XXX는 다음 중 하나입니다. + +~~~ +opt extra software path in general +dbm path for dbm library +gdbm path for gdbm library +x11 ...for X11.. +tk ...for Tk... +tcl ...for Tcl... +~~~ + +그리고 yyy는 다음 중 하나입니다. + +~~~ +dir specifies -I DIR/include -L DIR/lib +include specifies -I DIR +lib specifies -L DIR +~~~ + +HP-UX에서는 `gcc`로 빌드하는 데 문제가 있을 수 있습니다. 대신 네이티브 +컴파일러를 사용해 보세요. WATANABE Tetsuya가 권장합니다. + +~~~ +$ CC="cc -Ae" CFLAGS=-O ./configure --prefix=/opt/gnu +~~~ + +HP의 기본 `sed`에도 문제가 있을 수 있습니다. 그는 GNU에 상응하는 것을 설치할 +것을 권장합니다. + +[ruby-talk:5041]: https://blade.ruby-lang.org/ruby-talk/5401 + +### 미리 컴파일된 바이너리를 사용할 수 있나요? + +다양한 Windows 운영 체제에서 Ruby를 실행하는 데 필요한 모든 것이 포함된 단일 +다운로드는 [RubyInstaller](https://rubyinstaller.org/)에서 제공됩니다. + +[Reuben Thomas](mailto:Reuben.Thomas@cl.cam.ac.uk)의 글입니다. + +> 현재 v1.4.3의 Acorn RISC OS에 대한 포트가 있다고 언급할 수 있습니다. +> 제가 포트를 만들었고 유지 관리할 계획은 없지만 +> 패치를 matz에 보냈으므로 최 신 버전도 잘 컴파일될 수 있습니다. + +### "cygwin", "mingw", "djgpp"는 다 뭐죠? + +{% include faq-out-of-date.html %} + +Ruby는 유닉스 환경의 풍부한 기능 세트를 활용하도록 작성되었습니다. +안타깝게도 Windows에는 일부 기능이 누락되어 있고 다른 기능도 다르게 구현 +되어 있습니다. 따라서 Windows에서 Ruby(및 기타 유닉스 기반 프로그램)를 실 +행하려면 일종의 매핑 계층이 필요합니다. + +다른 래퍼 매핑 레이어를 사용하는 다른 버전의 Ruby 실행 파일을 발견할 +수 있습니다. + +rbdj 버전은 Ruby 윈도우 바이너리의 독립 실행형 버전입니다. 이 버전은 DJ +Delorie 도구를 사용합니다. +([http://www.delorie.com](http://www.delorie.com)). + +rbcw 버전은 [http://www.cygwin.com](http://www.cygwin.com) 또는 Ruby 다운로드 +페이지에서 제공되는 Cygwin 라이브러리가 필요한 Ruby의 Windows 바이너리 +입니다. Cygwin은 에뮬레이션 레이어이자 Cygnus Solutions(현재 Redhat +의 일부)에서 처음 제작한 유틸리티 세트입니다. 대부분의 프로그래머는 Windows에서 +가장 많은 기능을 제공하는 Ruby의 Cygwin 버전을 사용하기를 원할 것입니다. + +rbcw 버전을 사용하려면 cygwin.dll을 별도로 설치해야 합니다. 컴퓨터에 cygwin을 +설치한 후, Cygwin 배포의 `bin` 하위 디렉터리에 있는 `cygwin1.dll` +을 `Windows\System32` 폴더(또는 다른 경로에 있는 폴더)에 복사합니다. + + +이 설명의 기초를 제공한 Anders Schneiderman에게 감사드립니다. + +### Windows에서 Tk 그래픽이 작동하지 않는 이유는 무엇인가요? + +{% include faq-out-of-date.html %} + +Windows에 Tk가 올바르게 설치되었나요? 로 +이동하여 해당 운영체재에 대해 미리 컴파일된 바이너리 Tcl/Tk 배포를 찾아보세요. + +환경 변수 `TCL_LIBRARY` 및 `TK_LIBRARY`가 tcl 및 tk가 포함된 디렉터리를 가리 +키고 있습니까? + +경로에 tk 라이브러리가 있나요? diff --git a/ko/documentation/faq/index.md b/ko/documentation/faq/index.md index e255739d1b..d29259860f 100644 --- a/ko/documentation/faq/index.md +++ b/ko/documentation/faq/index.md @@ -11,7 +11,7 @@ header: | | 2 | - 3 + 3 | 4 | From d4ddf00ee6ae0f1de018c78c87d9217eb24b55c6 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 27 Mar 2023 21:40:28 +0700 Subject: [PATCH 1893/2563] Translate Ruby 3.2.0 RC 1 released news post (id) (#3001) * Translate Ruby 3.2.0 RC 1 released news post (id) * Fix translations in Ruby 3.2.0 preview2 and Ruby 3.2.0 preview3 released news --- ...2022-09-09-ruby-3-2-0-preview2-released.md | 45 +- ...2022-11-11-ruby-3-2-0-preview3-released.md | 36 +- .../2022-12-06-ruby-3-2-0-rc1-released.md | 545 ++++++++++++++++++ 3 files changed, 586 insertions(+), 40 deletions(-) create mode 100644 id/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md diff --git a/id/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md b/id/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md index 0a3be07f58..54879c3697 100644 --- a/id/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md +++ b/id/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md @@ -26,8 +26,8 @@ tidak menggunakan *Thread* API. ### Latar Belakang [WebAssembly (Wasm)](https://webassembly.org/) semula diperkenalkan untuk -menjalankan program dengan aman dan cepat pada *web browser*. Tetapi sasarannya -- menjalankan program secara efisien dengan keamanan pada berbagai macam +menjalankan program dengan aman dan cepat pada *web browser*. Tetapi +sasarannya - menjalankan program secara efisien dengan keamanan pada berbagai macam *environment* - diinginkan sejak lama tidak hanya oleh *web*, akan tetapi oleh aplikasi umum. @@ -74,14 +74,14 @@ Sebuah fitur *timeout* pada *Regexp matching* diperkenalkan. Regexp.timeout = 1.0 /^a*b?a*$/ =~ "a" * 50000 + "x" -#=> Regexp::TimeoutError is raised in one second +#=> Regexp::TimeoutError akan muncul dalam waktu satu detik ``` Diketahui bahwa *Regexp matching* mungkin membutuhkan waktu yang lama. Jika kode Anda mencoba untuk mencocokkan sebuah *Regexp* yang tidak efisien dengan sebuah masukan yang tidak terpercaya, seorang penyerang bisa mengeksploitasi -ini untuk *Denial of Service* (disebut *Regular expression DoS* atau *ReDoS*) -yang efisien. +ini untuk *Denial of Service* yang efisien (disebut *Regular expression DoS* +atau *ReDoS*). Risiko dari *DoS* dapat dicegah atau dikurangi secara signifikan dengan mengatur `Regexp.timeout` berdasarkan kebutuhan dari aplikasi Ruby Anda. Mohon coba fitur @@ -94,10 +94,10 @@ menggunakan kata kunci `timeout` pada `Regexp.new`. ```ruby Regexp.timeout = 1.0 -# This regexp has no timeout +# regexp ini tidak memiliki timeout long_time_re = Regexp.new("^a*b?a*$", timeout: nil) -long_time_re =~ "a" * 50000 + "x" # never interrupted +long_time_re =~ "a" * 50000 + "x" # tidak pernah diinterupsi ``` Proposal asli https://bugs.ruby-lang.org/issues/17837 @@ -135,9 +135,9 @@ Proposal asli https://bugs.ruby-lang.org/issues/17837 ```ruby proc{|a, **k| a}.call([1, 2]) - # Ruby 3.1 and before + # Ruby 3.1 dan sebelumnya # => 1 - # Ruby 3.2 and after + # Ruby 3.2 dan setelahnya # => [1, 2] ``` @@ -185,9 +185,10 @@ Proposal asli https://bugs.ruby-lang.org/issues/17837 def target(**kw) end - # Accidentally worked without ruby2_keywords in Ruby 2.7-3.1, ruby2_keywords - # needed in 3.2+. Just like (*args, **kwargs) or (...) would be needed on - # both #foo and #bar when migrating away from ruby2_keywords. + # Secara tidak sengaja, berjalan tanpa ruby2_keywords pada Ruby 2.7-3.1, + # ruby2_keywords dibutuhkan pada 3.2+. Sama halnya dengan (*args, **kwargs) + # atau (...) yang juga dibutuhkan baik #foo maupun #bar ketika migrasi + # dari ruby2_keywords. ruby2_keywords def bar(*args) target(*args) end @@ -213,28 +214,28 @@ Proposal asli https://bugs.ruby-lang.org/issues/17837 mengembalikan nilai *default* atau memanggil *default proc*. [[Bug #16908]] * MatchData - * MatchData#byteoffset telah ditambakan. [[Feature #13110]] + * MatchData#byteoffset telah ditambahkan. [[Feature #13110]] * Module - * Module.used_refinements telah ditambakan. [[Feature #14332]] - * Module#refinements telah ditambakan. [[Feature #12737]] - * Module#const_added telah ditambakan. [[Feature #17881]] + * Module.used_refinements telah ditambahkan. [[Feature #14332]] + * Module#refinements telah ditambahkan. [[Feature #12737]] + * Module#const_added telah ditambahkan. [[Feature #17881]] * Proc * Proc#dup mengembalikan sebuah *instance* dari *subclass*. [[Bug #17545]] * Proc#parameters sekarang menerima kata kunci *lambda*. [[Feature #15357]] * Refinement - * Refinement#refined_class telah ditambakan. [[Feature #12737]] + * Refinement#refined_class telah ditambahkan. [[Feature #12737]] * Set * Set sekarang tersedia sebagai sebuah *builtin class* tanpa membutuhkan `require "set"`. [[Feature #16989]] Ini dimuatkan secara otomatis melalui *constant* `Set` atau sebuah pemanggilan `Enumerable#to_set`. * String - * String#byteindex dan String#byterindex telah ditambakan. [[Feature #13110]] + * String#byteindex dan String#byterindex telah ditambahkan. [[Feature #13110]] * Memperbarui versi *Unicode* ke 14.0.0 dan *Emoji* ke 14.0. [[Feature #18037]] - (juga diterapkan pada *Regexp*) + (juga diaplikasikan pada *Regexp*) * String#bytesplice telah ditambahkan. [[Feature #18598]] * Struct @@ -245,7 +246,7 @@ Proposal asli https://bugs.ruby-lang.org/issues/17837 Catatan: tidak termasuk perbaikan *bug*. -### Removed constant +### Constant terhapus Berikut ini adalah *constant* yang telah dihapus. @@ -254,7 +255,7 @@ Berikut ini adalah *constant* yang telah dihapus. * `Struct::Group` * `Struct::Passwd` -### Removed method +### Method terhapus Berikut ini adalah *method* yang telah dihapus. @@ -274,7 +275,7 @@ Berikut ini adalah *method* yang telah dihapus. ## Pembaruan C API -### Removed C APIs +### C API terhapus Berikut ini adalah API yang telah dihapus. diff --git a/id/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md b/id/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md index b5901797ff..cc817f4658 100644 --- a/id/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md +++ b/id/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md @@ -26,8 +26,8 @@ tidak menggunakan *Thread* API. ### Latar Belakang [WebAssembly (Wasm)](https://webassembly.org/) semula diperkenalkan untuk -menjalankan program dengan aman dan cepat pada *web browser*. Sasaran -- menjalankan program secara efisien dengan keamanan pada berbagai macam +menjalankan program dengan aman dan cepat pada *web browser*. Sasaran - +menjalankan program secara efisien dengan keamanan pada berbagai macam *environment* - diinginkan sejak lama tidak hanya oleh *web*, akan tetapi oleh aplikasi umum. @@ -71,8 +71,8 @@ mudah. Ini membuat distribusi aplikasi Ruby sedikit lebih mudah. Diketahui bahwa *Regexp matching* mungkin membutuhkan waktu yang lama. Jika kode Anda mencoba untuk mencocokkan sebuah *Regexp* yang tidak efisien dengan sebuah masukan yang tidak terpercaya, seorang penyerang bisa mengeksploitasi -ini untuk *Denial of Service* (disebut *Regular expression DoS* atau *ReDoS*) -yang efisien. +ini untuk *Denial of Service* yang efisien (disebut *Regular expression DoS* +atau *ReDoS*). Kami telah memperkenalkan dua peningkatan untuk memitigasi ReDoS secara signifikan. @@ -83,7 +83,7 @@ Sejak Ruby 3.2, algoritma *Regexp matching* telah ditingkatkan dengan menggunakan teknik *memoization*. ``` -# Regexp matching ini membutuhkan waktu 10 detik pada Ruby 3.1. Ruby 3.2 membutuhkan waktu 0.003 detik. +# Regexp matching ini membutuhkan waktu 10 detik pada Ruby 3.1 dan 0.003 detik pada Ruby 3.2 /^a*b?a*$/ =~ "a" * 50000 + "x" ``` @@ -160,9 +160,9 @@ Proposal asli di ```ruby proc{|a, **k| a}.call([1, 2]) - # Ruby 3.1 and before + # Ruby 3.1 dan sebelumnya # => 1 - # Ruby 3.2 and after + # Ruby 3.2 dan setelahnya # => [1, 2] ``` @@ -240,28 +240,28 @@ Proposal asli di mengembalikan nilai *default* atau memanggil *default proc*. [[Bug #16908]] * MatchData - * MatchData#byteoffset telah ditambakan. [[Feature #13110]] + * MatchData#byteoffset telah ditambahkan. [[Feature #13110]] * Module - * Module.used_refinements telah ditambakan. [[Feature #14332]] - * Module#refinements telah ditambakan. [[Feature #12737]] - * Module#const_added telah ditambakan. [[Feature #17881]] + * Module.used_refinements telah ditambahkan. [[Feature #14332]] + * Module#refinements telah ditambahkan. [[Feature #12737]] + * Module#const_added telah ditambahkan. [[Feature #17881]] * Proc * Proc#dup mengembalikan sebuah *instance* dari *subclass*. [[Bug #17545]] * Proc#parameters sekarang menerima kata kunci *lambda*. [[Feature #15357]] * Refinement - * Refinement#refined_class telah ditambakan. [[Feature #12737]] + * Refinement#refined_class telah ditambahkan. [[Feature #12737]] * Set * Set sekarang tersedia sebagai sebuah *builtin class* tanpa membutuhkan `require "set"`. [[Feature #16989]] Ini dimuatkan secara otomatis melalui *constant* `Set` atau sebuah pemanggilan `Enumerable#to_set`. * String - * String#byteindex dan String#byterindex telah ditambakan. [[Feature #13110]] + * String#byteindex dan String#byterindex telah ditambahkan. [[Feature #13110]] * Memperbarui versi *Unicode* ke 14.0.0 dan *Emoji* ke 14.0. [[Feature #18037]] - (juga diterapkan pada *Regexp*) + (juga diaplikasikan pada *Regexp*) * String#bytesplice telah ditambahkan. [[Feature #18598]] * Struct @@ -272,7 +272,7 @@ Proposal asli di Catatan: tidak termasuk perbaikan *bug*. -### Removed constant +### Constant terhapus Berikut ini adalah *constant* yang telah dihapus. @@ -281,7 +281,7 @@ Berikut ini adalah *constant* yang telah dihapus. * `Struct::Group` * `Struct::Passwd` -### Removed method +### Method terhapus Berikut ini adalah *method* yang telah dihapus. @@ -301,7 +301,7 @@ Berikut ini adalah *method* yang telah dihapus. ## Pembaruan C API -### Updated C APIs +### C API diperbarui Berikut ini adalah API yang telah diperbarui. @@ -310,7 +310,7 @@ Berikut ini adalah API yang telah diperbarui. Pustaka *extension* yang menggunakan *interface* ini dan untuk versi lama. `init_int32` juga perlu didefinisikan. -### Removed C APIs +### C API terhapus Berikut ini adalah API yang telah dihapus. diff --git a/id/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md b/id/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md new file mode 100644 index 0000000000..067682c962 --- /dev/null +++ b/id/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md @@ -0,0 +1,545 @@ +--- +layout: news_post +title: "Ruby 3.2.0 RC 1 Dirilis" +author: "naruse" +translator: "meisyal" +date: 2022-12-06 00:00:00 +0000 +lang: id +--- + +{% assign release = site.data.releases | where: "version", "3.2.0-rc1" | first %} + +Kami dengan senang hati mengumumkan rilis dari Ruby {{ release.version }}. +Ruby 3.2 menambahkan banyak fitur dan memperbaiki kinerja. + + +## Dukungan WebAssembly berbasis WASI + +Ini adalah sebuah *port* awal dari dukungan *WebAssembly* berbasis *WASI*. +*Port* ini memperbolehkan sebuah *CRuby binary* agar tersedia pada *web browser*, +*Serverless Edge environment*, dan *WebAssembly/WASI embedder* lainnya. +Saat ini, *port* melewatkan rangkaian tes dasar dan *bootstrap* dengan +tidak menggunakan *Thread* API. + +![](https://i.imgur.com/opCgKy2.png) + +### Latar Belakang + +[WebAssembly (Wasm)](https://webassembly.org/) semula diperkenalkan untuk +menjalankan program dengan aman dan cepat pada *web browser*. Sasaran - +menjalankan program secara efisien dengan keamanan pada berbagai macam +*environment* - diinginkan sejak lama tidak hanya oleh *web*, akan tetapi oleh +aplikasi umum. + +[WASI (The WebAssembly System Interface)](https://wasi.dev/) didesain untuk +berbagai macam kasus penggunaan. Walaupun aplikasi perlu berkomunikasi dengan +sistem operasi, *WebAssembly* berjalan pada sebuah *virtual machine* yang mana +tidak memiliki sebuah *system interface*. *WASI* menstandarkannya. + +Dukungan *WebAssembly/WASI* pada Ruby bermaksud untuk memanfaatkan proyek +tersebut. Ini memperbolehkan pengembang Ruby untuk memprogram aplikasi yang +berjalan pada *platform* yang menjanjikan. + +### Kasus penggunaan + +Dukungan ini mendorong pengembang untuk memanfaatkan *CRuby* pada +*WebAssembly environment*. Sebuah contoh kasus penggunaan adalah dukungan +*CRuby* pada [TryRuby playground](https://try.ruby-lang.org/playground/). +Sekarang Anda bisa mencoba *CRuby* pada *web browser*. + +### Poin teknis + +*WASI* dan *WebAssembly* saat ini memiliki beberapa fitur yang tidak didukung, +seperti mengimplementasikan *Fiber*, *exception*, dan *GC* karena ini masih +terus berkembang dan juga untuk alasan keamanan. Oleh sebab itu, *CRuby* mengisi +gap tersebut dengan menggunakan *Asyncify*, yang mana adalah sebuah teknik +transformasi *binary* untuk mengendalikan eksekusi pada lingkungan pengguna. + +Sebagai tambahan, kami membangun sebuah +[VFS di atas WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby) +sehingga kami dapat mengemas aplikasi Ruby ke dalam sebuah berkas .wasm dengan +mudah. Ini membuat distribusi aplikasi Ruby sedikit lebih mudah. + + +### Tautan terkait + +* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407) +* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9) + +## Peningkatan Regexp melawan ReDoS + +Diketahui bahwa *Regexp matching* mungkin membutuhkan waktu yang lama. Jika +kode Anda mencoba untuk mencocokkan sebuah *Regexp* yang tidak efisien dengan +sebuah masukan yang tidak terpercaya, seorang penyerang bisa mengeksploitasi +ini untuk *Denial of Service* yang efisien (disebut *Regular expression DoS* +atau *ReDoS*). + +Kami telah memperkenalkan dua peningkatan untuk memitigasi ReDoS secara +signifikan. + +### Peningkatan algoritma Regexp matching + +Sejak Ruby 3.2, algoritma *Regexp matching* telah ditingkatkan dengan +menggunakan teknik *memoization*. + +``` +# Regexp matching ini membutuhkan waktu 10 detik pada Ruby 3.1 dan 0.003 detik pada Ruby 3.2 + +/^a*b?a*$/ =~ "a" * 50000 + "x" +``` + +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_1.png) +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_2.png) + +Peningkatan algoritma *matching* memperbolehkan eksekusi (sekitar 90% dari eksperimen kami) +selesai dalam waktu linier. + +(Untuk *preview user*: peningkatan ini mungkin akan mengonsumsi memori sebanding +dengan panjang masukan untuk setiap *matching*. Kami mengharapkan tidak ada +masalah yang muncul karena alokasi memori biasanya terlambat dan sebuah *Regexp matching* +biasa mengonsumsi paling banyak 10 kali memori sepanjang masukan. Jika Anda kehabisan +memori ketika mengeksekusi pada sebuah aplikasi, mohon laporkan). + +Proposal asli di https://bugs.ruby-lang.org/issues/19104 + +### Regexp timeout + +Peningkatan di atas tidak dapat diterapkan pada *regular expression* tertentu, +seperti mengandung fitur lanjutan (contoh, *back-references* atau *look-around*), +atau dengan pengulangan dalam jumlah tetap yang sangat besar. Sebagai penanganan, +Sebuah fitur *timeout* pada *Regexp matching* juga diperkenalkan. + +```ruby +Regexp.timeout = 1.0 + +/^a*b?a*()\1$/ =~ "a" * 50000 + "x" +#=> Regexp::TimeoutError akan muncul dalam waktu satu detik +``` + +Catat bahwa `Regexp.timeout` adalah sebuah pengaturan global. Jika Anda ingin +menggunakan pengaturan yang berbeda untuk *Regexp* tertentu, Anda bisa +menggunakan kata kunci `timeout` pada `Regexp.new`. + +```ruby +Regexp.timeout = 1.0 + +# regexp ini tidak memiliki timeout +long_time_re = Regexp.new('^a*b?a*()\1$', timeout: Float::INFINITY) + +long_time_re =~ "a" * 50000 + "x" # tidak pernah diinterupsi +``` + +Proposal asli di https://bugs.ruby-lang.org/issues/17837 + +## Fitur penting lainnya + +### SyntaxSuggest + +* Fitur `syntax_suggest` (dahulu `dead_end`) terintegrasi dengan Ruby. Ini + membantu Anda untuk menemukan posisi *error*, seperti kelupaan atau kelebihan + `end`, untuk kembali dengan cepat, seperti contoh berikut: + + ``` + Ketidakcocokan `end', kata kunci hilang (`do', `def`, `if`, etc.) ? + + 1 class Dog + > 2 defbark + > 4 end + 5 end + ``` + + [[Feature #18159]] + + +### ErrorHighlight + +* Saat ini, fitur menunjuk pada argumen yang relevan pada TypeError dan ArgumentError + +``` +test.rb:2:in `+': nil can't be coerced into Integer (TypeError) + +sum = ary[0] + ary[1] + ^^^^^^ +``` + +### Bahasa + +* Argumen dari *anonymous rest* dan *keyword rest* sekarang dapat dilewatkan + sebagai argumen daripada sekadar digunakan pada parameter *method*. + [[Feature #18351]] + + ```ruby + def foo(*) + bar(*) + end + def baz(**) + quux(**) + end + ``` + +* Sebuah *proc* yang menerima sebuah *positional argument* dan *keyword* + tidak akan lagi *autosplat*. [[Bug #18633]] + + ```ruby + proc{|a, **k| a}.call([1, 2]) + # Ruby 3.1 dan sebelumnya + # => 1 + # Ruby 3.2 dan setelahnya + # => [1, 2] + ``` + +* Urutan evaluasi dari *constant assignment* pada objek eksplisit telah dibuat + konsisten dengan urutan evaluasi tunggal. Pada kode berikut: + + ```ruby + foo::BAR = baz + ``` + + `foo` sekarang dipanggil sebelum `baz`. Demikian pula, untuk *multiple assignment* + pada *constant*, urutan evaluasi *left-to-right* digunakan. Pada kode berikut: + + ```ruby + foo1::BAR1, foo2::BAR2 = baz1, baz2 + ``` + + Urutan evaluasi berikut sekarang digunakan: + + 1. `foo1` + 2. `foo2` + 3. `baz1` + 4. `baz2` + + [[Bug #15928]] + +* Pencarian *pattern* tidak lagi eksperimental. + [[Feature #18585]] + +* *Method* mengambil sebuah parameter lain (seperti `*args`) dan mengharapkan + untuk mendelegasikan *keyword argument* melalui `foo(*args)` sekarang harus + ditandai dengan `ruby2_keywords` (jika belum terjadi). Dengan kata lain, semua + *method* mengharapkan untuk mendelegasikan *keyword argument* melalui `*args` + sekarang harus ditandai dengan `ruby2_keywords`, tanpa kecuali. Ini akan membuat + transisi lebih mudah ke bentuk delegasi lain saat sebuah pustaka memerlukan + Ruby 3+. Sebelumnya, penanda `ruby2_keywords` dijaga jika *method* penerima + mengambil `*args`, tetapi ini adalah sebuah bug dan ketidakkonsistenan. + Sebuah teknik yang bagus untuk menemukan potensi hilang dari `ruby2_keywords` + adalah menjalankan rangkaian tes, dimana pun tes gagal cari *method* terakhir + yang harus menerima *keyword argument*, menggunakan `puts nil, caller, nil`, dan + mengecek setiap *method/block* pada rantai pemanggilan yang harus mendelegasikan + *keyword* ditandai dengan benar sebagai `ruby2_keywords`. + [[Bug #18625]] [[Bug #16466]] + + ```ruby + def target(**kw) + end + + # Secara tidak sengaja, berjalan tanpa ruby2_keywords pada Ruby 2.7-3.1, + # ruby2_keywords dibutuhkan pada 3.2+. Sama halnya dengan (*args, **kwargs) + # atau (...) yang juga dibutuhkan baik #foo maupun #bar ketika migrasi + # dari ruby2_keywords. + ruby2_keywords def bar(*args) + target(*args) + end + + ruby2_keywords def foo(*args) + bar(*args) + end + + foo(k: 1) + ``` + +## Perbaikan kinerja + +### YJIT + +* YJIT sekarang mendukung baik CPU x86-64 maupun arm64/aarch64 pada Linux, MacOS, BSD, dan *platform* UNIX lainnya. + * Rilis ini memberi dukungan kepada Mac M1/M2, AWS Graviton, dan Raspberry Pi 4 ARM64 *processor*. +* Membangun YJIT memerlukan Rust 1.58.0+. [[Feature #18481]] + * Untuk memastikan CRuby dibangun dengan YJIT, mohon pasang rustc >= 1.58.0 dan + jalankan `./configure` dengan `--enable-yjit`. + * Mohon hubungi tim YJIT jika Anda menemui masalah. +* *Physical memory* untuk kode JIT dialokasikan dengan malas. Tidak seperti Ruby 3.1, + RSS dari sebuah proses Ruby diminimalisasi karena *virtual memory page* dialokasikan + oleh `--yjit-exec-mem-size` tidak akan dipetakan ke *physical memory page* + hingga sepenuhnya dibutuhkan oleh kode JIT. +* Mengenalkan Code GC yang membebaskan semua *code page* ketika memori yang + dikonsumsi oleh kode JIT mencapai `--yjit-exec-mem-size`. + * RubyVM::YJIT.runtime_stats mengembalikan metrik Code GC sebagai tambahan + `inline_code_size` dan `outlined_code_size` keys: + `code_gc_count`, `live_page_count`, `freed_page_count`, dan `freed_code_size`. +* Statistik yang diproduksi oleh RubyVM::YJIT.runtime_stats sekarang mayoritas + tersedia pada *release build*. + * Jalankan ruby dengan `--yjit-stats` untuk menghitung statistik (menimbulkan + sedikit *run-time overhead*). +* YJIT sekarang dioptimalkan untuk mengambil kelebihan dari *object shape*. [[Feature #18776]] +* Mengambil kelebihan dari *finer-grained constant invalidation* untuk tidak + memvalidasi kode yang lebih sedikit ketika mendefinisikan konstanta baru. [[Feature #18589]] + +### MJIT + +* MJIT *compiler* diimplementasikan kembali pada Ruby sebagai pustaka standar `mjit`. +* MJIT *compiler* dieksekusi dalam sebuah *fork* dari proses Ruby ketimbang + mengeksekusi dalam sebuah *native thread* yang dikenal MJIT *worker*. [[Feature #18968]] + * Sebagai hasilnya, Microsoft Visual Studio (MSWIN) tidak lagi didukung. +* MinGW tidak lagi didukung. [[Feature #18824]] +* Mengganti nama `--mjit-min-calls` menjadi `--mjit-call-threshold`. +* Mengubah nilai `--mjit-max-cache` dari 10000 ke 100. + +### PubGrub + +* Bundler 2.4 sekarang menggunakan [PubGrub](https://github.com/jhawthorn/pub_grub) *resolver* + ketimbang [Molinillo](https://github.com/CocoaPods/Molinillo). + + * PubGrub adalah algoritma generasi berikutnya yang digunakan oleh `pub` + *package manager* untuk bahasa pemograman Dart. + * Anda mungkin mendapatkan hasil yang berbeda setelah perubahan ini. Mohon laporkan + masalah tersebut ke [RubyGems/Bundler issues](https://github.com/rubygems/rubygems/issues) + +* RubyGems masih menggunakan Molinillo *resolver* pada Ruby 3.2. Kami merencanakan untuk + mengganti dengan PubGrub di masa yang akan datang. + +## Perubahan penting lainnya sejak 3.1 + +* Hash + * Hash#shift sekarang selalu mengembalikan *nil* jika *hash* kosong ketimbang + mengembalikan nilai *default* atau memanggil *default proc*. [[Bug #16908]] + +* MatchData + * MatchData#byteoffset telah ditambahkan. [[Feature #13110]] + +* Module + * Module.used_refinements telah ditambahkan. [[Feature #14332]] + * Module#refinements telah ditambahkan. [[Feature #12737]] + * Module#const_added telah ditambahkan. [[Feature #17881]] + +* Proc + * Proc#dup mengembalikan sebuah *instance* dari *subclass*. [[Bug #17545]] + * Proc#parameters sekarang menerima kata kunci *lambda*. [[Feature #15357]] + +* Refinement + * Refinement#refined_class telah ditambahkan. [[Feature #12737]] + +* Set + * Set sekarang tersedia sebagai sebuah *builtin class* tanpa membutuhkan `require "set"`. [[Feature #16989]] + Ini dimuatkan secara otomatis melalui konstanta `Set` atau sebuah pemanggilan `Enumerable#to_set`. + +* String + * String#byteindex dan String#byterindex telah ditambahkan. [[Feature #13110]] + * Memperbarui versi *Unicode* ke 15.0.0 dan *Emoji* ke 15.0. [[Feature #18639]] + (juga diaplikasikan pada *Regexp*) + * String#bytesplice telah ditambahkan. [[Feature #18598]] + +* Struct + * Sebuah *class* Struct juga dapat diinisialisasi dengan argumen *keyword* + tanpa `keyword_init: true` pada `Struct.new` [[Feature #16806]] + +## Isu kompatibilitas + +Catatan: tidak termasuk perbaikan *bug*. + +### Constant terhapus + +Berikut ini adalah *constant* yang telah dihapus. + +* `Fixnum` dan `Bignum` [[Feature #12005]] +* `Random::DEFAULT` [[Feature #17351]] +* `Struct::Group` +* `Struct::Passwd` + +### Method terhapus + +Berikut ini adalah *method* yang telah dihapus. + +* `Dir.exists?` [[Feature #17391]] +* `File.exists?` [[Feature #17391]] +* `Kernel#=~` [[Feature #15231]] +* `Kernel#taint`, `Kernel#untaint`, `Kernel#tainted?` + [[Feature #16131]] +* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?` + [[Feature #16131]] + +## Isu kompatibilitas Stdlib + +### Tidak lagi membundel sumber pihak ketiga + +* Kami tidak lagi membundel sumber dari pihak ketiga, seperti `libyaml`, `libffi`. + + * libyaml telah dihapus dari psych. Anda mungkin membutuhkan untuk memasang + `libyaml-dev` dengan *Ubuntu/Debian platform*. Nama *package* berbeda untuk setiap *platform*. + + * libffi juga telah dihapus dari `fiddle` + +* Psych dan fiddle mendukung *static build* dengan versi spesifik dari libyaml dan libffi. + Anda dapat membangun psych dengan libyaml-0.2.5 seperti ini: + + ```bash + $ ./configure --with-libyaml-source-dir=/path/to/libyaml-0.2.5 + ``` + + Dan Anda dapat membangun fiddle dengan libffi-3.4.4: + + ```bash + $ ./configure --with-libffi-source-dir=/path/to/libffi-3.4.4 + ``` + + [[Feature #18571]] + +## Pembaruan C API + +### C API diperbarui + +Berikut ini adalah API yang telah diperbarui. + +* Pembaruan PRNG + `rb_random_interface_t` diperbarui dan diberikan versi. + Pustaka *extension* yang menggunakan *interface* ini dan untuk versi lama. + `init_int32` juga perlu didefinisikan. + +### C API terhapus + +Berikut ini adalah API yang telah dihapus. + +* Variabel `rb_cData`. +* *Function* "taintedness" dan "trustedness". [[Feature #16131]] + +### Pembaruan pustaka standar + +* Berikut ini adalah *default gem* yang telah diperbarui. + * RubyGems 3.4.0.dev + * benchmark 0.2.1 + * bigdecimal 3.1.3 + * bundler 2.4.0.dev + * cgi 0.3.6 + * date 3.3.0 + * delegate 0.3.0 + * did_you_mean 1.6.2 + * digest 3.1.1 + * drb 2.1.1 + * erb 4.0.2 + * error_highlight 0.5.1 + * etc 1.4.1 + * fcntl 1.0.2 + * fiddle 1.1.1 + * fileutils 1.7.0 + * forwardable 1.3.3 + * getoptlong 0.2.0 + * io-console 0.5.11 + * io-nonblock 0.2.0 + * io-wait 0.3.0.pre + * ipaddr 1.2.5 + * irb 1.5.1 + * json 2.6.2 + * logger 1.5.2 + * mutex_m 0.1.2 + * net-http 0.3.1 + * net-protocol 0.2.0 + * nkf 0.1.2 + * open-uri 0.3.0 + * openssl 3.1.0.pre + * optparse 0.3.0 + * ostruct 0.5.5 + * pathname 0.2.1 + * pp 0.4.0 + * pstore 0.1.2 + * psych 5.0.0 + * racc 1.6.1 + * rdoc 6.5.0 + * reline 0.3.1 + * resolv 0.2.2 + * securerandom 0.2.1 + * set 1.0.3 + * stringio 3.0.3 + * syntax_suggest 1.0.1 + * timeout 0.3.1 + * tmpdir 0.1.3 + * tsort 0.1.1 + * un 0.2.1 + * uri 0.12.0 + * win32ole 1.8.9 + * zlib 3.0.0 +* Berikut ini adalah *bundled gem* yang telah diperbarui. + * minitest 5.16.3 + * power_assert 2.0.2 + * test-unit 3.5.5 + * net-ftp 0.2.0 + * net-imap 0.3.1 + * net-pop 0.1.2 + * net-smtp 0.3.3 + * rbs 2.8.1 + * typeprof 0.21.3 + * debug 1.7.0 + +Lihat [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +atau [commit logs](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}) +untuk lebih detail. + +Dengan perubahan tersebut, [{{ release.stats.files_changed }} berkas berubah, {{ release.stats.insertions }} sisipan(+), {{ release.stats.deletions }} terhapus(-)](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}#file_bucket) +sejak Ruby 3.1.0! + +## Unduh + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Apa itu Ruby + +Ruby pertama kali dikembangkan oleh Matz (Yukihiro Matsumoto) pada 1993 +dan sekarang dikembangkan sebagai *Open Source*. Ruby berjalan pada berbagai +*platform* dan digunakan di seluruh dunia, khususnya pengembangan *web*. + + + +[Feature #12005]: https://bugs.ruby-lang.org/issues/12005 +[Feature #12655]: https://bugs.ruby-lang.org/issues/12655 +[Feature #12737]: https://bugs.ruby-lang.org/issues/12737 +[Feature #13110]: https://bugs.ruby-lang.org/issues/13110 +[Feature #14332]: https://bugs.ruby-lang.org/issues/14332 +[Feature #15231]: https://bugs.ruby-lang.org/issues/15231 +[Feature #15357]: https://bugs.ruby-lang.org/issues/15357 +[Bug #15928]: https://bugs.ruby-lang.org/issues/15928 +[Feature #16131]: https://bugs.ruby-lang.org/issues/16131 +[Bug #16466]: https://bugs.ruby-lang.org/issues/16466 +[Feature #16806]: https://bugs.ruby-lang.org/issues/16806 +[Bug #16889]: https://bugs.ruby-lang.org/issues/16889 +[Bug #16908]: https://bugs.ruby-lang.org/issues/16908 +[Feature #16989]: https://bugs.ruby-lang.org/issues/16989 +[Feature #17351]: https://bugs.ruby-lang.org/issues/17351 +[Feature #17391]: https://bugs.ruby-lang.org/issues/17391 +[Bug #17545]: https://bugs.ruby-lang.org/issues/17545 +[Feature #17881]: https://bugs.ruby-lang.org/issues/17881 +[Feature #18639]: https://bugs.ruby-lang.org/issues/18639 +[Feature #18159]: https://bugs.ruby-lang.org/issues/18159 +[Feature #18351]: https://bugs.ruby-lang.org/issues/18351 +[Feature #18481]: https://bugs.ruby-lang.org/issues/18481 +[Bug #18487]: https://bugs.ruby-lang.org/issues/18487 +[Feature #18571]: https://bugs.ruby-lang.org/issues/18571 +[Feature #18585]: https://bugs.ruby-lang.org/issues/18585 +[Feature #18589]: https://bugs.ruby-lang.org/issues/18589 +[Feature #18598]: https://bugs.ruby-lang.org/issues/18598 +[Bug #18625]: https://bugs.ruby-lang.org/issues/18625 +[Bug #18633]: https://bugs.ruby-lang.org/issues/18633 +[Feature #18685]: https://bugs.ruby-lang.org/issues/18685 +[Feature #18776]: https://bugs.ruby-lang.org/issues/18776 +[Bug #18782]: https://bugs.ruby-lang.org/issues/18782 +[Feature #18788]: https://bugs.ruby-lang.org/issues/18788 +[Feature #18809]: https://bugs.ruby-lang.org/issues/18809 +[Bug #19100]: https://bugs.ruby-lang.org/issues/19100 +[Bug #19013]: https://bugs.ruby-lang.org/issues/19013 From 52f7d795334a29dff78b3c0c4f0920d642281a94 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 24 Mar 2023 16:41:51 +0900 Subject: [PATCH 1894/2563] Added entry for CVE-2023-28755 --- .../2023-03-28-redos-in-uri-cve-2023-28755.md | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md diff --git a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md new file mode 100644 index 0000000000..2fc41ed973 --- /dev/null +++ b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2023-28755: ReDoS vulnerability in URI" +author: "hsbt" +translator: +date: 2023-03-28 01:00:00 +0000 +tags: security +lang: en +--- + +We have released the uri gem version 0.10.0.1, 0.10.2, 0.11.1 and 0.12.1 that has a security fix for a ReDoS vulnerability. +This vulnerability has been assigned the CVE identifier [CVE-2023-28755](https://nvd.nist.gov/vuln/detail/CVE-2023-28755). + +## Details + +A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. + +Please update the uri gem to version 0.12.1 or later. We also release for old uri gem with Ruby releases. Please use them if you need to only security fix. + +* For Ruby 2.7 users: URI 0.10.0.1 +* For Ruby 3.0 users: URI 0.10.2 +* For Ruby 3.1 users: URI 0.11.1 + +You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.1"` to your `Gemfile`. + +## Affected versions + +* uri gem 0.12.0 +* uri gem 0.11.0 +* uri gem 0.10.0 or 0.10.1 + +## Credits + +Thanks to [Dominic Couture](https://hackerone.com/dee-see?type=user) for discovering this issue. + +## History + +* Originally published at 2023-03-28 01:00:00 (UTC) From bf3b4107938066ac11f583e94a3f4bdcb70323d8 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Mar 2023 10:36:25 +0900 Subject: [PATCH 1895/2563] CVE-2023-28755 for Ruby 3.2 users --- en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md index 2fc41ed973..d5fb57b631 100644 --- a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md +++ b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -20,6 +20,7 @@ Please update the uri gem to version 0.12.1 or later. We also release for old ur * For Ruby 2.7 users: URI 0.10.0.1 * For Ruby 3.0 users: URI 0.10.2 * For Ruby 3.1 users: URI 0.11.1 +* For Ruby 3.2 users: URI 0.12.1 You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.1"` to your `Gemfile`. From 9671c2c34f87f7181c08e60c0304a9452e9a4f5f Mon Sep 17 00:00:00 2001 From: Sorah Fukumori Date: Tue, 28 Mar 2023 11:16:45 +0900 Subject: [PATCH 1896/2563] CVE-2023-28755: language fix --- .../2023-03-28-redos-in-uri-cve-2023-28755.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md index d5fb57b631..87f236d5f1 100644 --- a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md +++ b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -13,16 +13,20 @@ This vulnerability has been assigned the CVE identifier [CVE-2023-28755](https:/ ## Details -A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. +A ReDoS issue was discovered in the URI component. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. -Please update the uri gem to version 0.12.1 or later. We also release for old uri gem with Ruby releases. Please use them if you need to only security fix. +The `uri` gem version 0.10.1, 0.10.2, 0.11.0, 0.12.0, and all versions 0.10.0 and prior are vulnerable for this vulnerability. -* For Ruby 2.7 users: URI 0.10.0.1 -* For Ruby 3.0 users: URI 0.10.2 -* For Ruby 3.1 users: URI 0.11.1 -* For Ruby 3.2 users: URI 0.12.1 +## Recommended action -You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.1"` to your `Gemfile`. +We recommend to update the `uri` gem to 0.12.1. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: + +* For Ruby 2.7: Update to `uri` 0.10.0.1 +* For Ruby 3.0: Update to `uri` 0.10.2 +* For Ruby 3.1: Update to `uri` 0.11.1 +* For Ruby 3.2: Update to `uri` 0.12.1 + +You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.1"` (or other version mentioned above) to your `Gemfile`. ## Affected versions From 4f5d0a0d6c0238b1a57d01023e60a710ef201457 Mon Sep 17 00:00:00 2001 From: marocchino Date: Tue, 28 Mar 2023 12:37:30 +0900 Subject: [PATCH 1897/2563] CVE-2023-28755: reorder affected versions --- en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md index 87f236d5f1..aabf37dac5 100644 --- a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md +++ b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -8,14 +8,14 @@ tags: security lang: en --- -We have released the uri gem version 0.10.0.1, 0.10.2, 0.11.1 and 0.12.1 that has a security fix for a ReDoS vulnerability. +We have released the uri gem version 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1 that has a security fix for a ReDoS vulnerability. This vulnerability has been assigned the CVE identifier [CVE-2023-28755](https://nvd.nist.gov/vuln/detail/CVE-2023-28755). ## Details A ReDoS issue was discovered in the URI component. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. -The `uri` gem version 0.10.1, 0.10.2, 0.11.0, 0.12.0, and all versions 0.10.0 and prior are vulnerable for this vulnerability. +The `uri` gem version 0.12.0, 0.11.0, 0.10.1, 0.10.0 and all versions prior 0.10.0 are vulnerable for this vulnerability. ## Recommended action @@ -32,7 +32,8 @@ You can use `gem update uri` to update it. If you are using bundler, please add * uri gem 0.12.0 * uri gem 0.11.0 -* uri gem 0.10.0 or 0.10.1 +* uri gem 0.10.1 +* uri gem 0.10.0 or before ## Credits @@ -41,3 +42,4 @@ Thanks to [Dominic Couture](https://hackerone.com/dee-see?type=user) for discove ## History * Originally published at 2023-03-28 01:00:00 (UTC) +* Update Affected versions at 2023-03-28 02:00:00 (UTC) From 478989126fed20fef09e5bd862f222eb013915ea Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 Mar 2023 14:31:35 +0900 Subject: [PATCH 1898/2563] Use www.cve.org instead of nvd.nist.gov --- en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md index aabf37dac5..ad4399e2a3 100644 --- a/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md +++ b/en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -9,7 +9,7 @@ lang: en --- We have released the uri gem version 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1 that has a security fix for a ReDoS vulnerability. -This vulnerability has been assigned the CVE identifier [CVE-2023-28755](https://nvd.nist.gov/vuln/detail/CVE-2023-28755). +This vulnerability has been assigned the CVE identifier [CVE-2023-28755](https://www.cve.org/CVERecord?id=CVE-2023-28755). ## Details @@ -43,3 +43,4 @@ Thanks to [Dominic Couture](https://hackerone.com/dee-see?type=user) for discove * Originally published at 2023-03-28 01:00:00 (UTC) * Update Affected versions at 2023-03-28 02:00:00 (UTC) +* Update CVE identifier url at 2023-03-28 04:00:00 (UTC) From 6570b6799a5241edd7549fe6e6b540a92c5b71d2 Mon Sep 17 00:00:00 2001 From: ytjmt <46666464+ytjmt@users.noreply.github.com> Date: Tue, 28 Mar 2023 23:51:38 +0900 Subject: [PATCH 1899/2563] Translate "CVE-2023-28755: ReDoS vulnerability in URI" (ja) --- .../2023-03-28-redos-in-uri-cve-2023-28755.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md diff --git a/ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md new file mode 100644 index 0000000000..5387c38176 --- /dev/null +++ b/ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "CVE-2023-28755: URI における ReDoS 脆弱性について" +author: "hsbt" +translator: "ytjmt" +date: 2023-03-28 01:00:00 +0000 +tags: security +lang: ja +--- + +ReDoS 脆弱性のセキュリティ修正を含む、uri gem 0.12.1、0.11.1、0.10.2、0.10.0.1 をリリースしました。 +この脆弱性は、[CVE-2023-28755](https://nvd.nist.gov/vuln/detail/CVE-2023-28755) として登録されています。 + +## 詳細 + +URI コンポーネントに ReDos 脆弱性が見つかりました。特定の文字を含む無効な URL を URI パーサーが誤って取り扱っていました。これにより、文字列を URI オブジェクトにパースする際の実行時間の増加を引き起こしていました。 + +0.12.0、0.11.0、0.10.1、0.10.0 および 0.10.0 以前の全てのバージョンの `uri` gem はこの脆弱性の影響を受けます。 + +## 推奨する対応 + +`uri` gem を 0.12.1 にアップデートすることを推奨します。古い系列の Ruby で同梱されているバージョンとの互換性を確保するためには、以下のようにアップデートできます: + +* Ruby 2.7: `uri` を 0.10.0.1 にアップデート +* Ruby 3.0: `uri` を 0.10.2 にアップデート +* Ruby 3.1: `uri` を 0.11.1 にアップデート +* Ruby 3.2: `uri` を 0.12.1 にアップデート + +`gem update uri` でアップデートできます。もし bundler を使っている場合は、`Gemfile` に `gem "uri", ">= 0.12.1"` (または上記の他のバージョン)を追加してください。 + +## 影響を受けるバージョン + +* uri gem 0.12.0 +* uri gem 0.11.0 +* uri gem 0.10.1 +* uri gem 0.10.0 およびそれ以前のバージョン + +## クレジット + +この脆弱性情報は、[Dominic Couture](https://hackerone.com/dee-see?type=user) 氏によって報告されました。 + +## 更新履歴 + +* 2023-03-28 10:00:00 (JST) 初版 +* 2023-03-28 11:00:00 (JST) 影響を受けるバージョンについて修正 From 7c3ef440e4be77741bc04bdb6dc6b8810dcc24b2 Mon Sep 17 00:00:00 2001 From: gaojun Date: Tue, 28 Mar 2023 23:22:23 +0800 Subject: [PATCH 1900/2563] Translate CVE-2023-28755 (zh_cn) --- .../2023-03-28-redos-in-uri-cve-2023-28755.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 zh_cn/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md diff --git a/zh_cn/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/zh_cn/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md new file mode 100644 index 0000000000..3229443a89 --- /dev/null +++ b/zh_cn/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "CVE-2023-28755: URI 包中的 ReDoS 漏洞" +author: "hsbt" +translator: GAO Jun +date: 2023-03-28 01:00:00 +0000 +tags: security +lang: zh_cn +--- + +我们刚发布了包含 ReDoS 漏洞补丁的 `uri` gem 版本 0.12.1,0.11.1,0.10.2 和 0.10.0.1。 +此漏洞的 CVE 编号为 [CVE-2023-28755](https://www.cve.org/CVERecord?id=CVE-2023-28755)。 + +## 详情 + +在 URI 组件中发现了一个 ReDoS 问题。URI 解析器会错误处理包含特殊字符的错误 URL。这会导致将字符串解析为 URI 的处理时间增长。 + +受此漏洞影响的 `uri` gem 版本包括:0.12.0,0.11.0,0.10.1,0.10.0 以及 0.10.0 之前的版本。 + +## 建议操作 + +我们建议将 `uri` gem 更新到 0.12.1。为了保证各个 Ruby 系列中绑定版本的兼容性您也可以按照下列方式进行更新: + +* Ruby 2.7:更新 `uri` 至 0.10.0.1 +* Ruby 3.0:更新 `uri` 至 0.10.2 +* Ruby 3.1:更新 `uri` 至 0.11.1 +* Ruby 3.2:更新 `uri` 至 0.12.1 + +您可以通过 `gem update uri` 进行更新。如果您使用 bundler,请在您的 `Gemfile` 中增加 `gem "uri", ">= 0.12.1"` (或上面提到的其他版本)。 + +## 受影响版本 + +* `uri` gem 0.12.0 +* `uri` gem 0.11.0 +* `uri` gem 0.10.1 +* `uri` gem 0.10.0 及之前版本 + +## 致谢 + +感谢 [Dominic Couture](https://hackerone.com/dee-see?type=user) 发现此问题。 + +## 历史 + +* 最初发布于 2023-03-28 01:00:00 (UTC) +* 受影响版本更新于 2023-03-28 02:00:00 (UTC) From 0f3edb480dc4655bf0562d384b56e8a15e5470bc Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 24 Mar 2023 17:29:30 +0900 Subject: [PATCH 1901/2563] Added entry for CVE-2023-28756 --- ...2023-03-30-redos-in-time-cve-2023-28756.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md diff --git a/en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md new file mode 100644 index 0000000000..5c78150dda --- /dev/null +++ b/en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2023-28756: ReDoS vulnerability in Time" +author: "hsbt" +translator: +date: 2023-03-30 11:00:00 +0000 +tags: security +lang: en +--- + +We have released the time gem version 0.1.1 and 0.2.2 that has a security fix for a ReDoS vulnerability. +This vulnerability has been assigned the CVE identifier [CVE-2023-28756](https://www.cve.org/CVERecord?id=CVE-2023-28756). + +## Details + +The Time parser mishandles invalid strings that have specific characters. It causes an increase in execution time for parsing strings to Time objects. + +A ReDoS issue was discovered in the Time gem 0.1.0 and 0.2.1 and Time library of Ruby 2.7.7. + +## Recommended action + +We recommend to update the time gem to version 0.2.2 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: + +* For Ruby 3.0 users: Update to `time` 0.1.1 +* For Ruby 3.1/3.2 users: Update to `time` 0.2.2 + +You can use `gem update time` to update it. If you are using bundler, please add `gem "time", ">= 0.2.2"` to your `Gemfile`. + +Unfortunately, time gem only works with Ruby 3.0 or later. If you are using Ruby 2.7, please use the latest version of Ruby. + +## Affected versions + +* Ruby 2.7.7 or lower +* time gem 0.1.0 +* time gem 0.2.1 + +## Credits + +Thanks to [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) for discovering this issue. + +## History + +* Originally published at 2023-03-30 11:00:00 (UTC) From 0475be96c0742ea97d94ab770734b4ed6ca6be82 Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 30 Mar 2023 20:44:30 +0900 Subject: [PATCH 1902/2563] release draft --- _data/downloads.yml | 8 +- _data/releases.yml | 101 ++++++++++++++++++ .../_posts/2023-03-30-ruby-2-7-8-released.md | 55 ++++++++++ .../_posts/2023-03-30-ruby-3-0-6-released.md | 51 +++++++++ .../_posts/2023-03-30-ruby-3-1-4-released.md | 51 +++++++++ .../_posts/2023-03-30-ruby-3-2-2-released.md | 48 +++++++++ 6 files changed, 310 insertions(+), 4 deletions(-) create mode 100644 en/news/_posts/2023-03-30-ruby-2-7-8-released.md create mode 100644 en/news/_posts/2023-03-30-ruby-3-0-6-released.md create mode 100644 en/news/_posts/2023-03-30-ruby-3-1-4-released.md create mode 100644 en/news/_posts/2023-03-30-ruby-3-2-2-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 02ba2ff9db..3674376c8a 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -7,14 +7,14 @@ preview: stable: - - 3.2.1 - - 3.1.3 - - 3.0.5 + - 3.2.2 + - 3.1.4 + - 3.0.6 # optional security_maintenance: - - 2.7.7 + - 2.7.8 # optional eol: diff --git a/_data/releases.yml b/_data/releases.yml index c794ff3f7b..e7215fa847 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,30 @@ # 3.2 series +- version: 3.2.2 + date: '2023-03-30' + post: "/en/news/2023/03/30/ruby-3-2-2-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.zip + size: + gz: + xz: + zip: + sha1: + gz: + xz: + zip: + sha256: + gz: + xz: + zip: + sha512: + gz: + xz: + zip: + - version: 3.2.1 date: '2023-02-08' post: "/en/news/2023/02/08/ruby-3-2-1-released/" @@ -192,6 +216,30 @@ # 3.1 series +- version: 3.1.4 + date: '2023-03-30' + post: "/en/news/2023/03/30/ruby-3-1-4-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.zip + size: + gz: + xz: + zip: + sha1: + gz: + xz: + zip: + sha256: + gz: + xz: + zip: + sha512: + gz: + xz: + zip: + - version: 3.1.3 date: '2022-11-24' post: "/en/news/2022/11/24/ruby-3-1-3-released/" @@ -324,6 +372,30 @@ # 3.0 series +- version: 3.0.6 + date: '2023-03-30' + post: "/en/news/2023/03/30/ruby-3-0-6-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.zip + size: + gz: + xz: + zip: + sha1: + gz: + xz: + zip: + sha256: + gz: + xz: + zip: + sha512: + gz: + xz: + zip: + - version: 3.0.5 date: '2022-11-24' post: "/en/news/2022/11/24/ruby-3-0-5-released/" @@ -564,6 +636,35 @@ # 2.7 series +- version: 2.7.8 + date: '2023-03-30' + post: "/en/news/2023/03/30/ruby-2-7-8-released/" + url: + bz2: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.tar.bz2 + gz: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.zip + size: + bz2: + gz: + xz: + zip: + sha1: + bz2: + gz: + xz: + zip: + sha256: + bz2: + gz: + xz: + zip: + sha512: + bz2: + gz: + xz: + zip: + - version: 2.7.7 date: '2022-11-24' post: "/en/news/2022/11/24/ruby-2-7-7-released/" diff --git a/en/news/_posts/2023-03-30-ruby-2-7-8-released.md b/en/news/_posts/2023-03-30-ruby-2-7-8-released.md new file mode 100644 index 0000000000..2997c72f25 --- /dev/null +++ b/en/news/_posts/2023-03-30-ruby-2-7-8-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 2.7.8 Released" +author: "usa" +translator: +date: 2023-03-30 12:00:00 +0000 +lang: en +--- + +Ruby 2.7.8 has been released. + +This release includes a security fix. +Please check the topics below for details. + +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v2_7_8) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "2.7.8" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. diff --git a/en/news/_posts/2023-03-30-ruby-3-0-6-released.md b/en/news/_posts/2023-03-30-ruby-3-0-6-released.md new file mode 100644 index 0000000000..63325ab169 --- /dev/null +++ b/en/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Ruby 3.0.6 Released" +author: "usa" +translator: +date: 2023-03-30 12:00:00 +0000 +lang: en +--- + +Ruby 3.0.6 has been released. + +This release includes a security fix. +Please check the topics below for details. + +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +This release also includes some bug fixes. +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_6) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.0.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. + +The maintenance of Ruby 3.0, including this release, is based on the "Agreement for the Ruby stable version" of the Ruby Association. diff --git a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md new file mode 100644 index 0000000000..5e264ca068 --- /dev/null +++ b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Ruby 3.1.4 Released" +author: "nagachika" +translator: +date: 2023-03-30 12:00:00 +0000 +lang: en +--- + +Ruby 3.1.4 has been released. + +This release includes a security fix. +Please check the topics below for details. + +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +This release also includes a fix for build failure with Xcode 14 and macOS 13 (Ventura). +See [the related ticket](https://bugs.ruby-lang.org/issues/18912) for more details. + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_4) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.1.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. diff --git a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md new file mode 100644 index 0000000000..3702d2acee --- /dev/null +++ b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.2.2 Released" +author: "naruse" +translator: +date: 2023-03-30 12:00:00 +0000 +lang: en +--- + +Ruby 3.2.2 has been released. + +This release includes a security fix. +Please check the topics below for details. + +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_1) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 12377031ee3cbbc9d135d37463ba0915ab274e62 Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 30 Mar 2023 20:51:55 +0900 Subject: [PATCH 1903/2563] Add package info for 3.1.4. --- _data/releases.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index e7215fa847..f5e292e877 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -224,21 +224,21 @@ xz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.zip size: - gz: - xz: - zip: + gz: 20917933 + xz: 15316604 + zip: 25241255 sha1: - gz: - xz: - zip: + gz: 38eddfc5a7536b6c8133183563009a4ed9bbe6db + xz: 2e2fbf43b7db6f24280548a3544912535bed8212 + zip: 1061632623caa82a68a04a35777ed8f1797a9f8f sha256: - gz: - xz: - zip: + gz: a3d55879a0dfab1d7141fdf10d22a07dbf8e5cdc4415da1bde06127d5cc3c7b6 + xz: 1b6d6010e76036c937b9671f4752f065aeca800a6c664f71f6c9a699453af94f + zip: 1fce1ab3d61d10a857dc821dab6e77fa41d0663c5dbbfaa5d9b9c2bdec5ce303 sha512: - gz: - xz: - zip: + gz: 41cf1561dd7eb249bb2c2f5ea958884880648cc1d11da9315f14158a2d0ff94b2c5c7d75291a67e57e1813d2ec7b618e5372a9f18ee93be6ed306f47b0d3199a + xz: a627bb629a10750b8b2081ad451a41faea0fc85d95aa1e267e3d2a0f56a35bb58195d4a8d13bbdbd82f4197a96dae22b1cee1dfc83861ec33a67ece07aef5633 + zip: 3a334302df97c2c7fec3c2d05d19a40b1ec6f95fef52c85d397196ce62fac4834f96783f0ac7fcba6e2a670f004bcc275db6f1810ace6c68a594e7d2fd9b297b - version: 3.1.3 date: '2022-11-24' From 2aae5dfe2bf75f6f1366974be36a19c3546ffec6 Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 30 Mar 2023 21:00:32 +0900 Subject: [PATCH 1904/2563] Add package info. --- _data/releases.yml | 82 +++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index f5e292e877..0c8236d57a 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -29,21 +29,21 @@ xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.zip size: - gz: - xz: - zip: + gz: 20467023 + xz: 15118856 + zip: 24615317 sha1: - gz: - xz: - zip: + gz: 670fce00d83771a1349b116e56a8a3b0ad323769 + xz: '087af286b70b0e17f88c9c4469b471eca2010161' + zip: a1b6d57019d41dca269b4b16a80784755d34b81d sha256: - gz: - xz: - zip: + gz: 96c57558871a6748de5bc9f274e93f4b5aad06cd8f37befa0e8d94e7b8a423bc + xz: 4b352d0f7ec384e332e3e44cdbfdcd5ff2d594af3c8296b5636c710975149e23 + zip: cc216ecb4f49064d8f44e10ecf9218cfd7b28cf4168bb79ecdf171e321db4af1 sha512: - gz: - xz: - zip: + gz: bcc68f3f24c1c8987d9c80b57332e5791f25b935ba38daf5addf60dbfe3a05f9dcaf21909681b88e862c67c6ed103150f73259c6e35c564f13a00f432e3c1e46 + xz: a29f24cd80f563f6368952d06d6273f7241a409fa9ab2f60e03dde2ac58ca06bee1750715b6134caebf4c061d3503446dc37a6059e19860bb0010eef34951935 + zip: 569a68d89cc9a646cd0319d7cb8d57df3a55c0ac2c64f1f61607cc9c06b3aa8415eb8d38f7893ab3dbf072da9e919fbc454a9338e924c20a6a5110a1fa301d52 - version: 3.2.1 date: '2023-02-08' @@ -380,21 +380,21 @@ xz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.zip size: - gz: - xz: - zip: + gz: 21314960 + xz: 15887132 + zip: 25694206 sha1: - gz: - xz: - zip: + gz: b93195a0913d11dad8dd47afd48d84b9dc75233e + xz: 688d791264bdef93efc4f5979d423fc64e8ff5d6 + zip: 16adfc34a0a3ae528cf7c59620633e8f01e7f5eb sha256: - gz: - xz: - zip: + gz: bb474b90655bd56754d9e612024ff80873d65fc1b198d68fd69469138e3e1f5b + xz: b5b264313ba36a2a1d0547c951d00c03614cdefddae0656ed78f30168894ad59 + zip: afdf159ffdc0d7ecd8b46c1d9237ff3f0cf9e763a99ffee2afa5f407e4023e17 sha512: - gz: - xz: - zip: + gz: 5c45a1d95e5dc814233b33f1f75983afc303c8f9d7508e06241b4ba3dd93daae00ee59aa6ba1d21e6374e78a78670ce13bcf478fe7846bef69a19495f7a9b7e2 + xz: 3541d88b6fe4f143b6d07f2c5382a9a44b586fbe2452d4710128af4fed33b67f9d9203515f4230d06f390511f1c3a5c54fe3a18c871c9ddb2e4642c104e51d64 + zip: 931a0258d9185fd1d99f2385fec2563ad49bd6e8b198edb3b5c1a17af6538627386d89019ca49bf63cff031428b60ef60542d42aa0d0e2c9ff6845f830014d15 - version: 3.0.5 date: '2022-11-24' @@ -645,25 +645,25 @@ xz: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.zip size: - bz2: - gz: - xz: - zip: + bz2: 14853384 + gz: 16950016 + xz: 12111136 + zip: 20732414 sha1: - bz2: - gz: - xz: - zip: - sha256: - bz2: - gz: - xz: - zip: + bz2: 96e65ff364d238b4a5b3b828d339999520f114f7 + gz: 26ef1a0a2eaf09b90aebe4f45bfaaa846bdf4a1a + xz: 3f9b9ec975da436f667cd349548b363cd8680679 + zip: dddcf9f39fc46a85bcc4be0c4e5cf3b7cb658ee7 + sha256: + bz2: fff51f3fcc847481e7c5903c627eaddfb130b80244596228ac0bdaf0741b9881 + gz: ebeaa99877b5f618b69047afe0cedeb57a08c528743f8145ffdd2165277a8e32 + xz: 569b06a84d4d39fcbdef7fb22cf3fa91178432f1f7d397fd608836243e4bf025 + zip: d71085ee1daae5752e839eaff99effdbab3c72d642205ee2f96a3c982d87f89a sha512: - bz2: - gz: - xz: - zip: + bz2: cf4c990d7cc269dcf834732eeeabdcae7741a060f812279fdf9295aecd6ff1d5bcc1a6f11c83e5dae209bea646c2561ef582fac888db6f5dbe4fafb197a3d373 + gz: d6d015b5371218501c3258107c7976f1ba9b8861a995e81a8ec1f0a00d995d97bc2e42162327dca3d081defdc8e39fe3cd7cf2ab196959edb1b8be0df243a6fc + xz: c447872857008341ee854a68c9a110e18d7f26874c7db17c1dd3974c1823645c0e93cd8c43fae1e6792d790da4263bf364758ca500eb3e40a21fbc8899565db3 + zip: 73a6ff7c083e0b0e1e4a1de6d2f215c8a6841f60cfb68e0ea8599a2fb7c0bf76df512f32d12dbe559bf4bb6ffb0644be1c3da6b802bbb7067b03e5124ddcc84b - version: 2.7.7 date: '2022-11-24' From 8ba64476d6528ecf559bd069138beb2bf5337613 Mon Sep 17 00:00:00 2001 From: "U.Nakamura" Date: Thu, 30 Mar 2023 21:01:00 +0900 Subject: [PATCH 1905/2563] Small fixes and adding about EOL of Ruby 2.7 --- en/news/_posts/2023-03-30-ruby-2-7-8-released.md | 7 ++++++- en/news/_posts/2023-03-30-ruby-3-0-6-released.md | 2 +- en/news/_posts/2023-03-30-ruby-3-1-4-released.md | 2 +- en/news/_posts/2023-03-30-ruby-3-2-2-released.md | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/en/news/_posts/2023-03-30-ruby-2-7-8-released.md b/en/news/_posts/2023-03-30-ruby-2-7-8-released.md index 2997c72f25..60a214b9e8 100644 --- a/en/news/_posts/2023-03-30-ruby-2-7-8-released.md +++ b/en/news/_posts/2023-03-30-ruby-2-7-8-released.md @@ -9,14 +9,19 @@ lang: en Ruby 2.7.8 has been released. -This release includes a security fix. +This release includes security fixes. Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) * [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) +This release also includes some build problem fixes. See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v2_7_8) for further details. +After this release, Ruby 2.7 reaches EOL. In other words, this is expected to be the last release of Ruby 2.7 series. +We will not release Ruby 2.7.9 even if a security vulnerability is found (but could release if a severe regression is found). +We recommend all Ruby 2.7 users to start migration to Ruby 3.2, 3.1, or 3.0 immediately. + ## Download {% assign release = site.data.releases | where: "version", "2.7.8" | first %} diff --git a/en/news/_posts/2023-03-30-ruby-3-0-6-released.md b/en/news/_posts/2023-03-30-ruby-3-0-6-released.md index 63325ab169..cda1dad185 100644 --- a/en/news/_posts/2023-03-30-ruby-3-0-6-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -9,7 +9,7 @@ lang: en Ruby 3.0.6 has been released. -This release includes a security fix. +This release includes security fixes. Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) diff --git a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md index 5e264ca068..500d62f69d 100644 --- a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -9,7 +9,7 @@ lang: en Ruby 3.1.4 has been released. -This release includes a security fix. +This release includes security fixes. Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) diff --git a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md index 3702d2acee..1a071e4419 100644 --- a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -9,7 +9,7 @@ lang: en Ruby 3.2.2 has been released. -This release includes a security fix. +This release includes security fixes. Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) From 63d17fa5f04d422b497c1af1accb9c182cba14a3 Mon Sep 17 00:00:00 2001 From: "U.Nakamura" Date: Thu, 30 Mar 2023 21:05:28 +0900 Subject: [PATCH 1906/2563] Mention about Ruby 3.0 enters into security maintenance phase --- en/news/_posts/2023-03-30-ruby-3-0-6-released.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/en/news/_posts/2023-03-30-ruby-3-0-6-released.md b/en/news/_posts/2023-03-30-ruby-3-0-6-released.md index cda1dad185..ebad251f84 100644 --- a/en/news/_posts/2023-03-30-ruby-3-0-6-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -18,6 +18,13 @@ Please check the topics below for details. This release also includes some bug fixes. See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_6) for further details. +After this release, we end the normal maintenance phase of Ruby 3.0, and Ruby 3.0 enters the security maintenance phase. +This means that we will no longer backport any bug fixes to Ruby 3.0 except security fixes. + +The term of the security maintenance phase is scheduled for a year. +Ruby 3.0 reaches EOL and its official support ends by the end of the security maintenance phase. +Therefore, we recommend that you start to plan upgrade to Ruby 3.1 or 3.2. + ## Download {% assign release = site.data.releases | where: "version", "3.0.6" | first %} From 48058287f0f0c351277e2700462481ef21aaebe3 Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 30 Mar 2023 21:52:07 +0900 Subject: [PATCH 1907/2563] Update package info for 2.7.8/3.0.6. --- _data/releases.yml | 58 +++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index 0c8236d57a..678a059518 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -380,21 +380,21 @@ xz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.zip size: - gz: 21314960 - xz: 15887132 - zip: 25694206 + gz: 21315725 + xz: 15864560 + zip: 25694359 sha1: - gz: b93195a0913d11dad8dd47afd48d84b9dc75233e - xz: 688d791264bdef93efc4f5979d423fc64e8ff5d6 - zip: 16adfc34a0a3ae528cf7c59620633e8f01e7f5eb + gz: 1052441f0abbb0302fb9f1481d2db99dfb4d4c29 + xz: 7880c34d7193224e967163b12f33bf7aaf7304f6 + zip: e75d1bc14dd89c176145dc3968774e30f3a17652 sha256: - gz: bb474b90655bd56754d9e612024ff80873d65fc1b198d68fd69469138e3e1f5b - xz: b5b264313ba36a2a1d0547c951d00c03614cdefddae0656ed78f30168894ad59 - zip: afdf159ffdc0d7ecd8b46c1d9237ff3f0cf9e763a99ffee2afa5f407e4023e17 + gz: 6e6cbd490030d7910c0ff20edefab4294dfcd1046f0f8f47f78b597987ac683e + xz: b5cbee93e62d85cfb2a408c49fa30a74231ae8409c2b3858e5f5ea254d7ddbd1 + zip: 428d518d12f09df4146fc31dbed47c8d7e10fcccd2426948e5c0862d9321480d sha512: - gz: 5c45a1d95e5dc814233b33f1f75983afc303c8f9d7508e06241b4ba3dd93daae00ee59aa6ba1d21e6374e78a78670ce13bcf478fe7846bef69a19495f7a9b7e2 - xz: 3541d88b6fe4f143b6d07f2c5382a9a44b586fbe2452d4710128af4fed33b67f9d9203515f4230d06f390511f1c3a5c54fe3a18c871c9ddb2e4642c104e51d64 - zip: 931a0258d9185fd1d99f2385fec2563ad49bd6e8b198edb3b5c1a17af6538627386d89019ca49bf63cff031428b60ef60542d42aa0d0e2c9ff6845f830014d15 + gz: d596bfd374ae777717379b409afe8ee1655ade0c0539ada7a10af4780b818efe25a28aa50a2a7226741d1776d744e10ad916641f9d12fb31c7444b0a01d0e0cc + xz: abbf883cd9f3ddbd171df8f8c3cd35d930623c4c01a5e01387de0aee9811cca7604b82163e18e04f809773bf1ca5a450f13f62f3db14f191f610e116ae4fa6f8 + zip: 576d11c668acac57cf4952228b148d17f16ab1dc491145355a4f2068b15f6cab8a4007a84d9d1eda4c1b62837675c82be99ebe6379c314f46c6ebbbf89677b5e - version: 3.0.5 date: '2022-11-24' @@ -645,25 +645,25 @@ xz: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.zip size: - bz2: 14853384 - gz: 16950016 - xz: 12111136 - zip: 20732414 + bz2: 14851891 + gz: 16950365 + xz: 12105320 + zip: 20732352 sha1: - bz2: 96e65ff364d238b4a5b3b828d339999520f114f7 - gz: 26ef1a0a2eaf09b90aebe4f45bfaaa846bdf4a1a - xz: 3f9b9ec975da436f667cd349548b363cd8680679 - zip: dddcf9f39fc46a85bcc4be0c4e5cf3b7cb658ee7 - sha256: - bz2: fff51f3fcc847481e7c5903c627eaddfb130b80244596228ac0bdaf0741b9881 - gz: ebeaa99877b5f618b69047afe0cedeb57a08c528743f8145ffdd2165277a8e32 - xz: 569b06a84d4d39fcbdef7fb22cf3fa91178432f1f7d397fd608836243e4bf025 - zip: d71085ee1daae5752e839eaff99effdbab3c72d642205ee2f96a3c982d87f89a + bz2: 3e1c6a7bac0b7ea6becb94a1a8e8630173903387 + gz: 8779ab7cd912697d78dee62ea9f976acdf600c54 + xz: 9e7c7b790652d6c81ce1157b18eab5f8b11b0a27 + zip: c38d38d03d840599e152a2ec62567075cb6ca253 + sha256: + bz2: '09ccf12051d86e5b3877c9e9db8b7eb6495bea180cab88a1fc99851434137c67' + gz: c2dab63cbc8f2a05526108ad419efa63a67ed4074dbbcf9fc2b1ca664cb45ba0 + xz: f22f662da504d49ce2080e446e4bea7008cee11d5ec4858fc69000d0e5b1d7fb + zip: 9567ed0e9015f238ff6bbd5e4fd4ee9df39174eb7a29762beb8920788068661c sha512: - bz2: cf4c990d7cc269dcf834732eeeabdcae7741a060f812279fdf9295aecd6ff1d5bcc1a6f11c83e5dae209bea646c2561ef582fac888db6f5dbe4fafb197a3d373 - gz: d6d015b5371218501c3258107c7976f1ba9b8861a995e81a8ec1f0a00d995d97bc2e42162327dca3d081defdc8e39fe3cd7cf2ab196959edb1b8be0df243a6fc - xz: c447872857008341ee854a68c9a110e18d7f26874c7db17c1dd3974c1823645c0e93cd8c43fae1e6792d790da4263bf364758ca500eb3e40a21fbc8899565db3 - zip: 73a6ff7c083e0b0e1e4a1de6d2f215c8a6841f60cfb68e0ea8599a2fb7c0bf76df512f32d12dbe559bf4bb6ffb0644be1c3da6b802bbb7067b03e5124ddcc84b + bz2: 3a9db8d9e79318f869417f2ebf3365907febc0d1428116eabf3253c51d8420f255782b32fa30a54802b9f5f4187fad80dab0611cc80436feec84db87b0456ec6 + gz: 23195d29cec81f54061db14fbc9d0d75aca71ca4de35da3d5712eb08d71fbe27a3f0f2594b58692cf20225188334879e413ac078d10d7b635af0200d02f25ecb + xz: 4b49dff3e1c2e79d914e10418e4c03026f5d4c137dc337f5c720fe26cb9fcdcf4afc6b7c967356cf5fbe04cc5ef431174c48a035becf3e2322c2c45d3c9b2f59 + zip: e7ad3380cc81ecfebccb39acad7364a20bc5ebf9ce74ca5d82225fe0dea76e2ee46aa97e49b975dd9a00c7ff60d94907d9a27acdbb5c5a48b88a3c58e0a998be - version: 2.7.7 date: '2022-11-24' From c02cc075128a863ecc26f1790d4c12084b5e7ce8 Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 30 Mar 2023 22:03:56 +0900 Subject: [PATCH 1908/2563] Fix typos. --- en/news/_posts/2023-03-30-ruby-2-7-8-released.md | 2 +- en/news/_posts/2023-03-30-ruby-3-0-6-released.md | 2 +- en/news/_posts/2023-03-30-ruby-3-1-4-released.md | 2 +- en/news/_posts/2023-03-30-ruby-3-2-2-released.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/en/news/_posts/2023-03-30-ruby-2-7-8-released.md b/en/news/_posts/2023-03-30-ruby-2-7-8-released.md index 60a214b9e8..ef6383d630 100644 --- a/en/news/_posts/2023-03-30-ruby-2-7-8-released.md +++ b/en/news/_posts/2023-03-30-ruby-2-7-8-released.md @@ -13,7 +13,7 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) -* [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) This release also includes some build problem fixes. See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v2_7_8) for further details. diff --git a/en/news/_posts/2023-03-30-ruby-3-0-6-released.md b/en/news/_posts/2023-03-30-ruby-3-0-6-released.md index ebad251f84..dfab018b12 100644 --- a/en/news/_posts/2023-03-30-ruby-3-0-6-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -13,7 +13,7 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) -* [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) This release also includes some bug fixes. See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_6) for further details. diff --git a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md index 500d62f69d..c27f47f5b6 100644 --- a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -13,7 +13,7 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) -* [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) This release also includes a fix for build failure with Xcode 14 and macOS 13 (Ventura). See [the related ticket](https://bugs.ruby-lang.org/issues/18912) for more details. diff --git a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md index 1a071e4419..ea63747b83 100644 --- a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -13,9 +13,9 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) -* [CVE-2023-28755: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) -See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_1) for further details. +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_2) for further details. ## Download From a7b4b9cb22d6cd8fdadf9595be5e485552e944df Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 30 Mar 2023 22:07:02 +0900 Subject: [PATCH 1909/2563] Remove a wrong comment in 3.1.4 release note. --- en/news/_posts/2023-03-30-ruby-3-1-4-released.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md index c27f47f5b6..0914c400b5 100644 --- a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -15,9 +15,6 @@ Please check the topics below for details. * [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) * [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) -This release also includes a fix for build failure with Xcode 14 and macOS 13 (Ventura). -See [the related ticket](https://bugs.ruby-lang.org/issues/18912) for more details. - See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_4) for further details. ## Download From 4f36d9fbc765f5616d024d3499c1b214ff5402df Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 30 Mar 2023 22:07:51 +0900 Subject: [PATCH 1910/2563] Fix a typo. --- en/news/_posts/2023-03-30-ruby-3-1-4-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md index 0914c400b5..22c2900214 100644 --- a/en/news/_posts/2023-03-30-ruby-3-1-4-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -19,7 +19,7 @@ See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_4) for ## Download -{% assign release = site.data.releases | where: "version", "3.1.3" | first %} +{% assign release = site.data.releases | where: "version", "3.1.4" | first %} * <{{ release.url.gz }}> From be61faf8e148d5e60d117afab2d6ce3f5cdbcb20 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 30 Mar 2023 22:20:13 +0900 Subject: [PATCH 1911/2563] Removed trailing whitespace --- en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md index 5c78150dda..7fb12c0144 100644 --- a/en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md +++ b/en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -15,7 +15,7 @@ This vulnerability has been assigned the CVE identifier [CVE-2023-28756](https:/ The Time parser mishandles invalid strings that have specific characters. It causes an increase in execution time for parsing strings to Time objects. -A ReDoS issue was discovered in the Time gem 0.1.0 and 0.2.1 and Time library of Ruby 2.7.7. +A ReDoS issue was discovered in the Time gem 0.1.0 and 0.2.1 and Time library of Ruby 2.7.7. ## Recommended action From c4643b9aa3ae608e66ac8e1d22f6e9778e627373 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Sun, 2 Apr 2023 19:20:41 +0900 Subject: [PATCH 1912/2563] Update translation of "Ruby FAQ 3" (ko) (#3013) --- ko/documentation/faq/3/index.md | 67 ++++++++++++++++----------------- 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md index b26050af13..0ad1925a0d 100644 --- a/ko/documentation/faq/3/index.md +++ b/ko/documentation/faq/3/index.md @@ -9,7 +9,7 @@ header: | | 1 | - 1 + 2 | 3 | @@ -60,7 +60,7 @@ OS/2에서 실행됩니다. {% include faq-out-of-date.html %} -CVS 클라이언트가 있는 경우 다음을 사용하여 현재 소스 트리를 확인할 수 있습니다: +CVS 클라이언트가 있는 경우 다음을 사용하여 현재 소스 트리를 확인할 수 있습니다. ~~~ $ cvs -d :pserver:anonymous@cvs.netlab.co.jp:/home/cvs login @@ -69,13 +69,13 @@ CVS password: guest $ cvs -d :pserver:anonymous@cvs.netlab.co.jp:/home/cvs co ruby ~~~ -CVS가 없는 경우 다음에서 개발 소스의 나이틀리 스냅숏을 얻을 수 있습니다. +CVS가 없는 경우 다음 링크에서 개발 소스의 나이틀리 스냅숏을 받을 수 있습니다. [https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz](https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz). ### Ruby를 컴파일하려면 어떻게 하나요? -유닉스에서 Ruby는 빌드 환경을 구성하기 위해 `autoconf` 시스템을 사용합니다. -배포판에서 Ruby를 빌드하기 위해 `autoconf` 명령이 필요하지 않으며, 그냥 밑의 +Unix에서 Ruby는 빌드 환경을 구성하기 위해 `autoconf` 시스템을 사용합니다. +배포판에서 Ruby를 빌드하기 위해 `autoconf` 명령이 필요하지 않으며, 그냥 아래 명령을 사용하면 됩니다. ~~~ @@ -86,31 +86,31 @@ $ make install ~~~ 기본 설치 위치(`/usr/local`)를 바꾸지 않고 Ruby를 설치하려면 슈퍼유저 권한이 -필요할 수 있습니다. 다음 명령을 사용하여 `configure` 옵션의 전체 목록을 얻을 수 +필요할 수 있습니다. 다음 명령을 사용하여 `configure` 옵션의 전체 목록을 볼 수 있습니다. ~~~ $ ./configure --help ~~~ -소스 리포지토리에서 작업하는 경우, `configure`를 실행하기 전에 `autoconf`를 +소스 저장소에서 작업하는 경우, `configure`를 실행하기 전에 `autoconf`를 실행해야 할 수 있습니다. ### 내 라이브러리가 어디에 있는지 Ruby에게 알려주려면 어떻게 하나요? {% include faq-out-of-date.html %} -일부 시스템에서는 빌드 프로세스에서 확장 모듈에서 사용하는 라이브러리 -(예: `dbm` 라이브러리)를 찾지 못할 수 있습니다. +일부 시스템에서는 빌드 프로세스가 확장 모듈에서 사용하는 +라이브러리(예: `dbm` 라이브러리)를 찾지 못할 수 있습니다. -'configure' 옵션을 사용하여 Ruby에게 라이브러리를 찾을 위치를 알려줄 수 있습 -니다. From [\[ruby-talk:5041\]][ruby-talk:5041]: +`configure` 옵션을 사용하여 Ruby에게 라이브러리 위치를 알려줄 수 있습니다. +다음은 [\[ruby-talk:5041\]][ruby-talk:5041]에서 가져온 것입니다. ~~~ $ ./configure --with-xxx-yyy=DIR ~~~ -여기서 XXX는 다음 중 하나입니다. +여기서 xxx는 다음 중 하나입니다. ~~~ opt extra software path in general @@ -130,13 +130,13 @@ lib specifies -L DIR ~~~ HP-UX에서는 `gcc`로 빌드하는 데 문제가 있을 수 있습니다. 대신 네이티브 -컴파일러를 사용해 보세요. WATANABE Tetsuya가 권장합니다. +컴파일러를 사용해 보세요. WATANABE Tetsuya는 다음 옵션을 추천합니다. ~~~ $ CC="cc -Ae" CFLAGS=-O ./configure --prefix=/opt/gnu ~~~ -HP의 기본 `sed`에도 문제가 있을 수 있습니다. 그는 GNU에 상응하는 것을 설치할 +HP의 기본 `sed`에도 문제가 있을 수 있습니다. 그는 GNU 버전을 설치할 것을 권장합니다. [ruby-talk:5041]: https://blade.ruby-lang.org/ruby-talk/5401 @@ -144,40 +144,39 @@ HP의 기본 `sed`에도 문제가 있을 수 있습니다. 그는 GNU에 상응 ### 미리 컴파일된 바이너리를 사용할 수 있나요? 다양한 Windows 운영 체제에서 Ruby를 실행하는 데 필요한 모든 것이 포함된 단일 -다운로드는 [RubyInstaller](https://rubyinstaller.org/)에서 제공됩니다. +다운로드는 [RubyInstaller](https://rubyinstaller.org/)에서 제공합니다. [Reuben Thomas](mailto:Reuben.Thomas@cl.cam.ac.uk)의 글입니다. > 현재 v1.4.3의 Acorn RISC OS에 대한 포트가 있다고 언급할 수 있습니다. -> 제가 포트를 만들었고 유지 관리할 계획은 없지만 -> 패치를 matz에 보냈으므로 최 신 버전도 잘 컴파일될 수 있습니다. +> 제가 포트를 만들었고 유지 보수할 계획은 없지만 +> 패치를 matz에 보냈으므로 나중 버전도 잘 컴파일될 수 있습니다. ### "cygwin", "mingw", "djgpp"는 다 뭐죠? {% include faq-out-of-date.html %} -Ruby는 유닉스 환경의 풍부한 기능 세트를 활용하도록 작성되었습니다. -안타깝게도 Windows에는 일부 기능이 누락되어 있고 다른 기능도 다르게 구현 -되어 있습니다. 따라서 Windows에서 Ruby(및 기타 유닉스 기반 프로그램)를 실 -행하려면 일종의 매핑 계층이 필요합니다. +Ruby는 Unix 환경의 풍부한 기능 세트를 활용하도록 작성되었습니다. +안타깝게도 Windows에는 일부 기능이 누락되어 있고 다른 기능도 다르게 구현되어 +있습니다. 따라서 Windows에서 Ruby(또는 기타 Unix 기반 프로그램)를 실행하려면 +일종의 매핑 계층이 필요합니다. -다른 래퍼 매핑 레이어를 사용하는 다른 버전의 Ruby 실행 파일을 발견할 +서로 다른 래퍼 매핑 계층을 사용하는 다양한 버전의 Ruby 실행 파일을 발견할 수 있습니다. -rbdj 버전은 Ruby 윈도우 바이너리의 독립 실행형 버전입니다. 이 버전은 DJ +rbdj 버전은 Ruby의 Windows 바이너리 중 독립 실행 버전입니다. 이 버전은 DJ Delorie 도구를 사용합니다. ([http://www.delorie.com](http://www.delorie.com)). rbcw 버전은 [http://www.cygwin.com](http://www.cygwin.com) 또는 Ruby 다운로드 -페이지에서 제공되는 Cygwin 라이브러리가 필요한 Ruby의 Windows 바이너리 -입니다. Cygwin은 에뮬레이션 레이어이자 Cygnus Solutions(현재 Redhat -의 일부)에서 처음 제작한 유틸리티 세트입니다. 대부분의 프로그래머는 Windows에서 +페이지에서 제공하는 Cygwin 라이브러리가 필요한 Ruby의 Windows 바이너리입니다. +Cygwin은 에뮬레이션 계층이자 Cygnus Solutions(현재 Redhat의 일부)에서 +처음 제작한 유틸리티 세트입니다. 대부분의 프로그래머는 Windows에서 가장 많은 기능을 제공하는 Ruby의 Cygwin 버전을 사용하기를 원할 것입니다. -rbcw 버전을 사용하려면 cygwin.dll을 별도로 설치해야 합니다. 컴퓨터에 cygwin을 -설치한 후, Cygwin 배포의 `bin` 하위 디렉터리에 있는 `cygwin1.dll` -을 `Windows\System32` 폴더(또는 다른 경로에 있는 폴더)에 복사합니다. - +rbcw 버전을 사용하려면 Cygwin의 .dll을 별도로 설치해야 합니다. 컴퓨터에 Cygwin을 +설치한 후, Cygwin 배포의 `bin` 하위 디렉터리에 있는 `cygwin1.dll`을 +`Windows\System32` 폴더(또는 PATH에 있는 다른 경로)에 복사합니다. 이 설명의 기초를 제공한 Anders Schneiderman에게 감사드립니다. @@ -186,9 +185,9 @@ rbcw 버전을 사용하려면 cygwin.dll을 별도로 설치해야 합니다. {% include faq-out-of-date.html %} Windows에 Tk가 올바르게 설치되었나요? 로 -이동하여 해당 운영체재에 대해 미리 컴파일된 바이너리 Tcl/Tk 배포를 찾아보세요. +이동하여 해당 운영 체제에 대해 미리 컴파일된 Tcl/Tk 바이너리 배포판을 찾아보세요. -환경 변수 `TCL_LIBRARY` 및 `TK_LIBRARY`가 tcl 및 tk가 포함된 디렉터리를 가리 -키고 있습니까? +환경 변수 `TCL_LIBRARY` 및 `TK_LIBRARY`가 tcl 및 tk가 포함된 디렉터리를 가리키고 +있습니까? -경로에 tk 라이브러리가 있나요? +PATH에 tk 라이브러리가 있나요? From 070146b69691e73786dbb26cb817560d90a6ae57 Mon Sep 17 00:00:00 2001 From: gaojun Date: Sun, 2 Apr 2023 21:39:06 +0800 Subject: [PATCH 1913/2563] Translate CVE-2023-28756 (zh_cn) --- ...2023-03-30-redos-in-time-cve-2023-28756.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 zh_cn/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md diff --git a/zh_cn/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/zh_cn/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md new file mode 100644 index 0000000000..61ec54c542 --- /dev/null +++ b/zh_cn/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2023-28756:Time 包中的 ReDoS 漏洞" +author: "hsbt" +translator: "GAO Jun" +date: 2023-03-30 11:00:00 +0000 +tags: security +lang: zh_cn +--- + +我们刚发布了包含 ReDos 漏洞补丁的 `time` gem 版本 0.1.1 和 0.2.2。 +此漏洞的 CVE编号为 [CVE-2023-28756](https://www.cve.org/CVERecord?id=CVE-2023-28756). + +## 详情 + +Time 解析器会错误处理包含特殊字符的错误字符串。这会导致将字符串解析为时间的处理时间变长。 + +受此 ReDoS 问题影响的 `time` gem 版本包括:0.1.0,0.2.1 以及 Ruby 2.7.7 中使用的版本。 + +## 建议操作 + +我们建议将 `time` gem 更新到 0.2.2 或后续版本。为了保证各个 Ruby 系列中绑定版本的兼容性,您可以参照下面的提示进行更新: + +* Ruby 3.0 用户:更新 `time` 至 0.1.1 +* Ruby 3.1/3.2 用户:更新 `time` 至 0.2.2 + +您可以通过 `gem update time` 进行更新。如果您使用 bundler,请在您的 `Gemfile`中增加 `gem "time", ">= 0.2.2"`。 + +不幸的是,`time` gem 的操作只能用于 Ruby 3.0 及之后的版本。如果您正在使用 Ruby 2.7,请使用最新版本的 Ruby。 + +## 受影响版本 + +* Ruby 2.7.7 及之前版本 +* `time` gem 0.1.0 +* `time` gem 0.2.1 + +## 致谢 + +感谢 [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) 发现此问题。 + +## 历史 + +* 最初发布于 2023-03-30 11:00:00 (UTC) From f9a1c6384980b6126aba15264cca9fa227d39451 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Mon, 3 Apr 2023 03:39:35 +0900 Subject: [PATCH 1914/2563] Fix URL of ruby-talk:5041 --- en/documentation/faq/3/index.md | 2 +- ko/documentation/faq/3/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/documentation/faq/3/index.md b/en/documentation/faq/3/index.md index 78f03c93d8..7d740be207 100644 --- a/en/documentation/faq/3/index.md +++ b/en/documentation/faq/3/index.md @@ -141,7 +141,7 @@ $ CC="cc -Ae" CFLAGS=-O ./configure --prefix=/opt/gnu There may also be problems with HP's native `sed`. He recommends installing the GNU equivalent. -[ruby-talk:5041]: https://blade.ruby-lang.org/ruby-talk/5401 +[ruby-talk:5041]: https://blade.ruby-lang.org/ruby-talk/5041 ### Are precompiled binaries available? diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md index 0ad1925a0d..2d1ca13393 100644 --- a/ko/documentation/faq/3/index.md +++ b/ko/documentation/faq/3/index.md @@ -139,7 +139,7 @@ $ CC="cc -Ae" CFLAGS=-O ./configure --prefix=/opt/gnu HP의 기본 `sed`에도 문제가 있을 수 있습니다. 그는 GNU 버전을 설치할 것을 권장합니다. -[ruby-talk:5041]: https://blade.ruby-lang.org/ruby-talk/5401 +[ruby-talk:5041]: https://blade.ruby-lang.org/ruby-talk/5041 ### 미리 컴파일된 바이너리를 사용할 수 있나요? From 1c052b84f8ed4c93337353941c218bbf12fdf440 Mon Sep 17 00:00:00 2001 From: marocchino Date: Mon, 3 Apr 2023 14:18:22 +0900 Subject: [PATCH 1915/2563] Translate CVE-2023-28755 (ko) (#3007) * Translate CVE-2023-28755 (KO) * CVE-2023-28755: reorder affected versions new to old (ko) * Use www.cve.org instead of nvd.nist.gov (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../2023-03-28-redos-in-uri-cve-2023-28755.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 ko/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md diff --git a/ko/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/ko/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md new file mode 100644 index 0000000000..96f375ed20 --- /dev/null +++ b/ko/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "CVE-2023-28755: URI의 ReDoS 취약점" +author: "hsbt" +translator: "marocchino" +date: 2023-03-28 01:00:00 +0000 +tags: security +lang: ko +--- + +ReDoS 취약점에 대한 보안 수정이 포함된 uri gem 버전 0.12.1, 0.11.1, 0.10.2, 0.10.0.1을 릴리스했습니다. 이 +취약점에는 CVE 식별자 [CVE-2023-28755](https://www.cve.org/CVERecord?id=CVE-2023-28755)가 할당되었습니다. + +## 세부 내용 + +URI 구성 요소에서 ReDoS 문제가 발견되었습니다. URI 구문 분석기가 특정 문자가 포함된 유효하지 않은 URL을 잘못 처리합니다. 이로 인해 URI 객체에 대한 문자열 구문 분석 실행 시간이 증가합니다. + +`uri` gem의 0.12.0, 0.11.0, 0.10.1, 0.10.0과 모든 0.10.0 이하 버전이 이 취약점에 취약합니다. + +## 권장 조치 + +`uri` gem을 0.12.1로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에 포함된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. + +* Ruby 2.7: `uri` 0.10.0.1로 업데이트 +* Ruby 3.0: `uri` 0.10.2로 업데이트 +* Ruby 3.1: `uri` 0.11.1로 업데이트 +* Ruby 3.2: `uri` 0.12.1로 업데이트 + +`gem update uri`를 사용하여 업데이트할 수 있습니다. bundler를 사용하는 경우 `gem "uri", ">= 0.12.1"`(또는 위에 언급된 다른 버전)을 `Gemfile`에 추가하세요. + +## 해당 버전 + +* uri gem 0.12.0 +* uri gem 0.11.0 +* uri gem 0.10.1 +* uri gem 0.10.0과 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [Dominic Couture](https://hackerone.com/dee-see?type=user)에게 감사를 표합니다. + +## 수정 이력 + +* 2023-03-28 01:00:00 (UTC) 최초 공개 +* 2023-03-28 02:00:00 (UTC) 해당 버전 수정 +* 2023-03-28 04:00:00 (UTC) CVE 식별자 URL 업데이트 From 7ab4a9098fd6268e0f08797469732d3e66a47323 Mon Sep 17 00:00:00 2001 From: ytjmt <46666464+ytjmt@users.noreply.github.com> Date: Wed, 5 Apr 2023 00:41:47 +0900 Subject: [PATCH 1916/2563] Translate "CVE-2023-28756: ReDoS vulnerability in Time" (ja) --- ...2023-03-30-redos-in-time-cve-2023-28756.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 ja/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md diff --git a/ja/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/ja/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md new file mode 100644 index 0000000000..6aa5d60ec1 --- /dev/null +++ b/ja/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "CVE-2023-28756: Time における ReDoS 脆弱性について" +author: "hsbt" +translator: "ytjmt" +date: 2023-03-30 11:00:00 +0000 +tags: security +lang: ja +--- + + +ReDoS 脆弱性のセキュリティ修正を含む、time gem 0.1.1、0.2.2 をリリースしました。 +この脆弱性は、[CVE-2023-28756](https://www.cve.org/CVERecord?id=CVE-2023-28756) として登録されています。 + +## 詳細 + +特定の文字を含む無効な文字列を Time のパーサーが誤って取り扱っていました。これにより、文字列を Time オブジェクトにパースする際の実行時間の増加を引き起こしていました。 + +ReDoS の問題は Time gem の 0.1.0、0.2.1 と Ruby 2.7.7 の Time ライブラリに見つかりました。 + +## 推奨する対応 + +time gem を 0.2.2 以降にアップデートすることを推奨します。古い系列の Ruby で同梱されているバージョンとの互換性を確保するためには、以下のようにアップデートできます: + +* Ruby 3.0: `time` を 0.1.1 にアップデート +* Ruby 3.1/3.2: `time` を 0.2.2 にアップデート + +`gem update time` でアップデートできます。もし bundler を使っている場合は、`Gemfile` に `gem "time", ">= 0.2.2"` を追加してください。 + +残念ながら、time gem は Ruby 3.0 以降でしか動作しません。もし Ruby 2.7 を使っている場合は、最新のバージョンの Ruby を利用してください。 + +## 影響を受けるバージョン + +* Ruby 2.7.7 以前 +* time gem 0.1.0 +* time gem 0.2.1 + +## クレジット + +この脆弱性情報は、[ooooooo_q](https://hackerone.com/ooooooo_q?type=user) 氏によって報告されました。 + +## 更新履歴 + +* 2023-03-30 20:00:00 (JST) 初版 From 2315ccc093ad9289fa050bf0516ad6e4d9ae4ad0 Mon Sep 17 00:00:00 2001 From: Guilherme Cruz Date: Tue, 4 Apr 2023 23:35:43 -0300 Subject: [PATCH 1917/2563] Translate CVE-2021-33621 HTTP response splitting in CGI news post (pt) (#2974) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Translate CVE-2021-33621 HTTP response splitting in CGI news post (pt) * Update pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md Co-authored-by: Júlio Campos * Update pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md Co-authored-by: Júlio Campos * Fixes some misleading translations --------- Co-authored-by: Júlio Campos --- ...esponse-splitting-in-cgi-cve-2021-33621.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md diff --git a/pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md new file mode 100644 index 0000000000..f6b05c6adb --- /dev/null +++ b/pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2021-33621: HTTP response splitting na CGI" +author: "mame" +translator: "guicruzzs" +date: 2022-11-22 02:00:00 +0000 +tags: security +lang: pt +--- + +Nós lançamos as versões da gem cgi 0.3.5, 0.2.2, e 0.1.0.2 que possuem uma correção de segurança para uma vulnerabilidade de HTTP response splitting. +Essa vulnerabilidade foi atribuída ao identificador [CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621). + +## Detalhes + +Se uma aplicação que gera respostas HTTP usando a gem cgi com uma entrada de dados não confiável do usuário, um atacante pode explorá-la injetando um body e/ou header malicioso na resposta HTTP. + +Também, os conteúdos de um objeto `CGI::Cookie` não eram verificados apropriadamente. Se uma aplicação cria um objeto `CGI::Cookie` baseado nos dados de entrada do usuário, um atacante pode explorá-lo para injetar atributos inválidos no cabeçalho `Set-Cookie`. Nós achamos tais aplicações indesejadas, mas incluímos uma alteração para verificar os argumentos em `CGI::Cookie#initialize` preventivamente. + +Por favor atualize a gem cgi para as versões 0.3.5, 0.2.2, e 0.1.0.2, ou maiores. Você pode usar `gem update cgi` para atualizá-la. +Se você está usando o bundler, por favor adicione `gem "cgi", ">= 0.3.5"` ao seu `Gemfile`. + +## Versões afetadas + +* gem cgi 0.3.3 ou anteriores +* gem cgi 0.2.1 ou anteriores +* gem cgi 0.1.1 ou 0.1.0.1 ou 0.1.0 + +## Créditos + +Obrigado ao [Hiroshi Tokumaru](https://hackerone.com/htokumaru?type=user) por descobrir essa issue. + +## Histórico + +* Originalmente publicado em 2022-11-22 02:00:00 (UTC) From 054e7825e41f624bc1b19136a76981e52f6d0bd2 Mon Sep 17 00:00:00 2001 From: Guilherme Cruz Date: Tue, 4 Apr 2023 23:48:39 -0300 Subject: [PATCH 1918/2563] Translate 2.7.7 released news post (pt) (#2972) * Translate 2.7.7 released news post (pt) * Update pt/news/_posts/2022-11-24-ruby-2-7-7-released.md --- .../_posts/2022-11-24-ruby-2-7-7-released.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 pt/news/_posts/2022-11-24-ruby-2-7-7-released.md diff --git a/pt/news/_posts/2022-11-24-ruby-2-7-7-released.md b/pt/news/_posts/2022-11-24-ruby-2-7-7-released.md new file mode 100644 index 0000000000..3c0de07d99 --- /dev/null +++ b/pt/news/_posts/2022-11-24-ruby-2-7-7-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Lançado Ruby 2.7.7 +"author: "usa" +translator: "guicruzzs" +date: 2022-11-24 12:00:00 +0000 +lang: pt +--- + +Ruby 2.7.7 foi lançado. + +Essa release inclui uma correção de segurança +Por favor verifique os tópicos abaixo para maiores detalhes. + +* [CVE-2021-33621: HTTP response splitting na CGI]({%link en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +Essa release também inclui algumas correções de problemas do build. Elas não devem afetar a compatibilidade com versões anteriores. +Veja os [logs de commit](https://github.com/ruby/ruby/compare/v2_7_6...v2_7_7) para mais detalhes. + +## Download + +{% assign release = site.data.releases | where: "version", "2.7.7" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentário da Release + +Muitos committers, desenvolvedores e usuários que forneceram bug reports ajudaram-nos a fazer esta release. +Obrigado por suas contribuições. From 0853a3ef75824fd6de8701bf7236ceb1df3f9731 Mon Sep 17 00:00:00 2001 From: Guilherme Cruz Date: Tue, 4 Apr 2023 23:49:08 -0300 Subject: [PATCH 1919/2563] Translate 3.0.5 released news post (pt) (#2969) * Translate 3.0.5 released news post (pt) * Fixes forgiven title on ruby 3.0.5 released post --- .../_posts/2022-11-24-ruby-3-0-5-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pt/news/_posts/2022-11-24-ruby-3-0-5-released.md diff --git a/pt/news/_posts/2022-11-24-ruby-3-0-5-released.md b/pt/news/_posts/2022-11-24-ruby-3-0-5-released.md new file mode 100644 index 0000000000..e473a0efd7 --- /dev/null +++ b/pt/news/_posts/2022-11-24-ruby-3-0-5-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Lançado Ruby 3.0.5" +author: "usa" +translator: "guicruzzs" +date: 2022-11-24 12:00:00 +0000 +lang: pt +--- + +Ruby 3.0.5 foi lançado. + +Essa release inclui uma correção de segurança. +Por favor verifique os tópicos abaixo para maiores detalhes. + +* [CVE-2021-33621: HTTP response splitting na CGI]({%link en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +Essa release também inclui algumas correções de bug. +Veja o [log de commits](https://github.com/ruby/ruby/compare/v3_0_4...v3_0_5) para maiores detalhes. + +## Download + +{% assign release = site.data.releases | where: "version", "3.0.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentário da Release + +Muitos committers, desenvolvedores, e usuários que forneceram bug reports ajudaram-nos a fazer esta release. +Obrigado por suas contribuições. + +A manutenção do Ruby 3.0, incluindo esta release, é baseada no "Acordo para a versão estável do Ruby" da Associação Ruby. From fdee00b6edcdb44bc0b4590687c85aab14ee901c Mon Sep 17 00:00:00 2001 From: Guilherme Cruz Date: Tue, 4 Apr 2023 23:52:35 -0300 Subject: [PATCH 1920/2563] Translate 3.1.3 released news post (pt) (#2963) --- .../_posts/2022-11-24-ruby-3-1-3-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pt/news/_posts/2022-11-24-ruby-3-1-3-released.md diff --git a/pt/news/_posts/2022-11-24-ruby-3-1-3-released.md b/pt/news/_posts/2022-11-24-ruby-3-1-3-released.md new file mode 100644 index 0000000000..43d1423cad --- /dev/null +++ b/pt/news/_posts/2022-11-24-ruby-3-1-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Lançado Ruby 3.1.3" +author: "nagachika" +translator: "guicruzzs" +date: 2022-11-24 12:00:00 +0000 +lang: pt +--- + +Ruby 3.1.3 foi lançado. + +Essa release inclui correções de segurança. +Por favor, verifique os tópicos abaixo para maiores detalhes. + +* [CVE-2021-33621: HTTP response splitting na CGI]({% link en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +Essa release também inclui uma correção para falhas no build com Xcode 14 e macOS 13 (Ventura). +Veja [o ticket relacionado](https://bugs.ruby-lang.org/issues/18912) para mais detalhes. + +Veja os [logs de commit](https://github.com/ruby/ruby/compare/v3_1_2...v3_1_3) para maiores detalhes. + +## Download + +{% assign release = site.data.releases | where: "version", "3.1.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentário da Release + +Muitos committers, desenvolvedores, e usuários que forneceram bug reports ajudaram-nos a fazer esta release. +Obrigado por suas contribuições. From 3068f91498fc3fd4c3d901596e5e1cd52415c5b4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 5 Apr 2023 12:02:17 +0900 Subject: [PATCH 1921/2563] Fixed syntax error --- pt/news/_posts/2022-11-24-ruby-2-7-7-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pt/news/_posts/2022-11-24-ruby-2-7-7-released.md b/pt/news/_posts/2022-11-24-ruby-2-7-7-released.md index 3c0de07d99..bf9e6c3f25 100644 --- a/pt/news/_posts/2022-11-24-ruby-2-7-7-released.md +++ b/pt/news/_posts/2022-11-24-ruby-2-7-7-released.md @@ -1,7 +1,7 @@ --- layout: news_post -title: "Lançado Ruby 2.7.7 -"author: "usa" +title: "Lançado Ruby 2.7.7" +author: "usa" translator: "guicruzzs" date: 2022-11-24 12:00:00 +0000 lang: pt From 271bfb75aeaf044ffb2586f7729a386b639c5b97 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 5 Apr 2023 12:08:58 +0900 Subject: [PATCH 1922/2563] Added dependabot update for GitHub Actions --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..b18fd29357 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'weekly' From 78792f1b1574adcadd84d3244d289befaa6f9631 Mon Sep 17 00:00:00 2001 From: Collin Donnell Date: Wed, 8 Mar 2023 15:52:35 -0800 Subject: [PATCH 1923/2563] Add Rooftop Ruby to the list of podcasts. --- en/community/podcasts/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/en/community/podcasts/index.md b/en/community/podcasts/index.md index d269bf388c..c43d982448 100644 --- a/en/community/podcasts/index.md +++ b/en/community/podcasts/index.md @@ -18,6 +18,10 @@ Listen to news, interviews, and discussions about Ruby and its community. : Virtual meetup turned podcast, Remote Ruby celebrates and highlights the Ruby community in an informal setting. +[Rooftop Ruby][rooftop_ruby] +: Collin and Joel discuss Ruby, software development, open source, career, + and a lot more together and with guests. + ### Getting Involved Podcast hosts are always looking for guests. If you have some Ruby @@ -25,6 +29,7 @@ wisdom to share, get in touch with the creators of these shows. You can also start your own Ruby podcast and get added to this list! +[rooftop_ruby]: https://rooftopruby.com [remote_ruby]: https://remoteruby.transistor.fm/ [rorpodcast]: https://www.therubyonrailspodcast.com [rogues]: https://rubyrogues.com From f05db51db22b200443ba828f2f062dc1fb89eca0 Mon Sep 17 00:00:00 2001 From: Collin Donnell Date: Thu, 9 Mar 2023 13:53:34 -0800 Subject: [PATCH 1924/2563] Update Rooftop Ruby URL to use www --- en/community/podcasts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/community/podcasts/index.md b/en/community/podcasts/index.md index c43d982448..f33dabbf85 100644 --- a/en/community/podcasts/index.md +++ b/en/community/podcasts/index.md @@ -29,7 +29,7 @@ wisdom to share, get in touch with the creators of these shows. You can also start your own Ruby podcast and get added to this list! -[rooftop_ruby]: https://rooftopruby.com +[rooftop_ruby]: https://www.rooftopruby.com [remote_ruby]: https://remoteruby.transistor.fm/ [rorpodcast]: https://www.therubyonrailspodcast.com [rogues]: https://rubyrogues.com From 9abc1b120754f29c7f767f240b6d56b859debb1b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:11:28 +0000 Subject: [PATCH 1925/2563] Bump actions/checkout from 3.1.0 to 3.5.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.5.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8...8f4b7f84864484a7bf31766abe9204da3cbe65b3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2e0063762..5cfca46b15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 with: fetch-depth: 1 - name: Setup Ruby From efdd642c5822b78b951f27e7beec466f9c5988f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:11:32 +0000 Subject: [PATCH 1926/2563] Bump ruby/setup-ruby from 1.126.0 to 1.146.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.126.0 to 1.146.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/c7079efafd956afb5d823e8999c2506e1053aefa...55283cc23133118229fd3f97f9336ee23a179fcf) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cfca46b15..bfe31cde21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@c7079efafd956afb5d823e8999c2506e1053aefa # v1.126.0 + uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true From aceda4d701e93744990f986337e45420d65c11ac Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 5 Apr 2023 12:02:40 +0900 Subject: [PATCH 1927/2563] update bundles --- Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 177b7459e7..22ffa7708b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,10 +1,10 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.1) + addressable (2.8.3) public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) - concurrent-ruby (1.2.0) + concurrent-ruby (1.2.2) crass (1.0.6) em-websocket (0.5.3) eventmachine (>= 0.12.9) @@ -49,13 +49,13 @@ GEM rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) mini_portile2 (2.8.1) - minitest (5.17.0) - nokogiri (1.14.0) + minitest (5.18.0) + nokogiri (1.14.2) mini_portile2 (~> 2.8.0) racc (~> 1.4) - nokogiri (1.14.0-arm64-darwin) + nokogiri (1.14.2-arm64-darwin) racc (~> 1.4) - nokogiri (1.14.0-x86_64-linux) + nokogiri (1.14.2-x86_64-linux) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) @@ -68,7 +68,7 @@ GEM rack-rewrite (1.5.1) rack-ssl (1.4.1) rack - raindrops (0.20.0) + raindrops (0.20.1) rake (13.0.6) rb-fsevent (0.11.2) rb-inotify (0.10.1) @@ -78,7 +78,7 @@ GEM safe_yaml (1.0.5) sassc (2.4.0) ffi (~> 1.9) - slop (4.9.3) + slop (4.10.1) spidr (0.7.0) nokogiri (~> 1.3) terminal-table (2.0.0) @@ -102,7 +102,7 @@ GEM json (>= 1.8) nokogiri (~> 1.6) rexml (~> 3.2) - webrick (1.7.0) + webrick (1.8.1) PLATFORMS arm64-darwin-22 From b52616c5aef04aade4dd4818eed10a1fe39c1ca3 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 5 Apr 2023 12:03:00 +0900 Subject: [PATCH 1928/2563] Use Ruby 3.2.2 --- .github/workflows/ci.yml | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfe31cde21..547303029a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - ruby: ["3.1"] + ruby: ["3.2"] os: [ubuntu-latest] fail-fast: false diff --git a/Gemfile b/Gemfile index cec6698372..b498b80c57 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source "https://rubygems.org" -ruby "~> 3.1.3" +ruby "~> 3.2.2" gem "rake" gem "jekyll", "~> 4.2.0" diff --git a/Gemfile.lock b/Gemfile.lock index 22ffa7708b..3a990c8aa2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -123,7 +123,7 @@ DEPENDENCIES validate-website (~> 1.6) RUBY VERSION - ruby 3.1.3p185 + ruby 3.2.2p53 BUNDLED WITH 2.3.26 From 5bcf3bd20a9ef8beaedbe2250b9399cf3c2d1b01 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 5 Apr 2023 12:03:14 +0900 Subject: [PATCH 1929/2563] Use Bundler 2.4.10 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 3a990c8aa2..a7c5fbfecd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -126,4 +126,4 @@ RUBY VERSION ruby 3.2.2p53 BUNDLED WITH - 2.3.26 + 2.4.10 From 8ba5eca78a123f5a7bafe09f1c3f62838c86df4e Mon Sep 17 00:00:00 2001 From: Guilherme Cruz Date: Wed, 5 Apr 2023 01:47:11 -0300 Subject: [PATCH 1930/2563] Translate 3.2.0 RC 1 news post (pt) (#2961) --- .../2022-12-06-ruby-3-2-0-rc1-released.md | 496 ++++++++++++++++++ 1 file changed, 496 insertions(+) create mode 100644 pt/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md diff --git a/pt/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md b/pt/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md new file mode 100644 index 0000000000..87353fa795 --- /dev/null +++ b/pt/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md @@ -0,0 +1,496 @@ +--- +layout: news_post +title: "Lançado Ruby 3.2.0 RC 1" +author: "naruse" +translator: "guicruzzs" +date: 2022-12-06 00:00:00 +0000 +lang: pt +--- + +{% assign release = site.data.releases | where: "version", "3.2.0-rc1" | first %} + +Estamos contentes em anunciar o lançamento do Ruby {{ release.version }}. Ruby 3.2 adds many features and performance improvements. + + +## Suporte a WebAssembly com WASI + +Esse é um port inicial de suporte a WebAssembly com WASI. Isso permite um binário CRuby ficar disponível num navegador Web, num ambiente Serverless Edge, ou em outros tipos de WebAssembly/WASI embedders. Atualmente esse port passa suítes de teste básica e bootstrap não utilizando a Thread API. + +![](https://i.imgur.com/opCgKy2.png) + +### Contexto + +[WebAssembly (Wasm)](https://webassembly.org/) foi originalmente introduzido para rodar programas seguramente e rápido em navegadores web. Mas seu objetivo - rodar programas eficientemente com segurança em ambiente variado - é desejado há muito tempo não somente para web, mas também para aplicações em geral. + +[WASI (The WebAssembly System Interface)](https://wasi.dev/) é projetado para tais casos de uso. Embora tais aplicações precisem se comunicar com os sistemas operacionais, WebAssembly roda numa máquina virtual que não possui uma interface com o sistema. WASI padroniza isso. + +O suporte a WebAssembly/WASI em Ruby pretende alavancar esses projetos. Isso permite aos desenvolvedores Ruby a escreverem aplicações que rodam em tais plataformas. + +### Caso de uso + +Esse suporte encoraja desenvolvedores a utilizarem CRuby em um ambiente WebAssembly. Um exemplo de caso de uso é o suporte a CRuby do [TryRuby playground](https://try.ruby-lang.org/playground/). Agora você pode testar o CRuby original no seu navegador web. + +### Questões técnicas + +O WASI e o WebAssembly de hoje estão com algumas funcionalidades faltando para implementar Fiber, exceção, e GC porque ainda estão evoluindo, e também por questões de segurança. Então o CRuby preenche essa lacuna através do Asyncify, que é uma técnica de transformação binária para controlar a execução na userland. + +Além disso, nós construímos [um VFS(sistema de arquivo virtual) em cima do WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby) assim nós podemos facilmente empacotar aplicações Ruby em um único arquivo .wasm. Isso torna a distribuição de aplicações Ruby um pouco mais fácil. + +### Links relacionados + +* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407) +* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9) + +## Melhorias em Regexp contra ReDoS + +Se sabe que o tempo de verificação de uma Regexp pode ser inesperadamente longo. Se seu código tenta verificar uma Regexp possivelmente ineficiente contra um input não confiável, um invasor pode explorar isso para uma eficiente Denial of Service (então chamada Regular expression DoS, ou ReDoS). + +Nós introduzimos duas melhoria que significantemente mitigam ReDoS. + +### Algoritmo de verificação de Regexp melhorado + +Desde o Ruby 3.2, o algoritmo de verificação de Regexp tem sido grandemente melhorado usando a técnica de memoization. + +``` +# Isso leva 10 seg. no Ruby 3.1, e 0.003 seg. no Ruby 3.2 + +/^a*b?a*$/ =~ "a" * 50000 + "x" +``` + +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_1.png) +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_2.png) + +O algoritmo melhorado de verificação permite que a maioria das verificações de Regexp (cerca de 90% em nossos experimentos) sejam completadas em tempo linear. + +(Para usuários da prévia: Essa otimização pode consumir memória proporcionalmente à entrada pra cada verificação. Nós esperamos que nenhum problema prático surja porque essa alocação de memória é normalmente atrasada, e uma Regexp normalmente deveria consumir no máximo 10 vezes mais que o comprimento do input. Se você ficar sem memória ao realizar verificações de Regexps numa aplicação do mundo real, por favor nos relate.) + +A proposta original é + +### Timeout de Regexp + +A otimização acima não pode ser aplicada a alguns tipos de expressões regulares, tais como aquelas que incluem funcionalidades avançadas (e.g., back-references ou look-around), ou com um grande número fixado de repetições. Como medida de fallback, uma funcionalidade de timeout na verificação de Regexp também é introduzida. + +```ruby +Regexp.timeout = 1.0 + +/^a*b?a*()\1$/ =~ "a" * 50000 + "x" +#=> Regexp::TimeoutError é devolvido em um segundo +``` + +Perceba que `Regexp.timeout` é uma configuração global. Se deseja usar uma configuração diferente de timeout pra alguma Regexp em especial, você pode usar a chave `timeout` no `Regexp.new`. + +```ruby +Regexp.timeout = 1.0 + +# Essa regexp não possui timeout +long_time_re = Regexp.new('^a*b?a*()\1$', timeout: Float::INFINITY) + +long_time_re =~ "a" * 50000 + "x" # nunca é interrompida +``` + +A proposta original é . + +## Outras Novas Funcionalidades Notórias + +### SyntaxSuggest + +* A funcionalidade de `syntax_suggest` (anteriormente `dead_end`) está integrada ao Ruby. Isso ajuda você a encontrar a posição dos erros tais como `end`s faltantes ou supérfluos, pra te trazer de volta ao seu caminho mais rapidamente, assim com o exemplo a seguir: + + ``` + Unmatched `end', missing keyword (`do', `def`, `if`, etc.) ? + + 1 class Dog + > 2 defbark + > 3 end + 4 end + ``` + + [[Feature #18159]] + + +### ErrorHighlight + +* Agora ele aponta aos argumentos relevantes para TypeError e ArgumentError + +``` +test.rb:2:in `+': nil can't be coerced into Integer (TypeError) + +sum = ary[0] + ary[1] + ^^^^^^ +``` + +### Linguagem + +* Argumentos rest anônimos e palavra-chave rest agora podem ser passados como + argumentos, em vez de serem usados apenas em parâmetros do método. + [[Feature #18351]] + + ```ruby + def foo(*) + bar(*) + end + def baz(**) + quux(**) + end + ``` + +* Uma proc que aceita um único argumento posicional e palavras-chave não + irá mais autosplat. [[Bug #18633]] + + ```ruby + proc{|a, **k| a}.call([1, 2]) + # Ruby 3.1 e antes + # => 1 + # Ruby 3.2 e depois + # => [1, 2] + ``` + +* A ordem de avaliação de atribuição da constante para constantes + definidas em objetos explícitos tornou-se consistente com a ordem de avaliação + de atribuição de atributo único. Com esse código: + + ```ruby + foo::BAR = baz + ``` + + `foo` agora é chamado antes de `baz`. Similarmente, para múltiplas atribuições + para constantes a ordem esquerda-para-direita é usada. Com esse código: + + ```ruby + foo1::BAR1, foo2::BAR2 = baz1, baz2 + ``` + + A seguinte ordem de avaliação agora é utilizada: + + 1. `foo1` + 2. `foo2` + 3. `baz1` + 4. `baz2` + + [[Bug #15928]] + +* O find pattern não é mais experimental. + [[Feature #18585]] + +* Métodos recebendo um parâmetro rest (como `*args`) e desejando delegar argumentos + de palavra-chave através de `foo(*args)` devem agora serem marcados com `ruby2_keywords` + (se ainda não for o caso). Em outras palavras, todos métodos que desejam delegar + argumentos de palavras-chave através do `*args` devem agora serem marcados com + `ruby2_keywords`, sem exceção. Isso fará mais fácil a transição para outras formas + de delegação uma vez que uma biblioteca requira Ruby 3+. Anteriormente, a flag + `ruby2_keywords` foi mantida se o método recebedor levava `*args`, mas isso era + um bug de inconsistência. Uma boa técnica pra encontrar potenciais `ruby2_keywords` + faltantes é rodar a suíte de testes, encontrar o último método que deve receber + argumentos para cada lugar onte a suíte de teste falha, e usar `puts nil, caller, nil` + lá. Então verifique que cada método/bloco da cadeia de chamada que deve delegar + palavras-chave está corretamente marcado com `ruby2_keywords`. [[Bug #18625]] [[Bug #16466]] + + ```ruby + def target(**kw) + end + + # Acidentalmente funcionou sem ruby2_keywords no Ruby 2.7-3.1, ruby2_keywords + # é necessário em 3.2+. Assim como (*args, **kwargs) ou (...) seriam necessários + # em #foo e #bar quando migrar de ruby2_keywords. + ruby2_keywords def bar(*args) + target(*args) + end + + ruby2_keywords def foo(*args) + bar(*args) + end + + foo(k: 1) + ``` + +## Melhorias de desempenho + +### YJIT + +* YJIT agora suporta x86-64 e arm64/aarch64 CPUs no Linux, MacOS, BSD e outras plataformas UNIX. + * Essa release trás suporte para os processadores Mac M1/M2, AWS Graviton e Raspberry Pi 4 ARM64. +* O build do YJIT agora requer Rust 1.58.0+. [[Feature #18481]] + * Para garantir que CRuby seja buildado com YJIT, por favor instale rustc >= 1.58.0 e + rode `./configure` com `--enable-yjit`. + * Por favor entre em contato com o time do YJITP caso tenha qualquer problema. +* Memória física para o código JIT é alocada de forma lazy. Diferente do Ruby 3.1, + o RSS de um processo Ruby é minimizado por conta das páginas de memória virtual + alocadas por `--yjit-exec-mem-size` que não serão mapeadas para páginas de memória + física até que sejam utilizadas pelo código JIT. + * Introduz GC(Garbage collector) que libera todas as páginas de código quando o + consumo de memória do código JIT atinge `--yjit-exec-mem-size`. + * `RubyVM::YJIT.runtime_stats` retorna métricas do GC além das chaves existentes + em `inline_code_size` e `outlined_code_size`: + `code_gc_count`, `live_page_count`, `freed_page_count`, e `freed_code_size`. +* A maioria das estastísticas produzidas por RubyVM::YJIT.runtime_stats estão agora disponíveis nas release builds. + * Simplesmente rode ruby com `--yjit-stats` para calcular e obter estatísticas + (fica sujeito a sobrecarga de tempo de execução). +* YJIT agora está otimizado para tirar vantagem de formatos de objetos. [[Feature #18776]] +* Tira vantagem de invalidação de constantes de forma mais granular para invalidar menos código ao definir novas constantes. [[Feature #18589]] + +### MJIT + +* O compilador MJIT está reimplementado em Ruby como uma bilioteca padrão `mjit`. +* O compilador MJIT é executado sob um processo fork ao invés de + fazer isso em uma thread nativa chamada worker MJIT. [[Feature #18968]] + * Como resultado, Microsoft Visual Studio (MSWIN) não é mais suportado. +* MinGW não é mais suportado. [[Feature #18824]] +* Renomeado `--mjit-min-calls` para `--mjit-call-threshold`. +* Mudado valor padrão `--mjit-max-cache` de 10000 para 100. + +### PubGrub + +* Bundler 2.4 agora utiliza o resolvedor de versão [PubGrub](https://github.com/jhawthorn/pub_grub) ao invés de [Molinillo](https://github.com/CocoaPods/Molinillo). + + * PubGrub é a próxima geração de algoritmo resolvedor utilizado pelo gerenciador de pacote `pub` da linguagem de programação Dart. + * Você pode obter um resultado de resolução de versões diferentes depois dessa mudança. Por favor relate tais casos para [RubyGems/Bundler issues](https://github.com/rubygems/rubygems/issues) + +* RubyGems ainda utiliza o resolvedor Molinillo no Ruby 3.2. Nós planejamos trocá-lo pelo PubGrub no futuro. + +## Other notable changes since 3.1 + +* Hash + * Hash#shift agora sempre retorna nil se o hash está + vazio, ao invés de retornar o valor padrão ou chamar + a proc padrão. [[Bug #16908]] + +* MatchData + * MatchData#byteoffset foi adicionado. [[Feature #13110]] + +* Module + * Module.used_refinements foi adicionado. [[Feature #14332]] + * Module#refinements foi adicionado. [[Feature #12737]] + * Module#const_added foi adicionado. [[Feature #17881]] + +* Proc + * Proc#dup retorna uma instância da subclasse. [[Bug #17545]] + * Proc#parameters agora aceita a palavra-chave lambda. [[Feature #15357]] + +* Refinement + * Refinement#refined_class foi adicionado. [[Feature #12737]] + +* RubyVM::AbstractSyntaxTree + * Adicionada opção `error_tolerant` para `parse`, `parse_file` e `of`. [[Feature #19013]] + +* Set + * Set agora está disponível como uma classe builtin sem necessidade de `require "set"`. [[Feature #16989]] + Ela está atualmente autoloaded via constante `Set` ou chamada em `Enumerable#to_set`. + +* String + * String#byteindex e String#byterindex foram adicionados. [[Feature #13110]] + * Atualizado Unicode para Versão 15.0.0 e Emoji Versão 15.0. [[Feature #18639]] + (também aplicado para Regexp) + * String#bytesplice foi adicionado. [[Feature #18598]] + +* Struct + * Uma classe Struct pode também ser inicializada com argumentos de palavras-chave + sem `keyword_init: true` em `Struct.new` [[Feature #16806]] + +## Issues de compatibilidade + +Nota: Excluindo correção de bugs de funcionalidades. + +### Constantes removidas + +As seguintes constantes obsoletas foram removidas. + +* `Fixnum` e `Bignum` [[Feature #12005]] +* `Random::DEFAULT` [[Feature #17351]] +* `Struct::Group` +* `Struct::Passwd` + +### Métodos removidos + +Os seguintes métodos obsoletos foram removidos. + +* `Dir.exists?` [[Feature #17391]] +* `File.exists?` [[Feature #17391]] +* `Kernel#=~` [[Feature #15231]] +* `Kernel#taint`, `Kernel#untaint`, `Kernel#tainted?` + [[Feature #16131]] +* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?` + [[Feature #16131]] + +### Não empacota mais código fonte de terceiros + +* Nós não empacotamos mais código fonte de terceiro como `libyaml`, `libffi`. + + * O código fonte do libyaml foi removido do psych. Você pode precisar instalar + `libyaml-dev` na plataforma Ubuntu/Debian. O nome do pacote é diferente pra cada + plataforma. + + * O código fonte empacotado do libffi também foi removido do `fiddle` + +* Psych e fiddle suportaram builds estáticos com versões específicas dos fontes de libyaml e libffi. Você pode rodar o build do psych com libyaml-0.2.5 assim: + + ```bash + $ ./configure --with-libyaml-source-dir=/path/to/libyaml-0.2.5 + ``` + + E você pode rodar o build do fiddle com libffi-3.4.4 assim: + + ```bash + $ ./configure --with-libffi-source-dir=/path/to/libffi-3.4.4 + ``` + + [[Feature #18571]] + +## Atualizações da API de C + +### APIs de C atualizadas + +As seguintes APIs foram atualizadas. + +* Atualização do PRNG + * `rb_random_interface_t` atualizado e versionado. + Bibliotecas de extensão que usam essa interface e buildadas para versões antigas. + E também a função `init_int32` precisa ser definida. + +### APIs de C removidas + +As seguintes APIs se tornaram obsoletas e foram removidas. + +* Variável `rb_cData`. +* Funções "taintedness" e "trustedness". [[Feature #16131]] + +## Atualizações da biblioteca padrão + +* As seguintes gems padrão foram atualizadas. + * RubyGems 3.4.0.dev + * benchmark 0.2.1 + * bigdecimal 3.1.3 + * bundler 2.4.0.dev + * cgi 0.3.6 + * date 3.3.0 + * delegate 0.3.0 + * did_you_mean 1.6.2 + * digest 3.1.1 + * drb 2.1.1 + * erb 4.0.2 + * error_highlight 0.5.1 + * etc 1.4.1 + * fcntl 1.0.2 + * fiddle 1.1.1 + * fileutils 1.7.0 + * forwardable 1.3.3 + * getoptlong 0.2.0 + * io-console 0.5.11 + * io-nonblock 0.2.0 + * io-wait 0.3.0.pre + * ipaddr 1.2.5 + * irb 1.5.1 + * json 2.6.2 + * logger 1.5.2 + * mutex_m 0.1.2 + * net-http 0.3.1 + * net-protocol 0.2.0 + * nkf 0.1.2 + * open-uri 0.3.0 + * openssl 3.1.0.pre + * optparse 0.3.0 + * ostruct 0.5.5 + * pathname 0.2.1 + * pp 0.4.0 + * pstore 0.1.2 + * psych 5.0.0 + * racc 1.6.1 + * rdoc 6.5.0 + * reline 0.3.1 + * resolv 0.2.2 + * securerandom 0.2.1 + * set 1.0.3 + * stringio 3.0.3 + * syntax_suggest 1.0.1 + * timeout 0.3.1 + * tmpdir 0.1.3 + * tsort 0.1.1 + * un 0.2.1 + * uri 0.12.0 + * win32ole 1.8.9 + * zlib 3.0.0 +* As seguintes gems empacotadas foram atualizadas. + * minitest 5.16.3 + * power_assert 2.0.2 + * test-unit 3.5.5 + * net-ftp 0.2.0 + * net-imap 0.3.1 + * net-pop 0.1.2 + * net-smtp 0.3.3 + * rbs 2.8.1 + * typeprof 0.21.3 + * debug 1.7.0 + +Veja [NOVIDADES](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +ou [commit logs](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}) +para mais detalhes. + +Com estas mudanças, [{{ release.stats.files_changed }} arquivos mudados, {{ release.stats.insertions }} inserções(+), {{ release.stats.deletions }} remoções(-)](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}#file_bucket) +desde o Ruby 3.1.0! + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby foi primeiramente desenvolvido por Matz (Yukihiro Matsumoto) em 1993 +e agora é desenvolvido como Open Source. Ele roda em múltiplas plataformas +e é usado em todo o mundo, especialmente para desenvolvimento web. + + + +[Feature #12005]: https://bugs.ruby-lang.org/issues/12005 +[Feature #12655]: https://bugs.ruby-lang.org/issues/12655 +[Feature #12737]: https://bugs.ruby-lang.org/issues/12737 +[Feature #13110]: https://bugs.ruby-lang.org/issues/13110 +[Feature #14332]: https://bugs.ruby-lang.org/issues/14332 +[Feature #15231]: https://bugs.ruby-lang.org/issues/15231 +[Feature #15357]: https://bugs.ruby-lang.org/issues/15357 +[Bug #15928]: https://bugs.ruby-lang.org/issues/15928 +[Feature #16131]: https://bugs.ruby-lang.org/issues/16131 +[Bug #16466]: https://bugs.ruby-lang.org/issues/16466 +[Feature #16806]: https://bugs.ruby-lang.org/issues/16806 +[Bug #16889]: https://bugs.ruby-lang.org/issues/16889 +[Bug #16908]: https://bugs.ruby-lang.org/issues/16908 +[Feature #16989]: https://bugs.ruby-lang.org/issues/16989 +[Feature #17351]: https://bugs.ruby-lang.org/issues/17351 +[Feature #17391]: https://bugs.ruby-lang.org/issues/17391 +[Bug #17545]: https://bugs.ruby-lang.org/issues/17545 +[Feature #17881]: https://bugs.ruby-lang.org/issues/17881 +[Feature #18639]: https://bugs.ruby-lang.org/issues/18639 +[Feature #18159]: https://bugs.ruby-lang.org/issues/18159 +[Feature #18351]: https://bugs.ruby-lang.org/issues/18351 +[Feature #18481]: https://bugs.ruby-lang.org/issues/18481 +[Bug #18487]: https://bugs.ruby-lang.org/issues/18487 +[Feature #18571]: https://bugs.ruby-lang.org/issues/18571 +[Feature #18585]: https://bugs.ruby-lang.org/issues/18585 +[Feature #18589]: https://bugs.ruby-lang.org/issues/18589 +[Feature #18598]: https://bugs.ruby-lang.org/issues/18598 +[Bug #18625]: https://bugs.ruby-lang.org/issues/18625 +[Bug #18633]: https://bugs.ruby-lang.org/issues/18633 +[Feature #18685]: https://bugs.ruby-lang.org/issues/18685 +[Feature #18776]: https://bugs.ruby-lang.org/issues/18776 +[Bug #18782]: https://bugs.ruby-lang.org/issues/18782 +[Feature #18788]: https://bugs.ruby-lang.org/issues/18788 +[Feature #18809]: https://bugs.ruby-lang.org/issues/18809 +[Bug #19100]: https://bugs.ruby-lang.org/issues/19100 +[Bug #19013]: https://bugs.ruby-lang.org/issues/19013 From b5235c0921fbe36dd7456a752d09a6aa28c90076 Mon Sep 17 00:00:00 2001 From: Guilherme Cruz Date: Wed, 5 Apr 2023 01:47:31 -0300 Subject: [PATCH 1931/2563] Translate Ruby 3.2.0 released news post (pt) (#2954) * Translate Ruby 3.2.0 released news post (pt) * Fixes missing version --- .../_posts/2022-12-25-ruby-3-2-0-released.md | 672 ++++++++++++++++++ 1 file changed, 672 insertions(+) create mode 100644 pt/news/_posts/2022-12-25-ruby-3-2-0-released.md diff --git a/pt/news/_posts/2022-12-25-ruby-3-2-0-released.md b/pt/news/_posts/2022-12-25-ruby-3-2-0-released.md new file mode 100644 index 0000000000..d5d245c37d --- /dev/null +++ b/pt/news/_posts/2022-12-25-ruby-3-2-0-released.md @@ -0,0 +1,672 @@ +--- +layout: news_post +title: "Lançado Ruby 3.2.0" +author: "naruse" +translator: "guicruzzs" +date: 2022-12-25 00:00:00 +0000 +lang: pt +--- + +{% assign release = site.data.releases | where: "version", "3.2.0" | first %} + +Estamos contentes em anunciar o lançamento do Ruby {{ release.version }}. Ruby 3.2 adiciona muitas funcionalidades e melhorias de desempenho. + +## Suporte a WebAssembly com WASI + +Esse é um port inicial de suporte a WebAssembly com WASI. Isso permite um binário CRuby ficar disponível num navegador Web, num ambiente Serverless Edge, ou em outros tipos de WebAssembly/WASI embedders. Atualmente esse port passa suítes de teste básica e bootstrap não utilizando a Thread API. + +![](https://i.imgur.com/opCgKy2.png) + +### Contexto + +[WebAssembly (Wasm)](https://webassembly.org/) foi originalmente introduzido para rodar programas seguramente e rápido em navegadores web. Mas seu objetivo - rodar programas eficientemente com segurança em ambiente variado - é desejado há muito tempo não somente para web, mas também para aplicações em geral. + +[WASI (The WebAssembly System Interface)](https://wasi.dev/) é projetado para tais casos de uso. Embora tais aplicações precisem se comunicar com os sistemas operacionais, WebAssembly roda numa máquina virtual que não possui uma interface com o sistema. WASI padroniza isso. + +O suporte a WebAssembly/WASI em Ruby pretende alavancar esses projetos. Isso permite aos desenvolvedores Ruby a escreverem aplicações que rodam em tais plataformas. + +### Caso de uso + +Esse suporte encoraja desenvolvedores a utilizarem CRuby em um ambiente WebAssembly. Um exemplo de caso de uso é o suporte a CRuby do [TryRuby playground](https://try.ruby-lang.org/playground/). Agora você pode testar o CRuby original no seu navegador web. + +### Questões técnicas + +O WASI e o WebAssembly de hoje estão com algumas funcionalidades faltando para implementar Fiber, exceção, e GC porque ainda estão evoluindo, e também por questões de segurança. Então o CRuby preenche essa lacuna através do Asyncify, que é uma técnica de transformação binária para controlar a execução na userland. + +Além disso, nós construímos [um VFS(sistema de arquivo virtual) em cima do WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby) assim nós podemos facilmente empacotar aplicações Ruby em um único arquivo .wasm. Isso torna a distribuição de aplicações Ruby um pouco mais fácil. + +### Links relacionados + +* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407) +* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9) + + +## YJIT em Produção + +![](https://i.imgur.com/X9ulfac.png) + +* YJIT não é mais experimental + * Foi testado em cargas de produção por um ano e provou ser bastante estável. +* YJIT agora suporta x86-64 e arm64/aarch64 CPUs no Linux, MacOS, BSD e outras plataformas UNIX. + * Essa release traz suporte para Apple M1/M2, AWS Graviton, Raspberry Pi 4 e mais. +* O build do YJIT agora requer Rust 1.58.0+. [[Feature #18481]] + * Para garantir que CRuby seja buildado com YJIT, por favor instale `rustc` >= 1.58.0 + antes de rodar o script `./configure`. + * Por favor entre em contato com o time do YJITP caso tenha qualquer problema. +* A release 3.2 do YJIT é mais rápida que a 3.1, e tem cerca de 1/3 de sobrecarga de memória. + * No geral, YJIT é 41% mais rápido (média geométrica) que o interpretador Ruby em [yjit-bench](https://github.com/Shopify/yjit-bench). + * Memória física para o código JIT é alocada de forma lazy. Diferente do Ruby 3.1, + o RSS de um processo Ruby é minimizado por conta das páginas de memória virtual + alocadas por `--yjit-exec-mem-size` que não serão mapeadas para páginas de memória + física até que sejam utilizadas pelo código JIT. + * Introduz GC(Garbage collector) que libera todas as páginas de código quando o + consumo de memória do código JIT atinge `--yjit-exec-mem-size`. + * `RubyVM::YJIT.runtime_stats` retorna métricas do GC além das chaves existentes + em `inline_code_size` e `outlined_code_size`: + `code_gc_count`, `live_page_count`, `freed_page_count`, e `freed_code_size`. +* A maioria das estastísticas produzidas por `RubyVM::YJIT.runtime_stats` estão agora disponíveis nas release builds. + * Simplesmente rode ruby com `--yjit-stats` para calcular e obter estatísticas + (fica sujeito a sobrecarga de tempo de execução). +* YJIT agora está otimizado para tirar vantagem de formatos de objetos. [[Feature #18776]] +* Tira vantagem de invalidação de constantes de forma mais granular para invalidar menos código ao definir novas constantes. [[Feature #18589]] +* O valor padrão de `--yjit-exec-mem-size` é alterado para 64 (MiB). +* O valor padrão de `--yjit-call-threshold` é alterado para 30. + +## Melhorias em Regexp contra ReDoS + +Se sabe que o tempo de verificação de uma Regexp pode ser inesperadamente longo. Se seu código tenta verificar uma Regexp possivelmente ineficiente contra um input não confiável, um invasor pode explorar isso para uma eficiente Denial of Service (então chamada Regular expression DoS, ou ReDoS). + +Nós introduzimos duas melhoria que significantemente mitigam ReDoS. + +### Algoritmo de verificação de Regexp melhorado + +Desde o Ruby 3.2, o algoritmo de verificação de Regexp tem sido grandemente melhorado usando a técnica de memoization. + +``` +# Isso leva 10 seg. no Ruby 3.1, e 0.003 seg. no Ruby 3.2 + +/^a*b?a*$/ =~ "a" * 50000 + "x" +``` + +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_1.png) +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_2.png) + +O algoritmo melhorado de verificação permite que a maioria das verificações de Regexp (cerca de 90% em nossos experimentos) sejam completadas em tempo linear. + +Essa otimização pode consumir memória proporcionalmente à entrada pra cada verificação. Nós esperamos que nenhum problema prático surja porque essa alocação de memória é normalmente atrasada, e uma Regexp normalmente deveria consumir no máximo 10 vezes mais que o comprimento do input. Se você ficar sem memória ao realizar verificações de Regexps numa aplicação do mundo real, por favor nos relate. + +A proposta original é + +### Timeout de Regexp + +A otimização acima não pode ser aplicada a alguns tipos de expressões regulares, tais como aquelas que incluem funcionalidades avançadas (e.g., back-references ou look-around), ou com um grande número fixado de repetições. Como medida de fallback, uma funcionalidade de timeout na verificação de Regexp também é introduzida. + +```ruby +Regexp.timeout = 1.0 + +/^a*b?a*()\1$/ =~ "a" * 50000 + "x" +#=> Regexp::TimeoutError é devolvido em um segundo +``` + +Perceba que `Regexp.timeout` é uma configuração global. Se deseja usar uma configuração diferente de timeout pra alguma Regexp em especial, você pode usar a chave `timeout` no `Regexp.new`. + +```ruby +Regexp.timeout = 1.0 + +# Essa regexp não possui timeout +long_time_re = Regexp.new('^a*b?a*()\1$', timeout: Float::INFINITY) + +long_time_re =~ "a" * 50000 + "x" # nunca é interrompida +``` + +A proposta original é . + +## Outras Novas Funcionalidades Notórias + +### SyntaxSuggest + +* A funcionalidade de `syntax_suggest` (anteriormente `dead_end`) está integrada ao Ruby. Isso ajuda você a encontrar a posição dos erros tais como `end`s faltantes ou supérfluos, pra te trazer de volta ao seu caminho mais rapidamente, assim com o exemplo a seguir: + + ``` + Unmatched `end', missing keyword (`do', `def`, `if`, etc.) ? + + 1 class Dog + > 2 defbark + > 3 end + 4 end + ``` + + [[Feature #18159]] + + +### ErrorHighlight + +* Agora ele aponta aos argumentos relevantes para TypeError e ArgumentError + +``` +test.rb:2:in `+': nil can't be coerced into Integer (TypeError) + +sum = ary[0] + ary[1] + ^^^^^^ +``` + +### Linguagem + +* Argumentos rest anônimos e palavra-chave rest agora podem ser passados como + argumentos, em vez de serem usados apenas em parâmetros do método. + [[Feature #18351]] + + ```ruby + def foo(*) + bar(*) + end + def baz(**) + quux(**) + end + ``` + +* Uma proc que aceita um único argumento posicional e palavras-chave não + irá mais autosplat. [[Bug #18633]] + + ```ruby + proc{|a, **k| a}.call([1, 2]) + # Ruby 3.1 e antes + # => 1 + # Ruby 3.2 e depois + # => [1, 2] + ``` + +* A ordem de avaliação de atribuição da constante para constantes + definidas em objetos explícitos tornou-se consistente com a ordem de avaliação + de atribuição de atributo único. Com esse código: + + ```ruby + foo::BAR = baz + ``` + + `foo` agora é chamado antes de `baz`. Similarmente, para múltiplas atribuições + para constantes a ordem esquerda-para-direita é usada. Com esse código: + + ```ruby + foo1::BAR1, foo2::BAR2 = baz1, baz2 + ``` + + A seguinte ordem de avaliação agora é utilizada: + + 1. `foo1` + 2. `foo2` + 3. `baz1` + 4. `baz2` + + [[Bug #15928]] + +* O find pattern não é mais experimental. + [[Feature #18585]] + +* Métodos recebendo um parâmetro rest (como `*args`) e desejando delegar argumentos + de palavra-chave através de `foo(*args)` devem agora serem marcados com `ruby2_keywords` + (se ainda não for o caso). Em outras palavras, todos métodos que desejam delegar + argumentos de palavras-chave através do `*args` devem agora serem marcados com + `ruby2_keywords`, sem exceção. Isso fará mais fácil a transição para outras formas + de delegação uma vez que uma biblioteca requira Ruby 3+. Anteriormente, a flag + `ruby2_keywords` foi mantida se o método recebedor levava `*args`, mas isso era + um bug de inconsistência. Uma boa técnica pra encontrar potenciais `ruby2_keywords` + faltantes é rodar a suíte de testes, encontrar o último método que deve receber + argumentos para cada lugar onte a suíte de teste falha, e usar `puts nil, caller, nil` + lá. Então verifique que cada método/bloco da cadeia de chamada que deve delegar + palavras-chave está corretamente marcado com `ruby2_keywords`. [[Bug #18625]] [[Bug #16466]] + + ```ruby + def target(**kw) + end + + # Acidentalmente funcionou sem ruby2_keywords no Ruby 2.7-3.1, ruby2_keywords + # é necessário em 3.2+. Assim como (*args, **kwargs) ou (...) seriam necessários + # em #foo e #bar quando migrar de ruby2_keywords. + ruby2_keywords def bar(*args) + target(*args) + end + + ruby2_keywords def foo(*args) + bar(*args) + end + + foo(k: 1) + ``` + +## Melhorias de desempenho + +### MJIT + +* O compilador MJIT está reimplementado em Ruby como `ruby_vm/mjit/compiler`. +* O compilador MJIT é executado sob um processo fork ao invés de + fazer isso em uma thread nativa chamada worker MJIT. [[Feature #18968]] + * Como resultado, Microsoft Visual Studio (MSWIN) não é mais suportado. +* MinGW não é mais suportado. [[Feature #18824]] +* Renomeado `--mjit-min-calls` para `--mjit-call-threshold`. +* Mudado valor padrão `--mjit-max-cache` de 10000 para 100. + +### PubGrub + +* Bundler 2.4 agora utiliza o resolvedor de versão [PubGrub](https://github.com/jhawthorn/pub_grub) ao invés de [Molinillo](https://github.com/CocoaPods/Molinillo). + + * PubGrub é a próxima geração de algoritmo resolvedor utilizado pelo gerenciador de pacote `pub` da linguagem de programação Dart. + * Você pode obter um resultado de resolução de versões diferentes depois dessa mudança. Por favor relate tais casos para [RubyGems/Bundler issues](https://github.com/rubygems/rubygems/issues) + +* RubyGems ainda utiliza o resolvedor Molinillo no Ruby 3.2. Nós planejamos trocá-lo pelo PubGrub no futuro. + +## Outras mudanças notórias desde 3.1 + +* Data + * Nova classe core para representar objetos de valor imutável simples. A classe + é similar à Struct e parcialmente compartilha uma implementação, mas tem API + mais estrita e enxuta. [[Feature #16122]] + + ```ruby + Measure = Data.define(:amount, :unit) + distance = Measure.new(100, 'km') #=> # + weight = Measure.new(amount: 50, unit: 'kg') #=> # + weight.with(amount: 40) #=> # + weight.amount #=> 50 + weight.amount = 40 #=> NoMethodError: undefined method `amount=' + ``` + +* Hash + * `Hash#shift` agora sempre retorna nil se o hash está + vazio, ao invés de retornar o valor padrão ou chamar + a proc padrão. [[Bug #16908]] + +* MatchData + * `MatchData#byteoffset` foi adicionado. [[Feature #13110]] + +* Module + * `Module.used_refinements` foi adicionado. [[Feature #14332]] + * `Module#refinements` foi adicionado. [[Feature #12737]] + * `Module#const_added` foi adicionado. [[Feature #17881]] + +* Proc + * `Proc#dup` retorna uma instância da subclasse. [[Bug #17545]] + * `Proc#parameters` agora aceita a palavra-chave lambda. [[Feature #15357]] + +* Refinement + * `Refinement#refined_class` foi adicionado. [[Feature #12737]] + +* RubyVM::AbstractSyntaxTree + * Adicionada opção `error_tolerant` para `parse`, `parse_file` e `of`. [[Feature #19013]] + Com essa opção + 1. SyntaxError é suprimido + 2. AST é retornada por input inválido + 3. `end` é complementado quando um parser alcança o fim do input, mas o `end` é insuficiente + 4. `end` é tratado como palavra-chave baseado na indentação + + ```ruby + # Sem opção error_tolerant + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY) + def m + a = 10 + if + end + RUBY + # => :33:in `parse': syntax error, unexpected `end' (SyntaxError) + + # Com opção error_tolerant + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY, error_tolerant: true) + def m + a = 10 + if + end + RUBY + p root # => # + + # `end` é tratado como palavra-chave baseado na indentação + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY, error_tolerant: true) + module Z + class Foo + foo. + end + + def bar + end + end + RUBY + p root.children[-1].children[-1].children[-1].children[-2..-1] + # => [#, #] + ``` + + * Adiciona opção `keep_tokens` para `parse`, `parse_file` e `of`. [[Feature #19070]] + + ```ruby + root = RubyVM::AbstractSyntaxTree.parse("x = 1 + 2", keep_tokens: true) + root.tokens # => [[0, :tIDENTIFIER, "x", [1, 0, 1, 1]], [1, :tSP, " ", [1, 1, 1, 2]], ...] + root.tokens.map{_1[2]}.join # => "x = 1 + 2" + ``` + +* Set + * Set agora está disponível como uma classe builtin sem necessidade de `require "set"`. [[Feature #16989]] + Ela está atualmente autoloaded via constante `Set` ou chamada em `Enumerable#to_set`. + +* String + * `String#byteindex` e `String#byterindex` foram adicionados. [[Feature #13110]] + * Atualizado Unicode para Versão 15.0.0 e Emoji Versão 15.0. [[Feature #18639]] + (também aplicado para Regexp) + * `String#bytesplice` foi adicionado. [[Feature #18598]] + +* Struct + * Uma classe Struct pode também ser inicializada com argumentos de palavras-chave + sem `keyword_init: true` em `Struct.new` [[Feature #16806]] + + ```ruby + Post = Struct.new(:id, :name) + Post.new(1, "hello") #=> # + # Do Ruby 3.2, o seguinte código também funciona sem keyword_init: true. + Post.new(id: 1, name: "hello") #=> # + ``` + +## Issues de compatibilidade + +Nota: Excluindo correção de bugs de funcionalidades. + +### Constantes removidas + +As seguintes constantes obsoletas foram removidas. + +* `Fixnum` e `Bignum` [[Feature #12005]] +* `Random::DEFAULT` [[Feature #17351]] +* `Struct::Group` +* `Struct::Passwd` + +### Métodos removidos + +Os seguintes métodos obsoletos foram removidos. + +* `Dir.exists?` [[Feature #17391]] +* `File.exists?` [[Feature #17391]] +* `Kernel#=~` [[Feature #15231]] +* `Kernel#taint`, `Kernel#untaint`, `Kernel#tainted?` + [[Feature #16131]] +* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?` + [[Feature #16131]] + +## Issues de compatibilidade na Stdlib + +### Não empacota mais código fonte de terceiros + +* Nós não empacotamos mais código fonte de terceiro como `libyaml`, `libffi`. + + * O código fonte do libyaml foi removido do psych. Você pode precisar instalar + `libyaml-dev` na plataforma Ubuntu/Debian. O nome do pacote é diferente pra cada + plataforma. + + * O código fonte empacotado do libffi também foi removido do `fiddle` + +* Psych e fiddle suportaram builds estáticos com versões específicas dos fontes de libyaml e libffi. Você pode rodar o build do psych com libyaml-0.2.5 assim: + + ```bash + $ ./configure --with-libyaml-source-dir=/path/to/libyaml-0.2.5 + ``` + + E você pode rodar o build do fiddle com libffi-3.4.4 assim: + + ```bash + $ ./configure --with-libffi-source-dir=/path/to/libffi-3.4.4 + ``` + + [[Feature #18571]] + +## Atualizações da API de C + +### APIs de C atualizadas + +As seguintes APIs foram atualizadas. + +* Atualização do PRNG + * `rb_random_interface_t` atualizado e versionado. + Bibliotecas de extensão que usam essa interface e buildadas para versões antigas. + E também a função `init_int32` precisa ser definida. + +### APIs de C removidas + +As seguintes APIs se tornaram obsoletas e foram removidas. + +* Variável `rb_cData`. +* Funções "taintedness" e "trustedness". [[Feature #16131]] + +## Atualizações da biblioteca padrão + +* Bundler + + * Adiciona suporte a --ext=rust para empacotar gem e criar gems simples com extensões de Rust. + [[GH-rubygems-6149]] + * Clonar repositórios git mais rápido [[GH-rubygems-4475]] + +* RubyGems + + * Adiciona suporte a mswin para builder cargo. [[GH-rubygems-6167]] + +* ERB + + * `ERB::Util.html_escape` mais rápido que `CGI.escapeHTML`. + * Não aloca um objeto String quando não há caracteres para escapar. + * Pula a chamada do método `#to_s` quando o argumento já é uma String. + * `ERB::Escape.html_escape` é adicionado como alias para `ERB::Util.html_escape`, + que não é monkey-patched pelo Rails. + +* IRB + + * Comandos de integração do debug.gem foram adicionado: `debug`, `break`, `catch`, + `next`, `delete`, `step`, `continue`, `finish`, `backtrace`, `info` + * Eles funcionam mesmo se você não possuir `gem "debug"` no seu Gemfile. + * Veja também: [What's new in Ruby 3.2's IRB?](https://st0012.dev/whats-new-in-ruby-3-2-irb) + * Mais comandos e funcionalidades Pry-like foram adicionados. + * `edit` e `show_cmds` (como o `help` do Pry) foram adicionados. + * `ls` leva a opção `-g` ou `-G` para filtrar outputs. + * `show_source` é alias de `$` e aceita inputs sem aspas. + * `whereami` é alias de `@`. + +* As seguintes gems padrão foram atualizadas. + + * RubyGems 3.4.1 + * abbrev 0.1.1 + * benchmark 0.2.1 + * bigdecimal 3.1.3 + * bundler 2.4.1 + * cgi 0.3.6 + * csv 3.2.6 + * date 3.3.3 + * delegate 0.3.0 + * did_you_mean 1.6.3 + * digest 3.1.1 + * drb 2.1.1 + * english 0.7.2 + * erb 4.0.2 + * error_highlight 0.5.1 + * etc 1.4.2 + * fcntl 1.0.2 + * fiddle 1.1.1 + * fileutils 1.7.0 + * forwardable 1.3.3 + * getoptlong 0.2.0 + * io-console 0.6.0 + * io-nonblock 0.2.0 + * io-wait 0.3.0 + * ipaddr 1.2.5 + * irb 1.6.2 + * json 2.6.3 + * logger 1.5.3 + * mutex_m 0.1.2 + * net-http 0.3.2 + * net-protocol 0.2.1 + * nkf 0.1.2 + * open-uri 0.3.0 + * open3 0.1.2 + * openssl 3.1.0 + * optparse 0.3.1 + * ostruct 0.5.5 + * pathname 0.2.1 + * pp 0.4.0 + * pstore 0.1.2 + * psych 5.0.1 + * racc 1.6.2 + * rdoc 6.5.0 + * readline-ext 0.1.5 + * reline 0.3.2 + * resolv 0.2.2 + * resolv-replace 0.1.1 + * securerandom 0.2.2 + * set 1.0.3 + * stringio 3.0.4 + * strscan 3.0.5 + * syntax_suggest 1.0.2 + * syslog 0.1.1 + * tempfile 0.1.3 + * time 0.2.1 + * timeout 0.3.1 + * tmpdir 0.1.3 + * tsort 0.1.1 + * un 0.2.1 + * uri 0.12.0 + * weakref 0.1.2 + * win32ole 1.8.9 + * yaml 0.2.1 + * zlib 3.0.0 + +* As seguintes gems empacotadas foram atualizadas. + + * minitest 5.16.3 + * power_assert 2.0.3 + * test-unit 3.5.7 + * net-ftp 0.2.0 + * net-imap 0.3.3 + * net-pop 0.1.2 + * net-smtp 0.3.3 + * rbs 2.8.2 + * typeprof 0.21.3 + * debug 1.7.1 + +Veja as releases do GitHub como [GitHub Releases of logger](https://github.com/ruby/logger/releases) ou changelog para detalhes das gems padrão ou gems empacotadas. + +Veja [NOVIDADES](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +ou [commit logs](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}) +para mais detalhes. + +Com estas mudanças, [{{ release.stats.files_changed }} arquivos mudados, {{ release.stats.insertions }} inserções(+), {{ release.stats.deletions }} remoções(-)](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}#file_bucket) +desde o Ruby 3.1.0! + +Feliz Natal, Boas Festas, e aproveite programando com Ruby 3.2! + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## O que é Ruby + +Ruby foi primeiramente desenvolvido por Matz (Yukihiro Matsumoto) em 1993 +e agora é desenvolvido como Open Source. Ele roda em múltiplas plataformas +e é usado em todo o mundo, especialmente para desenvolvimento web. + +[Feature #12005]: https://bugs.ruby-lang.org/issues/12005 +[Feature #12084]: https://bugs.ruby-lang.org/issues/12084 +[Feature #12655]: https://bugs.ruby-lang.org/issues/12655 +[Feature #12737]: https://bugs.ruby-lang.org/issues/12737 +[Feature #13110]: https://bugs.ruby-lang.org/issues/13110 +[Feature #14332]: https://bugs.ruby-lang.org/issues/14332 +[Feature #15231]: https://bugs.ruby-lang.org/issues/15231 +[Feature #15357]: https://bugs.ruby-lang.org/issues/15357 +[Bug #15928]: https://bugs.ruby-lang.org/issues/15928 +[Feature #16122]: https://bugs.ruby-lang.org/issues/16122 +[Feature #16131]: https://bugs.ruby-lang.org/issues/16131 +[Bug #16466]: https://bugs.ruby-lang.org/issues/16466 +[Feature #16663]: https://bugs.ruby-lang.org/issues/16663 +[Feature #16806]: https://bugs.ruby-lang.org/issues/16806 +[Bug #16889]: https://bugs.ruby-lang.org/issues/16889 +[Bug #16908]: https://bugs.ruby-lang.org/issues/16908 +[Feature #16989]: https://bugs.ruby-lang.org/issues/16989 +[Feature #17351]: https://bugs.ruby-lang.org/issues/17351 +[Feature #17391]: https://bugs.ruby-lang.org/issues/17391 +[Bug #17545]: https://bugs.ruby-lang.org/issues/17545 +[Bug #17767]: https://bugs.ruby-lang.org/issues/17767 +[Feature #17837]: https://bugs.ruby-lang.org/issues/17837 +[Feature #17881]: https://bugs.ruby-lang.org/issues/17881 +[Feature #18033]: https://bugs.ruby-lang.org/issues/18033 +[Feature #18159]: https://bugs.ruby-lang.org/issues/18159 +[Feature #18239]: https://bugs.ruby-lang.org/issues/18239#note-17 +[Feature #18351]: https://bugs.ruby-lang.org/issues/18351 +[Feature #18367]: https://bugs.ruby-lang.org/issues/18367 +[Bug #18435]: https://bugs.ruby-lang.org/issues/18435 +[Feature #18462]: https://bugs.ruby-lang.org/issues/18462 +[Feature #18481]: https://bugs.ruby-lang.org/issues/18481 +[Bug #18487]: https://bugs.ruby-lang.org/issues/18487 +[Feature #18564]: https://bugs.ruby-lang.org/issues/18564 +[Feature #18571]: https://bugs.ruby-lang.org/issues/18571 +[Feature #18585]: https://bugs.ruby-lang.org/issues/18585 +[Feature #18589]: https://bugs.ruby-lang.org/issues/18589 +[Feature #18595]: https://bugs.ruby-lang.org/issues/18595 +[Feature #18598]: https://bugs.ruby-lang.org/issues/18598 +[Bug #18625]: https://bugs.ruby-lang.org/issues/18625 +[Feature #18630]: https://bugs.ruby-lang.org/issues/18630 +[Bug #18633]: https://bugs.ruby-lang.org/issues/18633 +[Feature #18639]: https://bugs.ruby-lang.org/issues/18639 +[Feature #18685]: https://bugs.ruby-lang.org/issues/18685 +[Bug #18729]: https://bugs.ruby-lang.org/issues/18729 +[Bug #18751]: https://bugs.ruby-lang.org/issues/18751 +[Feature #18774]: https://bugs.ruby-lang.org/issues/18774 +[Feature #18776]: https://bugs.ruby-lang.org/issues/18776 +[Bug #18782]: https://bugs.ruby-lang.org/issues/18782 +[Feature #18788]: https://bugs.ruby-lang.org/issues/18788 +[Feature #18798]: https://bugs.ruby-lang.org/issues/18798 +[Feature #18809]: https://bugs.ruby-lang.org/issues/18809 +[Feature #18821]: https://bugs.ruby-lang.org/issues/18821 +[Feature #18822]: https://bugs.ruby-lang.org/issues/18822 +[Feature #18824]: https://bugs.ruby-lang.org/issues/18824 +[Feature #18832]: https://bugs.ruby-lang.org/issues/18832 +[Feature #18875]: https://bugs.ruby-lang.org/issues/18875 +[Feature #18925]: https://bugs.ruby-lang.org/issues/18925 +[Feature #18944]: https://bugs.ruby-lang.org/issues/18944 +[Feature #18949]: https://bugs.ruby-lang.org/issues/18949 +[Feature #18968]: https://bugs.ruby-lang.org/issues/18968 +[Feature #19008]: https://bugs.ruby-lang.org/issues/19008 +[Feature #19013]: https://bugs.ruby-lang.org/issues/19013 +[Feature #19026]: https://bugs.ruby-lang.org/issues/19026 +[Feature #19036]: https://bugs.ruby-lang.org/issues/19036 +[Feature #19060]: https://bugs.ruby-lang.org/issues/19060 +[Feature #19070]: https://bugs.ruby-lang.org/issues/19070 +[Feature #19071]: https://bugs.ruby-lang.org/issues/19071 +[Feature #19078]: https://bugs.ruby-lang.org/issues/19078 +[Bug #19087]: https://bugs.ruby-lang.org/issues/19087 +[Bug #19100]: https://bugs.ruby-lang.org/issues/19100 +[Feature #19104]: https://bugs.ruby-lang.org/issues/19104 +[Feature #19135]: https://bugs.ruby-lang.org/issues/19135 +[Feature #19138]: https://bugs.ruby-lang.org/issues/19138 +[Feature #19194]: https://bugs.ruby-lang.org/issues/19194 +[Molinillo]: https://github.com/CocoaPods/Molinillo +[PubGrub]: https://github.com/jhawthorn/pub_grub +[GH-net-protocol-14]: https://github.com/ruby/net-protocol/pull/14 +[GH-pathname-20]: https://github.com/ruby/pathname/pull/20 +[GH-6791]: https://github.com/ruby/ruby/pull/6791 +[GH-6868]: https://github.com/ruby/ruby/pull/6868 +[GH-rubygems-4475]: https://github.com/rubygems/rubygems/pull/4475 +[GH-rubygems-6149]: https://github.com/rubygems/rubygems/pull/6149 +[GH-rubygems-6167]: https://github.com/rubygems/rubygems/pull/6167 +[sec-156615]: https://hackerone.com/reports/156615 +[CVE-2021-33621]: https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/ +[wasm/README.md]: https://github.com/ruby/ruby/blob/master/wasm/README.md +[ruby.wasm]: https://github.com/ruby/ruby.wasm From e7603916f15b11f809ac6049ab7ab589d4fb3f23 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Fri, 14 Oct 2022 16:35:02 +0700 Subject: [PATCH 1932/2563] Update quickstart documentations (id) --- id/documentation/quickstart/2/index.md | 126 +++++++------ id/documentation/quickstart/3/index.md | 246 ++++++++++++------------- id/documentation/quickstart/4/index.md | 143 +++++++------- id/documentation/quickstart/index.md | 86 +++++---- 4 files changed, 299 insertions(+), 302 deletions(-) diff --git a/id/documentation/quickstart/2/index.md b/id/documentation/quickstart/2/index.md index b5c0d47b8a..b5f5e53f07 100644 --- a/id/documentation/quickstart/2/index.md +++ b/id/documentation/quickstart/2/index.md @@ -19,116 +19,114 @@ header: | Bagaimana jika kita ingin mengatakan “Hello” sekaligus banyak tanpa membuat jari dan tangan kita semua kelelahan? Kita perlu mendefinisikan -metode! +sebuah *method*! {% highlight irb %} -irb(main):010:0> def h -irb(main):011:1> puts "Hello World!" +irb(main):010:0> def hi +irb(main):011:1> puts "Hello World!" irb(main):012:1> end -=> nil +=> :hi {% endhighlight %} -Kode `def h` memulai definisi suatu metode. Kode tersebut berkata pada -Ruby bahwa kita sedang mendefinisikan sebuah metode, yang bernama `h`. -Baris selanjutnya adalah body (badan) metode, baris yang sama seperti +Kode `def hi` memulai definisi suatu *method*. Kode tersebut berkata pada +Ruby bahwa kita sedang mendefinisikan sebuah *method*, yang bernama `hi`. +Baris selanjutnya adalah *body* (badan) *method*, baris yang sama seperti yang sudah kita lihat sebelumnya: `puts "Hello World"`. Baris terakhir -`end` memberitahu Ruby bahwa kita sudah selesai mendefinisikan metode. -Ruby merespon `=> nil` memberitahu kita bahwa Ruby sudah mengetahui -kalau kita sudah selesai mendefinisikan metode `h` tersebut. +`end` memberi tahu Ruby bahwa kita sudah selesai mendefinisikan metode. +Ruby merespons `=> :hi` yang mana memberi tahu kita bahwa kita sudah selesai +mendefinisikan *method*. Respons bisa jadi `=> nil` pada Ruby 2.0 dan versi +sebelumnya. Tetapi, ini bukanlah hal yang penting di sini. Mari kita lanjut. -## Ringkasan, Kehidupan Metode yang Berulang-ulang +## Ringkasan, Kehidupan Berulang-ulang dari Sebuah Method -Sekarang mari kita coba menjalankan metode tersebut berulang kali: +Sekarang mari kita coba menjalankan *method* tersebut berulang kali: {% highlight irb %} -irb(main):013:0> h +irb(main):013:0> hi Hello World! => nil -irb(main):014:0> h() +irb(main):014:0> hi() Hello World! => nil {% endhighlight %} -Nah, mudah khan?! Pemanggilan metode di Ruby memang semudah menyebut -nama metode yang bersangkutan ke Ruby. Jika metode tidak menerima -parameter berarti ya memang itu saja yang Anda butuhkan. Anda bisa -menambahkan buka dan tutup kurung jika Anda suka, tetapi buka dan tutup -kurung tersebut tidak diperlukan. +Nah, mudah bukan? Pemanggilan *method* di Ruby memang semudah menyebut +nama *method* yang bersangkutan. Jika *method* tidak menerima +parameter berarti memang itu saja yang Anda butuhkan. Anda bisa +menambahkan tanda kurung jika Anda suka, tetapi tanda kurung tersebut +tidak diperlukan. -Bagaimana kalau kita ingin bilang hello ke orang, dan bukan bilang hello -ke seluruh dunia? Caranya, Anda tinggal mendefinisikan ulang metode `h` +Bagaimana kalau kita ingin mengatakan *hello* ke satu orang, tetapi bukan +ke seluruh dunia? Caranya, Anda tinggal mendefinisikan ulang *method* `hi` agar menerima `name` sebagai parameter. {% highlight irb %} -irb(main):015:0> def h(name) -irb(main):016:1> puts "Hello #{name}!" +irb(main):015:0> def hi(name) +irb(main):016:1> puts "Hello #{name}!" irb(main):017:1> end -=> nil -irb(main):018:0> h("Matz") +=> :hi +irb(main):018:0> hi("Matz") Hello Matz! => nil {% endhighlight %} Sukses… tetapi coba kita lihat dulu sebentar apa yang terjadi disini. -## Variabel dalam String +## Variabel dalam Sebuah String -Apa itu tadi artinya `#{name}` ? Tanda pagar dan kurung kurawal tadi -adalah cara Ruby untuk insert sesuatu ke dalam string. Jadi obyek -diantara kurung kurawal menjadi string (jika belum berbentuk String) -kemudian diganti dengan string di luar kurung kurawal tersebut. Anda -juga bisa menggunakan tanda pagar dan kurung kurawal ini untuk -memastikan nama seseorang tersebut telah diubah menjadi kapital huruf -depannya (singkatnya, dikapitalkan, bahasa Inggrisnya, di-capitalize): +Apa itu tadi artinya `#{name}`? Tanda pagar dan kurung kurawal tadi +adalah cara Ruby untuk menyisipkan sesuatu ke dalam sebuah *string*. +Jadi objek di antara kurung kurawal menjadi sebuah *string* +(jika belum berbentuk String) kemudian diganti dengan string di luar +kurung kurawal tersebut. Anda juga bisa menggunakan tanda pagar dan +kurung kurawal ini untuk memastikan nama seseorang telah diubah menjadi +kapital huruf depannya (*capitalized*): {% highlight irb %} -irb(main):019:0> def h(name = "World") -irb(main):020:1> puts "Hello #{name.capitalize}!" +irb(main):019:0> def hi(name = "World") +irb(main):020:1> puts "Hello #{name.capitalize}!" irb(main):021:1> end +=> :hi +irb(main):022:0> hi "chris" +Hello Chris! => nil -irb(main):022:0> h "arie" -Hello Arie! -=> nil -irb(main):023:0> h +irb(main):023:0> hi Hello World! => nil {% endhighlight %} -Ada beberapa trik di metode barusan. Trik pertama, kita panggil metode -tanpa menggunakan buka dan tutup kurung lagi. Jika sudah jelas apa yang -Anda lakukan, maka buka dan tutup kurung boleh dihilangkan (opsional). -Trik lainnya adalah secara default parameter `World`. Jadi apa yang -metode `h` katakan adalah “Jika name tidak ada, maka gunakan name -default yaitu `"World"`”. +Ada beberapa trik yang bisa dilihat di sini. Trik pertama, kita panggil *method* +tanpa menggunakan tanda kurung lagi. Jika sudah jelas apa yang Anda lakukan, +maka tanda kurung boleh dihilangkan (opsional). Trik lainnya adalah +menggunakan *default parameter* `World`. Jadi apa yang *method* `hi` katakan +adalah “Jika parameter name tidak ada, maka gunakan default name +yaitu `"World"`”. -## Halo Dunia Menjadi TukangSapa +## Hello World Berkembang Menjadi Penyapa -Bagaimana jika kita ingin membuat TukangSapa, jadi satu yang mengingat -nama Anda dan menyambut Anda dengan ucapan selamat datang dan juga yang -selalu memperlakukan Anda dengan hormat. Anda akan membutuhkan obyek -untuk keperluan itu. Maka, mari kita buat kelas “TukangSapa”. +Bagaimana jika kita ingin membuat penyapa, yang mengingat nama Anda dan +menyambut serta selalu memperlakukan Anda dengan hormat. Anda akan membutuhkan +sebuah objek untuk ini. Mari kita buat sebuah kelas “Greeter”. {% highlight irb %} -irb(main):024:0> class TukangSapa -irb(main):025:1> def initialize(name = "Dunia") +irb(main):024:0> class Greeter +irb(main):025:1> def initialize(name = "World") irb(main):026:2> @name = name irb(main):027:2> end -irb(main):028:1> def say_hai -irb(main):029:2> puts "Hai #{@name}!" +irb(main):028:1> def say_hi +irb(main):029:2> puts "Hi #{@name}!" irb(main):030:2> end irb(main):031:1> def say_bye -irb(main):032:2> puts "Bye #{@name}, datang lagi ya." +irb(main):032:2> puts "Bye #{@name}, come back soon." irb(main):033:2> end irb(main):034:1> end -=> nil +=> :say_bye {% endhighlight %} -Keyword baru disini adalah `class`. Keyword ini mendifinisikan kelas -baru yang disebut TukangSapa dan beberapa metode untuk kelas TukangSapa -tersebut. Juga perhatikan `@name`. Ini adalah variabel instan, dan juga -tersedia di semua metode di kelas TukangSapa. Seperti yang bisa Anda -lihat variabel instan `@name` digunakan di metode `say_hai` dan metode -`say_bye`. +*Keyword* baru di sini adalah `class`. *Keyword* ini mendefinisikan kelas +baru yang disebut Greeter dan beberapa *method* untuk kelas tersebut. +Perhatikan juga `@name`. Ini adalah variabel objek, yang tersedia +di semua *method*. Seperti yang bisa Anda lihat, variabel objek `@name` +digunakan pada *method* `say_hai` dan `say_bye`. -Lalu, bagaimana caranya kita menjalan kelas TukangSapa ? [Membuat -obyek.](../3/) +Lalu, bagaimana cara menjalankan kelas Greeter? [Membuat sebuah objek](../3/). diff --git a/id/documentation/quickstart/3/index.md b/id/documentation/quickstart/3/index.md index 830d71ee8b..6d671adca3 100644 --- a/id/documentation/quickstart/3/index.md +++ b/id/documentation/quickstart/3/index.md @@ -17,163 +17,156 @@ header: | --- -Mari kita bikin obyek TukangSapa dan kita pakai: +Sekarang, mari kita buat sebuah objek Greeter dan kita pakai: {% highlight irb %} -irb(main):013:0> t = TukangSapa.new("Arie") -=> # -irb(main):014:0> t.say_hai -Hai Arie! +irb(main):035:0> greeter = Greeter.new("Pat") +=> # +irb(main):036:0> greeter.say_hi +Hi Pat! => nil -irb(main):015:0> t.say_bye -Bye Arie, datang lagi ya. +irb(main):037:0> greeter.say_bye +Bye Pat, come back soon. => nil {% endhighlight %} -Sekali obyek `t` dibuat, maka obyek `t` mengingat name adalah Arie. Hmm, -bagaimana jika kita ingin mendapatkan nama saja langsung? +Saat objek `greeter` dibuat, maka objek tersebut mengingat bahwa nama adalah +Pat. Hmm, bagaimana jika kita ingin mendapatkan nama secara langsung? {% highlight irb %} -irb(main):017:0> t.@name -SyntaxError: compile error -(irb):17: syntax error, unexpected tIVAR - from (irb):17 - from :0 +irb(main):038:0> greeter.@name +SyntaxError: (irb):38: syntax error, unexpected tIVAR, expecting '(' {% endhighlight %} -Tidak, caranya tidak bisa begitu. +Tidak, caranya tidak bisa seperti itu. -## Di Bawah Naungan Object yang Sama +## Di Bawah Naungan Objek yang Sama -Variabel instan tersembunyi dalam obyek. Variabel instan tidak -benar-benar tersembunyi sepenuhnya, Anda bisa melihat variabel instan -kapan saja Anda menginspeksi obyek, dan ada lagi cara-cara lain untuk -mengakses variabel instan, tetapi Ruby menggunakan pendekatan -berorientasi obyek yang bagus untuk menjaga data supaya agak +Variabel objek tersembunyi dalam sebuah objek. Variabel objek tidak +benar-benar tersembunyi sepenuhnya, Anda bisa melihat variabel objek +kapan saja Anda menginspeksi obyek tersebut, dan ada lagi cara lain untuk +mengakses variabel objek, tetapi Ruby menggunakan pendekatan +berorientasi objek yang bagus untuk menjaga data supaya seperti tersembunyi. -Jadi metode-metode apa yang sebetulnya ada pada obyek TukangSapa? +Jadi *method* apa yang sebetulnya ada pada obyek TukangSapa? {% highlight irb %} -irb(main):018:0> TukangSapa.instance_methods -=> ["inspect", "clone", "method", "public_methods", -"instance_variable_defined?", "equal?", "freeze", "methods", -"respond_to?", "dup", "instance_variables", "__id__", -"object_id", "eql?", "id", "singleton_methods", -"send", "taint", "frozen?", "instance_variable_get", -"__send__", "instance_of?", "to_a", "say_hai", -"type", "protected_methods", "instance_eval", "==", -"display", "===", "instance_variable_set", "kind_of?", -"extend", "to_s", "say_bye", "hash", "class", -"tainted?", "=~", "private_methods", "nil?", -"untaint", "is_a?"] +irb(main):039:0> Greeter.instance_methods +=> [:say_hi, :say_bye, :instance_of?, :public_send, + :instance_variable_get, :instance_variable_set, + :instance_variable_defined?, :remove_instance_variable, + :private_methods, :kind_of?, :instance_variables, :tap, + :is_a?, :extend, :define_singleton_method, :to_enum, + :enum_for, :<=>, :===, :=~, :!~, :eql?, :respond_to?, + :freeze, :inspect, :display, :send, :object_id, :to_s, + :method, :public_method, :singleton_method, :nil?, :hash, + :class, :singleton_class, :clone, :dup, :itself, :taint, + :tainted?, :untaint, :untrust, :trust, :untrusted?, :methods, + :protected_methods, :frozen?, :public_methods, :singleton_methods, + :!, :==, :!=, :__send__, :equal?, :instance_eval, :instance_exec, :__id__] {% endhighlight %} -Wih. Metode-metodenya banyak ya. Padahal kita hanya mendefinisikan dua -metode. Apa yang sebenarnya terjadi? Jadi ini barusan adalah **semua** -metode obyek TukangSapa, list yang lengkap, termasuk metode-metode yang -didefinisikan oleh kelas induk TukangSapa. Jika kita hanya ingin list -metode-metode yang didefinisikan untuk kelas TukangSapa kita cukup -beritahu agar tidak memasukkan induk (ancestor) dengan melewatkan -parameter `false`, artinya kita tidak menginginkan metode-metode yang -didefinisikan kelas induk (ancestor). +Wah, ada banyak *method*. Padahal kita hanya mendefinisikan dua *method*. +Apa yang sebenarnya terjadi di sini? Jadi, ini adalah **semua** *method* +objek Greeter, sebuah daftar yang lengkap, termasuk *method* yang +didefinisikan oleh kelas induk (*ancestor*). Jika kita hanya ingin menampilkan +*method* yang didefinisikan oleh kelas Greeter kita cukup memberi tahu kelas +tersebut agar tidak memasukkannya dengan melewatkan parameter `false`, +artinya kita tidak menginginkan *method* yang didefinisikan oleh kelas induk. {% highlight irb %} -irb(main):019:0> TukangSapa.instance_methods(false) -=> ["say_bye", "say_hai"] +irb(main):040:0> Greeter.instance_methods(false) +=> [:say_hi, :say_bye] {% endhighlight %} -Nah, begitu. Sekarang coba kita lihat metode yang mana dari obyek -TukangSapa kita yang merespon siapa saja: +Nah, seperti itu. Sekarang coba kita lihat *method* mana dari objek Greeter +yang memberikan respons: {% highlight irb %} -irb(main):020:0> t.respond_to?('name') +irb(main):041:0> greeter.respond_to?("name") => false -irb(main):021:0> t.respond_to?('say_hai') +irb(main):042:0> greeter.respond_to?("say_hi") => true -irb(main):022:0> t.respond_to?('say_bye') -=> true -irb(main):023:0> t.respond_to?('to_s') +irb(main):043:0> greeter.respond_to?("to_s") => true {% endhighlight %} -Hm, jadi obyek mengetahui metode `say_hai`, dan metode `to_s` (artinya -mengkonversi suatu obyek ke string, metode yang didefinisikan secara -default untuk semua obyek), tetapi obyek tidak mengetahui tentang +Jadi, objek mengetahui *method* `say_hi` dan `to_s` (artinya +mengubah suatu objek ke *string*, sebuah *method* yang didefinisikan secara +*default* pada semua objek), tetapi objek tidak mengetahui tentang `name`. -## Mengubah-ubah Kelas—Tidak Ada yang Pernah Terlalu Terlambat +## Mengubah Kelas—Tidak Ada yang Tidak Mungkin -Tetapi bagaimana jika Anda ingin bisa melihat atau mengganti name? Ruby -menyediakan cara yang mudah untuk mengakses variabel obyek. +Tetapi bagaimana jika Anda ingin melihat atau mengubah name? +Ruby menyediakan cara yang mudah untuk mengakses variabel objek. {% highlight irb %} -irb(main):024:0> class TukangSapa -irb(main):025:1> attr_accessor :name -irb(main):026:1> end +irb(main):044:0> class Greeter +irb(main):045:1> attr_accessor :name +irb(main):046:1> end => nil {% endhighlight %} -Di Ruby, Anda dapat membuka kelas lagi dan memodifikasi kelas tersebut. -Perubahan-perubahan tersebut akan hadir pada obyek baru yang Anda buat -dan bahkan tersedia/hadir juga pada obyek yang sudah ada dari kelas yang -bersangkutan. Jadi, coba kita buat satu obyek baru dan bermain dengan -property `@name`. +Di Ruby, Anda dapat membuka lagi sebuah kelas dan memodifikasi kelas tersebut. +Modifikasi tersebut akan muncul pada obyek baru yang Anda buat +dan bahkan tersedia juga pada obyek yang sudah ada dari kelas yang +bersangkutan. Jadi, mari kita coba buat sebuah objek baru dan bermain dengan +*property* `@name`. {% highlight irb %} -irb(main):027:0> t = TukangSapa.new('Hendy') -=> # -irb(main):028:0> t.respond_to?('name') +irb(main):047:0> greeter = Greeter.new("Andy") +=> # +irb(main):048:0> greeter.respond_to?("name") => true -irb(main):029:0> t.respond_to?('name=') +irb(main):049:0> greeter.respond_to?("name=") => true -irb(main):030:0> t.say_hai -Hai Hendy! +irb(main):050:0> greeter.say_hi +Hi Andy! => nil -irb(main):031:0> t.name='Yohanes' -=> "Yohanes" -irb(main):032:0> t -=> # -irb(main):033:0> t.name -=> "Yohanes" -irb(main):034:0> t.say_hai -Hai Yohanes! +irb(main):051:0> greeter.name="Betty" +=> "Betty" +irb(main):052:0> greeter +=> # +irb(main):053:0> greeter.name +=> "Betty" +irb(main):054:0> greeter.say_hi +Hi Betty! => nil {% endhighlight %} -Dengan menggunakan `attr_accessor` kita sudah mendefinisikan dua metode -baru untuk kita, `name` untuk mendapatkan (get) value, dan `name=` untuk -mengatur (set) value. +Menggunakan `attr_accessor` kita sudah mendefinisikan dua *method* baru, +`name` untuk mendapatkan (*get*) nilai dan `name=` untuk mengatur (*set*) nilai. -## BosTukangSapa Menyapa Siapa Saja! +## Menyapa Apa Saja dan Apapun, MegaGreeter Tidak Mengabaikan Sama Sekali! -TukangSapa kita sebenarnya tidaklah terlalu menarik, TukangSapa hanya -bisa menyapa satu orang di saat yang sama. Bagaimana jika kita punya -BosTukangSapa yang bisa menyapa dunia (world), satu orang, atau bahkan -seluruh list orang-orang ? +Penyapa kita sebenarnya tidaklah terlalu menarik, penyapa hanya bisa menyapa +satu orang di saat yang sama. Bagaimana seandainya kita memiliki MegaGreeter +yang bisa menyapa dunia, satu orang, atau bahkan seluruh daftar orang? -Kali ini, mari kita langsung tulis ke file saja daripada memakai IRB -(Ruby Interaktif). +Kali ini, mari kita langsung tulis ke berkas saja daripada menggunakan +*interactive* Ruby *interpreter* IRB. Untuk keluar dari IRB, ketik “quit”, “exit” atau tekan saja Control-D. {% highlight ruby %} #!/usr/bin/env ruby -class BosTukangSapa +class MegaGreeter attr_accessor :names - # Bikin obyek - def initialize(names = "Dunia") + # Buat objek + def initialize(names = "World") @names = names end - # Bilang Hai buat semua - def say_hai + # Katakan hai kepada semua orang + def say_hi if @names.nil? puts "..." elsif @names.respond_to?("each") - # @names adalah list, iterate! + # @names is a list of some kind, iterate! @names.each do |name| puts "Hello #{name}!" end @@ -182,59 +175,60 @@ class BosTukangSapa end end - # Bilang "sampai jumpa" buat semua + # Katakan selamat tinggal kepada semua orang def say_bye if @names.nil? puts "..." elsif @names.respond_to?("join") - # Gabung (Join) elemen list dengan koma - puts "Sampai jumpa #{@names.join(", ")}. Datang lagi ya!" + # Gabungkan element list dengan tanda koma + puts "Goodbye #{@names.join(", ")}. Come back soon!" else - puts "Sampai jumpa #{@names}. Datang lagi ya!" + puts "Goodbye #{@names}. Come back soon!" end end - end + if __FILE__ == $0 - mg = BosTukangSapa.new - mg.say_hai + mg = MegaGreeter.new + mg.say_hi mg.say_bye - # Ganti name menjadi "Azumi" - mg.names = "Azumi" - mg.say_hai + # Ubah nama menjadi "Zeke" + mg.names = "Zeke" + mg.say_hi mg.say_bye - # Ganti name menjadi array name - mg.names = ["Steven", "Anton", "Ridho", - "Matz", "Bos"] - mg.say_hai + # Ubah nama menjadi array dari nama + mg.names = ["Albert", "Brenda", "Charles", + "Dave", "Engelbert"] + mg.say_hi mg.say_bye - # Change to nil + # Ubah nama menjadi nil mg.names = nil - mg.say_hai + mg.say_hi mg.say_bye end {% endhighlight %} -Simpan file dengan nama “ri20min.rb”, dan jalankan dengan “ruby -ri20min.rb”. Outputnya seharusnya menjadi sebagai berikut: - - Hello Dunia! - Sampai jumpa Dunia. Datang lagi ya! - Hello Azumi! - Sampai jumpa Azumi. Datang lagi ya! - Hello Steven! - Hello Anton! - Hello Ridho! - Hello Matz! - Hello Bos! - Sampai jumpa Steven, Anton, Ridho, Matz, Bos. Datang lagi ya! +Simpan berkas dengan nama “ri20min.rb” dan jalankan dengan perintah “ruby ri20min.rb”. +Keluaran seharusnya muncul sebagai berikut: + + Hello World! + Goodbye World. Come back soon! + Hello Zeke! + Goodbye Zeke. Come back soon! + Hello Albert! + Hello Brenda! + Hello Charles! + Hello Dave! + Hello Engelbert! + Goodbye Albert, Brenda, Charles, Dave, Engelbert. Come + back soon! ... ... {: .code} -Ada banyak barang baru di contoh terakhir kita kali ini yang [bisa kita -lihat lebih lanjut](../4/) +Ada banyak hal baru pada contoh terakhir kali ini yang +[bisa kita lihat lebih lanjut](../4/). diff --git a/id/documentation/quickstart/4/index.md b/id/documentation/quickstart/4/index.md index e371659c56..32a12ce1fc 100644 --- a/id/documentation/quickstart/4/index.md +++ b/id/documentation/quickstart/4/index.md @@ -17,23 +17,23 @@ header: | --- -Sekarang kita melihat lebih jelas lagi pada program baru kita, -perhatikan baris yang paling pertama, dimulai dengan tanda pagar (#). Di -Ruby, semua tulisan yang ada sesudah tanda pagar (#) merupakan komentar -(comment) dan tidak dipedulikan (di ignore) oleh interpreter. Baris -pertama file adalah hal khusus, dan untuk Sistem Operasi Unix biasanya -kita menentukan bagaimana menjalankan file. Kemudian komentar -selanjutnya untuk penjelasan. +Kita lihat lebih dalam program baru kita, perhatikan baris awal, +dimulai dengan tanda pagar (#). Di Ruby, baris apapun setelah +tanda pagar merupakan sebuah komentar (*comment*) dan +diabaikan (*ignore*) oleh *interpreter*. Baris pertama dari +program tersebut adalah kasus khusus dari komentar yang dijalankan pada +sistem operasi *Unix-like* untuk memberi tahu bagaimana menjalankan program. +Kemudian komentar berikutnya merupakan penjelasan. -Metode `say_hai` kita sudah punya trik sedikit: +*Method* `say_hi` sekarang menjadi sedikit lebih rumit: {% highlight ruby %} -# Bilang Hai buat semua -def say_hai +# Katakan hai kepada semua orang +def say_hi if @names.nil? puts "..." elsif @names.respond_to?("each") - # @names adalah list, iterate! + # @names adalah sebuah list dari elemen sejenis, lakukan perulangan! @names.each do |name| puts "Hello #{name}!" end @@ -43,19 +43,19 @@ def say_hai end {% endhighlight %} -Sekarang kelas memperhatikan parameter `@names` untuk menentukan -pilihan. Jika parameter nil, maka print tiga dot (...). Ya karena memang -tidak ada yang perlu disapa, khan?! +Sekarang perhatikan variable objek `@names` yang menentukan pilihan. +Jika memiliki nilai nil, maka cetak tiga titik (...). Tidak ada yang perlu +disapa, bukan? -## Perulangan—a.k.a. Iteration +## Perputaran dan Perulangan—alias Iteration -Jika obyek `@names` merespon metode `each`, berarti obyek ini merupakan -sesuatu yang bisa Anda iterate, jadi iterate lah dan sapalah orang-orang -bergantian. Kemudian, jika `@names` merupakan sesuatu yang lain, -biarkanlah obyek ini otomatis menjadi string dan melakukan sapaan secara -default. +Jika objek `@names` memberikan respons kepada *method* `each`, berarti +objek ini mendukung perulangan, jadi lakukan perulangan dan sapalah +setiap orang secara bergantian. Kemudian, jika `@names` merupakan sesuatu +yang lain, biarkanlah objek ini secara otomatis menjadi sebuah *string* dan +menyapa secara *default*. -Mari kita perhatikan iterator lebih dalam lagi: +Mari kita lihat pengulangan lebih dalam lagi: {% highlight ruby %} @names.each do |name| @@ -63,94 +63,93 @@ Mari kita perhatikan iterator lebih dalam lagi: end {% endhighlight %} -`each` merupakan metode yang menerima blok kode yang kemudian -menjalankan blok kode tersebut untuk setiap elemen dalam list, dan -diantara `do` dan `end` itulah yang dinamakan blok. Blok juga bisa -berupa function anonim atau `lambda`. Variabel diantara karakter pipa -itu adalah parameter untuk blok tersebut. +`each` merupakan sebuah *method* yang menerima blok kode yang kemudian +menjalankan blok kode tersebut untuk setiap elemen dalam *list* dan +di antara `do` dan `end` itulah yang dinamakan blok. Sebuah blok juga bisa +berupa *anonymous function* atau `lambda`. Variabel di antara karakter pipa +adalah parameter untuk blok tersebut. -Yang terjadi disini adalah untuk setiap entri dalam list, `name` terkait -dengan elemen list, kemudian ekspresi `puts "Hello #{name}!"` dijalankan +Apa yang terjadi di sini adalah untuk setiap entri dalam *list*, `name` terikat +pada elemen *list*, kemudian ekspresi `puts "Hello #{name}!"` dijalankan dengan name tersebut. -Kebanyakan bahasa-bahasa pemrograman lain menangani list dengan -menggunakan perulangan `for`, kalau di C seperti ini: +Kebanyakan bahasa pemrograman lain menangani perulangan dengan +menggunakan `for`, kalau di bahasa pemograman C seperti ini: {% highlight c %} -for (i=0; i {% endhighlight %} -Ok, sekarang irb sudah dibuka. Sekarang mau apa? +Baik, sekarang irb sudah dibuka. Lalu selanjutnya? Ketik ini: `"Hello World"` @@ -51,9 +55,9 @@ irb(main):001:0> "Hello World" ## Ruby Mematuhi Anda! Apa yang baru saja terjadi? Apakah kita baru saja menulis program -tersingkat di dunia berupa “Hello World” ? Tidak persis begitu. Baris -kedua hanya sekedar cara IRB memberitahu hasil (result) dari ekspresi -terakhir yang dievaluasi/dijalankan. Jika kita ingin print “Hello World” +tersingkat di dunia berupa “Hello World”? Tidak persis begitu. Baris +kedua hanya sekedar cara IRB memberitahu hasil dari ekspresi terakhir +yang dievaluasi/dijalankan. Jika kita ingin mencetak “Hello World” kita perlu tambahkan sedikit: {% highlight irb %} @@ -62,10 +66,10 @@ Hello World => nil {% endhighlight %} -`puts` merupakan perintah dasar untuk mencetak (print) sesuatu di Ruby. -Tetapi kemudian apa artinya `=> nil` ? Artinya adalah result dari -ekspresi. `puts` selalu return nil, yang merupakan value absolut -ketiadaan di Ruby. +`puts` merupakan perintah dasar untuk mencetak sesuatu pada Ruby. +Kemudian apa artinya `=> nil`? Artinya adalah hasil dari ekspresi. +`puts` selalu mengembalikan nil, yang merupakan +*absolutely-positively-nothing value* pada Ruby. ## Kalkulator Gratis Anda Di Sini @@ -79,9 +83,9 @@ irb(main):003:0> 3+2 Tiga tambah dua. Cukup mudah. Bagaimana dengan tiga *kali* dua? Anda bisa mencoba dengan langsung mengetikkannya, cukup pendek, tetapi Anda juga bisa mengganti apa saja yang baru saja Anda perintahkan di IRB. -Coba tekan **panah-atas** pada keyboard Anda dan lihatlah apakah IRB +Coba tekan **panah-atas** pada *keyboard* Anda dan lihatlah apakah IRB memunculkan baris `3+2` lagi. Jika Ya, Anda dapat menggunakan panah-kiri -untuk berpindah ke setelah tanda `+` kemudian gunakan backspace untuk +untuk berpindah ke setelah tanda `+` kemudian gunakan *backspace* untuk menggantinya dengan tanda `*`. {% highlight irb %} @@ -96,7 +100,7 @@ irb(main):005:0> 3**2 => 9 {% endhighlight %} -Di Ruby, `**` merupakan cara Anda mengatakan “kepada kekuatan dari”. +Di Ruby, `**` merupakan cara Anda mengatakan “pangkat dari”. Tetapi bagaimana jika Anda ingin melakukannya dengan cara lain dan mendapatkan akar dari suatu bilangan? @@ -105,30 +109,30 @@ irb(main):006:0> Math.sqrt(9) => 3.0 {% endhighlight %} -Ok, tunggu dulu, bagaimana yang terakhir itu? Jika Anda menebak, “Kode +Baik, tunggu dulu, bagaimana yang terakhir itu? Jika Anda menebak, “Kode tersebut mencari sqrt (akar) dari 9”, berarti Anda benar. Tetapi mari -kita lihat lebih dekat. Pertama, apa itu `Math` ? +kita lihat lebih dekat. Pertama, apa itu `Math`? ## Module, Pengelompokan Kode Menurut Topik -`Math` merupakan module built-in (bawaan) untuk matematika. Module punya -dua pengaturan di Ruby. Pertama, mengelompokkan metode-metode yang -berfungsi mirip di bawah satu nama yang terkenal. `Math` juga punya -metode-metode seperti `sin()` dan `tan()`. +`Math` merupakan *built-in* (bawaan) *module* untuk matematika. *Module* memiliki +dua tugas pada Ruby. Pertama, mengelompokkan *method* yang memiliki kemiripan +fungsi ke dalam sebuah nama yang sama. `Math` juga punya *method*, seperti `sin()` +dan `tan()`. -Selanjutnya adalah dot (titik). Apa yang dot lakukan? Dengan dot-lah, -Anda bisa mengidentifikasi receiver dari suatu message. Nah, kalau -message apa? Dalam hal ini, message adalah `sqrt(9)`, yang artinya -pemanggilan metode `sqrt`, kependekan dari “square root” dengan +Selanjutnya adalah *dot* (titik). Apa yang *dot* lakukan? Dengan *dot*-lah, +Anda bisa mengidentifikasi *receiver* dari suatu *message*. Nah, kalau +*message* apa? Dalam hal ini, *message* adalah `sqrt(9)`, yang artinya +pemanggilan *method* `sqrt`, kependekan dari “square root” dengan parameter `9`. -Hasil dari pemanggilan metode sqrt ini adalah value `3.0`. Anda bisa -perhatikan value bukan cuma `3` (tanpa `.0`). Itu karena sering angka -sqrt tidak akan berupa integer, jadi metode sqrt selalu return angka -floating-point. +Hasil dari pemanggilan *method* ini adalah nilai `3.0`. Anda bisa perhatikan +nilai bukan cuma `3` (tanpa `.0`). Itu karena akar dari sebuah bilangan sering +bukan berupa bilangan bulat (*integer*), sehingga *method* ini selalu mengembalikan +bilangan desimal (*floating-point number*). -Bagaimana jika kita ingin mengingat hasil dari beberapa perhitungan -matematika ini? Caranya assign hasilnya ke variabel. +Bagaimana jika kita ingin mengingat hasil dari beberapa operasi +matematika ini? Caranya simpan hasilnya ke sebuah variabel. {% highlight irb %} irb(main):007:0> a = 3 ** 2 @@ -139,6 +143,8 @@ irb(main):009:0> Math.sqrt(a+b) => 5.0 {% endhighlight %} -Sehebat kalkulator, kita sudah pergi dari message tradisional `Hello -World` yang biasanya selalu saja kalau ada tutorial untuk pemula -berfokus disana… [jadi mari kita kembali kesana.](2/) +Sehebat kalkulator, kita sudah pergi dari pesan `Hello World` yang biasanya +selalu saja kalau ada tutorial untuk pemula berfokus di sana… +[jadi mari kita kembali ke sana](2/). + +[installation]: /id/documentation/installation/ From 813af63014e095410c791d33284af9f1ee431621 Mon Sep 17 00:00:00 2001 From: maimu <76797372+maimux2x@users.noreply.github.com> Date: Wed, 5 Apr 2023 13:49:40 +0900 Subject: [PATCH 1933/2563] Update translation of documentation/installation (ja) (#3004) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Rubyのインストールページのパッケージ管理システムの説明をenに合わせて修正 * インデントのずれを修正 * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update ja/documentation/installation/index.md Co-authored-by: Sorah Fukumori * Update translation of documentation/installation (ja) * Removed trailing-whitespaces --------- Co-authored-by: Sorah Fukumori Co-authored-by: Hiroshi SHIBATA --- ja/documentation/installation/index.md | 209 ++++++++++++++++--------- 1 file changed, 131 insertions(+), 78 deletions(-) diff --git a/ja/documentation/installation/index.md b/ja/documentation/installation/index.md index a894218179..020f4df7db 100644 --- a/ja/documentation/installation/index.md +++ b/ja/documentation/installation/index.md @@ -7,91 +7,51 @@ lang: ja いくつかのツールを使ってRubyをインストールできます。 このページでは、Rubyの管理とインストールのための、メジャーなパッケージ管理ツールとサードパーティツールについて解説します。 +あなたのコンピューターにはすでにRubyがインストールされているかもしれません。[ターミナルソフト][terminal]で以下のように打つと確認することができます。 -## システムごとのインストール方法 +{% highlight sh %} +ruby -v +{% endhighlight %} -利用可能なインストール方法を解説します。 -お好みの使いやすい方法を選んでください。 +インストールされているRubyのバージョンに関する情報が出力されるはずです。 +## インストール方法を選択 +Rubyをインストールするには、いくつかの方法があります。 -* macOS +* UNIX系のOSでは、システムの ***パッケージマネージャ*** を利用するのが最も簡単です。ただし、パッケージ化されたRubyのバージョンが最新であるとは限りません。 +* ***インストーラ*** を使えば、特定の、あるいは複数のRubyバージョンをインストールすることができます。また、Windows用のインストーラもあります。 +* ***マネージャ*** は、システム上で複数のRubyのバージョンを切り替えるのに役立ちます。 +* 最後に、***Rubyをソースからビルドする***こともできます。 - * [rbenv](#rbenv) - * [RVM](#rvm) - * [chruby](#chruby) - * [Homebrew](#homebrew) - * [ソースからのビルド](#building-from-source) +Windows 10 では、[Windows Subsystem for Linux][wsl] を使用して、サポートされている Linux ディストリビューションの 1 つをインストールし、そのシステムで利用可能なインストール方法のいずれかを使用することもできます。 -* Linux/UNIX +以下は、利用可能なインストール方法です。 +* [Package Management Systems](#package-management-systems) + * [Debian, Ubuntu](#apt) + * [CentOS, Fedora, RHEL](#yum) + * [Snap](#snap) + * [Gentoo](#portage) + * [Arch Linux](#pacman) + * [macOS](#homebrew) + * [FreeBSD](#freebsd) + * [OpenBSD](#openbsd) + * [OpenIndiana](#openindiana) + * [Windows Package Manager](#winget) + * [Chocolatey package manager for Windows](#chocolatey) + * [Other Distributions](#other-systems) +* [Installers](#installers) + * [ruby-build](#ruby-build) + * [ruby-install](#ruby-install) + * [RubyInstaller](#rubyinstaller) (Windows) + * [Ruby Stack](#rubystack) +* [Managers](#managers) + * [asdf-vm](#asdf-vm) + * [chruby](#chruby) * [rbenv](#rbenv) + * [rbenv for Windows](#rbenv-for-windows) * [RVM](#rvm) - * [chruby](#chruby) - * [パッケージ管理システム](#package-management-systems) - * [ソースからのビルド](#building-from-source) - -* Windows - - * [WSL](#apt-wsl) - * [RubyInstaller](#rubyinstaller) - * [RailsInstaller](#railsinstaller) - -## サードパーティツール - -多くのRubyistたちは様々な特徴を持つサードパーティツールを使ってRubyをインストールしています。 - -各ツールには様々な利点がありますが、オフィシャルにサポートしている方法ではありません。 -しかし、それぞれのコミュニティが心強い助けになるでしょう。 - - -### rbenv -{: #rbenv} - -rbenv では複数の Ruby を管理することができます。 - -rbenv は Ruby のインストール自体はサポートしていませんが、 -[ruby-build](https://github.com/rbenv/ruby-build) というポピュラーなプラグインを使うことで Ruby をインストールすることができます。 - -それぞれのツールは macOS、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 - -rbenv をインストールする方法は [rbenvのページ][rbenv] に記述されています。 - -rbenv と似たツールとして、次に説明する RVM や chruby があります。 -そちらも確認して、良い方を選んでください。 - - -### RVM ("Ruby Version Manager") -{: #rvm} - -RVM は複数の Ruby のインストールと管理を行うことができます。 -このツールは macOS、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 - -RVM をインストールする方法は [rvm.io][rvm] に記述されています。 - -### chruby -{: #chruby} - -chruby では複数の Ruby を管理することができます。 - -chruby は Ruby のインストール自体はサポートしていませんが、 -[ruby-install](https://github.com/postmodern/ruby-install) や [ruby-build](https://github.com/rbenv/ruby-build) というポピュラーなプラグインを使うことで Ruby をインストールすることができます。 - -それぞれのツールは macOS、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 - -chruby をインストールする方法は [chrubyのページ][chruby] に記述されています。 - -### RubyInstaller -{: #rubyinstaller} - -もしあなたが Windows を使っているなら [RubyInstaller][rubyinstaller] を使って Ruby をインストールすることができます。 -これは、完全な Ruby 開発環境を Windows 上にセットアップしてくれます。 - -RubyInstaller を使うには、[RubyInstaller のページ][rubyinstaller] からダウンロードしてください。 -そしてこのインストーラを実行するだけです! - -### RailsInstaller -{: #railsinstaller} - -[RailsInstaller][railsinstaller] を利用すると、インストーラを実行するだけで Windows 上に Rails 開発環境を構築できます。 + * [uru](#uru) +* [Building from source](#building-from-source) ## パッケージ管理システム {: #package-management-systems} @@ -255,8 +215,91 @@ WindowsでRubyをインストールするには[Windows Package Manager CLI](htt ### その他のディストリビューション {: #other} その他のシステムでは,お使いのLinuxディストリビューションのマネージャのパッケージリポジトリを検索して,Rubyを探すことができます。 -もしくはサードパーティのインストーラを使うこともできます. +もしくはサードパーティのインストーラを使うこともできます。 + +## インストーラ +{: #installers} + +システムやパッケージマネージャが提供するRubyのバージョンが古い場合、サードパーティ製のインストーラを使って新しいものをインストールすることができます。 + +インストーラの中には、同じシステム上に複数のバージョンをインストールできるものもあり、関連するマネージャは、異なるRubyを切り替えるのに役立ちます。 + +[RVM](#rvm)をバージョン管理として使用する場合は、別途インストーラを用意する必要はなく、インストーラが付属しています。 + +### ruby-build +{: #ruby-build} + +[ruby-build][ruby-build]は[rbenv](#rbenv)のプラグインで、異なるバージョンのRubyのコンパイルとインストールを可能にします。ruby-buildはrbenvなしでスタンドアロンプログラムとして使用することも可能です。macOS、Linux、その他のUNIX系OSで利用可能です。 + +### ruby-install +{: #ruby-install} + +[ruby-install][ruby-install]は、異なるバージョンのRubyをコンパイルし、任意のディレクトリにインストールすることができます。 [chruby](#chruby) は、Rubyのバージョンを切り替えるために使用される補完的なツールです。macOS、Linux、その他のUNIX系OSで利用可能です。 +### RubyInstaller +{: #rubyinstaller} + +もしあなたが Windows を使っているならRubyInstallerを使って Ruby をインストールすることができます。 +これは、完全な Ruby 開発環境を Windows 上にセットアップしてくれます。 + +RubyInstaller を使うには、[RubyInstaller のページ][rubyinstaller] からダウンロードしてください。 +そしてインストーラを実行するだけです! +### Ruby Stack +{: #rubystack} + +Ruby on Railsを利用するためにRubyをインストールする場合は、以下のインストーラを利用することができます。 + +* [Bitnami Ruby Stack][rubystack]は、Railsのための完全な開発環境を提供します。macOS、Linux、Windows、仮想マシン、クラウドイメージをサポートしています。 + +## マネージャ +{: #managers} + +多くのRubyistは、複数のRubyを管理するためにRubyマネージャを使用しています。プロジェクトに応じてRubyのバージョンを簡単に、あるいは自動的に切り替えることができるなどの利点がありますが、公式にはサポートされていません。しかし、それぞれのコミュニティでサポートを見つけることができます。 + +### asdf-vm +{: #asdf-vm} + +[asdf-vm][asdf-vm]は拡張可能なバージョンマネージャで、複数の言語のランタイムバージョンをプロジェクト単位で管理することができる。Rubyをインストールするには、[asdf-ruby][asdf-ruby]プラグイン(これは[ruby-build][ruby-build]を使用します)が必要です。 +### chruby +{: #chruby} + +chruby では複数の Ruby を管理することができます。 + +chruby は Ruby のインストール自体はサポートしていませんが、 +[ruby-install](https://github.com/postmodern/ruby-install) や [ruby-build][ruby-build] というポピュラーなプラグインを使うことで Ruby をインストールすることができます。 + +それぞれのツールは macOS、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 + +chruby をインストールする方法は [chrubyのページ][chruby] に記述されています。 + +### rbenv +{: #rbenv} + +rbenv では複数の Ruby を管理することができます。 + +rbenv は Ruby のインストール自体はサポートしていませんが、 +[ruby-build][ruby-build] というポピュラーなプラグインを使うことで Ruby をインストールすることができます。 + +それぞれのツールは macOS、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 +rbenv をインストールする方法は [rbenvのページ][rbenv] に記述されています。 + +### rbenv for Windows +{: #rbenv-for-windows} + +[rbenv for Windows][rbenv-for-windows]は、WindowsにRubyを複数インストールし、管理することができます。PowerShellで書かれているため、WindowsユーザーにとってRubyを使うためのネイティブな方法を提供します。また、コマンドラインインターフェースはUNIX系システムの[rbenv][rbenv]と互換性があります。 + +### RVM ("Ruby Version Manager") +{: #rvm} + +RVM は複数の Ruby のインストールと管理を行うことができます。 +このツールは macOS、Linux およびその他 UNIX-like なオペレーティングシステムに対応しています。 + +RVM をインストールする方法は [rvm.io][rvm] に記述されています。 + +### uru +{: #uru} + +[Uru][uru]は、macOS、Linux、Windowsシステム上で複数のRubieを使用するのに役立つ、軽量でマルチプラットフォーム対応のコマンドラインツールです。 ## ソースからのビルド {: #building-from-source} @@ -291,3 +334,13 @@ $ sudo make install [gentoo-ruby]: http://www.gentoo.org/proj/en/prog_lang/ruby/ [homebrew]: http://brew.sh/ [building-ruby]: https://github.com/ruby/ruby/blob/master/doc/contributing/building_ruby.md +[terminal]: https://en.wikipedia.org/wiki/List_of_terminal_emulators +[wsl]: https://learn.microsoft.com/ja-jp/windows/wsl/about +[ruby-build]: https://github.com/rbenv/ruby-build#readme +[ruby-install]: https://github.com/postmodern/ruby-install#readme +[rubyinstaller]: https://rubyinstaller.org/ +[rubystack]: https://bitnami.com/stack/ruby/virtual-machine +[asdf-vm]: https://asdf-vm.com/ +[asdf-ruby]: https://github.com/asdf-vm/asdf-ruby +[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme +[uru]: https://bitbucket.org/jonforums/uru/src/master/ From a4a586c6d964f23c2bd6d081c3a529d40cfedfb7 Mon Sep 17 00:00:00 2001 From: marocchino Date: Wed, 5 Apr 2023 12:44:27 +0900 Subject: [PATCH 1934/2563] Translate "CVE-2023-28756: ReDoS vulnerability in Time" (ko) --- ...2023-03-30-redos-in-time-cve-2023-28756.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md diff --git a/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md new file mode 100644 index 0000000000..0d9d425cfa --- /dev/null +++ b/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2023-28756: Time의 ReDoS 취약점" +author: "hsbt" +translator: "marocchino" +date: 2023-03-30 11:00:00 +0000 +tags: security +lang: ko +--- + +Time gem 0.1.1, 0.2.2 버전에 ReDoS 취약점에 대한 보안 수정이 적용된 버전이 출시되었습니다. +이 취약점에는 CVE 식별자 [CVE-2023-28756](https://www.cve.org/CVERecord?id=CVE-2023-28756)이 할당되었습니다. + +## 세부 내용 + +Time 구문 분석기가 특정 문자가 포함된 유효하지 않은 문자열을 잘못 처리합니다. 이로 인해 문자열을 Time 객체로 구문 분석할 때 실행 시간이 늘어납니다. + +Time gem 0.1.0, 0.2.1, Ruby 2.7.7의 Time 라이브러리에서 ReDoS 문제가 발견되었습니다. + +## 권장 조치 + +Time gem을 0.2.2 버전 이상으로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에서는 동봉된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. + +* Ruby 3.0 사용자의 경우: `time` 0.1.1로 업데이트 +* Ruby 3.1/3.2 사용자의 경우: `time` 0.2.2로 업데이트 + +`gem update time`을 사용하여 업데이트할 수 있습니다. 번들러를 사용 중이라면 `gem "time", ">= 0.2.2"`를 `Gemfile`에 추가해 주세요. + +안타깝게도 Time gem은 Ruby 3.0 이상에서만 작동합니다. Ruby 2.7을 사용 중이라면 최신 버전의 Ruby를 사용하시기 바랍니다. + +## 해당 버전 + +* Ruby 2.7.7 이하 +* time gem 0.1.0 +* time gem 0.2.1 + +## 도움을 준 사람 + +이 문제를 발견해 주신 [ooooooo_q](https://hackerone.com/ooooooo_q?type=user)에게 감사드립니다. + +## 수정 이력 + +* 2023-03-30 11:00:00 (UTC) 최초 공개 From edd2a8f108cb50e0b93491996a4b9c79829507a3 Mon Sep 17 00:00:00 2001 From: marocchino Date: Wed, 5 Apr 2023 12:47:59 +0900 Subject: [PATCH 1935/2563] Change term bundler in English (ko) --- ko/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md | 2 +- .../_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md | 2 +- ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md | 2 +- ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ko/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md b/ko/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md index 0c8d34dc32..faf6269143 100644 --- a/ko/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md +++ b/ko/news/_posts/2017-10-10-ruby-2-5-0-preview1-released.md @@ -28,7 +28,7 @@ lang: ko * Onigmo를 6.1.1로 병합했습니다. [absence operator](https://github.com/k-takata/Onigmo/issues/87)를 추가했습니다. 루비 2.4.1은 이미 이 사항을 포함하였습니다. -* 번들러를 표준 라이브러리로 병합했습니다. +* bundler를 표준 라이브러리로 병합했습니다. * rubygems-2.6.13 병합했습니다. * rdoc-6.0.0.beta2 병합했습니다. IRB 구문 분석기를 Ripper로 교체, diff --git a/ko/news/_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md b/ko/news/_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md index a2de1385f7..467228927f 100644 --- a/ko/news/_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md +++ b/ko/news/_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md @@ -18,7 +18,7 @@ WEBrick은 유효하지 않은 Transfer-Encoding 헤더에 너무 관대했습 이는 WEBrick과 몇몇 HTTP 프록시 서버들 사이에서 해석 불일치를 유발해 공격자가 어떤 요청을 몰래 끼워넣을 수 있도록 합니다. 자세한 설명은 [CWE-444](https://cwe.mitre.org/data/definitions/444.html)를 참고하세요. -webrick 젬을 1.6.1 이상으로 업그레이드하기 바랍니다. 업그레이드하려면 `gem update webrick` 명령을 사용하세요. 만약 번들러를 사용하고 있다면 `Gemfile`에 `gem "webrick", ">= 1.6.1"`을 추가하세요. +webrick 젬을 1.6.1 이상으로 업그레이드하기 바랍니다. 업그레이드하려면 `gem update webrick` 명령을 사용하세요. 만약 bundler를 사용하고 있다면 `Gemfile`에 `gem "webrick", ">= 1.6.1"`을 추가하세요. ## 해당 버전 diff --git a/ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md b/ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md index 894126f4c4..2ddadf9069 100644 --- a/ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md +++ b/ko/news/_posts/2022-04-03-ruby-3-2-0-preview1-released.md @@ -137,7 +137,7 @@ long_time_re =~ "a" * 50000 + "x" # 타임아웃이 발생하지 않습니다. * 미정 -* 다음 기본 gem은 이제 내장 gem이 됩니다. 사용하려면 번들러 환경에서 `Gemfile`에 다음 라이브러리들을 추가해야 합니다. +* 다음 기본 gem은 이제 내장 gem이 됩니다. 사용하려면 bundler 환경에서 `Gemfile`에 다음 라이브러리들을 추가해야 합니다. * 미정 diff --git a/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md index 0d9d425cfa..58e21cdc68 100644 --- a/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md +++ b/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -24,7 +24,7 @@ Time gem을 0.2.2 버전 이상으로 업데이트하는 것이 좋습니다. * Ruby 3.0 사용자의 경우: `time` 0.1.1로 업데이트 * Ruby 3.1/3.2 사용자의 경우: `time` 0.2.2로 업데이트 -`gem update time`을 사용하여 업데이트할 수 있습니다. 번들러를 사용 중이라면 `gem "time", ">= 0.2.2"`를 `Gemfile`에 추가해 주세요. +`gem update time`을 사용하여 업데이트할 수 있습니다. bundler를 사용 중이라면 `gem "time", ">= 0.2.2"`를 `Gemfile`에 추가해 주세요. 안타깝게도 Time gem은 Ruby 3.0 이상에서만 작동합니다. Ruby 2.7을 사용 중이라면 최신 버전의 Ruby를 사용하시기 바랍니다. From bff553d92b07936f6e8a3a6b5128af3c8dc31bca Mon Sep 17 00:00:00 2001 From: marocchino Date: Wed, 5 Apr 2023 17:57:44 +0900 Subject: [PATCH 1936/2563] Translate 2.7.8, 3.0.6, 3.1.4, 3.2.2 releases (ko) (#3023) * Translate 2.7.8, 3.0.6, 3.1.4, 3.2.2 releases (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2023-03-30-ruby-2-7-8-released.md | 60 +++++++++++++++++++ .../_posts/2023-03-30-ruby-3-0-6-released.md | 58 ++++++++++++++++++ .../_posts/2023-03-30-ruby-3-1-4-released.md | 48 +++++++++++++++ .../_posts/2023-03-30-ruby-3-2-2-released.md | 48 +++++++++++++++ 4 files changed, 214 insertions(+) create mode 100644 ko/news/_posts/2023-03-30-ruby-2-7-8-released.md create mode 100644 ko/news/_posts/2023-03-30-ruby-3-0-6-released.md create mode 100644 ko/news/_posts/2023-03-30-ruby-3-1-4-released.md create mode 100644 ko/news/_posts/2023-03-30-ruby-3-2-2-released.md diff --git a/ko/news/_posts/2023-03-30-ruby-2-7-8-released.md b/ko/news/_posts/2023-03-30-ruby-2-7-8-released.md new file mode 100644 index 0000000000..503ed47365 --- /dev/null +++ b/ko/news/_posts/2023-03-30-ruby-2-7-8-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Ruby 2.7.8 Released" +author: "usa" +translator: "marocchino" +date: 2023-03-30 12:00:00 +0000 +lang: ko +--- + +Ruby 2.7.8이 릴리스되었습니다. + +이번 릴리스에는 보안 수정 사항이 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2023-28755: URI의 ReDoS 취약점]({%link ko/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Time의 ReDoS 취약점]({%link ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +이번 릴리스에는 일부 빌드 문제 수정도 포함되어 있습니다. +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v2_7_8)를 참조하세요. + +이 릴리스가 끝나면 Ruby 2.7은 EOL에 도달합니다. 즉, 이번 릴리스가 Ruby 2.7 버전대의 마지막 릴리스가 될 것으로 예상됩니다. +보안 취약점이 발견되더라도 Ruby 2.7.9는 릴리스되지 않을 것입니다. (심각한 회귀 버그가 발생하는 경우는 예외입니다.) +모든 Ruby 2.7 사용자는 즉시 Ruby 3.2, 3.1, 3.0으로 마이그레이션할 것을 권장합니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "2.7.8" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2023-03-30-ruby-3-0-6-released.md b/ko/news/_posts/2023-03-30-ruby-3-0-6-released.md new file mode 100644 index 0000000000..a89cd8a810 --- /dev/null +++ b/ko/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "Ruby 3.0.6 릴리스" +author: "usa" +translator: "marocchino" +date: 2023-03-30 12:00:00 +0000 +lang: ko +--- + +Ruby 3.0.6이 릴리스되었습니다. + +이번 릴리스에는 보안 수정 사항이 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2023-28755: URI의 ReDoS 취약점]({%link ko/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Time의 ReDoS 취약점]({%link ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +이번 릴리스에는 몇 가지 버그 수정도 포함되어 있습니다. +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_0_6)를 참조하세요. + +이 릴리스 이후에는 Ruby 3.0의 일반 유지보수 단계가 종료되고 Ruby 3.0은 보안 유지보수 단계에 들어갑니다. +즉, 보안 수정을 제외한 모든 버그 수정을 Ruby 3.0으로 더 이상 백포트하지 않습니다. + +보안 유지보수 단계의 기간은 1년으로 예정되어 있습니다. +Ruby 3.0은 보안 유지보수 단계가 끝나면 EOL에 도달하고 공식 지원이 종료됩니다. +따라서 Ruby 3.1, 3.2로 업그레이드할 계획을 세우는 것을 권장합니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.0.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. + +이 릴리스를 포함한 Ruby 3.0의 유지보수는 Ruby Association의 "Ruby 안정 버전에 관한 협의"에 기반해 이루어집니다. diff --git a/ko/news/_posts/2023-03-30-ruby-3-1-4-released.md b/ko/news/_posts/2023-03-30-ruby-3-1-4-released.md new file mode 100644 index 0000000000..47c36c2967 --- /dev/null +++ b/ko/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.1.4 릴리스" +author: "nagachika" +translator: "marocchino" +date: 2023-03-30 12:00:00 +0000 +lang: ko +--- + +Ruby 3.1.4가 릴리스되었습니다. + +이번 릴리스에는 보안 수정 사항이 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2023-28755: URI의 ReDoS 취약점]({%link ko/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Time의 ReDoS 취약점]({%link ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_1_4)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.1.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2023-03-30-ruby-3-2-2-released.md b/ko/news/_posts/2023-03-30-ruby-3-2-2-released.md new file mode 100644 index 0000000000..c481f0408a --- /dev/null +++ b/ko/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.2.2 릴리스" +author: "naruse" +translator: "marocchino" +date: 2023-03-30 12:00:00 +0000 +lang: ko +--- + +Ruby 3.2.2가 릴리스되었습니다. + +이번 릴리스에는 보안 수정 사항이 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2023-28755: URI의 ReDoS 취약점]({%link ko/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Time의 ReDoS 취약점]({%link ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_2)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.2.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 8a70735edb89786719eaa15f76347afce3e33d76 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Wed, 5 Apr 2023 17:59:55 +0900 Subject: [PATCH 1937/2563] Update translation of CVE-2023-28756 (ko) (#3024) --- ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md index 58e21cdc68..2fe5ff4e32 100644 --- a/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md +++ b/ko/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -8,25 +8,25 @@ tags: security lang: ko --- -Time gem 0.1.1, 0.2.2 버전에 ReDoS 취약점에 대한 보안 수정이 적용된 버전이 출시되었습니다. +ReDoS 취약점에 대한 보안 수정이 적용된 time gem 0.1.1, 0.2.2 버전이 출시되었습니다. 이 취약점에는 CVE 식별자 [CVE-2023-28756](https://www.cve.org/CVERecord?id=CVE-2023-28756)이 할당되었습니다. ## 세부 내용 Time 구문 분석기가 특정 문자가 포함된 유효하지 않은 문자열을 잘못 처리합니다. 이로 인해 문자열을 Time 객체로 구문 분석할 때 실행 시간이 늘어납니다. -Time gem 0.1.0, 0.2.1, Ruby 2.7.7의 Time 라이브러리에서 ReDoS 문제가 발견되었습니다. +time gem 0.1.0, 0.2.1, Ruby 2.7.7의 Time 라이브러리에서 ReDoS 문제가 발견되었습니다. ## 권장 조치 -Time gem을 0.2.2 버전 이상으로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에서는 동봉된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. +time gem을 0.2.2 버전 이상으로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에 포함된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. * Ruby 3.0 사용자의 경우: `time` 0.1.1로 업데이트 * Ruby 3.1/3.2 사용자의 경우: `time` 0.2.2로 업데이트 `gem update time`을 사용하여 업데이트할 수 있습니다. bundler를 사용 중이라면 `gem "time", ">= 0.2.2"`를 `Gemfile`에 추가해 주세요. -안타깝게도 Time gem은 Ruby 3.0 이상에서만 작동합니다. Ruby 2.7을 사용 중이라면 최신 버전의 Ruby를 사용하시기 바랍니다. +안타깝게도 time gem은 Ruby 3.0 이상에서만 작동합니다. Ruby 2.7을 사용 중이라면 최신 버전의 Ruby를 사용하시기 바랍니다. ## 해당 버전 From 771afddf7a0aa4a1d972962e0570f4cb24fdf3be Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Wed, 5 Apr 2023 22:15:38 +0800 Subject: [PATCH 1938/2563] Translate 2.7.8, 3.0.6, 3.1.4, 3.2.2 (zh_cn) (#3015) --- .../_posts/2023-03-30-ruby-2-7-8-released.md | 60 +++++++++++++++++++ .../_posts/2023-03-30-ruby-3-0-6-released.md | 57 ++++++++++++++++++ .../_posts/2023-03-30-ruby-3-1-4-released.md | 49 +++++++++++++++ .../_posts/2023-03-30-ruby-3-2-2-released.md | 49 +++++++++++++++ 4 files changed, 215 insertions(+) create mode 100644 zh_cn/news/_posts/2023-03-30-ruby-2-7-8-released.md create mode 100644 zh_cn/news/_posts/2023-03-30-ruby-3-0-6-released.md create mode 100644 zh_cn/news/_posts/2023-03-30-ruby-3-1-4-released.md create mode 100644 zh_cn/news/_posts/2023-03-30-ruby-3-2-2-released.md diff --git a/zh_cn/news/_posts/2023-03-30-ruby-2-7-8-released.md b/zh_cn/news/_posts/2023-03-30-ruby-2-7-8-released.md new file mode 100644 index 0000000000..e9109d1f33 --- /dev/null +++ b/zh_cn/news/_posts/2023-03-30-ruby-2-7-8-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Ruby 2.7.8 已发布" +author: "usa" +translator: "GAO Jun" +date: 2023-03-30 12:00:00 +0000 +lang: zh_cn +--- + +Ruby 2.7.8 已发布。 + +此版本包括安全补丁。 +请通过以下条目来获取详情。 + +* [CVE-2023-28755: URI 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756:Time 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +此版本还修复了一些构建问题。 +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v2_7_8) 获取进一步信息。 + +此版本发布后,Ruby 2.7 达到 EOL。也就是说,这应该是 Ruby 2.7 系列的最后一个版本。 +即使发现安全漏洞,我们也不会发布 Ruby 2.7.9(但如果发现严重回归问题时,则有可能会发布)。 +我们建议所有 Ruby 2.7 用户立即开始迁移到 Ruby 3.2,3.1 或 3.0。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "2.7.8" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 diff --git a/zh_cn/news/_posts/2023-03-30-ruby-3-0-6-released.md b/zh_cn/news/_posts/2023-03-30-ruby-3-0-6-released.md new file mode 100644 index 0000000000..15b5b9ea32 --- /dev/null +++ b/zh_cn/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Ruby 3.0.6 已发布" +author: "usa" +translator: "GAO Jun" +date: 2023-03-30 12:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.0.6 已发布。 + +此版本包括安全补丁。 +请通过以下条目来获取详情。 + +* [CVE-2023-28755: URI 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756:Time 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +此版本还修复了一些构建问题。 +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v2_7_8) 获取进一步信息。 + +此版本发布后,我们将结束 Ruby 3.0 的普通维护期,Ruby 3.0 进入安全维护期。 +这意味着除了安全补丁,我们将不再移植任何错误修复到 Ruby 3.0。 + +安全维护期的期限为一年。 +Ruby 3.0 将在安全维护期结束时达到 EOL,此时官方支持也将终结。 +因此,我们建议您开始规划升级到 Ruby 3.1 或 Ruby 3.2。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.0.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 感谢他们的贡献。 + +包括这个版本在内的 Ruby 3.0 的维护,都基于 Ruby 协会 (Ruby Association) 的“Ruby 稳定版协议(Agreement for the Ruby stable version)”。 diff --git a/zh_cn/news/_posts/2023-03-30-ruby-3-1-4-released.md b/zh_cn/news/_posts/2023-03-30-ruby-3-1-4-released.md new file mode 100644 index 0000000000..3ec21401cf --- /dev/null +++ b/zh_cn/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.1.4 已发布" +author: "nagachika" +translator: "GAO Jun" +date: 2023-03-30 12:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.1.4 已发布。 + +此版本包括安全补丁。 +请通过以下条目来获取详情。 + +* [CVE-2023-28755: URI 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756:Time 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +此版本还修复了一些构建问题。 +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v2_7_8) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.1.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 diff --git a/zh_cn/news/_posts/2023-03-30-ruby-3-2-2-released.md b/zh_cn/news/_posts/2023-03-30-ruby-3-2-2-released.md new file mode 100644 index 0000000000..3615ce6846 --- /dev/null +++ b/zh_cn/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.2.2 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2023-03-30 12:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.2.2 已发布。 + +此版本包括安全补丁。 +请通过以下条目来获取详情。 + +* [CVE-2023-28755: URI 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756:Time 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +此版本还修复了一些构建问题。 +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v2_7_8) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.2.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From ff5c0444a42b9dfd1042b108eb3da63ed6b0c8d8 Mon Sep 17 00:00:00 2001 From: marocchino Date: Sat, 8 Apr 2023 20:25:43 +0900 Subject: [PATCH 1939/2563] Translate faq 4 (ko) (#3027) * Translate faq 4 (ko) * Apply suggestions from code review Co-authored-by: Chayoung You * Minor punctuation error (ko) * Apply suggestions from code review (ko) Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/documentation/faq/1/index.md | 2 +- ko/documentation/faq/2/index.md | 2 +- ko/documentation/faq/3/index.md | 2 +- ko/documentation/faq/4/index.md | 421 ++++++++++++++++++++++++++++++++ ko/documentation/faq/index.md | 6 +- 5 files changed, 427 insertions(+), 6 deletions(-) create mode 100644 ko/documentation/faq/4/index.md diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md index b793a3e26b..429e5d4c16 100644 --- a/ko/documentation/faq/1/index.md +++ b/ko/documentation/faq/1/index.md @@ -13,7 +13,7 @@ header: | | 3 | - 4 + 4 | 5 | diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md index 7eae98ab49..87efee44e1 100644 --- a/ko/documentation/faq/2/index.md +++ b/ko/documentation/faq/2/index.md @@ -13,7 +13,7 @@ header: | | 3 | - 4 + 4 | 5 | diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md index 2d1ca13393..a629fb2517 100644 --- a/ko/documentation/faq/3/index.md +++ b/ko/documentation/faq/3/index.md @@ -13,7 +13,7 @@ header: | | 3 | - 4 + 4 | 5 | diff --git a/ko/documentation/faq/4/index.md b/ko/documentation/faq/4/index.md new file mode 100644 index 0000000000..5c93fad7d7 --- /dev/null +++ b/ko/documentation/faq/4/index.md @@ -0,0 +1,421 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 변수, 상수, 인수 + +### 대입하면 객체의 새 복사본이 생성되나요? +{: #assignment} + +모든 변수와 상수는 어떤 객체를 참조(가리킴)합니다. (초기화되지 않은 지역 변수는 +예외입니다. 이 경우 아무것도 참조하지 않습니다. 사용하면 `NameError` 예외가 +발생합니다) 변수에 대입하거나 상수를 초기화할 때 변수 또는 상수가 참조하는 +객체를 설정합니다. + +따라서 대입 자체만으로는 객체의 새 복사본이 생성되지 않습니다. + +특수한 경우에 대해 더 자세히 설명해 보겠습니다. `Fixnum`, `NilClass`, +`TrueClass`, `FalseClass`의 인스턴스는 변수나 상수에 직접 포함되며 참조가 사용되지 +않습니다. 숫자 `42` 또는 상수 `true`를 보유한 변수는 실제로 값을 보유하는 +것이지 참조를 보유하는 것이 아닙니다. 따라서 대입은 물리적으로 이러한 +유형의 객체의 복사본을 생성합니다. 이에 대해서는 +[즉시 객체와 참조 객체](/en/documentation/faq/6/#immediate)에서 자세히 설명합니다. + + +### 지역 변수의 스코프는 무엇인가요? + +지역 변수에 대한 새로운 스코프는 (1) 최상위 수준(메인), (2) 클래스(또는 모듈) +정의, (3) 메서드 정의에 적용됩니다. + +~~~ +var = 1 # (1) +class Demo + var = 2 # (2) + def method + var = 3 # (3) + puts "in method: var = #{var}" + end + puts "in class: var = #{var}" +end +puts "at top level: var = #{var}" +Demo.new.method +~~~ + +결과: + +~~~ +in class: var = 2 +at top level: var = 1 +in method: var = 3 +~~~ + +(주의: 클래스 정의는 실행 가능한 코드이므로 클래스가 정의될 때 정의에 포함된 +추적 메시지가 기록됩니다.) + +블록(`{ ... }`나 `do ... end`)은 거의 새로운 스코프를 도입합니다 ;-) +블록 내에서 생성된 지역 변수는 블록 외부에서 액세스할 수 없습니다. +그러나 블록 내의 지역 변수가 호출자 스코프의 기존 지역 변수와 이름이 같으면 +새 지역 변수가 생성되지 않으며, 이후 블록 외부에서 해당 변수에 액세스할 수 있습니다. + +~~~ +a = 0 +1.upto(3) do |i| + a += i + b = i*i +end +a # => 6 +# b is not defined here +~~~ + +이는 스레드를 사용할 때 중요해지는데, 각 스레드는 스레드 블록 내의 +지역 변수의 자체 복사본을 받습니다. + +~~~ +threads = [] + +["one", "two"].each do |name| + threads << Thread.new do + local_name = name + a = 0 + 3.times do |i| + Thread.pass + a += i + puts "#{local_name}: #{a}" + end + end +end + +threads.each {|t| t.join } +~~~ + +다음 결과가 나올 수 있습니다. (스케줄러가 `Thread.pass`에 의해 힌트를 받은 대로 +스레드를 전환하는 경우입니다. 이는 OS 및 프로세서에 따라 달라집니다) + +~~~ +one: 0 +two: 0 +one: 1 +two: 1 +one: 3 +two: 3 +~~~ + +`while`, `until`, `for`는 블록이 아닌 제어 구조이므로 그 안에 있는 +지역 변수는 바깥 환경에서 액세스할 수 있습니다. 그러나 `loop`는 메서드이며 +관련 블록은 새로운 스코프를 도입합니다. + +### 지역 변수는 언제 액세스할 수 있나요? + +사실 이 질문은 이렇게 묻는 것이 더 나을 수 있습니다. "Ruby는 어느 시점에서 +어떤 것이 변수라는 것을 알아내는가?" 문제는 단순한 표현식 `a`가 변수일 수도 +있고 매개변수가 없는 메서드에 대한 호출일 수도 있기 때문에 발생합니다. +어떤 경우인지 판단하기 위해 Ruby는 대입문을 찾습니다. +소스에서 `a`를 사용하기 전 어느 지점에서 `a`가 대입되는 것을 확인하면 `a`를 +변수로 구문 분석하고, 그렇지 않으면 메서드로 처리하기로 결정합니다. +다소 병적인 사례로 Clemens Hintze가 만든 이 코드 조각을 살펴 보세요. + + +~~~ +def a + puts "method `a' called" + + 99 +end + +[1, 2].each do |i| + if i == 2 + puts "a = #{a}" + else + a = 1 + puts "a = #{a}" + end +end +~~~ + +결과: + +~~~ +a = 1 +method `a' called +a = 99 +~~~ + +구문 분석 중에 Ruby는 첫 번째 `puts` 문에서 `a`가 사용된 것을 보고 `a`에 +대한 할당을 아직 보지 못했기 때문에 메서드 호출이라고 가정합니다. 하지만 두 번째 +`puts` 문에 도달하면 대입이 확인되었으므로 `a`를 변수로 취급합니다. + +주의: 대입은 실행될 필요가 없으며 Ruby가 확인만 하면 됩니다. 이 프로그램은 오류를 +발생시키지 않습니다. + +~~~ +a = 1 if false; a # => nil +~~~ + +변수와 관련된 이 문제는 일반적으로 문제가 되지 않습니다. 이 문제가 발생하면 +변수에 대한 첫 번째 액세스 전에 `a = nil`과 같은 대입을 시도해 보세요. 이렇게 +하면 이후에 루프에 나타나는 지역 변수에 대한 액세스 시간이 빨라지는 추가적인 +이점이 있습니다. + +### 상수의 스코프는 무엇인가요? + +클래스 또는 모듈 정의에 정의된 상수는 해당 클래스 또는 모듈의 정의 내에서 +직접 액세스할 수 있습니다. + +중첩된 클래스 및 모듈 내에서 외부 클래스 및 모듈의 상수에 직접 액세스할 +수 있습니다. + +슈퍼클래스와 포함된 모듈의 상수에 직접 액세스할 수도 있습니다. + +이러한 경우 외에도 `::` 연산자, `ModuleName::CONST1` 또는 `ClassName::CONST2`를 +사용하여 클래스 및 모듈 상수에 액세스할 수 있습니다. + +### 인수는 어떻게 전달되나요? + +실제 인수는 메서드가 호출될 때 형식 인수에 대입됩니다. +(대입의 의미에 대한 자세한 내용은 [대입](#assignment)을 참조하세요.) + +~~~ +def add_one(number) + number += 1 +end + +a = 1 +add_one(a) # => 2 +a # => 1 +~~~ + +객체 참조를 전달하기 때문에, 메서드가 전달된 변경 가능한 객체의 내용을 수정할 수 +있습니다. + +~~~ +def downer(string) + string.downcase! +end + +a = "HELLO" # => "HELLO" +downer(a) # => "hello" +a # => "hello" +~~~ + +다른 언어의 참조에 의한 전달과 다릅니다. + +### 형식 인수에 대한 대입이 실제 인수에 영향을 주나요? + +형식 인수는 지역 변수입니다. 메서드 내에서 형식 인수에 대입하면 단순히 인수가 +다른 객체를 참조하도록 변경됩니다. + +### 형식 인수를 통해 메서드를 호출하면 어떻게 되나요? + +모든 Ruby 변수(메서드 인수 포함)는 객체에 대한 참조로 작동합니다. 이러한 +객체에서 메서드를 호출하여 객체의 상태를 가져오거나 변경하고 객체가 어떤 작업을 +수행하도록 할 수 있습니다. 메서드에 전달된 객체로 이 작업을 수행할 수 있습니다. +이러한 종류의 부작용으로 인해 프로그램을 따라가기 어려울 수 있으므로 +이 작업을 수행할 때 주의해야 합니다. + +### 인수 앞에 `*`가 붙으면 무슨 뜻인가요? + +별표를 형식 매개변수 목록의 일부로 사용하면 인수를 배열로 모으고 별표가 +표시된 매개변수에 해당 배열을 할당하여 메서드에 임의의 수의 인수를 전달 +할 수 있습니다. + +~~~ +def foo(prefix, *all) + all.each do |element| + puts "#{prefix}#{element}" + end +end + +foo("val = ", 1, 2, 3) +~~~ + +결과: + +~~~ +val = 1 +val = 2 +val = 3 +~~~ + +메서드 호출에 사용될 때 `*`는 배열을 확장하여 개별 요소를 인수로 전달합니다. + +~~~ +a = [1, 2, 3] +foo(*a) +~~~ + +다음의 경우 마지막 인수 앞에 `*`를 붙일 수 있습니다. + +1. 다중 대입의 좌항 +2. 다중 대입의 우항 +3. 메서드 형식 인수의 정의 +4. 메서드 호출의 실제 인수 +5. `case` 구조의 `when` 절 + + +예시: + +~~~ +x, *y = [7, 8, 9] +x # => 7 +y # => [8, 9] +x, = [7, 8, 9] +x # => 7 +x = [7, 8, 9] +x # => [7, 8, 9] +~~~ + +### 인수 앞에 `&`가 붙으면 무슨 뜻인가요? + +메서드의 마지막 형식 인자 앞에 앰퍼샌드(`&`)가 붙으면 메서드 호출 뒤에 오는 +블록이 `Proc` 객체로 변환되어 형식 매개변수에 할당됩니다. + +메서드 호출의 마지막 실제 인수가 `Proc` 객체인 경우, 이름 앞에 앰퍼샌드를 +붙여 블록으로 변환할 수 있습니다. 그런 다음 메서드는 `yield`를 사용하여 호출할 +수 있습니다. + +~~~ +def meth1(&b) + puts b.call(9) +end + +meth1 {|i| i + i } + +def meth2 + puts yield(8) +end + +square = proc {|i| i * i } + +meth2 {|i| i + i } +meth2 &square +~~~ + +결과: + +~~~ +18 +16 +64 +~~~ + +### 형식 인수의 기본값을 지정하려면 어떻게 해야 하나요? + +~~~ +def greet(p1="hello", p2="world") + puts "#{p1} #{p2}" +end + +greet +greet("hi") +greet("morning", "mom") +~~~ + +결과: + +~~~ +hello world +hi world +morning mom +~~~ + +메서드가 호출될 때 기본값(임의의 표현식일 수 있음)이 평가됩니다. 기본값은 +메서드의 스코프를 사용하여 평가됩니다. + +### 블록에 인수를 전달하려면 어떻게 하나요? + +블록의 형식 매개변수는 블록 시작 부분의 세로 막대 사이에 표시됩니다. + +~~~ +proc {|a, b| a <=> b } +~~~ + +이러한 매개변수는 실제로 지역 변수입니다. 블록이 실행될 때 같은 이름의 기존 +지역 변수가 존재하면, 블록 호출에 의해 해당 변수가 수정됩니다. 이는 좋을 수도 +나쁠 수도 있습니다. + +일반적으로 인수는 `yield`(또는 `yield`를 호출하는 이터레이터)를 사용하거나 +`Proc.call` 메서드를 사용하여 블록에 전달됩니다. + +### 내 객체가 예기치 않게 변경된 이유는 무엇인가요? + +~~~ +A = a = b = "abc" +b.concat("d") # => "abcd" +a # => "abcd" +A # => "abcd" +~~~ + +변수는 객체에 대한 참조를 보유합니다. `A = a = b = "abc"` 할당은 문자열 +`"abc"`에 대한 참조를 `A`, `a`, `b`에 넣습니다. + +`b.concat("d")`를 호출하면 해당 객체에 대해 concat 메서드를 호출하여 +`"abc"`에서 `"abcd"`로 변경합니다. `a`와 `A`도 동일한 객체를 참조하기 때문에 겉보기 +값도 변경됩니다. + +이는 실제로 발생할 수 있는 문제에 비하면 작은 것입니다. + +또한 모든 객체는 동결(frozen)하여 변경되지 않도록 보호할 수 있습니다. + +### 상수의 값이 변경되긴 하는 건가요? + +상수는 이름이 대문자로 시작하는 변수입니다. 상수는 인스턴스 메서드 내에서 +새로 대입할 수 없지만, 그 외에는 마음대로 변경할 수 있습니다. +상수에 새 값이 대입되면 경고가 표시됩니다. + +### 별도의 파일에서 변수를 로드할 수 없는 이유는 무엇인가요? + +`file1.rb`에 다음이 포함되어 있다고 가정합시다. + +~~~ +var1 = 99 +~~~ + +그리고 다른 파일에서 로드합니다. + +~~~ +require_relative "file1" +puts var1 +~~~ + +결과: + +~~~ +prog.rb:2:in `
': undefined local variable or method `var1' for main:Object (NameError) +~~~ + +`load` 및 `require`는 지역 변수를 별도의 익명 네임스페이스에 저장하도록 정렬하여 +효과적으로 지역 변수를 제거하기 때문에 오류가 발생합니다. 이는 코드가 +오염되지 않도록 보호하기 위한 설계입니다. diff --git a/ko/documentation/faq/index.md b/ko/documentation/faq/index.md index d29259860f..273977e48e 100644 --- a/ko/documentation/faq/index.md +++ b/ko/documentation/faq/index.md @@ -13,7 +13,7 @@ header: | | 3 | - 4 + 4 | 5 | @@ -51,8 +51,8 @@ Stollsteimer에게 감사드립니다. * [일반적인 질문](1/) * [Ruby의 경쟁 상대는...?](2/) -* [Ruby 설치하기](/en/documentation/faq/3/) -* [변수, 상수 및 인수](/en/documentation/faq/4/) +* [Ruby 설치하기](3/) +* [변수, 상수, 인수](4/) * [이터레이터](/en/documentation/faq/5/) * [구문](/en/documentation/faq/6/) * [메서드](/en/documentation/faq/7/) From 52318fc5d387d25672dff9d955ef076fe3cc16c4 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Mon, 10 Apr 2023 12:21:01 +0900 Subject: [PATCH 1940/2563] Remove snapshot-ruby_2_7 Because generating snapshot-ruby_2_7 stopped. https://github.com/ruby/actions/commit/b105aad95d851d30746dc3f31616d73c738ac91f --- _data/downloads.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 3674376c8a..5dbc10c271 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -44,13 +44,6 @@ stable_snapshots: zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_0.zip version: '3.0' - - branch: ruby_2_7 - url: - gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_2_7.tar.gz - xz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_2_7.tar.xz - zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_2_7.zip - version: '2.7' - nightly_snapshot: url: From 8e2313c6e1b74b5a3009112192f33ca0915a9332 Mon Sep 17 00:00:00 2001 From: marocchino Date: Tue, 11 Apr 2023 07:37:22 +0900 Subject: [PATCH 1941/2563] Translate faq 5 (ko) (#3028) * Translate faq 5 (ko) * Fix broken link (ko) * Apply suggestions from code review Co-authored-by: Shia * Apply suggestions from code review Co-authored-by: Shia --------- Co-authored-by: Shia --- ko/documentation/faq/1/index.md | 2 +- ko/documentation/faq/2/index.md | 2 +- ko/documentation/faq/3/index.md | 2 +- ko/documentation/faq/4/index.md | 2 +- ko/documentation/faq/5/index.md | 232 ++++++++++++++++++++++++++++++++ ko/documentation/faq/index.md | 4 +- ko/documentation/index.md | 4 +- 7 files changed, 240 insertions(+), 8 deletions(-) create mode 100644 ko/documentation/faq/5/index.md diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md index 429e5d4c16..ecfa521563 100644 --- a/ko/documentation/faq/1/index.md +++ b/ko/documentation/faq/1/index.md @@ -15,7 +15,7 @@ header: | | 4 | - 5 + 5 | 6 | diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md index 87efee44e1..0545a12435 100644 --- a/ko/documentation/faq/2/index.md +++ b/ko/documentation/faq/2/index.md @@ -15,7 +15,7 @@ header: | | 4 | - 5 + 5 | 6 | diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md index a629fb2517..0b609bfba5 100644 --- a/ko/documentation/faq/3/index.md +++ b/ko/documentation/faq/3/index.md @@ -15,7 +15,7 @@ header: | | 4 | - 5 + 5 | 6 | diff --git a/ko/documentation/faq/4/index.md b/ko/documentation/faq/4/index.md index 5c93fad7d7..3539d4f41c 100644 --- a/ko/documentation/faq/4/index.md +++ b/ko/documentation/faq/4/index.md @@ -15,7 +15,7 @@ header: | | 4 | - 5 + 5 | 6 | diff --git a/ko/documentation/faq/5/index.md b/ko/documentation/faq/5/index.md new file mode 100644 index 0000000000..27f50bb88e --- /dev/null +++ b/ko/documentation/faq/5/index.md @@ -0,0 +1,232 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 이터레이터 + +### 이터레이터란 무엇인가요? + +이터레이터는 블록 또는 `Proc` 객체를 받는 메서드입니다. 소스 파일에서 +블록은 메서드 호출 직후에 위치합니다. 이터레이터는 사용자 정의 제어 +구조, 특히 루프를 생성하는 데 사용됩니다. + +이터레이터가 어떻게 작동하는지 예시를 통해 살펴봅시다. 이터레이터는 다음과 같이 +컬렉션의 각 요소에 대해 동일한 작업을 반복하는 데 자주 사용됩니다. + +~~~ +data = [1, 2, 3] +data.each do |i| + puts i +end +~~~ + +결과: + +~~~ +1 +2 +3 +~~~ + +배열 `data`의 each 메서드에는 `do ... end` 블록이 전달되어 반복적으로 +실행됩니다. 호출할 때마다 블록은 배열의 연속적인 요소를 전달받습니다. + +블록을 정의할 때 `do ... end` 대신 `{ ... }`를 쓸 수 있습니다. + +~~~ +data = [1, 2, 3] +data.each { |i| + puts i +} +~~~ + +결과: + +~~~ +1 +2 +3 +~~~ + +이 코드는 전 예제와 동일한 의미를 갖습니다. 그러나 경우에 따라 우선순위 +문제로 인해 `do ... end`와 `{ ... }`가 다르게 동작할 수 있습니다. + +~~~ +foobar a, b do ... end # foobar가 이터레이터. +foobar a, b { ... } # b가 이터레이터. +~~~ + +이는 `{ ... }`는 `do ... end` 블록보다 앞의 표현식에 더 강하게 바인딩되기 +때문입니다. 첫 번째 예는 `foobar(a, b) do ... end`와 같고, 두 번째 예는 +`foobar(a, b { ... })`와 같습니다. + +### 블록을 이터레이터에 전달하려면 어떻게 해야 하나요? + +반복자 호출 뒤에 블록을 배치하기만 하면 됩니다. `Proc`을 참조하는 변수나 상수 +이름 앞에 `&`를 붙여 `Proc` 객체를 전달할 수도 있습니다. + +### 블록은 이터레이터에서 어떻게 사용되나요? + +{% include faq-out-of-date.html %} + +이터레이터 메서드에서 블록을 실행하는 방법에는 세 가지가 있습니다: +(1) `yield` 제어 구조, (2) `call`을 사용하여 (블록으로 만든) `Proc` 인자를 +호출하는 것, (3) `Proc.new`를 사용한 후 호출하는 것 등이 있습니다. + +`yield` 문은 블록을 호출하며, 하나 이상의 인수를 전달할 수 있습니다. + +~~~ +def my_iterator + yield 1, 2 +end + +my_iterator {|a, b| puts a, b } +~~~ + +결과: + +~~~ +1 +2 +~~~ + +메서드 정의에 블록 인수가 있는 경우(마지막 형식 매개 변수 앞에 앰퍼샌드(`&`)가 +붙은 경우) `Proc` 객체로 변환된 첨부된 블록을 받습니다. 이것은 +`proc.call(args)`을 사용하여 호출할 수 있습니다. + +~~~ +def my_iterator(&b) + b.call(1, 2) +end + +my_iterator {|a, b| puts a, b } +~~~ + +결과: + +~~~ +1 +2 +~~~ + +이터레이터 정의에서 `Proc.new`(또는 동치인 `proc`, `lambda` 호출)를 사용하면 +메서드에 주어진 블록을 인수로 받아 프로시저 객체를 생성합니다. (`proc`과 +`lambda`는 사실상 동의어입니다.) + +_[업데이트 필요: `lambda`는 약간 다른 방식으로 작동하며 블록 없이 Proc 객체를 +생성하려고 시도했습니다(`tried to create Proc object without a block`)라는 +경고가 표시됩니다.]_ + +~~~ +def my_iterator + Proc.new.call(3, 4) + proc.call(5, 6) + lambda.call(7, 8) +end + +my_iterator {|a, b| puts a, b } +~~~ + +결과: + +~~~ +3 +4 +5 +6 +7 +8 +~~~ + +놀랍게도 `Proc.new`와 친구들은 메서드에 연결된 블록을 전혀 소비하지 않으며, +`Proc.new`를 호출할 때마다 동일한 블록에서 새 프로시저 객체를 생성합니다. + +블록이 메서드와 연관되어 있는지 여부는 `block_given?`을 호출하여 확인할 수 +있습니다. + +### 블록이 없는 `Proc.new`는 어떤 기능을 하나요? + +블록이 없는 `Proc.new`는 프로시저 객체를 생성할 수 없으며 오류가 발생합니다. +그러나 메서드 정의에서 블록이 없는 `Proc.new`는 메서드가 호출될 때 블록이 +존재한다는 것을 의미하므로 오류가 발생하지 않습니다. + + +### 이터레이터를 병렬로 실행하려면 어떻게 해야 하나요? + +여기 [\[ruby-talk:5252\]][ruby-talk:5252]에서 Matz가 스레드를 사용하는 해결책을 +채택했습니다. + +~~~ +require "thread" + +def combine(*iterators) + queues = [] + threads = [] + + iterators.each do |it| + queue = SizedQueue.new(1) + th = Thread.new(it, queue) do |i, q| + send(i) {|x| q << x } + end + queues << queue + threads << th + end + + loop do + ary = [] + queues.each {|q| ary << q.pop } + yield ary + + iterators.size.times do |i| + return if !threads[i].status && queues[i].empty? + end + end +end + +def it1 + yield 1; yield 2; yield 3 +end + +def it2 + yield 4; yield 5; yield 6 +end + +combine(:it1, :it2) do |x| + # x is [1, 4], then [2, 5], then [3, 6] +end +~~~ + +[ruby-talk:5252]: https://blade.ruby-lang.org/ruby-talk/5252 diff --git a/ko/documentation/faq/index.md b/ko/documentation/faq/index.md index 273977e48e..cc9bc3fdb8 100644 --- a/ko/documentation/faq/index.md +++ b/ko/documentation/faq/index.md @@ -15,7 +15,7 @@ header: | | 4 | - 5 + 5 | 6 | @@ -53,7 +53,7 @@ Stollsteimer에게 감사드립니다. * [Ruby의 경쟁 상대는...?](2/) * [Ruby 설치하기](3/) * [변수, 상수, 인수](4/) -* [이터레이터](/en/documentation/faq/5/) +* [이터레이터](5/) * [구문](/en/documentation/faq/6/) * [메서드](/en/documentation/faq/7/) * [클래스 및 모듈](/en/documentation/faq/8/) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 471e81f351..843f3ab17f 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -18,7 +18,7 @@ Ruby를 배울 수 있는 매뉴얼과 튜토리얼, 코딩할 때 도움이 되 ### 초보자용 문서 -[공식 FAQ](/en/documentation/faq/) (영문) +[공식 FAQ](faq/) : 자주 묻는 질문들을 모았습니다. [Ruby Koans][2] (영문) @@ -173,7 +173,7 @@ Ruby를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습 [kdevelop]: https://www.kdevelop.org/ [kate]: https://kate-editor.org/ -[ko-1]: http://docs.google.com/View?docid=ajb44wcvmjj8_2fg33f2 +[ko-1]: https://docs.google.com/document/d/15yEpi2ZMB2Lld5lA1TANt13SJ_cKygP314cqyKhELwQ/preview [ko-2]: https://web.archive.org/web/20190521035426/http://beyond.daesan.com/pages/ruby-faq [ko-3]: https://groups.google.com/forum/#!forum/rubykr [ko-4]: https://www.facebook.com/groups/rubykr/ From 9df6d032ee39171662a3ad099ab78363a060b2d6 Mon Sep 17 00:00:00 2001 From: marocchino Date: Tue, 11 Apr 2023 09:33:33 +0900 Subject: [PATCH 1942/2563] Translate faq 6 (ko) (#3033) --- ko/documentation/faq/1/index.md | 2 +- ko/documentation/faq/2/index.md | 2 +- ko/documentation/faq/3/index.md | 2 +- ko/documentation/faq/4/index.md | 4 +- ko/documentation/faq/5/index.md | 2 +- ko/documentation/faq/6/index.md | 285 ++++++++++++++++++++++++++++++++ ko/documentation/faq/index.md | 4 +- 7 files changed, 293 insertions(+), 8 deletions(-) create mode 100644 ko/documentation/faq/6/index.md diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md index ecfa521563..2743f1db0d 100644 --- a/ko/documentation/faq/1/index.md +++ b/ko/documentation/faq/1/index.md @@ -17,7 +17,7 @@ header: | | 5 | - 6 + 6 | 7 | diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md index 0545a12435..33ec863700 100644 --- a/ko/documentation/faq/2/index.md +++ b/ko/documentation/faq/2/index.md @@ -17,7 +17,7 @@ header: | | 5 | - 6 + 6 | 7 | diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md index 0b609bfba5..a9182fd420 100644 --- a/ko/documentation/faq/3/index.md +++ b/ko/documentation/faq/3/index.md @@ -17,7 +17,7 @@ header: | | 5 | - 6 + 6 | 7 | diff --git a/ko/documentation/faq/4/index.md b/ko/documentation/faq/4/index.md index 3539d4f41c..d6bae0c58d 100644 --- a/ko/documentation/faq/4/index.md +++ b/ko/documentation/faq/4/index.md @@ -17,7 +17,7 @@ header: | | 5 | - 6 + 6 | 7 | @@ -52,7 +52,7 @@ header: | 않습니다. 숫자 `42` 또는 상수 `true`를 보유한 변수는 실제로 값을 보유하는 것이지 참조를 보유하는 것이 아닙니다. 따라서 대입은 물리적으로 이러한 유형의 객체의 복사본을 생성합니다. 이에 대해서는 -[즉시 객체와 참조 객체](/en/documentation/faq/6/#immediate)에서 자세히 설명합니다. +[즉시 객체와 참조](../6/#immediate)에서 자세히 설명합니다. ### 지역 변수의 스코프는 무엇인가요? diff --git a/ko/documentation/faq/5/index.md b/ko/documentation/faq/5/index.md index 27f50bb88e..2608df556b 100644 --- a/ko/documentation/faq/5/index.md +++ b/ko/documentation/faq/5/index.md @@ -17,7 +17,7 @@ header: | | 5 | - 6 + 6 | 7 | diff --git a/ko/documentation/faq/6/index.md b/ko/documentation/faq/6/index.md new file mode 100644 index 0000000000..3cd217aeb4 --- /dev/null +++ b/ko/documentation/faq/6/index.md @@ -0,0 +1,285 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 구문 + +### 즉시 값(immediate value)과 참조의 차이점은 무엇인가요? +{: #immediate} + +{% include faq-out-of-date.html %} + +`Fixnum`, `true`, `nil`, `false`는 즉시 값으로 구현되어 있습니다. 즉시 +값을 사용하면 변수는 객체에 대한 참조가 아니라 객체 자체를 보유합니다. + +이러한 객체에는 싱글톤 메서드를 정의할 수 없습니다. 동일한 값을 가진 두 개 +의 `Fixnum`은 항상 동일한 객체 인스턴스를 나타내므로, (예를 들어) 값이 +`1`인 `Fixnum`에 대한 인스턴스 변수는 시스템의 모든 '1'에 공유됩니다. 따라서 +이 중 하나에 대해서만 싱글톤 메서드를 정의하는 것은 불가능합니다. + +### `nil`과 `false`의 차이점은 무엇인가요? + +먼저 유사성부터 설명하겠습니다. `nil`과 `false`는 부울 컨텍스트에서 `false`로 +평가되는 유일한 두 개의 객체입니다. +(즉, 이 둘은 유일한 "falsy" 값이며 다른 모든 객체는 "truthy" 입니다.) + +그러나 `nil`과 `false`는 서로 다른 클래스(`NilClass`와 `FalseClass`)의 +인스턴스이며, 다른 곳에서는 다른 동작을 합니다. + +술어(predicate) 메서드(이름이 물음표로 끝나는 메서드)는 `true` 또는 `false`를 +반환하는 것이 좋습니다. 실패를 표시해야 하는 다른 메서드는 `nil`을 반환하는 +것이 좋습니다. + +### 빈 문자열이 `false`가 아닌 이유는 무엇인가요? + +Q: 조건 표현식에서 빈 문자열(`""`)이 `true`를 반환하던데요! Perl에서 +는 `false`였는데... + +A: 하지만 Ruby는 Perl이 아닙니다 ;-). Ruby에서는 조건부 컨텍스트에서 + `nil`과 `false`만 거짓입니다. + +`empty?`를 사용하거나 문자열을 `""`와 비교하거나 문자열의 `size`, `length`를 +`0`과 비교하여 문자열이 비어 있는지 확인할 수 있습니다. + +### `:name`은 무엇을 의미하나요? + +이름 뒤에 콜론을 붙이면 식별자와 일대일로 대응하는 심볼 객체가 생성됩니다. +프로그램이 실행되는 동안 주어진 이름이나 문자열에 대해 동일한 심볼 객체가 +생성됩니다. 심볼은 `"name".intern` 또는 `"name".to_sym`으로 생성할 수도 +있습니다. + +심볼 객체는 메서드, 변수 등에 대한 식별자를 나타낼 수 있습니다. +`define_method`, `method_missing`, `trace_var`와 같은 일부 메서드에는 심볼이 +필요합니다. 다른 메서드(예: `attr_accessor`, `send`, `autoload`)는 +문자열도 허용합니다. + +심볼은 한 번만 생성되기 때문에 해시 키로 자주 사용됩니다. 문자열 해시 키는 +매번 사용할 때마다 새 객체를 생성하므로 약간의 메모리 오버헤드가 발생합니다. +심볼 해시 키를 위한 특별한 구문도 있습니다. + +~~~ +person_1 = { :name => "John", :age => 42 } +person_2 = { name: "Jane", age: 24 } # 대안 문법 +~~~ + +심볼을 열거형 값으로 사용하거나 상수에 고유한 값을 할당하는 데에도 사용할 수 +있습니다. + +~~~ +status = :open # :closed, ... + +NORTH = :NORTH +SOUTH = :SOUTH +~~~ + +### 심볼의 값에 액세스하려면 어떻게 해야 하나요? + +심볼에 해당하는 변수의 값을 얻으려면 `symbol.to_s` 또는 `"#{심볼}"`을 +사용하여 변수 이름을 얻은 다음 심볼의 범위에서 이를 평가하여 변수의 내용 +을 얻을 수 있습니다. + +~~~ +a = "This is the content of `a'" +b = eval("#{:a}") +a.object_id == b.object_id # => true +~~~ + +다음을 사용할 수도 있습니다. + +~~~ +b = binding.local_variable_get(:a) +~~~ + +심볼이 메서드의 이름인 경우 `send`를 사용할 수 있습니다. + +~~~ +class Demo + def hello + "Hello, world" + end +end + +demo = Demo.new +demo.send(:hello) +~~~ + +또는 `Object#method`를 사용하여 해당 `Method` 객체를 반환한 다음 호출할 +수 있습니다. + +~~~ +m = demo.method(:hello) # => # +m.call # => "Hello, world" +~~~ + +### `loop`는 제어 구조인가요? + +`loop`는 제어 구조체처럼 보이지만 실제로는 `Kernel`에 정의된 메서드입니다. +loop 다음 블록은 지역 변수에 대한 새로운 스코프를 만듭니다. + +### Ruby에는 후 테스트(post-test) 루프가 없습니다. + +Q: Ruby에는 `do { ... } while` 구문이 없는데 마지막에 조건을 테스트하는 +루프를 어떻게 구현하나요? + +Clemens Hintze의 답변: Ruby의 `begin ... end`와 `while`, `until` 문 +수정자를 조합하여 동일한 효과를 얻을 수 있습니다. + +~~~ +i = 0 +begin + puts "i = #{i}" + i += 1 +end until i > 4 +~~~ + +결과: + +~~~ +i = 0 +i = 1 +i = 2 +i = 3 +i = 4 +~~~ + +### `p {}`의 경우 처럼 해시 리터럴을 메서드에 전달할 수 없는 이유는 무엇인가요? + +`{}`는 `Hash` 생성자가 아닌 블록으로 파싱됩니다. `p({})`처럼 매개변수라는 +사실을 명시하면 `{}`가 표현식으로 처리되도록 할 수 있습니다. + +### `def pos=(val)`가 작동하지 않습니다! + +다음과 같은 코드가 있지만 `pos = 1` 메서드를 사용할 수 없습니다. + +~~~ +def pos=(val) + @pos = val + puts @pos +end +~~~ + +`=`가 뒤에 붙은 메서드는 명시적 수신자와 함께 호출해야 합니다(수신자 +가 없으면 지역 변수에 할당하는 것뿐입니다). `self.pos = 1`로 +호출하세요. + +### `'\1'`과 `'\\1'`의 차이점은 무엇인가요? + +이들은 동일한 의미를 갖습니다. 작은따옴표로 묶인 문자열에서는 `\'`와 `\\`만 +변환되고 다른 조합은 변경되지 않습니다. + +그러나 큰따옴표로 묶인 문자열에서 `"\1"`은 바이트 `\001`(8진수 +비트 패턴)이고, `"\\1"`은 백슬래시와 문자 `"1"`이 포함된 두 문자로 된 +문자열입니다. + +### '..`와 '...`의 차이점은 무엇인가요? + +'...`는 범위에 오른쪽을 포함하지만 '...`는 포함하지 않습니다. + +~~~ +(5..8).to_a # => [5, 6, 7, 8] +(5...8).to_a # => [5, 6, 7] +~~~ + +### `or`와 `||`의 차이점은 무엇인가요? + +Q: `p(nil || "Hello")`는 `"Hello"`를 출력하지만 `p(nil or "Hello")`는 + 구문 분석 오류를 발생시킵니다. 왜 그럴까요? + +A: `or`의 우선순위가 너무 낮기 때문입니다, `p((nil 또는 "Hello") )`는 +작동합니다. + +`or`의 우선 순위는 `=`보다 낮지만 `||`의 우선 순위는 더 높습니다. + +~~~ +foo = nil || "Hello" # foo = (nil || "Hello") 로 해석 +foo # => "Hello" + +# 하지만 놀랍게도 + +foo = nil or "Hello" # (foo = nil) or "Hello" 로 해석 +foo # => nil +~~~ + +`or`(및 유사하게 `and`)은 부울 표현식을 결합하는 데 사용하는 것이 **아니라** +다음과 같은 제어 흐름에 사용하는 것이 가장 좋습니다. + +~~~ +do_something or raise "some error!" +~~~ + +여기서 `do_something`은 오류가 발생하면 `false` 또는 `nil`을 반환합니다. + +### Ruby에도 함수 포인터가 있나요? + +`Proc.new`, `proc`, `lambda`에 의해 생성된 `Proc` 객체는 변수에서 참조할 수 +있으므로 해당 변수는 함수 포인터라고 할 수 있습니다. 또한 특정 객체 인스턴스 +내의 메서드에 대한 참조는 `object.method`를 사용하여 얻을 수 있습니다. + +### `load`와 `require`의 차이점은 무엇인가요? + +`load`는 Ruby 프로그램(`*.rb`)을 로드하고 실행합니다. + +`require`는 Ruby 프로그램도 로드하지만 바이너리 Ruby 확장 모듈(공유 라이브러리 +또는 DLL)도 로드합니다. 거기에 더해 `require`는 기능이 두 번 이상 로드되지 +않도록 합니다. + +### Ruby에는 예외 처리가 있나요? + +Ruby는 유연한 예외 처리 체계를 지원합니다. + +~~~ +begin + statements which may raise exceptions +rescue [exception class names] + statements when an exception occurred +rescue [exception class names] + statements when an exception occurred +ensure + statements that will always run +end +~~~ + +`begin` 절에서 예외가 발생하면 일치하는 예외 이름을 가진 `rescue` 절이 실행 +됩니다. `ensure`절은 예외 발생 여부에 관계없이 실행됩니다. `rescue` 및 `ensure` +절은 생략할 수 있습니다. + +`rescue` 절에 대해 예외 클래스가 지정되지 않은 경우 묵시적으로 `StandardError` +예외를 가르키며, `StandardError`와 `is_a?` 관계에 있는 예외가 캡처됩니다. + +이 표현식은 `begin` 절의 값을 반환합니다. + +가장 최근의 예외는 전역 변수 `$!`에 의해 액세스가 가능합니다(따라서 `$!.type`을 +사용하여 유형을 확인할 수 있습니다). diff --git a/ko/documentation/faq/index.md b/ko/documentation/faq/index.md index cc9bc3fdb8..1e2e8c97ba 100644 --- a/ko/documentation/faq/index.md +++ b/ko/documentation/faq/index.md @@ -17,7 +17,7 @@ header: | | 5 | - 6 + 6 | 7 | @@ -54,7 +54,7 @@ Stollsteimer에게 감사드립니다. * [Ruby 설치하기](3/) * [변수, 상수, 인수](4/) * [이터레이터](5/) -* [구문](/en/documentation/faq/6/) +* [구문](6/) * [메서드](/en/documentation/faq/7/) * [클래스 및 모듈](/en/documentation/faq/8/) * [빌트인 라이브러리](/en/documentation/faq/9/) From 5b4f74db827877a23924f546076e092ad2bd9ad1 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Mon, 10 Apr 2023 12:27:39 +0900 Subject: [PATCH 1943/2563] Move 2.7.8 from security_maintenance to eol --- _data/downloads.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 5dbc10c271..17cf8a5e92 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -14,12 +14,11 @@ stable: # optional security_maintenance: - - 2.7.8 # optional eol: - - 2.6.10 + - 2.7.8 stable_snapshots: From b62afeaf52e33af7371e22111575209e82650952 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Mon, 10 Apr 2023 12:34:23 +0900 Subject: [PATCH 1944/2563] Move 3.0 to security maintenance and 2.7 to eol --- _data/branches.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/_data/branches.yml b/_data/branches.yml index 5d4a419bff..c07b076db9 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -23,18 +23,17 @@ expected_eol_date: 2025-03-31 - name: 3.0 - status: normal maintenance + status: security maintenance date: 2020-12-25 - security_maintenance_date: + security_maintenance_date: 2023-04-01 eol_date: expected_eol_date: 2024-03-31 - name: 2.7 - status: security maintenance + status: eol date: 2019-12-25 security_maintenance_date: 2022-04-01 - eol_date: - expected_eol_date: 2023-03-31 + eol_date: 2023-03-31 - name: 2.6 status: eol From 645335ef6cda444e254abba8b3c916c05de40bf7 Mon Sep 17 00:00:00 2001 From: marocchino Date: Sat, 15 Apr 2023 19:50:20 +0900 Subject: [PATCH 1945/2563] Add Rooftop Ruby to the list of podcasts (ko) (#3036) --- ko/community/podcasts/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ko/community/podcasts/index.md b/ko/community/podcasts/index.md index a88f05a972..bdcbf68b67 100644 --- a/ko/community/podcasts/index.md +++ b/ko/community/podcasts/index.md @@ -18,6 +18,10 @@ Ruby와 Ruby 커뮤니티에 대한 뉴스, 인터뷰, 토론을 들어보세요 : 온라인 모임에서 팟캐스트가 된 Remote Ruby는 편안한 분위기에서 Ruby 커뮤니티의 화제를 조명하고 축하합니다. +[Rooftop Ruby][rooftop_ruby] +: Collin과 Joel이 게스트와 함께 Ruby, 소프트웨어 개발, 오픈 소스, 커리어 등에 + 대해 이야기를 나눕니다. + ### 참여하기 팟캐스트 호스트는 언제나 게스트를 찾고 있습니다. 공유할 만한 Ruby 지식이 있다면 @@ -25,6 +29,7 @@ Ruby와 Ruby 커뮤니티에 대한 뉴스, 인터뷰, 토론을 들어보세요 당신의 Ruby 팟캐스트를 시작하고 이 목록에 추가할 수도 있습니다! +[rooftop_ruby]: https://www.rooftopruby.com [remote_ruby]: https://remoteruby.transistor.fm/ [rorpodcast]: https://www.therubyonrailspodcast.com [rogues]: https://rubyrogues.com From 6b5a95dc53c17334891625d00f4915904c339301 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Sat, 15 Apr 2023 21:36:02 +0900 Subject: [PATCH 1946/2563] Update translation of "Ruby FAQ 5", "Ruby FAQ 6" (ko) (#3037) --- ko/documentation/faq/2/index.md | 2 +- ko/documentation/faq/5/index.md | 19 +++++------ ko/documentation/faq/6/index.md | 60 ++++++++++++++++----------------- 3 files changed, 40 insertions(+), 41 deletions(-) diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md index 33ec863700..9a43404724 100644 --- a/ko/documentation/faq/2/index.md +++ b/ko/documentation/faq/2/index.md @@ -68,7 +68,7 @@ Ruby의 객체 지향 순수성은 Python에는 부족하거나 Python이 여전 할 수 있고, 그러면 해당 모듈의 메서드, 상수 등이 클래스에 삽입됩니다. Ruby는 또 Smalltalk와 마찬가지로 클로저와 코드 블록을 제공하고 동일한 효과를 -위해 사용합니다. Ruby 컬렉션 클래스와 반복자는 Python이 싹트고 있는 +위해 사용합니다. Ruby 컬렉션 클래스와 이터레이터는 Python이 싹트고 있는 임시방편(람다, 리스트 컴프리헨션)보다 뛰어나고 훨씬 강력하고 우아합니다. Ruby의 구문과 디자인 철학은 Perl의 영향을 많이 받았습니다. 문법적 변동성이 diff --git a/ko/documentation/faq/5/index.md b/ko/documentation/faq/5/index.md index 2608df556b..5a32aaf730 100644 --- a/ko/documentation/faq/5/index.md +++ b/ko/documentation/faq/5/index.md @@ -62,7 +62,7 @@ end ~~~ 배열 `data`의 each 메서드에는 `do ... end` 블록이 전달되어 반복적으로 -실행됩니다. 호출할 때마다 블록은 배열의 연속적인 요소를 전달받습니다. +실행됩니다. 호출할 때마다 블록은 배열의 요소를 차례로 전달받습니다. 블록을 정의할 때 `do ... end` 대신 `{ ... }`를 쓸 수 있습니다. @@ -81,7 +81,7 @@ data.each { |i| 3 ~~~ -이 코드는 전 예제와 동일한 의미를 갖습니다. 그러나 경우에 따라 우선순위 +이 코드는 앞의 예제와 동일한 의미를 갖습니다. 그러나 경우에 따라 우선순위 문제로 인해 `do ... end`와 `{ ... }`가 다르게 동작할 수 있습니다. ~~~ @@ -89,22 +89,22 @@ foobar a, b do ... end # foobar가 이터레이터. foobar a, b { ... } # b가 이터레이터. ~~~ -이는 `{ ... }`는 `do ... end` 블록보다 앞의 표현식에 더 강하게 바인딩되기 +이는 `{ ... }`가 `do ... end` 블록보다 앞의 표현식에 더 강하게 바인딩되기 때문입니다. 첫 번째 예는 `foobar(a, b) do ... end`와 같고, 두 번째 예는 `foobar(a, b { ... })`와 같습니다. ### 블록을 이터레이터에 전달하려면 어떻게 해야 하나요? -반복자 호출 뒤에 블록을 배치하기만 하면 됩니다. `Proc`을 참조하는 변수나 상수 +이터레이터 호출 뒤에 블록을 배치하기만 하면 됩니다. `Proc`을 참조하는 변수나 상수 이름 앞에 `&`를 붙여 `Proc` 객체를 전달할 수도 있습니다. ### 블록은 이터레이터에서 어떻게 사용되나요? {% include faq-out-of-date.html %} -이터레이터 메서드에서 블록을 실행하는 방법에는 세 가지가 있습니다: +이터레이터 메서드에서 블록을 실행하는 방법에는 세 가지가 있습니다. (1) `yield` 제어 구조, (2) `call`을 사용하여 (블록으로 만든) `Proc` 인자를 -호출하는 것, (3) `Proc.new`를 사용한 후 호출하는 것 등이 있습니다. +호출하는 것, (3) `Proc.new`를 사용한 후 호출하는 것입니다. `yield` 문은 블록을 호출하며, 하나 이상의 인수를 전달할 수 있습니다. @@ -146,7 +146,7 @@ my_iterator {|a, b| puts a, b } 메서드에 주어진 블록을 인수로 받아 프로시저 객체를 생성합니다. (`proc`과 `lambda`는 사실상 동의어입니다.) -_[업데이트 필요: `lambda`는 약간 다른 방식으로 작동하며 블록 없이 Proc 객체를 +_[업데이트 필요: `lambda`는 약간 다른 방식으로 작동하며, 블록 없이 Proc 객체를 생성하려고 시도했습니다(`tried to create Proc object without a block`)라는 경고가 표시됩니다.]_ @@ -174,7 +174,7 @@ my_iterator {|a, b| puts a, b } 놀랍게도 `Proc.new`와 친구들은 메서드에 연결된 블록을 전혀 소비하지 않으며, `Proc.new`를 호출할 때마다 동일한 블록에서 새 프로시저 객체를 생성합니다. -블록이 메서드와 연관되어 있는지 여부는 `block_given?`을 호출하여 확인할 수 +메서드에 연관된 블록이 있는지 여부는 `block_given?`을 호출하여 확인할 수 있습니다. ### 블록이 없는 `Proc.new`는 어떤 기능을 하나요? @@ -183,11 +183,10 @@ my_iterator {|a, b| puts a, b } 그러나 메서드 정의에서 블록이 없는 `Proc.new`는 메서드가 호출될 때 블록이 존재한다는 것을 의미하므로 오류가 발생하지 않습니다. - ### 이터레이터를 병렬로 실행하려면 어떻게 해야 하나요? 여기 [\[ruby-talk:5252\]][ruby-talk:5252]에서 Matz가 스레드를 사용하는 해결책을 -채택했습니다. +가져왔습니다. ~~~ require "thread" diff --git a/ko/documentation/faq/6/index.md b/ko/documentation/faq/6/index.md index 3cd217aeb4..6eccd317e7 100644 --- a/ko/documentation/faq/6/index.md +++ b/ko/documentation/faq/6/index.md @@ -45,16 +45,16 @@ header: | `Fixnum`, `true`, `nil`, `false`는 즉시 값으로 구현되어 있습니다. 즉시 값을 사용하면 변수는 객체에 대한 참조가 아니라 객체 자체를 보유합니다. -이러한 객체에는 싱글톤 메서드를 정의할 수 없습니다. 동일한 값을 가진 두 개 -의 `Fixnum`은 항상 동일한 객체 인스턴스를 나타내므로, (예를 들어) 값이 -`1`인 `Fixnum`에 대한 인스턴스 변수는 시스템의 모든 '1'에 공유됩니다. 따라서 +이러한 객체에는 싱글턴 메서드를 정의할 수 없습니다. 동일한 값을 가진 두 개의 +`Fixnum`은 항상 동일한 객체 인스턴스를 나타내므로, (예를 들어) 값이 +`1`인 `Fixnum`에 대한 인스턴스 변수는 시스템의 모든 `1`에 공유됩니다. 따라서 이 중 하나에 대해서만 싱글톤 메서드를 정의하는 것은 불가능합니다. ### `nil`과 `false`의 차이점은 무엇인가요? -먼저 유사성부터 설명하겠습니다. `nil`과 `false`는 부울 컨텍스트에서 `false`로 +먼저 유사성부터 설명하겠습니다. `nil`과 `false`는 불 컨텍스트에서 `false`로 평가되는 유일한 두 개의 객체입니다. -(즉, 이 둘은 유일한 "falsy" 값이며 다른 모든 객체는 "truthy" 입니다.) +(즉, 이 둘은 유일한 "falsy" 값이며 다른 모든 객체는 "truthy"입니다.) 그러나 `nil`과 `false`는 서로 다른 클래스(`NilClass`와 `FalseClass`)의 인스턴스이며, 다른 곳에서는 다른 동작을 합니다. @@ -65,13 +65,13 @@ header: | ### 빈 문자열이 `false`가 아닌 이유는 무엇인가요? -Q: 조건 표현식에서 빈 문자열(`""`)이 `true`를 반환하던데요! Perl에서 -는 `false`였는데... +Q: 조건 표현식에서 빈 문자열(`""`)이 `true`를 반환하던데요! Perl에서는 +`false`였는데... -A: 하지만 Ruby는 Perl이 아닙니다 ;-). Ruby에서는 조건부 컨텍스트에서 - `nil`과 `false`만 거짓입니다. +A: 하지만 Ruby는 Perl이 아닙니다. ;-) Ruby에서는 조건부 컨텍스트에서 +`nil`과 `false`만 거짓입니다. -`empty?`를 사용하거나 문자열을 `""`와 비교하거나 문자열의 `size`, `length`를 +`empty?`를 사용하거나, 문자열을 `""`와 비교하거나, 문자열의 `size`, `length`를 `0`과 비교하여 문자열이 비어 있는지 확인할 수 있습니다. ### `:name`은 무엇을 의미하나요? @@ -107,9 +107,9 @@ SOUTH = :SOUTH ### 심볼의 값에 액세스하려면 어떻게 해야 하나요? -심볼에 해당하는 변수의 값을 얻으려면 `symbol.to_s` 또는 `"#{심볼}"`을 -사용하여 변수 이름을 얻은 다음 심볼의 범위에서 이를 평가하여 변수의 내용 -을 얻을 수 있습니다. +심볼에 해당하는 변수의 값을 얻으려면 `symbol.to_s` 또는 `"#{symbol}"`을 +사용하여 변수 이름을 얻은 다음 심볼의 스코프에서 이를 평가하여 변수의 내용을 +얻을 수 있습니다. ~~~ a = "This is the content of `a'" @@ -136,7 +136,7 @@ demo = Demo.new demo.send(:hello) ~~~ -또는 `Object#method`를 사용하여 해당 `Method` 객체를 반환한 다음 호출할 +또는 `Object#method`를 사용하여 해당 `Method` 객체를 반환하게 한 다음 호출할 수 있습니다. ~~~ @@ -147,9 +147,9 @@ m.call # => "Hello, world" ### `loop`는 제어 구조인가요? `loop`는 제어 구조체처럼 보이지만 실제로는 `Kernel`에 정의된 메서드입니다. -loop 다음 블록은 지역 변수에 대한 새로운 스코프를 만듭니다. +loop 뒤에 오는 블록은 지역 변수에 대한 새로운 스코프를 만듭니다. -### Ruby에는 후 테스트(post-test) 루프가 없습니다. +### Ruby에는 사후 테스트(post-test) 루프가 없습니다. Q: Ruby에는 `do { ... } while` 구문이 없는데 마지막에 조건을 테스트하는 루프를 어떻게 구현하나요? @@ -175,7 +175,7 @@ i = 3 i = 4 ~~~ -### `p {}`의 경우 처럼 해시 리터럴을 메서드에 전달할 수 없는 이유는 무엇인가요? +### `p {}`의 경우처럼 해시 리터럴을 메서드에 전달할 수 없는 이유는 무엇인가요? `{}`는 `Hash` 생성자가 아닌 블록으로 파싱됩니다. `p({})`처럼 매개변수라는 사실을 명시하면 `{}`가 표현식으로 처리되도록 할 수 있습니다. @@ -204,9 +204,9 @@ end 비트 패턴)이고, `"\\1"`은 백슬래시와 문자 `"1"`이 포함된 두 문자로 된 문자열입니다. -### '..`와 '...`의 차이점은 무엇인가요? +### `..`와 `...`의 차이점은 무엇인가요? -'...`는 범위에 오른쪽을 포함하지만 '...`는 포함하지 않습니다. +`..`는 범위의 오른쪽 항을 포함하지만 `...`는 포함하지 않습니다. ~~~ (5..8).to_a # => [5, 6, 7, 8] @@ -216,9 +216,9 @@ end ### `or`와 `||`의 차이점은 무엇인가요? Q: `p(nil || "Hello")`는 `"Hello"`를 출력하지만 `p(nil or "Hello")`는 - 구문 분석 오류를 발생시킵니다. 왜 그럴까요? +구문 분석 오류를 발생시킵니다. 왜 그럴까요? -A: `or`의 우선순위가 너무 낮기 때문입니다, `p((nil 또는 "Hello") )`는 +A: `or`의 우선순위가 너무 낮기 때문입니다, `p( (nil or "Hello") )`는 작동합니다. `or`의 우선 순위는 `=`보다 낮지만 `||`의 우선 순위는 더 높습니다. @@ -233,7 +233,7 @@ foo = nil or "Hello" # (foo = nil) or "Hello" 로 해석 foo # => nil ~~~ -`or`(및 유사하게 `and`)은 부울 표현식을 결합하는 데 사용하는 것이 **아니라** +`or`(및 유사하게 `and`)는 불 표현식을 결합하는 데 사용하는 것이 **아니라** 다음과 같은 제어 흐름에 사용하는 것이 가장 좋습니다. ~~~ @@ -250,10 +250,10 @@ do_something or raise "some error!" ### `load`와 `require`의 차이점은 무엇인가요? -`load`는 Ruby 프로그램(`*.rb`)을 로드하고 실행합니다. +`load`는 Ruby 프로그램(`*.rb`)을 불러오고 실행합니다. -`require`는 Ruby 프로그램도 로드하지만 바이너리 Ruby 확장 모듈(공유 라이브러리 -또는 DLL)도 로드합니다. 거기에 더해 `require`는 기능이 두 번 이상 로드되지 +`require`는 Ruby 프로그램도 불러오지만 바이너리 Ruby 확장 모듈(공유 라이브러리 +또는 DLL)도 불러옵니다. 거기에 더해 `require`는 기능을 두 번 이상 불러오지 않도록 합니다. ### Ruby에는 예외 처리가 있나요? @@ -272,14 +272,14 @@ ensure end ~~~ -`begin` 절에서 예외가 발생하면 일치하는 예외 이름을 가진 `rescue` 절이 실행 -됩니다. `ensure`절은 예외 발생 여부에 관계없이 실행됩니다. `rescue` 및 `ensure` -절은 생략할 수 있습니다. +`begin` 절에서 예외가 발생하면 일치하는 예외 이름을 가진 `rescue` 절이 +실행됩니다. `ensure` 절은 예외 발생 여부에 관계없이 실행됩니다. `rescue` 및 +`ensure` 절은 생략할 수 있습니다. `rescue` 절에 대해 예외 클래스가 지정되지 않은 경우 묵시적으로 `StandardError` -예외를 가르키며, `StandardError`와 `is_a?` 관계에 있는 예외가 캡처됩니다. +예외를 가리키며, `StandardError`와 `is_a?` 관계에 있는 예외가 캡처됩니다. 이 표현식은 `begin` 절의 값을 반환합니다. -가장 최근의 예외는 전역 변수 `$!`에 의해 액세스가 가능합니다(따라서 `$!.type`을 +가장 최근의 예외는 전역 변수 `$!`을 통해 액세스가 가능합니다(따라서 `$!.type`을 사용하여 유형을 확인할 수 있습니다). From 6222a152444214a7426f295dea3bbe77b18889f6 Mon Sep 17 00:00:00 2001 From: marocchino Date: Tue, 18 Apr 2023 08:50:17 +0900 Subject: [PATCH 1947/2563] Translate faq 7 (ko) (#3034) --- ko/documentation/faq/1/index.md | 2 +- ko/documentation/faq/2/index.md | 2 +- ko/documentation/faq/3/index.md | 2 +- ko/documentation/faq/4/index.md | 2 +- ko/documentation/faq/5/index.md | 2 +- ko/documentation/faq/6/index.md | 2 +- ko/documentation/faq/7/index.md | 428 ++++++++++++++++++++++++++++++++ ko/documentation/faq/index.md | 4 +- 8 files changed, 436 insertions(+), 8 deletions(-) create mode 100644 ko/documentation/faq/7/index.md diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md index 2743f1db0d..a6d4fe6b4d 100644 --- a/ko/documentation/faq/1/index.md +++ b/ko/documentation/faq/1/index.md @@ -19,7 +19,7 @@ header: | | 6 | - 7 + 7 | 8 | diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md index 9a43404724..8a85dbda84 100644 --- a/ko/documentation/faq/2/index.md +++ b/ko/documentation/faq/2/index.md @@ -19,7 +19,7 @@ header: | | 6 | - 7 + 7 | 8 | diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md index a9182fd420..aee05f53c9 100644 --- a/ko/documentation/faq/3/index.md +++ b/ko/documentation/faq/3/index.md @@ -19,7 +19,7 @@ header: | | 6 | - 7 + 7 | 8 | diff --git a/ko/documentation/faq/4/index.md b/ko/documentation/faq/4/index.md index d6bae0c58d..7a3ee03b25 100644 --- a/ko/documentation/faq/4/index.md +++ b/ko/documentation/faq/4/index.md @@ -19,7 +19,7 @@ header: | | 6 | - 7 + 7 | 8 | diff --git a/ko/documentation/faq/5/index.md b/ko/documentation/faq/5/index.md index 5a32aaf730..1d198861e6 100644 --- a/ko/documentation/faq/5/index.md +++ b/ko/documentation/faq/5/index.md @@ -19,7 +19,7 @@ header: | | 6 | - 7 + 7 | 8 | diff --git a/ko/documentation/faq/6/index.md b/ko/documentation/faq/6/index.md index 6eccd317e7..579b51b3b5 100644 --- a/ko/documentation/faq/6/index.md +++ b/ko/documentation/faq/6/index.md @@ -19,7 +19,7 @@ header: | | 6 | - 7 + 7 | 8 | diff --git a/ko/documentation/faq/7/index.md b/ko/documentation/faq/7/index.md new file mode 100644 index 0000000000..ea95d2981f --- /dev/null +++ b/ko/documentation/faq/7/index.md @@ -0,0 +1,428 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 메서드 + +### Ruby는 어떤 메서드를 호출할지 어떻게 선택하나요? + +Ruby는 모든 메시지를 메서드에 동적으로 바인딩합니다. 먼저 수신자의 싱글톤 +메서드를 검색한 다음, 수신자의 자체 클래스에 정의된 메서드를 검색하고 +마지막으로 수신자의 수퍼클래스(혼합되었을 수 있는 모듈 포함)에 정의된 메서드를 +검색합니다. `ClassName`의 조상 클래스와 모듈을 표시하는 `ClassName.ancestors`로 +검색 순서를 확인할 수 있습니다. + +대체 메서드를 검색한 후에도 일치하는 메서드를 찾을 수 없는 경우, Ruby는 +동일한 검색 절차를 반복하여 `method_missing`이라는 메서드를 호출하여 메서드를 +찾으려고 시도합니다. 이를 통해 알 수 없는 메서드에 대한 메시지를 처리할 +수 있으며 클래스에 동적 인터페이스를 제공하는 데 자주 사용됩니다. + +~~~ +module Emphasizable + def emphasize + "**#{self}**" + end +end + +class String + include Emphasizable +end + +String.ancestors + # => [String, Emphasizable, Comparable, Object, Kernel, BasicObject] + +"Wow!".emphasize # => "**Wow!**" +~~~ + +`emphasize` 메서드를 찾을 때 `String` 클래스에서 찾을 수 없으므로 Ruby는 +다음에 `Emphasizable` 모듈에서 찾습니다. + +수신자의 클래스에 이미 존재하는 메서드(예: `String#capitalize`)를 재정의하려면 +`prepend`를 사용하여 해당 클래스 앞의 조상 체인에 모듈을 삽입해야 합니다. + +~~~ +module PrettyCapitalize + def capitalize + "**#{super}**" + end +end + +class String + prepend PrettyCapitalize +end + +String.ancestors + # => [PrettyCapitalize, String, Comparable, Object, Kernel, BasicObject] + +"hello".capitalize # => "**Hello**" +~~~ + +### ', `-`, `*`, ...등은 연산자인가요? + +`+`, `-` 등은 연산자가 아니라 메서드 호출입니다. +따라서 새로운 정의로 인해 과부하가 걸릴 수 있습니다. + +~~~ +class MyString < String + def -(other) + self[0...other.size] # self를 other의 크기로 자름 + end +end +~~~ + +그러나 다음은 메서드가 아닌 기본 제공 제어 구조로, 재정의할 수 없습니다. + +~~~ +=, .., ..., not, ||, &&, and, or, :: +~~~ + +단항(unary) `+`, `-` 연산자를 오버로드하거나 정의하려면 메서드 +이름으로 `+@`, `-@`을 사용해야 합니다. + +`=`는 객체의 속성을 설정하는 메서드를 정의하는 데 사용됩니다. + +~~~ +class Test + def attribute=(val) + @attribute = val + end +end + +t = Test.new +t.attribute = 1 +~~~ + +`+`, `-`와 같은 연산자가 정의되어 있으면 Ruby는 자체 할당 형식(`+=`, `-=` 등)을 +자동으로 처리합니다. + +### `++`와 `--`는 없나요? + +Ruby에는 자동 증가 및 자동 감소 연산자가 없습니다. +대신 `+= 1`과 `-= 1`을 사용할 수 있습니다. + +### 싱글톤 메서드란 무엇인가요? +{: #singleton-method} + +싱글톤 메서드는 하나의 특정 객체와 연관된 인스턴스 메서드입니다. + +정의에 객체를 포함시켜 싱글톤 메서드를 생성합니다. + +~~~ +class Foo; end + +foo = Foo.new +bar = Foo.new + +def foo.hello + puts "Hello" +end + +foo.hello +bar.hello +~~~ + +결과: + +~~~ +Hello +prog.rb:11:in `
': undefined method `hello' for # (NoMethodError) +~~~ + +싱글톤 메서드는 객체에 메서드를 추가하고 싶지만 새 서브클래스를 만드는 것이 +적절하지 않을 때 유용합니다. + +### 객체들은 됐고 Ruby에 간단한 함수는 없나요? + +예인 동시에 아니요입니다. Ruby에는 C나 Perl과 같은 언어의 함수처럼 보이는 +메서드가 있습니다. + +~~~ +def hello(name) + puts "Hello, #{name}!" +end + +hello("World") +~~~ + +결과: + +~~~ +Hello, World! +~~~ + +그러나 실제로는 수신자가 생략된 메서드 호출입니다. 이 경우 Ruby는 +수신자가 자신(self)이라고 가정합니다. + +따라서 `hello`는 함수처럼 보이지만 실제로는 `Object` 클래스에 속하는 메서드이며 +숨겨진 수신자 자신에게 메시지로 전송됩니다. Ruby는 순수한 객체 지향 언어입니다. + +물론 이러한 메서드를 함수처럼 사용할 수 있습니다. + +### 그렇다면 이러한 함수 비슷한 메서드들은 모두 어디에서 온 것일까요? + +Ruby의 거의 모든 클래스는 `Object` 클래스에서 파생됩니다. `Object` 클래스의 +정의는 `Kernel` 모듈에 정의된 메서드에 섞여 있습니다. 따라서 이러한 메서드는 +시스템의 모든 객체에서 사용할 수 있습니다. + +클래스가 없는 간단한 Ruby 프로그램을 작성한다 하더라도 실제로는 `Object` +클래스 안에서 작업하는 것이 됩니다. + +### 객체의 인스턴스 변수에 액세스할 수 있나요? + +객체의 인스턴스 변수(`@`로 시작하는 변수)는 객체 외부에서 직접 액세스할 수 +없습니다. 이는 좋은 캡슐화를 촉진합니다. 하지만 Ruby에서는 클래스 사용자가 +인스턴스 변수를 어트리뷰트처럼 취급할 수 있도록 이러한 인스턴스 변수에 대한 +접근자를 쉽게 정의할 수 있습니다. `attr_reader`, `attr_writer`, +`attr_accessor` 중에 사용하기만 하면 됩니다. + +~~~ +class Person + attr_reader :name # 쓰기 전용 + attr_accessor :wearing_a_hat # 읽기/쓰기 + + def initialize(name) + @name = name + end +end + +p = Person.new("Dave") +p.name # => "Dave" +p.wearing_a_hat # => nil +p.wearing_a_hat = true +p.wearing_a_hat # => true +~~~ + +유효성 검사를 수행하거나 파생된 속성을 처리하기 위해 자신만의 접근자 함수를 +정의할 수도 있습니다. 읽기 접근자는 매개변수를 받지 않는 메서드이고, 할당 +접근자는 단일 매개변수를 받는 `=`로 끝나는 메서드 이름입니다. 메서드 정의에서 +메서드 이름과 `=` 사이에 공백이 없어도 되지만, 메서드를 호출할 때 공백을 +삽입하여 다른 할당처럼 보이게 만들 수 있습니다. `+` 또는 `-` 메서드가 +정의되어 있는 한 `+=` 및 `-=`와 같은 자체 대입을 사용할 수도 있습니다. + +### `private`와 `protected`의 차이점은 무엇인가요? + +가시성 키워드 'private'은 명시적 수신자 없이 함수 형식으로만 메서드를 호출할 +수 있게 하므로 수신자로 'self'만 가질 수 있습니다. private 메서드는 메서드가 +정의된 클래스 또는 그 서브클래스 내에서만 호출할 수 있습니다. + +~~~ +class Test + def foo + 99 + end + + def test(other) + p foo + p other.foo + end +end + +t1 = Test.new +t2 = Test.new + +t1.test(t2) + +# Now make `foo' private + +class Test + private :foo +end + +t1.test(t2) +~~~ + +결과: + +~~~ +99 +99 +99 +prog.rb:8:in `test': private method `foo' called for # (NoMethodError) + from prog.rb:23:in `
' +~~~ + +protected 메서드는 자체 클래스 또는 그 하위 클래스 내에서만 호출할 수 있지만 +함수 형식과 수신자를 사용하여 모두 호출할 수 있습니다. 다음 예를 보시죠. + + +~~~ +def <=>(other) + age <=> other.age +end +~~~ + +`age`가 protected 메서드인 경우 컴파일되지만 private이면 컴파일되지 않습니다. + +이러한 기능을 통해 클래스 내부에 대한 접근을 제어할 수 있습니다. + +### 메서드의 가시성을 변경하려면 어떻게 해야 하나요? + +`private`, `protected`, `public`를 사용하여 메서드의 표시 여부를 변경합니다. +클래스 정의 중에 매개변수 없이 사용하면 후속 메서드의 표시 여부에 영향을 +줍니다. 매개변수와 함께 사용하면 명명된 메서드의 가시성을 변경합니다. + +~~~ +class Foo + def test + puts "hello" + end + private :test +end + +foo = Foo.new +foo.test +~~~ + +결과: + +~~~ +prog.rb:9:in `
': private method `test' called for # (NoMethodError) +~~~ + +`private_class_method`를 사용하여 클래스 메서드를 private로 설정할 수 있습니다. + +~~~ +class Foo + def self.test + puts "hello" + end + private_class_method :test +end + +Foo.test +~~~ + +결과: + +~~~ +prog.rb:8:in `
': private method `test' called for Foo:Class (NoMethodError) +~~~ + +클래스에 정의된 메서드의 기본 가시성은 public입니다만 인스턴스 초기화 +메서드인 `initialize`는 예외입니다. + +최상위 수준에서 정의된 메서드도 기본적으로 public이 됩니다. + +### 대문자로 시작하는 식별자가 메서드 이름이 될 수 있나요? + +예, 할 수 있지만 쉽게 하지는 않습니다! 대문자로 된 이름 뒤에 공백이 있는 경우 +Ruby는 (문맥에 따라) 메서드 이름이 아니라 상수라고 간주할 수 있습니다. 따라서 +대문자로 된 메서드 이름을 사용하는 경우 항상 매개변수 목록을 괄호 안에 넣고 +공백 없이 메서드 이름 옆에 괄호를 넣는 것을 잊지 마세요. +(이 마지막 제안은 어쨌든 좋은 생각입니다!) + + +### `super`를 호출하면 `ArgumentError`가 발생합니다. + +메서드에 매개변수 없이 `super`를 호출하면 해당 메서드의 모든 인수가 +수퍼클래스에 있는 같은 이름의 메서드로 전달됩니다. 원래 메서드의 인자 수가 상위 +메서드의 인자 수와 일치하지 않으면 `ArgumentError`가 발생합니다. 이 문제를 +해결하려면 `super`를 호출하고 적절한 수의 인수를 전달하면 됩니다. + +### 같은 이름의 메서드를 두 단계 위로 호출하려면 어떻게 해야 하나요? + +`super`는 같은 이름의 메서드를 한 단계 위로 호출합니다. 더 먼 조상에 있는 +메서드를 오버로드하는 경우 메서드 정의로 마스킹하기 전에 `alias`를 사용하여 +새 이름을 지정합니다. 그런 다음 해당 별칭을 사용하여 호출할 수 있습니다. + +### 내장 메서드를 재정의한 후 원래 메서드를 호출하려면 어떻게 해야 하나요? + +메서드 정의 내에서 `super`를 사용할 수 있습니다. `alias`을 사용하여 다른 이름을 +지정할 수도 있습니다. 마지막으로, 원래 메서드를 `Kernel`의 싱글톤 메서드로 +호출할 수 있습니다. + +### 파괴적 메서드란 무엇인가요? +{: #destructive-method} + +파괴적인 메서드는 객체의 상태를 변경하는 메서드입니다. `String`, `Array`, +`Hash` 등이 이러한 메서드를 가지고 있습니다. 메서드에는 보통 두 가지 버전이 +있는데, 하나는 일반 이름이고 다른 하나는 이름은 같지만 뒤에 `!`가 붙는 +버전입니다. 일반 버전은 수신자의 복사본을 생성하고 이를 변경한 후 복사본을 +반환합니다. "뱅" 버전(`!` 포함)은 수신자를 제자리에서 수정합니다. + +그러나 할당 메서드(`name=`), 배열 할당(`[]=`), `Array.delete`와 같은 메서드를 +포함하여 `!`가 없는 파괴적인 메서드가 상당히 많다는 점에 유의하세요. + +### 파괴적인 메서드가 위험할 수 있는 이유는 무엇인가요? + +대부분의 경우 할당은 객체 참조를 복사할 뿐이며, 매개변수 전달은 할당과 +동일하다는 점을 기억하세요. 즉, 동일한 객체를 참조하는 변수가 여러 개 생길 수 +있습니다. 이러한 변수 중 하나가 파괴적인 메서드를 호출하는 데 사용되면 모든 +변수가 참조하는 객체가 변경됩니다. + +~~~ +def foo(str) + str.sub!(/foo/, "baz") +end + +obj = "foo" +foo(obj) # => "baz" +obj # => "baz" +~~~ + +이 경우 실제 인수가 변경됩니다. + +### 메서드에서 여러 값을 반환할 수 있나요? + +예인 동시에 아니요입니다. + +~~~ +def m1 + return 1, 2, 3 +end + +def m2 + [1, 2, 3] +end + +m1 # => [1, 2, 3] +m2 # => [1, 2, 3] +~~~ + +따라서 하나의 값만 반환되지만 그 값은 임의로 복잡한 객체가 될 수 있습니다. +배열의 경우 다중 할당을 사용하여 여러 반환 값의 효과를 얻을 수 있습니다. +다음의 예를 보세요. + +~~~ +def foo + [20, 4, 17] +end + +a, b, c = foo +a # => 20 +b # => 4 +c # => 17 +~~~ diff --git a/ko/documentation/faq/index.md b/ko/documentation/faq/index.md index 1e2e8c97ba..de2f0bf791 100644 --- a/ko/documentation/faq/index.md +++ b/ko/documentation/faq/index.md @@ -19,7 +19,7 @@ header: | | 6 | - 7 + 7 | 8 | @@ -55,7 +55,7 @@ Stollsteimer에게 감사드립니다. * [변수, 상수, 인수](4/) * [이터레이터](5/) * [구문](6/) -* [메서드](/en/documentation/faq/7/) +* [메서드](7/) * [클래스 및 모듈](/en/documentation/faq/8/) * [빌트인 라이브러리](/en/documentation/faq/9/) * [확장 라이브러리](/en/documentation/faq/10/) From 21a0dbba49d6f005d240a18d395925a168816b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 17 Apr 2023 19:00:21 -0500 Subject: [PATCH 1948/2563] Translate CVE-2023-28755: ReDoS vulnerability in URI (es) (#3039) * Translate CVE-2023-28755: ReDoS vulnerability in URI (es) --- .../2023-03-28-redos-in-uri-cve-2023-28755.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md diff --git a/es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md new file mode 100644 index 0000000000..3adfb0c90c --- /dev/null +++ b/es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "CVE-2023-28755: Vulnerabilidad ReDoS en URI" +author: "hsbt" +translator: vtamara +date: 2023-03-28 01:00:00 +0000 +tags: security +lang: es +--- + +Hemos publicados la gema `uri` con versiones 0.12.1, 0.11.1, 0.10.2 y 0.10.0.1 +que incluyen una corrección de seguridad para una vulnerabilidad ReDoS. +A esta vulnerabilidad se le ha asignado el identificador +CVE [CVE-2023-28755](https://www.cve.org/CVERecord?id=CVE-2023-28755). + +## Detalles + +Un incidente de ReDoS (denegación de servicio por expresión regular) ha sido +descubierto en el componente URI. +El reconocedor de URIs trata de manera inválida URLs que incluyen +caracteres específicos. Esto causa una aumento en el tiempo de +ejecución al reconocer cadenas en objetos URI. + +## Acción recomendada + +Recomendamos actualizar la gema `uri` a 0.12.1. +Para asegurar compatibilidad con la versión incluida en series +antiguas de Ruby, puede actualizar así: + +* Para Ruby 2.7: Actualizar a `uri` 0.10.0.1 +* Para Ruby 3.0: Actualizar a `uri` 0.10.2 +* Para Ruby 3.1: Actualizar a `uri` 0.11.1 +* Para Ruby 3.2: Actualizar a `uri` 0.12.1 + +Puede usar `gem update uri` para actualizar. Si usa bundler, por favor +agregue `gem "uri", ">= 0.12.1"` (u otra de las versiones mencionadas +antes) a su `Gemfile`. + +## Versiones afectadas + +* gema uri 0.12.0 +* gema uri 0.11.0 +* gema uri 0.10.1 +* gema uri 0.10.0 o anterior + +## Créditos + +Agradecemos a [Dominic Couture](https://hackerone.com/dee-see?type=user) +por descubrir este problema. + +## Historia + +* Publicación original el 2023-03-28 01:00:00 (UTC) +* Actualización a versiones afectadas el 2023-03-28 02:00:00 (UTC) +* Actualización al identificador CVE el 2023-03-28 04:00:00 (UTC) From 53c376ba7eafc386ea7c4052147b5818cfe0659d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Apr 2023 16:04:53 +0000 Subject: [PATCH 1949/2563] Bump actions/checkout from 3.5.0 to 3.5.2 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/8f4b7f84864484a7bf31766abe9204da3cbe65b3...8e5e7e5ab8b370d6c329ec480221332ada57f0ab) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 547303029a..48670513d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 with: fetch-depth: 1 - name: Setup Ruby From d956545acfef3b9d37484b275159d961194d3072 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Apr 2023 06:35:03 +0000 Subject: [PATCH 1950/2563] Bump nokogiri from 1.14.2 to 1.14.3 Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.2 to 1.14.3. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a7c5fbfecd..ca3310542b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -50,12 +50,12 @@ GEM mercenary (0.4.0) mini_portile2 (2.8.1) minitest (5.18.0) - nokogiri (1.14.2) + nokogiri (1.14.3) mini_portile2 (~> 2.8.0) racc (~> 1.4) - nokogiri (1.14.2-arm64-darwin) + nokogiri (1.14.3-arm64-darwin) racc (~> 1.4) - nokogiri (1.14.2-x86_64-linux) + nokogiri (1.14.3-x86_64-linux) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) From 436d9c5729289f6dbffd5f9c794d0e3a0f793f3b Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 18 Apr 2023 20:46:20 +0900 Subject: [PATCH 1951/2563] Fix up typo "GiHub" to "GitHub --- en/documentation/faq/10/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/documentation/faq/10/index.md b/en/documentation/faq/10/index.md index 3ee0bef4fe..9bf18e2695 100644 --- a/en/documentation/faq/10/index.md +++ b/en/documentation/faq/10/index.md @@ -99,7 +99,7 @@ to further reading. You might also want to have a look at the source of the interpreter itself, and at the various supplied extensions in the `ext/` directory -(you can browse the [Ruby repository on GiHub][ruby-github]). +(you can browse the [Ruby repository on GitHub][ruby-github]). [extension-rdoc]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [rubygems-guide]: http://guides.rubygems.org/gems-with-extensions/ From 014c9dcf5d627b86f47c5b5e8b179cedbab4b87f Mon Sep 17 00:00:00 2001 From: marocchino Date: Wed, 19 Apr 2023 07:25:34 +0900 Subject: [PATCH 1952/2563] Translate faq 8~11 (ko) (#3040) * Translate faq 8 (ko) * Translate faq 9 (ko) * Translate faq 10 (ko) * Translate faq 11 (ko) * Fix phrasing error in faq 9 (ko) * Apply suggestions from code review Co-authored-by: Shia * Unify words directory (ko) --------- Co-authored-by: Shia --- ko/documentation/faq/1/index.md | 10 +- ko/documentation/faq/10/index.md | 140 ++++++++++++ ko/documentation/faq/11/index.md | 187 ++++++++++++++++ ko/documentation/faq/2/index.md | 8 +- ko/documentation/faq/3/index.md | 8 +- ko/documentation/faq/4/index.md | 8 +- ko/documentation/faq/5/index.md | 8 +- ko/documentation/faq/6/index.md | 8 +- ko/documentation/faq/7/index.md | 8 +- ko/documentation/faq/8/index.md | 371 +++++++++++++++++++++++++++++++ ko/documentation/faq/9/index.md | 361 ++++++++++++++++++++++++++++++ ko/documentation/faq/index.md | 16 +- 12 files changed, 1096 insertions(+), 37 deletions(-) create mode 100644 ko/documentation/faq/10/index.md create mode 100644 ko/documentation/faq/11/index.md create mode 100644 ko/documentation/faq/8/index.md create mode 100644 ko/documentation/faq/9/index.md diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md index a6d4fe6b4d..e98913f95c 100644 --- a/ko/documentation/faq/1/index.md +++ b/ko/documentation/faq/1/index.md @@ -21,13 +21,13 @@ header: | | 7 | - 8 + 8 | - 9 + 9 | - 10 + 10 | - 11 + 11

공식 Ruby FAQ

@@ -310,7 +310,7 @@ Ruby의 구문은 Ruby 1.0 이후 상당히 안정적이지만 때때로 새로 문제가 있는 소스 코드와 함께 `ruby -v`의 출력을 첨부하세요. -[`irb`](/en/documentation/faq/10/#irb)를 사용하는 데 문제가 있는 경우 몇 가지 +[`irb`](../10/#irb)를 사용하는 데 문제가 있는 경우 몇 가지 제한 사항이 있다는 점에 유의하세요. `irb --single-irb`를 사용하거나 `ruby` 명령을 직접 사용하여 스크립트를 사용해 보세요. diff --git a/ko/documentation/faq/10/index.md b/ko/documentation/faq/10/index.md new file mode 100644 index 0000000000..d8202c9deb --- /dev/null +++ b/ko/documentation/faq/10/index.md @@ -0,0 +1,140 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 확장 라이브러리 + +### Ruby를 대화형으로 사용하려면 어떻게 해야 하나요? +{: #irb} + +{% include faq-out-of-date.html %} + +`irb`를 사용해 보세요. 다음은 고토 켄타로(Gotoken)의 글을 의역한 것으로, +원래는 [\[ruby-talk:444\]][ruby-talk:444]에 실린 내용입니다. + +1. Ruby 아카이브의 [contrib 디렉터리](ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/)에서 + `irb`의 최신 타볼을 가져옵니다. +2. `irb` 디렉터리 트리를 압축해제합니다. +3. `irb/` 디렉터리 위치를 `$RUBYLIB` 환경 변수에 추가합니다. +4. 경로 어딘가에 `$RUBYLIB/irb/irb.rb`를 가리키는 `irb`라는 심볼릭 링크를 + 만듭니다. +5. `chmod +x $RUBYLIB/irb/irb.rb` +6. 'rehash'를 사용하여 로그인 셸에 새 명령에 대해 알려줄 수 있습니다. +7. `irb`를 입력합니다. + +readline 확장 모듈이 인터프리터와 함께 작동하면 `irb`를 훨씬 더 재미있게 사용할 +수 있습니다. + +Ruby 배포판의 `samples/` 디렉터리에 `eval`이라는 간단한 프로그램도 있습니다. +이 프로그램을 사용하면 표현식을 입력하고 그 값을 볼 수 있습니다. `eval`을 +Ruby 트리의 `site_ruby` 디렉터리에 복사하고 다음을 통해 호출할 수 +있습니다. + +~~~ +ruby -r eval -e0 +~~~ + +[ruby-talk:444]: https://blade.ruby-lang.org/ruby-talk/444 + +### Ruby용 디버거가 있나요? + +Ruby용 gdb와 유사한 디버거가 있습니다. + +~~~ +ruby -r debug your_program +~~~ + +### Ruby에서 C로 작성된 라이브러리를 사용하려면 어떻게 해야 하나요? + +모든 스크립팅 언어 중에서 Ruby는 아마도 가장 확장하기 쉬운 언어일 것입니다. +참조 카운팅과 변수 유형에 대한 문제가 없고 배울 인터페이스도 거의 없습니다. +실제로 Ruby를 확장하는 데 사용되는 C 코드는 놀랍게도 Ruby 코드 자체와 비슷하게 +보이는 경우가 많습니다. + +먼저 Ruby 소스에서 `doc/extension.rdoc` 파일을 읽거나 +[docs.ruby-lang.org][extension-rdoc]의 extension.rdoc을 읽어보세요. 확장 +라이브러리를 작성하는 경우뿐만 아니라 Ruby를 더 깊이 이해하고자 하는 경우에도 +좋은 문서입니다. + +그런 다음 RubyGems 사이트에서 [확장을 사용한 젬 생성 가이드][rubygems-guide]를 +제공합니다. +여기에는 설치 시 빌드되는 C 확장을 사용하여 젬을 설정하는 방법이 나와 있습니다. +또한 C 라이브러리를 래핑하는 일부 기존 젬에 대한 링크와 추가 읽을거리에 대한 +링크도 있습니다. + +인터프리터 자체의 소스와 `ext/` 디렉터리에서 제공되는 다양한 확장기능을 +살펴볼 수도 있습니다(GitHub에서 [Ruby 저장소][ruby-github]를 찾아볼 수 있습니다). + +[extension-rdoc]: https://docs.ruby-lang.org/en/master/extension_rdoc.html +[rubygems-guide]: http://guides.rubygems.org/gems-with-extensions/ +[ruby-github]: https://github.com/ruby/ruby + +### Ruby에서 Tcl/Tk를 사용할 수 있나요? + +{% include faq-out-of-date.html %} + +표준 배포판에는 Tcl/Tk에 대한 두 개의 인터페이스가 포함되어 있습니다. 하나는 +`ext/tcltk/` 아래에 있으며 `require "tcltk"`로 로드됩니다. 이 구문은 Tcl +인터프리터에 전달되는 Tcl과 매우 유사합니다. 안타깝게도 이 라이브러리에 대한 +설명은 일본어로 작성되어 있습니다. + +다른 하나는 `ext/tk/` 아래에 있으며 `require "tk"`로 로드됩니다. 이 구문은 +Perl 및 Python 인터페이스에서 제공하는 Tk 인터페이스 스타일에 더 가깝습니다. + +### Tk가 작동하지 않습니다. 왜 그럴까요? + +{% include faq-out-of-date.html %} + +Tk 버전이 오래되었을 수 있으니 최신 버전을 사용해 보세요. + +### Ruby에서 gtk+나 xforms 인터페이스를 사용할 수 있나요? + +{% include faq-out-of-date.html %} + +Ruby ftp 사이트의 `contrib/`에서 `ruby-gtk-x.xx.tar.gz`, +`ruby-forms-x.x.tar.gz`를 찾을 수 있습니다. + +### 날짜 계산은 어떻게 하나요? + +{% include faq-out-of-date.html %} + +`Time` 개체는 1970년 1월 1일부터 2038년 1월 19일 사이의 날짜만 표현 +할 수 있습니다. + +두 가지 표준 확장 라이브러리 모듈이 제공됩니다. 단순하고 영어 달력을 사용하는 +`require "date"`와 보다 일반적인 용도의 `require "date2"`가 있습니다. + +`sample/cal.rb`도 참조하세요. diff --git a/ko/documentation/faq/11/index.md b/ko/documentation/faq/11/index.md new file mode 100644 index 0000000000..943079cb61 --- /dev/null +++ b/ko/documentation/faq/11/index.md @@ -0,0 +1,187 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 기타 기능 + +### `a ? b : c`는 무엇을 의미하나요? + +이것은 "삼항 연산자"라고 하며, 'if a then b else c end'와 +동일합니다. + +### 파일의 줄 수를 계산하려면 어떻게 해야 하나요? + +다음 코드가 가장 빠른 결과를 제공할 수 있습니다. + +~~~ +File.readlines("example").size # => 3 +~~~ + +### `MatchData#begin`과 `MatchData#end`는 무엇을 반환하나요? + +이 함수는 `$~`와 함께 작동하며 원본 문자열에서 일치하는 데이터의 시작 인덱스와 +끝 인덱스를 반환합니다. [탭 확장](../9/#tab-expansion)에서 예제를 참조하세요. + +### 배열의 요소를 합산하려면 어떻게 해야 하나요? + +{% include faq-out-of-date.html %} + +특정 문제를 해결하기보다는 일반적인 경우를 해결해 봅시다. 가장 먼저 할 일은 +`Enumerable` 객체를 반복하고 단일 결과를 수집하는 메서드를 생성하는 것입니다. +Smalltalk는 이 메소드를 inject라고 부르기 때문에 우리도 그렇게 부르겠습니다. + +~~~ +module Enumerable + + # inject(n) {|n, i| ...} + def inject(n) + each {|i| n = yield(n, i) } + + n + end +end +~~~ + +`Enumerable`에 메서드를 추가한 것을 주목하세요. 즉, Enumerable을 포함하는 모든 +곳에서 이제 `inject`를 사용할 수 있습니다. 하지만 어떻게 사용할까요? 하나의 +인자 `n`과 블록이 필요합니다. 열거되는 대상의 각 요소에 대해 `n`과 요소 자체를 +전달하면서 블록을 호출합니다. 블록의 결과는 다시 `n`에 할당됩니다. 따라서 +`sum`을 정의하기 위해 다음과 같이 작성할 수 있습니다: + +~~~ +module Enumerable + def sum + inject(0) {|n, i| n + i } + end +end + +[1,3,5,7,9].sum # => 25 +(1..100).sum # => 5050 +~~~ + +### 연속은 어떻게 사용하나요? + +{% include faq-out-of-date.html %} + +Ruby의 연속을 사용하면 Ruby 프로그램에서 특정 장소를 나타내는 객체를 생성한 +다음 언제든지 해당 장소로 돌아갈 수 있습니다(범위를 벗어난 것처럼 보이 +는 경우에도). 연속은 복잡한 제어 구조를 구현하는 데 사용할 수 있지만 +일반적으로는 사람들에게 혼란을 더하기만 합니다. + +[\[ruby-talk:4482\]][ruby-talk:4482]에서 Jim Weirich가 다음과 같은 연속 예제를 +게시했습니다. + +~~~ +# -------------------------------------------------------------------- +# 단순 생산자/소비자 +# -------------------------------------------------------------------- +# 연속을 사용하여 단순 계산 작업과 인쇄 작업을 함께 연결합니다. +# +# 사용법: count(limit) + +def count_task(count, consumer) + (1..count).each do |i| + callcc {|cc| consumer.call cc, i } + end + nil +end + +def print_task() + producer, i = callcc { |cc| return cc } + print "#{i} " + callcc { |cc| producer.call } +end + +def count(limit) + count_task(limit, print_task()) + print "\n" +end +~~~ + + +~~~ +# -------------------------------------------------------------------- +# 주어진 숫자의 배수 필터링하기 +# -------------------------------------------------------------------- +# 소비자이면서 동시에 생산자인 필터를 만듭니다. 카운팅 작업과 인쇄 작업 사이에 +# 삽입합니다. +# +# 사용법: omit(2, limit) + +def filter_task(factor, consumer) + producer, i = callcc { |cc| return cc } + if (i%factor) != 0 then + callcc { |cc| consumer.call cc, i } + end + producer.call +end + +def omit(factor, limit) + printer = print_task() + filter = filter_task(factor, printer) + count_task(limit, filter) + print "\n" +end +~~~ + + +~~~ +# -------------------------------------------------------------------- +# 소수 생성기 +# -------------------------------------------------------------------- +# 소수 생성기를 생성합니다. 새로운 소수가 발견되면 +# 생산자와 소비자의 체인에 새로운 다중 필터를 동적으로 추가합니다. +# +# 사용법: primes(limit) + +def prime_task(consumer) + producer, i = callcc { |cc| return cc } + if i >= 2 then + callcc { |cc| consumer.call cc, i } + consumer = filter_task(i, consumer) + end + producer.call +end + +def primes(limit) + printer = print_task() + primes = prime_task(printer) + count_task(limit, primes) + print "\n" +end +~~~ + +[ruby-talk:4482]: https://blade.ruby-lang.org/ruby-talk/4482 diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md index 8a85dbda84..e8b5e322be 100644 --- a/ko/documentation/faq/2/index.md +++ b/ko/documentation/faq/2/index.md @@ -21,13 +21,13 @@ header: | | 7 | - 8 + 8 | - 9 + 9 | - 10 + 10 | - 11 + 11

공식 Ruby FAQ

diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md index aee05f53c9..e001e4456b 100644 --- a/ko/documentation/faq/3/index.md +++ b/ko/documentation/faq/3/index.md @@ -21,13 +21,13 @@ header: | | 7 | - 8 + 8 | - 9 + 9 | - 10 + 10 | - 11 + 11

공식 Ruby FAQ

diff --git a/ko/documentation/faq/4/index.md b/ko/documentation/faq/4/index.md index 7a3ee03b25..d71cc82152 100644 --- a/ko/documentation/faq/4/index.md +++ b/ko/documentation/faq/4/index.md @@ -21,13 +21,13 @@ header: | | 7 | - 8 + 8 | - 9 + 9 | - 10 + 10 | - 11 + 11

공식 Ruby FAQ

diff --git a/ko/documentation/faq/5/index.md b/ko/documentation/faq/5/index.md index 1d198861e6..6057a6862d 100644 --- a/ko/documentation/faq/5/index.md +++ b/ko/documentation/faq/5/index.md @@ -21,13 +21,13 @@ header: | | 7 | - 8 + 8 | - 9 + 9 | - 10 + 10 | - 11 + 11

공식 Ruby FAQ

diff --git a/ko/documentation/faq/6/index.md b/ko/documentation/faq/6/index.md index 579b51b3b5..10d5a4b550 100644 --- a/ko/documentation/faq/6/index.md +++ b/ko/documentation/faq/6/index.md @@ -21,13 +21,13 @@ header: | | 7 | - 8 + 8 | - 9 + 9 | - 10 + 10 | - 11 + 11

공식 Ruby FAQ

diff --git a/ko/documentation/faq/7/index.md b/ko/documentation/faq/7/index.md index ea95d2981f..6b95abee24 100644 --- a/ko/documentation/faq/7/index.md +++ b/ko/documentation/faq/7/index.md @@ -21,13 +21,13 @@ header: | | 7 | - 8 + 8 | - 9 + 9 | - 10 + 10 | - 11 + 11

공식 Ruby FAQ

diff --git a/ko/documentation/faq/8/index.md b/ko/documentation/faq/8/index.md new file mode 100644 index 0000000000..f4490efbf9 --- /dev/null +++ b/ko/documentation/faq/8/index.md @@ -0,0 +1,371 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 클래스와 모듈 + +### 클래스 정의를 반복할 수 있나요? + +클래스는 반복해서 정의할 수 있습니다. 각 정의는 마지막 정의에 추가됩니다. +메서드가 재정의되면 이전 메서드가 재정의되고 사라집니다. + +### 클래스 변수가 있나요? + +있습니다. 앞에 기호(`@@`) 두 개가 붙은 변수는 클래스 변수로, 클래스의 인스턴스 +메서드와 클래스 메서드 모두에서 접근할 수 있습니다. + +~~~ +class Entity + + @@instances = 0 + + def initialize + @@instances += 1 + @number = @@instances + end + + def who_am_i + "I'm #{@number} of #{@@instances}" + end + + def self.total + @@instances + end +end + +entities = Array.new(9) { Entity.new } + +entities[6].who_am_i # => "I'm 7 of 9" +Entity.total # => 9 +~~~ + +하지만 클래스 변수 대신 _클래스 인스턴스 변수_를 사용해야 합니다. + +### 클래스 인스턴스 변수는 무엇인가요? + +여기서는 클래스 인스턴스 변수를 사용하여 이전 섹션의 예제를 다시 작성했습니다. + +~~~ +class Entity + + @instances = 0 + + class << self + attr_accessor :instances # 읽기/쓰기를 위한 클래스 메서드 제공 + end + + def initialize + self.class.instances += 1 + @number = self.class.instances + end + + def who_am_i + "I'm #{@number} of #{self.class.instances}" + end + + def self.total + @instances + end +end + +entities = Array.new(9) { Entity.new } + +entities[6].who_am_i # => "I'm 7 of 9" +Entity.instances # => 9 +Entity.total # => 9 +~~~ + +여기서 `@instances`는 _클래스_ 인스턴스 변수입니다. 이 변수는 `Entity` +클래스의 인스턴스에 속하는 것이 아니라 `Class` 클래스의 인스턴스인 +클래스 객체 `Entity`에 속합니다. + +클래스 인스턴스 변수는 클래스의 클래스 메서드 내에서만 직접 접근할 수 +있습니다. + +### 클래스 변수와 클래스 인스턴스 변수의 차이점은 무엇인가요? + +주요 차이점은 상속과 관련된 동작입니다. 클래스 변수는 클래스와 모든 서브클래스 +간에 공유되는 반면, 클래스 인스턴스 변수는 특정 클래스 하나에만 속합니다. + +클래스 변수는 어떤 식으로든 상속 계층 구조에서의 전역 변수로 볼 수 +있으며, 전역 변수가 가진 모든 문제가 존재합니다. +예를 들어, 클래스 변수가 (실수로) 서브클래스에 의해 재할당되어 다른 모든 +클래스에 영향을 미칠 수 있습니다. + +~~~ +class Woof + + @@sound = "woof" + + def self.sound + @@sound + end +end + +Woof.sound # => "woof" + +class LoudWoof < Woof + @@sound = "WOOF" +end + +LoudWoof.sound # => "WOOF" +Woof.sound # => "WOOF" (!) +~~~ + +또는 조상 클래스가 나중에 다시 정의되고 변경되어 예상치 못한 효과가 나타날 수도 +있습니다. + +~~~ +class Foo + + @@var = "foo" + + def self.var + @@var + end +end + +Foo.var # => "foo" (as expected) + +class Object + @@var = "object" +end + +Foo.var # => "object" (!) +~~~ + +따라서 수행 중인 작업을 정확히 알고 있고 이러한 종류의 동작이 명시적으로 필요한 +경우가 아니라면 클래스 인스턴스 변수를 사용하는 것이 좋습니다. + +### Ruby에는 클래스 메서드가 있나요? +{: #class-method} + +클래스 객체의 [싱글톤 메서드](../7/#singleton-method)를 클래스 메서드라고 합니다. +(사실 클래스 메서드는 메타클래스에 정의되어 있지만, 이는 거의 투명합니다). +이를 다른 방식으로 보면 클래스 메서드는 수신자가 클래스인 메서드라고 말할 수 +있습니다. + +이 모든 것은 해당 클래스를 인스턴스(객체)가 없어도 수신자로서 클래스 메서드를 +호출할 수 있다는 사실로 귀결됩니다. + +클래스 `Foo`의 싱글톤 메서드를 만들어 봅시다. + +~~~ +class Foo + def self.test + "this is foo" + end +end + +# 이런 식으로 호출됩니다. + +Foo.test # => "this is foo" +~~~ + +이 예제에서 `Foo.test`는 클래스 메서드입니다. + +`Class`에 정의된 인스턴스 메서드는 모든(!) 클래스에 대한 클래스 + 메서드로 사용할 수 있습니다. + +### 싱글톤 클래스란 무엇인가요? + +싱글톤 클래스는 특정 객체와 연관된 클래스를 서브클래싱하여 생성되는 익명 +클래스입니다. 싱글톤 클래스는 하나의 객체와 관련된 기능을 확장하는 또 다른 +방법입니다. + +`Foo`가 있다고 합시다. + +~~~ +class Foo + def hello + "hello" + end +end + +foo = Foo.new +foo.hello # => "hello" +~~~ + +이제 이 인스턴스 하나에만 클래스 수준 기능을 추가해야 한다고 가정해 보 +겠습니다. + +~~~ +class << foo + attr_accessor :name + + def hello + "hello, I'm #{name}" + end +end + +foo.name = "Tom" +foo.hello # => "hello, I'm Tom" +Foo.new.hello # => "hello" +~~~ + +`Foo`의 특성을 변경하지 않고 `foo`를 재정의했습니다. + +### 모듈 함수란 무엇인가요? + +{% include faq-out-of-date.html %} + +모듈 함수는 모듈에 정의된 비공개 싱글톤 메서드입니다. 사실상 +[클래스 메서드](#class-method)와 유사하며, `Module.method` 표기법을 +사용하여 호출할 수 있습니다. + +~~~ +Math.sqrt(2) # => 1.414213562 +~~~ + +그러나 모듈을 클래스에 믹스인할 수 있기 때문에 접두사 없이 모듈 함수를 사용 +할 수도 있습니다(모든 `Kernel` 함수를 객체에서 사용할 수 있는 방식입니다). + +~~~ +include Math +sqrt(2) # => 1.414213562 +~~~ + +메서드를 모듈 함수로 만들려면 `module_function`을 사용합니다. + +~~~ +module Test + def thing + # ... + end + module_function :thing +end +~~~ + +### 클래스와 모듈의 차이점은 무엇인가요? + +모듈은 메서드와 상수의 모음입니다. 인스턴스를 생성할 수 없습니다. 클래스는 +인스턴스(객체)를 생성할 수 있으며 인스턴스별 상태(인스턴스 변수)를 가질 수 +있습니다. + +모듈을 클래스 및 다른 모듈에 믹스인할 수 있습니다. 믹스인된 모듈의 상수와 메서드는 +해당 클래스의 상수와 메서드에 섞여서 클래스의 기능을 보강합니다. +그러나 클래스는 다른 어떤 것과도 섞일 수 없습니다. + +클래스는 다른 클래스에서 상속할 수 있지만 모듈에서는 상속할 수 없습니다. + +모듈은 아무 것도 상속할 수 없습니다. + +### 모듈을 상속할 수 있나요? + +그러나 모듈을 클래스나 다른 모듈에 포함시켜 다중 상속(믹스인 기능)을 모방할 +수 있습니다. + +이렇게 하면 상속이 필요한 하위 클래스가 생성되지는 않지만 클래스와 모듈 사이 +에 `is_a?` 관계가 생성됩니다. + +### 믹스인의 예를 보여주세요. + +`Comparable` 모듈은 다양한 비교 연산자(`<`, `<=`, `==`, `>=`, `>`, `between?`)를 +제공합니다. 이는 일반적인 비교 메서드인 `<=>`에 대한 호출로 정의됩니다. 그러나 +`<=>` 자체를 정의하지는 않습니다. + + +동물의 다리 개수를 비교하는 클래스를 만들고 싶다고 가정해 보겠습니다. + +~~~ +class Animal + include Comparable + + attr_reader :legs + + def initialize(name, legs) + @name, @legs = name, legs + end + + def <=>(other) + legs <=> other.legs + end + + def inspect + @name + end +end + +c = Animal.new("cat", 4) +s = Animal.new("snake", 0) +p = Animal.new("parrot", 2) + +c < s # => false +s < c # => true +p >= s # => true +p.between?(s, c) # => true +[p, s, c].sort # => [snake, parrot, cat] +~~~ + +`Animal`은 `<=>` 연산자에 대한 자체 시맨틱을 정의하고 `Comparable` 모듈을 +믹스인하면 됩니다. 이제 `Comparable`의 메서드는 `Animal`의 메서드와 +구분할 수 없게 되고 클래스에 새로운 기능이 갑자기 생겨납니다. 그리고 +많은 클래스에서 동일한 `Comparable` 모듈을 사용하기 때문에 새 클래스는 +일관되고 잘 이해되는 의미를 공유하게 됩니다. + +### 클래스 메서드를 정의하는 방법이 두 가지인 이유는 무엇인가요? + +클래스 정의에서 클래스 메서드를 정의할 수 있으며, 최상위 수준에서 클래스 +메서드를 정의할 수 있습니다. + +~~~ +class Demo + def self.class_method + end +end + +def Demo.another_class_method +end +~~~ + +둘 사이에는 단 한 가지 중요한 차이점이 있습니다. 클래스 정의에서는 상수가 +범위 내에 있으므로 클래스의 상수를 직접 참조할 수 있습니다. 최상위 레벨에서는 +`Class::CONST` 표기법을 사용해야 합니다. + +### 'include'과 'extend'의 차이점은 무엇인가요? + +{% include faq-out-of-date.html %} + +`include`는 모듈을 클래스나 다른 모듈에 믹스인합니다. 해당 모듈의 메서드는 함수 +스타일(수신자 없이)로 호출됩니다. + +`extend`는 객체(인스턴스)에 모듈을 포함할 때 사용됩니다. +모듈의 메서드는 객체의 메서드가 됩니다. + +### `self`는 무슨 뜻인가요? + +`self`는 현재 실행 중인 수신자, 즉 메서드가 적용되는 객체입니다. 함수형 +메서드 호출의 수신자는 `self`입니다. diff --git a/ko/documentation/faq/9/index.md b/ko/documentation/faq/9/index.md new file mode 100644 index 0000000000..77dfe4c3ad --- /dev/null +++ b/ko/documentation/faq/9/index.md @@ -0,0 +1,361 @@ +--- +layout: page +title: "공식 Ruby FAQ" +lang: ko + +header: | +
+ 콘텐츠 + | + 1 + | + 2 + | + 3 + | + 4 + | + 5 + | + 6 + | + 7 + | + 8 + | + 9 + | + 10 + | + 11 +
+

공식 Ruby FAQ

+ +--- + +{% include faq-notice.md %} + +## 내장 라이브러리 + +### `instance_methods(false)`는 무엇을 반환하나요? + +인스턴스 메서드 `instance_methods`는 수신 클래스 또는 모듈의 인스턴스 +메서드 이름이 포함된 배열을 반환합니다. 여기에는 슈퍼클래스와 모듈에 +믹스인된 메서드가 포함됩니다. + +`instance_methods(false)`나 `instance_methods(nil)`는 수신자에 정의된 메소드의 +이름만 반환합니다. + +### 난수 시드는 어떻게 작동하나요? + +`srand`를 미리 호출하지 않고 `rand`가 호출되면, 루비의 의사 난수 생성기는 +무엇보다도 OS에서 제공하는 엔트로피 소스를 사용하는 랜덤(에 가까운) 시드를 +사용합니다(사용 가능한 경우). +`srand` 를 사용하지 않는 프로그램을 연속적으로 실행하면 다른 난수 시퀀스가 +생성됩니다. + +테스트 목적으로, 상수 시드를 사용하여 `srand`를 호출하면 프로그램을 실행할 +때마다 동일한 일련의 숫자로 예측 가능한 동작을 얻을 수 있습니다. + +### 파일을 읽고 변경했지만 디스크의 파일은 변경되지 않았습니다. + +~~~ +File.open("example", "r+").readlines.each_with_index do |line, i| + line[0,0] = "#{i+1}: " +end +~~~ + +이 프로그램은 `example` 파일에 줄 번호를 추가하지 _않습니다_. 파일의 내용을 읽 +고 각 줄마다 줄 번호를 앞에 붙이기는 하지만 데이터를 다시 쓰지는 않습니다. +아래 코드는 파일을 _업데이트_합니다(업데이트를 시작하기 전에 백업을 하지 않기 +때문에 다소 위험할 수 있습니다). + +~~~ +File.open("example", "r+") do |f| + lines = f.readlines + lines.each_with_index {|line, i| line[0,0] = "#{i+1}: " } + f.rewind + f.puts lines +end +~~~ + +### 파일을 처리하고 내용을 업데이트하려면 어떻게 해야 하나요? + +명령줄 옵션 `-i` 또는 내장 변수 `$-i`를 사용하여 파일을 읽고 바꿀 수 있습니다. + +파일에 줄 번호를 추가한 이전 질문의 코드는 이 기법을 사용하여 작성하는 +것이 가장 좋습니다. + +~~~ +$ ruby -i -ne 'print "#$.: #$_"' example +~~~ + +원본 파일을 보존하려면 `-i.bak`을 사용하여 백업을 만드세요. + +### 파일을 작성하고 복사했는데 복사본의 끝 부분이 손실된 것 같습니다. + +이 코드는 제대로 작동하지 않습니다. + +~~~ +require "fileutils" + +File.open("file", "w").puts "This is a file." +FileUtils.cp("file", "newfile") +~~~ + +I/O가 버퍼링되어 있기 때문에 `file`의 내용이 디스크에 기록되기 전에 복사되고 +있습니다. `newfile`은 아마도 비어 있을 것입니다. 그러나 프로그램이 종료되면 +버퍼가 플러시되고 파일에는 예상되는 콘텐츠가 있습니다. + +복사하기 전에 '파일'이 닫혀 있는지 확인하면 문제가 발생하지 않습니다. + +~~~ +require "fileutils" + +File.open("file", "w") {|f| f.puts "This is a file." } +FileUtils.cp("file", "newfile") +~~~ + +### 현재 입력 파일에서 줄 번호를 얻으려면 어떻게 해야 하나요? + +파일에서 읽을 때 Ruby는 전역 변수 `$.`의 줄 번호 카운터를 증가시킵니다. 이 +기능은 `File` 객체의 `lineno` 속성을 사용하여 사용할 수도 있습니다. + +특수 상수 `ARGF`는 명령줄에 지정된 모든 입력 파일(파일이 없는 경우 표준 입력)을 +읽는 데 사용할 수 있는 파일과 유사한 객체입니다. `ARGF`는 다음과 같은 코드에서 +암시적으로 사용됩니다. + +~~~ +while gets + print $_ +end +~~~ + +이 경우 `$.`는 모든 입력 파일에서 읽은 누적 줄 수가 됩니다. 현재 파일에서 +줄 번호를 가져오려면 다음 코드를 사용하세요. + +~~~ +ARGF.file.lineno +~~~ + +`ARGF.file.path`를 사용하여 현재 파일의 이름을 가져올 수도 있습니다. + +### 프로그램 출력을 표시하기 위해 `less`를 사용하려면 어떻게 해야 하나요? + +다음을 시도했지만 아무것도 나오지 않았습니다. + +~~~ +open("|less", "w").puts "abc" +~~~ + +프로그램이 즉시 종료되어서 `less`는 작성한 내용을 볼 기회를 얻지 못 +하며 표시할 수도 없기 때문입니다. IO가 제대로 닫혔는지 확인하고 `less`가 끝날 +때까지 기다리세요. + +~~~ +open("|less", "w") {|f| f.puts "abc" } +~~~ + +### 더 이상 참조되지 않는 `File` 객체는 어떻게 되나요? + +더 이상 참조되지 않는 `File` 객체는 가비지 컬렉션 대상이 됩니다. `File` 객체가 +가비지 컬랙션되면 파일은 자동으로 닫힙니다. + +### 파일을 닫지 않으면 불안한 기분이 들어요. + +파일을 닫는 데는 최소한 네 가지의 좋은 방법이 있습니다. + +~~~ +# (1) +f = File.open("file") +begin + f.each {|line| print line } +ensure + f.close +end + +# (2) +File.open("file") do |f| + f.each {|line| print line } +end + +# (3) +File.foreach("file") {|line| print line } + +# (4) +File.readlines("file").each {|line| print line } +~~~ + +### 수정 시간별로 파일을 정렬하려면 어떻게 해야 하나요? + +~~~ +Dir.glob("*").sort {|a, b| File.mtime(b) <=> File.mtime(a) } +~~~ + +이 방법은 작동하지만(시간 역순으로 목록을 반환), 비교할 때마다 운영 체제 +에서 파일의 수정 시간을 가져오기 때문에 효율적이지 않습니다. + +약간의 복잡성을 추가하면 더 효율적일 수 있습니다. + +~~~ +Dir.glob("*").map {|f| [File.mtime(f), f] }. + sort {|a, b| b[0] <=> a[0] }.map(&:last) +~~~ + +### 파일에서 단어의 빈도를 계산하려면 어떻게 해야 하나요? + +~~~ +freq = Hash.new(0) +File.read("example").scan(/\w+/) {|word| freq[word] += 1 } +freq.keys.sort.each {|word| puts "#{word}: #{freq[word]}" } +~~~ + +결과: + +~~~ +and: 1 +is: 3 +line: 3 +one: 1 +this: 3 +three: 1 +two: 1 +~~~ + +### 문자열을 알파벳 순서로 정렬하려면 어떻게 해야 하나요? + +문자열을 'AAA', 'BBB', ..., 'ZZZ', 'aaa', 'bbb'로 정렬하려는 경우 추가 구현없이 +내장 비교를 사용하는 것으로 충분합니다. + +대/소문자 구분을 무시하고 정렬하려면 정렬 블록에서 대/소문자 구분이 없는 문자열 +버전을 비교합니다. + +~~~ +array = %w( z bB Bb bb Aa BB aA AA aa a A ) +array.sort {|a, b| a.downcase <=> b.downcase } + # => ["a", "A", "Aa", "aA", "AA", "aa", "bB", "Bb", "bb", "BB", "z"] +~~~ + +'A'와 'a'가 함께 나오지만 'a'가 'A'보다 큰 것으로 간주되도록 정렬하려면 +(즉, 'Aa'가 'AA' 뒤에 오지만 'AB' 앞에 오도록) 이렇게 하세요. + +~~~ +array.sort {|a, b| (a.downcase <=> b.downcase).nonzero? || a <=> b } + # => ["A", "a", "AA", "Aa", "aA", "aa", "BB", "Bb", "bB", "bb", "z"] +~~~ + +### 탭을 스페이스로 확장하려면 어떻게 해야 하나요? +{: #tab-expansion} + +확장할 문자열이 `a`인 경우 다음 중 하나를 사용할 수 있습니다. + +~~~ +1 while a.sub!(/(^[^\t]*)\t(\t*)/){$1+" "*(8-$1.size%8+8*$2.size)} +# 또는 +1 while a.sub!(/\t(\t*)/){" "*(8-$~.begin(0)%8+8*$1.size)} +# 또는 +a.gsub!(/([^\t]{8})|([^\t]*)\t/n){[$+].pack("A8")} +~~~ + +### 정규식에서 백슬래시를 이스케이프하려면 어떻게 해야 하나요? + +`Regexp.quote('\\')`는 백슬래시를 이스케이프합니다. + +`sub`와 `gsub`를 사용하는 경우 더 까다로워집니다. 백슬래시를 각각 +두 개로 바꾸기 위해 `gsub(/\\/, '\\\\')`를 작성한다고 가정해 보겠습니다. +두 번째 인수는 구문 분석에서 `'\\'`로 변환됩니다. 치환이 발생하면 정규식 +엔진이 이를 `'\'`로 변환하므로 결과적으로 백슬래시 하나씩을 다른 백슬래시 +하나로 대체하게 됩니다. 그래서 `gsub(/\\/, '\\\\\\')`로 작성해야 합니다! + +그러나 `\&`는 매칭한 문자열을 포함한다는 사실을 사용하여 `gsub(/\\/, '\&\&')`라 +적을 수도 있습니다. + +`gsub`의 블록 형식, 즉 `gsub(/\\/) { '\\\\' }`를 사용하면 대체 문자열은 구문 +전달 중에 한 번만 분석되며 결과는 사용자가 의도한 대로 나타납니다. + +### `sub`와 `sub!`의 차이점은 무엇인가요? + +`sub`에서는 수신자의 복사본이 생성되고 치환되어 반환됩니다. + +`sub!`에서는 수신자가 변경되고 일치하는 항목이 발견되면 반환됩니다. +그렇지 않으면 `nil`이 반환됩니다. + +수신자의 속성을 변경하는 `sub!`와 같은 메서드를 +[파괴적 메서드](../7/#destructive-method)라고 합니다. 일반적으로 유사한 +메서드가 두 개 있고 하나가 파괴적인 경우, 파괴적인 메서드에는 접미사 `!`가 +붙습니다. + +~~~ +def foo(str) + str.sub(/foo/, "baz") +end + +obj = "foo" +foo(obj) # => "baz" +obj # => "foo" + +def foo(str) + str.sub!(/foo/, "baz") +end + +foo(obj) # => "baz" +obj # => "baz" +~~~ + +### `\Z`는 어디에 일치하나요? + +문자열이 `\n`으로 끝나면 마지막 `\n`(줄 바꿈) 바로 앞에 `\Z`가 일치하고, +그렇지 않으면 문자열 끝에서 일치합니다. + +### `thread`와 `fork`의 차이점은 무엇인가요? + +{% include faq-out-of-date.html %} + +Ruby 스레드는 인터프리터 내에서 구현되는 반면, `fork`는 운영 체제를 호출하여 +별도로 실행되는 서브 프로세스를 생성합니다. + +스레드와 `fork`에는 다음과 같은 특징이 있습니다. + +* `fork`는 느리지만 `thread`는 그렇지 않습니다. +* `fork`는 메모리 공간을 공유하지 않습니다. +* `thread`는 쓰레싱을 일으키지 않습니다. +* `thread`는 DOS에서 작동합니다. +* `thread`가 교착상태에 빠지면 전체 프로세스가 멈춥니다. +* `fork`는 I/O가 완료되기를 기다리는 일시 중지를 이용할 수 있지만, + `thread`는 그렇지 않습니다 (적어도 약간의 도움 없이는). + +`fork`와 `thread`를 혼용해서는 안 됩니다. + +### `Marshal`은 어떻게 사용하나요? + +`Marshal`은 객체를 파일이나 문자열에 저장하고 나중에 재구성하는 데 사용됩니다. +객체는 다음을 사용하여 저장할 수 있습니다. + +~~~ +Marshal.dump( obj [, io ] [, lev] ) +~~~ + +`io`는 쓰기 가능한 `IO` 객체이고, `lev`는 객체가 역참조되어 저장되는 레벨을 +지정합니다. `lev` 레벨의 역참조가 완료되고 객체 참조가 여전히 존재하는 경우 +`dump`는 참조된 객체가 아닌 참조만 저장합니다. 이렇게 참조된 객체는 나중에 +재구성할 수 없으므로 좋지 않습니다. + +`io`가 생략되면 마샬링된 객체가 문자열로 반환됩니다. + +다음을 사용하여 개체를 다시 로드할 수 있습니다. + +~~~ +obj = Marshal.load(io) +# 아니면 +obj = Marshal.load(str) +~~~ + +여기서 `io`는 읽을 수 있는 `IO` 객체, `str`은 덤프된 문자열입니다. + +### `trap`은 어떻게 사용하나요? + +`trap`은 코드 블록을 외부 이벤트(신호)와 연결합니다. + +~~~ +trap("PIPE") { raise "SIGPIPE" } +~~~ diff --git a/ko/documentation/faq/index.md b/ko/documentation/faq/index.md index de2f0bf791..1e8681eb61 100644 --- a/ko/documentation/faq/index.md +++ b/ko/documentation/faq/index.md @@ -21,13 +21,13 @@ header: | | 7 | - 8 + 8 | - 9 + 9 | - 10 + 10 | - 11 + 11

공식 Ruby FAQ

@@ -56,7 +56,7 @@ Stollsteimer에게 감사드립니다. * [이터레이터](5/) * [구문](6/) * [메서드](7/) -* [클래스 및 모듈](/en/documentation/faq/8/) -* [빌트인 라이브러리](/en/documentation/faq/9/) -* [확장 라이브러리](/en/documentation/faq/10/) -* [기타 기능](/en/documentation/faq/11/) +* [클래스 및 모듈](8/) +* [내장 라이브러리](9/) +* [확장 라이브러리](10/) +* [기타 기능](11/) From f16ba8f0debf36de4086ad2cb6645a889422d6e4 Mon Sep 17 00:00:00 2001 From: marocchino Date: Wed, 19 Apr 2023 08:09:14 +0900 Subject: [PATCH 1953/2563] Translate ruby talk guidelines (ko) (#3043) * Translate ruby talk guidelines (ko) * Apply suggestions from code review Co-authored-by: Shia --------- Co-authored-by: Shia --- .../ruby-talk-guidelines/index.md | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 ko/community/mailing-lists/ruby-talk-guidelines/index.md diff --git a/ko/community/mailing-lists/ruby-talk-guidelines/index.md b/ko/community/mailing-lists/ruby-talk-guidelines/index.md new file mode 100644 index 0000000000..bed7081370 --- /dev/null +++ b/ko/community/mailing-lists/ruby-talk-guidelines/index.md @@ -0,0 +1,76 @@ +--- +layout: page +title: "Ruby-Talk 메일링 리스트 작성 가이드라인" +lang: ko +--- + +Ruby-Talk 메일링 리스트에 글을 올릴 때는 다음 가이드라인을 따라야 합니다. +{: .summary} + +1. **항상** 친절하고, 사려 깊고, 재치 있고, 센스 있게 행동하세요. 이 목록은 + 점점 늘어나는 초보자, 아주 어린 학생들, 그리고 그들의 선생님들에게도 + 친절하게 대하고, 불을 뿜는 마법사들에게도 친절하게 대하고 싶어요. ^_^ + +2. 관련성 있고 따라 하기 쉬운 콘텐츠를 작성하세요. 콘텐츠를 간결하고 핵심만 + 담되, 모든 관련 정보를 포함하도록 노력하세요. + + 1. 일반 형식 가이드라인(일명 네티켓)은 제3자가 (실시간으로 또는 아카이브를 + 열람할 때) 쉽게 따라할 수 있도록 하는 상식적이고 일반적인 예의에 관한 + 사항입니다. + + * **주의 사항** + 이전 게시글에서 인용한 텍스트를 응답하기 **전에** 포함하고 관련성이 + 있는 만큼만 **선택해서** 인용합니다. + * HTML, RTF, Word를 사용하지 말고 **일반 텍스트**를 사용하세요. 대부분의 + 이메일 프로그램에는 이 옵션이 있으며, 그렇지 않은 경우 무료 프로그램을 + 구입하거나 이 기능이 있는 웹 기반 서비스를 이용하세요. + * 첨부 파일을 사용하지 말고 파일에서 **인라인** 텍스트로 예시를 + 포함하세요. + + 2. 문제를 신고할 경우, 처음에 관련 정보를 **모두** 알려주세요. + 여기는 초능력자 뉴스 그룹이 아니니까요. ^_^ + + 적절한 경우 포함하세요. + + * 문제를 생성하는 예제(가급적 간단한 것) + * 실제 오류 메시지 + * 루비 버전(`ruby -v`) + * OS 유형 및 버전(`uname -a`) + * 루비 빌드에 사용된 컴파일러 이름 및 버전 + +3. 제목을 최대한 정보를 넣어 작성하여 관심을 가져야 하는 사람들이 게시물을 + 읽고 관심이 없는 사람들이 쉽게 피할 수 있도록 합니다. + + 게시물의 내용을 **유용하게** 설명하세요. + + 좋습니다. + + * "How can I do x with y on z?" (y로 x를 z에서 어떻게 하죠?) + * "Problem: did x, expected y, got z." + (문제: x를 해서 y를 기대했는데 z가 나왔어요.) + * "BUG: doing x with module y crashed z." + (버그: 모듈 y로 x를 수행하면 z가 충돌했습니다.) + + 이것은 **안됩니다**. + + * "Please help!!!" (도와줘요!!!) + * "Newbie question" (초보 질문) + * "Need Ruby guru to tell me what's wrong" + (뭐가 틀렸는지 알려줄 Ruby 고수 구함) + + 이러한 접두사는 제목에 일반적으로 사용되는 접두사입니다. + + * `[ANN]` (공지) + * `[BUG]` (버그 리포트) + * `[OT]` (주제에서 벗어난 글, 필요하다면..) + +4. 마지막으로, 스스로 생각해보세요. 너무 게으르지 마세요. 정보를 찾고 있다면 먼저 + 합리적인 노력을 기울여 정보를 찾아보세요. [루비 홈페이지][ruby-lang]을 + 확인하고, [루비 FAQ][faq] 및 기타 문서를 확인하고, 검색 엔진을 사용하여 + 과거 게시물을 검색하는 등 적절한 방법으로 찾아보세요. + +_이 가이드라인은 [comp.lang.ruby FAQ][clrFAQ]에서 발췌한 것입니다._ + +[ruby-lang]: /ko/ +[faq]: /ko/documentation/faq/ +[clrFAQ]: http://rubyhacker.com/clrFAQ.html From fb5aab46142a5f8d57e792de364c0fec24377cd0 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 5 Jan 2023 11:55:32 +0900 Subject: [PATCH 1954/2563] Create jekyll.yml --- .github/workflows/jekyll.yml | 63 ++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/jekyll.yml diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml new file mode 100644 index 0000000000..a9b27882e4 --- /dev/null +++ b/.github/workflows/jekyll.yml @@ -0,0 +1,63 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Deploy Jekyll site to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["master"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Ruby + uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0 + with: + ruby-version: '3.0' # Not needed with a .ruby-version file + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + cache-version: 0 # Increment this number if you need to re-download cached gems + - name: Setup Pages + id: pages + uses: actions/configure-pages@v2 + - name: Build with Jekyll + # Outputs to the './_site' directory by default + run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" + env: + JEKYLL_ENV: production + - name: Upload artifact + # Automatically uploads an artifact from the './_site' directory by default + uses: actions/upload-pages-artifact@v1 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 From 8b634e676d2734200e506592a7e065422257209b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 24 Apr 2023 14:34:46 +0900 Subject: [PATCH 1955/2563] update bundles --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ca3310542b..ee7f95dfbf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.3) + addressable (2.8.4) public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) concurrent-ruby (1.2.2) @@ -63,7 +63,7 @@ GEM public_suffix (5.0.1) racc (1.6.2) rack (2.2.6.4) - rack-protection (3.0.5) + rack-protection (3.0.6) rack rack-rewrite (1.5.1) rack-ssl (1.4.1) From 52459483eb021dbd5f0b1b69cfa85dfb1e089684 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 24 Apr 2023 14:36:42 +0900 Subject: [PATCH 1956/2563] Cleanup and tweak configuration --- .github/workflows/jekyll.yml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index a9b27882e4..8559ff8c6f 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -1,56 +1,41 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -# Sample workflow for building and deploying a Jekyll site to GitHub Pages name: Deploy Jekyll site to Pages on: - # Runs on pushes targeting the default branch push: branches: ["master"] - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write -# Allow one concurrent deployment concurrency: group: "pages" cancel-in-progress: true jobs: - # Build job build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup Ruby - uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0 + uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: - ruby-version: '3.0' # Not needed with a .ruby-version file - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - cache-version: 0 # Increment this number if you need to re-download cached gems + ruby-version: '3.2' + bundler-cache: true - name: Setup Pages id: pages uses: actions/configure-pages@v2 - name: Build with Jekyll - # Outputs to the './_site' directory by default run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: JEKYLL_ENV: production - name: Upload artifact - # Automatically uploads an artifact from the './_site' directory by default uses: actions/upload-pages-artifact@v1 - # Deployment job deploy: environment: name: github-pages From f9604a33c486a04a49e41006c5d530b44a6f6edc Mon Sep 17 00:00:00 2001 From: akinomaeni Date: Sun, 9 Apr 2023 21:58:55 +0900 Subject: [PATCH 1957/2563] docs(readme): avoid use deprecated flag ``` $ bundle install --without production [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'production'`, and stop using this flag ``` --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bc78ca803..f3596635db 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ Then clone the repository and install the dependencies: ``` sh git clone https://github.com/ruby/www.ruby-lang.org.git cd www.ruby-lang.org/ -bundle install --without production +bundle config set --local without production +bundle install ``` ## Make Changes From 6d852fc6a295f0cc4482f33cbfa244f8b6085c67 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Apr 2023 16:03:09 +0000 Subject: [PATCH 1958/2563] Bump actions/configure-pages from 2 to 3 Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 2 to 3. - [Release notes](https://github.com/actions/configure-pages/releases) - [Commits](https://github.com/actions/configure-pages/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/configure-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 8559ff8c6f..23278ce6b3 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -28,7 +28,7 @@ jobs: bundler-cache: true - name: Setup Pages id: pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v3 - name: Build with Jekyll run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: From ce71e4a582f15aedd46d68fd39aff04d0898e163 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Apr 2023 16:03:18 +0000 Subject: [PATCH 1959/2563] Bump actions/deploy-pages from 1 to 2 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1 to 2. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/v1...v2) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 23278ce6b3..57e38eb2ea 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2 From 79219670831805d399a430e57fe6e95175041831 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 24 Apr 2023 16:58:56 +0900 Subject: [PATCH 1960/2563] Removed gems for Rack application --- Gemfile | 6 ---- Gemfile.lock | 19 ---------- Procfile | 1 - _config.yml | 3 -- config.ru | 98 ---------------------------------------------------- unicorn.rb | 18 ---------- 6 files changed, 145 deletions(-) delete mode 100644 Procfile delete mode 100644 config.ru delete mode 100644 unicorn.rb diff --git a/Gemfile b/Gemfile index b498b80c57..9a9fe540f4 100644 --- a/Gemfile +++ b/Gemfile @@ -6,12 +6,6 @@ gem "rake" gem "jekyll", "~> 4.2.0" gem "rouge" -gem "unicorn" -gem "lanyon" -gem "rack-rewrite" -gem "rack-ssl" -gem "rack-protection" - group :development do gem "minitest" gem "spidr", "~> 0.6" diff --git a/Gemfile.lock b/Gemfile.lock index ee7f95dfbf..3179dc0b14 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -35,14 +35,10 @@ GEM jekyll-watch (2.2.1) listen (~> 3.0) json (2.6.3) - kgio (2.11.4) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - lanyon (0.4.4) - jekyll (>= 2.0) - rack (>= 1.6, < 3.0) liquid (4.0.4) listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) @@ -62,13 +58,6 @@ GEM forwardable-extended (~> 2.6) public_suffix (5.0.1) racc (1.6.2) - rack (2.2.6.4) - rack-protection (3.0.6) - rack - rack-rewrite (1.5.1) - rack-ssl (1.4.1) - rack - raindrops (0.20.1) rake (13.0.6) rb-fsevent (0.11.2) rb-inotify (0.10.1) @@ -86,9 +75,6 @@ GEM tidy_ffi (1.0.1) ffi (~> 1.2) unicode-display_width (1.8.0) - unicorn (6.1.0) - kgio (~> 2.6) - raindrops (~> 0.7) validate-website (1.12.0) crass (~> 1) nokogiri (~> 1.12) @@ -111,15 +97,10 @@ PLATFORMS DEPENDENCIES jekyll (~> 4.2.0) - lanyon minitest - rack-protection - rack-rewrite - rack-ssl rake rouge spidr (~> 0.6) - unicorn validate-website (~> 1.6) RUBY VERSION diff --git a/Procfile b/Procfile deleted file mode 100644 index d34e30ba05..0000000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: bundle exec unicorn -p $PORT -c ./unicorn.rb diff --git a/_config.yml b/_config.yml index b1d9d3978f..56e6bd819d 100644 --- a/_config.yml +++ b/_config.yml @@ -8,13 +8,10 @@ kramdown: auto_ids: false exclude: - - config.ru - Gemfile - Gemfile.lock - - Procfile - Rakefile - README.md - - unicorn.rb - lib - test - vendor diff --git a/config.ru b/config.ru deleted file mode 100644 index b590e6fa55..0000000000 --- a/config.ru +++ /dev/null @@ -1,98 +0,0 @@ -require "lanyon" -require "rack/rewrite" -require "rack/ssl" -require "rack/protection" -require "yaml" - -use Rack::CommonLogger - -use Rack::Rewrite do - - # bugreport.html (linked to from Ruby source code) - r302 %r{^/bugreport\.html$}, "https://bugs.ruby-lang.org/" - - # various redirects - r302 %r{^/(en|ja)/(LICENSE|license).txt$}, "/en/about/license.txt" - r302 %r{^/(en|ja)/install\.html$}, "/$1/downloads" - - # URL changes - r302 %r{^/(en|zh_tw)/news/2016/12/11/ruby-2-4-0-rc1-released(.*)$}, "/$1/news/2016/12/12/ruby-2-4-0-rc1-released$2" - r302 %r{^/(en|fr)/news/2016/08/31/confoo-cfp(.*)$}, "/$1/news/2015/08/31/confoo-cfp$2" - r302 %r{^/(en|de|it|ja|ko|pl)/installation(.*)$}, "/$1/documentation/installation$2" - r302 %r{^/([a-z_]+)/news/2014/09/18/ruby-2\.2\.0-preview1-released(.*)$}, "/$1/news/2014/09/18/ruby-2-2-0-preview1-released$2" - r302 %r{^/([a-z_]+)/news/2014/08/19/ruby-1\.9\.2-p330-released(.*)$}, "/$1/news/2014/08/19/ruby-1-9-2-p330-released$2" - r302 %r{^/([a-z_]+)/news/2013/12/21/semantic-versioning-after-2-1-0(.*)$}, "/$1/news/2013/12/21/ruby-version-policy-changes-with-2-1-0$2" - r302 %r{^/([a-z_]+)/documentation/ruby-from-other-languages/to-ruby-from-c-and-c-(.*)$}, "/$1/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp$2" - r302 %r{^/en/news/2010/08/18/ruby-1-9\.2-released(.*)$}, "/en/news/2010/08/18/ruby-1-9-2-released$1" - - # URL changes with Jekyll 3, May 2016 - r302 %r{^/(en|id)/news/2012/02/16/security-fix-for-ruby-openssl-module-allow-0n-splitting-as-a-prevention-for-the-tls-beast-attack-(.*)$}, "/$1/news/2012/02/16/security-fix-for-ruby-openssl-module$2" - r302 %r{^/(de)/news/2012/02/16/sicherheitsfix-fr-rubys-openssl-modul-erlaube-0n-splitting-als-gegenmanahme-fr-den-tls-beast-angriff(.*)$}, "/$1/news/2012/02/16/security-fix-for-ruby-openssl-module$2" - r302 %r{^/(en|it)/news/(201./../..)/fukuoka-ruby-award-2011-competition---grand-prize-12000(.*)$}, "/$1/news/$2/fukuoka-ruby-award-2011$3" - r302 %r{^/(en|id|it)/news/(201./../..)/2013-fukuoka-ruby-award-competitionentries-to-be-judged-by-matz(.*)$}, "/$1/news/$2/fukuoka-ruby-award-2013$3" - r302 %r{^/(en)/news/2011/10/12/upcoming-ruby-programming-competitions-with-matz---grand-prize---1000000-jpy(.*)$}, "/$1/news/2011/10/12/programming-competitions-with-matz$2" - r302 %r{^/(de)/news/2011/10/13/anstehende-ruby-programmierwettbewerbe-mit-matz---groer-preis-1-000-000-(.*)$}, "/$1/news/2011/10/12/programming-competitions-with-matz$2" - r302 %r{^/(en|de|ko)/news/2003/01/31/raasuccversion--230(.*)$}, "/$1/news/2003/01/31/raa-2-3-0$2" - r302 %r{^/(en|de|ko)/news/2002/12/07/my20021207-raasuccversion--210(.*)$}, "/$1/news/2002/12/07/raa-2-1-0$2" - r302 %r{^/(en|ko)/news/2002/12/11/ruby-hacking-guide-is-out-though-(.*)$}, "/$1/news/2002/12/11/ruby-hacking-guide$2" - r302 %r{^/(de)/news/2002/12/11/ruby-hacking-guide-ist-da-obwohl-(.*)$}, "/$1/news/2002/12/11/ruby-hacking-guide$2" - r302 %r{^/(pl)/news/2012/10/22/rupy-2012---pita-edycja-konferencji-niebawem(.*)$}, "/$1/news/2012/10/22/rupy-2012$2" - r302 %r{^/(ko)/news/2008/06/12/-1-8-7-(.*)$}, "/$1/news/2008/06/12/ruby-1-8-7$2" - r302 %r{^/(ko)/news/2007/09/10/-4-(.*)$}, "/$1/news/2007/09/10/ruby-kr-seminar-4$2" - r302 %r{^/(ko)/news/2006/11/10/-2006-11-25(.*)$}, "/$1/news/2006/11/10/meeting-2006-11-25$2" - r302 %r{^/(bg|es|ja|ko|zh_cn|zh_tw)/news/(.*)-(|/|/index\.html)$}, "/$1/news/$2$3" - - # removed resources (some are still linked to from old news posts) - r302 %r{^/ja/install\.cgi(\?.+)?$}, "/ja/downloads" - r302 %r{^/ja/20030611\.html$}, "/ja/downloads" - - r302 %r{^/cgi-bin/cvsweb\.cgi(/.*)?$}, "https://svn.ruby-lang.org/" - - r302 %r{^/ja/(man|old-man)/.*$}, "https://docs.ruby-lang.org/ja/" - - r302 %r{^/ja/man/archive/ruby-refm-1.8.6-chm.zip$}, "ftp://ftp.ruby-lang.org/pub/ruby/doc/ruby-refm-1.8.6-chm.zip" - r302 %r{^/ja/man/archive/ruby-refm-1.9.0-chm.zip$}, "ftp://ftp.ruby-lang.org/pub/ruby/doc/ruby-refm-1.9.0-chm.zip" - r302 %r{^/ja/man/archive/ruby-refm-1.9.0-dynamic.tar.bz2$}, "ftp://ftp.ruby-lang.org/pub/ruby/doc/ruby-refm-1.9.0-dynamic.tar.bz2" - r302 %r{^/ja/man/archive/ruby-refm-1.9.0-dynamic.tar.gz$}, "ftp://ftp.ruby-lang.org/pub/ruby/doc/ruby-refm-1.9.0-dynamic.tar.gz" - r302 %r{^/ja/man/archive/ruby-refm-1.9.0-dynamic.zip$}, "ftp://ftp.ruby-lang.org/pub/ruby/doc/ruby-refm-1.9.0-dynamic.zip" - - # legacy URLs of translated sites - r302 %r{^/zh_TW(.*)$}, "/zh_tw$1" - - r302 %r{^/pl/spolecznosc/listy-mailingowe(.*)$}, "/pl/community/mailing-lists$1" - r302 %r{^/pl/spolecznosc/grupy-uzytkownikow(.*)$}, "/pl/community/user-groups$1" - r302 %r{^/pl/spolecznosc/blogi(.*)$}, "/pl/community/weblogs$1" - r302 %r{^/pl/spolecznosc(.*)$}, "/pl/community$1" - r302 %r{^/pl/dokumentacja/ruby-w-20-minut(.*)$}, "/pl/documentation/quickstart$1" - r302 %r{^/pl/dokumentacja/ruby-a-inne-jezyki-programowania/ruby-a-(.*)$}, "/pl/documentation/ruby-from-other-languages/to-ruby-from-$1" - r302 %r{^/pl/dokumentacja/ruby-a-inne-jezyki-programowania(.*)$}, "/pl/documentation/ruby-from-other-languages$1" - r302 %r{^/pl/dokumentacja/udane-wdrozenia(.*)$}, "/pl/documentation/success-stories$1" - r302 %r{^/pl/dokumentacja(.*)$}, "/pl/documentation$1" - - r302 %r{^/pt/noticias-recentes$}, "/pt/news" - r302 %r{^/pt/noticias-recentes/(.*)$}, "/pt/news/$1" - r302 %r{^/pt/feeds/noticias.rss$}, "/pt/feeds/news.rss" - r302 %r{^/pt/sobre-o-ruby(.*)$}, "/pt/about$1" - r302 %r{^/pt/comunidade/conferencias-de-ruby(.*)$}, "/pt/community/conferences$1" - r302 %r{^/pt/comunidade/listas-de-correio/instrucoes-de-subscricao-manual(.*)$}, "/pt/community/mailing-lists/manual-instructions$1" - r302 %r{^/pt/comunidade/listas-de-correio(.*)$}, "/pt/community/mailing-lists$1" - r302 %r{^/pt/comunidade/nucleo-de-ruby(.*)$}, "/pt/community/ruby-core$1" - r302 %r{^/pt/comunidade/grupos-de-utilizadores(.*)$}, "/pt/community/user-groups$1" - r302 %r{^/pt/comunidade/weblogs(.*)$}, "/pt/community/weblogs$1" - r302 %r{^/pt/comunidade(.*)$}, "/pt/community$1" - r302 %r{^/pt/documentacao/ruby-a-partir-de-outras-linguagens/para-ruby-a-partir-de-c-e-c-mais-mais(.*)$}, "/pt/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp$1" - r302 %r{^/pt/documentacao/ruby-a-partir-de-outras-linguagens/para-ruby-a-partir-de-(.*)$}, "/pt/documentation/ruby-from-other-languages/to-ruby-from-$1" - r302 %r{^/pt/documentacao/ruby-a-partir-de-outras-linguagens(.*)$}, "/pt/documentation/ruby-from-other-languages$1" - r302 %r{^/pt/documentacao/historias-de-sucesso(.*)$}, "/pt/documentation/success-stories$1" - r302 %r{^/pt/documentacao(.*)$}, "/pt/documentation$1" - r302 %r{^/pt/bibliotecas/top-de-projectos-ruby(.*)$}, "/pt/libraries/top-projects$1" - r302 %r{^/pt/bibliotecas(.*)$}, "/pt/libraries$1" -end - -if ENV["RACK_ENV"] == "production" - use Rack::SSL - use Rack::Protection::HttpOrigin - use Rack::Protection::FrameOptions -end - -run Lanyon.application(skip_build: true) diff --git a/unicorn.rb b/unicorn.rb deleted file mode 100644 index 9c5bb77c13..0000000000 --- a/unicorn.rb +++ /dev/null @@ -1,18 +0,0 @@ -# https://devcenter.heroku.com/articles/rails-unicorn - -worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3) -timeout 15 -preload_app true - -before_fork do |server, worker| - Signal.trap "TERM" do - puts "Unicorn master intercepting TERM and sending myself QUIT instead" - Process.kill "QUIT", Process.pid - end -end - -after_fork do |server, worker| - Signal.trap "TERM" do - puts "Unicorn worker intercepting TERM and doing nothing. Wait for master to send QUIT" - end -end From 7af5bd215ef15f755b78bb0e25b401f48c3fa90e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 24 Apr 2023 17:11:42 +0900 Subject: [PATCH 1961/2563] Replaced Lanyon to Jekyll commands --- Rakefile | 35 +++++------------------------------ 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/Rakefile b/Rakefile index e2d9b20cb3..2147f45be6 100644 --- a/Rakefile +++ b/Rakefile @@ -18,41 +18,16 @@ task test: %i[test-news-plugin test-linter lint build] desc "Build the Jekyll site" task :build do - require "lanyon" + require "jekyll" - Lanyon.build -end - -namespace :build do - - def build_subpage(lang) - require "yaml" - require "lanyon" - - exclude_config = YAML.load_file(CONFIG)["exclude"] - exclude_langs = (LANGUAGES - [lang]).map {|x| "#{x}/" } - - exclude = exclude_config + exclude_langs - - Lanyon.build(exclude: exclude) - end - - desc "Build the Jekyll site (`lang' language part only)" - task :lang do - puts "Please specify one of the valid language codes:" - puts LANGUAGES.join(", ") << "." - end - - LANGUAGES.each do |lang| - task lang.to_sym do - build_subpage(lang) - end - end + Jekyll::Commands::Build.process({}) end desc "Serve the Jekyll site locally" task :serve do - sh "rackup config.ru" + require "jekyll" + + Jekyll::Commands::Serve.process({}) end namespace :new_post do From 3be1b883604be176a3d099ba26fd2a43f477d3f6 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 25 Apr 2023 10:55:04 +0900 Subject: [PATCH 1962/2563] Try to use Jekyll 4.3+ again --- Gemfile | 2 +- Gemfile.lock | 39 ++++++++++++++++++++++++--------------- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/Gemfile b/Gemfile index 9a9fe540f4..3e25e76223 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source "https://rubygems.org" ruby "~> 3.2.2" gem "rake" -gem "jekyll", "~> 4.2.0" +gem "jekyll" gem "rouge" group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 3179dc0b14..d6a19a862a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -12,26 +12,30 @@ GEM eventmachine (1.2.7) ffi (1.15.5) forwardable-extended (2.6.0) + google-protobuf (3.22.3) + google-protobuf (3.22.3-arm64-darwin) + google-protobuf (3.22.3-x86_64-linux) http_parser.rb (0.8.0) i18n (1.12.0) concurrent-ruby (~> 1.0) - jekyll (4.2.2) + jekyll (4.3.2) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) i18n (~> 1.0) - jekyll-sass-converter (~> 2.0) + jekyll-sass-converter (>= 2.0, < 4.0) jekyll-watch (~> 2.0) - kramdown (~> 2.3) + kramdown (~> 2.3, >= 2.3.1) kramdown-parser-gfm (~> 1.0) liquid (~> 4.0) - mercenary (~> 0.4.0) + mercenary (>= 0.3.6, < 0.5) pathutil (~> 0.9) - rouge (~> 3.0) + rouge (>= 3.0, < 5.0) safe_yaml (~> 1.0) - terminal-table (~> 2.0) - jekyll-sass-converter (2.2.0) - sassc (> 2.0.1, < 3.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) jekyll-watch (2.2.1) listen (~> 3.0) json (2.6.3) @@ -63,18 +67,23 @@ GEM rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.5) - rouge (3.30.0) + rouge (4.1.0) safe_yaml (1.0.5) - sassc (2.4.0) - ffi (~> 1.9) + sass-embedded (1.62.0) + google-protobuf (~> 3.21) + rake (>= 10.0.0) + sass-embedded (1.62.0-arm64-darwin) + google-protobuf (~> 3.21) + sass-embedded (1.62.0-x86_64-linux-gnu) + google-protobuf (~> 3.21) slop (4.10.1) spidr (0.7.0) nokogiri (~> 1.3) - terminal-table (2.0.0) - unicode-display_width (~> 1.1, >= 1.1.1) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) tidy_ffi (1.0.1) ffi (~> 1.2) - unicode-display_width (1.8.0) + unicode-display_width (2.4.2) validate-website (1.12.0) crass (~> 1) nokogiri (~> 1.12) @@ -96,7 +105,7 @@ PLATFORMS x86_64-linux DEPENDENCIES - jekyll (~> 4.2.0) + jekyll minitest rake rouge From 374f20e9a29130eb809b2a50a31cff1c109943c8 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 25 Apr 2023 10:56:14 +0900 Subject: [PATCH 1963/2563] We don't need to specify Ruby version for Heroku app --- Gemfile | 2 -- Gemfile.lock | 3 --- 2 files changed, 5 deletions(-) diff --git a/Gemfile b/Gemfile index 3e25e76223..7a723e1818 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,5 @@ source "https://rubygems.org" -ruby "~> 3.2.2" - gem "rake" gem "jekyll" gem "rouge" diff --git a/Gemfile.lock b/Gemfile.lock index d6a19a862a..f3d99bf748 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -112,8 +112,5 @@ DEPENDENCIES spidr (~> 0.6) validate-website (~> 1.6) -RUBY VERSION - ruby 3.2.2p53 - BUNDLED WITH 2.4.10 From f0de8f5ed312b85398f2b74a45101e1fd73d8048 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 25 Apr 2023 11:21:10 +0900 Subject: [PATCH 1964/2563] Use html-proofer instead of spidr --- Gemfile | 2 +- Gemfile.lock | 38 +++++++++++++++++++++++++++++++++++++- Rakefile | 20 +++++++++++++++----- lib/link_checker.rb | 31 ------------------------------- 4 files changed, 53 insertions(+), 38 deletions(-) delete mode 100644 lib/link_checker.rb diff --git a/Gemfile b/Gemfile index 7a723e1818..bfed5db29b 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,6 @@ gem "rouge" group :development do gem "minitest" - gem "spidr", "~> 0.6" + gem "html-proofer" gem "validate-website", "~> 1.6" end diff --git a/Gemfile.lock b/Gemfile.lock index f3d99bf748..3235b504b6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,23 +1,45 @@ GEM remote: https://rubygems.org/ specs: + Ascii85 (1.1.0) addressable (2.8.4) public_suffix (>= 2.0.2, < 6.0) + afm (0.2.2) + async (2.5.0) + console (~> 1.10) + io-event (~> 1.1) + timers (~> 4.1) colorator (1.1.0) concurrent-ruby (1.2.2) + console (1.16.2) + fiber-local crass (1.0.6) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) + ethon (0.16.0) + ffi (>= 1.15.0) eventmachine (1.2.7) ffi (1.15.5) + fiber-local (1.0.0) forwardable-extended (2.6.0) google-protobuf (3.22.3) google-protobuf (3.22.3-arm64-darwin) google-protobuf (3.22.3-x86_64-linux) + hashery (2.1.2) + html-proofer (5.0.7) + addressable (~> 2.3) + async (~> 2.1) + nokogiri (~> 1.13) + pdf-reader (~> 2.11) + rainbow (~> 3.0) + typhoeus (~> 1.3) + yell (~> 2.0) + zeitwerk (~> 2.5) http_parser.rb (0.8.0) i18n (1.12.0) concurrent-ruby (~> 1.0) + io-event (1.1.7) jekyll (4.3.2) addressable (~> 2.4) colorator (~> 1.0) @@ -60,14 +82,22 @@ GEM paint (2.3.0) pathutil (0.16.2) forwardable-extended (~> 2.6) + pdf-reader (2.11.0) + Ascii85 (~> 1.0) + afm (~> 0.2.1) + hashery (~> 2.0) + ruby-rc4 + ttfunk public_suffix (5.0.1) racc (1.6.2) + rainbow (3.1.1) rake (13.0.6) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.5) rouge (4.1.0) + ruby-rc4 (0.1.5) safe_yaml (1.0.5) sass-embedded (1.62.0) google-protobuf (~> 3.21) @@ -83,6 +113,10 @@ GEM unicode-display_width (>= 1.1.1, < 3) tidy_ffi (1.0.1) ffi (~> 1.2) + timers (4.3.5) + ttfunk (1.7.0) + typhoeus (1.4.0) + ethon (>= 0.9.0) unicode-display_width (2.4.2) validate-website (1.12.0) crass (~> 1) @@ -98,6 +132,8 @@ GEM nokogiri (~> 1.6) rexml (~> 3.2) webrick (1.8.1) + yell (2.2.2) + zeitwerk (2.6.7) PLATFORMS arm64-darwin-22 @@ -105,11 +141,11 @@ PLATFORMS x86_64-linux DEPENDENCIES + html-proofer jekyll minitest rake rouge - spidr (~> 0.6) validate-website (~> 1.6) BUNDLED WITH diff --git a/Rakefile b/Rakefile index 2147f45be6..49e2b98856 100644 --- a/Rakefile +++ b/Rakefile @@ -89,12 +89,22 @@ end namespace :check do - localport = 9292 - - desc "Check for broken internal links on http://localhost:#{localport}/" + desc "Check for broken internal links" task :links do - require_relative "lib/link_checker" - LinkChecker.new.check(localport: localport, languages: LANGUAGES) + require "html-proofer" + options = { + checks: [ + 'Links', + 'Images', + 'Scripts', + ], + ignore_empty_alt: true, + ignore_missing_alt: true, + check_external_hash: false, + check_internal_hash: false, + } + + HTMLProofer.check_directory('_site', options).run end desc "Validate _site markup with validate-website" diff --git a/lib/link_checker.rb b/lib/link_checker.rb deleted file mode 100644 index 65e0702afa..0000000000 --- a/lib/link_checker.rb +++ /dev/null @@ -1,31 +0,0 @@ -# frozen_string_literal: true - -gem "spidr", "~> 0.6" -require "spidr" - -class LinkChecker - - # Check for broken internal links on http://localhost:localport/ - def check(localport:, languages:) - url_map = Hash.new {|hash, key| hash[key] = [] } - - Spidr.site("http://localhost:#{localport}/") do |agent| - languages.each do |lang| - agent.enqueue("http://localhost:#{localport}/#{lang}/") - end - - agent.every_link do |origin, dest| - url_map[dest] << origin - end - - agent.every_page do |page| - if page.code == 404 - origin = url_map[page.url].last - dest = page.url.request_uri - - puts "Broken Link: #{origin} -> #{dest}" - end - end - end - end -end From 7f29ddedf3b51a59eaa90043d1c4342b85bba671 Mon Sep 17 00:00:00 2001 From: ytjmt <46666464+ytjmt@users.noreply.github.com> Date: Thu, 6 Apr 2023 00:51:07 +0900 Subject: [PATCH 1965/2563] Translate "Ruby 2.7.8 Released" (ja) --- .../_posts/2023-03-30-ruby-2-7-8-released.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 ja/news/_posts/2023-03-30-ruby-2-7-8-released.md diff --git a/ja/news/_posts/2023-03-30-ruby-2-7-8-released.md b/ja/news/_posts/2023-03-30-ruby-2-7-8-released.md new file mode 100644 index 0000000000..a9652d8637 --- /dev/null +++ b/ja/news/_posts/2023-03-30-ruby-2-7-8-released.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "Ruby 2.7.8 リリース" +author: "usa" +translator: "ytjmt" +date: 2023-03-30 12:00:00 +0000 +lang: ja +--- + +Ruby 2.7.8 がリリースされました。 + +このリリースでは以下の脆弱性修正が含まれています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +このリリースには、いくつかのビルド上の問題への対応も含まれています。 +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v2_7_8) を参照してください。 + +このリリースをもって、Ruby 2.7 系列は EOL となります。即ち、Ruby 2.7.8 が Ruby 2.7 系列の最後のリリースとなる予定です。 +これ以降、仮に新たな脆弱性が発見されても、Ruby 2.7.9 などはリリースされません(ただし、深刻なリグレッションが発見された場合にはリリースする可能性があります)。 +全ての Ruby 2.7 ユーザーの皆様は、速やかに 3.2、3.1、3.0 への移行を開始することをお勧めします。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "2.7.8" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 2952dd9a34dfbe75907b8fbad673128f7d074ac1 Mon Sep 17 00:00:00 2001 From: ytjmt <46666464+ytjmt@users.noreply.github.com> Date: Thu, 6 Apr 2023 00:51:34 +0900 Subject: [PATCH 1966/2563] Translate "Ruby 3.0.6 Released" (ja) --- .../_posts/2023-03-30-ruby-3-0-6-released.md | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 ja/news/_posts/2023-03-30-ruby-3-0-6-released.md diff --git a/ja/news/_posts/2023-03-30-ruby-3-0-6-released.md b/ja/news/_posts/2023-03-30-ruby-3-0-6-released.md new file mode 100644 index 0000000000..8a929859da --- /dev/null +++ b/ja/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Ruby 3.0.6 リリース" +author: "usa" +translator: "ytjmt" +date: 2023-03-30 12:00:00 +0000 +lang: ja +--- + +Ruby 3.0.6 がリリースされました。 + +このリリースでは以下の脆弱性修正が含まれています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +このリリースには、いくつかのビルド上の問題への対応も含まれています。 +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_6) を参照してください。 + +このリリースをもって、Ruby 3.0 系列の通常メンテナンスフェーズは終了し、セキュリティメンテナンスフェーズに移行します。 +セキュリティメンテナンスフェーズにおいては、単なるバグの修正は行われず、セキュリティ上の問題の修正のみが行われます。 + +セキュリティメンテナンスフェーズの期間は 1 年間を予定しており、その期間が過ぎると、Ruby 3.0 系列のメンテナンスは完全に終了します。 +したがって、ユーザーの皆様におかれましては、速やかに Ruby 3.1 あるいは 3.2 への移行を計画し、準備を進めることをお薦めします。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.0.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 + +本リリースを含む Ruby 3.0 のメンテナンスは Ruby アソシエーションの「Ruby 安定版保守事業」に基づき行われています。 From fc3fbbfd34f89a5d826662c6317710e357e4bbf9 Mon Sep 17 00:00:00 2001 From: ytjmt <46666464+ytjmt@users.noreply.github.com> Date: Thu, 6 Apr 2023 00:51:46 +0900 Subject: [PATCH 1967/2563] Translate "Ruby 3.1.4 Released" (ja) --- .../_posts/2023-03-30-ruby-3-1-4-released.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 ja/news/_posts/2023-03-30-ruby-3-1-4-released.md diff --git a/ja/news/_posts/2023-03-30-ruby-3-1-4-released.md b/ja/news/_posts/2023-03-30-ruby-3-1-4-released.md new file mode 100644 index 0000000000..8405389ced --- /dev/null +++ b/ja/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.1.4 リリース" +author: "nagachika" +translator: "ytjmt" +date: 2023-03-30 12:00:00 +0000 +lang: ja +--- + +Ruby 3.1.4 がリリースされました。 + +このリリースでは以下の脆弱性修正が含まれています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_4) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.1.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 3f60bd7a7838812af23e65b37d6bc32d67c350f3 Mon Sep 17 00:00:00 2001 From: ytjmt <46666464+ytjmt@users.noreply.github.com> Date: Thu, 6 Apr 2023 00:51:58 +0900 Subject: [PATCH 1968/2563] Translate "Ruby 3.2.2 Released" (ja) --- .../_posts/2023-03-30-ruby-3-2-2-released.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 ja/news/_posts/2023-03-30-ruby-3-2-2-released.md diff --git a/ja/news/_posts/2023-03-30-ruby-3-2-2-released.md b/ja/news/_posts/2023-03-30-ruby-3-2-2-released.md new file mode 100644 index 0000000000..0b94dc68ae --- /dev/null +++ b/ja/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.2.2 リリース" +author: "naruse" +translator: "ytjmt" +date: 2023-03-30 12:00:00 +0000 +lang: ja +--- + +Ruby 3.2.2 がリリースされました。 + +このリリースでは以下の脆弱性修正が含まれています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_2) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.2.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From e11d901466c0921a344a76c3d2ec99297c363cc0 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 5 Apr 2023 22:02:09 +0700 Subject: [PATCH 1969/2563] Translate Ruby 3.2.1 released news post (id) --- .../_posts/2023-02-08-ruby-3-2-1-released.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 id/news/_posts/2023-02-08-ruby-3-2-1-released.md diff --git a/id/news/_posts/2023-02-08-ruby-3-2-1-released.md b/id/news/_posts/2023-02-08-ruby-3-2-1-released.md new file mode 100644 index 0000000000..32b428954e --- /dev/null +++ b/id/news/_posts/2023-02-08-ruby-3-2-1-released.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "Ruby 3.2.1 Dirilis" +author: "naruse" +translator: "meisyal" +date: 2023-02-08 12:00:00 +0000 +lang: id +--- + +Ruby 3.2.1 telah dirilis. + +Ini adalah versi rilis TEENY pertama dari rangkaian Ruby yang *stable*. + +Lihat [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_1) untuk +lebih detail. + +## Unduh + +{% assign release = site.data.releases | where: "version", "3.2.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang telah menyediakan laporan +*bug* membantu kami untuk membuat rilis ini. Terima kasih atas kontribusinya. From f6e9921244ef49777d9de43b55f9e4935acd6646 Mon Sep 17 00:00:00 2001 From: StepSecurity Bot Date: Tue, 25 Apr 2023 03:06:34 +0000 Subject: [PATCH 1970/2563] [StepSecurity] ci: Harden GitHub Actions Signed-off-by: StepSecurity Bot --- .github/workflows/jekyll.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 57e38eb2ea..398d4c9207 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Setup Ruby uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: @@ -28,13 +28,13 @@ jobs: bundler-cache: true - name: Setup Pages id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@f156874f8191504dae5b037505266ed5dda6c382 # v3.0.6 - name: Build with Jekyll run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: JEKYLL_ENV: production - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@64bcae551a7b18bcb9a09042ddf1960979799187 # v1.0.8 deploy: environment: @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@af48cf94a42f2c634308b1c9dc0151830b6f190a # v2.0.1 From e5c78e42f500dc0ea9e901b6fee04fe6777365fe Mon Sep 17 00:00:00 2001 From: Gustavo Villa Date: Wed, 26 Apr 2023 15:16:20 -0400 Subject: [PATCH 1971/2563] Use cve.org instead of nist.gov --- .../_posts/2012-02-16-security-fix-for-ruby-openssl-module.md | 2 +- de/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- .../_posts/2012-02-16-security-fix-for-ruby-openssl-module.md | 2 +- en/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- en/news/_posts/2021-05-02-os-command-injection-in-rdoc.md | 2 +- en/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md | 2 +- .../_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md | 2 +- ...021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md | 2 +- ...-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md | 2 +- ...okie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md | 4 ++-- ...-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md | 2 +- ...-04-12-double-free-in-regexp-compilation-cve-2022-28738.md | 2 +- ...022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md | 2 +- es/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- es/news/_posts/2021-05-02-os-command-injection-in-rdoc.md | 2 +- es/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md | 2 +- .../_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md | 2 +- ...021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md | 2 +- ...-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md | 2 +- ...okie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md | 4 ++-- ...-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md | 2 +- ...-04-12-double-free-in-regexp-compilation-cve-2022-28738.md | 2 +- ...022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md | 2 +- ...correction-dune-faille-de-scurit-dans-le-module-openssl.md | 2 +- fr/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- fr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md | 2 +- fr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md | 2 +- .../_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md | 2 +- ...021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md | 2 +- ...-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md | 2 +- ...okie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md | 4 ++-- .../_posts/2012-02-16-security-fix-for-ruby-openssl-module.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- id/news/_posts/2021-05-02-os-command-injection-in-rdoc.md | 2 +- id/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md | 2 +- .../_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md | 2 +- ...021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md | 2 +- ...-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md | 2 +- ...okie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md | 4 ++-- ...-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md | 2 +- ...-04-12-double-free-in-regexp-compilation-cve-2022-28738.md | 2 +- ...022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md | 2 +- it/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- ja/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- ja/news/_posts/2021-05-02-os-command-injection-in-rdoc.md | 2 +- ja/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md | 2 +- .../_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md | 2 +- ...-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md | 2 +- ...okie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md | 4 ++-- ...-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md | 2 +- ...-04-12-double-free-in-regexp-compilation-cve-2022-28738.md | 2 +- ...022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md | 2 +- ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md | 2 +- ko/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- ko/news/_posts/2021-05-02-os-command-injection-in-rdoc.md | 2 +- ko/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md | 2 +- .../_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md | 2 +- ...021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md | 2 +- ...-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md | 2 +- ...okie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md | 4 ++-- ...-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md | 2 +- ...-04-12-double-free-in-regexp-compilation-cve-2022-28738.md | 2 +- ...022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md | 2 +- pl/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- ...022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md | 2 +- ru/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- ru/news/_posts/2021-05-02-os-command-injection-in-rdoc.md | 2 +- ru/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md | 2 +- .../_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- tr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md | 2 +- tr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md | 2 +- .../_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md | 2 +- vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- ...-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md | 2 +- ...-04-12-double-free-in-regexp-compilation-cve-2022-28738.md | 2 +- ...022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md | 2 +- zh_tw/news/_posts/2014-04-10-severe-openssl-vulnerability.md | 2 +- zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md | 2 +- .../2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md | 4 ++-- ...-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md | 2 +- ...-04-12-double-free-in-regexp-compilation-cve-2022-28738.md | 2 +- 98 files changed, 115 insertions(+), 115 deletions(-) diff --git a/de/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md b/de/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md index 76cd773780..54d2963d96 100644 --- a/de/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md +++ b/de/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md @@ -55,6 +55,6 @@ um CVE-2011-3389 durchlesen. [1]: http://www.openssl.org/~bodo/tls-cbc.txt -[2]: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3389 +[2]: https://www.cve.org/CVERecord?id=CVE-2011-3389 [3]: https://bugs.ruby-lang.org/5353 [4]: http://mla.n-z.jp/?ruby-talk=393484 diff --git a/de/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/de/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 39beafa105..978c5d0b76 100644 --- a/de/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/de/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -12,7 +12,7 @@ In der OpenSSL-Implementation der Heartbeat-Erweiterung (`RFC6520`) von TLS/DTLS (Protokolle zum Verschlüsseln der Transportschicht) wurde eine kritische Sicherheitslücke entdeckt. Es handelt sich hierbei um ein schwerwiegendes Sicherheitsproblem, dem die CVE-Kennung -[CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160) +[CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160) zugewiesen wurde. Seine Ausnutzung kann das Auslesen des Serverspeichers durch den diff --git a/de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 1156f7f3e3..50d6598bb0 100644 --- a/de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -54,4 +54,4 @@ Wir ermutigen Sie dazu, auf eine stabile und unterstützte [Version von Ruby](https://www.ruby-lang.org/de/downloads/) zu aktualisieren. -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/de/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/de/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index 05fba4466b..9c7f931207 100644 --- a/de/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/de/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -18,8 +18,8 @@ wurde. Es wurden die folgenden Schwachstellen gemeldet: -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) Es wird allen Ruby-Nutzern nachdrücklich empfohlen, die Ruby-Version zu aktualisieren oder wenigstens einen der nachfolgenden Workarounds diff --git a/en/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md b/en/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md index 89ed543b94..473b6ef3a5 100644 --- a/en/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md +++ b/en/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md @@ -45,6 +45,6 @@ details, please find discussions and resources around CVE-2011-3389. [1]: http://www.openssl.org/~bodo/tls-cbc.txt -[2]: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3389 +[2]: https://www.cve.org/CVERecord?id=CVE-2011-3389 [3]: https://bugs.ruby-lang.org/5353 [4]: http://mla.n-z.jp/?ruby-talk=393484 diff --git a/en/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/en/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 1fe5380466..d167ccb06b 100644 --- a/en/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/en/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -11,7 +11,7 @@ lang: en There is a severe vulnerability in OpenSSL's implementation of the TLS/DTLS (transport layer security protocols) heartbeat extension (`RFC6520`). This a serious vulnerability which has been assigned the CVE identifier -[CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160). +[CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160). Exploitation may lead to disclosure of memory contents from the server to the client and from the client to the server. An attacker can remotely retrieve diff --git a/en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 8f3ce89848..7b85206fa7 100644 --- a/en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -52,4 +52,4 @@ You can read the original report on the bug tracker: We encourage you to upgrade to a stable and maintained [version of Ruby](https://www.ruby-lang.org/en/downloads/). -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/en/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/en/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index f34f39db32..58ba01edd7 100644 --- a/en/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/en/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -16,8 +16,8 @@ All Ruby users are recommended to update Ruby to the latest release which includ The following vulnerabilities have been reported. -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) It is strongly recommended for all Ruby users to upgrade your Ruby installation or take one of the following workarounds as soon as possible. You also have to re-generate existing RDoc documentations to completely mitigate the vulnerabilities. diff --git a/en/news/_posts/2021-05-02-os-command-injection-in-rdoc.md b/en/news/_posts/2021-05-02-os-command-injection-in-rdoc.md index 37fbad8658..6735d41920 100644 --- a/en/news/_posts/2021-05-02-os-command-injection-in-rdoc.md +++ b/en/news/_posts/2021-05-02-os-command-injection-in-rdoc.md @@ -15,7 +15,7 @@ It is recommended that all Ruby users update RDoc to the latest version that fix The following vulnerability has been reported. -* [CVE-2021-31799](https://nvd.nist.gov/vuln/detail/CVE-2021-31799) +* [CVE-2021-31799](https://www.cve.org/CVERecord?id=CVE-2021-31799) RDoc used to call `Kernel#open` to open a local file. If a Ruby project has a file whose name starts with `|` and ends with `tags`, the command following the pipe character is executed. A malicious Ruby project could exploit it to run an arbitrary command execution against a user who attempts to run `rdoc` command. diff --git a/en/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md b/en/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md index bdbb3357ba..195a45726e 100644 --- a/en/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md +++ b/en/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md @@ -9,7 +9,7 @@ lang: en --- A StartTLS stripping vulnerability was discovered in Net::IMAP. -This vulnerability has been assigned the CVE identifier [CVE-2021-32066](https://nvd.nist.gov/vuln/detail/CVE-2021-32066). +This vulnerability has been assigned the CVE identifier [CVE-2021-32066](https://www.cve.org/CVERecord?id=CVE-2021-32066). We strongly recommend upgrading Ruby. net-imap is a default gem in Ruby 3.0.1 but it has a packaging issue, so please upgrade Ruby itself. diff --git a/en/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md b/en/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md index 871644b8c8..05b1b0073e 100644 --- a/en/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md +++ b/en/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md @@ -9,7 +9,7 @@ lang: en --- A trusting FTP PASV responses vulnerability was discovered in Net::FTP. -This vulnerability has been assigned the CVE identifier [CVE-2021-31810](https://nvd.nist.gov/vuln/detail/CVE-2021-31810). +This vulnerability has been assigned the CVE identifier [CVE-2021-31810](https://www.cve.org/CVERecord?id=CVE-2021-31810). We strongly recommend upgrading Ruby. net-ftp is a default gem in Ruby 3.0.1 but it has a packaging issue, so please upgrade Ruby itself. diff --git a/en/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md b/en/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md index a67e911725..fa52f26d84 100644 --- a/en/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md +++ b/en/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md @@ -9,7 +9,7 @@ lang: en --- We have released date gem version 3.2.1, 3.1.2, 3.0.2, and 2.0.1 that include a security fix for a regular expression denial of service vulnerability (ReDoS) on date parsing methods. An attacker can exploit this vulnerability to cause an effective DoS attack. -This vulnerability has been assigned the CVE identifier [CVE-2021-41817](https://nvd.nist.gov/vuln/detail/CVE-2021-41817). +This vulnerability has been assigned the CVE identifier [CVE-2021-41817](https://www.cve.org/CVERecord?id=CVE-2021-41817). ## Details diff --git a/en/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md b/en/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md index ddf2f7210c..4dacb7cc3a 100644 --- a/en/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md +++ b/en/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md @@ -9,7 +9,7 @@ lang: en --- A buffer overrun vulnerability was discovered in CGI.escape_html. -This vulnerability has been assigned the CVE identifier [CVE-2021-41816](https://nvd.nist.gov/vuln/detail/CVE-2021-41816). +This vulnerability has been assigned the CVE identifier [CVE-2021-41816](https://www.cve.org/CVERecord?id=CVE-2021-41816). We strongly recommend upgrading Ruby. ## Details diff --git a/en/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md b/en/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md index a5977aaed6..7da367d880 100644 --- a/en/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md +++ b/en/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md @@ -9,7 +9,7 @@ lang: en --- A cookie prefix spoofing vulnerability was discovered in CGI::Cookie.parse. -This vulnerability has been assigned the CVE identifier [CVE-2021-41819](https://nvd.nist.gov/vuln/detail/CVE-2021-41819). +This vulnerability has been assigned the CVE identifier [CVE-2021-41819](https://www.cve.org/CVERecord?id=CVE-2021-41819). We strongly recommend upgrading Ruby. ## Details @@ -20,7 +20,7 @@ An attacker could exploit this vulnerability to spoof security prefixes in cooki By this fix, `CGI::Cookie.parse` no longer decodes cookie names. Note that this is an incompatibility if cookie names that you are using include non-alphanumeric characters that are URL-encoded. -This is the same issue of [CVE-2020-8184](https://nvd.nist.gov/vuln/detail/CVE-2020-8184). +This is the same issue of [CVE-2020-8184](https://www.cve.org/CVERecord?id=CVE-2020-8184). If you are using Ruby 2.7 or 3.0: diff --git a/en/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md b/en/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md index 2fb26a02c5..0c898c355b 100644 --- a/en/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md +++ b/en/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md @@ -9,7 +9,7 @@ lang: en --- A buffer-overrun vulnerability is discovered in a conversion algorithm from a String to a Float. -This vulnerability has been assigned the CVE identifier [CVE-2022-28739](https://nvd.nist.gov/vuln/detail/CVE-2022-28739). +This vulnerability has been assigned the CVE identifier [CVE-2022-28739](https://www.cve.org/CVERecord?id=CVE-2022-28739). We strongly recommend upgrading Ruby. ## Details diff --git a/en/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md b/en/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md index 9aecdec3d1..5b27831746 100644 --- a/en/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md +++ b/en/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md @@ -9,7 +9,7 @@ lang: en --- A double-free vulnerability is discovered in Regexp compilation. -This vulnerability has been assigned the CVE identifier [CVE-2022-28738](https://nvd.nist.gov/vuln/detail/CVE-2022-28738). +This vulnerability has been assigned the CVE identifier [CVE-2022-28738](https://www.cve.org/CVERecord?id=CVE-2022-28738). We strongly recommend upgrading Ruby. ## Details diff --git a/en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md index 9f599f7fdd..79fbbfc0dd 100644 --- a/en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md +++ b/en/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -9,7 +9,7 @@ lang: en --- We have released the cgi gem version 0.3.5, 0.2.2, and 0.1.0.2 that has a security fix for a HTTP response splitting vulnerability. -This vulnerability has been assigned the CVE identifier [CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621). +This vulnerability has been assigned the CVE identifier [CVE-2021-33621](https://www.cve.org/CVERecord?id=CVE-2021-33621). ## Details diff --git a/es/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/es/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 4e01fe1416..d9af2b2efb 100644 --- a/es/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/es/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -11,7 +11,7 @@ lang: es Existe una vulnerabilidad severa en la implementación OpenSSL de la extensión TLS/DTLS (transport layer security protocols) heartbeat (`RFC6520`). Esta vulnerabilidad es muy severa y se le ha asignado el identificador -[CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160). +[CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160). La explotación de esta vulnerabilidad puede llevar a la revelación de el contenido de la memoria del servidor al cliente y del cliente hacia el servidor. diff --git a/es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index dbf70e2b94..80f77aa902 100644 --- a/es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -53,4 +53,4 @@ Puedes leer el reporte original de el problema en el tracker: Te recomendamos que actualices a una versión [estable y mantendida de Ruby](https://www.ruby-lang.org/es/downloads/). -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/es/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/es/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index f92e952be0..5766edac94 100644 --- a/es/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/es/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -18,8 +18,8 @@ más reciente que incluye la versión reparada de RDoc. Se han reportado las siguientes vulnerabilidades. -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) Se recomienda de manera especial a todos los usuarios de Ruby actualizar la instalación de Ruby o emplear tan pronto sea posible una de las diff --git a/es/news/_posts/2021-05-02-os-command-injection-in-rdoc.md b/es/news/_posts/2021-05-02-os-command-injection-in-rdoc.md index f9e4c4b8c4..00ec8c093d 100644 --- a/es/news/_posts/2021-05-02-os-command-injection-in-rdoc.md +++ b/es/news/_posts/2021-05-02-os-command-injection-in-rdoc.md @@ -17,7 +17,7 @@ la versión más reciente que resuelve el problema. Se ha reportado la siguiente vulnerabilidad. -* [CVE-2021-31799](https://nvd.nist.gov/vuln/detail/CVE-2021-31799) +* [CVE-2021-31799](https://www.cve.org/CVERecord?id=CVE-2021-31799) RDoc solía llamar `Kernel#open` para abrir un archivo local. Si un proyecto Ruby tiene un archivo cuyo nombre comience con `|` diff --git a/es/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md b/es/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md index 1823df767e..c71ae3e075 100644 --- a/es/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md +++ b/es/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md @@ -10,7 +10,7 @@ lang: es Se descubrió una vulnerabilidad de recortado de StartTLS en Net::IMAP. A esta vulnerabilidad se le ha asignado el identificador CVE -[CVE-2021-32066](https://nvd.nist.gov/vuln/detail/CVE-2021-32066). +[CVE-2021-32066](https://www.cve.org/CVERecord?id=CVE-2021-32066). Recomendamos enfáticamente actualizar Ruby. net-imap es una gema predeterminada en Ruby 3.0.1 pero tiene un problema diff --git a/es/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md b/es/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md index 22063c9bfa..c4e5e4c4ff 100644 --- a/es/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md +++ b/es/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md @@ -11,7 +11,7 @@ lang: es Se ha descubierto una vulnerabilidad en Net::FTP por confiar en respuestas FTP PASV. A eta vulnerabilidad se le ha asignado el identificador CVE -[CVE-2021-31810](https://nvd.nist.gov/vuln/detail/CVE-2021-31810). +[CVE-2021-31810](https://www.cve.org/CVERecord?id=CVE-2021-31810). Recomendamos enfáticamente actualizar Ruby. net-ftp es una gema predeterminada en Ruby 3.0.1 pero tiene un diff --git a/es/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md b/es/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md index 8f1bacc61e..6fbdedec9e 100644 --- a/es/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md +++ b/es/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md @@ -16,7 +16,7 @@ Un atacante podría explotar esta vulnerabilidad para generar un ataque de denegación de servicio efectivo. A esta vulnerabilidad se le ha asignado el identificador CVE -[CVE-2021-41817](https://nvd.nist.gov/vuln/detail/CVE-2021-41817). +[CVE-2021-41817](https://www.cve.org/CVERecord?id=CVE-2021-41817). ## Detalles diff --git a/es/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md b/es/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md index 6a2e0b3807..d13a586580 100644 --- a/es/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md +++ b/es/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md @@ -11,7 +11,7 @@ lang: es Una vulnerabilidad de desbordamiento de búfer fue descubierta en CGI.escape_html. A esta vulnerabilidad se le ha asignado el identificador CVE -[CVE-2021-41816](https://nvd.nist.gov/vuln/detail/CVE-2021-41816). +[CVE-2021-41816](https://www.cve.org/CVERecord?id=CVE-2021-41816). Recomendamos enfáticamente actualizar Ruby. ## Detalles diff --git a/es/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md b/es/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md index 0ea1eb17ae..d17988aee2 100644 --- a/es/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md +++ b/es/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md @@ -11,7 +11,7 @@ lang: es Se descubrió una vulnerabilidad de suplantación de identidad de prefijos de galletas (cookies) en CGI::Cookie.parse. A esta vulnerabilidad se el ha asignado el identificador -CVE [CVE-2021-41819](https://nvd.nist.gov/vuln/detail/CVE-2021-41819). +CVE [CVE-2021-41819](https://www.cve.org/CVERecord?id=CVE-2021-41819). Recomendamos con énfasis actualizar Ruby. ## Detalles @@ -28,7 +28,7 @@ Note que esto es una incompatibilidad si los nombres de galletas que está usando incluyendo carácteres no alfanuméricos que no están codificados como URL. -Este es el mismo incidente [CVE-2020-8184](https://nvd.nist.gov/vuln/detail/CVE-2020-8184). +Este es el mismo incidente [CVE-2020-8184](https://www.cve.org/CVERecord?id=CVE-2020-8184). Si está usando Ruby 2.7 o 3.0: diff --git a/es/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md b/es/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md index a8d143515e..ffe71204a5 100644 --- a/es/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md +++ b/es/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md @@ -11,7 +11,7 @@ lang: es Se descubrió una vulnerabilidad de desbordamiento de buffer en un algoritmo de conversión de String a Float. A esta vulnerabilidad se le ha asignado el identificador CVE -[CVE-2022-28739](https://nvd.nist.gov/vuln/detail/CVE-2022-28739). +[CVE-2022-28739](https://www.cve.org/CVERecord?id=CVE-2022-28739). Recomendamos actualizar Ruby con urgencia. ## Detalles diff --git a/es/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md b/es/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md index 96c3f5e9eb..8403ea9e5a 100644 --- a/es/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md +++ b/es/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md @@ -11,7 +11,7 @@ lang: es Una vulnerabilidad de doble free ha sido descubierta en la compilación de expresiones regulares. A esta vulnerabilidad se le ha asignado el identificador CVE -[CVE-2022-28738](https://nvd.nist.gov/vuln/detail/CVE-2022-28738). +[CVE-2022-28738](https://www.cve.org/CVERecord?id=CVE-2022-28738). Recomendamos actualizar Ruby con urgencia. ## Detalles diff --git a/es/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/es/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md index 2ab26debb9..b1f96f54ba 100644 --- a/es/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md +++ b/es/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -12,7 +12,7 @@ Hemos publicado las versiones 0.3.5, 0.2.2 y 0.1.0.2 de la gema cgi, que incluyen una corrección de seguridad para una vulnerabilidad de división de respuesta HTTP. A esta vulnerabilidad se le ha asignado el identificador CVE -[CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621). +[CVE-2021-33621](https://www.cve.org/CVERecord?id=CVE-2021-33621). ## Detalles diff --git a/fr/news/_posts/2012-02-16-correction-dune-faille-de-scurit-dans-le-module-openssl.md b/fr/news/_posts/2012-02-16-correction-dune-faille-de-scurit-dans-le-module-openssl.md index 52a70f853d..aa1280972b 100644 --- a/fr/news/_posts/2012-02-16-correction-dune-faille-de-scurit-dans-le-module-openssl.md +++ b/fr/news/_posts/2012-02-16-correction-dune-faille-de-scurit-dans-le-module-openssl.md @@ -51,6 +51,6 @@ renseignez-vous sur CVE-2011-3389. [1]: http://www.openssl.org/~bodo/tls-cbc.txt -[2]: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3389 +[2]: https://www.cve.org/CVERecord?id=CVE-2011-3389 [3]: https://bugs.ruby-lang.org/5353 [4]: http://mla.n-z.jp/?ruby-talk=393484 diff --git a/fr/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/fr/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 6a4b5a9c0d..371f9d2714 100644 --- a/fr/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/fr/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -11,7 +11,7 @@ lang: fr Une faille critique a été découverte dans l'implémentation d'OpenSSL de l'extension TLS/DTLS (transport layer security protocols) heartbeat (`RFC6520`). Cette faille est critique et est référencée par l'identifiant CVE (Common Vulnerabilities and Exposures) -[CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160). +[CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160). L'exploitation de cette faille peut permettre l'accès au contenu de la mémoire du serveur au client et du client au serveur. Un attaquant peut récupérer à diff --git a/fr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md b/fr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md index 7a0e46f25c..d8703d3805 100644 --- a/fr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md +++ b/fr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md @@ -15,7 +15,7 @@ Il est recommandé aux utilisateurs de Ruby de mettre à jour RDoc vers la derni La faille suivante a été signalée. -- [CVE-2021-31799](https://nvd.nist.gov/vuln/detail/CVE-2021-31799) +- [CVE-2021-31799](https://www.cve.org/CVERecord?id=CVE-2021-31799) RDoc fait appel à `Kernel#open` pour ouvrir un fichier localement. Si un projet Ruby possède un fichier dont le nom commence par `|` et se termine par `tags`, alors la commande suivant le pipe (barre verticale) est exécutée. Un projet Ruby malveillant pourrait exploiter ce comportement pour exécuter des commandes arbitraires à l'encontre de l'utilisateur qui tente de lancer `rdoc` diff --git a/fr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md b/fr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md index 8574b3db89..77a671f064 100644 --- a/fr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md +++ b/fr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md @@ -9,7 +9,7 @@ lang: fr --- Une vulnérabilité StartTLS stripping a été découverte dans Net::IMAP. -Cette vulnérabilité possède l'identifiant CVE [CVE-2021-32066](https://nvd.nist.gov/vuln/detail/CVE-2021-32066). +Cette vulnérabilité possède l'identifiant CVE [CVE-2021-32066](https://www.cve.org/CVERecord?id=CVE-2021-32066). Nous vous recommandons fortement de mettre à jour Ruby. net-imap est une gemme incluse par défaut dans Ruby 3.0.1, mais a un problème d'empaquetage. Veuillez donc mettre à jour Ruby lui-même. diff --git a/fr/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md b/fr/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md index 4e3d446bf8..aeb8d15055 100644 --- a/fr/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md +++ b/fr/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md @@ -9,7 +9,7 @@ lang: fr --- Une vulnérabilité concernant la confiance des réponses FTP PASV a été découverte dans Net::FTP. -Cette vulnérabilité possède l'identifiant CVE [CVE-2021-31810](https://nvd.nist.gov/vuln/detail/CVE-2021-31810). +Cette vulnérabilité possède l'identifiant CVE [CVE-2021-31810](https://www.cve.org/CVERecord?id=CVE-2021-31810). Nous vous recommandons fortement de mettre à jour Ruby. net-ftp est une gemme incluse par défaut dans Ruby 3.0.1, mais a un problème d'empaquetage. Veuillez donc mettre à jour Ruby lui-même. diff --git a/fr/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md b/fr/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md index c507d7bd94..ff191dddc0 100644 --- a/fr/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md +++ b/fr/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md @@ -8,7 +8,7 @@ tags: security lang: fr --- -Nous avons publié les versions 3.2.1, 3.1.2, 3.0.2 et 2.0.1 de la gemme date qui incluent un correctif de sécurité pour une vulnérabilité de déni de service d'expression régulière (ReDoS) sur les méthodes d'analyse de date. Un attaquant peut exploiter cette vulnérabilité pour provoquer une attaque DoS efficace. Cette vulnérabilité a reçu l'identifiant CVE [CVE-2021-41817](https://nvd.nist.gov/vuln/detail/CVE-2021-41817). +Nous avons publié les versions 3.2.1, 3.1.2, 3.0.2 et 2.0.1 de la gemme date qui incluent un correctif de sécurité pour une vulnérabilité de déni de service d'expression régulière (ReDoS) sur les méthodes d'analyse de date. Un attaquant peut exploiter cette vulnérabilité pour provoquer une attaque DoS efficace. Cette vulnérabilité a reçu l'identifiant CVE [CVE-2021-41817](https://www.cve.org/CVERecord?id=CVE-2021-41817). ## Détails diff --git a/fr/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md b/fr/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md index 7f697a2dc5..3e02a47484 100644 --- a/fr/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md +++ b/fr/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md @@ -8,7 +8,7 @@ tags: security lang: fr --- -Une vulnérabilité de dépassement de mémoire tampon a été découverte dans CGI.escape_html. Cette vulnérabilité a reçu l'identifiant CVE [CVE-2021-41816](https://nvd.nist.gov/vuln/detail/CVE-2021-41816). +Une vulnérabilité de dépassement de mémoire tampon a été découverte dans CGI.escape_html. Cette vulnérabilité a reçu l'identifiant CVE [CVE-2021-41816](https://www.cve.org/CVERecord?id=CVE-2021-41816). Nous vous recommandons fortement de mettre à jour Ruby. ## Détails diff --git a/fr/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md b/fr/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md index 44887fb4a5..7e80421d30 100644 --- a/fr/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md +++ b/fr/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md @@ -8,7 +8,7 @@ tags: security lang: fr --- -Une vulnérabilité d'usurpation de préfixes de cookie a été découverte dans CGI::Cookie.parse. Cette vulnérabilité a reçu l'identifiant CVE [CVE-2021-41819](https://nvd.nist.gov/vuln/detail/CVE-2021-41819). +Une vulnérabilité d'usurpation de préfixes de cookie a été découverte dans CGI::Cookie.parse. Cette vulnérabilité a reçu l'identifiant CVE [CVE-2021-41819](https://www.cve.org/CVERecord?id=CVE-2021-41819). Nous vous recommandons fortement de mettre à jour Ruby. ## Détails @@ -17,7 +17,7 @@ Les anciennes versions de `CGI::Cookie.parse` appliquent le décodage d'URL aux Par ce correctif, `CGI::Cookie.parse` ne décode plus les noms de cookies. Notez qu'il s'agit d'une incompatibilité si les noms de cookies que vous utilisez incluent des caractères non alphanumériques URL encodés. -C'est le même problème que [CVE-2020-8184](https://nvd.nist.gov/vuln/detail/CVE-2020-8184). +C'est le même problème que [CVE-2020-8184](https://www.cve.org/CVERecord?id=CVE-2020-8184). Si vous utilisez Ruby 2.7 ou 3.0 : diff --git a/id/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md b/id/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md index c005c523f0..5c1a0015fe 100644 --- a/id/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md +++ b/id/news/_posts/2012-02-16-security-fix-for-ruby-openssl-module.md @@ -46,6 +46,6 @@ seputar CVE-2011-3389. [1]: http://www.openssl.org/~bodo/tls-cbc.txt -[2]: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3389 +[2]: https://www.cve.org/CVERecord?id=CVE-2011-3389 [3]: https://bugs.ruby-lang.org/5353 [4]: http://mla.n-z.jp/?ruby-talk=393484 diff --git a/id/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/id/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index 7aaf6fb37b..e6fc99b011 100644 --- a/id/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/id/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -18,8 +18,8 @@ mana berisi perbaikan versi RDoc. Kerentanan berikut ini telah dilaporkan. -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) Semua pengguna Ruby sangat disarankan untuk memperbarui Ruby atau mengambil salah satu solusi berikut segera mungkin. diff --git a/id/news/_posts/2021-05-02-os-command-injection-in-rdoc.md b/id/news/_posts/2021-05-02-os-command-injection-in-rdoc.md index 1fedaee221..0a13631ea6 100644 --- a/id/news/_posts/2021-05-02-os-command-injection-in-rdoc.md +++ b/id/news/_posts/2021-05-02-os-command-injection-in-rdoc.md @@ -16,7 +16,7 @@ terbaru untuk memperbaiki kerentanan ini. Berikut adalah kerentanan yang telah dilaporkan. -* [CVE-2021-31799](https://nvd.nist.gov/vuln/detail/CVE-2021-31799) +* [CVE-2021-31799](https://www.cve.org/CVERecord?id=CVE-2021-31799) RDoc sebelumnya memanggil `Kernel#open` untuk membuat sebuah berkas lokal. Jika sebuah proyek Ruby memiliki sebuah berkas yang mana nama berkas dimulai dengan diff --git a/id/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md b/id/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md index 0e83033da3..9b5c6032cc 100644 --- a/id/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md +++ b/id/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md @@ -10,7 +10,7 @@ lang: id Sebuah kerentanan StartTLS *stripping* telah ditemukan pada Net::IMAP. Kerentanan ini telah ditetapkan dengan penanda CVE -[CVE-2021-32066](https://nvd.nist.gov/vuln/detail/CVE-2021-32066). +[CVE-2021-32066](https://www.cve.org/CVERecord?id=CVE-2021-32066). Kami sangat merekomendasikan untuk memperbarui Ruby. net-imap adalah sebuah *default gem* pada Ruby 3.0.1, tetapi *gem* tersebut diff --git a/id/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md b/id/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md index 6dad71eca8..acad4cb893 100644 --- a/id/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md +++ b/id/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md @@ -10,7 +10,7 @@ lang: id Sebuah kerentanan respons FTP PASV yang dipercaya telah ditemukan pada Net::FTP. Kerentanan ini telah ditetapkan dengan penanda CVE -[CVE-2021-31810](https://nvd.nist.gov/vuln/detail/CVE-2021-31810). +[CVE-2021-31810](https://www.cve.org/CVERecord?id=CVE-2021-31810). Kami sangat merekomendasikan Anda untuk memperbarui Ruby. net-ftp adalah sebuah *default gem* pada Ruby 3.0.1, tetapi *gem* tersebut diff --git a/id/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md b/id/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md index d8b96662e4..3ae82918eb 100644 --- a/id/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md +++ b/id/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md @@ -13,7 +13,7 @@ sebuah perbaikan keamanan untuk *regular expression denial of service vulnerability* (ReDoS) pada *date parsing method*. Seorang penyerang dapat mengeksploitasi kerentanan ini sehingga menyebabkan sebuah serangan DoS yang efektif. Kerentanan ini telah ditetapkan dengan penanda CVE -[CVE-2021-41817](https://nvd.nist.gov/vuln/detail/CVE-2021-41817). +[CVE-2021-41817](https://www.cve.org/CVERecord?id=CVE-2021-41817). ## Detail diff --git a/id/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md b/id/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md index 758e8e612b..96a0a09270 100644 --- a/id/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md +++ b/id/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md @@ -10,7 +10,7 @@ lang: id Sebuah kerentanan *buffer overrun* telah ditemukan pada CGI.escape_html. Kerentanan ini telah ditetapkan dengan penanda CVE -[CVE-2021-41816](https://nvd.nist.gov/vuln/detail/CVE-2021-41816). +[CVE-2021-41816](https://www.cve.org/CVERecord?id=CVE-2021-41816). Kami sangat merekomendasikan Anda untuk memperbarui Ruby. ## Detail diff --git a/id/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md b/id/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md index e83fc04204..dd9fd52f2f 100644 --- a/id/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md +++ b/id/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md @@ -10,7 +10,7 @@ lang: id Sebuah kerentanan *cookie prefix spoofing* telah ditemukan pada CGI::Cookie.parse. Kerentanan ini telah ditetapkan dengan penanda CVE -[CVE-2021-41819](https://nvd.nist.gov/vuln/detail/CVE-2021-41819). Kami sangat +[CVE-2021-41819](https://www.cve.org/CVERecord?id=CVE-2021-41819). Kami sangat merekomendasikan untuk memperbarui Ruby. ## Detail @@ -25,7 +25,7 @@ Catat bahwa ada sebuah inkompatibilitas jika nama *cookie* yang sedang Anda gunakan memasukkan karakter bukan alfanumerik yang URL-*encoded*. Kerentanan ini sama dengan -[CVE-2020-8184](https://nvd.nist.gov/vuln/detail/CVE-2020-8184). +[CVE-2020-8184](https://www.cve.org/CVERecord?id=CVE-2020-8184). Jika Anda sedang menggunakan Ruby 2.7 atau 3.0: diff --git a/id/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md b/id/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md index afe9afad93..6d3f86297b 100644 --- a/id/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md +++ b/id/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md @@ -10,7 +10,7 @@ lang: id Sebuah kerentanan *buffer-overrun* telah ditemukan pada algoritma konversi dari sebuah *String* ke *Float*. Kerentanan ini telah ditetapkan dengan penanda CVE -[CVE-2022-28739](https://nvd.nist.gov/vuln/detail/CVE-2022-28739). +[CVE-2022-28739](https://www.cve.org/CVERecord?id=CVE-2022-28739). Kami sangat merekomendasikan untuk memperbarui Ruby. ## Detail diff --git a/id/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md b/id/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md index 87bc69b98c..704ce156b4 100644 --- a/id/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md +++ b/id/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md @@ -10,7 +10,7 @@ lang: id Sebuah kerentanan *double-free* ditemukan pada *Regexp compilation*. Kerentanan ini telah ditetapkan dengan penanda CVE -[CVE-2022-28738](https://nvd.nist.gov/vuln/detail/CVE-2022-28738). +[CVE-2022-28738](https://www.cve.org/CVERecord?id=CVE-2022-28738). Kami sangat merekomendasikan Anda untuk memperbarui Ruby. ## Detail diff --git a/id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md index 911318db9c..204adabe30 100644 --- a/id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md +++ b/id/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -11,7 +11,7 @@ lang: id Kami telah merilis *gem* cgi versi 0.3.5, 0.2.2, dan 0.1.0.2 yang memiliki sebuah kerentanan HTTP *response splitting*. Kerentanan ini telah ditetapkan dengan penanda CVE -[CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621). +[CVE-2021-33621](https://www.cve.org/CVERecord?id=CVE-2021-33621). ## Detail diff --git a/it/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/it/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 556eac571a..16c4a0ef67 100644 --- a/it/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/it/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -11,7 +11,7 @@ lang: it C'è una grave vulnerabilità nell'implementazione del TLS/DTLS (protocolli transport layer security) heartbeat extension (`RFC6520`) di OpenSSL. Questa è una seria vulnerabilità a cui è stato assegnato l'identificativo CVE -[CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160). +[CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160). Lo sfruttamento potrebbe causare la divulgazione del contenuto della memoria dal server al client e dal client al server. Un utente diff --git a/it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 0b6f062c30..0486dffd8e 100644 --- a/it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -53,4 +53,4 @@ Vi incoraggiamo ad aggiornare ad una [versione di Ruby](https://www.ruby-lang.org/it/downloads/) stabile e mantenuta. -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/ja/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/ja/news/_posts/2014-04-10-severe-openssl-vulnerability.md index fdf6a520d2..4b7585eb05 100644 --- a/ja/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/ja/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -9,7 +9,7 @@ lang: ja --- OpenSSL の TLS/DTLS(トランスポート層セキュアプロトコル)ハートビート拡張(`RFC6520`)の実装で重大な脆弱性が発見されました。 -この脆弱性は [CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160) として登録されています。 +この脆弱性は [CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160) として登録されています。 悪用されると、サーバーからクライアントへ、およびクライアントからサーバーへのメモリの内容が漏洩する可能性があります。 攻撃者は、SSL 暗号化に使用される秘密鍵や認証トークンなどを含む機密データをメモリから遠隔操作によって取得できます。 diff --git a/ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 9411a633df..60cd7528d5 100644 --- a/ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -46,4 +46,4 @@ ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophi われわれはより安定し、メンテナンスされている[バージョンの Ruby](https://www.ruby-lang.org/ja/downloads/) へのアップグレードを推奨します。 -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/ja/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/ja/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index 7d37765727..244a11c279 100644 --- a/ja/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/ja/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -15,8 +15,8 @@ Ruby の標準添付ライブラリである RDoc に含まれる jQuery にお 以下の脆弱性が報告されています。 -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) この問題の影響を受けるバージョンの Ruby のユーザーは、最新の Ruby に更新するか、下記の回避策を取ってください。 また、問題を完全に修正するためには、既に生成されている RDoc ドキュメントを再生成する必要があります。 diff --git a/ja/news/_posts/2021-05-02-os-command-injection-in-rdoc.md b/ja/news/_posts/2021-05-02-os-command-injection-in-rdoc.md index 1e3b02c797..f0f2f9ed01 100644 --- a/ja/news/_posts/2021-05-02-os-command-injection-in-rdoc.md +++ b/ja/news/_posts/2021-05-02-os-command-injection-in-rdoc.md @@ -15,7 +15,7 @@ Ruby の標準添付ツールである RDoc にコマンドインジェクショ 以下の脆弱性が報告されています。 -* [CVE-2021-31799](https://nvd.nist.gov/vuln/detail/CVE-2021-31799) +* [CVE-2021-31799](https://www.cve.org/CVERecord?id=CVE-2021-31799) RDoc はローカルのファイルを開くために、`Kernel#open` を使用していました。しかし、もし Ruby プロジェクトに `|` で始まり `tags` で終わる名前のファイルが存在していた場合、パイプ文字以降に並べられたコマンドが実行されてしまいます。悪意のある Ruby プロジェクトは、ドキュメントを生成しようとしたユーザに任意のコマンドを実行させることができます。 diff --git a/ja/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md b/ja/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md index 0a54c65239..71ff036ab8 100644 --- a/ja/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md +++ b/ja/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md @@ -9,7 +9,7 @@ lang: ja --- Net::IMAP 内の StartTLS ストリッピングに脆弱性が発見されました。 -この脆弱性は [CVE-2021-32066](https://nvd.nist.gov/vuln/detail/CVE-2021-32066) として登録されています。 +この脆弱性は [CVE-2021-32066](https://www.cve.org/CVERecord?id=CVE-2021-32066) として登録されています。 Ruby をアップグレードすることを強く推奨します。 net-imap は Ruby 3.0.1 の デフォルト gem ですが、パッケージ化に問題があるため、Ruby 自体をアップグレードしてください。 diff --git a/ja/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md b/ja/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md index 6e122de845..736310b389 100644 --- a/ja/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md +++ b/ja/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md @@ -9,7 +9,7 @@ lang: ja --- 信頼性のある FTP PASV 応答の脆弱性が Net::FTP で発見されました。 -この脆弱性は [CVE-2021-31810](https://nvd.nist.gov/vuln/detail/CVE-2021-31810) として登録されています。 +この脆弱性は [CVE-2021-31810](https://www.cve.org/CVERecord?id=CVE-2021-31810) として登録されています。 Ruby をアップグレードすることを強く推奨します。 net-ftp は Ruby 3.0.1 の デフォルト gem ですが、パッケージ化の問題があるため、Ruby 自体をアップグレードしてください。 diff --git a/ja/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md b/ja/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md index 6414233097..096675e4ca 100644 --- a/ja/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md +++ b/ja/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md @@ -9,7 +9,7 @@ lang: ja --- CGI.escape_html 内のバッファオーバーランの脆弱性が発見されました。 -この脆弱性は、[CVE-2021-41816](https://nvd.nist.gov/vuln/detail/CVE-2021-41816)として登録されています。 +この脆弱性は、[CVE-2021-41816](https://www.cve.org/CVERecord?id=CVE-2021-41816)として登録されています。 Ruby をアップグレードすることを強く推奨します。 ## 詳細 diff --git a/ja/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md b/ja/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md index 5296d1d12f..ec6b91d55a 100644 --- a/ja/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md +++ b/ja/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md @@ -9,7 +9,7 @@ lang: ja --- CGI :: Cookie.parse 内で Cookie プレフィックスを偽装する脆弱性が発見されました。 -この脆弱性は、[CVE-2021-41819](https://nvd.nist.gov/vuln/detail/CVE-2021-41819) として登録されています。 +この脆弱性は、[CVE-2021-41819](https://www.cve.org/CVERecord?id=CVE-2021-41819) として登録されています。 Ruby をアップグレードすることを強く推奨します。 ## 詳細 @@ -20,7 +20,7 @@ Ruby をアップグレードすることを強く推奨します。 この修正により、 `CGI :: Cookie.parse` は Cookie 名をデコードしなくなりました。 使用している Cookie 名に、URL エンコードされた英数字以外の文字が含まれている場合、これは非互換であることに注意してください。 -これは [CVE-2020-8184](https://nvd.nist.gov/vuln/detail/CVE-2020-8184) と同じ問題です。 +これは [CVE-2020-8184](https://www.cve.org/CVERecord?id=CVE-2020-8184) と同じ問題です。 Ruby 2.7 もしくは 3.0 を使用している場合: diff --git a/ja/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md b/ja/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md index 08ac5c1277..6a772b5adf 100644 --- a/ja/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md +++ b/ja/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md @@ -9,7 +9,7 @@ lang: ja --- String から Float への変換アルゴリズムに、バッファオーバーランの脆弱性が発見されました。 -この脆弱性は、[CVE-2022-28739](https://nvd.nist.gov/vuln/detail/CVE-2022-28739) として登録されています。 +この脆弱性は、[CVE-2022-28739](https://www.cve.org/CVERecord?id=CVE-2022-28739) として登録されています。 Ruby をアップグレードすることを強く推奨します。 ## 詳細 diff --git a/ja/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md b/ja/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md index 85be6cc071..87b04f35d4 100644 --- a/ja/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md +++ b/ja/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md @@ -9,7 +9,7 @@ lang: ja --- Regexp コンパイル時に、ダブルフリーをする脆弱性が発見されました。 -この脆弱性は、[CVE-2022-28738](https://nvd.nist.gov/vuln/detail/CVE-2022-28738) として登録されています。 +この脆弱性は、[CVE-2022-28738](https://www.cve.org/CVERecord?id=CVE-2022-28738) として登録されています。 Ruby をアップグレードすることを強く推奨します。 ## 詳細 diff --git a/ja/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/ja/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md index 6e0be96edf..ec41a4ba2f 100644 --- a/ja/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md +++ b/ja/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -9,7 +9,7 @@ lang: ja --- HTTP レスポンス分割の脆弱性に対するセキュリティ修正を含む、cgi gem 0.3.5、0.2.2、0.1.0.2 をリリースしました。 -この脆弱性は、[CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621) として登録されています。 +この脆弱性は、[CVE-2021-33621](https://www.cve.org/CVERecord?id=CVE-2021-33621) として登録されています。 ## 詳細 diff --git a/ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md index 5387c38176..14b0e97a69 100644 --- a/ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md +++ b/ja/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -9,7 +9,7 @@ lang: ja --- ReDoS 脆弱性のセキュリティ修正を含む、uri gem 0.12.1、0.11.1、0.10.2、0.10.0.1 をリリースしました。 -この脆弱性は、[CVE-2023-28755](https://nvd.nist.gov/vuln/detail/CVE-2023-28755) として登録されています。 +この脆弱性は、[CVE-2023-28755](https://www.cve.org/CVERecord?id=CVE-2023-28755) として登録されています。 ## 詳細 diff --git a/ko/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/ko/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 54d2c27075..0c700a04e9 100644 --- a/ko/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/ko/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -12,7 +12,7 @@ TLS/DTLS (transport layer security protocols) 하트비트 확장(`RFC6520`)의 OpenSSL 구현에 심각한 취약점이 있습니다. 이 심각한 취약점은 CVE 아이디 -[CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160)에 +[CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160)에 할당되었습니다. 악용하면 클라이언트에서 서버, 서버에서 클라이언트로 보내는 메모리의 내용이 diff --git a/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index ab679d6960..825e224e6f 100644 --- a/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -49,4 +49,4 @@ ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophi 안정적이고 관리되고 있는 [루비 버전](https://www.ruby-lang.org/ko/downloads/)을 사용하시는 것을 권장합니다. -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/ko/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/ko/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index dda930225e..4e16d9127c 100644 --- a/ko/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/ko/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -16,8 +16,8 @@ lang: ko 아래와 같은 취약점이 보고되었습니다. -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) 모든 루비 사용자는 가능한 빨리 설치된 루비를 업그레이드하거나 아래 해결 방법으로 조치하기 바랍니다. 취약점을 완전히 해소하려면 기존의 RDoc 문서를 다시 생성해야 합니다. diff --git a/ko/news/_posts/2021-05-02-os-command-injection-in-rdoc.md b/ko/news/_posts/2021-05-02-os-command-injection-in-rdoc.md index b54e1a1ff2..2a5d7b50b3 100644 --- a/ko/news/_posts/2021-05-02-os-command-injection-in-rdoc.md +++ b/ko/news/_posts/2021-05-02-os-command-injection-in-rdoc.md @@ -15,7 +15,7 @@ Ruby에 포함된 RDoc에 명령 주입 취약점이 있습니다. 다음 취약점이 보고되었습니다. -* [CVE-2021-31799](https://nvd.nist.gov/vuln/detail/CVE-2021-31799) +* [CVE-2021-31799](https://www.cve.org/CVERecord?id=CVE-2021-31799) RDoc은 로컬 파일을 열기 위해 `Kernel#open`을 호출했습니다. Ruby 프로젝트에 `|`로 시작하고 `tags`로 끝나는 이름을 가진 파일이 있다면, 파이프 문자 뒤의 명령이 실행되었습니다. 악의적인 Ruby 프로젝트가 `rdoc` 명령을 실행하려고 하는 사용자에 대해 임의의 명령을 실행할 수 있습니다. diff --git a/ko/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md b/ko/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md index 0d6ca6277c..b7592be514 100644 --- a/ko/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md +++ b/ko/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md @@ -9,7 +9,7 @@ lang: ko --- Net::IMAP에서 StartTLS 스트립 취약점이 발견되었습니다. -이 취약점은 CVE 번호 [CVE-2021-32066](https://nvd.nist.gov/vuln/detail/CVE-2021-32066)에 할당되었습니다. +이 취약점은 CVE 번호 [CVE-2021-32066](https://www.cve.org/CVERecord?id=CVE-2021-32066)에 할당되었습니다. Ruby를 업그레이드하시길 강력히 권합니다. net-imap은 Ruby 3.0.1의 기본 gem이지만, 패키징 문제가 있으므로 Ruby 자체를 업그레이드하시기 바랍니다. diff --git a/ko/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md b/ko/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md index 7477e1cc6b..a3e6ce48c4 100644 --- a/ko/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md +++ b/ko/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md @@ -9,7 +9,7 @@ lang: ko --- Net::FTP에서 FTP PASV 응답 신뢰 취약점이 발견되었습니다. -이 취약점에 CVE 번호 [CVE-2021-31810](https://nvd.nist.gov/vuln/detail/CVE-2021-31810)이 할당되었습니다. +이 취약점에 CVE 번호 [CVE-2021-31810](https://www.cve.org/CVERecord?id=CVE-2021-31810)이 할당되었습니다. Ruby를 업그레이드하시길 강력히 권합니다. net-ftp는 Ruby 3.0.1의 기본 gem이지만, 패키징 문제가 있으므로 Ruby 자체를 업그레이드하시기 바랍니다. diff --git a/ko/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md b/ko/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md index 1cdfe4fddd..a20668c4e7 100644 --- a/ko/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md +++ b/ko/news/_posts/2021-11-15-date-parsing-method-regexp-dos-cve-2021-41817.md @@ -9,7 +9,7 @@ lang: ko --- date gem의 날짜 구문 분석 메서드에 정규표현식 서비스 거부(ReDoS) 취약점이 있어, 해당 취약점의 보안 수정을 포함한 3.2.1, 3.1.2, 3.0.2, 2.0.1 버전을 릴리스했습니다. 공격자는 이 취약점을 이용해 유효한 DoS 공격을 수행할 수 있습니다. -이 취약점은 CVE 번호 [CVE-2021-41817](https://nvd.nist.gov/vuln/detail/CVE-2021-41817)에 할당되었습니다. +이 취약점은 CVE 번호 [CVE-2021-41817](https://www.cve.org/CVERecord?id=CVE-2021-41817)에 할당되었습니다. ## 세부 내용 diff --git a/ko/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md b/ko/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md index eb9b9ca22b..7c3c24ab6b 100644 --- a/ko/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md +++ b/ko/news/_posts/2021-11-24-buffer-overrun-in-cgi-escape_html-cve-2021-41816.md @@ -9,7 +9,7 @@ lang: ko --- CGI.escape_html에서 버퍼 오버런 취약점이 발견되었습니다. -이 취약점은 CVE 번호 [CVE-2021-41816](https://nvd.nist.gov/vuln/detail/CVE-2021-41816)으로 등록되었습니다. +이 취약점은 CVE 번호 [CVE-2021-41816](https://www.cve.org/CVERecord?id=CVE-2021-41816)으로 등록되었습니다. Ruby를 갱신하는 것을 강력히 권장합니다. ## 세부 내용 diff --git a/ko/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md b/ko/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md index ad01350d4b..fe83006413 100644 --- a/ko/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md +++ b/ko/news/_posts/2021-11-24-cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819.md @@ -9,7 +9,7 @@ lang: ko --- CGI::Cookie.parse에서 쿠키 접두사 위장 취약점이 발견되었습니다. -이 취약점은 CVE 번호 [CVE-2021-41819](https://nvd.nist.gov/vuln/detail/CVE-2021-41819)로 등록되었습니다. +이 취약점은 CVE 번호 [CVE-2021-41819](https://www.cve.org/CVERecord?id=CVE-2021-41819)로 등록되었습니다. Ruby를 갱신하는 것을 강력히 권장합니다. ## 세부 내용 @@ -20,7 +20,7 @@ Ruby를 갱신하는 것을 강력히 권장합니다. 이 수정으로 `CGI::Cookie.parse`는 더 이상 쿠키 이름에 URL 디코딩을 적용하지 않습니다. 사용하고 있는 쿠키 이름에 영숫자 이외의 문자가 URL 인코딩을 적용해 사용되었을 경우 호환되지 않으므로 주의하세요. -이는 [CVE-2020-8184](https://nvd.nist.gov/vuln/detail/CVE-2020-8184)와 동일한 문제입니다. +이는 [CVE-2020-8184](https://www.cve.org/CVERecord?id=CVE-2020-8184)와 동일한 문제입니다. Ruby 2.7이나 3.0을 사용하고 있는 경우, diff --git a/ko/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md b/ko/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md index 9f93e2c1d7..379a427dba 100644 --- a/ko/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md +++ b/ko/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md @@ -9,7 +9,7 @@ lang: ko --- String에서 Float로 변환하는 알고리즘에서 버퍼 오버런 취약점이 발견되었습니다. -이 취약점은 CVE 번호 [CVE-2022-28739](https://nvd.nist.gov/vuln/detail/CVE-2022-28739)로 등록되었습니다. +이 취약점은 CVE 번호 [CVE-2022-28739](https://www.cve.org/CVERecord?id=CVE-2022-28739)로 등록되었습니다. Ruby를 갱신하는 것을 강력히 권장합니다. ## 세부 내용 diff --git a/ko/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md b/ko/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md index 2811e845d3..49d2383b19 100644 --- a/ko/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md +++ b/ko/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md @@ -9,7 +9,7 @@ lang: ko --- 정규표현식 컴파일 중에 중복 할당 해제 취약점이 발견되었습니다. -이 취약점은 CVE 번호 [CVE-2022-28738](https://nvd.nist.gov/vuln/detail/CVE-2022-28738)로 등록되었습니다. +이 취약점은 CVE 번호 [CVE-2022-28738](https://www.cve.org/CVERecord?id=CVE-2022-28738)로 등록되었습니다. Ruby를 갱신하는 것을 강력히 권장합니다. ## 세부 내용 diff --git a/ko/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/ko/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md index 6d38bc3b4a..7f909dceff 100644 --- a/ko/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md +++ b/ko/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -9,7 +9,7 @@ lang: ko --- HTTP 응답 분할 취약점에 대한 보안 수정을 포함하는 cgi gem 버전 0.3.5, 0.2.2, 0.1.0.2를 릴리스했습니다. -이 취약점은 CVE 번호 [CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621)로 등록되어 있습니다. +이 취약점은 CVE 번호 [CVE-2021-33621](https://www.cve.org/CVERecord?id=CVE-2021-33621)로 등록되어 있습니다. ## 세부 내용 diff --git a/pl/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/pl/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 623144164b..28927d747a 100644 --- a/pl/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/pl/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -11,7 +11,7 @@ lang: pl Jest ciężka podatność w implementacji OpenSSL w TLS/DTLS (warstwa transportowa protokołów bezpieczeństwa) heartbeat extension (`RFC6520`). Jest to poważna podatność, której został przydzielony identyfikator -[CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160). +[CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160). Eksploatacja może doprowadzić do ujawnienia zawartości pamięci z serwera do klienta i od klienta do serwera. Atakujący może zdalnie pobrać poufne dane diff --git a/pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 19c72888a8..c0e133d565 100644 --- a/pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -52,4 +52,4 @@ Możesz przeczytać oryginalny raport o błędzie: Zalecamy zaktualizowanie do stabilnej i wspieranej [wersji Rubiego](https://www.ruby-lang.org/pl/downloads/). -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/pt/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/pt/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index 9076bed08f..2315f1765f 100644 --- a/pt/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/pt/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -15,8 +15,8 @@ Todas as pessoas usuárias de Ruby são orientadas a atualizar Ruby para a últi As seguintes vulnerabilidades foram reportadas. -- [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -- [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +- [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +- [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) É fortemente recomendado para todas as pessoas usuárias de Ruby que atualizem sua instalação de Ruby ou tome uma das seguintes soluções alternativas assim que possível. Você também deve regerar toda documentação existente de RDoc para mitigar completamente as vulnerabilidades. diff --git a/pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md index f6b05c6adb..6a1dc2953e 100644 --- a/pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md +++ b/pt/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -9,7 +9,7 @@ lang: pt --- Nós lançamos as versões da gem cgi 0.3.5, 0.2.2, e 0.1.0.2 que possuem uma correção de segurança para uma vulnerabilidade de HTTP response splitting. -Essa vulnerabilidade foi atribuída ao identificador [CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621). +Essa vulnerabilidade foi atribuída ao identificador [CVE-2021-33621](https://www.cve.org/CVERecord?id=CVE-2021-33621). ## Detalhes diff --git a/ru/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/ru/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 9e26533184..a9880cd393 100644 --- a/ru/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/ru/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -10,7 +10,7 @@ lang: ru В реализации OpenSSL обнаружена серьезная уязвимость в расширении heartbeat (`RFC6520`) TLS/DTLS (протоколов защиты транспортного уровня). Этой уязвимости присвоен номер -[CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160). +[CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160). Использование эксплоита может привести к раскрытию содержимого при передаче как от сервера на клиент, так и в обратном направлении. Атакующий может удаленно получить diff --git a/ru/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/ru/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index f82a9ea71e..b8b72f6025 100644 --- a/ru/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/ru/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -15,8 +15,8 @@ lang: ru Были зарегистрированы следующие уязвимости. -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) Всем пользователям Ruby настоятельно рекомендуется как можно скорее обновить Ruby или воспользоваться одним из следующих способов устранения проблем. Также вам понадобится повторно перегенерировать существующие документы RDoc, чтобы полностью исключить уязвимости. diff --git a/ru/news/_posts/2021-05-02-os-command-injection-in-rdoc.md b/ru/news/_posts/2021-05-02-os-command-injection-in-rdoc.md index 81ac9011ef..7f5a04d31a 100644 --- a/ru/news/_posts/2021-05-02-os-command-injection-in-rdoc.md +++ b/ru/news/_posts/2021-05-02-os-command-injection-in-rdoc.md @@ -15,7 +15,7 @@ lang: ru Сообщество об уязвимости: -* [CVE-2021-31799](https://nvd.nist.gov/vuln/detail/CVE-2021-31799) +* [CVE-2021-31799](https://www.cve.org/CVERecord?id=CVE-2021-31799) RDoc использовал `Kernel#open` для открытия локальных файлов. Если имя файла в проекте на Ruby начинается с `|`, а заканчивается на `tags`, то будет выполнена команда, идущая после символа `|`. Вредоносный код на Ruby мог использовать это для выполнения произвольной команды, когда пользователь вводит команду `rdoc`. diff --git a/ru/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md b/ru/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md index 1b69125bef..dcc5d43af1 100644 --- a/ru/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md +++ b/ru/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md @@ -9,7 +9,7 @@ lang: ru --- В Net::IMAP обнаружена уязвимость StartTLS stripping. -Этой уязвимости присвоен идентификатор [CVE-2021-32066](https://nvd.nist.gov/vuln/detail/CVE-2021-32066). +Этой уязвимости присвоен идентификатор [CVE-2021-32066](https://www.cve.org/CVERecord?id=CVE-2021-32066). Мы настоятельно рекомендуем обновить Ruby. net-imap является встроенным гемом Ruby 3.0.1, но т.к. есть трудности с его поставкой, следует обновить Ruby целиком. diff --git a/ru/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md b/ru/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md index 807e3a0f07..60fbddbfb4 100644 --- a/ru/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md +++ b/ru/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md @@ -9,7 +9,7 @@ lang: ru --- В Net::FTP обнаружена уязвимость доверия к PASV-ответам FTP. -Этой уязвимости присвоен идентификатор [CVE-2021-31810](https://nvd.nist.gov/vuln/detail/CVE-2021-31810). +Этой уязвимости присвоен идентификатор [CVE-2021-31810](https://www.cve.org/CVERecord?id=CVE-2021-31810). Мы настоятельно рекомендуем обновить Ruby. net-ftp является встроенным гемом Ruby 3.0.1, но т.к. есть трудности с его поставкой, следует обновить Ruby целиком. diff --git a/tr/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/tr/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index 4ae4742346..d62976e9b1 100644 --- a/tr/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/tr/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -17,8 +17,8 @@ düzeltilmiş sürümünün bulunduğu son sürüme güncelleme yapmaları öner Aşağıdaki güvenlik açıkları bildirildi. -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) Tüm Ruby kullanıcılarının en kısa zamanda Ruby kurulumlarını yükseltmeleri ya da aşağıdaki geçici çözümlerden birini kullanmaları şiddetle tavsiye edilir. diff --git a/tr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md b/tr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md index ce41879cc1..59e3019f28 100644 --- a/tr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md +++ b/tr/news/_posts/2021-05-02-os-command-injection-in-rdoc.md @@ -15,7 +15,7 @@ Tüm Ruby kullanıcılarına bu zaafiyeti çözen son RDoc sürümüne güncelle Aşağıdaki zaafiyet bildirilmiştir. -* [CVE-2021-31799](https://nvd.nist.gov/vuln/detail/CVE-2021-31799) +* [CVE-2021-31799](https://www.cve.org/CVERecord?id=CVE-2021-31799) RDoc yerel bir dosyayı açmak için `Kernel#open` metodunu çağırıyordu. Eğer bir Ruby projesi `|` ile başlayan ve `tags` ile biten bir dosyaya sahipse, boru karakterini takip eden komut çalıştırılır. diff --git a/tr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md b/tr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md index bcf0100dcf..2eca925001 100644 --- a/tr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md +++ b/tr/news/_posts/2021-07-07-starttls-stripping-in-net-imap.md @@ -9,7 +9,7 @@ lang: tr --- Bir StartTLS çıkarma zaafiyeti Net::IMAP'te keşfedildi. -Bu zaafiyet [CVE-2021-32066](https://nvd.nist.gov/vuln/detail/CVE-2021-32066) CVE belirtecine atanmıştır. +Bu zaafiyet [CVE-2021-32066](https://www.cve.org/CVERecord?id=CVE-2021-32066) CVE belirtecine atanmıştır. Ruby'yi güncellemenizi şiddetle tavsiye ederiz. net-imap, Ruby 3.0.1'de varsayılan bir gem fakat paketleme sorunlarına sahip, yani lütfen Ruby'nin kendisini güncelleyin. diff --git a/tr/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md b/tr/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md index 9cdbf412a8..206a27f04e 100644 --- a/tr/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md +++ b/tr/news/_posts/2021-07-07-trusting-pasv-responses-in-net-ftp.md @@ -9,7 +9,7 @@ lang: tr --- Net::FTP'de bir FTP PASV yanıtlarına güvenme zaafiyeti keşfedildi. -Bu zaafiyete [CVE-2021-31810](https://nvd.nist.gov/vuln/detail/CVE-2021-31810) CVE belirteci atanmıştır. +Bu zaafiyete [CVE-2021-31810](https://www.cve.org/CVERecord?id=CVE-2021-31810) CVE belirteci atanmıştır. Şiddetle Ruby'yi güncellemenizi tavsiye ederiz. net-ftp Ruby 3.0.1 ile gelen varsayılan bir gem'dir fakat paketleme sorunlarına sahiptir, yani lütfen Ruby'nin kendisini güncelleyin. diff --git a/vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 1f66b1c934..d859aeb9e2 100644 --- a/vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -53,4 +53,4 @@ Bạn có thể đọc bản báo cáo gốc trên bug tracker: Chúng tôi khuyến khích bạn nâng cấp lên [bản ổn định mới nhất của Ruby](https://www.ruby-lang.org/vi/downloads/). -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 506e5958ee..b974d6c5c4 100644 --- a/zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -47,4 +47,4 @@ ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophi 我们建议你升级到一个稳定的并处于维护中的 [Ruby 版本](https://www.ruby-lang.org/zh_cn/downloads/)。 -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/zh_cn/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/zh_cn/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index 32e688224c..a7d9ed251a 100644 --- a/zh_cn/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/zh_cn/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -15,8 +15,8 @@ Ruby 内置的 RDoc 所附带的 jQuery 存在关于跨站脚本攻击(XSS) 以下为被报告的缺陷。 -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) 强烈建议所有 Ruby 使用者升级你的 Ruby,或尽快采用下述临时解决方案。你还需要重新生成现有的 RDoc 文档以完全解决问题。 diff --git a/zh_cn/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md b/zh_cn/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md index 8e895e59ee..b33881d039 100644 --- a/zh_cn/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md +++ b/zh_cn/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md @@ -8,7 +8,7 @@ tags: security lang: zh_cn --- -在 String 到 Float 的转换算法中发现了缓冲区溢出漏洞。此漏洞已分配 CVE 编号 [CVE-2022-28739](https://nvd.nist.gov/vuln/detail/CVE-2022-28739)。 +在 String 到 Float 的转换算法中发现了缓冲区溢出漏洞。此漏洞已分配 CVE 编号 [CVE-2022-28739](https://www.cve.org/CVERecord?id=CVE-2022-28739)。 我们强烈建议更新 Ruby。 ## 详情 diff --git a/zh_cn/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md b/zh_cn/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md index 1aed026bba..50629cdebd 100644 --- a/zh_cn/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md +++ b/zh_cn/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md @@ -9,7 +9,7 @@ lang: zh_cn --- Regexp 编译中发现了一个双重释放(double free)漏洞。 -此漏洞已分配 CVE 编号 [CVE-2022-28738](https://nvd.nist.gov/vuln/detail/CVE-2022-28738). +此漏洞已分配 CVE 编号 [CVE-2022-28738](https://www.cve.org/CVERecord?id=CVE-2022-28738). 我们强烈建议更新 Ruby。 ## 详情 diff --git a/zh_cn/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/zh_cn/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md index bee478bc2a..3b70983852 100644 --- a/zh_cn/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md +++ b/zh_cn/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -9,7 +9,7 @@ lang: zh_cn --- 我们发布了 cgi gem 0.3.5, 0.2.2 和 0.1.0.2,对 HTTP 响应拆分漏洞进行了安全修复。 -此漏洞已分配 CVE 编号 [CVE-2021-33621](https://nvd.nist.gov/vuln/detail/CVE-2021-33621)。 +此漏洞已分配 CVE 编号 [CVE-2021-33621](https://www.cve.org/CVERecord?id=CVE-2021-33621)。 ## 详情 diff --git a/zh_tw/news/_posts/2014-04-10-severe-openssl-vulnerability.md b/zh_tw/news/_posts/2014-04-10-severe-openssl-vulnerability.md index 5561f0f1d0..fda9315a11 100644 --- a/zh_tw/news/_posts/2014-04-10-severe-openssl-vulnerability.md +++ b/zh_tw/news/_posts/2014-04-10-severe-openssl-vulnerability.md @@ -9,7 +9,7 @@ lang: zh_tw --- OpenSSL 在 TLS/DTLS heartbeat -extension (`RFC6520`) 實作存在嚴重風險(傳輸層的安全性協議)。這個嚴重安全性風險的 CVE 識別號為 [CVE-2014-0160](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0160)。 +extension (`RFC6520`) 實作存在嚴重風險(傳輸層的安全性協議)。這個嚴重安全性風險的 CVE 識別號為 [CVE-2014-0160](https://www.cve.org/CVERecord?id=CVE-2014-0160)。 利用此弱點攻擊,可導致客戶端與伺服器之間記憶體資料洩漏。攻擊者可於遠端取得機敏資料,包含用來加密 SSL 密鑰與認證用的 Token。 diff --git a/zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index f750f229a6..e884233201 100644 --- a/zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -45,4 +45,4 @@ ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophi 我們建議升級至穩定並仍在維護的 [Ruby 版本](https://www.ruby-lang.org/zh_tw/downloads/)。 -[CVE-2014-6438]: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6438 +[CVE-2014-6438]: https://www.cve.org/CVERecord?id=CVE-2014-6438 diff --git a/zh_tw/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md b/zh_tw/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md index 37b871d7fc..fe85914490 100644 --- a/zh_tw/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md +++ b/zh_tw/news/_posts/2019-08-28-multiple-jquery-vulnerabilities-in-rdoc.md @@ -16,8 +16,8 @@ lang: zh_tw 以下為已回報的安全性風險 -* [CVE-2012-6708](https://nvd.nist.gov/vuln/detail/CVE-2012-6708) -* [CVE-2015-9251](https://nvd.nist.gov/vuln/detail/CVE-2015-9251) +* [CVE-2012-6708](https://www.cve.org/CVERecord?id=CVE-2012-6708) +* [CVE-2015-9251](https://www.cve.org/CVERecord?id=CVE-2015-9251) 強烈建議所有 Ruby 使用者升級你的 Ruby,或盡快採用以下解決方法。 你仍須重新產生現有的 RDoc 文件,以完全緩解風險。 diff --git a/zh_tw/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md b/zh_tw/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md index aa97b61ff3..18ad559847 100644 --- a/zh_tw/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md +++ b/zh_tw/news/_posts/2022-04-12-buffer-overrun-in-string-to-float-cve-2022-28739.md @@ -9,7 +9,7 @@ lang: zh_tw --- 在 String 轉換 Float 的演算法中發現了一個緩衝區溢位漏洞。 -此風險的 CVE 識別號為 [CVE-2022-28739](https://nvd.nist.gov/vuln/detail/CVE-2022-28739)。 +此風險的 CVE 識別號為 [CVE-2022-28739](https://www.cve.org/CVERecord?id=CVE-2022-28739)。 我們強烈建議您升級 Ruby。 ## 風險細節 diff --git a/zh_tw/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md b/zh_tw/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md index 4293930c2f..049d3cce8b 100644 --- a/zh_tw/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md +++ b/zh_tw/news/_posts/2022-04-12-double-free-in-regexp-compilation-cve-2022-28738.md @@ -9,7 +9,7 @@ lang: zh_tw --- 在 Regexp 編譯時發現一個雙重釋放(Double free)的風險。 -此風險的 CVE 識別號為 [CVE-2022-28738](https://nvd.nist.gov/vuln/detail/CVE-2022-28738)。 +此風險的 CVE 識別號為 [CVE-2022-28738](https://www.cve.org/CVERecord?id=CVE-2022-28738)。 我們強烈建議您升級 Ruby。 ## 風險細節 From c2f62d63bddf570243c151139e1f8205d34faec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Fri, 28 Apr 2023 03:51:33 -0500 Subject: [PATCH 1972/2563] Translate CVE-2023-28756: ReDoS vulnerability in Time (es) (#3041) --- ...2023-03-30-redos-in-time-cve-2023-28756.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md diff --git a/es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md new file mode 100644 index 0000000000..f610192d42 --- /dev/null +++ b/es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "CVE-2023-28756: Vulnerabilidad ReDoS en Time" +author: "hsbt" +translator: vtamara +date: 2023-03-30 11:00:00 +0000 +tags: security +lang: es +--- + +Hemos publicado la gema `time` versiones 0.1.1 y 0.2.2 que +tienen una corrección de seguridad para una vulnerabilidad ReDoS. +A esta vulnerabilidad se le ha asignado el identificador CVE +[CVE-2023-28756](https://www.cve.org/CVERecord?id=CVE-2023-28756). + +## Detalles + +El reconocedor de la gema Time no maneja bien cadenas invalidas que +tienen caracteres específicos. Esto cause un aumento en el tiempo de +ejecución al reconocer cadenas del objeto Time. + +Una ReDoS (Denegación de Servicio por Expresión Regular) fue descubierta +en la gema Time versiones 0.1.0 y 0.2.1 la librería Time de Ruby 2.7.7. + +## Acción recomendada + +Recomendamos actualizar la gema `time` a la versión +0.2.2 o posterior. Para asegurar compatibilidad con versiones +incluidas en series de Ruby anteriores, puede actualizar así: + +* Para usuarios de Ruby 3.0: Actualizar a `time` 0.1.1 +* Para usuarios de Ruby 3.1/3.2: Actualizar a `time` 0.2.2 + +Puede usar `gem update time` para actualizarla. Si usa bundler, +por favor añada `gem "time", ">= 0.2.2"` a su `Gemfile`. + +Infortunadamente, la gema `time` sólo opera con Ruby 3.0 o posterior. +Si estás usando ruby 2.7, por favor usa la versión más reciente de Ruby. + +## Versiones afectadas + +* Ruby 2.7.7 o anterior +* Gema time 0.1.0 +* Gema time 0.2.1 + +## Créditos + +Agradecemos a [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) +por descubrir este problema. + +## Historia + +* Publicado originalmente el 2023-03-30 11:00:00 (UTC) From 136a3c9d9763c091bb794b08cc181ba7d25438f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 May 2023 16:05:16 +0000 Subject: [PATCH 1973/2563] Bump ruby/setup-ruby from 1.146.0 to 1.148.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.146.0 to 1.148.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/55283cc23133118229fd3f97f9336ee23a179fcf...d2b39ad0b52eca07d23f3aa14fdf2a3fcc1f411c) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48670513d2..346dc1231e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 + uses: ruby/setup-ruby@d2b39ad0b52eca07d23f3aa14fdf2a3fcc1f411c # v1.148.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 398d4c9207..882a176bd0 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Setup Ruby - uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 + uses: ruby/setup-ruby@d2b39ad0b52eca07d23f3aa14fdf2a3fcc1f411c # v1.148.0 with: ruby-version: '3.2' bundler-cache: true From fd2e95e9323819f66147931db4cee5990f32b60a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 3 May 2023 19:30:06 -0500 Subject: [PATCH 1974/2563] Translations of Ruby 3-x release notes of March 30th 2023 (es) (#3052) * Translations of Ruby 3-x release notes of March 30th 2023 (es) * Thanks to @gvfcastro for corrections --- .../_posts/2023-03-30-ruby-3-2-2-released.md | 4 +- .../_posts/2023-03-30-ruby-2-7-8-released.md | 65 ++++++++++++++++++ .../_posts/2023-03-30-ruby-3-0-6-released.md | 66 +++++++++++++++++++ .../_posts/2023-03-30-ruby-3-1-4-released.md | 44 +++++++++++++ .../_posts/2023-03-30-ruby-3-2-2-released.md | 49 ++++++++++++++ 5 files changed, 226 insertions(+), 2 deletions(-) create mode 100644 es/news/_posts/2023-03-30-ruby-2-7-8-released.md create mode 100644 es/news/_posts/2023-03-30-ruby-3-0-6-released.md create mode 100644 es/news/_posts/2023-03-30-ruby-3-1-4-released.md create mode 100644 es/news/_posts/2023-03-30-ruby-3-2-2-released.md diff --git a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md index ea63747b83..51487fa691 100644 --- a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -12,8 +12,8 @@ Ruby 3.2.2 has been released. This release includes security fixes. Please check the topics below for details. -* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) -* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_2) for further details. diff --git a/es/news/_posts/2023-03-30-ruby-2-7-8-released.md b/es/news/_posts/2023-03-30-ruby-2-7-8-released.md new file mode 100644 index 0000000000..453004f7aa --- /dev/null +++ b/es/news/_posts/2023-03-30-ruby-2-7-8-released.md @@ -0,0 +1,65 @@ +--- +layout: news_post +title: "Publicado Ruby 2.7.8" +author: "usa" +translator: vtamara +date: 2023-03-30 12:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 2.7.8. + +Esta versión incluye correcciones de seguridad. +Por favor revise detalles en los siguientes temas. + +* [CVE-2023-28755: Vulnerabilidad ReDoS en URI]({%link es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Vulnerabilidad ReDoS en Time]({%link es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +Esta versión también incluye correcciones a problemas de construcción. +Ver más detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v2_7_8). + +Después de esta versión, Ruby 2.7 llega a su EOL (fin de vida). +En otras palabras, se espera que esta sea la última versión de la serie +Ruby 2.7. +No publicaremos Ruby 2.7.9 incluso si se encuentra una vulnerabilidad +de seguridad (pero podría publicarse si se encuentra una regresión severa). +Recomendamos a todos los usuarios de Ruby 2.7 que comiencen a migrar a +Ruby 3.2, 3.1, o 3.0 de inmediato. + +## Descargas + +{% assign release = site.data.releases | where: "version", "2.7.8" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Notas de publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron +reportes de fallas nos ayudaron a hacer esta versión. +Gracias por sus contribuciones. diff --git a/es/news/_posts/2023-03-30-ruby-3-0-6-released.md b/es/news/_posts/2023-03-30-ruby-3-0-6-released.md new file mode 100644 index 0000000000..8e34e282d5 --- /dev/null +++ b/es/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -0,0 +1,66 @@ +--- +layout: news_post +title: "Publicado Ruby 3.0.6" +author: "usa" +translator: vtamara +date: 2023-03-30 12:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.0.6. + +Esta versión incluye correcciones de seguridad. +Por favor vea detalles en los siguientes temas. + +* [CVE-2023-28755: Vulnerabilidad ReDoS en URI]({%link es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Vulnerabilidad ReDoS en Time]({%link es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +Esta versión también incluye algunas soluciones a fallas. +Ver más detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_0_6). + +Después de esta versión, terminamos la fase normal de mantenimiento de +Ruby 3.0, y Ruby 3.0 entra a la fase de seguridad. +Esto significa que ya no retro-portaremos soluciones a fallas en Ruby 3.0 +excepto a fallas de seguridad. + +El periodo de la fase de mantenimiento de seguridad se ha programada a +un año. +Ruby 3.0 llegará a su EOL (fin de vida) y su soporte oficial terminará +al final de la fase de mantenimiento. +Por tanto, le recomendamos comenzar a planear la actualización a Ruby 3.1 +o 3.2. + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.0.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Notas de publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron +reportes de fallas nos ayudaron a hacer esta versión. +Gracias por sus contribuciones. + +El mantenimiento de Ruby 3.0, incluyendo esta versión, +se basa en el "Acuerdo por una versión estable de Ruby" de la +Asociación Ruby. diff --git a/es/news/_posts/2023-03-30-ruby-3-1-4-released.md b/es/news/_posts/2023-03-30-ruby-3-1-4-released.md new file mode 100644 index 0000000000..fed39a8e34 --- /dev/null +++ b/es/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "Publicado Ruby 3.1.4" +author: "nagachika" +translator: vtamara +date: 2023-03-30 12:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.1.4. + +Ver detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_1_4). + + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.1.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Notas de publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron +reportes de fallas nos ayudaron a hacer esta versión. +Gracias por sus contribuciones. diff --git a/es/news/_posts/2023-03-30-ruby-3-2-2-released.md b/es/news/_posts/2023-03-30-ruby-3-2-2-released.md new file mode 100644 index 0000000000..1b37dd119e --- /dev/null +++ b/es/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Publicado Ruby 3.2.2" +author: "naruse" +translator: vtamara +date: 2023-03-30 12:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.2.2. + +Esta versión incluye correcciones de seguridad. +Por favor vea detalles en los siguientes temas. + +* [CVE-2023-28755: Vulnerabilidad ReDoS en URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Vulnerabilidad ReDoS en Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +Ver más detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_2). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.2.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Notas de publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron +reportes de fallas nos ayudaron a hacer esta versión. +Gracias por sus contribuciones. From cc3efe91365c8729df523cb99d7d3ea9d5c7eeb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Thu, 4 May 2023 10:31:12 -0500 Subject: [PATCH 1975/2563] Completes post of Ruby 3.1.4 as suggested by @gvfcastro (#3054) --- es/news/_posts/2023-03-30-ruby-3-1-4-released.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/es/news/_posts/2023-03-30-ruby-3-1-4-released.md b/es/news/_posts/2023-03-30-ruby-3-1-4-released.md index fed39a8e34..703cc67dbc 100644 --- a/es/news/_posts/2023-03-30-ruby-3-1-4-released.md +++ b/es/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -11,6 +11,13 @@ Se ha publicado Ruby 3.1.4. Ver detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_1_4). +Esta versión incluye correcciones de seguridad. +Por favor vea detalles en los siguientes temas. + +* [CVE-2023-28755: Vulnerabilidad ReDoS en URI]({%link es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Vulnerabilidad ReDoS en Time]({%link es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +Ver más detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_1_4). ## Descargas From 34d4d12de874b7597c89696113b1baf3edfef832 Mon Sep 17 00:00:00 2001 From: akinomaeni Date: Sun, 30 Apr 2023 21:02:06 +0900 Subject: [PATCH 1976/2563] Move 3.0.6 from stable to security_maintenance --- _data/downloads.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 17cf8a5e92..88c36176f7 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -9,11 +9,11 @@ stable: - 3.2.2 - 3.1.4 - - 3.0.6 # optional security_maintenance: + - 3.0.6 # optional eol: From 28f4f595ebee56e7ca0689b25d45df0a61846108 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Fri, 12 May 2023 19:54:17 +0900 Subject: [PATCH 1977/2563] Ruby 3.3.0-preview1 Released (#3058) --- _data/branches.yml | 5 + _data/downloads.yml | 1 + _data/releases.yml | 31 ++++ ...2023-05-12-ruby-3-3-0-preview1-released.md | 169 ++++++++++++++++++ ...2023-05-12-ruby-3-3-0-preview1-released.md | 157 ++++++++++++++++ 5 files changed, 363 insertions(+) create mode 100644 en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md create mode 100644 ja/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md diff --git a/_data/branches.yml b/_data/branches.yml index c07b076db9..54cfc1f133 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -8,6 +8,11 @@ # date: date of first stable release (YYYY-MM-DD) # eol_date: date of EOL (YYYY-MM-DD) +- name: 3.3 + status: preview + date: + eol_date: + - name: 3.2 status: normal maintenance date: 2022-12-25 diff --git a/_data/downloads.yml b/_data/downloads.yml index 88c36176f7..15c73caddc 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,6 +4,7 @@ # optional preview: + - 3.3.0-preview1 stable: diff --git a/_data/releases.yml b/_data/releases.yml index 678a059518..a995996516 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -19,6 +19,37 @@ # In order to get the release listed on the downloads page, # you also need to add an entry to `_data/downloads.yml'. +# 3.3 series + +- version: 3.3.0-preview1 + date: 2023-05-12 + post: /en/news/2023/05/12/ruby-3-3-0-preview1-released/ + tag: v3_3_0_preview1 + stats: + files_changed: 1922 + insertions: 75283 + deletions: 44896 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview1.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview1.tar.xz + size: + gz: 20428213 + zip: 24846962 + xz: 15074600 + sha1: + gz: 5445eec1cd9ddb44e03e74568cac94209c91b42d + zip: 31774fa653c54107b6afc30adda3a0350d8f41d2 + xz: 4c22ebca287c87811e1050bf4d59b7d32255b212 + sha256: + gz: c3454a911779b8d747ab0ea87041030d002d533edacb2485fe558b7084da25ed + zip: 6ecafecf83f2cacf446b2326012f2b6ee1a0614d8dd29bb1fb3f105c27e2c553 + xz: ae300b49e06c13087dd163b97eddd38db895dc8e0c9904284119795d75303fbb + sha512: + gz: 0f891f140ddc6372aa7c4459f8784126e0c341db7b80e72c51e441c5153c43c2d7b965f7807c076862ac84b9b8b0c6a66bbf66fc341746016151397bb21c782a + zip: 794bef847fefbbdbbdced85975a00c9289ef6464810408af3f0f2055052d6b5ef5576dbd41e0d87bb73f1ad276d8e27c36018610f8e2b9936828c0e692f611f0 + xz: 46c1134dba5810847f7f6b4298900a91f5225679d7873548b271f4ef2ad1dc168722562a2e468a2ccf136314176ee613d8c7792fd4411a3f7a44c80b93b417ee + # 3.2 series - version: 3.2.2 diff --git a/en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md new file mode 100644 index 0000000000..edc72bba0f --- /dev/null +++ b/en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -0,0 +1,169 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview1 Released" +author: "naruse" +translator: +date: 2023-05-12 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview1" | first %} + +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new pure-Ruby JIT compiler named RJIT, uses lrama as a parser generator, and many performance improvements especially YJIT. + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86\_64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637] + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + +## YJIT + +* Significant performance improvements over 3.2 + * Splat and rest arguments support has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` are specially optimized. + * Instance variables no longer exit to the interpreter + with megamorphic Object Shapes. +* Metadata for compiled code uses a lot less memory. +* Improved code generation on ARM64 +* Option to start YJIT in paused mode and then later enable it manually + * `--yjit-pause` and `RubyVM::YJIT.resume` + * This can be used to enable YJIT only once your application is done booting +* Exit tracing option now supports sampling + * `--trace-exits-sample-rate=N` +* Multiple bug fixes + + + +## Other Notable New Features + +### Language + + + +## Performance improvements + +* `defined?(@ivar)` is optimized with Object Shapes. + +## Other notable changes since 3.2 + + + +## Compatibility issues + +Note: Excluding feature bug fixes. + +### Removed constants + +The following deprecated constants are removed. + + + +### Removed methods + +The following deprecated methods are removed. + + + +## Stdlib compatibility issues + +### `ext/readline` is retired + +* We have `reline` that is pure Ruby implementation compatible with `ext/readline` API. We rely on `reline` in the future. If you need to use `ext/readline`, you can install `ext/readline` via rubygems.org with `gem install readline-ext`. +* We no longer need to install libraries like `libreadline` or `libedit`. + +## C API updates + +### Updated C APIs + +The following APIs are updated. + + + +### Removed C APIs + +The following deprecated APIs are removed. + + + +## Standard library updates + + + +The following default gems are updated. + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.7 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.6.4 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.3 +* stringio 3.0.7 +* strscan 3.0.7 +* syntax_suggest 1.0.4 +* time 0.2.2 +* timeout 0.3.2 +* uri 0.12.1 + +The following bundled gems are updated. + +* minitest 5.18.0 +* rbs 3.1.0 +* typeprof 0.21.7 +* debug 1.8.0 + +See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or +changelog for details of the default gems or bundled gems. + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +since Ruby 3.2.0! + +Merry Christmas, Happy Holidays, and enjoy programming with Ruby 3.3! + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. diff --git a/ja/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/ja/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md new file mode 100644 index 0000000000..41d503a92e --- /dev/null +++ b/ja/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -0,0 +1,157 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview1 リリース" +author: "naruse" +translator: +date: 2023-05-12 00:00:00 +0000 +lang: ja +--- + +Ruby 3.3.0-preview1 が公開されました。Ruby 3.3ではRJITという新たなJITの仕組みを追加するとともに、YJITの高速化など様々な改善が行われています。 + +{% assign release = site.data.releases | where: "version", "3.3.0-preview1" | first %} + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86\_64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637] + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * See also: [Ruby Parser開発日誌 (5) - Lrama LALR (1) parser generatorを実装した](https://yui-knk.hatenablog.com/entry/2023/03/13/101951) + + +## YJIT + +* Significant performance improvements over 3.2 + * Splat and rest arguments support has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` are specially optimized. + * Instance variables no longer exit to the interpreter + with megamorphic Object Shapes. +* Metadata for compiled code uses a lot less memory. +* Improved code generation on ARM64 +* Option to start YJIT in paused mode and then later enable it manually + * `--yjit-pause` and `RubyVM::YJIT.resume` + * This can be used to enable YJIT only once your application is done booting +* Exit tracing option now supports sampling + * `--trace-exits-sample-rate=N` +* Multiple bug fixes + +* + +## その他の主要な新機能 + +### 言語機能 + + +## パフォーマンスの改善 + +## その他の注目すべき 3.2 からの変更点 + +## 互換性に関する変更 + +### 定数の削除 + +以下の非推奨定数は削除されました + + + +### メソッドの削除 + +以下の非推奨のメソッドは削除されました + + +## 標準添付ライブラリの互換性に関する変更 + +### `ext/readline` の削除 + +* 今後は Ruby で書かれた GNU Readline の互換ライブラリである `reline` をすべての環境で標準で利用し、`ext/readline` は削除されました。以前の `ext/readline` が必要なユーザーは `gem install readline-ext` でインストールすることができます。 +* この変更により、Ruby のインストール時に `libreadline` や `libedit` などのライブラリのインストールは不要となります。 + +## C API の変更 + +### C API の更新 + +以下の API が更新されました + +### C API の削除 + +以下の非推奨の API は削除されました + + +## 標準添付ライブラリのアップデート + + + +* 以下の default gems のバージョンがアップデートされました。 + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.7 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.6.4 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.3 +* stringio 3.0.7 +* strscan 3.0.7 +* syntax_suggest 1.0.4 +* time 0.2.2 +* timeout 0.3.2 +* uri 0.12.1 + +* 以下の bundled gems のバージョンがアップデートされました。 + +* minitest 5.18.0 +* rbs 3.1.0 +* typeprof 0.21.7 +* debug 1.8.0 + + + +default gems と bundled gems の詳細については [Logger の GitHub Releases](https://github.com/ruby/logger/releases) のような GitHub releases または changelog ファイルを参照してください。 + + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})を参照してください。 + +なお、こうした変更により、Ruby 3.2.0 以降では [{{ release.stats.files_changed }} 個のファイルに変更が加えられ、{{ release.stats.insertions }} 行の追加と {{ release.stats.deletions }} 行の削除が行われました](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) ! + +メリークリスマス、Ruby 3.3 とともによいお年をお迎えください! + +## ダウンロード + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby とは + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 From 6cefa1613c818c7b912a58e2cac9c2e1faea93ab Mon Sep 17 00:00:00 2001 From: Gustavo Villa Date: Fri, 12 May 2023 15:56:20 -0300 Subject: [PATCH 1978/2563] Improve release note of Ruby 3.3.0-preview1 (en) --- en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md index edc72bba0f..14e92cd87e 100644 --- a/en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md +++ b/en/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -9,7 +9,7 @@ lang: en {% assign release = site.data.releases | where: "version", "3.3.0-preview1" | first %} -We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new pure-Ruby JIT compiler named RJIT, uses lrama as a parser generator, and many performance improvements especially YJIT. +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new pure-Ruby JIT compiler named RJIT, uses Lrama as a parser generator, and many performance improvements especially YJIT. ## RJIT @@ -22,7 +22,7 @@ We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 a ## Use Lrama instead of Bison -* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637] +* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) ## YJIT @@ -137,8 +137,6 @@ for more details. With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) since Ruby 3.2.0! -Merry Christmas, Happy Holidays, and enjoy programming with Ruby 3.3! - ## Download * <{{ release.url.gz }}> From 412a4babe79892da8c4133e32916879d793be80b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 May 2023 16:02:09 +0000 Subject: [PATCH 1979/2563] Bump ruby/setup-ruby from 1.148.0 to 1.149.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.148.0 to 1.149.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/d2b39ad0b52eca07d23f3aa14fdf2a3fcc1f411c...7d546f4868fb108ed378764d873683f920672ae2) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 346dc1231e..10fa794c34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@d2b39ad0b52eca07d23f3aa14fdf2a3fcc1f411c # v1.148.0 + uses: ruby/setup-ruby@7d546f4868fb108ed378764d873683f920672ae2 # v1.149.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 882a176bd0..1f9316e15b 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Setup Ruby - uses: ruby/setup-ruby@d2b39ad0b52eca07d23f3aa14fdf2a3fcc1f411c # v1.148.0 + uses: ruby/setup-ruby@7d546f4868fb108ed378764d873683f920672ae2 # v1.149.0 with: ruby-version: '3.2' bundler-cache: true From 03e3c67093f7a25895b27868019b818e824ad40d Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 18 May 2023 16:26:33 +0900 Subject: [PATCH 1980/2563] Translate "Ruby 3.3.0-preview1 Released" (ko) (#3062) * cp {en,ko}/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md * Translate 3.3.0 preview1 * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ...2023-05-12-ruby-3-3-0-preview1-released.md | 167 ++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 ko/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md diff --git a/ko/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/ko/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md new file mode 100644 index 0000000000..e950d8c281 --- /dev/null +++ b/ko/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -0,0 +1,167 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview1 Released" +author: "naruse" +translator: "shia" +date: 2023-05-12 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview1" | first %} + +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3은 RJIT으로 명명된 새로운 순수 Ruby JIT 컴파일러를 추가하고, 파서 생성기로 Lrama를 사용하며, 특히 YJIT에서 많은 성능 향상이 있습니다. + +## RJIT + +* 순수 Ruby JIT 컴파일러 RJIT을 도입하고 MJIT을 대체했습니다. + * RJIT은 Unix 플랫폼에서 x86\_64 아키텍처만 지원합니다. + * MJIT과 달리 런타임에 C 컴파일러가 필요하지 않습니다. +* RJIT은 실험 목적으로 존재합니다. + * 프로덕션 환경에서는 YJIT을 계속 사용해야 합니다. +* Ruby용 JIT 개발에 관심이 있다면 [RubyKaigi 2023 3일차에 있었던 k0kubun의 발표](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)를 확인하세요. + +## Bison을 Lrama로 대체 + +* Bison 대신 [Lrama LALR 파서 생성기](https://github.com/yui-knk/lrama)를 사용하도록 변경했습니다. [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * 관심이 있다면 [Ruby 파서의 미래 비전](https://rubykaigi.org/2023/presentations/spikeolaf.html)을 참고하세요. + +## YJIT + +* 3.2 버전 대비 성능 대폭 향상 + * 스플랫과 나머지 인자 지원이 개선되었습니다. + * 가상 머신의 스택 연산을 위해 레지스터가 할당됩니다. + * 선택적 인수가 포함된 더 많은 호출이 컴파일됩니다. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===`은 특별히 최적화되었습니다. + * 클래스의 인스턴스 변수가 가지는 객체 형상의 조합이 매우 복잡한 경우에도 + 컴파일되기 전의 바이트 코드로 전환되지 않습니다. +* 컴파일된 코드의 메타데이터가 훨씬 적은 메모리를 사용합니다. +* ARM64에서의 코드 생성 개선 +* 일시 중지 모드에서 YJIT을 시작한 다음 나중에 수동으로 재개하는 옵션 추가 + * `--yjit-pause`와 `RubyVM::YJIT.resume` + * 애플리케이션 부팅이 완료된 후에만 YJIT을 재개할 수 있습니다. +* 종료 추적 옵션이 이제 샘플링을 지원합니다. + * `--trace-exits-sample-rate=N` +* 여러 버그 수정 + + + +## 그 이외의 주목할 만한 새 기능 + +### 언어 + + + +## 성능 향상 + +* `defined?(@ivar)`가 객체 형상에 맞게 최적화되었습니다. + +## 그 이외의 3.2 이후로 주목할 만한 변경 + + + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +### 삭제된 상수 + +폐기 예정이었던 상수가 삭제됩니다. + + + +### 삭제된 메서드 + +폐기 예정이었던 메서드가 삭제됩니다. + + + +## Stdlib 호환성 문제 + +### `ext/readline` 폐기 + +* 우리는 `ext/readline` API와 호환되는 순수 Ruby 구현인 `reline`을 가지고 있습니다. 앞으로는 `reline`에 의존할 것입니다. `ext/readline`을 사용해야 하는 경우, `gem install readline-ext`를 사용하여 rubygems.org를 통해 `ext/readline`을 설치할 수 있습니다. +* 이제 더 이상 `libreadline` 또는 `libedit`과 같은 라이브러리를 설치할 필요가 없습니다. + +## C API 변경 + +### 갱신된 C API + +다음 API가 갱신됩니다. + + + +### 삭제된 C API + +다음 폐기 예정인 API가 삭제됩니다. + + + +### 표준 라이브러리 갱신 + + + +다음 기본 gem이 갱신되었습니다. + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.7 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.6.4 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.3 +* stringio 3.0.7 +* strscan 3.0.7 +* syntax_suggest 1.0.4 +* time 0.2.2 +* timeout 0.3.2 +* uri 0.12.1 + +다음 내장 gem이 갱신되었습니다. + +* minitest 5.18.0 +* rbs 3.1.0 +* typeprof 0.21.7 +* debug 1.8.0 + +기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은 +GitHub 릴리스 또는 변경 로그에서 확인하세요. + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.2.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. From ae253ee36690e4fd93dd75e90afc6e32c7fa8a6f Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 18 May 2023 16:26:43 +0900 Subject: [PATCH 1981/2563] =?UTF-8?q?Use=20'=EA=B0=9D=EC=B2=B4=20=ED=98=95?= =?UTF-8?q?=EC=83=81'=20instead=20of=20'Object=20shape'=20(#3064)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ko/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md | 2 +- ko/news/_posts/2022-12-25-ruby-3-2-0-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ko/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md b/ko/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md index 09e28bdf59..001a46a94c 100644 --- a/ko/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md +++ b/ko/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md @@ -220,7 +220,7 @@ sum = ary[0] + ary[1] `freed_code_size`를 반환합니다. * `RubyVM::YJIT.runtime_stats`가 제공하는 통계 정보가 이번 릴리스부터 이용 가능합니다. * 통계 정보를 계산하고 얻기 위해서는 Ruby를 `--yjit-stats`와 함께 실행하세요(약간의 실행시간 오버헤드가 발생합니다). -* YJIT은 Object shape를 이용해 최적화합니다. [[Feature #18776]] +* YJIT은 객체 형상을 이용해 최적화합니다. [[Feature #18776]] * 상수를 무효화하는 단위를 작게 하여 새 상수를 정의할 때 더 적은 코드를 무효화합니다. [[Feature #18589]] ### MJIT diff --git a/ko/news/_posts/2022-12-25-ruby-3-2-0-released.md b/ko/news/_posts/2022-12-25-ruby-3-2-0-released.md index 31eb08c65b..3981588715 100644 --- a/ko/news/_posts/2022-12-25-ruby-3-2-0-released.md +++ b/ko/news/_posts/2022-12-25-ruby-3-2-0-released.md @@ -66,7 +66,7 @@ Ruby의 웹어셈블리/WASI 지원은 이러한 프로젝트들을 활용하기 `freed_code_size`를 반환합니다. * `RubyVM::YJIT.runtime_stats`가 제공하는 통계 정보가 이번 릴리스부터 이용 가능합니다. * 통계 정보를 계산하고 얻기 위해서는 Ruby를 `--yjit-stats`와 함께 실행하세요(약간의 실행시간 오버헤드가 발생합니다). -* YJIT은 Object shape를 이용해 최적화합니다. [[Feature #18776]] +* YJIT은 객체 형상을 이용해 최적화합니다. [[Feature #18776]] * 상수를 무효화하는 단위를 작게 하여 새 상수를 정의할 때 더 적은 코드를 무효화합니다. [[Feature #18589]] * `--yjit-exec-mem-size`의 기본값이 64(MiB)로 변경됩니다. * `--yjit-call-threshold`의 기본값이 30으로 변경됩니다. From c48d009894c5051f0bbdc7cc0a341f064f9f9cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Thu, 18 May 2023 09:48:06 -0400 Subject: [PATCH 1982/2563] Translate release of Ruby 3.3.0.preview1 (es) (#3059) * Translate release of Ruby 3.3.0.preview1 (es) * Mejoras gracias a @gvfcastro --- ...2023-05-12-ruby-3-3-0-preview1-released.md | 173 ++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md diff --git a/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md new file mode 100644 index 0000000000..f8802a56dd --- /dev/null +++ b/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -0,0 +1,173 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.0-preview1" +author: "naruse" +translator: vtamara +date: 2023-05-12 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview1" | first %} + +Nos complace anunciar la publicación de Ruby {{ release.version }}. Ruby 3.3 +añade un nuevo compilador JIT en puro Ruby llamado RJIT, usa Lrama +como generador del analizador sintáctico así como muchas mejoras +de desempeño especialmente de YJIT. + +## RJIT + +* Se introdujo RJIT un compilador JIT en puro Ruby que remplaza a MJIT. + * RJIT soporta sólo la arquitectura x86\_64 en plataformas Unix. + * A diferencia de MJIT, no require de un compilador C en tiempo de ejecución. +* RJIT existe sólo con propósitos experimentales. + * Debería seguir usando YJIT en producción. +* Si le interesa desarrollar un compilador JIT para Ruby, por favor + revise la [presentación de k0kubun en el día 3 de RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## Usa Lrama en lugar de Bison + +* Remplaza Bison con [el generador de analizadores sintácticos LALR Lrama](https://github.com/yui-knk/lrama) [Feature #19637] + * Si tiene interés por favor vea [la visión futura de los analizadores sintácticos de Ruby](https://rubykaigi.org/2023/presentations/spikeolaf.html) + +## YJIT + +* Mejoras en desempeño significativas respecto a 3.2 + * Mejorado el soporte para argumentos splat y para el resto de argumentos. + * Los registros se localizan para una operación en pila de la máquina virtual. + * Se compila más llamados con argumentos opcionales. + * Se optimizaron especialmente `Integer#!=`, `String#!=`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?` y + `Module#===`. + * Las variables de instancia ya no salen al interprete con Formas de Objetos + mega-mórficas. +* Los metadatos para el código compilado usa mucha menos memoria. +* Generación de código mejorada en ARM64 +* Opción para iniciar YJIT en modo pausado para después habilitarlo + manualmente + * `--yjit-pause` y `RubyVM::YJIT.resume` + * Esto puede usarse para habilitar YJIT sólo después de que su aplicación + hay completado el arranque. +* La opción para salir del modo con trazas ahora soporta muestreo + * `--trace-exits-sample-rate=N` +* Correcciones a múltiples fallas + + +## Otros Características Nuevas Notables + +### Lenguaje + +## Mejoras en desempeño + +* `defined?(@ivar)` se optimiza con Formas de Objetos + +## Otros cambios notables desde 3.2 + + + +## Incidentes de compatibilidad + +Nota: Correciones a falla que excluía características. + +### Constantes elminadas + +Las siguientes constantes que eran despreciadas han sido eliminadas. + + +### Métodos eliminados + +Los siguientes métodos que eran despreciados han sido eliminados. + + +## Problemas de compatibilidad con Stdlib + +### Eliminación de `ext/readline` + +* Tenemos `reline` que es una implementación en Ruby puro compatible con + el API de `ext/readline`. Dependeremos de `reline` a futuro. Si + necesita usar `ext/readline`, puede instalar `ext/readline` vía rubygems.org + con `gem install readline-ext`. +* Ya no necesitamos instalar librerías como `libreadline` o `libedit`. + +## Actualizaciones al API en C + +### APIs en C actualizados + +Los siguientes APIs han sido actualizados. + + + +### APIs en C eliminados + +Los siguientes APIs despreciados han sido eliminados. + +## Actualizaciones a la librería estándar. + + +Las siguientes gemas predeterminadas se han actualizado. + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.7 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.6.4 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.3 +* stringio 3.0.7 +* strscan 3.0.7 +* syntax_suggest 1.0.4 +* time 0.2.2 +* timeout 0.3.2 +* uri 0.12.1 + +Las siguientes gemas incluídas han sido actualizadas. + +* minitest 5.18.0 +* rbs 3.1.0 +* typeprof 0.21.7 +* debug 1.8.0 + +Ve la publicación en GitHub com [Logger](https://github.com/ruby/logger/releases) o +ben la bitácora de cambios con detalles de las gemas predeterminadas +y las gemas incluidas. + + +Ver detalles en el archivo +[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +o en [la bitácora de cambios](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}). + +Con estos cambios, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +desde Ruby 3.2.0! + +¡Feliz Navidad, Felices Fiestas, y disfruten programando con Ruby 3.3! + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Qué es Ruby + +Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, +y ahora es desarrollado como Código Abieto. Corre en múltiples +plataformas y es usado en todo el mundo especialmente para desarrollo web. From 5cf22efccd640a6a41133c5be8fce47bf733f883 Mon Sep 17 00:00:00 2001 From: Gustavo Villa Date: Thu, 18 May 2023 15:58:23 -0300 Subject: [PATCH 1983/2563] Improve release note of Ruby 3.3.0-preview1 (es) --- .../_posts/2023-05-12-ruby-3-3-0-preview1-released.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md index f8802a56dd..3885be5a52 100644 --- a/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md +++ b/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -26,7 +26,7 @@ de desempeño especialmente de YJIT. ## Usa Lrama en lugar de Bison -* Remplaza Bison con [el generador de analizadores sintácticos LALR Lrama](https://github.com/yui-knk/lrama) [Feature #19637] +* Remplaza Bison con [el generador de analizadores sintácticos LALR Lrama](https://github.com/yui-knk/lrama) [Característica #19637](https://bugs.ruby-lang.org/issues/19637) * Si tiene interés por favor vea [la visión futura de los analizadores sintácticos de Ruby](https://rubykaigi.org/2023/presentations/spikeolaf.html) ## YJIT @@ -58,7 +58,7 @@ de desempeño especialmente de YJIT. ## Mejoras en desempeño -* `defined?(@ivar)` se optimiza con Formas de Objetos +* `defined?(@ivar)` se optimiza con Formas de Objetos. ## Otros cambios notables desde 3.2 @@ -100,7 +100,7 @@ Los siguientes APIs han sido actualizados. Los siguientes APIs despreciados han sido eliminados. -## Actualizaciones a la librería estándar. +## Actualizaciones a la librería estándar Las siguientes gemas predeterminadas se han actualizado. @@ -133,16 +133,13 @@ Ve la publicación en GitHub com [Logger](https://github.com/ruby/logger/release ben la bitácora de cambios con detalles de las gemas predeterminadas y las gemas incluidas. - Ver detalles en el archivo [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) o en [la bitácora de cambios](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}). -Con estos cambios, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +¡Con estos cambios, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) desde Ruby 3.2.0! -¡Feliz Navidad, Felices Fiestas, y disfruten programando con Ruby 3.3! - ## Descargas * <{{ release.url.gz }}> From 49b727bde8fdb1c816153d8ec853e8345a10b82d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 May 2023 16:02:06 +0000 Subject: [PATCH 1984/2563] Bump ruby/setup-ruby from 1.149.0 to 1.150.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.149.0 to 1.150.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/7d546f4868fb108ed378764d873683f920672ae2...8a45918450651f5e4784b6031db26f4b9f76b251) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10fa794c34..5e62e10953 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@7d546f4868fb108ed378764d873683f920672ae2 # v1.149.0 + uses: ruby/setup-ruby@8a45918450651f5e4784b6031db26f4b9f76b251 # v1.150.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 1f9316e15b..9278a86bc9 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Setup Ruby - uses: ruby/setup-ruby@7d546f4868fb108ed378764d873683f920672ae2 # v1.149.0 + uses: ruby/setup-ruby@8a45918450651f5e4784b6031db26f4b9f76b251 # v1.150.0 with: ruby-version: '3.2' bundler-cache: true From 1fb6041c2891b36c56ec237e1fc8086a909a3303 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jun 2023 16:01:45 +0000 Subject: [PATCH 1985/2563] Bump actions/checkout from 3.5.2 to 3.5.3 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/8e5e7e5ab8b370d6c329ec480221332ada57f0ab...c85c95e3d7251135ab7dc9ce3241c5835cc595a9) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e62e10953..df97fdd305 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 9278a86bc9..aa2be3351c 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Setup Ruby uses: ruby/setup-ruby@8a45918450651f5e4784b6031db26f4b9f76b251 # v1.150.0 with: From 493b5fe3edf59c2e526910f7d825065830b13e71 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jun 2023 16:01:56 +0000 Subject: [PATCH 1986/2563] Bump ruby/setup-ruby from 1.150.0 to 1.151.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.150.0 to 1.151.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/8a45918450651f5e4784b6031db26f4b9f76b251...bc1dd263b68cb5626dbb55d5c89777d79372c484) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df97fdd305..69a64d9ca5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@8a45918450651f5e4784b6031db26f4b9f76b251 # v1.150.0 + uses: ruby/setup-ruby@bc1dd263b68cb5626dbb55d5c89777d79372c484 # v1.151.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index aa2be3351c..15ea276e41 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Setup Ruby - uses: ruby/setup-ruby@8a45918450651f5e4784b6031db26f4b9f76b251 # v1.150.0 + uses: ruby/setup-ruby@bc1dd263b68cb5626dbb55d5c89777d79372c484 # v1.151.0 with: ruby-version: '3.2' bundler-cache: true From 3ee5c5fd53e3c02ac1b9a7d298244d0012e6a0cb Mon Sep 17 00:00:00 2001 From: Akseluhreyter Date: Mon, 8 May 2023 21:21:45 -0400 Subject: [PATCH 1987/2563] Update invites to Discord The invite links to the Ruby Discord have expired. This updates the links to a new invite. --- en/community/index.md | 2 +- fr/community/index.md | 2 +- id/community/index.md | 2 +- ko/community/index.md | 2 +- tr/community/index.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/en/community/index.md b/en/community/index.md index eab2142b53..053df6f70b 100644 --- a/en/community/index.md +++ b/en/community/index.md @@ -61,6 +61,6 @@ General Ruby Information [ruby-central]: http://rubycentral.org/ -[ruby-discord]: https://discord.gg/EnSevaRfct +[ruby-discord]: https://discord.gg/ad2acQFtkh [ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ [rails-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/fr/community/index.md b/fr/community/index.md index e425b46926..15b17d7bea 100644 --- a/fr/community/index.md +++ b/fr/community/index.md @@ -59,6 +59,6 @@ Informations générales [ruby-central]: http://rubycentral.org/ -[ruby-discord]: https://ruby-discord.com/ +[ruby-discord]: https://discord.gg/ad2acQFtkh [ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ [rails-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/id/community/index.md b/id/community/index.md index bf39ca0f90..da349b98a9 100644 --- a/id/community/index.md +++ b/id/community/index.md @@ -73,7 +73,7 @@ Informasi Umum Tentang Ruby -[ruby-discord]: https://discord.gg/EnSevaRfct +[ruby-discord]: https://discord.gg/ad2acQFtkh [ruby-id-group]: http://tech.groups.yahoo.com/group/id-ruby/ [ruby-central]: http://rubycentral.org/ [ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ diff --git a/ko/community/index.md b/ko/community/index.md index cdf5a45da6..51a59d1b7e 100644 --- a/ko/community/index.md +++ b/ko/community/index.md @@ -59,6 +59,6 @@ Ruby의 장점, 특징에 대한 설명에서 빠지지 않고 등장하는 것 * [Rails at Open Directory Project][rails-opendir] [ruby-central]: http://rubycentral.org/ -[ruby-discord]: https://discord.gg/EnSevaRfct +[ruby-discord]: https://discord.gg/ad2acQFtkh [ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ [rails-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/tr/community/index.md b/tr/community/index.md index da7a06fb3b..7065657966 100644 --- a/tr/community/index.md +++ b/tr/community/index.md @@ -66,7 +66,7 @@ Genel Ruby Kaynakları [ruby-central]: http://rubycentral.org/ -[ruby-discord]: https://discord.gg/EnSevaRfct +[ruby-discord]: https://discord.gg/ad2acQFtkh [ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ [rails-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ [ruby-turkiye-slack]: https://rubytr.herokuapp.com/ From ae33be445a96bd3a05881f4a9fb4c681f7533ebc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jun 2023 16:01:45 +0000 Subject: [PATCH 1988/2563] Bump ruby/setup-ruby from 1.151.0 to 1.152.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.151.0 to 1.152.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/bc1dd263b68cb5626dbb55d5c89777d79372c484...250fcd6a742febb1123a77a841497ccaa8b9e939) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69a64d9ca5..e9600851db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@bc1dd263b68cb5626dbb55d5c89777d79372c484 # v1.151.0 + uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 15ea276e41..1f50b9b87a 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Setup Ruby - uses: ruby/setup-ruby@bc1dd263b68cb5626dbb55d5c89777d79372c484 # v1.151.0 + uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0 with: ruby-version: '3.2' bundler-cache: true From 80d3e6de1f6b8864ad9cfefd7e2abc100e531a10 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jun 2023 16:01:38 +0000 Subject: [PATCH 1989/2563] Bump actions/deploy-pages from 2.0.1 to 2.0.2 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/af48cf94a42f2c634308b1c9dc0151830b6f190a...ee48c7b82e077d7b8ef30b50a719e6a792a50c9a) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 1f50b9b87a..b6b5004c9d 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@af48cf94a42f2c634308b1c9dc0151830b6f190a # v2.0.1 + uses: actions/deploy-pages@ee48c7b82e077d7b8ef30b50a719e6a792a50c9a # v2.0.2 From 602d8af32071918a4b9246f27b817ea10d50484a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jun 2023 16:01:36 +0000 Subject: [PATCH 1990/2563] Bump actions/upload-pages-artifact from 1.0.8 to 1.0.9 Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1.0.8 to 1.0.9. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/64bcae551a7b18bcb9a09042ddf1960979799187...66b63f4a7de003f4f00cc8e9af4b83b8f2abdb96) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index b6b5004c9d..4ffa2deaa3 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,7 +34,7 @@ jobs: env: JEKYLL_ENV: production - name: Upload artifact - uses: actions/upload-pages-artifact@64bcae551a7b18bcb9a09042ddf1960979799187 # v1.0.8 + uses: actions/upload-pages-artifact@66b63f4a7de003f4f00cc8e9af4b83b8f2abdb96 # v1.0.9 deploy: environment: From 8887ecebecc687b9309c7930a0b5cd4b596f11aa Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 20 Jun 2023 12:18:32 +0900 Subject: [PATCH 1991/2563] Fix some broken link to bugs.ruby-lang.org wiki Several links are broken due to migrate the wiki from bugs.ruby-lang.org to the ruby/ruby GitHub repository. - https://bugs.ruby-lang.org/issues/19679 This PR migrated what we can in this PR, but the following links doesn't seem to exist for the migrated page: - https://bugs.ruby-lang.org/projects/ruby/wiki/200UpgradeNotesDraft - https://bugs.ruby-lang.org/projects/ruby/wiki/200SpecialThanks - https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT --- bg/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- de/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- de/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 4 ++-- de/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- de/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- en/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- en/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 4 ++-- en/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- en/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- es/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- es/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 4 ++-- es/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- es/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- fr/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- fr/news/_posts/2016-12-25-ruby-2-4-0-released.md | 2 +- id/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- id/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 4 ++-- id/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- id/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- it/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 4 ++-- ja/dev/index.md | 6 +++--- ja/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- ko/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- ko/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 4 ++-- ko/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- ko/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 4 ++-- pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- ru/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- vi/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- .../news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- zh_cn/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- .../news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md | 4 ++-- .../news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md | 4 ++-- .../news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md | 4 ++-- zh_tw/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md | 4 ++-- 39 files changed, 78 insertions(+), 78 deletions(-) diff --git a/bg/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/bg/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 24a82a0a06..78c5925b8d 100644 --- a/bg/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/bg/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -12,7 +12,7 @@ lang: bg Това е първият предварителен преглед на Ruby 2.4.0. Излиза по-рано от обикновено, защото включва много новости и подобрения. Не се колебайте да -[изпращате обратна връзка](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport), +[изпращате обратна връзка](https://github.com/ruby/ruby/wiki/How-To-Report), тъй като все още имате възможност да повлияете на промените. ## [Обединяване на Fixnum и Bignum в Integer](https://bugs.ruby-lang.org/issues/12005) @@ -64,7 +64,7 @@ Ruby 2.4 показва нишките заедно с техният backtrace, зависят от тях. Приятно ползване на Ruby 2.4.0-preview1! -[Свържете се с нас](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[Свържете се с нас](https://github.com/ruby/ruby/wiki/How-To-Report) с вашите коментари и преложения. ## Важни промени от 2.3 diff --git a/de/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/de/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 2a4eb7cfb7..45d920088c 100644 --- a/de/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/de/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -13,7 +13,7 @@ geben zu können. Ruby 2.4.0-preview1 ist die erste Vorschau auf Ruby 2.4.0 und sie kommt früher als üblich, weil sie zahlreiche neue Features und Verbesserungen enthält. Wenn Sie noch Einfluss auf die Zukunft nehmen -wollen, dann [geben Sie uns Rückmeldung](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport). +wollen, dann [geben Sie uns Rückmeldung](https://github.com/ruby/ruby/wiki/How-To-Report). ## [Zusammenführung von Fixnum und Bignum in Integer](https://bugs.ruby-lang.org/issues/12005) @@ -71,7 +71,7 @@ Die Deadlock-Erkennung von Ruby 2.4 listet Threads nun mit ihrem Backtrace und abhängigen Threads. Versuchen Sie Ruby 2.4.0-preview1, haben Sie Spaß daran und [geben Sie -Rückmeldung](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +Rückmeldung](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Wesentliche Änderungen seit 2.3 diff --git a/de/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/de/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index 91385e9f2e..6739dafb4a 100644 --- a/de/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/de/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -12,7 +12,7 @@ bekanntgeben zu können. Ruby 2.4.0-preview2 ist die zweite Vorschau auf Ruby 2.4.0 und wird in der Absicht veröffentlicht, Meinungen und Feedback durch die -Community einzuholen. Wir möchten Sie daher ermutigen, [uns Rückmeldung zu geben](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport), +Community einzuholen. Wir möchten Sie daher ermutigen, [uns Rückmeldung zu geben](https://github.com/ruby/ruby/wiki/How-To-Report), wodurch Sie noch Einfluss auf die weitere Entwicklung nehmen können. ## [Zusammenführung von Fixnum und Bignum in Integer](https://bugs.ruby-lang.org/issues/12005) @@ -75,7 +75,7 @@ sinnvolles Debugging. Die Deadlock-Erkennung von Ruby 2.4 listet Threads nun mit ihrem Backtrace und abhängigen Threads. -Versuchen Sie Ruby 2.4.0-preview1, haben Sie Spaß daran und [geben Sie Rückmeldung](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +Versuchen Sie Ruby 2.4.0-preview1, haben Sie Spaß daran und [geben Sie Rückmeldung](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Sonstige wesentliche Änderungen seit 2.3 diff --git a/de/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/de/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index e9e5e77fb0..2921bb14ec 100644 --- a/de/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/de/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -13,7 +13,7 @@ ankündigen zu können. Ruby 2.4.0-preview3 ist die dritte Vorschau auf Ruby 2.4.0 und wird in der Absicht veröffentlicht, Feedback von der Gemeinschaft zu erhalten. Bitte -[geben Sie uns Rückmeldung](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport), +[geben Sie uns Rückmeldung](https://github.com/ruby/ruby/wiki/How-To-Report), da Sie immer noch Einfluss auf die Features nehmen können. ## [Verbesserung der Hash-Tabellen (von Wladimir Makarow)](https://bugs.ruby-lang.org/issues/12142) @@ -96,7 +96,7 @@ sinnvolles Debugging. Die Deadlock-Erkennung von Ruby 2.4 listet Threads nun mit ihrem Backtrace und abhängigen Threads. -Versuchen Sie Ruby 2.4.0-preview3, haben Sie Spaß daran und [geben Sie Rückmeldung](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +Versuchen Sie Ruby 2.4.0-preview3, haben Sie Spaß daran und [geben Sie Rückmeldung](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Sonstige wesentliche Änderungen seit 2.3 diff --git a/de/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/de/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index a100683332..1d4e45d984 100644 --- a/de/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/de/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -12,7 +12,7 @@ zu können. Ruby 2.4.0-rc1 ist der erste Veröffentlichungskandidat von Ruby 2.4.0 und dient dazu, Rückmeldungen aus der Community zu -sammeln. Bitte [geben Sie uns Feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport), +sammeln. Bitte [geben Sie uns Feedback](https://github.com/ruby/ruby/wiki/How-To-Report), da noch immer die Möglichkeit besteht, Einfluss auf die Features zu nehmen. @@ -96,7 +96,7 @@ sinnvolles Debugging. Die Deadlock-Erkennung von Ruby 2.4 listet Threads nun mit ihrem Backtrace und abhängigen Threads. -Versuchen Sie Ruby 2.4.0-rc1, haben Sie Spaß daran und [geben Sie Rückmeldung](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +Versuchen Sie Ruby 2.4.0-rc1, haben Sie Spaß daran und [geben Sie Rückmeldung](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Sonstige wesentliche Änderungen seit 2.3 diff --git a/en/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/en/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 3ecbacc53a..e54bee06da 100644 --- a/en/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/en/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -13,7 +13,7 @@ Ruby 2.4.0-preview1 is the first preview of Ruby 2.4.0. This preview1 is released earlier than usual because it includes so many new features and improvements. Feel free to -[send feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[send feedback](https://github.com/ruby/ruby/wiki/How-To-Report) since you can still change the features. ## [Unify Fixnum and Bignum into Integer](https://bugs.ruby-lang.org/issues/12005) @@ -66,7 +66,7 @@ Ruby 2.4's deadlock detection shows threads with their backtrace and dependent threads. Try and enjoy programming with Ruby 2.4.0-preview1, and -[send us feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[send us feedback](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Notable Changes since 2.3 diff --git a/en/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/en/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index 1de02f1c7d..3ed381265b 100644 --- a/en/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/en/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -12,7 +12,7 @@ We are pleased to announce the release of Ruby 2.4.0-preview2. Ruby 2.4.0-preview2 is the second preview of Ruby 2.4.0. This preview2 is released to get feedback from the community. Feel free to -[send feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[send feedback](https://github.com/ruby/ruby/wiki/How-To-Report) since you can still influence the features. ## [Unify Fixnum and Bignum into Integer](https://bugs.ruby-lang.org/issues/12005) @@ -69,7 +69,7 @@ Ruby 2.4's deadlock detection shows threads with their backtrace and dependent threads. Try and enjoy programming with Ruby 2.4.0-preview2, and -[send us feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[send us feedback](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Other notable changes since 2.3 diff --git a/en/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/en/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index 368bf946e5..3907524c0e 100644 --- a/en/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/en/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -12,7 +12,7 @@ We are pleased to announce the release of Ruby 2.4.0-preview3. Ruby 2.4.0-preview3 is the third preview of Ruby 2.4.0. This preview3 is released to get feedback from the community. Feel free to -[send feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[send feedback](https://github.com/ruby/ruby/wiki/How-To-Report) since you can still influence the features. ## [Introduce hash table improvement (by Vladimir Makarov)](https://bugs.ruby-lang.org/issues/12142) @@ -83,7 +83,7 @@ Ruby 2.4's deadlock detection shows threads with their backtrace and dependent threads. Try and enjoy programming with Ruby 2.4.0-preview3, and -[send us feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[send us feedback](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Other notable changes since 2.3 diff --git a/en/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/en/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index 812c0fe41c..8e6f8d26c1 100644 --- a/en/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/en/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -12,7 +12,7 @@ We are pleased to announce the release of Ruby 2.4.0-rc1. Ruby 2.4.0-rc1 is the first release candidate of Ruby 2.4.0. This rc1 is released to get feedback from the community. Feel free to -[send feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[send feedback](https://github.com/ruby/ruby/wiki/How-To-Report) since you can still fix the features. ## [Introduce hash table improvement (by Vladimir Makarov)](https://bugs.ruby-lang.org/issues/12142) @@ -83,7 +83,7 @@ Ruby 2.4's deadlock detection shows threads with their backtrace and dependent threads. Try and enjoy programming with Ruby 2.4.0-rc1, and -[send us feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[send us feedback](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Other notable changes since 2.3 diff --git a/es/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/es/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 88895cb99a..ac7a4f3734 100644 --- a/es/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/es/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -12,7 +12,7 @@ Nos complace anunciar la entrega de Ruby 2.4.0-preview1. Esta versión es la primera vista previa a Ruby 2.4.0 y ha sido liberada antes de lo usual porque incluye muchas mejoras y características nuevas. Por favor no olvides enviar -[tus comentarios](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[tus comentarios](https://github.com/ruby/ruby/wiki/How-To-Report) ya que aún estamos a buen tiempo de hacer cambios. ## [Integrar Fixnum y Bignum en Integer](https://bugs.ruby-lang.org/issues/12005) @@ -66,7 +66,7 @@ La detección de puntos muertos en Ruby 2.4 ahora muestra los threads con su traza inversa y los threads dependientes. Esperamos que disfrutes programar con Ruby 2.4.0-preview1 y no olvides -[enviar tus comentarios](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[enviar tus comentarios](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Cambios significantes desde 2.3 diff --git a/es/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/es/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index 8224848ba2..903d73ab35 100644 --- a/es/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/es/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -12,7 +12,7 @@ Nos complace anunciar el lanzamiento de Ruby 2.4.0-preview2. Ruby 2.4.0-preview2 es la segunda vista previa de Ruby 2.4.0. Este preview2 es liberado para obtener retroalimentación de la comunidad. Siéntete libre de -[enviar tus comentarios](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[enviar tus comentarios](https://github.com/ruby/ruby/wiki/How-To-Report) ya que aún puedes influir en las funcionalidades. ## [Unificación de Fixnum y Bignum en Integer](https://bugs.ruby-lang.org/issues/12005) @@ -67,7 +67,7 @@ no incluye suficiente información para depuración. La detección de deadlocks en Ruby 2.4 muestra los hilos con sus respectivas trazas e hilos dependientes. ¡Prueba y disfruta programar con Ruby 2.4.0-preview2, y -[envíanos retroalimentación](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[envíanos retroalimentación](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Otros cambios notables desde 2.3 diff --git a/es/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/es/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index 98329af1b0..baea1456dc 100644 --- a/es/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/es/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -12,7 +12,7 @@ Nos complace anunciar el lanzamiento de Ruby 2.4.0-preview3. Ruby 2.4.0-preview3 es las tercer versión preelimiar de Ruby 2.4.0. Esta versión preview3 es liberada para obtener retroalimentación de la comunidad. Tómate la libertad de -[enviar tus comentarios](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[enviar tus comentarios](https://github.com/ruby/ruby/wiki/How-To-Report) ya que aún puedes influir en las funcionalidades. ## [Presentamos una mejora a las tablas de hash por Vladimir Makarov](https://bugs.ruby-lang.org/issues/12142) @@ -81,7 +81,7 @@ no incluye suficiente información para depuración. La detección de deadlocks en Ruby 2.4 muestra los hilos con sus respectivas trazas e hilos dependientes. ¡Prueba y disfruta programar con Ruby 2.4.0-preview3, y -[envíanos retroalimentación](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[envíanos retroalimentación](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Otros cambios notables desde 2.3 diff --git a/es/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/es/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index d3dc23c332..67179a1011 100644 --- a/es/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/es/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -12,7 +12,7 @@ Nos complace anunciar el lanzamiento de Ruby 2.4.0-rc1. Ruby 2.4.0-rc1 es el primer candidato a lanzamiento de Ruby 2.4.0. Esta versión rc1 es liberada para obtener retroalimentación de la comunidad. Siéntete libre de -[enviar tu retroalimentación](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[enviar tu retroalimentación](https://github.com/ruby/ruby/wiki/How-To-Report) ya que aún puedes arreglar las funcionalidades. ## [Presentamos una mejora a las tablas de hash por Vladimir Makarov](https://bugs.ruby-lang.org/issues/12142) @@ -87,7 +87,7 @@ de deadlocks en Ruby 2.4 muestra los hilos con sus respectivas trazas e hilos dependientes. ¡Prueba y disfruta programar con Ruby 2.4.0-rc1, y -[envíanos retroalimentación](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[envíanos retroalimentación](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Otros cambios notables desde 2.3 diff --git a/fr/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/fr/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index f782e877cd..be58636054 100644 --- a/fr/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/fr/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -11,7 +11,7 @@ Nous sommes heureux d'annoncer la sortie de Ruby 2.4.0-rc1. Ruby 2.4.0-rc1 est la première *release candidate* pour la version stable 2.4.0 Le but de cette version est d'obtenir des retours de la communauté : n'hésitez -pas à nous [envoyer vos remarques](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport). +pas à nous [envoyer vos remarques](https://github.com/ruby/ruby/wiki/How-To-Report). ## [Améliorations de la table de hachage (par Vladimir Makarov)](https://bugs.ruby-lang.org/issues/12142) @@ -91,7 +91,7 @@ Ruby 2.4 ajoute la backtrace au rapport, ainsi qu'une liste des threads dépendants. Nous vous invitons à essayer tous ces changements apportés par Ruby 2.4.0-rc1 -et à nous [faire vos retours](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) ! +et à nous [faire vos retours](https://github.com/ruby/ruby/wiki/How-To-Report) ! ## Autres changements notables depuis la version 2.3 diff --git a/fr/news/_posts/2016-12-25-ruby-2-4-0-released.md b/fr/news/_posts/2016-12-25-ruby-2-4-0-released.md index f784cf294e..63d57850b8 100644 --- a/fr/news/_posts/2016-12-25-ruby-2-4-0-released.md +++ b/fr/news/_posts/2016-12-25-ruby-2-4-0-released.md @@ -90,7 +90,7 @@ Ruby 2.4 ajoute la backtrace au rapport, ainsi qu'une liste des threads dépendants. Nous vous invitons à essayer tous ces changements apportés par Ruby 2.4.0-rc1 -et à nous [faire vos retours](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) ! +et à nous [faire vos retours](https://github.com/ruby/ruby/wiki/How-To-Report) ! ## Autres changements notables depuis la version 2.3 diff --git a/id/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/id/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index fa9a7e710f..c9eb97f840 100644 --- a/id/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/id/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -13,7 +13,7 @@ Ruby 2.4.0-preview1 adalah *preview* pertama dari Ruby 2.4.0. Preview1 ini dirilis lebih awal dari biasanya karena versi ini mencakup banyak fitur baru dan perbaikan. Jangan ragu untuk -[mengirimkan umpan balik](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[mengirimkan umpan balik](https://github.com/ruby/ruby/wiki/How-To-Report) karena Anda masih bisa mengubah fitur-fitur ini. ## [Menyatukan Fixnum dan Bignum ke dalam Integer](https://bugs.ruby-lang.org/issues/12005) @@ -67,7 +67,7 @@ mencakup informasi yang cukup untuk *debugging*. *dependency*-nya. Coba dan nikmati memprogram dengan Ruby 2.4.0-preview1, dan -[kirimkan umpan balik ke kami](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[kirimkan umpan balik ke kami](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Perubahan Penting sejak 2.3 diff --git a/id/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/id/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index eaf3c8e2e5..f640a65486 100644 --- a/id/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/id/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -12,7 +12,7 @@ Kami dengan senang hati mengumumkan rilis dari Ruby 2.4.0-preview2. Ruby 2.4.0-preview2 adalah *preview* kedua dari Ruby 2.4.0. Preview2 ini dirilis untuk mendapatkan umpan balik dari komunitas. Jangan ragu untuk -[mengirimkan umpan balik](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[mengirimkan umpan balik](https://github.com/ruby/ruby/wiki/How-To-Report) karena Anda masih dapat mengubah fitur-fitur ini. ## [Menyatukan Fixnum dan Bignum ke dalam Integer](https://bugs.ruby-lang.org/issues/12005) @@ -69,7 +69,7 @@ Pendeteksi *deadlock* Ruby 2.4 menunjukkan *thread* dengan *backtrace* dan *dependency thread*. Coba dan nikmati memprogram dengan Ruby 2.4.0-preview2, dan -[kirim umpan balik ke kami](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[kirim umpan balik ke kami](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Perubahan Penting sejak 2.3 diff --git a/id/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/id/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index af0fe277e1..8225047da9 100644 --- a/id/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/id/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -12,7 +12,7 @@ Kami dengan senang hati mengumumkan rilis dari Ruby 2.4.0-preview3. Ruby 2.4.0-preview3 adalah *preview* ketiga dari Ruby 2.4.0. Preview3 ini dirilis untuk mendapatkan umpan balik dari komunitas. Jangan ragu untuk -[mengirimkan umpan balik](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[mengirimkan umpan balik](https://github.com/ruby/ruby/wiki/How-To-Report) karena Anda masih bisa mengubah fitur-fitur ini. ## [Memperkenalkan penyempurnaan hash table oleh Vladimir Makarov](https://bugs.ruby-lang.org/issues/12142) @@ -87,7 +87,7 @@ tidak mengandung cukup informasi untuk *debugging*. *backtrace* dan *dependency*-nya. Coba dan nikmati memprogram dengan Ruby 2.4.0-preview3, dan -[kirimkan umpan balik ke kami](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[kirimkan umpan balik ke kami](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Perubahan penting lainnya sejak 2.3 diff --git a/id/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/id/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index 72d52a899a..49afe24dd4 100644 --- a/id/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/id/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -12,7 +12,7 @@ Kami dengan senang hati mengumumkan rilis dari Ruby 2.4.0-rc1. Ruby 2.4.0-rc1 adalah kandidat rilis pertama dari Ruby 2.4.0. rc1 ini dirilis untuk mendapatkan umpan balik dari komunitas. Jangan ragu untuk -[mengirimkan umpan balik](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[mengirimkan umpan balik](https://github.com/ruby/ruby/wiki/How-To-Report) karena Anda masih bisa memperbaiki fitur-fitur. ## [Memperkenalkan penyempurnaan hash table (oleh Vladimir Makarov)](https://bugs.ruby-lang.org/issues/12142) @@ -85,7 +85,7 @@ tidak mengandung cukup informasi untuk *debugging*. *backtrace* dan *dependency*-nya. Coba dan nikmati memprogram dengan Ruby 2.4.0-rc1, dan [kirimkan umpan balik ke -kami](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +kami](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Perubahan penting lainnya sejak 2.3 diff --git a/it/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/it/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index 88fdd5fe8b..e162995a3e 100644 --- a/it/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/it/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -11,7 +11,7 @@ Siamo lieti di annunciare la release di Ruby 2.4.0-preview2. Ruby 2.4.0-preview2 è la prima anteprima di Ruby 2.4.0. Questa preview2 è rilasciata per avere dei feedback dalla community. -[Mandate pure feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[Mandate pure feedback](https://github.com/ruby/ruby/wiki/How-To-Report) poiché potete ancora influenzare le features. ## [Fixnum e Bignum unificati in Integer](https://bugs.ruby-lang.org/issues/12005) @@ -70,7 +70,7 @@ La deadlock detection di Ruby 2.4's mostra i thread con il loro backtrace e i thread dipendenti. Dilettatevi nella programmazione con Ruby 2.4.0-preview2 e -[mandateci feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[mandateci feedback](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Modifiche importanti dalla 2.3 diff --git a/ja/dev/index.md b/ja/dev/index.md index f33422bc0e..feb685d0fc 100644 --- a/ja/dev/index.md +++ b/ja/dev/index.md @@ -9,7 +9,7 @@ lang: ja ## Wiki -Rubyの開発に関連する文書は現在主に[Redmine(問題追跡システム)のWiki][1]に集められています。 +Rubyの開発に関連する文書は現在主に[GitHubのWiki][1]に集められています。 ## 質疑応答 @@ -20,7 +20,7 @@ Rubyの開発についての議論は、主に、メーリングリストruby-de Rubyの不具合や機能追加の要望などは[Redmine(問題追跡システム)][2]で管理されています。 -また、[RedmineのWiki][1]では、Rubyの開発を追いかけるにあたって役に立つ情報が集積されています。 そちらも参照してください。 +また、[GitHubのWiki][1]では、Rubyの開発を追いかけるにあたって役に立つ情報が集積されています。 そちらも参照してください。 ## ソースコード @@ -49,7 +49,7 @@ Posted by usa on 13 Aug 2008 -[1]: https://bugs.ruby-lang.org/projects/ruby/wiki +[1]: https://github.com/ruby/ruby/wiki [2]: https://bugs.ruby-lang.org/ [3]: {{ site.data.downloads.nightly_snapshot.url.gz }} [4]: {{ site.data.downloads.stable_snapshots[0].url.gz }} diff --git a/ja/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/ja/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index 30139227f2..0de7953b8f 100644 --- a/ja/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/ja/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -11,7 +11,7 @@ Ruby 2.4.0-preview3がリリースされました. これはRuby 2.4.0に向けた3番目のプレビューリリースになります。 プレビューリリースとはRubyコミュニティのフィードバックを得るためにリリースされています。 -何かお気づきの際は、Ruby 2.4.0をよりよくするために[Ruby バグレポートガイドライン](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReportJa)を参考にしてバグレポートや提案を送ってください。 +何かお気づきの際は、Ruby 2.4.0をよりよくするために[Ruby バグレポートガイドライン](https://github.com/ruby/ruby/wiki/How-To-Report-Ja)を参考にしてバグレポートや提案を送ってください。 ## [Introduce hash table improvement by Vladimir Makarov](https://bugs.ruby-lang.org/issues/12142) @@ -77,7 +77,7 @@ Ruby 2.4's deadlock detection shows threads with their backtrace and dependent threads. Try and enjoy programming with Ruby 2.4.0-preview3, and -[send us feedback](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[send us feedback](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Other notable changes since 2.3 diff --git a/ko/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/ko/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index c0c9ce96ae..871ff6c1a1 100644 --- a/ko/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/ko/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -13,7 +13,7 @@ lang: ko 이 프리뷰는 많은 새 기능과 개선들을 포함하고 있어서 이례적으로 이르게 릴리스 되었습니다. 아직 기능이 확정되지 않았으니, 자유롭게 -[피드백](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)을 보내주세요. +[피드백](https://github.com/ruby/ruby/wiki/How-To-Report)을 보내주세요. ## [Fixnum과 Bignum을 Integer로 통합](https://bugs.ruby-lang.org/issues/12005) @@ -63,7 +63,7 @@ ASCII 대/소문자 대응 대신에 유니코드 대/소문자 대응을 지원 루비 2.4의 교착상태 탐지는 스레드의 백트레이스와 의존하고 있는 스레드에 대한 정보를 보여주게 됩니다. 루비 2.4.0-preview1로 즐겁게 프로그램을 작성해보세요. -그리고 여러분의 [느낀 점을 알려주세요](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +그리고 여러분의 [느낀 점을 알려주세요](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 2.3 이후의 주목할 만한 변경 diff --git a/ko/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/ko/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index eaff49ec65..ebfaefd94a 100644 --- a/ko/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/ko/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -11,7 +11,7 @@ lang: ko 루비 2.4.0-preview2은 루비 2.4.0의 두 번째 프리뷰입니다. 이 프리뷰는 커뮤니티의 반응을 살펴보기 위해 릴리스되었습니다. -기능에서 혼란을 느낀다면 부담없이 [피드백](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)을 보내주세요. +기능에서 혼란을 느낀다면 부담없이 [피드백](https://github.com/ruby/ruby/wiki/How-To-Report)을 보내주세요. ## [Fixnum과 Bignum을 Integer로 통합](https://bugs.ruby-lang.org/issues/12005) @@ -65,7 +65,7 @@ ASCII 대/소문자 대응 대신에 유니코드 대/소문자 대응을 지원 루비 2.4의 교착상태 탐지는 스레드의 백트레이스와 의존하고 있는 스레드에 대한 정보를 보여주게 됩니다. 루비 2.4.0-preview2로 즐겁게 프로그램을 작성해보세요. -그리고 여러분이 [느낀 점을 알려주세요](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +그리고 여러분이 [느낀 점을 알려주세요](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 2.3 이후의 주목할 만한 변경 diff --git a/ko/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/ko/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index 426f6bfc60..08bd6f7719 100644 --- a/ko/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/ko/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -11,7 +11,7 @@ lang: ko 루비 2.4.0-preview3은 루비 2.4.0의 세 번째 프리뷰입니다. 이 프리뷰는 커뮤니티의 반응을 살펴보기 위해 릴리스되었습니다. -기능에서 혼란을 느낀다면 부담없이 [피드백](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)을 보내주세요. +기능에서 혼란을 느낀다면 부담없이 [피드백](https://github.com/ruby/ruby/wiki/How-To-Report)을 보내주세요. ## [Vladimir Makarov의 해시 테이블 개선을 도입](https://bugs.ruby-lang.org/issues/12142) @@ -75,7 +75,7 @@ ASCII 대/소문자 대응 대신에 유니코드 대/소문자 대응을 지원 루비 2.4의 교착상태 탐지는 스레드의 백트레이스와 의존하고 있는 스레드에 대한 정보를 보여주게 됩니다. 루비 2.4.0-preview3으로 즐겁게 프로그램을 작성해보세요. -그리고 여러분이 [느낀 점을 알려주세요](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +그리고 여러분이 [느낀 점을 알려주세요](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 2.3 이후의 주목할 만한 변경 diff --git a/ko/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/ko/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index 6a388d24ce..e95f34a672 100644 --- a/ko/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/ko/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -12,7 +12,7 @@ lang: ko 루비 2.4.0-rc1은 루비 2.4.0의 첫 번째 릴리스 후보입니다. rc1은 커뮤니티의 피드백을 받기 위해 릴리스되었습니다. 아직 기능을 고칠 수 있으니 자유롭게 -[피드백을 보내주세요](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport). +[피드백을 보내주세요](https://github.com/ruby/ruby/wiki/How-To-Report). ## [해시 테이블의 성능을 향상시켰습니다(Vladimir Makarov)](https://bugs.ruby-lang.org/issues/12142) @@ -84,7 +84,7 @@ Fixnum이나 Bignum 클래스를 변경하는 모든 C 확장을 고쳐야 합 스레드를 보여줍니다. 루비 2.4.0-rc1로 프로그래밍 해보고 -[의견을 보내주세요](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[의견을 보내주세요](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 그 외의 중요한 2.3 이후의 변경 사항 diff --git a/pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 85a1b757e9..4b51eece83 100644 --- a/pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/pl/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -12,7 +12,7 @@ Jest nam miło ogłosić wydanie Rubiego 2.4.0-preview1. Ruby 2.4.0-preview1 jest pierwszym wydaniem wstępnym Rubiego 2.4.0. Wydanie preview1 pojawiło się wcześniej niż zwykle ponieważ zawiera dużo usprawnień oraz funkcjonalności. -[Podziel się](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[Podziel się](https://github.com/ruby/ruby/wiki/How-To-Report) z nami swoimi uwagami poniważ Ruby 2.4.0 jest nadal w trakcie rozwoju ## [Połączenie Fixnum i Bignum do klasy Integer](https://bugs.ruby-lang.org/issues/12005) @@ -64,7 +64,7 @@ na debugowanie. Od Rubiego 2.4 pokazywane będą zrzuty stosu oraz zależności oczekujących wątków. Wypróbuj Rubiego 2.4.0-preview1 i -[podziel się](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[podziel się](https://github.com/ruby/ruby/wiki/How-To-Report) z nami swoimi spostrzeżeniami! ## Znaczące zmiany w stosunku do wersji 2.3 diff --git a/pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 9152f01f5b..e1c3e028ec 100644 --- a/pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/pt/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -13,7 +13,7 @@ Ruby 2.4.0-preview1 é o primeiro *preview* do Ruby 2.4.0. Este preview1 está sendo lançado antes do usual porque ele inclui várias funcionalidades novas e melhorias. Sinta-se a vontade para -[enviar comentários](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[enviar comentários](https://github.com/ruby/ruby/wiki/How-To-Report) já que você ainda pode mudar as funcionalidades. @@ -67,7 +67,7 @@ A detecção de *deadlock* no Ruby 2.4 mostrar *threads* com seu histórico e *threads* dependentes. Experimente e aproveite programando com Ruby 2.4.0-preview1, e -[nos envie comentários](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[nos envie comentários](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Mudanças notáveis desde 2.3 diff --git a/pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index c10cff2be9..725a3dbdf5 100644 --- a/pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/pt/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -12,7 +12,7 @@ Estamos satisfeitos em anunciar o lançamento do Ruby 2.4.0-preview2. Ruby 2.4.0-preview2 é o segundo *preview* do Ruby 2.4.0. Este preview2 está sendo lançado para receber comentários da comunidade. Sinta-se a vontade para -[enviar comentários](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[enviar comentários](https://github.com/ruby/ruby/wiki/How-To-Report) sendo que você ainda pode mudar as funcionalidades. ## [Unificação de Fixnum e Bignum em Integer](https://bugs.ruby-lang.org/issues/12005) @@ -69,7 +69,7 @@ A detecção de *deadlock* no Ruby 2.4 mostrar *threads* com seu histórico e *threads* dependentes. Experimente e aproveite programando com Ruby 2.4.0-preview2, e -[nos envie comentários](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[nos envie comentários](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Mudanças notáveis desde de 2.3 diff --git a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index 25003389a4..31c53d63dd 100644 --- a/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/pt/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -13,7 +13,7 @@ A versão 2.4.0-preview3 do Ruby é a terceira *preview* do Ruby 2.4.0, lançada com o fim de obter *feedback* da comunidade. Poderão -[enviar *feedback*](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[enviar *feedback*](https://github.com/ruby/ruby/wiki/How-To-Report) uma vez que ainda podem influenciar das funcionalidades. ## [Introdução de melhorias nas hash tables por Vladimir Makarov](https://bugs.ruby-lang.org/issues/12142) @@ -78,7 +78,7 @@ inclui informação suficiente para depuração. A deteção de *deadlocks* no Ruby 2.4 mostra *threads* com o seu *backtrace* e *threads* dependentes. Experimente e desfrute a programação com o Ruby 2.4.0-preview3 e -[envie-nos o seu *feedback*](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[envie-nos o seu *feedback*](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Outras alterações importantes desde a versão 2.3 diff --git a/ru/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/ru/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index e61bf7fc8c..338c0fac2a 100644 --- a/ru/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/ru/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -13,7 +13,7 @@ Ruby 2.4.0-preview1 – это первое превью Ruby 2.4.0. Этот preview1 вышел раньше, чем обычно, так как он содержит очень много нововведений и улучшений. Пожалуйста, присылайте -[отзывы](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport), +[отзывы](https://github.com/ruby/ruby/wiki/How-To-Report), так как вы все еще можете повлиять на нововведения. ## [Объединение Fixnum и Bignum в Integer](https://bugs.ruby-lang.org/issues/12005) @@ -65,7 +65,7 @@ Ruby игнорирует ошибки в тредах, если другой т бектрейсами и зависимыми потоками. Пробуйте и наслаждайтесь программированием на Ruby 2.4.0-preview1, и присылайте, -пожалуйста, нам [отзывы](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +пожалуйста, нам [отзывы](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Значительные изменения от версии 2.3 diff --git a/vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 6c592e7dcf..459ae703d9 100644 --- a/vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/vi/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -13,7 +13,7 @@ Chúng tôi rất hân hạnh được thông báo về việc phát hành Ruby Phiên bản Ruby 2.4.0-preview1 là phiên bản preview đầu tiên của Ruby 2.4.0. Bản preview1 lần này được phát hành sớm hơn so với thông thường vì nó bao gồm rất nhiều chức năng và cải tiến. Mọi người đừng ngại -[phản hồi](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) lại cho +[phản hồi](https://github.com/ruby/ruby/wiki/How-To-Report) lại cho chúng tôi về phiên bản này, vì các chức năng vẫn có thể được thay đổi và cập nhật. ## [Hợp nhất Fixnum và Bignum vào Integer](https://bugs.ruby-lang.org/issues/12005) @@ -69,7 +69,7 @@ khi phát hiện ra Deadlock, Ruby sẽ hiển thị các thread cùng với bac và các threads liên quan. Mời mọi người dùng thử và cảm nhận việc lập trình với Ruby 2.4.0-preview1, -đồng thời [gửi phản hồi cho chúng tôi](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +đồng thời [gửi phản hồi cho chúng tôi](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Thay đổi đáng chú ý so với phiên bản 2.3 diff --git a/vi/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/vi/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index b541434b99..77da4206f9 100644 --- a/vi/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/vi/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -12,7 +12,7 @@ Chúng tôi rất hân hạnh được thông báo về việc phát hành Ruby Phiên bản 2.4.0-rc1 là phiên bản release candidate đầu tiên của Ruby 2.4.0. Phiên bản rc1 này được phát hành để nhận phản hồi từ cộng đồng. Hãy thoải mái -[gửi phản hồi](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport) +[gửi phản hồi](https://github.com/ruby/ruby/wiki/How-To-Report) vì bạn vẫn có thể sửa những tính năng. ## [Giới thiệu cải tiến hash table (bởi Vladimir Makarov)](https://bugs.ruby-lang.org/issues/12142) @@ -76,7 +76,7 @@ Ruby đã có cơ chế phát hiện deadlock của các threads, tuy nhiên cá Từ bản 2.4 trở đi, khi phát hiện ra Deadlock, Ruby sẽ hiển thị các thread cùng với backtrace và các threads liên quan. Mời mọi người dùng thử và cảm nhận việc lập trình với Ruby 2.4.0-rc1, và -[gửi phản hồi cho chúng tôi](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +[gửi phản hồi cho chúng tôi](https://github.com/ruby/ruby/wiki/How-To-Report)! ## Thay đổi đáng chú ý so với phiên bản 2.3 diff --git a/zh_cn/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/zh_cn/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 88551e4d3b..7b34cfc1b3 100644 --- a/zh_cn/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/zh_cn/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -11,7 +11,7 @@ lang: zh_cn Ruby 2.4.0-preview1 是 Ruby 2.4.0 的首个预览版。 这个预览版的发布比平常早一点,因为它包括了很多新功能和改进。 -敬请给我们[反馈](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport),因为你还可以改变一些功能。 +敬请给我们[反馈](https://github.com/ruby/ruby/wiki/How-To-Report),因为你还可以改变一些功能。 ## [统一 Fixnum 和 Bignum 为 Integer](https://bugs.ruby-lang.org/issues/12005) @@ -53,7 +53,7 @@ Ruby 忽视线程中的异常,除非另一个线程显式地执行直至结束 Ruby 在线程等待地时候会进行死锁检查,但是检查的结果没有足够的信息用来调试。 Ruby 2.4 死锁检查会显示他们的栈信息和依赖线程。 -尝试并且享受用与 Ruby 2.4.0-preview1 的编码时光,有任何问题,敬请[反馈](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +尝试并且享受用与 Ruby 2.4.0-preview1 的编码时光,有任何问题,敬请[反馈](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 自 2.3 起显著的改变 diff --git a/zh_cn/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/zh_cn/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index eade7cda4e..38770d7add 100644 --- a/zh_cn/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/zh_cn/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -11,7 +11,7 @@ lang: zh_cn Ruby 2.4.0-rc1 是 Ruby 2.4.0 的第一个候选版本。 发布 rc1 版本是为了从社区得带更多反馈。 -请[发送反馈](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport), +请[发送反馈](https://github.com/ruby/ruby/wiki/How-To-Report), 因为你可以帮助修复这些功能。 ## [哈希表的提升(由 Vladimir Makarov 提供)](https://bugs.ruby-lang.org/issues/12142) @@ -69,7 +69,7 @@ Ruby 忽视线程中的异常,除非另一个线程显式地执行直至结束 Ruby 在线程等待地时候会进行死锁检查,但是检查的结果没有足够的信息用来调试。 Ruby 2.4 死锁检查会显示他们的栈信息和依赖线程。 -尝试并且享受用与 Ruby 2.4.0-rc1 的编码时光,有任何问题,敬请[反馈](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +尝试并且享受用与 Ruby 2.4.0-rc1 的编码时光,有任何问题,敬请[反馈](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 其他自 2.3 起显著的改变 diff --git a/zh_tw/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md b/zh_tw/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md index 7fc366c4cd..aa432e3d36 100644 --- a/zh_tw/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md +++ b/zh_tw/news/_posts/2016-06-20-ruby-2-4-0-preview1-released.md @@ -11,7 +11,7 @@ lang: zh_tw Ruby 2.4.0-preview1 是 Ruby 2.4.0 的首個預覽版。 這個預覽版發佈的比平常早,因為包含了許多新功能和改良。 -有任何想修改的功能,敬請給我們[建議](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)。 +有任何想修改的功能,敬請給我們[建議](https://github.com/ruby/ruby/wiki/How-To-Report)。 ## [Fixnum 和 Bignum 統整為 Integer](https://bugs.ruby-lang.org/issues/12005) @@ -52,7 +52,7 @@ Ruby 2.4 還包括以下效能優化及語法變更: Ruby 在等待線程執行時會進行死鎖檢查,但檢查結果沒有足夠的資訊來除錯。 Ruby 2.4 的死鎖檢查會顯示錯誤資訊及相依的線程。 -請嘗試並享受與 Ruby 2.4.0-preview1 的編碼時光,有任何問題敬請[不吝指出](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +請嘗試並享受與 Ruby 2.4.0-preview1 的編碼時光,有任何問題敬請[不吝指出](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 自 2.3 起重要的變化 diff --git a/zh_tw/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md b/zh_tw/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md index de6228ed2a..d413adb705 100644 --- a/zh_tw/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md +++ b/zh_tw/news/_posts/2016-09-08-ruby-2-4-0-preview2-released.md @@ -11,7 +11,7 @@ lang: zh_tw Ruby 2.4.0-preview2 是 Ruby 2.4.0 的第二個預覽版。 為了獲得社群的寶貴意見發佈了此版本。 -請不吝[至此反饋](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport),你仍可以對將來的功能做出改變。 +請不吝[至此反饋](https://github.com/ruby/ruby/wiki/How-To-Report),你仍可以對將來的功能做出改變。 ## [Fixnum 和 Bignum 統整為 Integer](https://bugs.ruby-lang.org/issues/12005) @@ -52,7 +52,7 @@ Ruby 2.4 還包括以下效能優化及語法變更: Ruby 在等待線程執行時會進行死鎖檢查,但檢查結果沒有足夠的資訊來除錯。 Ruby 2.4 的死鎖檢查會顯示錯誤資訊及相依的線程。 -請嘗試並享受與 Ruby 2.4.0-preview2 的編碼時光,有任何問題敬請[不吝指出](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +請嘗試並享受與 Ruby 2.4.0-preview2 的編碼時光,有任何問題敬請[不吝指出](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 自 2.3 起重要的變化 diff --git a/zh_tw/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md b/zh_tw/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md index 3ac1ce0b3e..8a03ce9cc3 100644 --- a/zh_tw/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md +++ b/zh_tw/news/_posts/2016-11-09-ruby-2-4-0-preview3-released.md @@ -11,7 +11,7 @@ lang: zh_tw Ruby 2.4.0-preview3 是 Ruby 2.4.0 的第三個預覽版。 為了獲得社群的寶貴意見所以發佈了 preview3。 -請不吝[至此反饋](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport),您仍可以對將來的功能做出改變。 +請不吝[至此反饋](https://github.com/ruby/ruby/wiki/How-To-Report),您仍可以對將來的功能做出改變。 ## [Vladimir Makarov 改良了哈希表](https://bugs.ruby-lang.org/issues/12142) @@ -60,7 +60,7 @@ Ruby 2.4 還包括以下效能優化及語法變更: Ruby 在等待線程執行時會進行死鎖檢查,但檢查結果沒有足夠的資訊來除錯。 Ruby 2.4 的死鎖檢查會顯示錯誤資訊及相依的線程。 -請嘗試並享受與 Ruby 2.4.0-preview3 的編碼時光,有任何問題敬請[不吝指出](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +請嘗試並享受與 Ruby 2.4.0-preview3 的編碼時光,有任何問題敬請[不吝指出](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 自 2.3 起重要的變化 diff --git a/zh_tw/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md b/zh_tw/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md index 28cd74a0a4..7b2f1737d7 100644 --- a/zh_tw/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md +++ b/zh_tw/news/_posts/2016-12-12-ruby-2-4-0-rc1-released.md @@ -11,7 +11,7 @@ lang: zh_tw Ruby 2.4.0-rc1 是 Ruby 2.4.0 的第一個候選版本。 為了獲得社群的寶貴意見所以發佈了 rc1。 -請不吝[至此反饋](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport),您仍可以對將來的功能做出改變。 +請不吝[至此反饋](https://github.com/ruby/ruby/wiki/How-To-Report),您仍可以對將來的功能做出改變。 ## [Vladimir Makarov 改良了哈希表](https://bugs.ruby-lang.org/issues/12142) @@ -60,7 +60,7 @@ Ruby 2.4 還包括以下效能優化及語法變更: Ruby 在等待線程執行時會進行死鎖檢查,但檢查結果沒有足夠的資訊來除錯。 Ruby 2.4 的死鎖檢查會顯示錯誤資訊及相依的線程。 -請嘗試並享受與 Ruby 2.4.0-rc1 的編碼時光,有任何問題敬請[不吝指出](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport)! +請嘗試並享受與 Ruby 2.4.0-rc1 的編碼時光,有任何問題敬請[不吝指出](https://github.com/ruby/ruby/wiki/How-To-Report)! ## 自 2.3 起重要的變化 From 2f17b743d9bcd72d2717b7b1f09765d940f499c4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 26 Jun 2023 14:29:46 +0900 Subject: [PATCH 1992/2563] Initial post for CVE-2023-36617 --- .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md diff --git a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md new file mode 100644 index 0000000000..6be1139eb9 --- /dev/null +++ b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2023-36617: ReDoS vulnerability in URI" +author: "hsbt" +translator: +date: 2023-06-29 01:00:00 +0000 +tags: security +lang: en +--- + +We have released the uri gem version 0.12.1, 0.10.2 that has a security fix for a ReDoS vulnerability. +This vulnerability has been assigned the CVE identifier [CVE-2023-36617](https://www.cve.org/CVERecord?id=CVE-2023-36617). + +## Details + +A ReDoS issue was discovered in the URI component through 0.12.1 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with rfc2396_parser.rb and rfc3986_parser.rb. + +NOTE: this issue exists becuse of an incomplete fix for [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/). + +The `uri` gem version 0.12.1 and all versions prior 0.12.1 are vulnerable for this vulnerability. + +## Recommended action + +We recommend to update the `uri` gem to 0.12.2. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: + +* For Ruby 3.0: Update to `uri` 0.10.2 +* For Ruby 3.1 and 3.2: Update to `uri` 0.12.2 + +You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.2"` (or other version mentioned above) to your `Gemfile`. + +## Affected versions + +* uri gem 0.12.1 or before + +## Credits + +Thanks to [ooooooo_q](https://hackerone.com/ooooooo_q) for discovering this issue. + +Thanks to [nobu](https://github.com/nobu) for fixing this issue. + +## History + +* Originally published at 2023-06-29 01:00:00 (UTC) From fdde37939c6c832372ae045f0850d830667d15b9 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 29 Jun 2023 10:13:13 +0900 Subject: [PATCH 1993/2563] Fix a wrong version --- en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index 6be1139eb9..a590f1d456 100644 --- a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -23,7 +23,7 @@ The `uri` gem version 0.12.1 and all versions prior 0.12.1 are vulnerable for th We recommend to update the `uri` gem to 0.12.2. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: -* For Ruby 3.0: Update to `uri` 0.10.2 +* For Ruby 3.0: Update to `uri` 0.10.3 * For Ruby 3.1 and 3.2: Update to `uri` 0.12.2 You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.2"` (or other version mentioned above) to your `Gemfile`. From 9f7308a48e5ee5881d8cd01ca3e72b2a43a56cd4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 29 Jun 2023 10:18:59 +0900 Subject: [PATCH 1994/2563] Update latest dependencies in lockfile --- Gemfile.lock | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 3235b504b6..bfadc88918 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,13 +5,15 @@ GEM addressable (2.8.4) public_suffix (>= 2.0.2, < 6.0) afm (0.2.2) - async (2.5.0) + async (2.6.2) console (~> 1.10) + fiber-annotation io-event (~> 1.1) timers (~> 4.1) colorator (1.1.0) concurrent-ruby (1.2.2) - console (1.16.2) + console (1.17.2) + fiber-annotation fiber-local crass (1.0.6) em-websocket (0.5.3) @@ -21,11 +23,12 @@ GEM ffi (>= 1.15.0) eventmachine (1.2.7) ffi (1.15.5) + fiber-annotation (0.2.0) fiber-local (1.0.0) forwardable-extended (2.6.0) - google-protobuf (3.22.3) - google-protobuf (3.22.3-arm64-darwin) - google-protobuf (3.22.3-x86_64-linux) + google-protobuf (3.23.3) + google-protobuf (3.23.3-arm64-darwin) + google-protobuf (3.23.3-x86_64-linux) hashery (2.1.2) html-proofer (5.0.7) addressable (~> 2.3) @@ -37,9 +40,9 @@ GEM yell (~> 2.0) zeitwerk (~> 2.5) http_parser.rb (0.8.0) - i18n (1.12.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) - io-event (1.1.7) + io-event (1.2.2) jekyll (4.3.2) addressable (~> 2.4) colorator (~> 1.0) @@ -70,14 +73,14 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - mini_portile2 (2.8.1) - minitest (5.18.0) - nokogiri (1.14.3) - mini_portile2 (~> 2.8.0) + mini_portile2 (2.8.2) + minitest (5.18.1) + nokogiri (1.15.2) + mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.14.3-arm64-darwin) + nokogiri (1.15.2-arm64-darwin) racc (~> 1.4) - nokogiri (1.14.3-x86_64-linux) + nokogiri (1.15.2-x86_64-linux) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) @@ -89,23 +92,23 @@ GEM ruby-rc4 ttfunk public_suffix (5.0.1) - racc (1.6.2) + racc (1.7.1) rainbow (3.1.1) rake (13.0.6) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.5) - rouge (4.1.0) + rouge (4.1.2) ruby-rc4 (0.1.5) safe_yaml (1.0.5) - sass-embedded (1.62.0) - google-protobuf (~> 3.21) - rake (>= 10.0.0) - sass-embedded (1.62.0-arm64-darwin) - google-protobuf (~> 3.21) - sass-embedded (1.62.0-x86_64-linux-gnu) - google-protobuf (~> 3.21) + sass-embedded (1.63.6) + google-protobuf (~> 3.23) + rake (>= 13.0.0) + sass-embedded (1.63.6-arm64-darwin) + google-protobuf (~> 3.23) + sass-embedded (1.63.6-x86_64-linux-gnu) + google-protobuf (~> 3.23) slop (4.10.1) spidr (0.7.0) nokogiri (~> 1.3) @@ -133,7 +136,7 @@ GEM rexml (~> 3.2) webrick (1.8.1) yell (2.2.2) - zeitwerk (2.6.7) + zeitwerk (2.6.8) PLATFORMS arm64-darwin-22 @@ -149,4 +152,4 @@ DEPENDENCIES validate-website (~> 1.6) BUNDLED WITH - 2.4.10 + 2.4.14 From 6f0730684de95fcbc421a8096d56e44e889be006 Mon Sep 17 00:00:00 2001 From: gaojun Date: Mon, 15 May 2023 12:19:55 +0800 Subject: [PATCH 1995/2563] Translate Ruby 3.3.0-preview1 Released(zh_cn) --- ...2023-05-12-ruby-3-3-0-preview1-released.md | 161 ++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 zh_cn/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md diff --git a/zh_cn/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/zh_cn/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md new file mode 100644 index 0000000000..a2e366e1c4 --- /dev/null +++ b/zh_cn/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -0,0 +1,161 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview1 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2023-05-12 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview1" | first %} + +我们很高兴地宣布 Ruby {{ release.version }} 发布。Ruby 3.3 新增了纯 Ruby 实现的 JIT 编译器 RJIT;使用 Lrama 作为解析生成器;另有许多性能改进,尤其是 YJIT。 + +## RJIT + +* 引入了纯 Ruby 的 JIT 编译器 RJIT 并替代 MJIT。 + * RJIT 仅支持 x86\_64 架构上的 Unix 平台。 + * 不同于 MJIT,RJIT在运行时不需要 C 编译器。 +* RJIT 目前仅用于实验目的。 + * 您在生产环境中应当继续使用 YJIT。 +* 如果您有兴趣为 Ruby 开发 JIT,请查看[k0kubun 在 RubyKaigi 第 3 天 中的演讲](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## 使用 Lrama 替代 Bison + +* 使用 [Lrama LALR 解析生成器](https://github.com/yui-knk/lrama) 替换 Bison [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * 如果您有兴趣,请参阅 [Ruby 解析器的未来愿景](https://rubykaigi.org/2023/presentations/spikeolaf.html) + +## YJIT + +* 相对于 3.2 有显著的性能提升 + * 改进了 splat 和 rest 参数支持。 + * 虚拟机的栈操作分配了寄存器。 + * 更多带有可选参数的调用被编译。 + * 特别优化了 `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===`。 + * 拥有复杂对象形状的实例变量不再用于解析器执行。 +* 编译代码使用的元数据使用更少的内存。 +* 改进 ARM64 中的代码生成。 +* 可以在暂停模式下启动 YJIT,并后续手动启动 + * `--yjit-pause` 和 `RubyVM::YJIT.resume` + * 这可以用来在应用程序启动完成后,仅启用 YJIT 一次 +* 退出跟踪选项现在支持采样 + * `--trace-exits-sample-rate=N` +* 多个错误修复 + + + +## 其他值得关注的新功能 + +### 语言 + + + +## 性能提升 + +* 根据对象形状,优化 `defined?(@ivar)`。 + +## 自 3.2 以来,其他值得注意的变化 + + + +## 兼容性问题 + +注意:不包括 bug 修复。 + +### 删除的常量 + +删除了以下已废弃的常量。 + + + +### 删除的方法 + +删除了以下已废除的方法。 + + + +## 标准库兼容性问题 + +### `ext/readline` 已退役 + +* 我们有了纯 Ruby 实现的 `reline`,兼容 `ext/readline` API。未来我们将依赖 `reline`。如果您需要使用 `ext/readline`,可以通过 rubygems.org 进行安装 `gem install readline-ext`。 +* 我们不再需要安装类似 `libreadline` 或 `libedit` 这样的库了。 + +## C API 更新 + +### 更新的 C API + +更新了以下 API。 + + + +### 已移除的 C API + +移除了以下废弃的 API。 + + + +## 标准库更新 + + + +更新了以下默认 gems。 + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.7 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.6.4 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.3 +* stringio 3.0.7 +* strscan 3.0.7 +* syntax_suggest 1.0.4 +* time 0.2.2 +* timeout 0.3.2 +* uri 0.12.1 + +更新了以下绑定 gems。 + +* minitest 5.18.0 +* rbs 3.1.0 +* typeprof 0.21.7 +* debug 1.8.0 + +有关默认 gems 和 绑定 gems 的细节,可以参考 GitHub 上的发布,例如 [Logger](https://github.com/ruby/logger/releases) 或相应的变更日志。 + +更多详情,可参见 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +或 [提交日志](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})。 + +自 Ruby 3.2.0 以来,[{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+), 删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)! + +## 下载 + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby是什么 + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发,现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是Web开发领域。 From 2f29e5e08af020c244c258c8b88486a5391c5d8c Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Thu, 18 May 2023 15:32:20 +0700 Subject: [PATCH 1996/2563] Translate Ruby 3.2.0 released news post (id) --- .../_posts/2022-12-25-ruby-3-2-0-released.md | 720 ++++++++++++++++++ 1 file changed, 720 insertions(+) create mode 100644 id/news/_posts/2022-12-25-ruby-3-2-0-released.md diff --git a/id/news/_posts/2022-12-25-ruby-3-2-0-released.md b/id/news/_posts/2022-12-25-ruby-3-2-0-released.md new file mode 100644 index 0000000000..c26c8be4fe --- /dev/null +++ b/id/news/_posts/2022-12-25-ruby-3-2-0-released.md @@ -0,0 +1,720 @@ +--- +layout: news_post +title: "Ruby 3.2.0 Dirilis" +author: "naruse" +translator: "meisyal" +date: 2022-12-25 00:00:00 +0000 +lang: id +--- + +{% assign release = site.data.releases | where: "version", "3.2.0" | first %} + +Kami dengan senang hati mengumumkan rilis dari Ruby {{ release.version }}. +Ruby 3.2 menambahkan banyak fitur dan memperbaiki kinerja. + + +## Dukungan WebAssembly berbasis WASI + +Ini adalah sebuah *port* awal dari dukungan *WebAssembly* berbasis *WASI*. +*Port* ini memperbolehkan sebuah *CRuby binary* agar tersedia pada *web browser*, +*Serverless Edge environment*, atau *WebAssembly/WASI embedder* lainnya. +Saat ini, *port* melewatkan rangkaian tes dasar dan *bootstrap* dengan +tidak menggunakan *Thread* API. + +![](https://i.imgur.com/opCgKy2.png) + +### Latar Belakang + +[WebAssembly (Wasm)](https://webassembly.org/) semula diperkenalkan untuk +menjalankan program dengan aman dan cepat pada *web browser*. Sasaran - +menjalankan program secara efisien dengan keamanan pada berbagai macam +*environment* - diinginkan sejak lama tidak hanya oleh *web*, akan tetapi oleh +aplikasi umum. + +[WASI (The WebAssembly System Interface)](https://wasi.dev/) didesain untuk +kasus penggunaan tersebut. Walaupun aplikasi perlu berkomunikasi dengan +sistem operasi, *WebAssembly* berjalan pada sebuah *virtual machine* yang mana +tidak memiliki sebuah *system interface*. *WASI* menstandarkannya. + +Dukungan *WebAssembly/WASI* pada Ruby bermaksud untuk memanfaatkan proyek +tersebut. Ini memperbolehkan pengembang Ruby untuk memprogram aplikasi yang +berjalan pada *platform* yang menjanjikan. + +### Kasus penggunaan + +Dukungan ini mendorong pengembang untuk memanfaatkan *CRuby* pada +*WebAssembly environment*. Sebuah contoh kasus penggunaan adalah dukungan +*CRuby* pada [TryRuby playground](https://try.ruby-lang.org/playground/). +Sekarang Anda bisa mencoba *CRuby* pada *web browser*. + +### Poin teknis + +*WASI* dan *WebAssembly* saat ini memiliki beberapa fitur yang tidak didukung, +seperti mengimplementasikan *Fiber*, *exception*, dan *GC* karena ini masih +terus berkembang dan juga untuk alasan keamanan. Oleh sebab itu, *CRuby* mengisi +gap tersebut dengan menggunakan *Asyncify*, yang mana adalah sebuah teknik +transformasi *binary* untuk mengendalikan eksekusi pada lingkungan pengguna. + +Sebagai tambahan, kami membangun sebuah +[VFS di atas WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby) +sehingga kami dapat mengemas aplikasi Ruby ke dalam sebuah berkas .wasm dengan +mudah. Ini membuat distribusi aplikasi Ruby sedikit lebih mudah. + +### Tautan terkait + +* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407) +* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9) + + +## Production-ready YJIT + +![](https://i.imgur.com/X9ulfac.png) + +* YJIT tidak lagi eksperimental + * Telah dites dengan beban *production* selama lebih dari satu tahun dan terbukti cukup stabil. +* YJIT sekarang mendukung baik CPU x86-64 maupun arm64/aarch64 pada Linux, MacOS, BSD, dan *platform* UNIX lainnya. + * Rilis ini membawa dukungan untuk Apple M1/M2, AWS Graviton, Raspberry Pi 4, dan lebih banyak lagi. +* Membangun YJIT sekarang membutuhkan Rust 1.58.0+. [[Feature #18481]] + * Untuk memastikan CRuby dibangun dengan YJIT, mohon pasang `rustc` >= 1.58.0 sebelum + menjalankan skrip `./configure`. + * Mohon hubungi tim YJIT jika Anda menemui masalah. +* YJIT 3.2 lebih cepat dibandingkan 3.1 dan memiliki sekitar 1/3 *memory overhead* lebih banyak. + * Secara keseluruhan YJIT 41% lebih cepat (*geometric mean*) daripada Ruby *interpreter* pada [yjit-bench](https://github.com/Shopify/yjit-bench). + * *Physical memory* untuk kode JIT dialokasikan dengan malas. Tidak seperti Ruby 3.1, + RSS dari sebuah proses Ruby diminimalisasi karena *virtual memory page* dialokasikan + oleh `--yjit-exec-mem-size` tidak akan dipetakan ke *physical memory page* + hingga sepenuhnya dibutuhkan oleh kode JIT. + * Mengenalkan Code GC yang membebaskan semua *code page* ketika memori yang + dikonsumsi oleh kode JIT mencapai `--yjit-exec-mem-size`. + * `RubyVM::YJIT.runtime_stats` mengembalikan metrik Code GC sebagai tambahan + `inline_code_size` dan `outlined_code_size` keys: + `code_gc_count`, `live_page_count`, `freed_page_count`, dan `freed_code_size`. +* Statistik yang diproduksi oleh `RubyVM::YJIT.runtime_stats` sekarang tersedia pada *release build*. + * Jalankan ruby dengan `--yjit-stats` untuk menghitung dan menimbun statistik (menimbulkan + sedikit *run-time overhead*). +* YJIT sekarang dioptimalkan untuk mengambil kelebihan dari *object shape*. [[Feature #18776]] +* Mengambil kelebihan dari *finer-grained constant invalidation* untuk tidak + memvalidasi kode yang lebih sedikit ketika mendefinisikan konstanta baru. [[Feature #18589]] +* Nilai *default* dari `--yjit-exec-mem-size` diubah menjadi 64 (MiB). +* Nilai *default* dari `--yjit-call-threshold` diubah menjadi 30. + +## Peningkatan Regexp melawan ReDoS + +Diketahui bahwa *Regexp matching* mungkin membutuhkan waktu yang lama. Jika +kode Anda mencoba untuk mencocokkan sebuah *Regexp* yang tidak efisien dengan +sebuah masukan yang tidak terpercaya, seorang penyerang bisa mengeksploitasi +ini untuk *Denial of Service* yang efisien (disebut *Regular expression DoS* +atau *ReDoS*). + +Kami telah memperkenalkan dua peningkatan untuk memitigasi ReDoS secara +signifikan. + +### Peningkatan algoritma Regexp matching + +Sejak Ruby 3.2, algoritma *Regexp matching* telah ditingkatkan dengan +menggunakan teknik *memoization*. + +``` +# Regexp matching ini membutuhkan waktu 10 detik pada Ruby 3.1 dan 0.003 detik pada Ruby 3.2 + +/^a*b?a*$/ =~ "a" * 50000 + "x" +``` + +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_1.png) +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_2.png) + +Peningkatan algoritma *matching* memperbolehkan eksekusi (sekitar 90% dari eksperimen kami) +selesai dalam waktu linier. + +Peningkatan ini akan mengonsumsi memori sepadan dengan panjang masukan untuk +setiap *matching*. Kami mengharapkan tidak ada masalah yang muncul karena +alokasi memori biasanya tertunda dan sebuah *Regexp matching* biasa mengonsumsi +paling banyak 10 kali memori sepanjang masukan. Jika Anda kehabisan +memori ketika mengeksekusi pada sebuah aplikasi, mohon laporkan. + +Proposal asli di + +### Regexp timeout + +Peningkatan di atas tidak dapat diterapkan pada *regular expression* tertentu, +seperti mengandung fitur lanjutan (contoh, *back-references* atau *look-around*), +atau dengan pengulangan dalam jumlah tetap yang sangat besar. Sebagai penanganan, +Sebuah fitur *timeout* pada *Regexp matching* juga diperkenalkan. + +```ruby +Regexp.timeout = 1.0 + +/^a*b?a*()\1$/ =~ "a" * 50000 + "x" +#=> Regexp::TimeoutError akan muncul dalam waktu satu detik +``` + +Catat bahwa `Regexp.timeout` adalah sebuah pengaturan global. Jika Anda ingin +menggunakan pengaturan yang berbeda untuk *Regexp* tertentu, Anda bisa +menggunakan kata kunci `timeout` pada `Regexp.new`. + +```ruby +Regexp.timeout = 1.0 + +# regexp ini tidak memiliki timeout +long_time_re = Regexp.new('^a*b?a*()\1$', timeout: Float::INFINITY) + +long_time_re =~ "a" * 50000 + "x" # tidak pernah diinterupsi +``` + +Proposal asli di . + +## Fitur penting lainnya + +### SyntaxSuggest + +* Fitur `syntax_suggest` (dahulu `dead_end`) terintegrasi dengan Ruby. Ini + membantu Anda untuk menemukan posisi *error*, seperti kelupaan atau kelebihan + `end`, dengan cepat, seperti contoh berikut: + + ``` + Ketidakcocokan `end', kata kunci hilang (`do', `def`, `if`, etc.) ? + + 1 class Dog + > 2 defbark + > 4 end + 5 end + ``` + + [[Feature #18159]] + + +### ErrorHighlight + +* Saat ini, fitur menunjuk pada argumen yang relevan pada TypeError dan ArgumentError + +``` +test.rb:2:in `+': nil can't be coerced into Integer (TypeError) + +sum = ary[0] + ary[1] + ^^^^^^ +``` + +### Bahasa + +* Argumen dari *anonymous rest* dan *keyword rest* sekarang dapat dilewatkan + sebagai argumen daripada sekadar digunakan pada parameter *method*. + [[Feature #18351]] + + ```ruby + def foo(*) + bar(*) + end + def baz(**) + quux(**) + end + ``` + +* Sebuah *proc* yang menerima sebuah *positional argument* dan *keyword* + tidak akan lagi *autosplat*. [[Bug #18633]] + + ```ruby + proc{|a, **k| a}.call([1, 2]) + # Ruby 3.1 dan sebelumnya + # => 1 + # Ruby 3.2 dan setelahnya + # => [1, 2] + ``` + +* Urutan evaluasi dari *constant assignment* pada objek eksplisit telah dibuat + konsisten dengan urutan evaluasi tunggal. Pada kode berikut: + + ```ruby + foo::BAR = baz + ``` + + `foo` sekarang dipanggil sebelum `baz`. Demikian pula, untuk *multiple assignment* + pada *constant*, urutan evaluasi *left-to-right* digunakan. Pada kode berikut: + + ```ruby + foo1::BAR1, foo2::BAR2 = baz1, baz2 + ``` + + Urutan evaluasi berikut sekarang digunakan: + + 1. `foo1` + 2. `foo2` + 3. `baz1` + 4. `baz2` + + [[Bug #15928]] + +* Pencarian *pattern* tidak lagi eksperimental. + [[Feature #18585]] + +* *Method* mengambil sebuah parameter lain (seperti `*args`) dan mengharapkan + untuk mendelegasikan *keyword argument* melalui `foo(*args)` sekarang harus + ditandai dengan `ruby2_keywords` (jika belum terjadi). Dengan kata lain, semua + *method* mengharapkan untuk mendelegasikan *keyword argument* melalui `*args` + sekarang harus ditandai dengan `ruby2_keywords`, tanpa kecuali. Ini akan membuat + transisi lebih mudah ke bentuk delegasi lain saat sebuah pustaka memerlukan + Ruby 3+. Sebelumnya, penanda `ruby2_keywords` dijaga jika *method* penerima + mengambil `*args`, tetapi ini adalah sebuah bug dan ketidakkonsistenan. + Sebuah teknik yang bagus untuk menemukan potensi hilang dari `ruby2_keywords` + adalah menjalankan rangkaian tes, dimana pun tes gagal cari *method* terakhir + yang harus menerima *keyword argument*, menggunakan `puts nil, caller, nil`, dan + mengecek setiap *method/block* pada rantai pemanggilan yang harus mendelegasikan + *keyword* ditandai dengan benar sebagai `ruby2_keywords`. + [[Bug #18625]] [[Bug #16466]] + + ```ruby + def target(**kw) + end + + # Secara tidak sengaja, berjalan tanpa ruby2_keywords pada Ruby 2.7-3.1, + # ruby2_keywords dibutuhkan pada 3.2+. Sama halnya dengan (*args, **kwargs) + # atau (...) yang juga dibutuhkan baik #foo maupun #bar ketika migrasi + # dari ruby2_keywords. + ruby2_keywords def bar(*args) + target(*args) + end + + ruby2_keywords def foo(*args) + bar(*args) + end + + foo(k: 1) + ``` + +## Perbaikan kinerja + +### MJIT + +* MJIT *compiler* diimplementasikan kembali pada Ruby sebagai pustaka standar `ruby_vm/mjit/compiler`. +* MJIT *compiler* dieksekusi dalam sebuah *fork* dari proses Ruby ketimbang + mengeksekusi dalam sebuah *native thread* yang dikenal MJIT *worker*. [[Feature #18968]] + * Akibatnya, Microsoft Visual Studio (MSWIN) tidak lagi didukung. +* MinGW tidak lagi didukung. [[Feature #18824]] +* Mengganti nama `--mjit-min-calls` menjadi `--mjit-call-threshold`. +* Mengubah nilai *default* `--mjit-max-cache` dari 10000 ke 100. + +### PubGrub + +* Bundler 2.4 sekarang menggunakan [PubGrub](https://github.com/jhawthorn/pub_grub) *resolver* + ketimbang [Molinillo](https://github.com/CocoaPods/Molinillo). + + * PubGrub adalah algoritma generasi berikutnya yang digunakan oleh `pub` *package manager* + untuk bahasa pemograman Dart. + * Anda mungkin mendapatkan hasil yang berbeda setelah perubahan ini. Mohon laporkan + masalah tersebut ke [RubyGems/Bundler issues](https://github.com/rubygems/rubygems/issues) + +* RubyGems masih menggunakan Molinillo *resolver* pada Ruby 3.2. Kami merencanakan untuk + mengganti dengan PubGrub di masa yang akan datang. + +## Perubahan penting lainnya sejak 3.1 + +* Data + * Kelas inti baru untuk merepresentasikan nilai dari objek yang *immutable*. + Kelas ini mirip dengan Struct dan sebagian berbagi sebuah implementasi, tetapi + lebih memiliki API yang *lean* dan *strict*. [[Feature #16122]] + + ```ruby + Measure = Data.define(:amount, :unit) + distance = Measure.new(100, 'km') #=> # + weight = Measure.new(amount: 50, unit: 'kg') #=> # + weight.with(amount: 40) #=> # + weight.amount #=> 50 + weight.amount = 40 #=> NoMethodError: undefined method `amount=' + ``` + +* Hash + * `Hash#shift` sekarang selalu mengembalikan *nil* jika *hash* kosong ketimbang + mengembalikan nilai *default* atau memanggil *default proc*. [[Bug #16908]] + +* MatchData + * `MatchData#byteoffset` telah ditambahkan. [[Feature #13110]] + +* Module + * `Module.used_refinements` telah ditambahkan. [[Feature #14332]] + * `Module#refinements` telah ditambahkan. [[Feature #12737]] + * `Module#const_added` telah ditambahkan. [[Feature #17881]] + +* Proc + * `Proc#dup` mengembalikan sebuah *instance* dari *subclass*. [[Bug #17545]] + * `Proc#parameters` sekarang menerima kata kunci *lambda*. [[Feature #15357]] + +* Refinement + * `Refinement#refined_class` telah ditambahkan. [[Feature #12737]] + +* RubyVM:AbstractSyntaxTree + * Menambahkan opsi `error_tolerant` pada `parse`, `parse_file`, dan `of`. [[Feature #19013]] + Dengan opsi ini + 1. SyntaxError disembunyikan + 2. AST dikembalikan untuk masukan yang tidak valid + 3. `end` disempurnakan ketika sebuah *parser* menjangkau akhir dari masukan, tetapi `end` tidak cukup + 4. `end` dianggap sebagai kata kunci berdasarkan lekukan baris + + ```ruby + # Tanpa opsi error_tolerant + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY) + def m + a = 10 + if + end + RUBY + # => :33:in `parse': syntax error, unexpected `end' (SyntaxError) + + # Dengan opsi error_tolerant + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY, error_tolerant: true) + def m + a = 10 + if + end + RUBY + p root # => # + + # `end` dianggap sebagai kata kunci berdasarkan lekukan baris + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY, error_tolerant: true) + module Z + class Foo + foo. + end + + def bar + end + end + RUBY + p root.children[-1].children[-1].children[-1].children[-2..-1] + # => [#, #] + ``` + + * Menambahkan opsi `keep_tokens` pada `parse`, `parse_file` dan `of`. [[Feature #19070]] + + ```ruby + root = RubyVM::AbstractSyntaxTree.parse("x = 1 + 2", keep_tokens: true) + root.tokens # => [[0, :tIDENTIFIER, "x", [1, 0, 1, 1]], [1, :tSP, " ", [1, 1, 1, 2]], ...] + root.tokens.map{_1[2]}.join # => "x = 1 + 2" + ``` + +* Set + * Set sekarang tersedia sebagai sebuah *builtin class* tanpa membutuhkan `require "set"`. [[Feature #16989]] + Ini dimuatkan secara otomatis melalui `Set` *constant* atau sebuah pemanggilan `Enumerable#to_set`. + +* String + * `String#byteindex` dan `String#byterindex` telah ditambahkan. [[Feature #13110]] + * Memperbarui versi *Unicode* ke 15.0.0 dan *Emoji* ke 15.0. [[Feature #18639]] + (juga diaplikasikan pada *Regexp*) + * `String#bytesplice` telah ditambahkan. [[Feature #18598]] + +* Struct + * Sebuah *class* Struct juga dapat diinisialisasi dengan argumen *keyword* + tanpa `keyword_init: true` pada `Struct.new` [[Feature #16806]] + + ```ruby + Post = Struct.new(:id, :name) + Post.new(1, "hello") #=> # + # Mulai Ruby 3.2, kode berikut bekerja tanpa keyword_init: true. + Post.new(id: 1, name: "hello") #=> # + ``` + +## Isu kompatibilitas + +Catatan: tidak termasuk perbaikan *bug*. + +### Constant terhapus + +Berikut ini adalah *constant* yang telah dihapus. + +* `Fixnum` dan `Bignum` [[Feature #12005]] +* `Random::DEFAULT` [[Feature #17351]] +* `Struct::Group` +* `Struct::Passwd` + +### Method terhapus + +Berikut ini adalah *method* yang telah dihapus. + +* `Dir.exists?` [[Feature #17391]] +* `File.exists?` [[Feature #17391]] +* `Kernel#=~` [[Feature #15231]] +* `Kernel#taint`, `Kernel#untaint`, `Kernel#tainted?` + [[Feature #16131]] +* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?` + [[Feature #16131]] + +## Isu kompatibilitas Stdlib + +### Tidak lagi membundel sumber pihak ketiga + +* Kami tidak lagi membundel sumber dari pihak ketiga, seperti `libyaml`, `libffi`. + + * libyaml telah dihapus dari psych. Anda mungkin membutuhkan untuk memasang + `libyaml-dev` dengan *Ubuntu/Debian platform*. Nama *package* berbeda untuk setiap *platform*. + + * libffi juga telah dihapus dari `fiddle` + +* Psych dan fiddle mendukung *static build* dengan versi spesifik dari libyaml dan libffi. + Anda dapat membangun psych dengan libyaml-0.2.5 seperti ini: + + ```bash + $ ./configure --with-libyaml-source-dir=/path/to/libyaml-0.2.5 + ``` + + Dan Anda dapat membangun fiddle dengan libffi-3.4.4: + + ```bash + $ ./configure --with-libffi-source-dir=/path/to/libffi-3.4.4 + ``` + + [[Feature #18571]] + +## Pembaruan C API + +### C API diperbarui + +Berikut ini adalah API yang telah diperbarui. + +* Pembaruan PRNG + * `rb_random_interface_t` diperbarui dan diberikan versi. + Pustaka *extension* yang menggunakan *interface* ini dan untuk versi lama. + `init_int32` juga perlu didefinisikan. + +### C API terhapus + +Berikut ini adalah API yang telah dihapus. + +* Variabel `rb_cData`. +* *Function* "taintedness" dan "trustedness". [[Feature #16131]] + +### Pembaruan pustaka standar + +* Bundler + + * Menambahkan dukungan --ext=rust untuk membundel *gem* dengan ekstensi Rust. + [[GH-rubygems-6149]] + * Membuat salinan *git repo* lebih cepat [[GH-rubygems-4475]] + +* RubyGems + + * Menambahkan dukungan mswin untuk *cargo builder*. [[GH-rubygems-6167]] + +* ERB + + * `ERB::Util.html_escape` dibuat lebih cepat dibandingkan `CGI.escapeHTML`. + * Ini tidak lagi mengalokasikan sebuah objek String ketika tidak ada karakter yang perlu diloloskan. + * Ini mengabaikan pemanggilan *method* `#to_s` jika sebuah argumen sudah berupa String. + * `ERB::Escape.html_escape` ditambahkan sebagai sebuah alias untuk `ERB::Util.html_escape`, + yang mana belum di-*monkey-patch* oleh Rails. + +* IRB + * Perintah integrasi debug.gem telah ditambahkan: `debug`, `break`, `catch`, + `next`, `delete`, `step`, `continue`, `finish`, `backtrace`, `info` + * Perintah ini bekerja walaupun Anda tidak memiliki `gem "debug"` pada Gemfile Anda. + * Lihat juga: [What's new in Ruby 3.2's IRB?](https://st0012.dev/whats-new-in-ruby-3-2-irb) + * Perintah dan fitur Pry-like lainnya telah ditambahkan. + * `edit` dan `show_cmds` (seperti `help` pada Pry) ditambahkan. + * `ls` mengambil opsi `-g` atau `-G` untuk menyaring keluaran. + * `show_source` adalah alias dari `$` dan menerima masukan tanpa kutipan. + * `whereami` adalah alias dari `@`. + +* Berikut ini adalah *default gem* yang telah diperbarui. + + * RubyGems 3.4.1 + * abbrev 0.1.1 + * benchmark 0.2.1 + * bigdecimal 3.1.3 + * bundler 2.4.1 + * cgi 0.3.6 + * csv 3.2.6 + * date 3.3.3 + * delegate 0.3.0 + * did_you_mean 1.6.3 + * digest 3.1.1 + * drb 2.1.1 + * english 0.7.2 + * erb 4.0.2 + * error_highlight 0.5.1 + * etc 1.4.2 + * fcntl 1.0.2 + * fiddle 1.1.1 + * fileutils 1.7.0 + * forwardable 1.3.3 + * getoptlong 0.2.0 + * io-console 0.6.0 + * io-nonblock 0.2.0 + * io-wait 0.3.0 + * ipaddr 1.2.5 + * irb 1.6.2 + * json 2.6.3 + * logger 1.5.3 + * mutex_m 0.1.2 + * net-http 0.3.2 + * net-protocol 0.2.1 + * nkf 0.1.2 + * open-uri 0.3.0 + * open3 0.1.2 + * openssl 3.1.0 + * optparse 0.3.1 + * ostruct 0.5.5 + * pathname 0.2.1 + * pp 0.4.0 + * pstore 0.1.2 + * psych 5.0.1 + * racc 1.6.2 + * rdoc 6.5.0 + * readline-ext 0.1.5 + * reline 0.3.2 + * resolv 0.2.2 + * resolv-replace 0.1.1 + * securerandom 0.2.2 + * set 1.0.3 + * stringio 3.0.4 + * strscan 3.0.5 + * syntax_suggest 1.0.2 + * syslog 0.1.1 + * tempfile 0.1.3 + * time 0.2.1 + * timeout 0.3.1 + * tmpdir 0.1.3 + * tsort 0.1.1 + * un 0.2.1 + * uri 0.12.0 + * weakref 0.1.2 + * win32ole 1.8.9 + * yaml 0.2.1 + * zlib 3.0.0 + +* Berikut ini adalah *bundled gem* yang telah diperbarui. + + * minitest 5.16.3 + * power_assert 2.0.3 + * test-unit 3.5.7 + * net-ftp 0.2.0 + * net-imap 0.3.3 + * net-pop 0.1.2 + * net-smtp 0.3.3 + * rbs 2.8.2 + * typeprof 0.21.3 + * debug 1.7.1 + +Lihat rilis GitHub seperti [GitHub Releases of logger](https://github.com/ruby/logger/releases) atau *changelog* untuk detail dari *default* atau *bundled gem*. + +Lihat [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +atau [commit logs](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}) +untuk lebih detail. + +Dengan perubahan tersebut, [{{ release.stats.files_changed }} berkas berubah, {{ release.stats.insertions }} sisipan(+), {{ release.stats.deletions }} terhapus(-)](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}#file_bucket) +sejak Ruby 3.1.0! + +Selamat natal, selamat berlibur, dan nikmati memprogram dengan Ruby 3.2! + +## Unduh + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Apa itu Ruby + +Ruby pertama kali dikembangkan oleh Matz (Yukihiro Matsumoto) pada 1993 +dan sekarang dikembangkan sebagai *Open Source*. Ruby berjalan pada berbagai +*platform* dan digunakan di seluruh dunia, khususnya pengembangan *web*. + +[Feature #12005]: https://bugs.ruby-lang.org/issues/12005 +[Feature #12084]: https://bugs.ruby-lang.org/issues/12084 +[Feature #12655]: https://bugs.ruby-lang.org/issues/12655 +[Feature #12737]: https://bugs.ruby-lang.org/issues/12737 +[Feature #13110]: https://bugs.ruby-lang.org/issues/13110 +[Feature #14332]: https://bugs.ruby-lang.org/issues/14332 +[Feature #15231]: https://bugs.ruby-lang.org/issues/15231 +[Feature #15357]: https://bugs.ruby-lang.org/issues/15357 +[Bug #15928]: https://bugs.ruby-lang.org/issues/15928 +[Feature #16122]: https://bugs.ruby-lang.org/issues/16122 +[Feature #16131]: https://bugs.ruby-lang.org/issues/16131 +[Bug #16466]: https://bugs.ruby-lang.org/issues/16466 +[Feature #16663]: https://bugs.ruby-lang.org/issues/16663 +[Feature #16806]: https://bugs.ruby-lang.org/issues/16806 +[Bug #16889]: https://bugs.ruby-lang.org/issues/16889 +[Bug #16908]: https://bugs.ruby-lang.org/issues/16908 +[Feature #16989]: https://bugs.ruby-lang.org/issues/16989 +[Feature #17351]: https://bugs.ruby-lang.org/issues/17351 +[Feature #17391]: https://bugs.ruby-lang.org/issues/17391 +[Bug #17545]: https://bugs.ruby-lang.org/issues/17545 +[Bug #17767]: https://bugs.ruby-lang.org/issues/17767 +[Feature #17837]: https://bugs.ruby-lang.org/issues/17837 +[Feature #17881]: https://bugs.ruby-lang.org/issues/17881 +[Feature #18033]: https://bugs.ruby-lang.org/issues/18033 +[Feature #18159]: https://bugs.ruby-lang.org/issues/18159 +[Feature #18239]: https://bugs.ruby-lang.org/issues/18239#note-17 +[Feature #18351]: https://bugs.ruby-lang.org/issues/18351 +[Feature #18367]: https://bugs.ruby-lang.org/issues/18367 +[Bug #18435]: https://bugs.ruby-lang.org/issues/18435 +[Feature #18462]: https://bugs.ruby-lang.org/issues/18462 +[Feature #18481]: https://bugs.ruby-lang.org/issues/18481 +[Bug #18487]: https://bugs.ruby-lang.org/issues/18487 +[Feature #18564]: https://bugs.ruby-lang.org/issues/18564 +[Feature #18571]: https://bugs.ruby-lang.org/issues/18571 +[Feature #18585]: https://bugs.ruby-lang.org/issues/18585 +[Feature #18589]: https://bugs.ruby-lang.org/issues/18589 +[Feature #18595]: https://bugs.ruby-lang.org/issues/18595 +[Feature #18598]: https://bugs.ruby-lang.org/issues/18598 +[Bug #18625]: https://bugs.ruby-lang.org/issues/18625 +[Feature #18630]: https://bugs.ruby-lang.org/issues/18630 +[Bug #18633]: https://bugs.ruby-lang.org/issues/18633 +[Feature #18639]: https://bugs.ruby-lang.org/issues/18639 +[Feature #18685]: https://bugs.ruby-lang.org/issues/18685 +[Bug #18729]: https://bugs.ruby-lang.org/issues/18729 +[Bug #18751]: https://bugs.ruby-lang.org/issues/18751 +[Feature #18774]: https://bugs.ruby-lang.org/issues/18774 +[Feature #18776]: https://bugs.ruby-lang.org/issues/18776 +[Bug #18782]: https://bugs.ruby-lang.org/issues/18782 +[Feature #18788]: https://bugs.ruby-lang.org/issues/18788 +[Feature #18798]: https://bugs.ruby-lang.org/issues/18798 +[Feature #18809]: https://bugs.ruby-lang.org/issues/18809 +[Feature #18821]: https://bugs.ruby-lang.org/issues/18821 +[Feature #18822]: https://bugs.ruby-lang.org/issues/18822 +[Feature #18824]: https://bugs.ruby-lang.org/issues/18824 +[Feature #18832]: https://bugs.ruby-lang.org/issues/18832 +[Feature #18875]: https://bugs.ruby-lang.org/issues/18875 +[Feature #18925]: https://bugs.ruby-lang.org/issues/18925 +[Feature #18944]: https://bugs.ruby-lang.org/issues/18944 +[Feature #18949]: https://bugs.ruby-lang.org/issues/18949 +[Feature #18968]: https://bugs.ruby-lang.org/issues/18968 +[Feature #19008]: https://bugs.ruby-lang.org/issues/19008 +[Feature #19013]: https://bugs.ruby-lang.org/issues/19013 +[Feature #19026]: https://bugs.ruby-lang.org/issues/19026 +[Feature #19036]: https://bugs.ruby-lang.org/issues/19036 +[Feature #19060]: https://bugs.ruby-lang.org/issues/19060 +[Feature #19070]: https://bugs.ruby-lang.org/issues/19070 +[Feature #19071]: https://bugs.ruby-lang.org/issues/19071 +[Feature #19078]: https://bugs.ruby-lang.org/issues/19078 +[Bug #19087]: https://bugs.ruby-lang.org/issues/19087 +[Bug #19100]: https://bugs.ruby-lang.org/issues/19100 +[Feature #19104]: https://bugs.ruby-lang.org/issues/19104 +[Feature #19135]: https://bugs.ruby-lang.org/issues/19135 +[Feature #19138]: https://bugs.ruby-lang.org/issues/19138 +[Feature #19194]: https://bugs.ruby-lang.org/issues/19194 +[Molinillo]: https://github.com/CocoaPods/Molinillo +[PubGrub]: https://github.com/jhawthorn/pub_grub +[GH-net-protocol-14]: https://github.com/ruby/net-protocol/pull/14 +[GH-pathname-20]: https://github.com/ruby/pathname/pull/20 +[GH-6791]: https://github.com/ruby/ruby/pull/6791 +[GH-6868]: https://github.com/ruby/ruby/pull/6868 +[GH-rubygems-4475]: https://github.com/rubygems/rubygems/pull/4475 +[GH-rubygems-6149]: https://github.com/rubygems/rubygems/pull/6149 +[GH-rubygems-6167]: https://github.com/rubygems/rubygems/pull/6167 +[sec-156615]: https://hackerone.com/reports/156615 +[CVE-2021-33621]: https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/ +[wasm/README.md]: https://github.com/ruby/ruby/blob/master/wasm/README.md +[ruby.wasm]: https://github.com/ruby/ruby.wasm From 9a7ed8a9e49def8df9030458264de281ceede84a Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 30 May 2023 21:31:52 +0700 Subject: [PATCH 1997/2563] Translate CVE-2023-28756 news post (id) --- ...2023-03-30-redos-in-time-cve-2023-28756.md | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 id/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md diff --git a/id/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md b/id/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md new file mode 100644 index 0000000000..2ee5b8b298 --- /dev/null +++ b/id/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "CVE-2023-28756: Kerentanan ReDoS pada Time" +author: "hsbt" +translator: "meisyal" +date: 2023-03-30 11:00:00 +0000 +tags: security +lang: id +--- + +Kami telah merilis versi *gem* time 0.1.1 dan 0.2.2 yang mengandung perbaikan +keamanan untuk kerentanan ReDoS. Kerentanan ini telah ditetapkan dengan penanda +CVE [CVE-2023-28756](https://www.cve.org/CVERecord?id=CVE-2023-28756). + +## Detail + +*Parser* dari Time menangani *string* yang tidak valid yang memiliki karakter +tertentu dengan tidak benar. Ini menyebabkan peningkatan waktu eksekusi untuk +mem-*parsing* *string* menjadi objek Time. + +Isu ini ditemukan pada versi *gem* Time 0.1.0 dan 0.2.1 serta pustaka Time dari +Ruby 2.7.7. + +## Rekomendasi tindakan + +Kami merekomendasikan untuk memperbarui *gem* time ke 0.2.2 atau setelahnya. +Untuk memastikan kompatibilitas dengan versi yang dibundel pada rangkaian +Ruby lama, Anda bisa memperbarui dengan langkah berikut: + +* Untuk pengguna Ruby 3.0: Perbarui `time` ke 0.1.1 +* Untuk pengguna Ruby 3.1/3.2: Perbarui `time` ke 0.2.2 + +Anda dapat menggunakan perintah `gem update time`. Jika Anda menggunakan *bundler*, +mohon tambahkan `gem "time", ">= 0.2.2"` pada `Gemfile` Anda. + +Sayangnya, *gem* time hanya berjalan pada Ruby 3.0 atau setelahnya. Jika Anda +sedang menggunakan Ruby 2.7, mohon gunakan versi Ruby terbaru. + +## Versi terimbas + +* Ruby 2.7.7 atau sebelumnya +* *gem* time 0.1.0 +* *gem* time 0.2.1 + +## Rujukan + +Terima kasih kepada [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) +yang telah menemukan isu ini. + +## Riwayat + +* Semula dipublikasikan pada 2023-03-30 11:00:00 (UTC) From ec1872e511894c0990e6299292ff693c394d086a Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 24 May 2023 17:07:34 +0700 Subject: [PATCH 1998/2563] Translate CVE-2023-28755 news post (id) --- .../2023-03-28-redos-in-uri-cve-2023-28755.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 id/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md diff --git a/id/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md b/id/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md new file mode 100644 index 0000000000..6797410575 --- /dev/null +++ b/id/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "CVE-2023-28755: Kerentanan ReDoS pada URI" +author: "hsbt" +translator: "meisyal" +date: 2023-03-28 01:00:00 +0000 +tags: security +lang: id +--- + +Kami telah merilis versi *gem* uri 0.12.1, 0.11.1, 0.10.2, dan 0.10.0.1 yang +mengandung perbaikan keamanan untuk kerentanan ReDoS. +Kerentanan ini telah ditetapkan dengan penanda CVE +[CVE-2023-28755](https://www.cve.org/CVERecord?id=CVE-2023-28755). + +## Detail + +Isu ReDoS ditemukan pada komponen URI. *Parser* dari URI menangani URL yang +tidak valid yang memiliki karakter tertentu dengan tidak benar. Ini menyebabkan +peningkatan waktu eksekusi untuk mem-*parsing* *string* dari objek URI. + +Versi *gem* `uri` 0.12.0, 0.11.0, 0.10.0, dan semua versi sebelum 0.10.0 rentan +terhadap isu ini. + +## Rekomendasi tindakan + +Kami merekomendasikan untuk memperbarui *gem* `uri` ke 0.12.1. Untuk memastikan +kompatibilitas dengan versi yang dibundel pada rangkaian Ruby lama, Anda bisa +memperbarui dengan langkah berikut: + +* Untuk Ruby 2.7: Perbarui `uri` ke 0.10.0.1 +* Untuk Ruby 3.0: Perbarui `uri` ke 0.10.2 +* Untuk Ruby 3.1: Perbarui `uri` ke 0.11.1 +* Untuk Ruby 3.2: Perbarui `uri` ke 0.12.1 + +Anda dapat menggunakan perintah `gem update uri`. Jika Anda menggunakan *bundler*, +mohon tambahkan `gem "uri", ">= 0.12.1"` (atau versi yang telah disebut sebelumnya) +pada `Gemfile` Anda. + +## Versi terimbas + +* *gem* uri 0.12.0 +* *gem* uri 0.11.0 +* *gem* uri 0.10.1 +* *gem* uri 0.10.0 atau sebelumnya + +## Rujukan + +Terima kasih kepada [Dominic Couture](https://hackerone.com/dee-see?type=user) +yang telah menemukan isu ini. + +## Riwayat + +* Semula dipublikasikan pada 2023-03-28 01:00:00 (UTC) +* Memperbarui versi terimbas pada 2023-03-28 02:00:00 (UTC) +* Memperbarui URL penanda CVE pada 2023-03-28 04:00:00 (UTC) From 0fbaf50bd12ce7b2fe8559de8af330b830ed1d78 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 29 Jun 2023 10:55:05 +0900 Subject: [PATCH 1999/2563] Create CNAME --- CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 0000000000..74d637cce6 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +www.ruby-lang.org \ No newline at end of file From fbdc635d1e48f1f1120581166cbaa88915cfaf25 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 29 Jun 2023 11:11:10 +0900 Subject: [PATCH 2000/2563] Removed accidentally commit --- CNAME | 1 - 1 file changed, 1 deletion(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index 74d637cce6..0000000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -www.ruby-lang.org \ No newline at end of file From 61f322cdb039ea567e4ed2f290c8c9aa10a7dea5 Mon Sep 17 00:00:00 2001 From: akinomaeni Date: Thu, 29 Jun 2023 16:03:58 +0900 Subject: [PATCH 2001/2563] Fix typo in 2023-06-29-redos-in-uri-CVE-2023-36617.md --- en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index a590f1d456..e7c68b6d65 100644 --- a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -8,7 +8,7 @@ tags: security lang: en --- -We have released the uri gem version 0.12.1, 0.10.2 that has a security fix for a ReDoS vulnerability. +We have released the uri gem version 0.12.2, 0.10.3 that has a security fix for a ReDoS vulnerability. This vulnerability has been assigned the CVE identifier [CVE-2023-36617](https://www.cve.org/CVERecord?id=CVE-2023-36617). ## Details From 0988589c7aec5f761f273f5303dda0620d41589d Mon Sep 17 00:00:00 2001 From: ytjmt <46666464+ytjmt@users.noreply.github.com> Date: Thu, 29 Jun 2023 23:19:47 +0900 Subject: [PATCH 2002/2563] Translate "CVE-2023-36617: ReDoS vulnerability in Time" (ja) --- .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md diff --git a/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md new file mode 100644 index 0000000000..26979dc2d1 --- /dev/null +++ b/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2023-36617: URI における ReDoS 脆弱性について" +author: "hsbt" +translator: "ytjmt" +date: 2023-06-29 01:00:00 +0000 +tags: security +lang: ja +--- + +ReDoS 脆弱性のセキュリティ修正を含む、uri gem 0.12.2、0.10.3 をリリースしました。 +この脆弱性は、[CVE-2023-36617](https://www.cve.org/CVERecord?id=CVE-2023-36617) として登録されています。 + +## 詳細 + +0.12.1 までのバージョンの URI コンポーネントに ReDoS 脆弱性が見つかりました。特定の文字を含む無効な URL を URI パーサーが誤って取り扱っていました。rfc2396_parser.rb と rfc3986_parser.rb を用いて文字列を URI オブジェクトにパースする際に実行時間が増加していました。 + +注意: [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/) に対する不完全な修正がこの問題の原因でした。 + +0.12.1 およびそれ以前の全てのバージョンの `uri` gem はこの脆弱性の影響を受けます。 + +## 推奨する対応 + +`uri` gem を 0.12.2 にアップデートすることを推奨します。古い系列の Ruby で同梱されているバージョンとの互換性を確保するためには、以下のようにアップデートできます: + +* Ruby 3.0: `uri` を 0.10.3 にアップデート +* Ruby 3.1 および 3.2: `uri` を 0.12.2 にアップデート + +`gem update uri` でアップデートできます。もし bundler を使っている場合は、`Gemfile` に `gem "uri", ">= 0.12.2"` (または上記の他のバージョン)を追加してください。 + +## 影響を受けるバージョン + +* uri gem 0.12.1 およびそれ以前のバージョン + +## クレジット + +この脆弱性情報は、[ooooooo_q](https://hackerone.com/ooooooo_q) 氏によって報告されました。 + +この脆弱性は、[nobu](https://github.com/nobu) 氏によって修正されました。 + +## 更新履歴 + +* 2023-06-29 10:00:00 (JST) 初版 From 9207e368f287ba13af316ced9bd2eb171609bbf3 Mon Sep 17 00:00:00 2001 From: ooooooo_q Date: Mon, 17 Jul 2023 14:06:45 +0900 Subject: [PATCH 2003/2563] fix typo CVE-2023-36617 --- en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index e7c68b6d65..332794fdc9 100644 --- a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -15,7 +15,7 @@ This vulnerability has been assigned the CVE identifier [CVE-2023-36617](https:/ A ReDoS issue was discovered in the URI component through 0.12.1 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with rfc2396_parser.rb and rfc3986_parser.rb. -NOTE: this issue exists becuse of an incomplete fix for [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/). +NOTE: this issue exists because of an incomplete fix for [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/). The `uri` gem version 0.12.1 and all versions prior 0.12.1 are vulnerable for this vulnerability. From 45006fdf289126f61e1e5a7216f786bf989b00a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 15:58:01 +0000 Subject: [PATCH 2004/2563] Bump actions/upload-pages-artifact from 1.0.9 to 2.0.0 Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1.0.9 to 2.0.0. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/66b63f4a7de003f4f00cc8e9af4b83b8f2abdb96...a753861a5debcf57bf8b404356158c8e1e33150c) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 4ffa2deaa3..e2fdd0040d 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,7 +34,7 @@ jobs: env: JEKYLL_ENV: production - name: Upload artifact - uses: actions/upload-pages-artifact@66b63f4a7de003f4f00cc8e9af4b83b8f2abdb96 # v1.0.9 + uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c # v2.0.0 deploy: environment: From 21badff791eb063eeae1a99b5e640203556a48b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 15:58:05 +0000 Subject: [PATCH 2005/2563] Bump actions/deploy-pages from 2.0.2 to 2.0.3 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2.0.2 to 2.0.3. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/ee48c7b82e077d7b8ef30b50a719e6a792a50c9a...12ab2b16cf43a7a061fe99da74b6f8f11fb77f5b) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e2fdd0040d..e74e1345e8 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@ee48c7b82e077d7b8ef30b50a719e6a792a50c9a # v2.0.2 + uses: actions/deploy-pages@12ab2b16cf43a7a061fe99da74b6f8f11fb77f5b # v2.0.3 From 59b2b7066b76e37bcd6db9c39fc50687334dd1f8 Mon Sep 17 00:00:00 2001 From: Marcelo Junior Date: Mon, 17 Jul 2023 11:43:32 -0300 Subject: [PATCH 2006/2563] Fix typo --- pt/news/_posts/2022-12-25-ruby-3-2-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt/news/_posts/2022-12-25-ruby-3-2-0-released.md b/pt/news/_posts/2022-12-25-ruby-3-2-0-released.md index d5d245c37d..b606a7f114 100644 --- a/pt/news/_posts/2022-12-25-ruby-3-2-0-released.md +++ b/pt/news/_posts/2022-12-25-ruby-3-2-0-released.md @@ -212,7 +212,7 @@ sum = ary[0] + ary[1] `ruby2_keywords` foi mantida se o método recebedor levava `*args`, mas isso era um bug de inconsistência. Uma boa técnica pra encontrar potenciais `ruby2_keywords` faltantes é rodar a suíte de testes, encontrar o último método que deve receber - argumentos para cada lugar onte a suíte de teste falha, e usar `puts nil, caller, nil` + argumentos para cada lugar onde a suíte de teste falha, e usar `puts nil, caller, nil` lá. Então verifique que cada método/bloco da cadeia de chamada que deve delegar palavras-chave está corretamente marcado com `ruby2_keywords`. [[Bug #18625]] [[Bug #16466]] From f1e57dcf02a26a64c079e45e71e6c0b505a58e53 Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 30 Jul 2023 17:41:06 +0900 Subject: [PATCH 2007/2563] Translate "CVE-2023-36617: ReDoS vulnerability in URI" (ko) (#3094) * cp {en,ko}/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md * Translate to ko * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md diff --git a/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md new file mode 100644 index 0000000000..b11eb1e597 --- /dev/null +++ b/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "CVE-2023-36617: URI의 ReDoS 취약점" +author: "hsbt" +translator: "shia" +date: 2023-06-29 01:00:00 +0000 +tags: security +lang: ko +--- + +ReDoS 취약점에 대한 보안 수정이 포함된 uri gem 버전 0.12.2, 0.10.3을 릴리스했습니다. +이 취약점에는 CVE 식별자 [CVE-2023-36617](https://www.cve.org/CVERecord?id=CVE-2023-36617)이 할당되었습니다. + +## 세부 내용 + +0.12.1 이전의 URI 구성 요소에서 ReDoS 문제가 발견되었습니다. URI 구문 분석기가 특정 문자가 포함된 유효하지 않은 URL을 잘못 처리합니다. 이로 인해 `rfc2396_parser.rb`와 `rfc3986_parser.rb`를 사용해 문자열을 URI 객체로 구문 분석하는 데 걸리는 실행 시간이 증가합니다. + +NOTE: 이 문제는 [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/)의 불완전한 수정으로 발생했습니다. + +`uri` gem의 0.12.1과 모든 0.12.1 이하 버전이 이 취약점에 취약합니다. + +## 권장 조치 + +`uri` gem을 0.12.2로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에 포함된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. + +* Ruby 3.0: `uri` 0.10.3으로 업데이트 +* Ruby 3.1과 3.2: `uri` 0.12.2로 업데이트 + +`gem update uri`를 사용하여 업데이트할 수 있습니다. bundler를 사용하는 경우 `gem "uri", ">= 0.12.2"`(또는 위에 언급된 다른 버전)을 `Gemfile`에 추가하세요. + +## 해당 버전 + +* uri gem 0.12.1과 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [ooooooo_q](https://hackerone.com/ooooooo_q)에게 감사를 표합니다. + +이 문제를 수정해 준 [nobu](https://github.com/nobu)에게 감사를 표합니다. + +## 수정 이력 + +* 2023-06-29 01:00:00 (UTC) 최초 공개 From 3ae15a6afb8b058f44dfea1c4e8c088e6cf0fa50 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Aug 2023 15:07:15 +0000 Subject: [PATCH 2008/2563] Bump actions/deploy-pages from 2.0.3 to 2.0.4 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2.0.3 to 2.0.4. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/12ab2b16cf43a7a061fe99da74b6f8f11fb77f5b...9dbe3824824f8a1377b8e298bafde1a50ede43e5) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e74e1345e8..d8dc7d3afc 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@12ab2b16cf43a7a061fe99da74b6f8f11fb77f5b # v2.0.3 + uses: actions/deploy-pages@9dbe3824824f8a1377b8e298bafde1a50ede43e5 # v2.0.4 From 952d4e6a6d713439264dea8f929595977c84007b Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 8 Aug 2023 19:34:45 +0700 Subject: [PATCH 2009/2563] Fix links to ReDoS vulnerability posts in Ruby 3.2.2 released news (en) --- en/news/_posts/2023-03-30-ruby-3-2-2-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md index 51487fa691..ea63747b83 100644 --- a/en/news/_posts/2023-03-30-ruby-3-2-2-released.md +++ b/en/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -12,8 +12,8 @@ Ruby 3.2.2 has been released. This release includes security fixes. Please check the topics below for details. -* [CVE-2023-28755: ReDoS vulnerability in URI]({%link es/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) -* [CVE-2023-28756: ReDoS vulnerability in Time]({%link es/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) +* [CVE-2023-28755: ReDoS vulnerability in URI]({%link en/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: ReDoS vulnerability in Time]({%link en/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_2) for further details. From fb736380db2049c1cc1af104a4af30c93e7da93b Mon Sep 17 00:00:00 2001 From: Kentaro Goto Date: Mon, 28 Aug 2023 00:04:26 +0900 Subject: [PATCH 2010/2563] Skip preview branch in the timeline charts on downloads/branches/ --- javascripts/branch-timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascripts/branch-timeline.js b/javascripts/branch-timeline.js index dfe7a5d061..6cf27da689 100644 --- a/javascripts/branch-timeline.js +++ b/javascripts/branch-timeline.js @@ -6,7 +6,7 @@ function drawChart() { const source = - JSON.parse(document.getElementById("branches.json").innerHTML).slice(0, 5).reverse() + JSON.parse(document.getElementById("branches.json").innerHTML).filter(e=>e.status != "preview").slice(0, 5).reverse() .map(e => { return { ...e, From 8f53e1dd08f97f44a288163d3e6f4c2b465a0ea9 Mon Sep 17 00:00:00 2001 From: gaojun Date: Fri, 28 Jul 2023 22:16:50 +0800 Subject: [PATCH 2011/2563] Translate "CVE-2023-36617: ReDoS vulnerability in URI" (zh_cn) --- .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 zh_cn/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md diff --git a/zh_cn/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/zh_cn/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md new file mode 100644 index 0000000000..1a344a6b65 --- /dev/null +++ b/zh_cn/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "CVE-2023-36617: URI 包中的 ReDoS 漏洞" +author: "hsbt" +translator: "GAO Jun" +date: 2023-06-29 01:00:00 +0000 +tags: security +lang: zh_cn +--- + +我们刚发布了包含 ReDoS 漏洞补丁的 `uri` gem 版本 0.12.2 和 0.10.3。 +此漏洞的 CVE 编号为 [CVE-2023-36617](https://www.cve.org/CVERecord?id=CVE-2023-36617)。 + +## 详情 + +在 URI 组件 0.12.1 中发现了一个 ReDoS 问题。URI 解析器会错误处理包含特殊字符的错误 URL。 +导致通过 rf2396_parser.rb 和 rfc3986_parser.rb 将字符串解析为 URI 对象的处理时间增长。 + +注意:此问题是由于 [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/) 的不完整修复而导致的。 + +受此漏洞影响的 `uri` gem 版本包括:0.12.1 以及 0.12.1 之前的版本。 + +## 建议操作 + +我们建议将 `uri` gem 更新到 0.12.1。为了保证各个 Ruby 系列中绑定版本的兼容性您也可以按照下列方式进行更新: + +* Ruby 3.0:更新 `uri` 至 0.10.3 +* Ruby 3.1 和 3.2:更新 `uri` 至 0.12.2 + +您可以通过 `gem update uri` 进行更新。如果您使用 bundler,请在您的 `Gemfile` 中增加 `gem "uri", ">= 0.12.2"` (或上面提到的其他版本)。 + +## 受影响版本 + +* uri gem 0.12.1 及之前版本 + +## 致谢 + +感谢 [ooooooo_q](https://hackerone.com/ooooooo_q) 发现此问题。 + +感谢 [nobu](https://github.com/nobu) 修复此问题。 + +## 历史 + +* 最初发布于 2023-06-29 01:00:00 (UTC) From 4a1f09ba65ec2b155aff0c08beeea6291a8a6478 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:43:26 +0000 Subject: [PATCH 2012/2563] Bump actions/checkout from 3.5.3 to 3.6.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/c85c95e3d7251135ab7dc9ce3241c5835cc595a9...f43a0e5ff2bd294095638e18286ca9a3d1956744) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9600851db..e17970071c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index d8dc7d3afc..a8aba12851 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Setup Ruby uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0 with: From 8fba693cc4af028735a329a593429faaa3b2d886 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Thu, 29 Jun 2023 12:27:06 +0700 Subject: [PATCH 2013/2563] Translate Ruby 2.7.8 released news post (id) --- .../_posts/2023-03-30-ruby-2-7-8-released.md | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 id/news/_posts/2023-03-30-ruby-2-7-8-released.md diff --git a/id/news/_posts/2023-03-30-ruby-2-7-8-released.md b/id/news/_posts/2023-03-30-ruby-2-7-8-released.md new file mode 100644 index 0000000000..98daab8240 --- /dev/null +++ b/id/news/_posts/2023-03-30-ruby-2-7-8-released.md @@ -0,0 +1,64 @@ +--- +layout: news_post +title: "Ruby 2.7.8 Dirilis" +author: "usa" +translator: "meisyal" +date: 2023-03-30 12:00:00 +0000 +lang: id +--- + +Ruby 2.7.8 telah dirilis. + +Rilis ini mencakup perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk detail. + +* [CVE-2023-28755: Kerentanan ReDoS pada URI]({%link id/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Kerentanan ReDoS pada Time]({%link id/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +Rilis ini juga mencakup beberapa perbaikan pada *build*. +Lihat [GitHub releases](https://github.com/ruby/ruby/releases/tag/v2_7_8) untuk +lebih detail. + +Setelah rilis ini, Ruby 2.7 akan mencapai EOL. Dengan kata lain, ini akan menjadi +rilis terakhir dari rangkaian Ruby 2.7. +Kami tidak akan merilis Ruby 2.7.9 walaupun ada kerentanan keamanan ditemukan +(tetapi, kami mungkin merilis jika sebuah regresi signifikan ditemukan). +Kami merekomendasikan semua pengguna Ruby 2.7 untuk mulai migrasi ke Ruby 3.2, +3.1, atau 3.0 segera. + +## Unduh + +{% assign release = site.data.releases | where: "version", "2.7.8" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Komentar rilis + +Banyak *committer*, pengembang, dan pengguna yang telah menyediakan laporan +*bug* membantu kami untuk membuat rilis ini. Terima kasih atas kontribusinya. From d0d0ad28c7d99003c8d788753348dda82d9fef14 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Mon, 10 Jul 2023 19:15:37 +0700 Subject: [PATCH 2014/2563] Translate Ruby 3.0.6 released news post (id) --- .../_posts/2023-03-30-ruby-3-0-6-released.md | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 id/news/_posts/2023-03-30-ruby-3-0-6-released.md diff --git a/id/news/_posts/2023-03-30-ruby-3-0-6-released.md b/id/news/_posts/2023-03-30-ruby-3-0-6-released.md new file mode 100644 index 0000000000..678da565f1 --- /dev/null +++ b/id/news/_posts/2023-03-30-ruby-3-0-6-released.md @@ -0,0 +1,64 @@ +--- +layout: news_post +title: "Ruby 3.0.6 Dirilis" +author: "usa" +translator: "meisyal" +date: 2023-03-30 12:00:00 +0000 +lang: id +--- + +Ruby 3.0.6 telah dirilis. + +Rilis ini mencakup perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk detail. + +* [CVE-2023-28755: Kerentanan ReDoS pada URI]({%link id/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Kerentanan ReDoS pada Time]({%link id/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +Rilis ini juga mencakup beberapa perbaikan *bug*. +Lihat [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_6) untuk +lebih detail. + +Setelah rilis ini, kami akan mengakhiri fase perawatan normal dari Ruby 3.0 dan +Ruby 3.0 akan memasuki fase perawatan keamanan. +Ini artinya kami tidak akan melakukan *backport* perbaikan *bug* apa pun, kecuali +perbaikan keamanan. + +Ketentuan dari fase perawatan keamanan dijadwalkan selama satu tahun. +Ruby 3.0 akan mencapai EOL dan dukungan resmi berakhir pada akhir dari fase +perawatan keamanan. +Oleh sebab itu, kami merekomendasikan Anda untuk mulai memperbarui Ruby ke +3.1 atau 3.2. + +## Unduh + +{% assign release = site.data.releases | where: "version", "3.0.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang telah menyediakan laporan +*bug* membantu kami untuk membuat rilis ini. Terima kasih atas kontribusinya. + +Perawatan Ruby 3.0, termasuk rilis ini, didasarkan pada +"Agreement for the Ruby stable version" dari Ruby Association. From 8eeb816130a9293517020d847db182d23240a1f5 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 22 Jul 2023 22:28:06 +0700 Subject: [PATCH 2015/2563] Translate Ruby 3.1.4 released news post (id) --- .../_posts/2023-03-30-ruby-3-1-4-released.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 id/news/_posts/2023-03-30-ruby-3-1-4-released.md diff --git a/id/news/_posts/2023-03-30-ruby-3-1-4-released.md b/id/news/_posts/2023-03-30-ruby-3-1-4-released.md new file mode 100644 index 0000000000..66f82cdcf5 --- /dev/null +++ b/id/news/_posts/2023-03-30-ruby-3-1-4-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.1.4 Dirilis" +author: "nagachika" +translator: "meisyal" +date: 2023-03-30 12:00:00 +0000 +lang: id +--- + +Ruby 3.1.4 telah dirilis. + +Rilis ini mencakup perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk detail. + +* [CVE-2023-28755: Kerentanan ReDoS pada URI]({%link id/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Kerentanan ReDoS pada Time]({%link id/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +Lihat [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_4) untuk +lebih detail. + +## Unduh + +{% assign release = site.data.releases | where: "version", "3.1.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang telah menyediakan laporan *bug* +membantu kami untuk membuat rilis ini. Terima kasih atas kontribusinya. From be2d7abf7e8e6fbc8a876443e4a5f9b78f867b61 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Fri, 28 Jul 2023 18:15:28 +0700 Subject: [PATCH 2016/2563] Translate Ruby 3.2.2 released news post (id) --- .../_posts/2023-03-30-ruby-3-2-2-released.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 id/news/_posts/2023-03-30-ruby-3-2-2-released.md diff --git a/id/news/_posts/2023-03-30-ruby-3-2-2-released.md b/id/news/_posts/2023-03-30-ruby-3-2-2-released.md new file mode 100644 index 0000000000..99a50652b2 --- /dev/null +++ b/id/news/_posts/2023-03-30-ruby-3-2-2-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.2.2 Dirilis" +author: "naruse" +translator: "meisyal" +date: 2023-03-30 12:00:00 +0000 +lang: id +--- + +Ruby 3.2.2 telah dirilis. + +Rilis ini mencakup perbaikan keamanan. +Mohon cek topik-topik di bawah ini untuk detail. + +* [CVE-2023-28755: Kerentanan ReDoS pada URI]({%link id/news/_posts/2023-03-28-redos-in-uri-cve-2023-28755.md %}) +* [CVE-2023-28756: Kerentanan ReDoS pada Time]({%link id/news/_posts/2023-03-30-redos-in-time-cve-2023-28756.md %}) + +Lihat [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_2) untuk +lebih detail. + +## Unduh + +{% assign release = site.data.releases | where: "version", "3.2.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Komentar Rilis + +Banyak *committer*, pengembang, dan pengguna yang telah menyediakan laporan *bug* +membantu kami untuk membuat rilis ini. Terima kasih atas kontribusinya. From c53fca5d510e794132dd9766fc908b41c1ed92d8 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sun, 20 Aug 2023 15:44:57 +0700 Subject: [PATCH 2017/2563] Translate Ruby 3.3.0-preview1 released news post (id) --- ...2023-05-12-ruby-3-3-0-preview1-released.md | 174 ++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 id/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md diff --git a/id/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/id/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md new file mode 100644 index 0000000000..50cd9992d4 --- /dev/null +++ b/id/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -0,0 +1,174 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview1 Dirilis" +author: "naruse" +translator: "meisyal" +date: 2023-05-12 00:00:00 +0000 +lang: id +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview1" | first %} + +Kami dengan senang hati mengumumkan rilis dari Ruby {{ release.version }}. +Ruby 3.3. menambahkan sebuah *pure-Ruby* JIT *compiler* baru yang bernama RJIT, +menggunakan Lrama sebagai *parser generator*, dan memperbaiki performa khususnya +YJIT. + +## RJIT + +* Memperkenalkan sebuah *pure-Ruby* JIT *compiler* dan menggantikan MJIT. + * RJIT hanya mendukung arsitektur x86\_64 pada *platform Unix*. + * Berbeda dengan MJIT, RJIT tidak membutuhkan sebuah C *compiler* saat *runtime*. +* RJIT ada untuk tujuan eksperimen. + * Anda harus tetap menggunakan YJIT pada *production*. +* Jika Anda tertarik untuk mengembangkan JIT pada Ruby, mohon cek + [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## Menggunakan Lrama ketimbang Bison + +* Mengganti Bison dengan [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * Jika Anda tertarik, silakan lihat [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + +## YJIT + +* Peningkatan performa yang signifikan dibanding Ruby 3.2 + * Dukungan *splat* dan *rest argument* telah ditingkatkan. + * *Register* dialokasikan untuk operasi *stack* dari *virtual machine*. + * Pemanggilan dengan *optional argument* dikompilasi. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` dioptimisasi. + * *Instant variable* tidak lagi keluar ke *intepreter* dengan *Object Shapes* + yang sangat besar. +* *Metadata* dari kode yang dikompilasi menggunakan *memory* lebih sedikit. +* Peningkatan *code generation* pada ARM64 +* Opsi untuk menjalankan YJIT pada *paused mode* dan mengaktifkan kembali secara manual + * `--yjit-pause` dan `RubyVM::YJIT.resume` + * Ini dapat digunakan untuk mengaktifkan YJIT ketika aplikasi Anda selesai *booting* +* Opsi *exit tracing* sekarang mendukung *sampling* + * `--trace-exits-sample-rate=N` +* Perbaikan beberapa *bug* + + + +## Fitur Penting Lainnya + +### Bahasa + + + +## Perbaikan performa + +* `defined?(@ivar)` dioptimisasi dengan *Object Shapes*. + +## Perubahan penting lainnya sejak 3.2 + + + +## Isu kompatibilitas + +Catatan: Tidak termasuk perbaikan *bug* dari fitur. + +### Constant terhapus + +Berikut ini adalah *constant* yang telah dihapus. + + + +### Method terhapus + +Berikut ini adalah *method* yang telah dihapus. + + + +## Isu kompatibilitas Stdlib + +### `ext/readline` dipensiunkan + +* Kami memiliki `reline` yang merupakan implementasi Ruby murni dan kompatibel + dengan `ext/readline` API. Kami bergantung pada `reline` di masa depan. Jika + Anda perlu untuk menggunakan `ext/readline`, Anda dapat memasang `ext/readline` + melalui rubygems.org dengan `gem install readline-ext`. +* Kami tidak lagi memasang pustaka, seperti `libreadline` atau `libedit`. + +## Pembaruan C API + +### C API diperbarui + +Berikut adalah API yang telah diperbarui. + + + +### C API terhapus + +Berikut adalah API yang telah dihapus. + + + +## Pembaruan pustaka standar + + + +Berikut adalah *default gem* yang telah diperbarui. + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.7 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.6.4 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.3 +* stringio 3.0.7 +* strscan 3.0.7 +* syntax_suggest 1.0.4 +* time 0.2.2 +* timeout 0.3.2 +* uri 0.12.1 + +Berikut adalah *bundled gem* yang telah diperbarui. + +* minitest 5.18.0 +* rbs 3.1.0 +* typeprof 0.21.7 +* debug 1.8.0 + +Lihat rilis GitHub, seperti [Logger](https://github.com/ruby/logger/releases) +atau *changelog* untuk detail dari *default gem* atau *bundled gem*. + +Lihat [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +atau [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +untuk lebih detail. + +Dengan perubahan tersebut, [{{ release.stats.files_changed }} berkas berubah, {{ release.stats.insertions }} sisipan(+), {{ release.stats.deletions }} terhapus(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +sejak Ruby 3.2.0! + +## Unduh + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Apa itu Ruby + +Ruby pertama kali dikembangkan oleh Matz (Yukihiro Matsumoto) pada 1993 +dan sekarang dikembangkan sebagai *Open Source*. Ruby berjalan pada berbagai +*platform* dan digunakan di seluruh dunia, khususnya pengembangan *web*. From e573cc570ab26511114182c59973e514332aba1d Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 2 Sep 2023 20:38:15 +0700 Subject: [PATCH 2018/2563] Translate CVE-2023-36617: ReDoS vulnerability in URI (id) --- .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 id/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md diff --git a/id/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/id/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md new file mode 100644 index 0000000000..21ac39eca0 --- /dev/null +++ b/id/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "CVE-2023-36617: Kerentanan ReDoS pada URI" +author: "hsbt" +translator: "meisyal" +date: 2023-06-29 01:00:00 +0000 +tags: security +lang: id +--- + +Kami telah merilis versi *gem* uri 0.12.2, 0.10.3 yang memiliki perbaikan +keamanan untuk kerentanan ReDoS. +Kerentanan ini telah ditetapkan dengan penanda CVE +[CVE-2023-36617](https://www.cve.org/CVERecord?id=CVE-2023-36617). + +## Detail + +Sebuah isu ReDoS ditemukan pada komponen URI hingga versi 0.12.1. URI *parser* +menangani URL yang tidak valid yang memiliki karakter tertentu secara tidak tepat. +Ini menyebabkan kenaikan waktu eksekusi untuk mem-*parse string* ke objek URI +dengan rfc2396_parser.rb dan rfc3986_parser.rb. + +Catatan: isu ini ada karena perbaikan kurang sempurna pada +[CVE-2023-28755](https://www.ruby-lang.org/id/news/2023/03/28/redos-in-uri-cve-2023-28755/). + +*Gem* `uri` versi 0.12.1 dan semua versi sebelum 0.12.1 rentan terhadap isu ini. + +## Tindakan yang direkomendasikan + +Kami merekomendasikan untuk memperbarui *gem* `uri` ke 0.12.2. Untuk memastikan +kompatibilitas dengan versi yang dibundel pada rangkaian Ruby lama, Anda bisa +memperbarui dengan langkah berikut. + +* Untuk Ruby 3.0: Perbarui `uri` ke 0.10.3 +* Untuk Ruby 3.1 dan 3.2: Perbarui `uri` ke 0.12.2 + +Anda dapat menggunakan `gem update uri` untuk memperbarui. Jika Anda menggunakan +*bundler*, mohon tambahkan `gem "uri", ">= 0.12.2"` (atau versi lain yang disebut +sebelumnya) pada `Gemfile` Anda. + +## Versi terimbas + +* *Gem* uri 0.12.1 atau sebelumnya + +## Rujukan + +Terima kasih kepada [ooooooo_q](https://hackerone.com/ooooooo_q) yang telah +menemukan isu ini. + +Terima kasih kepada [nobu](https://github.com/nobu) yang telah memperbaiki isu +ini. + +## Riwayat + +* Semula dipublikasikan pada 2023-06-29 01:00:00 (UTC) From 33e255c417bd921aeeea9b5b08a6f4490b486c44 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sun, 27 Aug 2023 13:10:25 +0800 Subject: [PATCH 2019/2563] Translate Ruby 3.2.0 preview2 released news post (zh_tw) --- ...2022-09-09-ruby-3-2-0-preview2-released.md | 312 ++++++++++++++++++ 1 file changed, 312 insertions(+) create mode 100644 zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md diff --git a/zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md b/zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md new file mode 100644 index 0000000000..565029b98d --- /dev/null +++ b/zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md @@ -0,0 +1,312 @@ +--- +layout: news_post +title: "Ruby 3.2.0 Preview 2 Released" +author: "naruse" +translator: "Bear Su" +date: 2022-09-09 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.2.0-preview2" | first %} + +我們很高興宣佈 Ruby {{ release.version }} 發佈了. Ruby 3.2 新增許多新功能及效能提升. + + +## 基於 WASI 的 WebAssembly 支援 + +這是首次基於 WASI 支援 WebAssembly。使得 CRuby binary 可用於網頁瀏覽器、Serverless Edge 環境、與其他 WebAssembly/WASI 嵌入式環境. 目前已通過 basic 與 bootstrap 測試,但不包括 Thread API。 + +![](https://i.imgur.com/opCgKy2.png) + +### 背景 + +[WebAssembly (Wasm)](https://webassembly.org/) 最初是為了在網頁瀏覽器中安全快速地執行程式。但其目標 - 在不同的環境上安全又有效率的執行程式,不僅是 web 應用程式,也是其他一般應用程式的目標。 + +[WASI (The WebAssembly System Interface)](https://wasi.dev/) 被設計用於此使用場景。 儘管應用程式需要與作業系統溝通,但 WebAssembly 卻是運行在沒有系統介面的虛擬機中。WASI 將其標準化了。 + +Ruby 中的 WebAssembly/WASI 支援透過這些專案,允許 Ruby 開發者可以開發在相容此功能的平台上執行的應用程式。 + +### 使用場景 + +此支援功能使得開發者可以在 WebAssembly 環境上使用 CRuby。 其中一個範例就是 [TryRuby playground](https://try.ruby-lang.org/playground/) 的 CRuby 支援。現在您可以在您的網頁瀏覽器上嘗試原生的 CRuby。 + +### 技術特點 + +因為目前 WASI 和 WebAssembly 不斷地再改進與安全性理由,仍缺少一些功能來實現 Fiber、異常、和 GC。所以 CRuby 透過使用 Asyncify,一個在使用者空間的 binary 轉換技術,來彌補中間的差距。 + +並且,我們建置了 [a VFS on top of WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby),讓我們可以很容易地將 Ruby 應用程式打包成單一 .wasm 檔案。簡化了 Ruby 應用程式的分發過程。 + + +### 相關連結 + +* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407) +* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9) + +## Regexp 逾時設定 + +新增 Regexp matching 的逾時設定。 + +```ruby +Regexp.timeout = 1.0 + +/^a*b?a*$/ =~ "a" * 50000 + "x" +#=> 1 秒後拋出 Regexp::TimeoutError +``` + +眾所皆知 Regexp matching 所花的時間可能會非預期的久。如果您的程式使用效率可能較低的 Regexp 來比對不可信的輸入內容,攻擊者可能可以藉此來發動服務阻斷攻擊。(稱為 Regular expression DoS, or ReDoS)。 + +根據您的 Ruby 應用程式需求,可以透過設定 `Regexp.timeout` 來避免或是減輕被 DoS 的風險。請在您的應用程式中嘗試使用,我們歡迎您的任何建議。 + +注意 `Regexp.timeout` 是全域設定。如果您想要為一些特定的 Regexps 使用不同的逾時設定,您可以在呼叫 `Regexp.new` 時使用 `timeout` keyword。 + +```ruby +Regexp.timeout = 1.0 + +# 這個 regexp 沒有超時設定 +long_time_re = Regexp.new("^a*b?a*$", timeout: nil) + +long_time_re =~ "a" * 50000 + "x" # 不會被中斷 +``` + +最初提案:https://bugs.ruby-lang.org/issues/17837 + + +## 其他值得注意的新功能 + +### 不再綑綁第三方原始碼 + +* 我們不再綑綁第三方原始碼像是 `libyaml`, `libffi`。 + + * psych 中的 libyaml 原始碼已經被移除。您可能需要在 Ubuntu/Debian 平台上安裝 `libyaml-dev`。 每個平台上的套件名稱有所不同。 + + * libffi 將在 preview2 從 `fiddle` 中移除。 + +### 語言功能 + +* 除了作為方法參數,匿名不定長度參數現在也可以傳遞為其他方法的參數。 + [[Feature #18351]] + + ```ruby + def foo(*) + bar(*) + end + def baz(**) + quux(**) + end + ``` + +* 只接收單一參數的 proc 將不會自動解開封裝。 [[Bug #18633]] + + ```ruby + proc{|a, **k| a}.call([1, 2]) + # Ruby 3.1 與之前的版本 + # => 1 + # Ruby 3.2 與之後的版本 + # => [1, 2] + ``` + +* 常數賦值評估順序將與單一屬性賦值評估順序保持一致。參考以下程式碼: + + ```ruby + foo::BAR = baz + ``` + + `foo` 現在會在 `baz` 之前被呼叫。同樣地,在有多個賦值給常數的情況,會使用從左至右的順序評估。參考以下程式碼: + + ```ruby + foo1::BAR1, foo2::BAR2 = baz1, baz2 + ``` + + 現在使用下面的評估顺序: + + 1. `foo1` + 2. `foo2` + 3. `baz1` + 4. `baz2` + + [[Bug #15928]] + +* Find pattern 不再是實驗性功能。 + [[Feature #18585]] + +* 使用不定長度參數 (例如 `*args`) 的方法,如果同時希望可以作為 keyword 參數傳遞給 `foo(*args)`。必須標記為 `ruby2_keywords` (若還未標記)。 + 換句話說,希望作為接收 keyword 參數的其他方法都毫無例外地必須標記為 `ruby2_keywords`。若某個函式庫需要使用 Ruby 3+,這會是一個較為容易的過渡升級方法。 + 在此之前,當接受方法取得 `*args`時會保留 `ruby2_keywords` 標記,但這是一個錯誤且行為不一致。 + 對於找到可能缺少 `ruby2_keywords` 標記的好方法是執行測試,在測試失敗的地方,找到最後一個接收 keyword 參數的方法,在哪裡使用 `puts nil, caller, nil`,並檢查每一個在呼叫鏈上的方法/區塊,是否都被正確地標記為 `ruby2_keywords`。[[Bug #18625]] [[Bug #16466]] + + ```ruby + def target(**kw) + end + + # 意外地 Ruby 2.7-3.1 在沒有 ruby2_keywords 的情況下可以成功 + # 執行,但在 3.2+ 卻是必需的。若需移除 ruby2_keywords, + # #foo 和 #bar 需要將參數改成 (*args, **kwargs) 或 (...) + ruby2_keywords def bar(*args) + target(*args) + end + + ruby2_keywords def foo(*args) + bar(*args) + end + + foo(k: 1) + ``` + +## 效能提升 + +### YJIT + +* 支援 arm64 / aarch64 架構的 UNIX 平台。 +* 建置 YJIT 時需要 Rust 1.58.1+ 。 [[Feature #18481]] + +## 自 3.1 以來其他值得注意的變更 + +* Hash + * 當 hash 為空時, Hash#shift 現在總是回傳 nil,取代以往回傳預設值或呼叫預設的 proc。 [[Bug #16908]] + +* MatchData + * 已新增 MatchData#byteoffset。 [[Feature #13110]] + +* Module + * 已新增 Module.used_refinements。 [[Feature #14332]] + * 已新增 Module#refinements。 [[Feature #12737]] + * 已新增 Module#const_added。 [[Feature #17881]] + +* Proc + * Proc#dup 回傳子類別的實體。 [[Bug #17545]] + * Proc#parameters 現在接受 lambda keyword。 [[Feature #15357]] + +* Refinement + * 已新增 Refinement#refined_class。 [[Feature #12737]] + +* Set + * Set 現在可以直接使用,不再需要先 `require "set"`。 [[Feature #16989]] + 目前是透過 `Set` 常數或呼叫 `Enumerable#to_set` 來自動載入。 + +* String + * 已新增 String#byteindex 和 String#byterindex。 [[Feature #13110]] + * 更新 Unicode 至 Version 14.0.0 和 Emoji Version 14.0。 [[Feature #18037]] (也適用於 Regexp) + * 已新增 String#bytesplice。 [[Feature #18598]] + +* Struct + * `Struct.new` 不需要傳入 `keyword_init: true` 也可以透過 keyword 參數初始化。 [[Feature #16806]] + +## 相容性問題 + +注意:不包含功能問題的修正。 + +### 被移除的常數 + +下列廢棄的常數已被移除。 + +* `Fixnum` 和 `Bignum` [[Feature #12005]] +* `Random::DEFAULT` [[Feature #17351]] +* `Struct::Group` +* `Struct::Passwd` + +### 被移除的方法 + +下列廢棄的方法已被移除。 + +* `Dir.exists?` [[Feature #17391]] +* `File.exists?` [[Feature #17391]] +* `Kernel#=~` [[Feature #15231]] +* `Kernel#taint`, `Kernel#untaint`, `Kernel#tainted?` + [[Feature #16131]] +* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?` + [[Feature #16131]] + +## Stdlib 相容性問題 + +* `Psych` 不再綑綁 libyaml 原始碼. + 使用者需要透過套件管理系統自行安裝 libyaml 函式庫。 [[Feature #18571]] + +## C API 更新 + +### 被移除的 C APIs + +下列廢棄的 APIs 已被移除。 + +* `rb_cData` 變數。 +* "taintedness" 和 "trustedness" 函式. [[Feature #16131]] + +### 標準函式庫更新 + +* 下列的預設 gem 已被更新。 + + * TBD + +* 下列的 bundled gem 已被更新。 + + * TBD + +* 下列的預設 gem 現在是 bundled gems。你需要在 bundler 環境下將這些函式庫加入到 `Gemfile` 中。 + + * TBD + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}) 來了解更多。 + +自 Ruby 3.1.0 以來,計 [{{ release.stats.files_changed }} 檔案變更, {{ release.stats.insertions }} 行新增 (+), {{ release.stats.deletions }} 行刪減 (-)](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}#file_bucket)! + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + + + +[Feature #12005]: https://bugs.ruby-lang.org/issues/12005 +[Feature #12655]: https://bugs.ruby-lang.org/issues/12655 +[Feature #12737]: https://bugs.ruby-lang.org/issues/12737 +[Feature #13110]: https://bugs.ruby-lang.org/issues/13110 +[Feature #14332]: https://bugs.ruby-lang.org/issues/14332 +[Feature #15231]: https://bugs.ruby-lang.org/issues/15231 +[Feature #15357]: https://bugs.ruby-lang.org/issues/15357 +[Bug #15928]: https://bugs.ruby-lang.org/issues/15928 +[Feature #16131]: https://bugs.ruby-lang.org/issues/16131 +[Bug #16466]: https://bugs.ruby-lang.org/issues/16466 +[Feature #16806]: https://bugs.ruby-lang.org/issues/16806 +[Bug #16889]: https://bugs.ruby-lang.org/issues/16889 +[Bug #16908]: https://bugs.ruby-lang.org/issues/16908 +[Feature #16989]: https://bugs.ruby-lang.org/issues/16989 +[Feature #17351]: https://bugs.ruby-lang.org/issues/17351 +[Feature #17391]: https://bugs.ruby-lang.org/issues/17391 +[Bug #17545]: https://bugs.ruby-lang.org/issues/17545 +[Feature #17881]: https://bugs.ruby-lang.org/issues/17881 +[Feature #18037]: https://bugs.ruby-lang.org/issues/18037 +[Feature #18159]: https://bugs.ruby-lang.org/issues/18159 +[Feature #18351]: https://bugs.ruby-lang.org/issues/18351 +[Bug #18487]: https://bugs.ruby-lang.org/issues/18487 +[Feature #18571]: https://bugs.ruby-lang.org/issues/18571 +[Feature #18585]: https://bugs.ruby-lang.org/issues/18585 +[Feature #18598]: https://bugs.ruby-lang.org/issues/18598 +[Bug #18625]: https://bugs.ruby-lang.org/issues/18625 +[Bug #18633]: https://bugs.ruby-lang.org/issues/18633 +[Feature #18685]: https://bugs.ruby-lang.org/issues/18685 +[Bug #18782]: https://bugs.ruby-lang.org/issues/18782 +[Feature #18788]: https://bugs.ruby-lang.org/issues/18788 +[Feature #18809]: https://bugs.ruby-lang.org/issues/18809 +[Feature #18481]: https://bugs.ruby-lang.org/issues/18481 From 833920128596ef7aa9d766c01de3e857b16d448c Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 31 Aug 2023 21:35:00 +0800 Subject: [PATCH 2020/2563] Translate Ruby 3.2.0 preview3 released news post (zh_tw) --- ...2022-11-11-ruby-3-2-0-preview3-released.md | 378 ++++++++++++++++++ 1 file changed, 378 insertions(+) create mode 100644 zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md diff --git a/zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md b/zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md new file mode 100644 index 0000000000..fb54c02fee --- /dev/null +++ b/zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md @@ -0,0 +1,378 @@ +--- +layout: news_post +title: "Ruby 3.2.0 Preview 3 Released" +author: "naruse" +translator: "Bear Su" +date: 2022-11-11 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.2.0-preview3" | first %} + +我們很高興宣佈 Ruby {{ release.version }} 發佈了. Ruby 3.2 新增許多新功能及效能提升. + + +## 基於 WASI 的 WebAssembly 支援 + +這是首次基於 WASI 支援 WebAssembly。使得 CRuby binary 可用於網頁瀏覽器、Serverless Edge 環境、與其他 WebAssembly/WASI 嵌入式環境. 目前已通過 basic 與 bootstrap 測試,但不包括 Thread API。 + +![](https://i.imgur.com/opCgKy2.png) + +### 背景 + +[WebAssembly (Wasm)](https://webassembly.org/) 最初是為了在網頁瀏覽器中安全快速地執行程式。但其目標 - 在不同的環境上安全又有效率的執行程式,不僅是 web 應用程式,也是其他一般應用程式的目標。 + +[WASI (The WebAssembly System Interface)](https://wasi.dev/) 被設計用於此使用場景。 儘管應用程式需要與作業系統溝通,但 WebAssembly 卻是運行在沒有系統介面的虛擬機中。WASI 將其標準化了。 + +Ruby 中的 WebAssembly/WASI 支援透過這些專案,允許 Ruby 開發者可以開發在相容此功能的平台上執行的應用程式。 + +### 使用場景 + +此支援功能使得開發者可以在 WebAssembly 環境上使用 CRuby。 其中一個範例就是 [TryRuby playground](https://try.ruby-lang.org/playground/) 的 CRuby 支援。現在您可以在您的網頁瀏覽器上嘗試原生的 CRuby。 + +### 技術特點 + +因為目前 WASI 和 WebAssembly 不斷地再改進與安全性理由,仍缺少一些功能來實現 Fiber、異常、和 GC。所以 CRuby 透過使用 Asyncify,一個在使用者空間的 binary 轉換技術,來彌補中間的差距。 + +並且,我們建置了 [a VFS on top of WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby),讓我們可以很容易地將 Ruby 應用程式打包成單一 .wasm 檔案。簡化了 Ruby 應用程式的分發過程。 + + +### 相關連結 + +* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407) +* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9) + +## Regexp 增強 ReDoS 防禦 + +眾所皆知 Regexp matching 所花的時間可能會非預期的久。如果您的程式使用效率可能較低的 Regexp 來比對不可信的輸入內容,攻擊者可能可以藉此來發動服務阻斷攻擊。(稱為 Regular expression DoS, or ReDoS)。 + +我們進行了兩項改進,可以顯著降低 ReDos 攻擊的影響。 + +### 改善 Regexp 比對演算法 + +從 Ruby 3.2 開始,透過使用 memoization 技術,Regexp 的比對演算法得到了很大的改進。 + +``` +# 這個比對在 Ruby 3.1 需要花費 10 秒。 而在 Ruby 3.2 只需要花費 0.003 秒。 + +/^a*b?a*$/ =~ "a" * 50000 + "x" +``` + +改進後的演算法使得大部分的 Regexp (我們實驗中的 90%) 可以在線性時間內完成。 + +(給預覽使用者:這個改善可能會花費與輸入長度成比例的記憶體。我們預期這不會有實際問題,因為這種記憶體分配通常都會延遲,而正常的 Regexp 最多可花費輸入長度 10 倍的記憶體。如果您在現實場景中使用 Regexp 進行比對時遇到記憶題不足的問題,請向我們回報。) + +最初提案: + +### Regexp 逾時設定 + +上述的改善無法套用在某些 Regexp,像是包含進階功能 (例如:back-references 或是 look-around),或有大量固定重複次數。作為備案,我們在 Regexp 比對中導入了逾時設定。 + +```ruby +Regexp.timeout = 1.0 + +/^a*b?a*()\1$/ =~ "a" * 50000 + "x" +#=> 1 秒後拋出 Regexp::TimeoutError +``` + +注意 `Regexp.timeout` 是全域設定。如果您想要為一些特定的 Regexps 使用不同的逾時設定,您可以在呼叫 `Regexp.new` 時使用 `timeout` keyword。 + +```ruby +Regexp.timeout = 1.0 + +# This regexp has no timeout +long_time_re = Regexp.new('^a*b?a*()\1$', timeout: Float::INFINITY) + +long_time_re =~ "a" * 50000 + "x" # 不會被中斷 +``` + +最初提案: + +## 其他值得注意的新功能 + +### 不再綑綁第三方原始碼 + +* 我們不再綑綁第三方原始碼像是 `libyaml`, `libffi`。 + + * psych 中的 libyaml 原始碼已經被移除。您可能需要在 Ubuntu/Debian 平台上安裝 `libyaml-dev`。 每個平台上的套件名稱有所不同。 + + * 綑綁的 libffi 原始碼也從 `fiddle` 中被移除 + +### 語言功能 + +* 除了作為方法參數,匿名不定長度參數現在也可以傳遞為其他方法的參數。 + [[Feature #18351]] + + ```ruby + def foo(*) + bar(*) + end + def baz(**) + quux(**) + end + ``` + +* 只接收單一參數的 proc 將不會自動解開封裝。 [[Bug #18633]] + + ```ruby + proc{|a, **k| a}.call([1, 2]) + # Ruby 3.1 與之前的版本 + # => 1 + # Ruby 3.2 與之後的版本 + # => [1, 2] + ``` + +* 常數賦值評估順序將與單一屬性賦值評估順序保持一致。參考以下程式碼: + + ```ruby + foo::BAR = baz + ``` + + `foo` 現在會在 `baz` 之前被呼叫。同樣地,在有多個賦值給常數的情況,會使用從左至右的順序評估。參考以下程式碼: + + ```ruby + foo1::BAR1, foo2::BAR2 = baz1, baz2 + ``` + + 現在使用下面的評估顺序: + + 1. `foo1` + 2. `foo2` + 3. `baz1` + 4. `baz2` + + [[Bug #15928]] + +* Find pattern 不再是實驗性功能。 + [[Feature #18585]] + +* 使用不定長度參數 (例如 `*args`) 的方法,如果同時希望可以作為 keyword 參數傳遞給 `foo(*args)`。必須標記為 `ruby2_keywords` (若還未標記)。 + 換句話說,希望作為接收 keyword 參數的其他方法都毫無例外地必須標記為 `ruby2_keywords`。若某個函式庫需要使用 Ruby 3+,這會是一個較為容易的過渡升級方法。 + 在此之前,當接受方法取得 `*args`時會保留 `ruby2_keywords` 標記,但這是一個錯誤且行為不一致。 + 對於找到可能缺少 `ruby2_keywords` 標記的好方法是執行測試,在測試失敗的地方,找到最後一個接收 keyword 參數的方法,在哪裡使用 `puts nil, caller, nil`,並檢查每一個在呼叫鏈上的方法/區塊,是否都被正確地標記為 `ruby2_keywords`。[[Bug #18625]] [[Bug #16466]] + + ```ruby + def target(**kw) + end + + # 意外地 Ruby 2.7-3.1 在沒有 ruby2_keywords 的情況下可以成功 + # 執行,但在 3.2+ 卻是必需的。若需移除 ruby2_keywords, + # #foo 和 #bar 需要將參數改成 (*args, **kwargs) 或 (...) + ruby2_keywords def bar(*args) + target(*args) + end + + ruby2_keywords def foo(*args) + bar(*args) + end + + foo(k: 1) + ``` + +## 效能改善 + +### YJIT + +* 支援 arm64 / aarch64 架構的 UNIX 平台。 +* 建置 YJIT 時需要 Rust 1.58.1+ 。 [[Feature #18481]] + +## Other notable changes since 3.1 + +* Hash + * 當 hash 為空時, Hash#shift 現在總是回傳 nil,取代以往回傳預設值或呼叫預設的 proc。 [[Bug #16908]] + +* MatchData + * 已新增 MatchData#byteoffset。 [[Feature #13110]] + +* Module + * 已新增 Module.used_refinements。 [[Feature #14332]] + * 已新增 Module#refinements。 [[Feature #12737]] + * 已新增 Module#const_added。 [[Feature #17881]] + +* Proc + * Proc#dup 回傳子類別的實體。 [[Bug #17545]] + * Proc#parameters 現在接受 lambda keyword。 [[Feature #15357]] + +* Refinement + * 已新增 Refinement#refined_class。 [[Feature #12737]] + +* RubyVM::AbstractSyntaxTree + * `parse`, `parse_file` 和 `of` 新增 `error_tolerant` 選項。 [[Feature #19013]] + +* Set + * Set 現在可以直接使用,不再需要先 `require "set"`。 [[Feature #16989]] + 目前是透過 `Set` 常數或呼叫 `Enumerable#to_set` 來自動載入。 + + +* String + * 已新增 String#byteindex 和 String#byterindex。 [[Feature #13110]] + * 更新 Unicode 至 Version 14.0.0 和 Emoji Version 14.0。 [[Feature #18037]] (也適用於 Regexp) + * 已新增 String#bytesplice。 [[Feature #18598]] + +* Struct + * `Struct.new` 不需要傳入 `keyword_init: true` 也可以透過 keyword 參數初始化。 [[Feature #16806]] + +## 相容性問題 + +注意:不包含功能問題的修正。 + +### 被移除的常數 + +下列廢棄的常數已被移除。 + +* `Fixnum` 和 `Bignum` [[Feature #12005]] +* `Random::DEFAULT` [[Feature #17351]] +* `Struct::Group` +* `Struct::Passwd` + +### 被移除的方法 + +下列廢棄的方法已被移除。 + +* `Dir.exists?` [[Feature #17391]] +* `File.exists?` [[Feature #17391]] +* `Kernel#=~` [[Feature #15231]] +* `Kernel#taint`, `Kernel#untaint`, `Kernel#tainted?` + [[Feature #16131]] +* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?` + [[Feature #16131]] + +## Stdlib 相容性問題 + +* `Psych` 不再綑綁 libyaml 原始碼. + 使用者需要透過套件管理系統自行安裝 libyaml 函式庫。 [[Feature #18571]] + +## C API 更新 + +### Updated C APIs + +以下是更新的 APIs。 + +* PRNG 更新 + `rb_random_interface_t` 更新版本。 + 使用此舊版介面建置的擴展函式庫還需要定義 `init_int32` 函式。 + +### 被移除的 C APIs + +下列廢棄的 APIs 已被移除。 + +* `rb_cData` 變數。 +* "taintedness" 和 "trustedness" 函式. [[Feature #16131]] + +### 標準函式庫更新 + +* SyntaxSuggest + + * 被稱為 `dead_end` 的 `syntax_suggest` 以整合進 Ruby。 + [[Feature #18159]] + +* ErrorHighlight + * 現在指向 TypeError 和 ArgumentError 的參數 + +``` +test.rb:2:in `+': nil can't be coerced into Integer (TypeError) + +sum = ary[0] + ary[1] + ^^^^^^ +``` + +* 更新了以下預設 gems。 + * RubyGems 3.4.0.dev + * bigdecimal 3.1.2 + * bundler 2.4.0.dev + * cgi 0.3.2 + * date 3.2.3 + * error_highlight 0.4.0 + * etc 1.4.0 + * io-console 0.5.11 + * io-nonblock 0.1.1 + * io-wait 0.3.0.pre + * ipaddr 1.2.4 + * json 2.6.2 + * logger 1.5.1 + * net-http 0.2.2 + * net-protocol 0.1.3 + * ostruct 0.5.5 + * psych 5.0.0.dev + * reline 0.3.1 + * securerandom 0.2.0 + * set 1.0.3 + * stringio 3.0.3 + * syntax_suggest 0.0.1 + * timeout 0.3.0 +* 更新了以下 bundled gems。 + * minitest 5.16.3 + * net-imap 0.2.3 + * rbs 2.6.0 + * typeprof 0.21.3 + * debug 1.6.2 +* 以下預設 gems 現在成為了 bundled gems。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}) 來了解更多。 + +自 Ruby 3.1.0 以來,計 [{{ release.stats.files_changed }} 檔案變更, {{ release.stats.insertions }} 行新增 (+), {{ release.stats.deletions }} 行刪減 (-)](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}#file_bucket)! + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + + + +[Feature #12005]: https://bugs.ruby-lang.org/issues/12005 +[Feature #12655]: https://bugs.ruby-lang.org/issues/12655 +[Feature #12737]: https://bugs.ruby-lang.org/issues/12737 +[Feature #13110]: https://bugs.ruby-lang.org/issues/13110 +[Feature #14332]: https://bugs.ruby-lang.org/issues/14332 +[Feature #15231]: https://bugs.ruby-lang.org/issues/15231 +[Feature #15357]: https://bugs.ruby-lang.org/issues/15357 +[Bug #15928]: https://bugs.ruby-lang.org/issues/15928 +[Feature #16131]: https://bugs.ruby-lang.org/issues/16131 +[Bug #16466]: https://bugs.ruby-lang.org/issues/16466 +[Feature #16806]: https://bugs.ruby-lang.org/issues/16806 +[Bug #16889]: https://bugs.ruby-lang.org/issues/16889 +[Bug #16908]: https://bugs.ruby-lang.org/issues/16908 +[Feature #16989]: https://bugs.ruby-lang.org/issues/16989 +[Feature #17351]: https://bugs.ruby-lang.org/issues/17351 +[Feature #17391]: https://bugs.ruby-lang.org/issues/17391 +[Bug #17545]: https://bugs.ruby-lang.org/issues/17545 +[Feature #17881]: https://bugs.ruby-lang.org/issues/17881 +[Feature #18037]: https://bugs.ruby-lang.org/issues/18037 +[Feature #18159]: https://bugs.ruby-lang.org/issues/18159 +[Feature #18351]: https://bugs.ruby-lang.org/issues/18351 +[Bug #18487]: https://bugs.ruby-lang.org/issues/18487 +[Feature #18571]: https://bugs.ruby-lang.org/issues/18571 +[Feature #18585]: https://bugs.ruby-lang.org/issues/18585 +[Feature #18598]: https://bugs.ruby-lang.org/issues/18598 +[Bug #18625]: https://bugs.ruby-lang.org/issues/18625 +[Bug #18633]: https://bugs.ruby-lang.org/issues/18633 +[Feature #18685]: https://bugs.ruby-lang.org/issues/18685 +[Bug #18782]: https://bugs.ruby-lang.org/issues/18782 +[Feature #18788]: https://bugs.ruby-lang.org/issues/18788 +[Feature #18809]: https://bugs.ruby-lang.org/issues/18809 +[Feature #18481]: https://bugs.ruby-lang.org/issues/18481 +[Bug #19100]: https://bugs.ruby-lang.org/issues/19100 +[Feature #19013]: https://bugs.ruby-lang.org/issues/19013 From 654f0627459f30e71ecacb806e40343fa18eb228 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 15:05:24 +0000 Subject: [PATCH 2021/2563] Bump actions/checkout from 3.6.0 to 4.0.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/f43a0e5ff2bd294095638e18286ca9a3d1956744...3df4ab11eba7bda6032a0b82a6bb43b11571feac) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e17970071c..9bf5cae212 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index a8aba12851..5f441442ee 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: Setup Ruby uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0 with: From c03a22578ad512e71cbc6ee70e8cfb4f544df4f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 12 Sep 2023 03:54:56 -0500 Subject: [PATCH 2022/2563] Translate ReDoS in URI CVE-2023-36617 (es) (#3108) Co-authored-by: Nombre Usuario --- .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 es/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md diff --git a/es/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/es/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md new file mode 100644 index 0000000000..26a650140d --- /dev/null +++ b/es/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "CVE-2023-36617: vulnerabilidad de ReDoS en URI" +author: "hsbt" +translator: vtamara +date: 2023-06-29 01:00:00 +0000 +tags: security +lang: es +--- + +Hemos publicado la gema uri versión 0.12.2 y 0.10.3 que incluyen solución +a una falla de seguridad para una vulnerabilidad ReDoS. +A esta vulnerabilidad se le ha asignado el identificador CVE [CVE-2023-36617](https://www.cve.org/CVERecord?id=CVE-2023-36617). + +## Detalles + +Un problema de denegación de servicio en expresiones regulares (ReDoS) +fue descubierto en el componente URI de Ruby hasta +la versión 0.12.1. El analizador sintáctico de URI no manejaba correctamente +URLs inválidas con ciertos caracteres específicos. Se producía un +aumento en el tiempo de ejecución al analizar cadenas para objetos +URI con rfc2396_parser.rb y rfc3986_parser.rb. + +NOTA: este problema se debió a una solución incompleta para +[CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/). + +La gema `uri` versión 0.12.1 y todas las versiones anteriores a la +0.12.1 son vulnerables. + +## Acción recomendada + +Recomendamos actualizar la gema `uri` a 0.12.2. Para asegurar +compatibilidad con la versión incluida en series de Ruby anteriores, +debe actualizar así: + +* Para Ruby 3.0: Actualizar a `uri` 0.10.3 +* Para Ruby 3.1 y 3.2: Actualizar a `uri` 0.12.2 + +Puede usar `gem update uri` para actualizarla. Si está usando bundler, +por favor agregue `gem "uri", ">= 0.12.2"` (o la otra versión de las recién +mencionada) a su `Gemfile`. + +## Versiones afectadas + +* gema uri 0.12.1 y anteriores + +## Creditos + +Agradecemos a [ooooooo_q](https://hackerone.com/ooooooo_q) por descubrir +este problema. + +Agradecemos a [nobu](https://github.com/nobu) por resolver este problema. + +## Historia + +* Publicado originalmente el 2023-06-29 01:00:00 (UTC) From c390b8bd1d2f38ace19f1205163affb81686f859 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Thu, 14 Sep 2023 14:25:38 +0900 Subject: [PATCH 2023/2563] Ruby 3.3.0 Preview 2 Released (#3113) --- _data/downloads.yml | 2 +- _data/releases.yml | 29 +++ ...2023-09-14-ruby-3-3-0-preview2-released.md | 192 ++++++++++++++++++ ...2023-09-14-ruby-3-3-0-preview2-released.md | 176 ++++++++++++++++ 4 files changed, 398 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md create mode 100644 ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 15c73caddc..d293a5b2f5 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 3.3.0-preview1 + - 3.3.0-preview2 stable: diff --git a/_data/releases.yml b/_data/releases.yml index a995996516..eff98f0329 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,35 @@ # 3.3 series +- version: 3.3.0-preview2 + date: 2023-09-14 + post: /en/news/2023/09/14/ruby-3-3-0-preview2-released/ + tag: v3_3_0_preview2 + stats: + files_changed: 4970 + insertions: 239635 + deletions: 165275 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview2.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview2.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview2.tar.xz + size: + gz: 21074209 + zip: 26095651 + xz: 15600992 + sha1: + gz: cf7329019235dc36b8e3f382a8b8b744922b1163 + zip: 4441cd0db23d133e6e2f7dea28f931a68dac6ca5 + xz: 606d6423137a24eef4f6b07d167596b63c7aaa17 + sha256: + gz: 30ce8b0fe11b37b5ac088f5a5765744b935eac45bb89a9e381731533144f5991 + zip: c9771d24c9b1eab532c04ed076087285601693e4d1c63f131fd078c47c5c0cea + xz: 62b1c4f586c70bf1cb58f2d909d0d824506315782e835f9dd3fcc0b659a70fc1 + sha512: + gz: 1c5a13e519e8487fd40d932b96d14fa729521925c288e7841ab5eada628e506ceca2605bae36eea1aa505d9253383d53cd933b7a4bff96e6de5b1130c7c558e6 + zip: bfeed21d011f891fe22510fe7242992c98f7fd2ce863d8be5740f56a34b726134cb3f5304e8b2dcd468fbc939648f10aae482eee15c1bf6c64b705484ed9e197 + xz: 5ff609a66b7359006df0d87477cf70e6e26c5f40ced81b8254f8154f4fc82c77fed297471b55706c1a4466f2a4257999e933b2ed085f695ace265757ab9500a2 + - version: 3.3.0-preview1 date: 2023-05-12 post: /en/news/2023/05/12/ruby-3-3-0-preview1-released/ diff --git a/en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md new file mode 100644 index 0000000000..1f63bbba09 --- /dev/null +++ b/en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -0,0 +1,192 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview2 Released" +author: "naruse" +translator: +date: 2023-09-14 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %} + +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new pure-Ruby JIT compiler named RJIT, uses Lrama as a parser generator, and many performance improvements especially YJIT. + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86\_64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + +## YJIT + +* Major performance improvements over 3.2 + * Support for splat and rest arguments has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. + * Exception handlers are also compiled. + * Instance variables no longer exit to the interpreter + with megamorphic Object Shapes. + * Unsupported call types no longer exit to the interpreter. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` are specially optimized. + * Now more than 3x faster than the interpreter on optcarrot! +* Metadata for compiled code uses a lot less memory. +* Generate more compact code on ARM64 +* Option to start YJIT in paused mode and then later enable it manually + * `--yjit-pause` and `RubyVM::YJIT.resume` + * This can be used to enable YJIT only once your application is done booting +* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds, + a special stats or dev build is no longer required. +* Exit tracing option now supports sampling + * `--trace-exits-sample-rate=N` +* More thorough testing and multiple bug fixes + + + +## Other Notable New Features + +### Language + + + +## Performance improvements + +* `defined?(@ivar)` is optimized with Object Shapes. + +## Other notable changes since 3.2 + +### IRB + +IRB has received several enhancements, including but not limited to: + +- Advanced `irb:rdbg` integration that provides an equivalent debugging experience to `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Pager support for commands like `ls` and `show_cmds`. +- More accurate and helpful information provided by the `ls` and `show_source` commands. + +In addition, IRB has also undergone extensive refactoring and received dozens of bug fixes to facilitate easier future enhancements. + +## Compatibility issues + +Note: Excluding feature bug fixes. + +### Removed constants + +The following deprecated constants are removed. + + + +### Removed methods + +The following deprecated methods are removed. + + + +## Stdlib compatibility issues + +### `ext/readline` is retired + +* We have `reline` that is pure Ruby implementation compatible with `ext/readline` API. We rely on `reline` in the future. If you need to use `ext/readline`, you can install `ext/readline` via rubygems.org with `gem install readline-ext`. +* We no longer need to install libraries like `libreadline` or `libedit`. + +## C API updates + +### Updated C APIs + +The following APIs are updated. + + + +### Removed C APIs + +The following deprecated APIs are removed. + + + +## Standard library updates + +RubyGems and Bundler warn if users require gem that is scheduled to become the bundled gems in the future version of Ruby. + +The following default gems are updated. + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.8 +* erb 4.0.3 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.7.4 +* nkf 0.1.3 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.8 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* time 0.2.2 +* timeout 0.4.0 +* uri 0.12.2 +* yarp 0.9.0 + +The following bundled gems are updated. + +* minitest 5.19.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.3.7 +* rbs 3.2.1 +* typeprof 0.21.8 +* debug 1.8.0 + +The following default gem is now bundled. + +* racc 1.7.1 + +See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or +changelog for details of the default gems or bundled gems. + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +since Ruby 3.2.0! + + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. diff --git a/ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md new file mode 100644 index 0000000000..daca9d68a1 --- /dev/null +++ b/ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -0,0 +1,176 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview2 リリース" +author: "naruse" +translator: +date: 2023-09-14 00:00:00 +0000 +lang: ja +--- + +Ruby 3.3.0-preview1 が公開されました。Ruby 3.3ではRJITという新たなJITの仕組みを追加するとともに、YJITの高速化など様々な改善が行われています。 + +{% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %} + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86\_64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637] + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * See also: [Ruby Parser開発日誌 (5) - Lrama LALR (1) parser generatorを実装した](https://yui-knk.hatenablog.com/entry/2023/03/13/101951) + + +## YJIT + +* Significant performance improvements over 3.2 + * Splat and rest arguments support has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` are specially optimized. + * Instance variables no longer exit to the interpreter + with megamorphic Object Shapes. +* Metadata for compiled code uses a lot less memory. +* Improved code generation on ARM64 +* Option to start YJIT in paused mode and then later enable it manually + * `--yjit-pause` and `RubyVM::YJIT.resume` + * This can be used to enable YJIT only once your application is done booting +* Exit tracing option now supports sampling + * `--trace-exits-sample-rate=N` +* Multiple bug fixes + +* + +## その他の主要な新機能 + +### 言語機能 + + +## パフォーマンスの改善 + +## その他の注目すべき 3.2 からの変更点 + +### IRB + +IRBは様々な機能強化を行いました。主なものは以下の通りです。 + +* IRBとrdbgの連携 pry-byebugのような使い心地でデバッグできるようになりました。([使い方](https://github.com/ruby/irb#debugging-with-irb)) +* lsコマンドやshow_cmdsの出力がPagerで表示されるようになりました。 +* lsコマンドやshow_sourceコマンドがより便利で詳細な情報を出力するようになりました。 + +また、機能強化以外にも、数多くのバグ修正および将来的な機能拡張を見越した大規模なリファクタリングを行ないました。 + + +## 互換性に関する変更 + +### 定数の削除 + +以下の非推奨定数は削除されました + + + +### メソッドの削除 + +以下の非推奨のメソッドは削除されました + + +## 標準添付ライブラリの互換性に関する変更 + +### `ext/readline` の削除 + +* 今後は Ruby で書かれた GNU Readline の互換ライブラリである `reline` をすべての環境で標準で利用し、`ext/readline` は削除されました。以前の `ext/readline` が必要なユーザーは `gem install readline-ext` でインストールすることができます。 +* この変更により、Ruby のインストール時に `libreadline` や `libedit` などのライブラリのインストールは不要となります。 + +## C API の変更 + +### C API の更新 + +以下の API が更新されました + +### C API の削除 + +以下の非推奨の API は削除されました + + +## 標準添付ライブラリのアップデート + +RubyGems と Bundler は将来リリースされる Ruby で bundled gems となる予定の gem が require された際に警告を行う機能が追加されました。 + +以下の default gems のバージョンがアップデートされました。 + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.8 +* erb 4.0.3 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.7.4 +* nkf 0.1.3 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.8 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* time 0.2.2 +* timeout 0.4.0 +* uri 0.12.2 +* yarp 0.9.0 + +以下の bundled gems のバージョンがアップデートされました。 + +* minitest 5.19.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.3.7 +* rbs 3.2.1 +* typeprof 0.21.8 +* debug 1.8.0 + +新たに以下の gem が bundled gems として添付されました。 + +* racc 1.7.1 + +default gems と bundled gems の詳細については [Logger の GitHub Releases](https://github.com/ruby/logger/releases) のような GitHub releases または changelog ファイルを参照してください。 + + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})を参照してください。 + +なお、こうした変更により、Ruby 3.2.0 以降では [{{ release.stats.files_changed }} 個のファイルに変更が加えられ、{{ release.stats.insertions }} 行の追加と {{ release.stats.deletions }} 行の削除が行われました](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) ! + + +## ダウンロード + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby とは + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 From 35b71c3280739f9b3486ecdea394c145f5e1868e Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Thu, 14 Sep 2023 14:37:47 +0900 Subject: [PATCH 2024/2563] fix release version --- ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md index daca9d68a1..3137963831 100644 --- a/ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md +++ b/ja/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -7,7 +7,7 @@ date: 2023-09-14 00:00:00 +0000 lang: ja --- -Ruby 3.3.0-preview1 が公開されました。Ruby 3.3ではRJITという新たなJITの仕組みを追加するとともに、YJITの高速化など様々な改善が行われています。 +Ruby 3.3.0-preview2 が公開されました。Ruby 3.3ではRJITという新たなJITの仕組みを追加するとともに、YJITの高速化など様々な改善が行われています。 {% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %} From c869cf4667f2a56879d57d0578d6994cb103534d Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 15 Sep 2023 15:38:37 +0900 Subject: [PATCH 2025/2563] Translate "Ruby 3.3.0-preview2 Released" (ko) (#3114) * Fix preview1 title * Copy from en ver * Translate ko/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md to ko * Apply suggestions from code review Co-authored-by: Chayoung You * Backport translation improvement to 3.3.0 preview1 --------- Co-authored-by: Chayoung You --- ...2023-05-12-ruby-3-3-0-preview1-released.md | 4 +- ...2023-09-14-ruby-3-3-0-preview2-released.md | 192 ++++++++++++++++++ 2 files changed, 194 insertions(+), 2 deletions(-) create mode 100644 ko/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md diff --git a/ko/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/ko/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md index e950d8c281..2fee8d2be5 100644 --- a/ko/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md +++ b/ko/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.3.0-preview1 Released" +title: "Ruby 3.3.0-preview1 릴리스" author: "naruse" translator: "shia" date: 2023-05-12 00:00:00 +0000 @@ -27,7 +27,7 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3 ## YJIT -* 3.2 버전 대비 성능 대폭 향상 +* 3.2 버전 대비 주요 성능 개선 사항 * 스플랫과 나머지 인자 지원이 개선되었습니다. * 가상 머신의 스택 연산을 위해 레지스터가 할당됩니다. * 선택적 인수가 포함된 더 많은 호출이 컴파일됩니다. diff --git a/ko/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/ko/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md new file mode 100644 index 0000000000..535c28964b --- /dev/null +++ b/ko/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -0,0 +1,192 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview2 릴리스" +author: "naruse" +translator: "shia" +date: 2023-09-14 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %} + +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3은 RJIT으로 명명된 새로운 순수 Ruby JIT 컴파일러를 추가하고, 파서 생성기로 Lrama를 사용하며, 특히 YJIT에서 많은 성능 향상이 있습니다. + +## RJIT + +* 순수 Ruby JIT 컴파일러 RJIT을 도입하고 MJIT을 대체했습니다. + * RJIT은 Unix 플랫폼에서 x86\_64 아키텍처만 지원합니다. + * MJIT과 달리 런타임에 C 컴파일러가 필요하지 않습니다. +* RJIT은 실험 목적으로 존재합니다. + * 프로덕션 환경에서는 YJIT을 계속 사용해야 합니다. +* Ruby용 JIT 개발에 관심이 있다면 [RubyKaigi 2023 3일차에 있었던 k0kubun의 발표](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)를 확인하세요. + +## Bison을 Lrama로 대체 + +* Bison 대신 [Lrama LALR 파서 생성기](https://github.com/yui-knk/lrama)를 사용하도록 변경했습니다. [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * 관심이 있다면 [Ruby 파서의 미래 비전](https://rubykaigi.org/2023/presentations/spikeolaf.html)을 참고하세요. + +## YJIT + +* 3.2 버전 대비 주요 성능 개선 사항 + * 스플랫과 나머지 인자 지원이 개선되었습니다. + * 가상 머신의 스택 연산을 위해 레지스터가 할당됩니다. + * 선택적 인수가 포함된 더 많은 호출이 컴파일됩니다. + * 예외 처리기도 컴파일됩니다. + * 클래스의 인스턴스 변수가 가지는 객체 형상의 조합이 매우 복잡한 경우에도 + 컴파일되기 전의 바이트 코드로 전환되지 않습니다. + * 지원되지 않는 호출 타입은 이제 컴파일되기 전의 바이트 코드로 전환되지 않습니다. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===`은 특별히 최적화되었습니다. + * 이제 optcarrot에서 인터프리터보다 3배 이상 빠릅니다! +* 컴파일된 코드의 메타데이터가 훨씬 적은 메모리를 사용합니다. +* ARM64에서 더 작은 코드 생성 +* 일시 중지 모드에서 YJIT을 시작한 다음 나중에 수동으로 재개하는 옵션 추가 + * `--yjit-pause`와 `RubyVM::YJIT.resume` + * 애플리케이션 부팅이 완료된 후에만 YJIT을 재개할 수 있습니다. +* `--yjit-stats`로부터 생성된 `ratio_in_yjit` 통계는 릴리스 빌드에서도 이용 가능하며, + 특수한 통계나 개발 빌드는 더 이상 필요하지 않습니다. +* 종료 추적 옵션이 이제 샘플링을 지원합니다. + * `--trace-exits-sample-rate=N` +* 보다 철저한 테스트와 여러 버그 수정 + + + +## 그 이외의 주목할 만한 새 기능 + +### 언어 + + + +## 성능 향상 + +* `defined?(@ivar)`가 객체 형상에 맞게 최적화되었습니다. + +## 그 이외의 3.2 이후로 주목할 만한 변경 + +### IRB + +IRB에 여러 개선 사항이 추가됩니다. 다음과 같은 내용이 포함됩니다. + +- 고급 `irb:rdbg` 통합 기능은 `pry-byebug`와 동등한 디버깅 경험을 제공합니다. ([문서](https://github.com/ruby/irb#debugging-with-irb)). +- `ls`와 `show_cmds`와 같은 명령어에서 페이징을 지원합니다. +- `ls`와 `show_source` 명령어에서 더 정확하고 유용한 정보를 제공합니다. + +또한, IRB는 앞으로의 개선을 더 쉽게 하기 위해 방대한 리팩토링을 진행했고 수십 개의 버그를 수정했습니다. + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +### 삭제된 상수 + +폐기 예정이었던 상수가 삭제됩니다. + + + +### 삭제된 메서드 + +폐기 예정이었던 메서드가 삭제됩니다. + + + +## Stdlib 호환성 문제 + +### `ext/readline` 폐기 + +* 우리는 `ext/readline` API와 호환되는 순수 Ruby 구현인 `reline`을 가지고 있습니다. 앞으로는 `reline`에 의존할 것입니다. `ext/readline`을 사용해야 하는 경우, `gem install readline-ext`를 사용하여 rubygems.org를 통해 `ext/readline`을 설치할 수 있습니다. +* 이제 더 이상 `libreadline` 또는 `libedit`과 같은 라이브러리를 설치할 필요가 없습니다. + +## C API 변경 + +### 갱신된 C API + +다음 API가 갱신됩니다. + + + +### 삭제된 C API + +다음 폐기 예정인 API가 삭제됩니다. + + + +### 표준 라이브러리 갱신 + +사용자가 미래의 Ruby 버전에서 내장될 예정의 gem을 직접 불러올 때 RubyGems와 Bundler가 경고 문구를 출력합니다. + +다음 기본 gem이 갱신되었습니다. + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.8 +* erb 4.0.3 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.7.4 +* nkf 0.1.3 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.8 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* time 0.2.2 +* timeout 0.4.0 +* uri 0.12.2 +* yarp 0.9.0 + +다음 내장 gem이 갱신되었습니다. + +* minitest 5.19.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.3.7 +* rbs 3.2.1 +* typeprof 0.21.8 +* debug 1.8.0 + +다음 기본 gem이 내장됩니다. + +* racc 1.7.1 + +기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은 +GitHub 릴리스 또는 변경 로그에서 확인하세요. + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.2.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. From 9bb651ffea15d722c2c5ca2f7b49538957136257 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 16:02:27 +0000 Subject: [PATCH 2026/2563] Bump ruby/setup-ruby from 1.152.0 to 1.153.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.152.0 to 1.153.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/250fcd6a742febb1123a77a841497ccaa8b9e939...5311f05890856149502132d25c4a24985a00d426) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bf5cae212..3830365e1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0 + uses: ruby/setup-ruby@5311f05890856149502132d25c4a24985a00d426 # v1.153.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 5f441442ee..0510274957 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: Setup Ruby - uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0 + uses: ruby/setup-ruby@5311f05890856149502132d25c4a24985a00d426 # v1.153.0 with: ruby-version: '3.2' bundler-cache: true From e234fb80c083f4eb54af39886ed283e1c25b698b Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Sat, 23 Sep 2023 22:09:28 +0800 Subject: [PATCH 2027/2563] Translate Ruby 3.3.0-preview2 Released (zh_cn) (#3115) Co-authored-by: Alex Shi --- ...2023-09-14-ruby-3-3-0-preview2-released.md | 185 ++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 zh_cn/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md diff --git a/zh_cn/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/zh_cn/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md new file mode 100644 index 0000000000..84e7bec6bf --- /dev/null +++ b/zh_cn/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -0,0 +1,185 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview2 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2023-09-14 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %} + +我们很高兴地宣布 Ruby {{ release.version }} 发布。 +Ruby 3.3 新增了纯 Ruby 实现的 JIT 编译器 RJIT;使用 Lrama 作为解析生成器;另有许多性能改进,尤其是 YJIT。 + +## RJIT + +* 引入了纯 Ruby 的 JIT 编译器 RJIT 并替代 MJIT。 + * RJIT 仅支持 x86\_64 架构上的 Unix 平台。 + * 不同于 MJIT,RJIT在运行时不需要 C 编译器。 +* RJIT 目前仅用于实验目的。 + * 您在生产环境中应当继续使用 YJIT。 +* 如果您有兴趣为 Ruby 开发 JIT,请查看 [k0kubun 在 RubyKaigi 第 3 天 中的演讲](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## 使用 Lrama 替代 Bison + +* 使用 [Lrama LALR 解析生成器](https://github.com/yui-knk/lrama) 替换 Bison [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * 如果您有兴趣,请参阅 [Ruby 解析器的未来愿景](https://rubykaigi.org/2023/presentations/spikeolaf.html) + +## YJIT + +* 相对于 3.2 的主要性能提升 + * 改进了 splat 和 rest 参数支持。 + * 虚拟机的栈操作分配了寄存器。 + * 更多带有可选参数的调用被编译。 + * 错误处理也被编译。 + * 不支持的调用类型不再退出到解释器执行。 + * 拥有复杂对象形状的实例变量不再退出到解释器执行。 + * 特别优化了 `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===`。 + * 目前比 optcarrot 的解释器快 3 倍以上! +* 编译代码使用的元数据使用更少的内存。 +* 在 ARM64 中的生成更紧凑的代码。 +* 可以在暂停模式下启动 YJIT,并后续手动启动 + * `--yjit-pause` 和 `RubyVM::YJIT.resume` + * 这可以用来在应用程序启动完成后,仅启用 YJIT 一次 +* 发布版本中,现在可以用到通过 `--yjit-stats` 产生的 `ratio_in_yjit` 统计信息,不再需要特殊的统计信息或开发版本。 +* 退出跟踪选项现在支持采样 + * `--trace-exits-sample-rate=N` +* 更彻底的测试及多个错误修复 + + + +## 其他值得关注的新功能 + +### 语言 + + + +## 性能提升 + +* 根据对象形状,优化 `defined?(@ivar)`。 + +## 自 3.2 以来,其他值得注意的变化 + +### IRB + +IRB 进行了多项增强功能,包括但不限于: + +- 高级 `irb:rdbg` 集成,提供了类似 `pry-byebug` 的调试体验([文档](https://github.com/ruby/irb#debugging-with-irb))。 +- 为 `ls` 和 `show_cmds` 这样的方法提供分页支持。 +- 为 `ls` 和 `show_source` 方法提供更准确更有用的信息。 + +另外,IRB 还进行了广泛的重构,修复了数十个错误,以便未来的增强。 + +## 兼容性问题 + +注意:不包括 bug 修复。 + +### 删除的常量 + +删除了以下已废弃的常量。 + + + +### 删除的方法 + +删除了以下已废除的方法。 + + + +## 标准库兼容性问题 + +### `ext/readline` 已退役 + +* 我们有了纯 Ruby 实现的 `reline`,兼容 `ext/readline` API。未来我们将依赖 `reline`。如果您需要使用 `ext/readline`,可以通过 rubygems.org 进行安装 `gem install readline-ext`。 +* 我们不再需要安装类似 `libreadline` 或 `libedit` 这样的库了。 + +## C API 更新 + +### 更新的 C API + +更新了以下 API。 + + + +### 已移除的 C API + +移除了以下废弃的 API。 + + + +## 标准库更新 + +当用户 require 在将来 Ruby 版本中成为绑定 gem 的库时,RubyGems 和 Bundler 会发出警告。 + +更新了以下默认 gems。 + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.8 +* erb 4.0.3 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.7.4 +* nkf 0.1.3 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.8 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* time 0.2.2 +* timeout 0.4.0 +* uri 0.12.2 +* yarp 0.9.0 + +更新了以下绑定 gems。 + +* minitest 5.19.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.3.7 +* rbs 3.2.1 +* typeprof 0.21.8 +* debug 1.8.0 + +以下默认 gem 成为绑定 gem + +* racc 1.7.1 + +有关默认 gems 和 绑定 gems 的细节,可以参考 GitHub 上的发布,例如 [日志](https://github.com/ruby/logger/releases) 或相应的变更日志。 + +更多详情,可参见 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +或 [提交日志](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})。 + +自 Ruby 3.2.0 以来,[{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+), 删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)! + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发,现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是Web开发领域。 From a49186e05694fff4f7324fe865721d0a249e8651 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 23 Sep 2023 22:13:00 +0800 Subject: [PATCH 2028/2563] Translate CVE-2021-33621: HTTP response splitting in CGI (zh_tw) (#3109) --- ...esponse-splitting-in-cgi-cve-2021-33621.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 zh_tw/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md diff --git a/zh_tw/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md b/zh_tw/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md new file mode 100644 index 0000000000..6fdf259b31 --- /dev/null +++ b/zh_tw/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md @@ -0,0 +1,36 @@ +--- +layout: news_post +title: "CVE-2021-33621: CGI 存在 HTTP 響應切分風險" +author: "mame" +translator: "Bear Su" +date: 2022-11-22 02:00:00 +0000 +tags: security +lang: zh_tw +--- + +我們釋出了 gci gem 版本 0.3.5、0.2.2、和 0.1.0.2,這些版本修復了 HTTP 響應切分(response splitting)安全性風險。 +此風險的 CVE 識別號為 [CVE-2021-33621](https://www.cve.org/CVERecord?id=CVE-2021-33621)。 + +## 細節 + +如果一個應用程式透過 cgi gem 使用不受信任的使用者輸入產生 HTTP 響應,攻擊者可以利用此風險注入惡意的 HTTP 響應標頭和/或響應內文。 + +此外,`CGI::Cookie` 物件的內容未被正確檢查 。如果一個應用程式基於使用者輸入建立一個 `CGI::Cookie` 物件,攻擊者可以利用此風險在 `Set-Cookie` 標頭注入非法的屬性。 +我們認為此類應用程式不太會有這種使用情境,但我們還是進行了變更以預防性地檢查 `CGI::Cookie#initialize` 的參數。 + +請更新 cgi gem 至版本 0.3.5、0.2.2、和 0.1.0.2 或之後的版本。您可以使用 `gem update cgi` 進行更新。 +如果您使用 bundler,請將 `gem "cgi", ">= 0.3.5"` 加入到您的 `Gemfile` 中。 + +## 受影響版本 + +* cgi gem 0.3.3 以及之前的版本 +* cgi gem 0.2.1 以及之前的版本 +* cgi gem 0.1.1 或 0.1.0.1 或 0.1.0 + +## 致謝 + +感謝 [Hiroshi Tokumaru](https://hackerone.com/htokumaru?type=user) 發現此問題。 + +## 歷史 + +* 初次發佈於 2022-11-22 02:00:00 (UTC) From 8d0e67abe4c97acd44d1aa73aac473dda0775850 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 23 Sep 2023 22:13:19 +0800 Subject: [PATCH 2029/2563] Transalate title for ruby 3.2.0 preview2 and preview3 release news (zh_tw) (#3111) --- zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md | 2 +- zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md b/zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md index 565029b98d..811b0977ce 100644 --- a/zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md +++ b/zh_tw/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.2.0 Preview 2 Released" +title: "Ruby 3.2.0 Preview 2 發布" author: "naruse" translator: "Bear Su" date: 2022-09-09 00:00:00 +0000 diff --git a/zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md b/zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md index fb54c02fee..0f803bd37f 100644 --- a/zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md +++ b/zh_tw/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.2.0 Preview 3 Released" +title: "Ruby 3.2.0 Preview 3 發布" author: "naruse" translator: "Bear Su" date: 2022-11-11 00:00:00 +0000 From 060edb3d085b2f1c2a6141f658ac3165065457d0 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 23 Sep 2023 22:13:45 +0800 Subject: [PATCH 2030/2563] Translate Ruby 3.3.0 preview2 released news post (zh_tw) (#3116) --- ...2023-09-14-ruby-3-3-0-preview2-released.md | 187 ++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 zh_tw/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md diff --git a/zh_tw/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/zh_tw/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md new file mode 100644 index 0000000000..89e0df45cf --- /dev/null +++ b/zh_tw/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -0,0 +1,187 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview2 發布" +author: "naruse" +translator: "Bear Su" +date: 2023-09-14 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %} + +我們很高興宣布 Ruby {{ release.version }} 發佈了。Ruby 3.3 新增了名為 RJIT,純 Ruby 開發的 JIT 編譯器,使用了 Lrama 做為 Parser 產生器,以及更多效能提升,尤其是 YJIT。 + +## RJIT + +* 導入純 Ruby 開發的 JIT 編譯器 RJIT 並取代 MJIT。 + * RJIT 僅支援 x86\_64 架構的 Unix 平台。 + * 不同於 MJIT,RJIT 在執行時不需要 C 編譯器。 +* RJIT 目前還在實驗階段。 + * 您在生產環境應繼續使用 YJIT。 +* 如果您有興趣為 Ruby 開發 JIT,請參閱 [k0kubun's 在 RubyKaigi 第 3 天的演講](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## 使用 Lrama 取代 Bison + +* 使用 [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) 取代 Bison。 + * 如果您感興趣,請參閱 [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html)。 + +## YJIT + +* 自 3.2 主要效能提升 + * 改善 splat 和 rest arguments 的支援。 + * 虛擬機器分配了暫存器,用於堆疊操作。 + * 更多帶有可選參數的呼叫會被編譯。 + * 錯誤處理也會被編譯。 + * Megamorphic Object Shapes 的實體變數不再返回給直譯器。 + * 不支援的呼叫類型不再返回給直譯器。 + * 特別改善了 `Integer#!=`、`String#!=`、`Kernel#block_given?`、`Kernel#is_a?`、 + `Kernel#instance_of?`、`Module#===`。 + * 目前比 optcarrot 的直譯器快上 3 倍! +* 已編譯的程式碼的 Metadata 使用更少的記憶體。 +* 在 ARM64 產生更緊湊的程式碼。 +* 選擇以暫停模式開啟 YJIT,然後再手動啟用 + * `--yjit-pause` 和 `RubyVM::YJIT.resume` + * 這可用於僅在您的應用程式完成啟動後啟用 YJIT。 +* 發布版本現在提供透過 `--yjit-stats` 產生的 `ratio_in_yjit` 統計資訊,不再需要特殊的統計資訊或是開發版本。 +* Exit tracing 選項現在支援抽樣 + * `--trace-exits-sample-rate=N` +* 更多測試與錯誤修復 + + + +## 其他值得注意的新功能 + +### 語言功能 + + + +## 效能提升 + +* `defined?(@ivar)` 透過 Object Shapes 提升效能。 + +## 自 3.2 以來其他值得注意的變更 + +### IRB + +IRB 進行了數項改善,包括但不限於: + +- 加強 `irb:rdbg` 整合以提供與 `pry-byebug` 相同的除錯體驗 ([文件](https://github.com/ruby/irb#debugging-with-irb))。 +- Pager 支援指令,例如 `ls` 和 `show_cmds`。 +- `ls` 和 `show_source` 指令提供了更準確和有幫助的資訊。 + +此外,IRB 還進行了大量重構和修復了許多錯誤,以方便未來強化功能。 + + +## 相容性問題 + +注意:不包含功能問題的修正。 + +### 被移除的常數 + +下列廢棄的常數已被移除。 + + + +### 被移除的方法 + +下列廢棄的方法已被移除。 + + + +## Stdlib 相容性問題 + +### `ext/readline` 已被淘汰 + +* 我們使用純 Ruby 實作並相容於 `ext/readline` API 的 `reline`。未來我們將依賴 `reline`。如果您需要使用 `ext/readline`,您可以使用 `gem install readline-ext` 透過 rubygems.org 安裝 `ext/readline`。 +* 我們將不再需要安裝函式庫例如 `libreadline` 或 `libedit`。 + + +## C API 更新 + +### 更新的 C APIs + +下列的 APIs 已被更新。 + + + +### 被移除的 C APIs + +下列廢棄的 APIs 已被移除。 + + + +## 標準函式庫更新 + +如果使用者 require 的 gem 已排定在未來 Ruby 版本中變更為 bundled gems,RubyGems 和 Bundler 將會顯示警告。 + +更新了以下的預設 gem。 + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.8 +* erb 4.0.3 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.7.4 +* nkf 0.1.3 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.8 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* time 0.2.2 +* timeout 0.4.0 +* uri 0.12.2 +* yarp 0.9.0 + +更新了以下的 bundled gem。 + +* minitest 5.19.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.3.7 +* rbs 3.2.1 +* typeprof 0.21.8 +* debug 1.8.0 + +下列的預設 gem 現在是 bundled gems。 + +* racc 1.7.1 + +請參閱 GitHub 發布如 [Logger](https://github.com/ruby/logger/releases) 和變更紀錄來了解更多關於預設 gems 與 bundled gems 的資訊。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) 來了解更多。 + +自 Ruby 3.2.0 以來,計[{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)。 + + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 From 0ca8b71714048d89310122b533678208b96ec092 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 23 Sep 2023 23:04:14 +0800 Subject: [PATCH 2031/2563] Translate Ruby 2.7.7, 3.0.5, 3.1.3 released news posts (zh_tw) (#3110) --- .../_posts/2022-11-24-ruby-2-7-7-released.md | 54 +++++++++++++++++++ .../_posts/2022-11-24-ruby-3-0-5-released.md | 49 +++++++++++++++++ .../_posts/2022-11-24-ruby-3-1-3-released.md | 49 +++++++++++++++++ 3 files changed, 152 insertions(+) create mode 100644 zh_tw/news/_posts/2022-11-24-ruby-2-7-7-released.md create mode 100644 zh_tw/news/_posts/2022-11-24-ruby-3-0-5-released.md create mode 100644 zh_tw/news/_posts/2022-11-24-ruby-3-1-3-released.md diff --git a/zh_tw/news/_posts/2022-11-24-ruby-2-7-7-released.md b/zh_tw/news/_posts/2022-11-24-ruby-2-7-7-released.md new file mode 100644 index 0000000000..275327603c --- /dev/null +++ b/zh_tw/news/_posts/2022-11-24-ruby-2-7-7-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Ruby 2.7.7 發布" +author: "usa" +translator: "Bear Su" +date: 2022-11-24 12:00:00 +0000 +lang: zh_tw +--- + +Ruby 2.7.7 已經發布了。 + +本次發布版本包含安全性修正。 +細節請參考下列內容。 + +* [CVE-2021-33621: CGI 存在 HTTP 響應切分風險]({%link zh_tw/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +此次發布也修復了一些編譯問題。這些修復不會影響與之前版本的相容性。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v2_7_7)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "2.7.7" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 diff --git a/zh_tw/news/_posts/2022-11-24-ruby-3-0-5-released.md b/zh_tw/news/_posts/2022-11-24-ruby-3-0-5-released.md new file mode 100644 index 0000000000..93d6c72178 --- /dev/null +++ b/zh_tw/news/_posts/2022-11-24-ruby-3-0-5-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.0.5 發布" +author: "usa" +translator: "Bear Su" +date: 2022-11-24 12:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.0.5 已經發布了。 + +本次發布版本包含安全性修正。 +細節請參考下列內容。 + +* [CVE-2021-33621: CGI 存在 HTTP 響應切分風險]({%link zh_tw/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +此次發布也修復了一些問題。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_0_5)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.0.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 + +Ruby 3.0 的維護(包含本版本)是基於 Ruby 協會的「穩定版本協議」。 diff --git a/zh_tw/news/_posts/2022-11-24-ruby-3-1-3-released.md b/zh_tw/news/_posts/2022-11-24-ruby-3-1-3-released.md new file mode 100644 index 0000000000..a366b04f52 --- /dev/null +++ b/zh_tw/news/_posts/2022-11-24-ruby-3-1-3-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.1.3 發布" +author: "nagachika" +translator: "Bear Su" +date: 2022-11-24 12:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.1.3 已經發布了。 + +本次發布版本包含安全性修正。 +細節請參考下列內容。 + +* [CVE-2021-33621: CGI 存在 HTTP 響應切分風險]({%link zh_tw/news/_posts/2022-11-22-http-response-splitting-in-cgi-cve-2021-33621.md %}) + +此次發布也修復了在 Xcode 14 和 macOS 13 (Ventura) 上編譯失敗的問題。 +詳細的資訊請參閱[相關議題](https://bugs.ruby-lang.org/issues/18912)。 + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_1_3)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.1.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 From 1af1b12848e823902610c570528bc4ee6fbfd4c8 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 23 Sep 2023 23:04:52 +0800 Subject: [PATCH 2032/2563] Translate installation to latest content (zh_tw) (#3103) --- zh_tw/documentation/installation/index.md | 166 +++++++++++++++++----- 1 file changed, 133 insertions(+), 33 deletions(-) diff --git a/zh_tw/documentation/installation/index.md b/zh_tw/documentation/installation/index.md index 844aee3b1e..03598af208 100644 --- a/zh_tw/documentation/installation/index.md +++ b/zh_tw/documentation/installation/index.md @@ -7,6 +7,13 @@ lang: zh_tw 有很多工具可以安裝 Ruby。本頁介紹如何使用主流的套件管理工具以及第三方工具來管理、安裝 Ruby 以及如何從原始碼來編譯 Ruby。 {: .summary} +如果您已經在您的電腦上安裝了 Ruby。您可以在 [terminal emulator][terminal] 中執行以下指令確認: + +{% highlight sh %} +ruby -v +{% endhighlight %} + +輸出結果應該會顯示已安裝的 Ruby 版本資訊。 ## 選擇安裝方式 @@ -22,19 +29,26 @@ lang: zh_tw * [套件管理系統](#package-management-systems) * [Debian、Ubuntu](#apt) * [CentOS、Fedora、RHEL](#yum) + * [Snap](#snap) * [Gentoo](#portage) * [Arch Linux](#pacman) * [macOS](#homebrew) - * [Solaris、OpenIndiana](#solaris) - * [其他發行版](#other-systems) + * [FreeBSD](#freebsd) + * [OpenBSD](#openbsd) + * [OpenIndiana](#openindiana) + * [Windows Package Manager](#winget) + * [Chocolatey package manager for Windows](#chocolatey) + * [其它發行版](#other-systems) * [安裝工具](#installers) * [ruby-build](#ruby-build) * [ruby-install](#ruby-install) * [RubyInstaller](#rubyinstaller) (Windows) - * [RailsInstaller 和 Ruby 安裝包](#railsinstaller) + * [Ruby Stack](#rubystack) * [版本管理](#managers) + * [asdf-vm](#asdf-vm) * [chruby](#chruby) * [rbenv](#rbenv) + * [rbenv for Windows](#rbenv-for-windows) * [RVM](#rvm) * [uru](#uru) * [從原始碼編譯](#building-from-source) @@ -47,19 +61,31 @@ lang: zh_tw 許多 Ruby 社群的成員強烈建議不要使用套件管理工具來安裝 Ruby,應該使用下面羅列的工具來取代。完整的優缺點超出了本文的範疇,最簡單的理由是,多數的套件管理工具安裝的 Ruby 版本老舊,如果想要使用最新版的 Ruby,確認你安裝了正確名稱的套件,或使用下面其他的工具吧。 +本文包含以下套件管理工具說明: + + * [Debian, Ubuntu](#apt) + * [CentOS, Fedora,RHEL](#yum) + * [Snap](#snap) + * [Gentoo](#portage) + * [Arch Linux](#pacman) + * [macOS](#homebrew) + * [FreeBSD](#freebsd) + * [OpenBSD](#openbsd) + * [OpenIndiana](#openindiana) + * [Windows Package manager](#winget) + * [Chocolatey package manager for Windows](#chocolatey) + * [Other Distribution](#other-systems) ### apt(Debian 或 Ubuntu) {: #apt} -Debian GNU/Linux 和 Ubuntu 的使用者可以使用 apt。 +Debian GNU/Linux 和 Ubuntu 的使用者可以使用 apt 套件管理工具。 用法: {% highlight sh %} -$ sudo apt-get install ruby +$ sudo apt-get install ruby-full {% endhighlight %} -撰文當下 `ruby` 套件在 Debian 與 Ubuntu 平台上所提供的版本是老舊的穩定版 Ruby 2.3.1。 - ### yum(CentOS、Fedora 或 RHEL) {: #yum} @@ -73,6 +99,23 @@ $ sudo yum install ruby 安裝的版本通常是作業系統發行版發行日所打包的最新版 Ruby。 +### snap (Ubuntu or other Linux distributions) +{: #snap} + +Snap 是 Canonical 所開發的套件管理工具。內建於 Ubuntu,但 snap 也能在許多其他的 Linux 發行版上使用。 +用法: + +{% highlight sh %} +$ sudo snap install ruby --classic +{% endhighlight %} + +我們為每個 Ruby 小版本提供了幾個 channel。 +例如,使用以下指令切換到 Ruby 2.3: + +{% highlight sh %} +$ sudo snap switch ruby --channel=2.3/stable +$ sudo snap refresh +{% endhighlight %} ### portage(Gentoo) {: #portage} @@ -83,7 +126,7 @@ Gentoo 使用 portage 套件管理工具。 $ sudo emerge dev-lang/ruby {% endhighlight %} -預設會試著安裝 1.9 和 2.0,但還能安裝更多版本。要安裝特定版本,在 `make.conf` 設定 `RUBY_TARGETS`。進一步了解請參考 [Gentoo Ruby 專案網站][gentoo-ruby]。 +要安裝特定版本,在 `make.conf` 設定 `RUBY_TARGETS`。進一步了解請參考 [Gentoo Ruby 專案網站][gentoo-ruby]。 ### pacman (Arch Linux) @@ -102,39 +145,81 @@ $ sudo pacman -S ruby ### Homebrew(macOS) {: #homebrew} -OS X El Capitan、Yosemite 以及 Mavericks 內建 Ruby 2.0。 -OS X Mountain Lion、Lion 以及 Snow Leopard 出廠內建 Ruby 1.8.7。 +從 macOS El Capitan(10.11) 以上內建 Ruby 2.0 以上版本。 -macOS 的使用者使用 [Homebrew][homebrew] 作為套件管理工具。 +macOS 使用者多數使用 [Homebrew][homebrew] 作為套件管理工具。 用法: {% highlight sh %} $ brew install ruby {% endhighlight %} -會安裝最新穩定版的 Ruby。 +會安裝最新版的 Ruby。 + +### FreeBSD +{: #freebsd} + +FreeBSD 提供以預編譯和從原始碼編譯的方法安裝 Ruby。 +預編譯的套件可以透過 pkg 工具安裝: + +{% highlight sh %} +$ pkg install ruby +{% endhighlight %} +從原始碼編譯的方法可以透過使用 [Ports Collection][freebsd-ports-collection] 來安裝 Ruby。 +當您想要客製化建置設定選項時,這非常好用。 -### Solaris 和 OpenIndiana 平台 -{: #solaris} +更多在 FreeBSD 上使用 Ruby 與其生態系的資訊,請參考 [FreeBSD Ruby Project website][freebsd-ruby]。 -[Sunfreeware][sunfreeware] 上的 Solaris 8 到 10 版有 Ruby 1.8.7 可用,同時 Blastwave 上也有 Ruby 1.8.7。Ruby 1.9.2p0 在 [Sunfreeware][sunfreeware] 也有,但版本已經過時了。 +### OpenBSD +{: #openbsd} -要在 [OpenIndiana][openindiana] 安裝 Ruby,請使用: -[Image Packaging System (IPS)][opensolaris-pkg] 客戶端。 -這會直接從 OpenSolaris 網路的原始碼庫安裝最新的 Ruby 1.9 以及 RubyGems: +OpenBSD 在發行版本 adJ 中有三個主要 Ruby 版本套件。以下指令可以看到可用的版本並進行安裝: {% highlight sh %} -$ pkg install runtime/ruby-18 +$ doas pkg_add ruby +{% endhighlight %} + +您可以同時安裝多個主要版本,因為它們的執行檔的名稱不同 (例如:`ruby27`, `ruby26`)。 + +OpenBSD ports collection 的 `HEAD` 分支可能會在最新的 Ruby 版本釋出幾天後,在該平台提供,請參考 [最新 ports collections 的 lang/ruby][openbsd-current-ruby-ports]。 + +### Ruby on OpenIndiana +{: #openindiana} + +在 [OpenIndiana][openindiana] 上安裝 Ruby,請使用 Image Packaging System (IPS) 客戶端。 +這將會直接從 OpenIndiana repositories 安裝 Ruby 與 RubyGems。用法: + +{% highlight sh %} +$ pkg install runtime/ruby {% endhighlight %} 但用第三方工具來獲得最新版本 Ruby 可能比較好。 +### Windows Package Manager +{: #winget} + +在 Windows 上您可以使用 [Windows Package Manager CLI](https://github.com/microsoft/winget-cli) 來安裝 Ruby: + +{% highlight sh %} +> winget install RubyInstallerTeam.Ruby +{% endhighlight %} + +### Chocolatey package manager for Windows +{: #chocolatey} + +在 Windows 上您也可以使用 [Chocolatey Package Manager](https://chocolatey.org/install) 來安裝 Ruby: + +{% highlight sh %} +> choco install ruby +{% endhighlight %} + +它會使用現有的 `msys2` 或是進行安裝以提供完整的 Ruby 開發環境。 ### 其它發行版 {: #other-systems} -其它作業系統可以在發行版的套件庫上搜尋 Ruby,或是使用第三方工具可能會比較好。 +其它作業系統可以在發行版的套件庫上搜尋 Ruby,或是使用 [第三方工具](#installers) 可能會比較好。 ## 安裝工具 @@ -164,14 +249,11 @@ Windows 使用者,可以使用這個很棒的專案來幫助您安裝 Ruby: 下載、執行,即可! -### RailsInstaller 和 Ruby 安裝包 -{: #railsinstaller} +### Ruby Stack +{: #rubystack} 若安裝 Ruby 是為了要開發 Ruby on Rails,則可用下列的安裝工具: -* [RailsInstaller][railsinstaller], - 背後使用的是 RubyInstaller,但帶有 Rails 開發環境所需的工具。 - 支援 OS X 與 Windows。 * [Bitnami Ruby Stack][rubystack], 提供完整的 Rails 開發環境。 兼容 macOS、Linux、Windows、虛擬機器以及雲鏡像。 @@ -182,17 +264,26 @@ Windows 使用者,可以使用這個很棒的專案來幫助您安裝 Ruby: 許多 Rubyists 使用 Ruby 版本管理工具來管理多版本的 Ruby。版本管理工具有很多優點,但要注意 Ruby 官方並不提供技術支援。但要提的是每個工具背後的社群都非常有幫助。 +### asdf-vm +{: #asdf-vm} + +[asdf-vm][asdf-vm] 是一個可擴展的版本管理工具,可基於個別專案來管理多語言執行版本。您需要 [asdf-ruby][asdf-ruby] 插件 (使用 [ruby-build][ruby-build]) 來安裝 Ruby。 + ### chruby {: #chruby} -[chruby][chruby] 可以切換 Ruby 版本。chruby 可以管理由 [ruby-install](#ruby-install) 所安裝的 Ruby,或是從原始碼所編譯的 Ruby。 - +[chruby][chruby] 可以在系統上管理多個版本的 Ruby。chruby 本身無法安裝 Ruby 但可以透過插件像是 [ruby-install][ruby-install] 或 [ruby-build][ruby-build] 安裝 Ruby。支援 macOS、Linux 和其他類 UNIX 的作業系統。 ### rbenv {: #rbenv} -[rbenv][rbenv] 可以在系統上安裝多個版本的 Ruby。rbenv 本身不能安裝 Ruby,但有一個流行的插件,叫做 ruby-build,可以用來安裝 Ruby。支援 macOS、Linux 和其它類 Unix 的作業系統。 +[rbenv][rbenv] 可以在系統上管理多個版本的 Ruby。rbenv 本身不能安裝 Ruby,但可以使用插件 [ruby-build][ruby-build] 安裝 Ruby。支援 macOS、Linux 和其它類 Unix 的作業系統。 + +### rbenv for Windows +{: #rbenv-for-windows} + +[rbenv for Windows][rbenv-for-windows] 可以在 Windows 作業系統上安裝多個版本的 Ruby。它是用 PowerShell 撰寫並提供 Windows 使用者原生方法來使用 Ruby。使用方式相容於在類 Unix 的作業系統上的 [rbenv][rbenv]。 ### RVM ("Ruby Version Manager") @@ -221,20 +312,29 @@ $ sudo make install 預設會安裝 Ruby 到 `/usr/local` 目錄。要更改安裝目錄請在使用 `./configure` 腳本時傳入 `--prefix=DIR` 選項。 +您可以在 [Building Ruby instructions][building-ruby] 找到更多關於從原始碼編譯的資訊。 + 使用第三方工具或套件管理工具來安裝可能比較好,因為從原始碼編譯安裝的 Ruby 無法用任何工具管理。 [rvm]: http://rvm.io/ -[rbenv]: https://github.com/rbenv/rbenv#readme +[rbenv]: https://github.com/rbenv/rbenv +[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme [ruby-build]: https://github.com/rbenv/ruby-build#readme [ruby-install]: https://github.com/postmodern/ruby-install#readme -[chruby]: https://github.com/postmodern/chruby#readme -[uru]: https://bitbucket.org/jonforums/uru +[chruby]: https://github.com/postmodern/chruby +[uru]: https://bitbucket.org/jonforums/uru/src/master/ [rubyinstaller]: https://rubyinstaller.org/ -[railsinstaller]: http://railsinstaller.org/ [rubystack]: http://bitnami.com/stack/ruby/installer -[sunfreeware]: http://www.sunfreeware.com [openindiana]: http://openindiana.org/ [opensolaris-pkg]: http://opensolaris.org/os/project/pkg/ [gentoo-ruby]: http://www.gentoo.org/proj/en/prog_lang/ruby/ +[freebsd-ruby]: https://wiki.freebsd.org/Ruby +[freebsd-ports-collection]: https://docs.freebsd.org/en/books/handbook/ports/#ports-using [homebrew]: http://brew.sh/ +[terminal]: https://en.wikipedia.org/wiki/List_of_terminal_emulators +[building-ruby]: https://github.com/ruby/ruby/blob/master/doc/contributing/building_ruby.md +[wsl]: https://learn.microsoft.com/zh-tw/windows/wsl/about +[asdf-vm]: https://asdf-vm.com/ +[asdf-ruby]: https://github.com/asdf-vm/asdf-ruby +[openbsd-current-ruby-ports]: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/ruby/?only_with_tag=HEAD From 63a9c9d9c7236f48a30be5f9cfc19273756267f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:08:42 +0000 Subject: [PATCH 2033/2563] Bump actions/checkout from 4.0.0 to 4.1.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/3df4ab11eba7bda6032a0b82a6bb43b11571feac...8ade135a41bc03ea155e62e844d188df1ea18608) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3830365e1e..0b33242c8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 0510274957..898c34bba0 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - name: Setup Ruby uses: ruby/setup-ruby@5311f05890856149502132d25c4a24985a00d426 # v1.153.0 with: From 65fe4b023f571bf18aa01b732d5849a56033ac55 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:08:39 +0000 Subject: [PATCH 2034/2563] Bump ruby/setup-ruby from 1.153.0 to 1.154.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.153.0 to 1.154.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/5311f05890856149502132d25c4a24985a00d426...52b8784594ec115fd17094752708121dc5dabb47) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b33242c8a..031c7e2fd5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@5311f05890856149502132d25c4a24985a00d426 # v1.153.0 + uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 # v1.154.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 898c34bba0..83f2afdcca 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - name: Setup Ruby - uses: ruby/setup-ruby@5311f05890856149502132d25c4a24985a00d426 # v1.153.0 + uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 # v1.154.0 with: ruby-version: '3.2' bundler-cache: true From 887f1c38e282e614b547af173bb6c941eafe18c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:31:49 +0000 Subject: [PATCH 2035/2563] Bump ruby/setup-ruby from 1.154.0 to 1.155.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.154.0 to 1.155.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/52b8784594ec115fd17094752708121dc5dabb47...d37167af451eb51448db3354e1057b75c4b268f7) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 031c7e2fd5..cade73d184 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 # v1.154.0 + uses: ruby/setup-ruby@d37167af451eb51448db3354e1057b75c4b268f7 # v1.155.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 83f2afdcca..7c4b6da39d 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - name: Setup Ruby - uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 # v1.154.0 + uses: ruby/setup-ruby@d37167af451eb51448db3354e1057b75c4b268f7 # v1.155.0 with: ruby-version: '3.2' bundler-cache: true From a64bb7be4cb3268f5c57acdc3fc4dffd8dc964d2 Mon Sep 17 00:00:00 2001 From: nopeless <38830903+nopeless@users.noreply.github.com> Date: Tue, 10 Oct 2023 11:50:24 -0500 Subject: [PATCH 2036/2563] Improve winget installation instructions --- en/documentation/installation/index.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index 0170db5621..50fbf76273 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -225,8 +225,14 @@ latest version of Ruby. On Windows, you can use the [Windows Package Manager CLI](https://github.com/microsoft/winget-cli) to install Ruby: -{% highlight sh %} -> winget install RubyInstallerTeam.Ruby +{% highlight ps1 %} +> winget install RubyInstallerTeam.Ruby.{MAJOR}.{MINOR} +# Example +> winget install RubyInstallerTeam.Ruby.3.2 +# To see all versions avaliable +> winget search RubyInstallerTeam.Ruby +# Note: if you are installing ruby for projects, you may want to install RubyWithDevKit +> winget install RubyInstallerTeam.RubyWithDevKit.3.2 {% endhighlight %} ### Chocolatey package manager for Windows From 2d7c75b353f3c0789426565cce7b8844bdb84ead Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Thu, 12 Oct 2023 15:09:01 +0900 Subject: [PATCH 2037/2563] Improve winget installation instructions (ko) (#3127) --- ko/documentation/installation/index.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index c5ddf8269e..56cd89788f 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -212,8 +212,14 @@ $ pkg install runtime/ruby Windows에서 [Windows 패키지 관리자 CLI](https://github.com/microsoft/winget-cli)를 사용해서 Ruby를 설치할 수 있습니다. -{% highlight sh %} -> winget install Ruby +{% highlight ps1 %} +> winget install RubyInstallerTeam.Ruby.{MAJOR}.{MINOR} +# 예시 +> winget install RubyInstallerTeam.Ruby.3.2 +# 사용 가능한 버전 목록 +> winget search RubyInstallerTeam.Ruby +# 주의: 프로젝트에 사용할 Ruby를 설치하는 경우, RubyWithDevKit을 설치할 수 있음 +> winget install RubyInstallerTeam.RubyWithDevKit.3.2 {% endhighlight %} ### Chocolatey 패키지 관리자 From 9a17e532e51d4e84d1aaa7da68168ded4786d47c Mon Sep 17 00:00:00 2001 From: Bear Su Date: Fri, 13 Oct 2023 09:04:13 -0500 Subject: [PATCH 2038/2563] Improve winget installation instructions (zh_tw) (#3129) --- zh_tw/documentation/installation/index.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zh_tw/documentation/installation/index.md b/zh_tw/documentation/installation/index.md index 03598af208..e5d50b5ca7 100644 --- a/zh_tw/documentation/installation/index.md +++ b/zh_tw/documentation/installation/index.md @@ -202,7 +202,13 @@ $ pkg install runtime/ruby 在 Windows 上您可以使用 [Windows Package Manager CLI](https://github.com/microsoft/winget-cli) 來安裝 Ruby: {% highlight sh %} -> winget install RubyInstallerTeam.Ruby +> winget install RubyInstallerTeam.Ruby.{MAJOR}.{MINOR} +# 範例 +> winget install RubyInstallerTeam.Ruby.3.2 +# 查看所有可用的版本 +> winget search RubyInstallerTeam.Ruby +# 注意:如果你正在為專案安裝 ruby,你可能也希望安裝 RubyWithDevKit +> winget install RubyInstallerTeam.RubyWithDevKit.3.2 {% endhighlight %} ### Chocolatey package manager for Windows From e1feee25e2dfada729c4199516052e3756387683 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 15:06:54 +0000 Subject: [PATCH 2039/2563] Bump ruby/setup-ruby from 1.155.0 to 1.156.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.155.0 to 1.156.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/d37167af451eb51448db3354e1057b75c4b268f7...5cfe23c062c0aac352e765b1b7cc12ea5255ccc4) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cade73d184..5c2888e6ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@d37167af451eb51448db3354e1057b75c4b268f7 # v1.155.0 + uses: ruby/setup-ruby@5cfe23c062c0aac352e765b1b7cc12ea5255ccc4 # v1.156.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 7c4b6da39d..4ed1903330 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - name: Setup Ruby - uses: ruby/setup-ruby@d37167af451eb51448db3354e1057b75c4b268f7 # v1.155.0 + uses: ruby/setup-ruby@5cfe23c062c0aac352e765b1b7cc12ea5255ccc4 # v1.156.0 with: ruby-version: '3.2' bundler-cache: true From 52da250ef17cdba239f8385261eadcf238f29ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 18 Oct 2023 11:41:35 -0500 Subject: [PATCH 2040/2563] Translate Ruby 3.3.0 preview2 released news post (es) (#3131) Co-authored-by: Nombre Usuario --- ...2023-09-14-ruby-3-3-0-preview2-released.md | 203 ++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md diff --git a/es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md new file mode 100644 index 0000000000..95bd6b2405 --- /dev/null +++ b/es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -0,0 +1,203 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.0-preview2" +author: "naruse" +translator: vtamara +date: 2023-09-14 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %} + +Nos complace anunciar la publicación de Ruby {{ release.version }}. Ruby 3.3 +añade un nuevo compilador JIT en puro Ruby llamado RJIT, usa Lrama +como generador del analizador sintáctico así como muchas mejoras +de desempeño especialmente de YJIT. + +## RJIT + +* Se introdujo RJIT un compilador JIT en puro Ruby que remplaza a MJIT. + * RJIT soporta sólo la arquitectura x86\_64 en plataformas Unix. + * A diferencia de MJIT, no require de un compilador C en tiempo de ejecución. +* RJIT existe sólo con propósitos experimentales. + * Debería seguir usando YJIT en producción. +* Si le interesa desarrollar un compilador JIT para Ruby, por favor + revise la [presentación de k0kubun en el día 3 de RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## Usa Lrama en lugar de Bison + +* Remplaza Bison con [el generador de analizadores sintácticos LALR Lrama](https://github.com/yui-knk/lrama) [Característica #19637](https://bugs.ruby-lang.org/issues/19637) + * Si tiene interés por favor vea [la visión futura de los analizadores sintácticos de Ruby](https://rubykaigi.org/2023/presentations/spikeolaf.html) + +## YJIT + +* Mejoras mayores en desempeño respecto a 3.2 + * Mejorado el soporte para argumentos splat y para el resto de argumentos. + * Los registros se localizan para operaciones en pila de la máquina virtual. + * Se compilan más llamados con argumentos opcionales. + * Los manejadores de excepciones también se compilan. + * Las variables de instancia ya no salen al interprete con Formas de Objetos + mega-mórficas. + * Se optimizaron de manera especial `Integer#!=`, `String#!=`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?` y + `Module#===`. + * Ahora es 3 veces más rápido que el interprete normal con optcarrot! +* Los metadatos para el código compilado usan mucha menos memoria. +* Generación de código más compacto en ARM64 +* Opción para iniciar YJIT en modo pausado para después habilitarlo + manualmente + * `--yjit-pause` y `RubyVM::YJIT.resume` + * Esto puede usarse para habilitar YJIT sólo después de que su aplicación + haya completado el arranque. +* La estadística `ratio_in_yjit` producida por `--yjit-stats` ahora está + disponible en compilaciones publicadas, ya no se requiere una + estadística especial o una compilación de desarrollo. +* La opción para salir del modo con trazas ahora soporta muestreo + * `--trace-exits-sample-rate=N` +* Pruebas más extensas y correcciones a múltiples fallas + + + +## Otros Características Nuevas Notables + +### Lenguaje + +## Mejoras en desempeño + +* `defined?(@ivar)` se optimiza con Formas de Objetos. + +## Otros cambios notables desde 3.2 + +### IRB + +IRB ha recibido diversas mejoras, incluyendo --no limitadas a estas: + +- Integración avanzada `irb:rdbg` que provee una experiencia + de depuración equivalente a la de `pry-byebug` + ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Soporte de paginador en ordenes como `ls` y `show_cmds`. +- Las ordenes `ls` y `show_cmds` dan información más precisa y útil. + +Además, IRB ha experimentado una re-factorización extensa y ha recibido +docenas de correcciones a fallas que facilitan ampliaciones futuras. + + +## Incidentes de compatibilidad + +Nota: Correciones a falla que excluía características. + +### Constantes elminadas + +Las siguientes constantes que eran despreciadas han sido eliminadas. + + +### Métodos eliminados + +Los siguientes métodos que eran despreciados han sido eliminados. + + +## Problemas de compatibilidad con Stdlib + +### Eliminación de `ext/readline` + +* Tenemos `reline` que es una implementación en Ruby puro compatible con + el API de `ext/readline`. Dependeremos de `reline` a futuro. Si + necesita usar `ext/readline`, puede instalar `ext/readline` vía rubygems.org + con `gem install readline-ext`. +* Ya no necesitamos instalar librerías como `libreadline` o `libedit`. + +## Actualizaciones al API en C + +### APIs en C actualizados + +Los siguientes APIs han sido actualizados. + + + +### APIs en C eliminados + +Los siguientes APIs despreciados han sido eliminados. + +## Actualizaciones a la librería estándar + +RubyGems y Bundler avisan cuando el usuario requiere gemas que están +programadas para convertirse en gemas incluidas en versiones futuras +de Ruby. + +Las siguientes gemas predeterminadas se han actualizado. + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.8 +* erb 4.0.3 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.7.4 +* nkf 0.1.3 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.8 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* time 0.2.2 +* timeout 0.4.0 +* uri 0.12.2 +* yarp 0.9.0 + +Las siguientes gemas incluidas han sido actualizadas. + +* minitest 5.19.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.3.7 +* rbs 3.2.1 +* typeprof 0.21.8 +* debug 1.8.0 + +La siguiente gema predeterminada pasa a ser gema incluida. + +* racc 1.7.1 + +Ver la publicación en GitHub como +[Logger](https://github.com/ruby/logger/releases) o +bien la bitácora de cambios con detalles de las gemas predeterminadas +y las gemas incluidas. + +Ver más detalles en el archivo +[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +o en [la bitácora de cambios](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}). + +¡Con estos cambios, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +desde Ruby 3.2.0! + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Qué es Ruby + +Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, +y ahora es desarrollado como Código Abieto. Corre en múltiples +plataformas y es usado en todo el mundo especialmente para desarrollo web. From 1f4abf5b7ebd76a9a95f31ac8e6f52189f5fc159 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 21 Oct 2023 16:32:26 +0800 Subject: [PATCH 2041/2563] Translate Ruby 3.2.0 released news post (zh_tw) (#3123) --- .../2022-12-06-ruby-3-2-0-rc1-released.md | 465 +++++++++++++ .../_posts/2022-12-25-ruby-3-2-0-released.md | 637 ++++++++++++++++++ 2 files changed, 1102 insertions(+) create mode 100644 zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md create mode 100644 zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md diff --git a/zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md b/zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md new file mode 100644 index 0000000000..a491c13251 --- /dev/null +++ b/zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md @@ -0,0 +1,465 @@ +--- +layout: news_post +title: "Ruby 3.2.0 RC 1 Released" +author: "naruse" +translator: "Bear Su" +date: 2022-12-06 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.2.0-rc1" | first %} + +我們很高興宣佈 Ruby {{ release.version }} 發佈了。Ruby 3.2 新增許多新功能及效能提升。 + +## 基於 WASI 的 WebAssembly 支援 + +這是首次基於 WASI 支援 WebAssembly。使得 CRuby binary 可用於網頁瀏覽器、Serverless Edge 環境、與其他 WebAssembly/WASI 嵌入式環境. 目前已通過 basic 與 bootstrap 測試,但不包括 Thread API。 + +![](https://i.imgur.com/opCgKy2.png) + +### 背景 + +[WebAssembly (Wasm)](https://webassembly.org/) 最初是為了在網頁瀏覽器中安全快速地執行程式。但其目標 - 在不同的環境上安全又有效率的執行程式,不僅是 web 應用程式,也是其他一般應用程式的目標。 + +[WASI (The WebAssembly System Interface)](https://wasi.dev/) 被設計用於此使用場景。 儘管應用程式需要與作業系統溝通,但 WebAssembly 卻是運行在沒有系統介面的虛擬機中。WASI 將其標準化了。 + +Ruby 中的 WebAssembly/WASI 支援透過這些專案,允許 Ruby 開發者可以開發在相容此功能的平台上執行的應用程式。 + +### 使用場景 + +此支援功能使得開發者可以在 WebAssembly 環境上使用 CRuby。 其中一個範例就是 [TryRuby playground](https://try.ruby-lang.org/playground/) 的 CRuby 支援。現在您可以在您的網頁瀏覽器上嘗試原生的 CRuby。 + +### 技術特點 + +因為目前 WASI 和 WebAssembly 不斷地再改進與安全性理由,仍缺少一些功能來實現 Fiber、異常、和 GC。所以 CRuby 透過使用 Asyncify,一個在使用者空間的 binary 轉換技術,來彌補中間的差距。 + +並且,我們建置了 [a VFS on top of WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby),讓我們可以很容易地將 Ruby 應用程式打包成單一 .wasm 檔案。簡化了 Ruby 應用程式的分發過程。 + + +### 相關連結 + +* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407) +* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9) + +## Regexp 增強 ReDoS 防禦 + +眾所皆知 Regexp matching 所花的時間可能會非預期的久。如果您的程式使用效率可能較低的 Regexp 來比對不可信的輸入內容,攻擊者可能可以藉此來發動服務阻斷攻擊。(稱為 Regular expression DoS, or ReDoS)。 + +我們進行了兩項改進,可以顯著降低 ReDos 攻擊的影響。 + +### 改善 Regexp 比對演算法 + +從 Ruby 3.2 開始,透過使用 memoization 技術,Regexp 的比對演算法得到了很大的改進。 + +``` +# 這個比對在 Ruby 3.1 需要花費 10 秒。 而在 Ruby 3.2 只需要花費 0.003 秒。 + +/^a*b?a*$/ =~ "a" * 50000 + "x" +``` + +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_1.png) +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_2.png) + +改進後的演算法使得大部分的 Regexp (我們實驗中的 90%) 可以在線性時間內完成。 + +(給預覽使用者:這個改善可能會花費與輸入長度成比例的記憶體。我們預期這不會有實際問題,因為這種記憶體分配通常都會延遲,而正常的 Regexp 最多可花費輸入長度 10 倍的記憶體。如果您在現實場景中使用 Regexp 進行比對時遇到記憶題不足的問題,請向我們回報。) + +最初提案: https://bugs.ruby-lang.org/issues/19104 + +### Regexp 逾時設定 + +上述的改善無法套用在某些 Regexp,像是包含進階功能 (例如:back-references 或是 look-around),或有大量固定重複次數。作為備案,我們在 Regexp 比對中導入了逾時設定。 + +```ruby +Regexp.timeout = 1.0 + +/^a*b?a*()\1$/ =~ "a" * 50000 + "x" +#=> 1 秒後拋出 Regexp::TimeoutError +``` + +注意 `Regexp.timeout` 是全域設定。如果您想要為一些特定的 Regexps 使用不同的逾時設定,您可以在呼叫 `Regexp.new` 時使用 `timeout` keyword。 + +```ruby +Regexp.timeout = 1.0 + +# This regexp has no timeout +long_time_re = Regexp.new('^a*b?a*()\1$', timeout: Float::INFINITY) + +long_time_re =~ "a" * 50000 + "x" # 不會被中斷 +``` + +最初提案:https://bugs.ruby-lang.org/issues/17837 + +## 其他值得注意的新功能 + +### SyntaxSuggest + +* `syntax_suggest`(前 `dead_end`)功能已整合進 Ruby 了。這可以幫助您找到錯誤所在的位置,例如缺少或多餘的 `end`,以便您能更快修正,例如以下範例: + + ``` + Unmatched `end', missing keyword (`do', `def`, `if`, etc.) ? + + 1 class Dog + > 2 defbark + > 4 end + 5 end + ``` + + [[Feature #18159]] + + +### ErrorHighlight + +* 現在會指向 TypeError 和 ArgumentError 相關的參數。 + +``` +test.rb:2:in `+': nil can't be coerced into Integer (TypeError) + +sum = ary[0] + ary[1] + ^^^^^^ +``` + +### 語言功能 + +* 除了作為方法參數,匿名不定長度參數現在也可以傳遞為其他方法的參數。 + [[Feature #18351]] + + ```ruby + def foo(*) + bar(*) + end + def baz(**) + quux(**) + end + ``` + +* 只接收單一參數的 proc 將不會自動解開封裝。 [[Bug #18633]] + + ```ruby + proc{|a, **k| a}.call([1, 2]) + # Ruby 3.1 與之前的版本 + # => 1 + # Ruby 3.2 與之後的版本 + # => [1, 2] + ``` + +* 常數賦值評估順序將與單一屬性賦值評估順序保持一致。參考以下程式碼: + + ```ruby + foo::BAR = baz + ``` + + `foo` 現在會在 `baz` 之前被呼叫。同樣地,在有多個賦值給常數的情況,會使用從左至右的順序評估。參考以下程式碼: + + ```ruby + foo1::BAR1, foo2::BAR2 = baz1, baz2 + ``` + + 現在使用下面的評估顺序: + + 1. `foo1` + 2. `foo2` + 3. `baz1` + 4. `baz2` + + [[Bug #15928]] + +* Find pattern 不再是實驗性功能。 + [[Feature #18585]] + +* 使用不定長度參數 (例如 `*args`) 的方法,如果同時希望可以作為 keyword 參數傳遞給 `foo(*args)`。必須標記為 `ruby2_keywords` (若還未標記)。 + 換句話說,希望作為接收 keyword 參數的其他方法都毫無例外地必須標記為 `ruby2_keywords`。若某個函式庫需要使用 Ruby 3+,這會是一個較為容易的過渡升級方法。 + 在此之前,當接受方法取得 `*args`時會保留 `ruby2_keywords` 標記,但這是一個錯誤且行為不一致。 + 對於找到可能缺少 `ruby2_keywords` 標記的好方法是執行測試,在測試失敗的地方,找到最後一個接收 keyword 參數的方法,在哪裡使用 `puts nil, caller, nil`,並檢查每一個在呼叫鏈上的方法/區塊,是否都被正確地標記為 `ruby2_keywords`。[[Bug #18625]] [[Bug #16466]] + + ```ruby + def target(**kw) + end + + # 意外地 Ruby 2.7-3.1 在沒有 ruby2_keywords 的情況下可以成功 + # 執行,但在 3.2+ 卻是必需的。若需移除 ruby2_keywords, + # #foo 和 #bar 需要將參數改成 (*args, **kwargs) 或 (...) + ruby2_keywords def bar(*args) + target(*args) + end + + ruby2_keywords def foo(*args) + bar(*args) + end + + foo(k: 1) + ``` + +## 效能提升 + +### YJIT + + +* YJIT 現在支援 x86-64 和 arm64/aarch64 架構的 Linux、MacOS、BSD 和其他 UNIX 平台。 + * 此發佈支援 Mac M1/M2、AWS Graviton 和 Raspberry Pi 4 ARM64 處理器. +* 建置 YJIT 時需要 Rust 1.58.1+ 。 [[Feature #18481]] + * 為了確保使用 YJIT 建置 CRuby,請安裝 rustc >= 1.58.0 並在執行 `./configure` 時加入 `--enable-yjit`。 + * 若執行時遇到任何問題請聯絡 YJIT 團隊。 +* JIT 程式碼的物理記憶體是延遲分配的。與 Ruby 3.1 不同,Ruby process 的 RSS 被最小化,因為由 `--yjit-exec-mem-size` 分配的虛擬記憶體分頁在被 JIT 程式碼實際使用之前不會被映射到物理記憶體分頁。 +* 導入 Code GC,當 JIT 程式碼使用的記憶體達到 `--yjit-exec-mem-size` 時釋放所有 code pages。 + * RubyVM::YJIT.runtime_stats 除了現有的 `inline_code_size` 和 `outlined_code_size`,還會回傳 Code GC 指標 `code_gc_count`、`live_page_count`、`freed_page_count`、和 `freed_code_size`。 +* 大部分由 RubyVM::YJIT.runtime_stats 產生的統計資料可以在建置發佈時使用。 + * 只需要使用 `--yjit-stats` 執行 ruby 計算統計資料 (會產生一些運行開銷)。 +* YJIT 現在經過最佳化可以使用 Object Shapes。[[Feature #18776]] +* 利用更細粒度的常數失效來在定義新常數時減少失效的程式碼。 [[Feature #18589]] + +### MJIT + +* MJIT 編譯器在 Ruby 已重新實作為標準函式庫 `mjit`。 +* MJIT 編譯器在 forked Ruby process 下執行,而不是在名為 MJIT worker 的原生執行緒下工作。[[Feature #18968]] + * 因此,不再支援 Microsoft Visual Studio (MSWIN)。 +* 不再支援 MinGW。[[Feature #18824]] +* 重新命名 `--mjit-min-calls` 為 `--mjit-call-threshold`. +* 將 `--mjit-max-cache` 預設值從 10000 改為 100。 + +### PubGrub + +* Bundler 2.4 現在使用 [PubGrub](https://github.com/jhawthorn/pub_grub) resolver 而不是 [Molinillo](https://github.com/CocoaPods/Molinillo)。 + * PubGrub 是 Dart 程式語言的 `pub` 套件管理器使用的下一代求解演算法。 + * 這個變更可能會導致您得到不同的解析結果。請回報問題至 [RubyGems/Bundler issues](https://github.com/rubygems/rubygems/issues)。 + +* 在 Ruby 3.2,RubyGems 仍然使用 Molinillo resolver。我們計畫未來用 PubGrub 取代。 + +## 自 3.1 以來其他值得注意的變更 + +* Hash + * 當 hash 為空時,Hash#shift 現在總是回傳 nil,取代以往回傳預設值或呼叫預設的 proc。 [[Bug #16908]] + +* MatchData + * 已新增 MatchData#byteoffset。 [[Feature #13110]] + +* Module + * 已新增 Module.used_refinements。 [[Feature #14332]] + * 已新增 Module#refinements。 [[Feature #12737]] + * 已新增 Module#const_added。 [[Feature #17881]] + +* Proc + * Proc#dup 回傳子類別的實體。 [[Bug #17545]] + * Proc#parameters 現在接受 lambda keyword。 [[Feature #15357]] + +* Refinement + * 已新增 Refinement#refined_class。 [[Feature #12737]] + +* RubyVM::AbstractSyntaxTree + * `parse`、`parse_file` 和 `of` 新增 `error_tolerant` 選項。[[Feature #19013]] + +* Set + * Set 現在可以直接使用,不再需要先 `require "set"`。 [[Feature #16989]] + 目前是透過 `Set` 常數或呼叫 `Enumerable#to_set` 來自動載入。 + +* String + * 已新增 String#byteindex 和 String#byterindex。 [[Feature #13110]] + * 更新 Unicode 至 Version 15.0.0 和 Emoji Version 15.0。 [[Feature #18639]] (也適用於 Regexp) + * 已新增 String#bytesplice。 [[Feature #18598]] + +* Struct + * `Struct.new` 不需要傳入 `keyword_init: true` 也可以透過 keyword 參數初始化。 [[Feature #16806]] + +## 相容性問題 + +注意:不包含功能問題的修正。 + +### 被移除的常數 + +下列廢棄的常數已被移除。 + +* `Fixnum` 和 `Bignum` [[Feature #12005]] +* `Random::DEFAULT` [[Feature #17351]] +* `Struct::Group` +* `Struct::Passwd` + +### 被移除的方法 + +下列廢棄的方法已被移除。 + +* `Dir.exists?` [[Feature #17391]] +* `File.exists?` [[Feature #17391]] +* `Kernel#=~` [[Feature #15231]] +* `Kernel#taint`, `Kernel#untaint`, `Kernel#tainted?` + [[Feature #16131]] +* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?` + [[Feature #16131]] + +## Stdlib 相容性問題 + +### 不再綑綁第三方原始碼 + +* 我們不再綑綁第三方原始碼像是 `libyaml`, `libffi`。 + + * psych 中的 libyaml 原始碼已經被移除。您可能需要在 Ubuntu/Debian 平台上安裝 `libyaml-dev`。 每個平台上的套件名稱有所不同。 + + * `fiddle` 中綑綁的 libffi 原始碼也已經移除。 + +* Psych 和 fiddle 支援指定 libyaml 和 libffi 原始碼版本來靜態建置。您可以使用 libyaml-0.2.5 建置 psych 像是: + + ```bash + $ ./configure --with-libyaml-source-dir=/path/to/libyaml-0.2.5 + ``` + + 您也能使用 libffi-3.4.4 建置 fiddle,像是: + + ```bash + $ ./configure --with-libffi-source-dir=/path/to/libffi-3.4.4 + ``` + + [[Feature #18571]] + +## C API 更新 + +### 更新的 C APIs + +下列是已更新的 APIs。 + +* PRNG 更新 + `rb_random_interface_t` 更新版本。 + 使用此舊版介面建置的擴展函式庫還需要定義 `init_int32` 函式。 + +### 被移除的 C APIs + +下列廢棄的 APIs 已被移除。 + +* `rb_cData` 變數。 +* "taintedness" 和 "trustedness" 函式. [[Feature #16131]] + +### 標準函式庫更新 + +* 更新了以下的預設 gem。 + * RubyGems 3.4.0.dev + * benchmark 0.2.1 + * bigdecimal 3.1.3 + * bundler 2.4.0.dev + * cgi 0.3.6 + * date 3.3.0 + * delegate 0.3.0 + * did_you_mean 1.6.2 + * digest 3.1.1 + * drb 2.1.1 + * erb 4.0.2 + * error_highlight 0.5.1 + * etc 1.4.1 + * fcntl 1.0.2 + * fiddle 1.1.1 + * fileutils 1.7.0 + * forwardable 1.3.3 + * getoptlong 0.2.0 + * io-console 0.5.11 + * io-nonblock 0.2.0 + * io-wait 0.3.0.pre + * ipaddr 1.2.5 + * irb 1.5.1 + * json 2.6.2 + * logger 1.5.2 + * mutex_m 0.1.2 + * net-http 0.3.1 + * net-protocol 0.2.0 + * nkf 0.1.2 + * open-uri 0.3.0 + * openssl 3.1.0.pre + * optparse 0.3.0 + * ostruct 0.5.5 + * pathname 0.2.1 + * pp 0.4.0 + * pstore 0.1.2 + * psych 5.0.0 + * racc 1.6.1 + * rdoc 6.5.0 + * reline 0.3.1 + * resolv 0.2.2 + * securerandom 0.2.1 + * set 1.0.3 + * stringio 3.0.3 + * syntax_suggest 1.0.1 + * timeout 0.3.1 + * tmpdir 0.1.3 + * tsort 0.1.1 + * un 0.2.1 + * uri 0.12.0 + * win32ole 1.8.9 + * zlib 3.0.0 +* 更新了以下的 bundled gem。 + * minitest 5.16.3 + * power_assert 2.0.2 + * test-unit 3.5.5 + * net-ftp 0.2.0 + * net-imap 0.3.1 + * net-pop 0.1.2 + * net-smtp 0.3.3 + * rbs 2.8.1 + * typeprof 0.21.3 + * debug 1.7.0 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}) 來了解更多。 + +自 Ruby 3.1.0 以來,計 [{{ release.stats.files_changed }} 檔案變更, {{ release.stats.insertions }} 行新增 (+), {{ release.stats.deletions }} 行刪減 (-)](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}#file_bucket)! + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + + + +[Feature #12005]: https://bugs.ruby-lang.org/issues/12005 +[Feature #12655]: https://bugs.ruby-lang.org/issues/12655 +[Feature #12737]: https://bugs.ruby-lang.org/issues/12737 +[Feature #13110]: https://bugs.ruby-lang.org/issues/13110 +[Feature #14332]: https://bugs.ruby-lang.org/issues/14332 +[Feature #15231]: https://bugs.ruby-lang.org/issues/15231 +[Feature #15357]: https://bugs.ruby-lang.org/issues/15357 +[Bug #15928]: https://bugs.ruby-lang.org/issues/15928 +[Feature #16131]: https://bugs.ruby-lang.org/issues/16131 +[Bug #16466]: https://bugs.ruby-lang.org/issues/16466 +[Feature #16806]: https://bugs.ruby-lang.org/issues/16806 +[Bug #16889]: https://bugs.ruby-lang.org/issues/16889 +[Bug #16908]: https://bugs.ruby-lang.org/issues/16908 +[Feature #16989]: https://bugs.ruby-lang.org/issues/16989 +[Feature #17351]: https://bugs.ruby-lang.org/issues/17351 +[Feature #17391]: https://bugs.ruby-lang.org/issues/17391 +[Bug #17545]: https://bugs.ruby-lang.org/issues/17545 +[Feature #17881]: https://bugs.ruby-lang.org/issues/17881 +[Feature #18639]: https://bugs.ruby-lang.org/issues/18639 +[Feature #18159]: https://bugs.ruby-lang.org/issues/18159 +[Feature #18351]: https://bugs.ruby-lang.org/issues/18351 +[Feature #18481]: https://bugs.ruby-lang.org/issues/18481 +[Bug #18487]: https://bugs.ruby-lang.org/issues/18487 +[Feature #18571]: https://bugs.ruby-lang.org/issues/18571 +[Feature #18585]: https://bugs.ruby-lang.org/issues/18585 +[Feature #18589]: https://bugs.ruby-lang.org/issues/18589 +[Feature #18598]: https://bugs.ruby-lang.org/issues/18598 +[Bug #18625]: https://bugs.ruby-lang.org/issues/18625 +[Bug #18633]: https://bugs.ruby-lang.org/issues/18633 +[Feature #18685]: https://bugs.ruby-lang.org/issues/18685 +[Feature #18776]: https://bugs.ruby-lang.org/issues/18776 +[Bug #18782]: https://bugs.ruby-lang.org/issues/18782 +[Feature #18788]: https://bugs.ruby-lang.org/issues/18788 +[Feature #18809]: https://bugs.ruby-lang.org/issues/18809 +[Bug #19100]: https://bugs.ruby-lang.org/issues/19100 +[Bug #19013]: https://bugs.ruby-lang.org/issues/19013 diff --git a/zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md b/zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md new file mode 100644 index 0000000000..2688ca2db6 --- /dev/null +++ b/zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md @@ -0,0 +1,637 @@ +--- +layout: news_post +title: "Ruby 3.2.0 Released" +author: "naruse" +translator: "Bear Su" +date: 2022-12-25 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.2.0" | first %} + +我們很高興宣佈 Ruby {{ release.version }} 發佈了。Ruby 3.2 新增許多新功能及效能提升。 + + +## 基於 WASI 的 WebAssembly 支援 + +這是首次基於 WASI 支援 WebAssembly。使得 CRuby binary 可用於網頁瀏覽器、Serverless Edge 環境、與其他 WebAssembly/WASI 嵌入式環境. 目前已通過 basic 與 bootstrap 測試,但不包括 Thread API。 + +![](https://i.imgur.com/opCgKy2.png) + +### 背景 + +[WebAssembly (Wasm)](https://webassembly.org/) 最初是為了在網頁瀏覽器中安全快速地執行程式。但其目標 - 在不同的環境上安全又有效率的執行程式,不僅是 web 應用程式,也是其他一般應用程式的目標。 + +[WASI (The WebAssembly System Interface)](https://wasi.dev/) 被設計用於此使用場景。 儘管應用程式需要與作業系統溝通,但 WebAssembly 卻是運行在沒有系統介面的虛擬機中。WASI 將其標準化了。 + +Ruby 中的 WebAssembly/WASI 支援透過這些專案,允許 Ruby 開發者可以開發在相容此功能的平台上執行的應用程式。 + +### 使用場景 + +此支援功能使得開發者可以在 WebAssembly 環境上使用 CRuby。 其中一個範例就是 [TryRuby playground](https://try.ruby-lang.org/playground/) 的 CRuby 支援。現在您可以在您的網頁瀏覽器上嘗試原生的 CRuby。 + +### 技術特點 + +因為目前 WASI 和 WebAssembly 不斷地再改進與安全性理由,仍缺少一些功能來實現 Fiber、異常、和 GC。所以 CRuby 透過使用 Asyncify,一個在使用者空間的 binary 轉換技術,來彌補中間的差距。 + +並且,我們建置了 [a VFS on top of WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby),讓我們可以很容易地將 Ruby 應用程式打包成單一 .wasm 檔案。簡化了 Ruby 應用程式的分發過程。 + +### Related links + +* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407) +* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9) + + +## 適用於生產環境的 YJIT + +![](https://i.imgur.com/X9ulfac.png) + +* YJIT 不再是實驗性功能。 + * 經過一年以上的生產工作負載測試,已證明相當穩定。 +* YJIT 現在支援 x86-64 和 arm64/aarch64 架構的 Linux、MacOS、BSD 和其他 UNIX 平台。 + * 此發佈支援 Apple M1/M2、AWS Graviton、Raspberry Pi 4 和更多。 +* 建置 YJIT 時需要 Rust 1.58.1+ 。 [[Feature #18481]] + * 為了確保使用 YJIT 建置 CRuby,請安裝 rustc >= 1.58.0 並在執行 `./configure` 時加入 `--enable-yjit`。 + * 若執行時遇到任何問題請聯絡 YJIT 團隊。 +* YJIT 3.2 版本比 3.1 更快,且耗用的記憶體開銷約為 1/3。 + * 整體而言,YJIT 在 [yjit-bench](https://github.com/Shopify/yjit-bench) 上比 Ruby 直譯器快 41%(幾何平均值)。 + * JIT 程式碼的物理記憶體是延遲分配的。與 Ruby 3.1 不同,Ruby process 的 RSS 被最小化,因為由 `--yjit-exec-mem-size` 分配的虛擬記憶體分頁在被 JIT 程式碼實際使用之前不會被映射到物理記憶體分頁。 + * 導入 Code GC,當 JIT 程式碼使用的記憶體達到 `--yjit-exec-mem-size` 時釋放所有 code pages。 + * `RubyVM::YJIT.runtime_stats` 除了現有的 `inline_code_size` 和 `outlined_code_size`,還會回傳 Code GC 指標 + `code_gc_count`、`live_page_count`、`freed_page_count`、和 `freed_code_size`。 +* 大部分由 `RubyVM::YJIT.runtime_stats` 產生的統計資料可以在建置發佈時使用。 + * 只需要使用 `--yjit-stats` 執行 ruby 計算並輸出統計資料 (會產生一些運行開銷)。 +* YJIT 現在經過最佳化可以使用 Object Shapes。[[Feature #18776]] +* 利用更細粒度的常數失效來在定義新常數時減少失效的程式碼。 [[Feature #18589]] +* `--yjit-exec-mem-size` 預設值改為 64 (MiB)。 +* `--yjit-call-threshold` 預設值改為 30。 + +## Regexp 增強 ReDoS 防禦 + +眾所皆知 Regexp matching 所花的時間可能會非預期的久。如果您的程式使用效率可能較低的 Regexp 來比對不可信的輸入內容,攻擊者可能可以藉此來發動服務阻斷攻擊。(稱為 Regular expression DoS, or ReDoS)。 + +我們進行了兩項改進,可以顯著降低 ReDos 攻擊的影響。 + +### Improved Regexp matching algorithm + +從 Ruby 3.2 開始,透過使用 memoization 技術,Regexp 的比對演算法得到了很大的改進。 + +``` +# 這個比對在 Ruby 3.1 需要花費 10 秒。 而在 Ruby 3.2 只需要花費 0.003 秒。 + +/^a*b?a*$/ =~ "a" * 50000 + "x" +``` + +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_1.png) +![](https://cache.ruby-lang.org/pub/media/ruby320_regex_2.png) + +改進後的演算法使得大部分的 Regexp (我們實驗中的 90%) 可以在線性時間內完成。 + +這個改善可能會花費與輸入長度成比例的記憶體。我們預期這不會有實際問題,因為這種記憶體分配通常都會延遲,而正常的 Regexp 最多可花費輸入長度 10 倍的記憶體。如果您在現實場景中使用 Regexp 進行比對時遇到記憶題不足的問題,請向我們回報。 + +最初提案: + +### Regexp 逾時設定 + +上述的改善無法套用在某些 Regexp,像是包含進階功能 (例如:back-references 或是 look-around),或有大量固定重複次數。作為備案,我們在 Regexp 比對中導入了逾時設定。 + + +```ruby +Regexp.timeout = 1.0 + +/^a*b?a*()\1$/ =~ "a" * 50000 + "x" +#=> 1 秒後拋出 Regexp::TimeoutError +``` + +注意 `Regexp.timeout` 是全域設定。如果您想要為一些特定的 Regexps 使用不同的逾時設定,您可以在呼叫 `Regexp.new` 時使用 `timeout` keyword。 + +```ruby +Regexp.timeout = 1.0 + +# This regexp has no timeout +long_time_re = Regexp.new('^a*b?a*()\1$', timeout: Float::INFINITY) + +long_time_re =~ "a" * 50000 + "x" # 不會被中斷 +``` + +最初提案: + +## 其他值得注意的新功能 + +### SyntaxSuggest + +* `syntax_suggest`(前 `dead_end`)功能已整合進 Ruby 了。這可以幫助您找到錯誤所在的位置,例如缺少或多餘的 `end`,以便您能更快修正,例如以下範例: + + ``` + Unmatched `end', missing keyword (`do', `def`, `if`, etc.) ? + + 1 class Dog + > 2 defbark + > 3 end + 4 end + ``` + + [[Feature #18159]] + + +### ErrorHighlight + +* 現在會指向 TypeError 和 ArgumentError 相關的參數。 + +``` +test.rb:2:in `+': nil can't be coerced into Integer (TypeError) + +sum = ary[0] + ary[1] + ^^^^^^ +``` + +### 語言功能 + +* 除了作為方法參數,匿名不定長度參數現在也可以傳遞為其他方法的參數。 + [[Feature #18351]] + + ```ruby + def foo(*) + bar(*) + end + def baz(**) + quux(**) + end + ``` + +* 只接收單一參數的 proc 將不會自動解開封裝。 [[Bug #18633]] + + ```ruby + proc{|a, **k| a}.call([1, 2]) + # Ruby 3.1 與之前的版本 + # => 1 + # Ruby 3.2 與之後的版本 + # => [1, 2] + ``` + +* 常數賦值評估順序將與單一屬性賦值評估順序保持一致。參考以下程式碼: + + ```ruby + foo::BAR = baz + ``` + + `foo` 現在會在 `baz` 之前被呼叫。同樣地,在有多個賦值給常數的情況,會使用從左至右的順序評估。參考以下程式碼: + + ```ruby + foo1::BAR1, foo2::BAR2 = baz1, baz2 + ``` + + 現在使用下面的評估顺序: + + 1. `foo1` + 2. `foo2` + 3. `baz1` + 4. `baz2` + + [[Bug #15928]] + +* Find pattern 不再是實驗性功能。 + [[Feature #18585]] + +* 使用不定長度參數 (例如 `*args`) 的方法,如果同時希望可以作為 keyword 參數傳遞給 `foo(*args)`。必須標記為 `ruby2_keywords` (若還未標記)。 + 換句話說,希望作為接收 keyword 參數的其他方法都毫無例外地必須標記為 `ruby2_keywords`。若某個函式庫需要使用 Ruby 3+,這會是一個較為容易的過渡升級方法。 + 在此之前,當接受方法取得 `*args`時會保留 `ruby2_keywords` 標記,但這是一個錯誤且行為不一致。 + 對於找到可能缺少 `ruby2_keywords` 標記的好方法是執行測試,在測試失敗的地方,找到最後一個接收 keyword 參數的方法,在哪裡使用 `puts nil, caller, nil`,並檢查每一個在呼叫鏈上的方法/區塊,是否都被正確地標記為 `ruby2_keywords`。[[Bug #18625]] [[Bug #16466]] + + ```ruby + def target(**kw) + end + + # 意外地 Ruby 2.7-3.1 在沒有 ruby2_keywords 的情況下可以成功 + # 執行,但在 3.2+ 卻是必需的。若需移除 ruby2_keywords, + # #foo 和 #bar 需要將參數改成 (*args, **kwargs) 或 (...) + ruby2_keywords def bar(*args) + target(*args) + end + + ruby2_keywords def foo(*args) + bar(*args) + end + + foo(k: 1) + ``` + +## 效能提升 + +### MJIT + +* MJIT 編譯器在 Ruby 已重新實作為標準函式庫 `ruby_vm/mjit/compiler`。 +* MJIT 編譯器在 forked process 下執行,而不是在名為 MJIT worker 的原生執行緒下工作。[[Feature #18968]] + * 因此,不再支援 Microsoft Visual Studio (MSWIN)。 +* 不再支援 MinGW。[[Feature #18824]] +* 重新命名 `--mjit-min-calls` 為 `--mjit-call-threshold`. +* 將 `--mjit-max-cache` 預設值從 10000 改為 100。 + +### PubGrub + +* Bundler 2.4 現在使用 [PubGrub](https://github.com/jhawthorn/pub_grub) resolver 而不是 [Molinillo](https://github.com/CocoaPods/Molinillo)。 + * PubGrub 是 Dart 程式語言的 `pub` 套件管理器使用的下一代求解演算法。 + * 這個變更可能會導致您得到不同的解析結果。請回報問題至 [RubyGems/Bundler issues](https://github.com/rubygems/rubygems/issues)。 + +* 在 Ruby 3.2,RubyGems 仍然使用 Molinillo resolver。我們計畫未來用 PubGrub 取代。 + +## 自 3.1 以來其他值得注意的變更 + +* Data + * 新增了一個核心類別來表示簡單的不可變值物件。該類別類似於 Struct 並部分共用實作,但具有更精簡和嚴格的 API。 [[Feature #16122]] + + ```ruby + Measure = Data.define(:amount, :unit) + distance = Measure.new(100, 'km') #=> # + weight = Measure.new(amount: 50, unit: 'kg') #=> # + weight.with(amount: 40) #=> # + weight.amount #=> 50 + weight.amount = 40 #=> NoMethodError: undefined method `amount=' + ``` + +* Hash + * 當 hash 為空時,`Hash#shift` 現在總是回傳 nil,取代以往回傳預設值或呼叫預設的 proc。 [[Bug #16908]] + +* MatchData + * 已新增 `MatchData#byteoffset`。 [[Feature #13110]] + +* Module + * 已新增 `Module.used_refinements`。 [[Feature #14332]] + * 已新增 `Module#refinements`。 [[Feature #12737]] + * 已新增 `Module#const_added`。 [[Feature #17881]] + +* Proc + * `Proc#dup` 回傳子類別的實體。 [[Bug #17545]] + * `Proc#parameters` 現在接受 lambda keyword。 [[Feature #15357]] + +* Refinement + * 已新增 `Refinement#refined_class`。 [[Feature #12737]] + +* RubyVM::AbstractSyntaxTree + * `parse`、`parse_file` 和 `of` 新增 `error_tolerant` 選項。[[Feature #19013]] 使用這個選項: + 1. SyntaxError 會被抑制 + 2. 無效的輸入會回傳 AST + 3. 當解析器到達輸入結尾時但缺少 `end` 時會補充 `end` + 4. `end` 會基於縮排視為關鍵字 + + ```ruby + # Without error_tolerant option + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY) + def m + a = 10 + if + end + RUBY + # => :33:in `parse': syntax error, unexpected `end' (SyntaxError) + + # With error_tolerant option + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY, error_tolerant: true) + def m + a = 10 + if + end + RUBY + p root # => # + + # `end` is treated as keyword based on indent + root = RubyVM::AbstractSyntaxTree.parse(<<~RUBY, error_tolerant: true) + module Z + class Foo + foo. + end + + def bar + end + end + RUBY + p root.children[-1].children[-1].children[-1].children[-2..-1] + # => [#, #] + ``` + + * `parse`, `parse_file` 和 `of` 新增 `keep_tokens` 選項。 [[Feature #19070]] + + ```ruby + root = RubyVM::AbstractSyntaxTree.parse("x = 1 + 2", keep_tokens: true) + root.tokens # => [[0, :tIDENTIFIER, "x", [1, 0, 1, 1]], [1, :tSP, " ", [1, 1, 1, 2]], ...] + root.tokens.map{_1[2]}.join # => "x = 1 + 2" + ``` + +* Set + * Set 現在可以直接使用,不再需要先 `require "set"`。 [[Feature #16989]] + 目前是透過 `Set` 常數或呼叫 `Enumerable#to_set` 來自動載入。 + +* String + * 已新增 `String#byteindex` 和 `String#byterindex`。 [[Feature #13110]] + * 更新 Unicode 至 Version 15.0.0 和 Emoji Version 15.0。 [[Feature #18639]] (也適用於 Regexp) + * 已新增 `String#bytesplice`。 [[Feature #18598]] + +* Struct + * `Struct.new` 不需要傳入 `keyword_init: true` 也可以透過 keyword 參數初始化。 [[Feature #16806]] + + ```ruby + Post = Struct.new(:id, :name) + Post.new(1, "hello") #=> # + # 從 Ruby 3.2 開始,以下程式碼也能在沒有 keyword_init: true 的情況下工作。 + Post.new(id: 1, name: "hello") #=> # + ``` + +## 相容性問題 + +注意:不包含功能問題的修正。 + +### 被移除的常數 + +下列廢棄的常數已被移除。 + +* `Fixnum` 和 `Bignum` [[Feature #12005]] +* `Random::DEFAULT` [[Feature #17351]] +* `Struct::Group` +* `Struct::Passwd` + +### 被移除的方法 + +下列廢棄的方法已被移除。 + +* `Dir.exists?` [[Feature #17391]] +* `File.exists?` [[Feature #17391]] +* `Kernel#=~` [[Feature #15231]] +* `Kernel#taint`, `Kernel#untaint`, `Kernel#tainted?` + [[Feature #16131]] +* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?` + [[Feature #16131]] + +## Stdlib 相容性問題 + +### 不再綑綁第三方原始碼 + +* 我們不再綑綁第三方原始碼像是 `libyaml`, `libffi`。 + + * psych 中的 libyaml 原始碼已經被移除。您可能需要在 Ubuntu/Debian 平台上安裝 `libyaml-dev`。 每個平台上的套件名稱有所不同。 + + * `fiddle` 中綑綁的 libffi 原始碼也已經移除。 + +* Psych 和 fiddle 支援指定 libyaml 和 libffi 原始碼版本來靜態建置。您可以使用 libyaml-0.2.5 建置 psych 像是: + + ```bash + $ ./configure --with-libyaml-source-dir=/path/to/libyaml-0.2.5 + ``` + + 您也能使用 libffi-3.4.4 建置 fiddle,像是: + + ```bash + $ ./configure --with-libffi-source-dir=/path/to/libffi-3.4.4 + ``` + + [[Feature #18571]] + +## C API 更新 + +### 更新的 C APIs + +The following APIs are updated. + +* PRNG 更新 + * `rb_random_interface_t` 更新版本。 + 使用此舊版介面建置的擴展函式庫還需要定義 `init_int32` 函式。 + +### 被移除的 C APIs + +下列廢棄的 APIs 已被移除。 + +* `rb_cData` 變數。 +* "taintedness" 和 "trustedness" 函式. [[Feature #16131]] + +### 標準函式庫更新 + +* Bundler + + * bundle gem 新增 --ext=rust 支援,以便建立使用 Rust extensions 的簡單 gem。 + [[GH-rubygems-6149]] + * 加速 cloning git repos。 [[GH-rubygems-4475]] + +* RubyGems + + * cargo builder 新增 mswin 支援。 [[GH-rubygems-6167]] + +* ERB + + * `ERB::Util.html_escape` 變得比 `CGI.escapeHTML` 更快. + * 當不需要跳脫任何字元時,不再分配 String 物件。 + * 當參數已經是 String 物件時,不再呼叫 `#to_s` 方法。 + * `ERB::Escape.html_escape` 已作為 `ERB::Util.html_escape` 的別名,尚未被 Rails monkey-patched。 + +* IRB + + * debug.gem 整合指令已新增:`debug`、`break`、`catch`, + `next`、`delete`、`step`、`continue`、`finish`、`backtrace`、`info` + * 即使您的 Gemfile 中沒有加入 `gem "debug"`,依然能夠使用它們。 + * 參見: [What's new in Ruby 3.2's IRB?](https://st0012.dev/whats-new-in-ruby-3-2-irb) + * 已新增更多 Pry-like 指令與功能。 + * 已新增 `edit` 和 `show_cmds` (類似 Pry 的 `help`)。 + * `ls` 使用 `-g` 或 `-G` 選項來過濾輸出。 + * `show_source` 新增別名 `$` 並接受不含引號的輸入。 + * `whereami` 新增別名 `@`。 + +* 更新了以下的預設 gem。 + + * RubyGems 3.4.1 + * abbrev 0.1.1 + * benchmark 0.2.1 + * bigdecimal 3.1.3 + * bundler 2.4.1 + * cgi 0.3.6 + * csv 3.2.6 + * date 3.3.3 + * delegate 0.3.0 + * did_you_mean 1.6.3 + * digest 3.1.1 + * drb 2.1.1 + * english 0.7.2 + * erb 4.0.2 + * error_highlight 0.5.1 + * etc 1.4.2 + * fcntl 1.0.2 + * fiddle 1.1.1 + * fileutils 1.7.0 + * forwardable 1.3.3 + * getoptlong 0.2.0 + * io-console 0.6.0 + * io-nonblock 0.2.0 + * io-wait 0.3.0 + * ipaddr 1.2.5 + * irb 1.6.2 + * json 2.6.3 + * logger 1.5.3 + * mutex_m 0.1.2 + * net-http 0.3.2 + * net-protocol 0.2.1 + * nkf 0.1.2 + * open-uri 0.3.0 + * open3 0.1.2 + * openssl 3.1.0 + * optparse 0.3.1 + * ostruct 0.5.5 + * pathname 0.2.1 + * pp 0.4.0 + * pstore 0.1.2 + * psych 5.0.1 + * racc 1.6.2 + * rdoc 6.5.0 + * readline-ext 0.1.5 + * reline 0.3.2 + * resolv 0.2.2 + * resolv-replace 0.1.1 + * securerandom 0.2.2 + * set 1.0.3 + * stringio 3.0.4 + * strscan 3.0.5 + * syntax_suggest 1.0.2 + * syslog 0.1.1 + * tempfile 0.1.3 + * time 0.2.1 + * timeout 0.3.1 + * tmpdir 0.1.3 + * tsort 0.1.1 + * un 0.2.1 + * uri 0.12.0 + * weakref 0.1.2 + * win32ole 1.8.9 + * yaml 0.2.1 + * zlib 3.0.0 + +* 更新了以下的 bundled gem。 + + * minitest 5.16.3 + * power_assert 2.0.3 + * test-unit 3.5.7 + * net-ftp 0.2.0 + * net-imap 0.3.3 + * net-pop 0.1.2 + * net-smtp 0.3.3 + * rbs 2.8.2 + * typeprof 0.21.3 + * debug 1.7.1 + +請參閱 GitHub 發布如 [GitHub Releases of Logger](https://github.com/ruby/logger/releases) 和變更紀錄來了解更多關於預設 gems 與 bundled gems 的資訊。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}) 來了解更多。 + +自 Ruby 3.1.0 以來,計 [{{ release.stats.files_changed }} 檔案變更, {{ release.stats.insertions }} 行新增 (+), {{ release.stats.deletions }} 行刪減 (-)](https://github.com/ruby/ruby/compare/v3_1_0...{{ release.tag }}#file_bucket)! + +聖誕快樂、佳節愉快,享受用 Ruby 3.2 寫程式的時光。 + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + +[Feature #12005]: https://bugs.ruby-lang.org/issues/12005 +[Feature #12084]: https://bugs.ruby-lang.org/issues/12084 +[Feature #12655]: https://bugs.ruby-lang.org/issues/12655 +[Feature #12737]: https://bugs.ruby-lang.org/issues/12737 +[Feature #13110]: https://bugs.ruby-lang.org/issues/13110 +[Feature #14332]: https://bugs.ruby-lang.org/issues/14332 +[Feature #15231]: https://bugs.ruby-lang.org/issues/15231 +[Feature #15357]: https://bugs.ruby-lang.org/issues/15357 +[Bug #15928]: https://bugs.ruby-lang.org/issues/15928 +[Feature #16122]: https://bugs.ruby-lang.org/issues/16122 +[Feature #16131]: https://bugs.ruby-lang.org/issues/16131 +[Bug #16466]: https://bugs.ruby-lang.org/issues/16466 +[Feature #16663]: https://bugs.ruby-lang.org/issues/16663 +[Feature #16806]: https://bugs.ruby-lang.org/issues/16806 +[Bug #16889]: https://bugs.ruby-lang.org/issues/16889 +[Bug #16908]: https://bugs.ruby-lang.org/issues/16908 +[Feature #16989]: https://bugs.ruby-lang.org/issues/16989 +[Feature #17351]: https://bugs.ruby-lang.org/issues/17351 +[Feature #17391]: https://bugs.ruby-lang.org/issues/17391 +[Bug #17545]: https://bugs.ruby-lang.org/issues/17545 +[Bug #17767]: https://bugs.ruby-lang.org/issues/17767 +[Feature #17837]: https://bugs.ruby-lang.org/issues/17837 +[Feature #17881]: https://bugs.ruby-lang.org/issues/17881 +[Feature #18033]: https://bugs.ruby-lang.org/issues/18033 +[Feature #18159]: https://bugs.ruby-lang.org/issues/18159 +[Feature #18239]: https://bugs.ruby-lang.org/issues/18239#note-17 +[Feature #18351]: https://bugs.ruby-lang.org/issues/18351 +[Feature #18367]: https://bugs.ruby-lang.org/issues/18367 +[Bug #18435]: https://bugs.ruby-lang.org/issues/18435 +[Feature #18462]: https://bugs.ruby-lang.org/issues/18462 +[Feature #18481]: https://bugs.ruby-lang.org/issues/18481 +[Bug #18487]: https://bugs.ruby-lang.org/issues/18487 +[Feature #18564]: https://bugs.ruby-lang.org/issues/18564 +[Feature #18571]: https://bugs.ruby-lang.org/issues/18571 +[Feature #18585]: https://bugs.ruby-lang.org/issues/18585 +[Feature #18589]: https://bugs.ruby-lang.org/issues/18589 +[Feature #18595]: https://bugs.ruby-lang.org/issues/18595 +[Feature #18598]: https://bugs.ruby-lang.org/issues/18598 +[Bug #18625]: https://bugs.ruby-lang.org/issues/18625 +[Feature #18630]: https://bugs.ruby-lang.org/issues/18630 +[Bug #18633]: https://bugs.ruby-lang.org/issues/18633 +[Feature #18639]: https://bugs.ruby-lang.org/issues/18639 +[Feature #18685]: https://bugs.ruby-lang.org/issues/18685 +[Bug #18729]: https://bugs.ruby-lang.org/issues/18729 +[Bug #18751]: https://bugs.ruby-lang.org/issues/18751 +[Feature #18774]: https://bugs.ruby-lang.org/issues/18774 +[Feature #18776]: https://bugs.ruby-lang.org/issues/18776 +[Bug #18782]: https://bugs.ruby-lang.org/issues/18782 +[Feature #18788]: https://bugs.ruby-lang.org/issues/18788 +[Feature #18798]: https://bugs.ruby-lang.org/issues/18798 +[Feature #18809]: https://bugs.ruby-lang.org/issues/18809 +[Feature #18821]: https://bugs.ruby-lang.org/issues/18821 +[Feature #18822]: https://bugs.ruby-lang.org/issues/18822 +[Feature #18824]: https://bugs.ruby-lang.org/issues/18824 +[Feature #18832]: https://bugs.ruby-lang.org/issues/18832 +[Feature #18875]: https://bugs.ruby-lang.org/issues/18875 +[Feature #18925]: https://bugs.ruby-lang.org/issues/18925 +[Feature #18944]: https://bugs.ruby-lang.org/issues/18944 +[Feature #18949]: https://bugs.ruby-lang.org/issues/18949 +[Feature #18968]: https://bugs.ruby-lang.org/issues/18968 +[Feature #19008]: https://bugs.ruby-lang.org/issues/19008 +[Feature #19013]: https://bugs.ruby-lang.org/issues/19013 +[Feature #19026]: https://bugs.ruby-lang.org/issues/19026 +[Feature #19036]: https://bugs.ruby-lang.org/issues/19036 +[Feature #19060]: https://bugs.ruby-lang.org/issues/19060 +[Feature #19070]: https://bugs.ruby-lang.org/issues/19070 +[Feature #19071]: https://bugs.ruby-lang.org/issues/19071 +[Feature #19078]: https://bugs.ruby-lang.org/issues/19078 +[Bug #19087]: https://bugs.ruby-lang.org/issues/19087 +[Bug #19100]: https://bugs.ruby-lang.org/issues/19100 +[Feature #19104]: https://bugs.ruby-lang.org/issues/19104 +[Feature #19135]: https://bugs.ruby-lang.org/issues/19135 +[Feature #19138]: https://bugs.ruby-lang.org/issues/19138 +[Feature #19194]: https://bugs.ruby-lang.org/issues/19194 +[Molinillo]: https://github.com/CocoaPods/Molinillo +[PubGrub]: https://github.com/jhawthorn/pub_grub +[GH-net-protocol-14]: https://github.com/ruby/net-protocol/pull/14 +[GH-pathname-20]: https://github.com/ruby/pathname/pull/20 +[GH-6791]: https://github.com/ruby/ruby/pull/6791 +[GH-6868]: https://github.com/ruby/ruby/pull/6868 +[GH-rubygems-4475]: https://github.com/rubygems/rubygems/pull/4475 +[GH-rubygems-6149]: https://github.com/rubygems/rubygems/pull/6149 +[GH-rubygems-6167]: https://github.com/rubygems/rubygems/pull/6167 +[sec-156615]: https://hackerone.com/reports/156615 +[CVE-2021-33621]: https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/ +[wasm/README.md]: https://github.com/ruby/ruby/blob/master/wasm/README.md +[ruby.wasm]: https://github.com/ruby/ruby.wasm From 7b77521ff0d5f034f9b8bec9bd81c047628aedfd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:50:34 +0000 Subject: [PATCH 2042/2563] Bump actions/checkout from 4.1.0 to 4.1.1 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c2888e6ea..b35ea25e53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 4ed1903330..71c47ea24d 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby uses: ruby/setup-ruby@5cfe23c062c0aac352e765b1b7cc12ea5255ccc4 # v1.156.0 with: From 29c99a9f8f201de0ceb68e0b0c721be15c12f963 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:50:31 +0000 Subject: [PATCH 2043/2563] Bump ruby/setup-ruby from 1.156.0 to 1.157.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.156.0 to 1.157.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/5cfe23c062c0aac352e765b1b7cc12ea5255ccc4...a05e47355e80e57b9a67566a813648fa67d92011) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b35ea25e53..535ab2f6b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@5cfe23c062c0aac352e765b1b7cc12ea5255ccc4 # v1.156.0 + uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011 # v1.157.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 71c47ea24d..206d136fbe 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@5cfe23c062c0aac352e765b1b7cc12ea5255ccc4 # v1.156.0 + uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011 # v1.157.0 with: ruby-version: '3.2' bundler-cache: true From 4fd552145bd3ef938f0e4a7340f875763d94e3a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:01:43 +0000 Subject: [PATCH 2044/2563] Bump ruby/setup-ruby from 1.157.0 to 1.159.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.157.0 to 1.159.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/a05e47355e80e57b9a67566a813648fa67d92011...54a18e26dbbb1eabc604f317ade9a5788dddef81) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 535ab2f6b8..805d8fda27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011 # v1.157.0 + uses: ruby/setup-ruby@54a18e26dbbb1eabc604f317ade9a5788dddef81 # v1.159.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 206d136fbe..34c1315c9a 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011 # v1.157.0 + uses: ruby/setup-ruby@54a18e26dbbb1eabc604f317ade9a5788dddef81 # v1.159.0 with: ruby-version: '3.2' bundler-cache: true From 339a90eae2bc991ce68d973a0885cabe6fe07364 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Tue, 10 Oct 2023 19:52:49 +0700 Subject: [PATCH 2045/2563] Fix translation of security page (id) --- id/security/index.md | 77 +++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 36 deletions(-) diff --git a/id/security/index.md b/id/security/index.md index c4915166a6..8305bd13ff 100644 --- a/id/security/index.md +++ b/id/security/index.md @@ -12,64 +12,69 @@ Di sini Anda akan menemukan informasi terkait isu-isu keamanan dari Ruby. Kerentanan keamanan pada bahasa pemrograman Ruby harus dilaporkan melalui [halaman bounty program di HackerOne](https://hackerone.com/ruby). -Mohon pastikan Anda membaca detail khusus seputar ruang lingkup dari -program kami sebelum melaporkan sebuah isu. Masalah sah yang dilaporkan -akan dipublikasikan setelah perbaikan. +Mohon pastikan Anda membaca detail seputar ruang lingkup dari +program ini sebelum melaporkan sebuah isu. Laporan yang valid +akan dipublikasikan setelah perbaikan dilakukan. -Jika Anda menemukan sebuah isu yang memengaruhi salah satu laman kami, mohon -laporkan [melalui GitHub](https://github.com/ruby/www.ruby-lang.org/issues/new). +Jika Anda menemukan sebuah isu yang berdampak pada salah satu laman kami, mohon +laporkan [melalui GitHub](https://github.com/ruby/www.ruby-lang.org/issues/new) +atau Anda dapat mengecek [Google Groups](https://groups.google.com/g/ruby-security-ann) +untuk pemberitahuan. -Jika Anda menemukan sebuah isu mengenai Ruby gem tertentu, ikuti +Jika Anda menemukan sebuah isu pada Ruby *gem* tertentu, ikuti [instruksi pada RubyGems.org](http://guides.rubygems.org/security/#reporting-security-vulnerabilities). -Jika Anda perlu terhubung dengan tim keamanan secara langsung di luar +Agar terhubung dengan tim keamanan secara langsung di luar HackerOne, Anda dapat mengirim surel ke security@ruby-lang.org -([PGP public key](/security.asc)), yang merupakan *mailing list* pribadi. +([PGP public key](/security.asc)), yang merupakan sebuah *mailing list* pribadi. -Anggota dari *mailing list* adalah orang-orang yang merawat Ruby -(Ruby *committers* dan *author* dari implementasi Ruby lainnya, +Anggota dari *mailing list* tersebut adalah orang-orang yang merawat Ruby +(Ruby *committer* dan *author* dari implementasi Ruby lainnya, distributor, dan PaaS *platformer*). +Anggota harus seorang individu, *mailing list* tidak diizinkan. ## Isu-isu yang diketahui -_See the [English page](/en/security/) for a complete and up-to-date -list of security vulnerabilities. -The following list only includes the as yet translated -security announcements, it might be incomplete or outdated._ +_Lihat [halaman bahasa Inggris](/en/security/) untuk daftar +kerentanan keamanan yang lengkap dan terbaru. +Daftar berikut hanya berisi pemberitahuan yang telah diterjemahkan, +mungkin tidak lengkap atau usang._ Berikut adalah isu-isu terkini: {% include security_posts.html %} -* [Kerentanan DoS Ekspansi Entity pada REXML (Bom XML, CVE-2013-1821)][3] - dipublikasikan pada 22 Feb, 2013. +dan isu lainnya: + +* [Kerentanan DoS Ekspansi Entity pada REXML (Bom XML, CVE-2013-1821)][1] + dipublikasikan pada 22 Februari 2013. * [Denial of Service dan Kerentanan Penciptaan Unsafe Object pada JSON - (CVE-2013-0269)][4] dipublikasikan pada 22 Feb, 2013. + (CVE-2013-0269)][2] dipublikasikan pada 22 Februari 2013. * [XSS exploit of RDoc documentation generated by rdoc - (CVE-2013-0256)][5] dipublikasikan pada 6 Feb, 2013. -* [Kerentanan DoS Hash-flooding untuk Ruby 1.9 (CVE-2012-5371)][6] - dipublikasikan pada 10 Nov, 2012. + (CVE-2013-0256)][3] dipublikasikan pada 6 Februari 2013. +* [Kerentanan DoS Hash-flooding untuk Ruby 1.9 (CVE-2012-5371)][4] + dipublikasikan pada 10 November 2012. * [Pembuatan File Tak Sengaja yang Disebabkan Memasukkan Karakter NUL Ilegal - (CVE-2012-4522)][7] dipublikasikan pada 12 Oct, 2012. + (CVE-2012-4522)][5] dipublikasikan pada 12 Oktober 2012. * [$SAFE escaping vulnerability about Exception#to\_s / NameError#to\_s - (CVE-2012-4464, CVE-2012-4466)][8] dipublikasikan pada 12 Oct, 2012. + (CVE-2012-4464, CVE-2012-4466)][6] dipublikasikan pada 12 Oktober 2012. * [Security Fix for RubyGems: SSL server verification failure for remote - repository][9] dipublikasikan pada 20 Apr, 2012. + repository][7] dipublikasikan pada 20 April 2012. * [Security Fix for Ruby OpenSSL module: Allow 0/n splitting as a - prevention for the TLS BEAST attack][10] dipublikasikan pada 16 Feb, 2012. + prevention for the TLS BEAST attack][8] dipublikasikan pada 16 Februari 2012. * [Serangan Denial of Service Ditemukan pada Algoritma Hash Ruby - (CVE-2011-4815)][11] dipublikasikan pada 28 Dec, 2011. + (CVE-2011-4815)][9] dipublikasikan pada 28 Desember 2011. -Untuk isu-isu sebelumnya lihat [halaman bahasa Inggris][12]. +Untuk isu-isu sebelumnya lihat [halaman bahasa Inggris][10]. -[3]: /id/news/2013/02/22/rexml-dos-2013-02-22/ -[4]: /id/news/2013/02/22/json-dos-cve-2013-0269/ -[5]: /id/news/2013/02/06/rdoc-xss-cve-2013-0256/ -[6]: /id/news/2012/11/09/ruby19-hashdos-cve-2012-5371/ -[7]: /id/news/2012/10/12/poisoned-NUL-byte-vulnerability/ -[8]: /id/news/2012/10/12/cve-2012-4464-cve-2012-4466/ -[9]: /id/news/2012/04/20/ruby-1-9-3-p194-is-released/ -[10]: /id/news/2012/02/16/security-fix-for-ruby-openssl-module/ -[11]: /id/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm-cve-2011-4815/ -[12]: /en/security/ +[1]: /id/news/2013/02/22/rexml-dos-2013-02-22/ +[2]: /id/news/2013/02/22/json-dos-cve-2013-0269/ +[3]: /id/news/2013/02/06/rdoc-xss-cve-2013-0256/ +[4]: /id/news/2012/11/09/ruby19-hashdos-cve-2012-5371/ +[5]: /id/news/2012/10/12/poisoned-NUL-byte-vulnerability/ +[6]: /id/news/2012/10/12/cve-2012-4464-cve-2012-4466/ +[7]: /id/news/2012/04/20/ruby-1-9-3-p194-is-released/ +[8]: /id/news/2012/02/16/security-fix-for-ruby-openssl-module/ +[9]: /id/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm-cve-2011-4815/ +[10]: /en/security/ From 1fa2dfe43325591ca44841de4387fc8da2456180 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 13 Sep 2023 20:14:10 +0700 Subject: [PATCH 2046/2563] Add Remote Ruby and Rooftop Ruby to the list of podcasts (id) --- id/community/podcasts/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/id/community/podcasts/index.md b/id/community/podcasts/index.md index e93ed3d6ef..1fab7ea77a 100644 --- a/id/community/podcasts/index.md +++ b/id/community/podcasts/index.md @@ -14,6 +14,14 @@ Dengarkan berita, wawancara, dan diskusi terkait Ruby dan komunitasnya. : Ruby on Rails Podcast, sebuah pembicaraan mingguan terkait Ruby on Rails, perangkat lunak *open source*, dan profesi pemrograman. +[Remote Ruby][remote_ruby] +: Pertemuan virtual berubah menjadi podcast, Remote Ruby menyelenggarakan dan + menyoroti komunitas Ruby secara informal. + +[Rooftop Ruby][rooftop_ruby] +: Collin and Joel mendiskusikan Ruby, pengembangan perangkat lunak, + *open source*, karier, dan masih banyak lagi bersama dengan tamu. + ### Ikut Berkontribusi *Podcast host* selalu mencari tamu. Jika Anda memiliki beberapa pengetahuan @@ -22,5 +30,7 @@ Ruby untuk dibagi, hubungi pembuat *podcast* tersebut. Anda juga dapat memulai *podcast* Ruby sendiri and menambahkan pada daftar berikut! +[rooftop_ruby]: https://www.rooftopruby.com +[remote_ruby]: https://remoteruby.transistor.fm/ [rorpodcast]: https://www.therubyonrailspodcast.com [rogues]: https://rubyrogues.com From 3a5646d3f687b1c71353a313e4dd7cb9c8496dea Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Sun, 12 Nov 2023 19:40:59 +0900 Subject: [PATCH 2047/2563] Ruby 3.3.0-preview3 Released (#3136) --- _data/downloads.yml | 2 +- _data/releases.yml | 29 ++ ...2023-11-12-ruby-3-3-0-preview3-released.md | 294 ++++++++++++++++++ ...2023-11-12-ruby-3-3-0-preview3-released.md | 283 +++++++++++++++++ 4 files changed, 607 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md create mode 100644 ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index d293a5b2f5..7f8885f6cb 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 3.3.0-preview2 + - 3.3.0-preview3 stable: diff --git a/_data/releases.yml b/_data/releases.yml index eff98f0329..7333cd8e25 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,35 @@ # 3.3 series +- version: 3.3.0-preview3 + date: 2023-11-12 + post: /en/news/2023/11/12/ruby-3-3-0-preview3-released/ + tag: v3_3_0_preview3 + stats: + files_changed: 5207 + insertions: 284820 + deletions: 174773 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview3.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview3.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-preview3.tar.xz + size: + gz: 21550473 + zip: 26618303 + xz: 15970144 + sha1: + gz: 2811f191d66dffee0206771873bd990857ae4ed6 + zip: 6a13e08c7e484d42037c1e2c87c5d0e220f893a0 + xz: 496600612605f8ebeb955255e98bac73a4cbc045 + sha256: + gz: 0969141be92e67e0edb84a8fb354acc98f01bd78e602a23a0f136045c82f4809 + zip: c35bf637a647c2f60148368ffb374db5c258570911794f46b6dfdb98ebfe95d9 + xz: f79afcf122dc7d04fe26cfa4436b9c488b21766fc54b0d2dfb2ba41cd0cdd355 + sha512: + gz: 94db07a6958c09809b2e5b597fa55a121074e8bacb3bf588c83cf0d35b07a8b070172035a49d1abf0d8ee364a9ace824f34e677f7327ffe1acdbab0938ac49c4 + zip: c4ef2cdcdadeb85ad1d42aedc97f9f3d609b3b01eea2319451cf92c81bd31ae8129b7c91fc68571469dd888c01ea0f48f73234b965db17f6a87404ca382f7794 + xz: d7ab0d703e7884efd31045933409cd68fac1d9941963537ccc8e309ca7c8bee8500a68182135acba22cbdbf4a8ae99f39bf7f0925273eb4fbc3728c0c1ba0c19 + - version: 3.3.0-preview2 date: 2023-09-14 post: /en/news/2023/09/14/ruby-3-3-0-preview2-released/ diff --git a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md new file mode 100644 index 0000000000..7a4c2d2a37 --- /dev/null +++ b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -0,0 +1,294 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview3 Released" +author: "naruse" +translator: +date: 2023-11-12 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} + +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new parser named Prism, uses Lrama as a parser generator, adds a new pure-Ruby JIT compiler named RJIT, and many performance improvements especially YJIT. + +## Prism + +* Introduced [the Prism parser](https://github.com/ruby/prism) as a default gem + * Prism is a portable, error tolerant, and maintainable recursive descent parser for the Ruby language +* Prism is production ready and actively maintained, you can use it in place of Ripper + * There is [extensive documentation](https://ruby.github.io/prism/) on how to use Prism + * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code + * Notable methods in the Prism API are: + * `Prism.parse(source)` which returns the AST as part of a ParseResult + * `Prism.dump(source, filepath)` which returns the serialized AST as a String + * `Prism.parse_comments(source)` which returns the comments +* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * Lrama internal parser is replaced with LR parser generated by Racc for maintainability + * Parameterizing Rules `(?, *, +)` are supported, it will be used in Ruby parse.y + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86-64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## YJIT + +* Major performance improvements over 3.2 + * Support for splat and rest arguments has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. + * Exception handlers are also compiled. + * Instance variables no longer exit to the interpreter + with megamorphic object shapes. + * Unsupported call types no longer exit to the interpreter. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` are specially optimized. + * Now more than 3x faster than the interpreter on optcarrot! +* Significantly improved memory usage over 3.2 + * Metadata for compiled code uses a lot less memory. + * Generate more compact code on ARM64 +* Compilation speed is now slightly faster than 3.2. +* Add `RubyVM::YJIT.enable` that can enable YJIT at run-time + * You can start YJIT without modifying command-line arguments or environment variables. + * This can also be used to enable YJIT only once your application is + done booting. `--yjit-disable` can be used if you want to use other + YJIT options while disabling YJIT at boot. +* Option to disable code GC and treat `--yjit-exec-mem-size` as a hard limit + * Can produce better copy-on-write behavior on servers using unicorn and forking +* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds, + a special stats or dev build is no longer required to access most stats. +* Exit tracing option now supports sampling + * `--trace-exits-sample-rate=N` +* `--yjit-perf` is added to facilitate profiling with Linux perf. +* More thorough testing and multiple bug fixes + +### M:N thread scheduler + +* M:N thread scheduler was introduced. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M Ruby threads are managed by N native threads (OS threads) so the thread creation and management cost are reduced. + * It can break C-extension compatibility so that M:N thread scheduler is disabled on the main Ractor by default. + * `RUBY_MN_THREADS=1` environment variable enables M:N threads on the main Ractor. + * M:N threads are enabled on non-main Ractors. + * `RUBY_MAX_CPU=n` environment variable sets maximum number of `N` (maximum number of native threads). The default value is 8. + * Since only one Ruby thread per Ractor can run at the same time, the number of native threads will be used, which is the smaller of the number specified in `RUBY_MAX_CPU` and the number of running Ractors. So that single Ractor applications (most of applications) will use 1 native thread. + * To support blocking operations, more than `N` native threads can be used. + +## Other Notable New Features + + + +### Language + + + +## Performance improvements + +* `defined?(@ivar)` is optimized with Object Shapes. +* Name resolution such as `Socket.getaddrinfo` can now be interrupted (in environments where pthreads are available). [Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * For this purpose, a pthread is now created whenever calling getaddrinfo or getnameinfo. This incurs some overhead in name resolution (about 2.5x in our experiments). We do not expect the name resolution overhead to be a problem for most applications, but if you observe such, or if you see unexpected affects that you believe are due to this change, please report them. +* Environment variable `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` has been added. [Feature #19571](https://bugs.ruby-lang.org/issues/19571) +* Children of old objects are no longer immedately promoted to the old generation in the garbage collector. [Feature #19678](https://bugs.ruby-lang.org/issues/19678) +* Support for weak references has been added to the garbage collector. [Feature #19783](https://bugs.ruby-lang.org/issues/19783) + +## Other notable changes since 3.2 + +### IRB + +IRB has received several enhancements, including but not limited to: + +- Advanced `irb:rdbg` integration that provides an equivalent debugging experience to `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Pager support for `ls`, `show_source` and `show_cmds` commands. +- More accurate and helpful information provided by the `ls` and `show_source` commands. +- Experimental autocompletion using type analysis ([doc](https://github.com/ruby/irb#type-based-completion)). +- It is now possible to change the font color and font style in the completion dialog by a newly introduced class Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +In addition, IRB has also undergone extensive refactoring and received dozens of bug fixes to facilitate easier future enhancements. + +## Compatibility issues + +Note: Excluding feature bug fixes. + +### Removed constants + +The following deprecated constants are removed. + + + +### Removed methods + +The following deprecated methods are removed. + +### Removed environment variables + +The following deprecated methods are removed. + +* Environment variable `RUBY_GC_HEAP_INIT_SLOTS` has been deprecated and is a no-op. Please use environment variables `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` instead. [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib compatibility issues + +### `ext/readline` is retired + +* We have `reline` that is pure Ruby implementation compatible with `ext/readline` API. We rely on `reline` in the future. If you need to use `ext/readline`, you can install `ext/readline` via rubygems.org with `gem install readline-ext`. +* We no longer need to install libraries like `libreadline` or `libedit`. + +## C API updates + +### Updated C APIs + +The following APIs are updated. + + + +### Removed C APIs + +The following deprecated APIs are removed. + + + +## Standard library updates + +RubyGems and Bundler warn if users require gem that is scheduled to become the bundled gems in the future version of Ruby. + +Targeted libraries are: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +The following default gem is added. + +* prism 0.15.1 + +The following default gems are updated. + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +The following bundled gem is promoted from default gems. + +* racc 1.7.3 + +The following bundled gems are updated. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or +changelog for details of the default gems or bundled gems. + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +since Ruby 3.2.0! + + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. diff --git a/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md new file mode 100644 index 0000000000..b47b945c68 --- /dev/null +++ b/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -0,0 +1,283 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview3 リリース" +author: "naruse" +translator: +date: 2023-11-12 00:00:00 +0000 +lang: ja +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} + +Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismという新しいパーサーの追加、新しいパーサージェネレーターであるLramaによるBisonの置き換え、RJITという新たなJITの仕組みを追加、YJITの高速化など様々な改善が行われています。 + +## Prism + +* Introduced [the Prism parser](https://github.com/ruby/prism) as a default gem + * Prism is a portable, error tolerant, and maintainable recursive descent parser for the Ruby language +* Prism is production ready and actively maintained, you can use it in place of Ripper + * There is [extensive documentation](https://ruby.github.io/prism/) on how to use Prism + * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code + * Notable methods in the Prism API are: + * `Prism.parse(source)` which returns the AST as part of a ParseResult + * `Prism.dump(source, filepath)` which returns the serialized AST as a String + * `Prism.parse_comments(source)` which returns the comments +* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637] + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * See also: [Ruby Parser開発日誌 (5) - Lrama LALR (1) parser generatorを実装した](https://yui-knk.hatenablog.com/entry/2023/03/13/101951) + * Lrama internal parser is replaced with LR parser generated by Racc for maintainability + * Parameterizing Rules `(?, *, +)` are supported, it will be used in Ruby parse.y + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86\_64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## YJIT + +* Major performance improvements over 3.2 + * Support for splat and rest arguments has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. + * Exception handlers are also compiled. + * Instance variables no longer exit to the interpreter + with megamorphic object shapes. + * Unsupported call types no longer exit to the interpreter. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` are specially optimized. + * Now more than 3x faster than the interpreter on optcarrot! +* Significantly improved memory usage over 3.2 + * Metadata for compiled code uses a lot less memory. + * Generate more compact code on ARM64 +* Compilation speed is now slightly faster than 3.2. +* Add `RubyVM::YJIT.enable` that can enable YJIT later + * You can start YJIT without modifying command-line arguments or environment variables. + * This can also be used to enable YJIT only once your application is + done booting. `--yjit-disable` can be used if you want to use other + YJIT options while disabling YJIT at boot. +* Option to disable code GC and treat `--yjit-exec-mem-size` as a hard limit + * Can produce better copy-on-write behavior on servers using unicorn and forking +* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds, + a special stats or dev build is no longer required to access most stats. +* Exit tracing option now supports sampling + * `--trace-exits-sample-rate=N` +* `--yjit-perf` is added to facilitate profiling with Linux perf. +* More thorough testing and multiple bug fixes + +### M:N スレッドスケジューラ + +* M:N スレッドスケジューラが導入されました。[[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M個のRuby スレッドを、N個のネイティブスレッド(OSスレッド)で管理するので、生成管理のコストを抑えることができるようになりました。 + * C拡張ライブラリの互換性に問題が生じる可能性があるため、メインRactorでのM:Nスレッドスケジューラはデフォルトでは無効にされています。 + * `RUBY_MN_THREADS=1` と環境変数を設定することで、メインRactorでM:Nスレッドスケジューラを有効にします。 + * メインRactor以外ではM:Nスレッドスケジューラが有効です。 + * `RUBY_MAX_CPU=n` と環境変数を設定することで、Nの最大数(利用するネイティブスレッドの最大数)を設定できます。デフォルトは8です。 + * 一つの Ractor ではたかだか1つのスレッドしか同時に実行されないので、実際に利用するネイティブスレッド数は、`RUBY_MAX_CPU`で指定した数か実行中のRactorの数の少ないほうになります。つまり、Ractorの数が1つのアプリケーション(多くのアプリケーション)では1つのネイティブスレッドだけ利用されます。 + * ブロックする処理をサポートするため、N個以上のネイティブスレッドが利用されることがあります。 + +## その他の主要な新機能 + +### 言語機能 + + +## パフォーマンスの改善 + +* `Socket.getaddrinfo` などの名前解決を中断できるようになりました (pthread が利用できる環境で)。[Feature 19965](https://bugs.ruby-lang.org/issues/19965) + * このために、getaddrinfo や getnameinfo を呼び出すたびに pthread が生成されるようになりました。名前解決に若干のオーバーヘッドが発生します(実験では約2.5倍)。ほとんどのアプリケーションで名前解決のオーバーヘッドが問題になるとは考えていませんが、もしそのような現象が見られたり、この変更が原因と思われる予期せぬ影響が見られた場合は、ぜひ報告してください。 +* 環境変数 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` が追加されました。[Feature #19571](https://bugs.ruby-lang.org/issues/19571) +* GCで古いオブジェクトの子オブジェクトがすぐにプロモートされなくなりました。[Feature #19678](https://bugs.ruby-lang.org/issues/19678) +* GCに弱参照が追加されました。[Feature #19783](https://bugs.ruby-lang.org/issues/19783) + +## その他の注目すべき 3.2 からの変更点 + +### IRB + +IRBは様々な機能強化を行いました。主なものは以下の通りです。 + +* IRBとrdbgの連携 pry-byebugのような使い心地でデバッグできるようになりました。([使い方](https://github.com/ruby/irb#debugging-with-irb)) +* lsコマンドやshow_cmdsの出力がPagerで表示されるようになりました。 +* lsコマンドやshow_sourceコマンドがより便利で詳細な情報を出力するようになりました。 +* 型情報を使った補完が実験的に実装されました。([有効化するには](https://github.com/ruby/irb#type-based-completion)) +* Reline::Faceクラスの導入により、補完ダイアログの色や文字装飾を変更できるようになりました。([使い方](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +また、機能強化以外にも、数多くのバグ修正および将来的な機能拡張を見越した大規模なリファクタリングを行ないました。 + + +## 互換性に関する変更 + +### 定数の削除 + +以下の非推奨定数は削除されました + + +### メソッドの削除 + +以下の非推奨のメソッドは削除されました + +### 環境変数の削除 + +以下の非推奨の環境変数は削除されました + +* 環境変数 `RUBY_GC_HEAP_INIT_SLOTS` は非推奨になり、何もしなくなりました。環境変数 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` を使ってください。[Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## 標準添付ライブラリの互換性に関する変更 + +### `ext/readline` の削除 + +* 今後は Ruby で書かれた GNU Readline の互換ライブラリである `reline` をすべての環境で標準で利用し、`ext/readline` は削除されました。以前の `ext/readline` が必要なユーザーは `gem install readline-ext` でインストールすることができます。 +* この変更により、Ruby のインストール時に `libreadline` や `libedit` などのライブラリのインストールは不要となります。 + +## C API の変更 + +### C API の更新 + +以下の API が更新されました + +### C API の削除 + +以下の非推奨の API は削除されました + + +## 標準添付ライブラリのアップデート + +RubyGems と Bundler は将来リリースされる Ruby で bundled gems となる予定の gem が require された際に警告を行う機能が追加されました。 + +以下のライブラリが対象となります。 + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + + +以下の default gem が追加されました。 + +* prism 0.15.1 + +以下の default gems のバージョンがアップデートされました。 + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + + +新たに以下の gem が default gems から bundled gems に変更されました。 + +* racc 1.7.3 + +以下の bundled gems のバージョンがアップデートされました。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +default gems と bundled gems の詳細については [Logger の GitHub Releases](https://github.com/ruby/logger/releases) のような GitHub releases または changelog ファイルを参照してください。 + + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})を参照してください。 + +なお、こうした変更により、Ruby 3.2.0 以降では [{{ release.stats.files_changed }} 個のファイルに変更が加えられ、{{ release.stats.insertions }} 行の追加と {{ release.stats.deletions }} 行の削除が行われました](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) ! + + +## ダウンロード + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby とは + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 From 5d7783a457cfa2edf8a5c0c5c03e050555f59d6c Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Sun, 12 Nov 2023 19:53:58 +0900 Subject: [PATCH 2048/2563] Remove blankline to show summary of the article on top page --- en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 1 - ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 1 - 2 files changed, 2 deletions(-) diff --git a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 7a4c2d2a37..e3c9b6a4a1 100644 --- a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -8,7 +8,6 @@ lang: en --- {% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} - We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new parser named Prism, uses Lrama as a parser generator, adds a new pure-Ruby JIT compiler named RJIT, and many performance improvements especially YJIT. ## Prism diff --git a/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index b47b945c68..4a8b7d5bbb 100644 --- a/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -8,7 +8,6 @@ lang: ja --- {% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} - Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismという新しいパーサーの追加、新しいパーサージェネレーターであるLramaによるBisonの置き換え、RJITという新たなJITの仕組みを追加、YJITの高速化など様々な改善が行われています。 ## Prism From b6bb22f9ad6bc011b6b77cbcc6455125ce873964 Mon Sep 17 00:00:00 2001 From: gaojun Date: Mon, 13 Nov 2023 22:59:04 +0800 Subject: [PATCH 2049/2563] Translate Ruby 3.3.0-preview3 Released (zh_cn) --- ...2023-11-12-ruby-3-3-0-preview3-released.md | 283 ++++++++++++++++++ 1 file changed, 283 insertions(+) create mode 100644 zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md diff --git a/zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md new file mode 100644 index 0000000000..2513b1fca0 --- /dev/null +++ b/zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -0,0 +1,283 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview3 已发布" +author: "naruse" +translator: +date: 2023-11-12 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} +我们很高兴地宣布 Ruby {{ release.version }} 发布。 +Ruby 3.3 新增了 Prism 解析器,使用 Lrama 作为解析生成器,新增了纯 Ruby 实现的 JIT 编译器 RJIT,另有许多性能改进,尤其是 YJIT。 + +## Prism + +* 引入 [Prism 解析器](https://github.com/ruby/prism) 为默认 gem + * Prism 是一个可移植、容错且可维护的 Ruby 语言递归下降解析器 +* Prism 已可用于生产环境,并得到了积极维护,您可以使用它来代替 Ripper + * 有关于如何使用 Prism 的 [详细文档](https://ruby.github.io/prism/) + * Prism 既是 CRuby 内部使用的 C 库,也是任何需要解析 Ruby 代码的工具可以使用的 Ruby gem + * Prism API 中值得注意的方法有: + * `Prism.parse(source)` 返回 AST 作为 ParseResult 的一部分 + * `Prism.dump(source, filepath)` 将序列化的 AST 以字符串形式返回 + * `Prism.parse_comments(source)` 返回注释 +* 如果您有兴趣贡献,可以直接在 [Prism 代码库](https://github.com/ruby/prism) 上提出拉取请求或报告问题 + +## 使用 Lrama 替代 Bison + +* 使用 [Lrama LALR 解析生成器](https://github.com/yui-knk/lrama) 替换 Bison [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * 如果您有兴趣,请参阅 [Ruby 解析器的未来愿景](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * Lrama 内部解析器被 Racc 生成的 LR 解析器替换,以便于维护 + * 已支持参数化规则 `(?, *, +)` ,将被用于 Ruby parse.y 中 + +## RJIT + +* 引入了纯 Ruby 的 JIT 编译器 RJIT 并替代 MJIT。 + * RJIT 仅支持 x86\_64 架构上的 Unix 平台。 + * 不同于 MJIT,RJIT在运行时不需要 C 编译器。 +* RJIT 目前仅用于实验目的。 + * 您在生产环境中应当继续使用 YJIT。 +* 如果您有兴趣为 Ruby 开发 JIT,请查看 [k0kubun 在 RubyKaigi 第 3 天 中的演讲](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## YJIT + +* 相对于 3.2 的主要性能提升 + * 改进了 splat 和 rest 参数支持。 + * 虚拟机的栈操作分配了寄存器。 + * 更多带有可选参数的调用被编译。 + * 错误处理也被编译。 + * 拥有复杂对象形状的实例变量不再退出到解释器执行。 + * 不支持的调用类型不再退出到解释器执行。 + * 特别优化了 `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===`。 + * 目前比 optcarrot 的解释器快 3 倍以上! +* 内存利用率相交 3.2 有显著提升 + * 编译代码使用的元数据使用更少的内存。 + * 在 ARM64 中的生成更紧凑的代码。 +* 编译速度现在略快于 3.2。 +* 新增 `RubyVM::YJIT.enable` 可以在运行时启用 YJIT + * 您可以在不修改命令行参数或环境变量的情况下启用 YJIT。 + * 这也可以用于在应用程序启动完成后,仅启用 YJIT 一次。当您在启动程序时禁用了 YJIT ,您可以通过 `--yjit-disable` 来使用其他 YJIT 选项。 +* 提供了禁用代码 GC 的选项,并视 `--yjit-exec-mem-size` 为硬限制。 + * 可以在使用 unicorn 和进程 forking 的服务器上产生更好的写时复制行为。 +* 发布版本中,现在可以用到通过 `--yjit-stats` 产生的 `ratio_in_yjit` 统计信息,不再需要特殊的统计信息或开发版本。 +* 退出跟踪选项现在支持采样 + * `--trace-exits-sample-rate=N` +* 新增 `--yjit-perf` 以便于利用 Linux perf 进行性能分析。 +* 更彻底的测试及多个错误修复 + +### M:N 线程调度器 + +* 引入了 M:N 线程调度器。[[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M 个 Ruby 线程由 N 个原生线程(OS 线程)管理,从而降低线程创建和管理成本。 + * 由于可能会破坏 C 扩展的兼容性,因此在默认情况下,主 Ractor 上禁用 M:N 线程调度器。 + * 可通过环境变量 `RUBY_MN_THREADS=1` 在主 Ractor 上启用 M:N 线程。 + * 非主 Ractor 上启用 M:N 线程。 + * 可通过环境变量 `RUBY_MAX_CPU=n` 设置 `N` 的最大值(原生线程的最大数量)。默认值为 8。 + * 由于每个 Ractor 中只能同时运行一个 Ruby 线程,因此将使用原生线程的数量,即 `RUBY_MAX_CPU` 和运行中的 Ractor 数量中较小的值。因此单 Ractor 应用程序(大多数应用程序)将使用 1 个原生线程。 + * 为了支持阻塞操作,可以使用多于 `N` 个原生线程。 + +## 其他值得关注的新功能 + + + +### 语言 + + + +## 性能提升 + +* 根据对象形状,优化 `defined?(@ivar)`。 +* 诸如 `Socket.getaddrinfo` 的域名解析现在可以被中断(在 pthreads 可用的环境中)。[Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * 为此,现在每当调用 getaddrinfo 或 getnameinfo 时都会创建一个 pthread。 这会在域名解析中产生一些开销(在我们的实验中约为 2.5 倍)。 我们预计域名解析开销不会成为大多数应用程序的问题,但如果您观察到这种情况,或者您认为此更改造成了意外的影响,请向我们报告。 +* 新增环境变量 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` 。 [Feature #19571](https://bugs.ruby-lang.org/issues/19571) +* 旧对象的子对象不再立即提升到垃圾收集器中的老一代。 [功能 #19678](https://bugs.ruby-lang.org/issues/19678) +* 垃圾收集器中添加了对弱引用的支持。 [功能 #19783](https://bugs.ruby-lang.org/issues/19783) + +## 自 3.2 以来,其他值得注意的变化 + +### IRB + +IRB 进行了多项增强功能,包括但不限于: + +- 高级 `irb:rdbg` 集成,提供了类似 `pry-byebug` 的调试体验([文档](https://github.com/ruby/irb#debugging-with-irb))。 +- 为 `ls` 和 `show_cmds` 这样的方法提供分页支持。 +- 为 `ls` 和 `show_source` 方法提供更准确更有用的信息。 +- 实验性的基于类型分析的自动补全功能([文档](https://github.com/ruby/irb#type-based-completion))。 +- 现在可以通过新引入的类 Reline::Face 来更改自动补全对话框中的字体颜色和字体样式([文档](https://github.com/ruby/ruby/blob/master/doc/reline/face.md))。 + +另外,IRB 还进行了广泛的重构,修复了数十个错误,以便未来的增强。 + +## 兼容性问题 + +注意:不包括 bug 修复。 + +### 移除的常量 + +移除了以下已废弃的常量。 + +### 移除的方法 + +移除了以下已废除的方法。 + +### 移除的环境变量 + +下列废弃方法被移除 + +* 环境变量 `RUBY_GC_HEAP_INIT_SLOTS` 被废弃,并不再产生实际作用。请使用环境变量 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` 进行替代。 [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 兼容性问题 + +### `ext/readline` 已退役 + +* 我们有了纯 Ruby 实现的 `reline`,兼容 `ext/readline` API。未来我们将依赖 `reline`。如果您需要使用 `ext/readline`,可以通过 rubygems.org 进行安装 `gem install readline-ext`。 +* 我们不再需要安装类似 `libreadline` 或 `libedit` 这样的库了。 + +## C API 更新 + +### 更新的 C API + +更新了以下 API。 + + + +### 已移除的 C API + +移除了以下废弃的 API。 + + + +## 标准库更新 + +当用户 require 在将来 Ruby 版本中成为绑定 gem 的库时,RubyGems 和 Bundler 会发出警告。 + +这些库包括: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +新增以下默认 gem。 + +* prism 0.15.1 + +更新了以下默认 gems。 + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +以下默认 gem 成为绑定 gem + +* racc 1.7.3 + +更新了以下绑定 gems。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +有关默认 gems 和 绑定 gems 的细节,可以参考 GitHub 上的发布,例如 [logger gem](https://github.com/ruby/logger/releases) 或相应的变更日志。 + +更多详情,可参见 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +或 [提交日志](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})。 + +自 Ruby 3.2.0 以来,[{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+), 删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)! + + +## 下载 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 什么是 Ruby + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发,现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是Web开发领域。 From 01cec18ad0c4da975c6ce8a3076d549ae966a7f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:50:01 +0000 Subject: [PATCH 2050/2563] Bump ruby/setup-ruby from 1.159.0 to 1.161.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.159.0 to 1.161.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/54a18e26dbbb1eabc604f317ade9a5788dddef81...8575951200e472d5f2d95c625da0c7bec8217c42) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 805d8fda27..a678cb132a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@54a18e26dbbb1eabc604f317ade9a5788dddef81 # v1.159.0 + uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 34c1315c9a..e903d81c62 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@54a18e26dbbb1eabc604f317ade9a5788dddef81 # v1.159.0 + uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 with: ruby-version: '3.2' bundler-cache: true From 7b46194fd68e88f014ef4d6792ad80698b908628 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 14 Nov 2023 23:12:43 +0900 Subject: [PATCH 2051/2563] Fix typo on Ruby 3.3.0-preview3 Released --- en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index e3c9b6a4a1..9a61525deb 100644 --- a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -128,7 +128,7 @@ The following deprecated methods are removed. ### Removed environment variables -The following deprecated methods are removed. +The following deprecated environment variables are removed. * Environment variable `RUBY_GC_HEAP_INIT_SLOTS` has been deprecated and is a no-op. Please use environment variables `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` instead. [Feature #19785](https://bugs.ruby-lang.org/issues/19785) From c7b11f65da144f7614af5159d71e8aa9d123b7af Mon Sep 17 00:00:00 2001 From: gaojun Date: Wed, 15 Nov 2023 12:18:39 +0800 Subject: [PATCH 2052/2563] Translate downloads/{branches,releases}/index.md (zh_cn) --- zh_cn/downloads/branches/index.md | 35 +++++++++++++++++++++++++++++++ zh_cn/downloads/index.md | 4 ++-- zh_cn/downloads/releases/index.md | 33 +++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 zh_cn/downloads/branches/index.md create mode 100644 zh_cn/downloads/releases/index.md diff --git a/zh_cn/downloads/branches/index.md b/zh_cn/downloads/branches/index.md new file mode 100644 index 0000000000..001b103aa9 --- /dev/null +++ b/zh_cn/downloads/branches/index.md @@ -0,0 +1,35 @@ +--- +layout: page +title: "Ruby 维护分支" +lang: zh_cn +--- + +本页面列出了当前各个 Ruby 分支的维护情况。 +{: .summary} + +对于特定版本的详细信息,可以参考 +[版本页面](../releases/). + +这是 Ruby 分支及其维护状态的初步列表。 +显示的日期基于 版本发布 或 EOL声明 新闻的发布时间。 + +Ruby 分支或版本 分为以下集中状态: + +* **正常维护** (错误修复): + 能得到一般错误修复和安全修复。 +* **安全维护** (security fix): + 只有安全修复会向后移植。 +* **eol** (生命周期终止): + Ruby 核心团队不再进行支持,不会得到任何修复。也不会发布新的补丁版本。 + +{% include branches-timeline.html %} + +{% for branch in site.data.branches %} +### Ruby {{ branch.name }} + +状态: {{ branch.status }}
+发布日期: {{ branch.date }}
+正常维护期至: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}未定{% endif %}
+生命周期终止: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }} (预计){% else %}未定{% endif %}{% endif %} + +{% endfor %} diff --git a/zh_cn/downloads/index.md b/zh_cn/downloads/index.md index 2b3d99ff58..7a9d17412c 100644 --- a/zh_cn/downloads/index.md +++ b/zh_cn/downloads/index.md @@ -63,8 +63,8 @@ Ruby 源代码可从世界各地的[镜像站][mirrors]获得。请尝试离您 [license]: {{ site.license.url }} [installation]: /zh_cn/documentation/installation/ -[releases]: /en/downloads/releases/ -[branches]: /en/downloads/branches/ +[releases]: /zh_cn/downloads/releases/ +[branches]: /zh_cn/downloads/branches/ [mirrors]: /en/downloads/mirrors/ [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv diff --git a/zh_cn/downloads/releases/index.md b/zh_cn/downloads/releases/index.md new file mode 100644 index 0000000000..7cfc5e2fa9 --- /dev/null +++ b/zh_cn/downloads/releases/index.md @@ -0,0 +1,33 @@ +--- +layout: page +title: "Ruby 版本" +lang: zh_cn +--- + +本页面列出了各个 Ruby 发布版本。 +{: .summary} + +如需了解 Ruby 各版本的当前维护状态,可以参见 +[分支页面](../branches/). + +### Ruby 版本列表 + +下表列出了各 Ruby 发布版本。 +其中显示的日期基于对应新闻的发布日期,可能与源代码包的实际创建时间有所差别。 + + + + + + + + +{% assign releases = site.data.releases | reverse | sort: "date" | reverse %} +{% for release in releases %} + + + + + +{% endfor %} +
发布版本发布日期下载地址发布文档
Ruby {{ release.version }}{{ release.date }}下载查看…
From ceb21fe265d44858ae020b276e945f34696c1544 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 15 Nov 2023 10:32:40 +0800 Subject: [PATCH 2053/2563] Translate Ruby 3.3.0 preview3 released news post (zh_tw) Closes #3142 --- ...2023-11-12-ruby-3-3-0-preview3-released.md | 284 ++++++++++++++++++ 1 file changed, 284 insertions(+) create mode 100644 zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md diff --git a/zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md new file mode 100644 index 0000000000..f9d6e0c6d4 --- /dev/null +++ b/zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -0,0 +1,284 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview3 發布" +author: "naruse" +translator: "Bear Su" +date: 2023-11-12 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} +我們很高興宣布 Ruby {{ release.version }} 發佈了。 Ruby 3.3 新增了名為 Prism 的 Parser,使用了 Lrama 做為 Parser 產生器,新增了名為 RJIT,純 Ruby 開發的 JIT 編譯器,以及更多效能提升,尤其是 YJIT。 + +## Prism + +* 導入 [the Prism parser](https://github.com/ruby/prism) 為預設 gem。 + * Prism 是可移植、可容錯、且可維護的 Ruby 語言遞迴下降解析器。 +* Prism 已可用於生產環境,並積極維護,您可以用來替代 Ripper。 + * 有關如何使用 Prism 的 [詳細文件](https://ruby.github.io/prism/)。 + * Prism 是 CRuby 內部使用的 C 函式庫,同時也是任何需要解析 Ruby 程式碼的工具鏈可以使用的 Ruby gem。 + * Prism API 中值得注意的方法為: + * `Prism.parse(source)` 回傳 AST 作為 ParseResult 的一部分。 + * `Prism.dump(source, filepath)` 回傳字串型別的序列化的 AST。 + * `Prism.parse_comments(source)` 回傳註解。 +* 如果您有興趣貢獻,您可以直接在 [the Prism repository](https://github.com/ruby/prism) 上建立 pull requests 或 issues。 + +## 使用 Lrama 取代 Bison + +* 使用 [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) 取代 Bison。 + * 如果您感興趣,請參閱 [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html)。 + * 為了維護性,Lrama internal parser 改用 Racc 產生的 LR parser。 + * 支援 Parameterizing Rules `(?, *, +)`,能夠在 Ruby parse.y 中被使用。 + +## RJIT + +* 導入純 Ruby 開發的 JIT 編譯器 RJIT 並取代 MJIT。 + * RJIT 僅支援 x86\_64 架構的 Unix 平台。 + * 不同於 MJIT,RJIT 在執行時不需要 C 編譯器。 +* RJIT 目前還在實驗階段。 + * 您在生產環境應繼續使用 YJIT。 +* 如果您有興趣為 Ruby 開發 JIT,請參閱 [k0kubun's 在 RubyKaigi 第 3 天的演講](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## YJIT + +* 自 3.2 主要效能提升 + * 改善 splat 和 rest arguments 的支援。 + * 虛擬機器分配了暫存器,用於堆疊操作。 + * 更多帶有可選參數的呼叫會被編譯。 + * 錯誤處理也會被編譯。 + * Megamorphic Object Shapes 的實體變數不再返回給直譯器。 + * 不支援的呼叫類型不再返回給直譯器。 + * 特別改善了 `Integer#!=`、`String#!=`、`Kernel#block_given?`、`Kernel#is_a?`、 + `Kernel#instance_of?`、`Module#===`。 + * 目前比 optcarrot 的直譯器快上 3 倍! +* 自 3.2 以來顯著提高了記憶體使用率 + * 已編譯的程式碼的 Metadata 使用更少的記憶體。 + * 在 ARM64 產生更緊湊的程式碼。 +* 編譯速度比 3.2 稍快一些。 +* 新增 `RubyVM::YJIT.enable`,可以在 run-time 中啟用 YJIT。 + * 您可以在不修改指令列參數或環境變數的情況下啟動 YJIT。 + * 可用於僅在您的應用程式完成啟動後啟用 YJIT。 如果您在啟動程式時停用了 YJIT,可以使用 `--yjit-disable` 來使用其他 YJIT 選項。 +* 提供了停用程式碼 GC 的選項,並使用 `--yjit-exec-mem-size` 設定硬限制。 + * 可以在使用 unicorn 和 forking 的伺服器上產生更好的 copy-on-write 行為。 +* 發布版本現在提供透過 `--yjit-stats` 產生的 `ratio_in_yjit` 統計資訊,不再需要特殊的統計資訊或是開發版本。 +* Exit tracing 選項現在支援抽樣 + * `--trace-exits-sample-rate=N` +* 新增 `--yjit-perf` 以便於使用 Linux perf 進行性能分析。 +* 更多測試與錯誤修復 + +### M:N thread scheduler + +* 導入 M:N thread scheduler。 [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M 個 Ruby 執行緒由 N 個原生執行緒(OS 執行緒)管理,所以能減少執行緒建立與管理的成本。 + * 由於會破壞 C-extension 的相容性,所以預設在主 Ractor 上停用 M:N thread scheduler。 + * 透過 `RUBY_MN_THREADS=1` 環境變數在主 Ractor 啟用 M:N threads。 + * 在非主 Ractors 上啟用 M:N threads。 + * 可使用 `RUBY_MAX_CPU=n` 環境變數設定 `N` 的最大值 (原生執行緒的最大數量)。預設值為 8。 + * 由於每一個 Ractor 同時只能執行一個 Ruby 執行緒,所以將使用原生執行緒的數量,即 `RUBY_MAX_CPU` 和執行 Ractor 數量中較小的值,因此單一 Ractor 應用程式 (大多數應用程式) 會使用一個原生執行緒。 + * 為支援阻塞操作,可以使用多餘 `N` 個原生執行緒。 + +## 其他值得注意的新功能 + + + +### 語言功能 + + + +## 效能提升 + +* `defined?(@ivar)` 透過 Object Shapes 提升效能。 +* 像是 `Socket.getaddrinfo` 的域名解析現在可以被中斷 (在可用 pthreads 的環境下)。 [Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * 為此,現在每當呼叫 getaddrinfo 或 getnameinfo 時都會建立一個 pthread。這會在域名解析中產生一些開銷 (在我們的實驗中約 2.5 倍)。我們預期域名解析的開銷不會對大多數應用程式造成問題,如果您相信您因為此變更收到非預期的影響,請向我們回報。 +* 新增環境變數 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO`。 [Feature #19571](https://bugs.ruby-lang.org/issues/19571) +* 舊物件的子物件不再立即提升為垃圾收集器中的舊世代。 [Feature #19678](https://bugs.ruby-lang.org/issues/19678) +* 垃圾收集器加入弱參考的支援。 [Feature #19783](https://bugs.ruby-lang.org/issues/19783) + +## 自 3.2 以來其他值得注意的變更 + +### IRB + +IRB 進行了數項改善,包括但不限於: + +- 加強 `irb:rdbg` 整合以提供與 `pry-byebug` 相同的除錯體驗 ([文件](https://github.com/ruby/irb#debugging-with-irb))。 +- Pager 支援指令,例如 `ls` 和 `show_cmds`。 +- `ls` 和 `show_source` 指令提供了更準確和有幫助的資訊。 +- 使用 type 分析的實驗係自動補齊 ([doc](https://github.com/ruby/irb#type-based-completion))。 +- 透過新導入的類別 Reline::Face,可以更改補齊視窗中的字體顏色與字體樣式 ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md))。 + +此外,IRB 還進行了大量重構和修復了許多錯誤,以方便未來強化功能。 + +## 相容性問題 + +注意:不包含功能問題的修正。 + +### 被移除的常數 + +下列廢棄的常數已被移除。 + + + +### 被移除的方法 + +下列廢棄的方法已被移除。 + +### 被移除的環境變數 + +下列廢棄的環境變數已被移除。 + +* 環境變數 `RUBY_GC_HEAP_INIT_SLOTS` 已經被廢棄且無法使用。請使用環境變數 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` 作為替代。 [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 相容性問題 + +### `ext/readline` 已被淘汰 + +* 我們使用純 Ruby 實作並相容於 `ext/readline` API 的 `reline`。未來我們將依賴 `reline`。如果您需要使用 `ext/readline`,您可以使用 `gem install readline-ext` 透過 rubygems.org 安裝 `ext/readline`。 +* 我們將不再需要安裝函式庫例如 `libreadline` 或 `libedit`。 + +## C API updates + +### 更新的 C APIs + +下列的 APIs 已被更新。 + + + +### 被移除的 C APIs + +下列廢棄的 APIs 已被移除。 + + + +## 標準函式庫更新 + +如果使用者 require 的 gem 已排定在未來 Ruby 版本中變更為 bundled gems,RubyGems 和 Bundler 將會顯示警告。 + +這些函式庫包括: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +加入了以下的預設 gem。 + +* prism 0.15.1 + +更新了以下的 bundled gem。 + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +下列的預設 gem 現在是 bundled gems。 + +* racc 1.7.3 + +更新了以下的 bundled gem。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +請參閱 GitHub 發布如 [Logger](https://github.com/ruby/logger/releases) 和變更紀錄來了解更多關於預設 gems 與 bundled gems 的資訊。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) 來了解更多。 + +自 Ruby 3.2.0 以來,計[{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)。 + + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 From 53939d2da0e7143dff18465a70a963970d120b71 Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Fri, 17 Nov 2023 15:47:26 +0900 Subject: [PATCH 2054/2563] Fix titles from 3.2.0 posts (zh_tw) --- zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md | 2 +- zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md b/zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md index a491c13251..96f8e0fc19 100644 --- a/zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md +++ b/zh_tw/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.2.0 RC 1 Released" +title: "Ruby 3.2.0 RC 1 發布" author: "naruse" translator: "Bear Su" date: 2022-12-06 00:00:00 +0000 diff --git a/zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md b/zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md index 2688ca2db6..364199ee48 100644 --- a/zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md +++ b/zh_tw/news/_posts/2022-12-25-ruby-3-2-0-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.2.0 Released" +title: "Ruby 3.2.0 發布" author: "naruse" translator: "Bear Su" date: 2022-12-25 00:00:00 +0000 From faa0248768c9ed447dd1d4c380120739bbea22cf Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 18 Nov 2023 08:08:40 +0900 Subject: [PATCH 2055/2563] Translate "Ruby 3.3.0-preview3 Released" (ko) (#3139) * Copy {en,ko}/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md * Translate Ruby 3.3.0-preview3 (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ...2023-11-12-ruby-3-3-0-preview3-released.md | 293 ++++++++++++++++++ 1 file changed, 293 insertions(+) create mode 100644 ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md diff --git a/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md new file mode 100644 index 0000000000..3a9204dce9 --- /dev/null +++ b/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -0,0 +1,293 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview3 릴리스" +author: "naruse" +translator: "shia" +date: 2023-11-12 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3은 Prism이라고 명명된 새 파서를 추가하고, 파서 생성기로 Lrama를 사용하며, RJIT으로 명명된 새로운 순수 Ruby JIT 컴파일러를 추가하고, 특히 YJIT에서 많은 성능 향상이 있습니다. + +## Prism + +* [Prism 파서](https://github.com/ruby/prism)를 기본 gem에 추가했습니다. + * Prism은 Ruby 언어를 위한 이식 가능하고, 에러 내성이 있으며 유지 보수 가능한 재귀 하향 파서입니다. +* Prism은 프로덕션 환경에서 사용할 준비가 되어있으며 활발하게 유지보수되고 있으므로 Ripper 대신 이용할 수 있습니다. + * Prism 사용 방법에 대한 [광범위한 문서](https://ruby.github.io/prism/)가 있습니다. + * Prism은 CRuby에서 내부적으로 사용하는 C 라이브러리이자 Ruby 코드를 구문 분석해야 하는 모든 도구에서 사용할 수 있는 Ruby gem입니다. + * Prism API에서 주목할 만한 메서드는 다음과 같습니다. + * `Prism.parse(source)`는 ParseResult의 일부로 AST를 반환합니다. + * `Prism.dump(source, filepath)`는 문자열로 직렬화된 AST를 반환합니다. + * `Prism.parse_comments(source)`는 주석을 반환합니다. +* 기여에 관심이 있다면 [Prism 저장소](https://github.com/ruby/prism)에서 직접 풀 리퀘스트나 이슈를 만들 수 있습니다. + +## Bison을 Lrama로 대체 + +* Bison 대신 [Lrama LALR 파서 생성기](https://github.com/yui-knk/lrama)를 사용하도록 변경했습니다. [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * 관심이 있다면 [Ruby 파서의 미래 비전](https://rubykaigi.org/2023/presentations/spikeolaf.html)을 참고하세요. + * 유지보수성을 위해 Lrama 내부 구문 분석기가 Racc에서 생성한 LR 구문 분석기로 대체되었습니다. + * 매개변수화 규칙 `(?, *, +)`를 지원하며, Ruby의 parse.y에서 사용될 예정입니다. + +## RJIT + +* 순수 Ruby JIT 컴파일러 RJIT을 도입하고 MJIT을 대체했습니다. + * RJIT은 Unix 플랫폼에서 x86-64 아키텍처만 지원합니다. + * MJIT과 달리 런타임에 C 컴파일러가 필요하지 않습니다. +* RJIT은 실험 목적으로 존재합니다. + * 프로덕션 환경에서는 YJIT을 계속 사용해야 합니다. +* Ruby용 JIT 개발에 관심이 있다면 [RubyKaigi 2023 3일차에 있었던 k0kubun의 발표](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)를 확인하세요. + +## YJIT + +* 3.2 버전 대비 주요 성능 개선 사항 + * 스플랫과 나머지 인자 지원이 개선되었습니다. + * 가상 머신의 스택 연산을 위해 레지스터가 할당됩니다. + * 선택적 인수가 포함된 더 많은 호출이 컴파일됩니다. + * 예외 처리기도 컴파일됩니다. + * 클래스의 인스턴스 변수가 가지는 객체 형상의 조합이 매우 복잡한 경우에도 + 컴파일되기 전의 바이트 코드로 전환되지 않습니다. + * 지원되지 않는 호출 타입은 이제 컴파일되기 전의 바이트 코드로 전환되지 않습니다. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===`은 특별히 최적화되었습니다. + * 이제 optcarrot에서 인터프리터보다 3배 이상 빠릅니다! +* 3.2보다 메모리 사용량이 크게 개선되었습니다. + * 컴파일된 코드의 메타데이터가 훨씬 적은 메모리를 사용합니다. + * ARM64에서 더 작은 코드를 생성합니다. +* 3.2보다 컴파일 속도가 약간 개선되었습니다. +* 실행 시간에 YJIT을 활성화할 수 있는 `RubyVM::YJIT.enable`이 추가됩니다. + * 실행 명령의 인수나 환경 변수의 변경없이 YJIT을 실행할 수 있습니다. + * 애플리케이션 부팅이 완료된 후에 YJIT를 활성화하는 데에도 사용할 수 있습니다. + 부팅 시 YJIT를 비활성화한 상태에서 다른 YJIT 옵션을 사용하려는 경우 `--yjit-disable`을 사용할 수 있습니다. +* 코드 GC를 비활성화하고 `--yjit-exec-mem-size`를 엄격한 제한으로 설정하는 옵션이 추가됩니다. + * unicorn과 포크를 사용하는 서버에서 더 나은 쓰기시 복사 동작을 생성할 수 있습니다. +* `--yjit-stats`로부터 생성된 `ratio_in_yjit` 통계는 릴리스 빌드에서도 이용 가능하며, + 대부분의 통계에 접근하는 데 특수한 통계나 개발 빌드는 더 이상 필요하지 않습니다. +* 종료 추적 옵션이 이제 샘플링을 지원합니다. + * `--trace-exits-sample-rate=N` +* Linux perf로 프로파일링을 용이하게 할 수 있도록 `--yjit-perf`가 추가됩니다. +* 보다 철저한 테스트와 여러 버그 수정 + +### M:N 스레드 스케쥴러 + +* M:N 스레드 스케쥴러가 추가됩니다. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M개의 Ruby 스레드를 N개의 네이티브 스레드(OS 스레드)로 관리하므로 스레드의 생성, 관리 비용이 절감됩니다. + * C 확장 호환성에 문제가 발생할 가능성이 있으므로, 주 Ractor에서의 기본 설정은 비활성입니다. + * `RUBY_MN_THREADS=1` 환경 변수를 사용해 주 Ractor에서 M:N 스레드를 활성화할 수 있습니다. + * M:N 스레드는 주 Ractor가 아닌 Ractor에서 활성화되어 있습니다. + * `RUBY_MAX_CPU=n` 환경 변수는 `N`(네이티브 스레드의 최대 개수)의 최댓값을 지정합니다. 기본값은 8입니다. + * 하나의 Ractor에서는 하나의 Ruby 스레드만 실행 가능하므로 실제로 사용되는 네이티브 스레드의 개수는 `RUBY_MAX_CPU`에서 지정한 숫자나 실행 중인 Ractor의 개수보다 작습니다. 그러므로 (대다수를 차지하는) 단일 Ractor 애플리케이션에서는 하나의 네이티브 스레드를 사용합니다. + * 블로킹 동작을 처리하기 위해, `N`개 이상의 네이티브 스레드가 사용될 수 있습니다. + +## 그 이외의 주목할 만한 새 기능 + + + +### 언어 + + + +## 성능 향상 + +* `defined?(@ivar)`가 객체 형상에 맞게 최적화됩니다. +* `Socket.getaddrinfo`와 같은 이름 해결을 (POSIX 스레드가 사용 가능한 환경에서) 중단할 수 있게 됩니다. [Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * 이를 위해, getaddrinfo나 getnameinfo를 호출할 때마다 POSIX 스레드를 생성합니다. 이름 해결에 약간의 오버헤드가 발생합니다(실험에서는 약 2.5배). 대부분의 애플리케이션에서 이름 해결의 오버헤드가 문제가 될 것이라고는 생각하지 않습니다만, 만약 그러한 현상을 확인하거나, 이 변경으로 인한 의도치 않은 영향을 발견했다면 부디 알려주세요. +* 환경 변수 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO`가 추가됩니다. [Feature #19571](https://bugs.ruby-lang.org/issues/19571) +* 가비지 컬렉터에서 오래된 객체의 자식 객체가 즉시 오래된 객체로 마킹되지 않습니다. [Feature #19678](https://bugs.ruby-lang.org/issues/19678) +* 가비지 컬렉터에 약한 참조가 추가됩니다. [Feature #19783](https://bugs.ruby-lang.org/issues/19783) + +## 그 이외의 3.2 이후로 주목할 만한 변경 + +### IRB + +IRB에 여러 개선 사항이 추가됩니다. 다음과 같은 내용이 포함됩니다. + +- 고급 `irb:rdbg` 통합 기능은 `pry-byebug`와 동등한 디버깅 경험을 제공합니다. ([문서](https://github.com/ruby/irb#debugging-with-irb)). +- `ls`와 `show_source`, `show_cmds`와 같은 명령어에서 페이징을 지원합니다. +- `ls`, `show_source` 명령에서 더 정확하고 유용한 정보를 제공합니다. +- 타입 분석을 사용하는 실험적인 자동 완성 기능을 제공합니다. ([문서](https://github.com/ruby/irb#type-based-completion)). +- Reline::Face 클래스의 도입으로 자동완성 다이얼로그의 글씨 색과 스타일이 변경 가능합니다. ([문서](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +또한, IRB는 광범위한 리팩토링을 거쳤으며, 향후 개선이 용이하도록 많은 버그 수정이 이루어졌습니다. + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +### Removed constants + +폐기 예정이었던 상수가 삭제됩니다. + + + +### 삭제된 메서드 + +폐기 예정이었던 메서드가 삭제됩니다. + +### 삭제된 환경 변수 + +폐기 예정이었던 환경 변수가 삭제됩니다. + +* 환경 변수 `RUBY_GC_HEAP_INIT_SLOTS`는 폐기 예정이었으며 아무 효과도 없습니다. 대신 환경 변수 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS`를 사용해주세요. [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 호환성 문제 + +### `ext/readline` 폐기 + +* 우리는 `ext/readline` API와 호환되는 순수 Ruby 구현인 `reline`을 가지고 있습니다. 앞으로는 `reline`에 의존할 것입니다. `ext/readline`을 사용해야 하는 경우, `gem install readline-ext`를 사용하여 rubygems.org를 통해 `ext/readline`을 설치할 수 있습니다. +* 이제 더 이상 `libreadline` 또는 `libedit`과 같은 라이브러리를 설치할 필요가 없습니다. + +## C API 변경 + +### 갱신된 C API + +다음 API가 갱신됩니다. + + + +### 삭제된 C API + +다음 폐기 예정인 API가 삭제됩니다. + + + +## 표준 라이브러리 갱신 + +사용자가 미래의 Ruby 버전에서 내장될 예정의 gem을 직접 불러올 때 RubyGems와 Bundler가 경고 문구를 출력합니다. + +다음 라이브러리가 대상입니다. + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +다음 기본 gem이 추가되었습니다. + +* prism 0.15.1 + +다음 기본 gem이 갱신되었습니다. + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +다음 기본 gem이 내장됩니다. + +* racc 1.7.3 + +다음 내장 gem이 갱신됩니다. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은 +GitHub 릴리스 또는 변경 로그에서 확인하세요. + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.2.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + + + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. From b0a0a2ff0c7b83f00873c3a4732a43bd0fd5c0a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sun, 19 Nov 2023 05:48:29 -0500 Subject: [PATCH 2056/2563] Translate Ruby 3.3.0 preview3 released news post (es) (#3141) --- ...2023-11-12-ruby-3-3-0-preview3-released.md | 354 ++++++++++++++++++ 1 file changed, 354 insertions(+) create mode 100644 es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md diff --git a/es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md new file mode 100644 index 0000000000..174809724a --- /dev/null +++ b/es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -0,0 +1,354 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.0-preview3" +author: "naruse" +translator: vtamara +date: 2023-11-12 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} + +Nos complace anunciar la publicación de Ruby {{ release.version }}. Ruby 3.3 +añade un nuevo analizador sintáctico llamado Prism, usa Lrama como +generador de analizadores, añade un nuevo compilador JIT en puro Ruby +llamado RJIT, e incluye muchas mejoras de desempeño especialmente de YJIT. + +## Prism + +* Se introduce [el analizador sintáctico Prism](https://github.com/ruby/prism) + como gema predeterminada. + * Prism es un analizador recursivo-descendente para el lenguaje Ruby + portable, tolerante a errores y mantenible +* Prism está listo para operar en producción es mantenido activamente + y puede emplearlo en lugar de Ripper + * Hay [amplia documentación](https://ruby.github.io/prism/) sobre como + usar Prism + * Prism es tanto una librería en C que es usada internamente por CRuby + como una gema que puede ser usada por cualquier herramienta que + necesite analizar código Ruby. + * Unos métodos notables de la API de Prism son: + * `Prism.parse(fuente)` que retorna el árbol de sintaxis + abstracta (AST) como parte de un ParseResult + * `Prism.dump(fuente, ruta)` que retorna el AST serializado como una + cadena + * `Prism.parse_comments(fuente)` que retorna los comentarios +* Puede hacer solicitudes de cambio o crear incidentes directamente en el + [repositorio de Prism](https://github.com/ruby/prism) si desea + contribuir. + +## Uso de Lrama en lugar de Bison + +* Se remplazó Bison por [el generador de analizadores LALR Lrama](https://github.com/yui-knk/lrama) + [Característica #19637](https://bugs.ruby-lang.org/issues/19637) + * Si tiene interés, por favor vea + [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * El analizadores interno de Lrama se ha remplazado con un + analizador LR generado por Racc para hacerlo más mantenible. + * Se soportan reglas de parametrización `(?, *, +)`, que serán + usadas en la fuente parse.y de Ruby. + +## RJIT + +* Se introdujo RJIT un compilador JIT en puro Ruby que remplaza a MJIT. + * RJIT soporta sólo la arquitectura x86-64 en plataformas Unix. + * A diferencia de MJIT, no require de un compilador C en tiempo de ejecución. +* RJIT existe sólo con propósitos experimentales. + * Debería seguir usando YJIT en producción. +* Si le interesa desarrollar un compilador JIT para Ruby, por favor + revise la [presentación de k0kubun en el día 3 de RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## YJIT + +* Mejoras mayores en desempeño respecto a 3.2 + * Mejorado el soporte para argumentos splat y para el resto de argumentos. + * Los registros se localizan para operaciones en pila de la máquina virtual. + * Se compilan más llamados con argumentos opcionales. + * Los manejadores de excepciones también se compilan. + * Las variables de instancia ya no salen al interprete con Formas de Objetos + mega-mórficas. + * Se optimizaron de manera especial `Integer#!=`, `String#!=`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?` y + `Module#===`. + * Ahora es 3 veces más rápido que el interprete normal con optcarrot! +* Mejora significativa en el uso de memoria respecto a 3.2 + * Los meta-datos para el código compilado usan mucha menos memoria. + * Generación de código más compacto en ARM64 +* La velocidad de compilación es ahora un poco más rápida que en 3.2. +* Añade `RubyVM::YJIT.enable` que puede habilitar YJIT en tiempo de ejecución + * Puede iniciar YJIT sin modificar argumentos en la línea de ordenes + o variables de ambiente. + * Esto también puede usarse para habilitar YJIT sólo después de que la + aplicación haya completado el arranque. `--yjit-disable` puede usarse + si quiere usar otras opciones YJIT mientras deshabilita YJIT durante + el arranque. +* Opción para deshabilitar el recolectar de basura codíficado y tratar + `--yjit-exec-mem-size` como un límite duro. + * Puede producir un mejor comportamiento de copiar-al-escribir en + servidores que usen unicorn y bifurcación de procesos (forking) +* La estadística `ratio_in_yjit` producida por `--yjit-stats` ahora está + disponible en compilaciones publicadas, ya no se requiere una + estadística especial o una compilación de desarrollo para acceder + a la mayoría de estadísticas. +* La opción para salir del modo con trazas ahora soporta muestreo + * `--trace-exits-sample-rate=N` +* Se añade `--yjit-perf` para facilitar hacer medición de desempeño + usando la herramienta perf de Linux +* Pruebas más extensas y correcciones a múltiples fallas + + +### Planificador de hilos M:N + +* Se introdujo un planificador de hilos M:N. [[Característica #19842]](https://bugs.ruby-lang.org/issues/19842) + * M hilos de Ruby son manejados por N hilos nativos (hilos del + sistema operativo) reduciendo así el costo de creación y + administración. + * Como puede romper la compatibilidad con extensiones en C, el + planificador de hilos M:N está deshabilitado de manera predeterminada + en el Ractor principal. + * La variable de ambiente `RUBY_MN_THREADS=1` habilita los hilos + M:N en el Ractor principal. + * Los hilos M:N se habilitan en Ractos que no son el principal. + * La variable de ambiente `RUBY_MAX_CPU=n` establece el máximo número + de `N` (número máximo de hilos nativos). El valor predeterminado es 8. + * Como sólo un hilo de Ruby por Ractor puede correr al mismo tiempo, + el número de hilos nativos se usará, sera el menor entre + el especificado en `RUBY_MAX_CPU` y el número de Ractors + que estén corriendo. Así que las aplicaciones con un sólo Ractor + (la mayoría de aplicaciones) usarán un solo hilo. + * Para soportar operaciones de bloqueo, pueden usarse más de + `N` hilos nativos. + + +## Otros Características Nuevas Notables + +### Lenguaje + +## Mejoras en desempeño + +* `defined?(@ivar)` se optimiza con Formas de Objetos. +* La resolución de nombres como con `Socket.getaddrinfo` ahora puede + interrumpirse (en ambientes donde estén disponibles pthreads). + [Característica #19965](https://bugs.ruby-lang.org/issues/19965) + * Con este propósito, se crea un pthread por cada llamada a + getaddrinfo o getnameinfo. Esto incurre en algo de gasto en la + resolución de nombres (alrededor de 2.5x en nuestros experimentos). + No esperamos que el gasto adicional en la resolución de nombres + sea un problema para la mayoría de aplicaciones, pero si lo nota, + o si ve efectos inesperados que crea que pueden deberse a este + cambio, por favor reportelos. +* Se ha añadido la variable de ambiente `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO`. + [Característica #19571](https://bugs.ruby-lang.org/issues/19571) +* Los hijos de objetos antiguos ya no son promovidos de inmediato a la + antigua generación en el recolector de basura. + [Característica #19678](https://bugs.ruby-lang.org/issues/19678) +* Se ha agregado soporte para referencias débiles al recolector de basura. + [Característica #19783](https://bugs.ruby-lang.org/issues/19783) + + +## Otros cambios notables desde 3.2 + +### IRB + +IRB ha recibido diversas mejoras, incluyendo --no limitadas a estas: + +- Integración avanzada `irb:rdbg` que provee una experiencia + de depuración equivalente a la de `pry-byebug` + ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Soporte de paginador para las ordenes `ls`, `show_source` y `show_cmds`. +- Las ordenes `ls` y `show_cmds` dan información más precisa y útil. +- Autocompletación experimental usando análisis de tipos + ([doc](https://github.com/ruby/irb#type-based-completion)). +- Ahora es posible cambiar el color del tipo de letra así como su estilo + en el diálogo de completación gracias a la recien introducida + clase Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +Además, IRB ha experimentado una re-factorización extensa y ha recibido +docenas de correcciones a fallas que facilitan ampliaciones futuras. + + +## Incidentes de compatibilidad + +Nota: Correciones a falla que excluía características. + +### Constantes elminadas + +Las siguientes constantes que eran despreciadas han sido eliminadas. + + +### Métodos eliminados + +Los siguientes métodos que eran despreciados han sido eliminados. + + +### Variables de ambientes eliminadas + +* La variable de ambiente `RUBY_GC_HEAP_INIT_SLOTS` es despreciada + y es operación de no hacer nada. En su remplazo por favor use las + variables de ambiente `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS`. + [Característica #19785](https://bugs.ruby-lang.org/issues/19785) + +## Problemas de compatibilidad con Stdlib + +### Eliminación de `ext/readline` + +* Tenemos `reline` que es una implementación en Ruby puro compatible con + el API de `ext/readline`. Dependeremos de `reline` a futuro. Si + necesita usar `ext/readline`, puede instalar `ext/readline` vía rubygems.org + con `gem install readline-ext`. +* Ya no necesitamos instalar librerías como `libreadline` o `libedit`. + +## Actualizaciones al API en C + +### APIs en C actualizados + +Los siguientes APIs han sido actualizados. + + + +### APIs en C eliminados + +Los siguientes APIs despreciados han sido eliminados. + +## Actualizaciones a la librería estándar + +RubyGems y Bundler avisan cuando el usuario requiere gemas que están +programadas para convertirse en gemas incluidas en versiones futuras +de Ruby. + +Librerías que son objetivo: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +Se ha añadido la siguiente gema. + +* prism 0.15.1 + +Las siguientes gemas predeterminadas se han actualizado. + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + + +La siguiente gema incluida ha sido promovida a gema predeterminada. + +* racc 1.7.3 + +Las siguientes gemas incluidas han sido actualizadas. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +Ver la publicación en GitHub como +[Logger](https://github.com/ruby/logger/releases) o +bien la bitácora de cambios con detalles de las gemas predeterminadas +y las gemas incluidas. + +Ver más detalles en el archivo +[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +o en [la bitácora de cambios](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}). + +¡Con estos cambios, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +desde Ruby 3.2.0! + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Qué es Ruby + +Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, +y ahora es desarrollado como Código Abieto. Corre en múltiples +plataformas y es usado en todo el mundo especialmente para desarrollo web. From 65c693d092a261fec13b795d89cbd7478689f052 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 22 Nov 2023 14:29:03 +0900 Subject: [PATCH 2057/2563] draft --- en/privacy/index.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 en/privacy/index.md diff --git a/en/privacy/index.md b/en/privacy/index.md new file mode 100644 index 0000000000..73d98f40a3 --- /dev/null +++ b/en/privacy/index.md @@ -0,0 +1,23 @@ +--- +layout: page +title: "Privacy Policy for ruby-lang.org" +lang: en +--- + +This privacy policy covers ruby-lang.org. + +## Email + +We will not give away your email address to anyone, who is not related to the operations of ruby-lang.org. We will also never ask you to send us any of your passwords via email. + +## Logfiles + +ruby-lang.org record access logs of the requests that reach the web servers, but we use those files for issue investigation and statistical purposes. + +## Cookies + +ruby-lang.org uses cookies to keep track of user preferences. Unless you login on the site, the cookies will not be used to store personal information and we do not give away the information from the cookies. + +## Ascknowledgements + +This privacy policy is based on the [php.net privacy policy](https://www.php.net/privacy.php). From bd946f38dd87935b9c0c37faeb2379a21afac68c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 30 Nov 2023 13:15:44 +0900 Subject: [PATCH 2058/2563] Update en/privacy/index.md Co-authored-by: Sorah Fukumori --- en/privacy/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/privacy/index.md b/en/privacy/index.md index 73d98f40a3..dca1464863 100644 --- a/en/privacy/index.md +++ b/en/privacy/index.md @@ -12,7 +12,7 @@ We will not give away your email address to anyone, who is not related to the op ## Logfiles -ruby-lang.org record access logs of the requests that reach the web servers, but we use those files for issue investigation and statistical purposes. +ruby-lang.org records access logs of the requests that reach the web servers, but we use those files for debugging and statistical purposes. ## Cookies From 7de2e6a996fa71deafe69eb42f2ad2098e276479 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 30 Nov 2023 13:16:02 +0900 Subject: [PATCH 2059/2563] Update en/privacy/index.md Co-authored-by: Sorah Fukumori --- en/privacy/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/privacy/index.md b/en/privacy/index.md index dca1464863..e0f784dfe2 100644 --- a/en/privacy/index.md +++ b/en/privacy/index.md @@ -16,7 +16,7 @@ ruby-lang.org records access logs of the requests that reach the web servers, bu ## Cookies -ruby-lang.org uses cookies to keep track of user preferences. Unless you login on the site, the cookies will not be used to store personal information and we do not give away the information from the cookies. +Some sites under ruby-lang.org (e.g. bugs.ruby-lang.org) uses cookies to keep track of user preferences. Unless you login on the site, the cookies will not be used to store personal information and we do not give away the information from the cookies. ## Ascknowledgements From 9038c7c965b85e940b440a709eb15db2db289874 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 30 Nov 2023 14:04:46 +0900 Subject: [PATCH 2060/2563] Mention about GitHub Pages --- en/privacy/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/privacy/index.md b/en/privacy/index.md index e0f784dfe2..7e5e02e26d 100644 --- a/en/privacy/index.md +++ b/en/privacy/index.md @@ -14,6 +14,8 @@ We will not give away your email address to anyone, who is not related to the op ruby-lang.org records access logs of the requests that reach the web servers, but we use those files for debugging and statistical purposes. +We use GitHub Pages for www.ruby-lang.org. Please refer [Usage limits of GitHub Pages](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#data-collection). + ## Cookies Some sites under ruby-lang.org (e.g. bugs.ruby-lang.org) uses cookies to keep track of user preferences. Unless you login on the site, the cookies will not be used to store personal information and we do not give away the information from the cookies. From 28cd555eaf5f4ce7631ed03faaae4660e451bcb5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 30 Nov 2023 15:07:15 +0900 Subject: [PATCH 2061/2563] fixup initial policy --- en/privacy/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/privacy/index.md b/en/privacy/index.md index 7e5e02e26d..f855225170 100644 --- a/en/privacy/index.md +++ b/en/privacy/index.md @@ -12,7 +12,7 @@ We will not give away your email address to anyone, who is not related to the op ## Logfiles -ruby-lang.org records access logs of the requests that reach the web servers, but we use those files for debugging and statistical purposes. +ruby-lang.org records access logs of the requests that reach the web servers, but we use those files only for debugging and statistical purposes. We use GitHub Pages for www.ruby-lang.org. Please refer [Usage limits of GitHub Pages](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#data-collection). From 5cd7633aabd575eae437bd3d772196f198dc881e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 30 Nov 2023 15:46:35 +0900 Subject: [PATCH 2062/2563] typofix --- en/privacy/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/privacy/index.md b/en/privacy/index.md index f855225170..52bdf65e37 100644 --- a/en/privacy/index.md +++ b/en/privacy/index.md @@ -20,6 +20,6 @@ We use GitHub Pages for www.ruby-lang.org. Please refer [Usage limits of GitHub Some sites under ruby-lang.org (e.g. bugs.ruby-lang.org) uses cookies to keep track of user preferences. Unless you login on the site, the cookies will not be used to store personal information and we do not give away the information from the cookies. -## Ascknowledgements +## Acknowledgements This privacy policy is based on the [php.net privacy policy](https://www.php.net/privacy.php). From 9fb5cdc5420d9e33c5a18c4a4a8468447c550202 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Sat, 30 Sep 2023 16:53:51 +0700 Subject: [PATCH 2063/2563] Translate Ruby 3.3.0-preview2 released news post (id) --- ...2023-09-14-ruby-3-3-0-preview2-released.md | 200 ++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 id/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md diff --git a/id/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/id/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md new file mode 100644 index 0000000000..11f4e93a68 --- /dev/null +++ b/id/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -0,0 +1,200 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview2 Dirilis" +author: "naruse" +translator: "meisyal" +date: 2023-09-14 00:00:00 +0000 +lang: id +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %} + +Kami dengan senang hati mengumumkan rilis dari Ruby {{ release.version }}. +Ruby 3.3 menambahkan sebuah *pure-Ruby* JIT *compiler* baru yang bernama RJIT, +menggunakan Lrama sebagai *parser generator*, dan memperbaiki performa khususnya +YJIT. + +## RJIT + +* Memperkenalkan sebuah *pure-Ruby* JIT *compiler* dan menggantikan MJIT. + * RJIT hanya mendukung arsitektur x86\_64 pada *platform Unix*. + * Berbeda dengan MJIT, RJIT tidak membutuhkan sebuah C *compiler* saat *runtime*. +* RJIT ada untuk tujuan eksperimen. + * Anda harus tetap menggunakan YJIT pada *production*. +* Jika Anda tertarik untuk mengembangkan JIT pada Ruby, mohon cek + [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## Menggunakan Lrama ketimbang Bison + +* Mengganti Bison dengan [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * Jika Anda tertarik, silakan lihat [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + +## YJIT + +* Peningkatan performa yang signifikan dibanding Ruby 3.2 + * Dukungan *splat* dan *rest argument* telah ditingkatkan. + * *Register* dialokasikan untuk operasi *stack* dari *virtual machine*. + * Pemanggilan dengan *optional argument* dikompilasi. + * *Exception handler* juga dikompilasi. + * *Instant variable* tidak lagi keluar ke *intepreter* dengan *Object Shapes* + yang sangat besar. + * *Call type* yang tidak didukung tidak lagi keluar ke *interpreter*. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` dioptimisasi. + * Sekarang 3x lebih cepat dibanding *interpreter* pada optcarrot! +* *Metadata* dari kode yang dikompilasi menggunakan *memory* lebih sedikit. +* Peningkatan *code generation* pada ARM64 +* Opsi untuk menjalankan YJIT pada *paused mode* dan mengaktifkan kembali secara manual + * `--yjit-pause` dan `RubyVM::YJIT.resume` + * Ini dapat digunakan untuk mengaktifkan YJIT ketika aplikasi Anda selesai *booting* +* `ratio_in_yjit` yang dihasilkan oleh `--yjit-stats` sekarang tersedia pada + rilis *build*, data khusus atau dev *build* tidak lagi diperlukan. +* Opsi *exit tracing* sekarang mendukung *sampling* + * `--trace-exits-sample-rate=N` +* Pengujian lebih saksama dan perbaikan beberapa *bug* + + + +## Fitur Penting Lainnya + +### Bahasa + + + +## Perbaikan performa + +* `defined?(@ivar)` dioptimisasi dengan *Object Shapes*. + +## Perubahan penting lainnya sejak 3.2 + +### IRB + +IRB mendapatkan beberapa peningkatan berikut, namun tidak terbatas pada: + +- Integrasi `irb:rdbg` yang menyediakan pengalaman *deugging* setara dengan `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Dukungan *pager* untuk perintah, seperti `ls` dan `show_cmds`. +- Menyediakan informasi yang lebih akurat dan membantu dengan perintah `ls` dan `show_source`. + +Sebagai tambahan, IRB telah menjalani *refactoring* yang ekstensif dan menerima +perbaikan *bug* untuk memfasilitasi peningkatan ke depan dengan lebih mudah. + +## Isu kompatibilitas + +Catatan: Tidak termasuk perbaikan *bug* dari fitur. + +### Constant terhapus + +Berikut ini adalah *constant* yang telah dihapus. + + + +### Method terhapus + +Berikut ini adalah *method* yang telah dihapus. + + + +## Isu kompatibilitas Stdlib + +### `ext/readline` dipensiunkan + +* Kami memiliki `reline` yang merupakan implementasi Ruby murni dan kompatibel + dengan `ext/readline` API. Kami bergantung pada `reline` di masa depan. Jika + Anda perlu untuk menggunakan `ext/readline`, Anda dapat memasang `ext/readline` + melalui rubygems.org dengan `gem install readline-ext`. +* Kami tidak lagi memasang pustaka, seperti `libreadline` atau `libedit`. + +## Pembaruan C API + +### C API diperbarui + +Berikut adalah API yang telah diperbarui. + + + +### C API terhapus + +Berikut adalah API yang telah dihapus. + + + +## Pembaruan pustaka standar + +RubyGems dan Bundler memperingatkan jika pengguna membutuhkan *gem* yang dijadwalkan +akan menjadi *bundled gem* pada Ruby versi berikutnya. + +Berikut adalah *default gem* yang telah diperbarui. + +* RubyGems 3.5.0.dev +* bigdecimal 3.1.4 +* bundler 2.5.0.dev +* csv 3.2.8 +* erb 4.0.3 +* fiddle 1.1.2 +* fileutils 1.7.1 +* irb 1.7.4 +* nkf 0.1.3 +* optparse 0.4.0.pre.1 +* psych 5.1.0 +* reline 0.3.8 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* time 0.2.2 +* timeout 0.4.0 +* uri 0.12.2 +* yarp 0.9.0 + +Berikut adalah *bundled gem* yang telah diperbarui. + +* minitest 5.19.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.3.7 +* rbs 3.2.1 +* typeprof 0.21.8 +* debug 1.8.0 + +Berikut adalah *default gem* yang sekarang menjadi *bundled gem*. + +* racc 1.7.1 + +Lihat rilis GitHub, seperti [Logger](https://github.com/ruby/logger/releases) +atau *changelog* untuk detail dari *default gem* atau *bundled gem*. + +Lihat [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +atau [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +untuk lebih detail. + +Dengan perubahan tersebut, [{{ release.stats.files_changed }} berkas berubah, {{ release.stats.insertions }} sisipan(+), {{ release.stats.deletions }} terhapus(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +sejak Ruby 3.2.0! + +## Unduh + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Apa itu Ruby + +Ruby pertama kali dikembangkan oleh Matz (Yukihiro Matsumoto) pada 1993 +dan sekarang dikembangkan sebagai *Open Source*. Ruby berjalan pada berbagai +*platform* dan digunakan di seluruh dunia, khususnya pengembangan *web*. From be4842b8642b56ed3cf8a43164aae2d95b72c11b Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 29 Aug 2023 15:26:13 +0800 Subject: [PATCH 2064/2563] Fix links in installation (ja) --- ja/documentation/installation/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ja/documentation/installation/index.md b/ja/documentation/installation/index.md index 020f4df7db..d11169fcfc 100644 --- a/ja/documentation/installation/index.md +++ b/ja/documentation/installation/index.md @@ -74,12 +74,12 @@ Ruby コミュニティの中の一部のメンバーは Ruby をインストー * [Gentoo](#portage) * [Arch Linux](#pacman) * [macOS](#homebrew) - * [FreeBSD](#pkg) - * [OpenBSD](#doas) + * [FreeBSD](#freebsd) + * [OpenBSD](#openbsd) * [OpenIndiana](#openindiana) * [Windows Package manager](#winget) - * [Chocolatey package manager for Windows](#choco) - * [Other Distribution](#other) + * [Chocolatey package manager for Windows](#chocolatey) + * [Other Distribution](#other-systems) ### apt (Debian or Ubuntu) @@ -161,7 +161,7 @@ $ brew install ruby こちらはRubyの最新の安定版をインストールすることを推奨します。 ### FreeBSD -{: #pkg} +{: #freebsd} FreeBSDでは、Rubyをインストールする方法として、パッケージ化されたものとソースベースのものの両方が用意されています。プリビルドパッケージはpkgツールでインストールできます。 {% highlight sh %} @@ -173,7 +173,7 @@ ports を利用してソースコードからインストールする場合、[P FreeBSDにおけるRubyとそのエコシステムの詳しい情報は [FreeBSD Ruby Projects website](https://wiki.freebsd.org/Ruby) で確認できます。 ### OpenBSD -{: #doas} +{: #openbsd} OpenBSDやそのディストリビューションであるadJには、Rubyの3つの主要なバージョンに対応したパッケージが用意されています。以下のコマンドで、利用可能なバージョンを確認し、インストールすることができます。 {% highlight sh %} @@ -203,7 +203,7 @@ WindowsでRubyをインストールするには[Windows Package Manager CLI](htt {% endhighlight %} ### Chocolatey package manager for Windows -{: #choco} +{: #chocolatey} 同じくWindowsでは[Chocolatey Package Manager](https://chocolatey.org/install) を利用してRubyのインストールが可能です。 {% highlight sh %} @@ -213,7 +213,7 @@ WindowsでRubyをインストールするには[Windows Package Manager CLI](htt 既存のmsys2を再利用するか、独自のものをインストールして完全なRuby開発環境を構築します。 ### その他のディストリビューション -{: #other} +{: #other-systems} その他のシステムでは,お使いのLinuxディストリビューションのマネージャのパッケージリポジトリを検索して,Rubyを探すことができます。 もしくはサードパーティのインストーラを使うこともできます。 From d95dc2c12aab4b22dd337200c7dbd1f83abd90c8 Mon Sep 17 00:00:00 2001 From: eduardoksa Date: Wed, 11 Oct 2023 14:28:42 -0300 Subject: [PATCH 2065/2563] Traslate Home to portuguese (pt) --- _data/locales/pt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/locales/pt.yml b/_data/locales/pt.yml index 804cc75a4b..48def56dea 100644 --- a/_data/locales/pt.yml +++ b/_data/locales/pt.yml @@ -3,7 +3,7 @@ ruby: Ruby slogan: O melhor amigo do programador sitelinks: -- text: Home +- text: Início url: /pt home: true - text: Downloads From 8791ebe9e6b7d36004eabc77b05da4f874a54e6e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:33:51 +0000 Subject: [PATCH 2066/2563] Bump actions/deploy-pages from 2.0.4 to 2.0.5 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2.0.4 to 2.0.5. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/9dbe3824824f8a1377b8e298bafde1a50ede43e5...de14547edc9944350dc0481aa5b7afb08e75f254) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e903d81c62..a42738cda0 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@9dbe3824824f8a1377b8e298bafde1a50ede43e5 # v2.0.4 + uses: actions/deploy-pages@de14547edc9944350dc0481aa5b7afb08e75f254 # v2.0.5 From bbfd96bdf8f9ad0e9f99c992e51e6afc64bc6409 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Mon, 11 Dec 2023 17:10:26 +0900 Subject: [PATCH 2067/2563] Ruby 3.3.0-rc1 Released (#3149) --- _data/downloads.yml | 2 +- _data/releases.yml | 29 ++ .../2023-12-11-ruby-3-3-0-rc1-released.md | 317 ++++++++++++++++++ .../2023-12-11-ruby-3-3-0-rc1-released.md | 288 ++++++++++++++++ release.patch | 41 +++ 5 files changed, 676 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md create mode 100644 ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md create mode 100644 release.patch diff --git a/_data/downloads.yml b/_data/downloads.yml index 7f8885f6cb..39c843acd5 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 3.3.0-preview3 + - 3.3.0-rc1 stable: diff --git a/_data/releases.yml b/_data/releases.yml index 7333cd8e25..3b8a987f13 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,35 @@ # 3.3 series +- version: 3.3.0-rc1 + date: 2023-12-11 + post: /en/news/2023/12/11/ruby-3-3-0-rc1-released/ + tag: v3_3_0_rc1 + stats: + files_changed: 5414 + insertions: 306141 + deletions: 183575 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.tar.xz + size: + gz: 21783575 + zip: 26735443 + xz: 16163884 + sha1: + gz: c75a860e06f27b7f69b874757417277c21d1d3f4 + zip: 35583453a7734216b08829ef0ec9ea1bc0d4ae7f + xz: 26503f9bdc7d0a05aaa9836f54d3aa9e74a9ead9 + sha256: + gz: c4ff82395a90ef76c7f906b7687026e0ab96b094dcf3a532d9ab97784a073222 + zip: 56dd82e1dd714f2889ca975ae7befbe005675de08839c2cc4a484de2ae65201c + xz: 051815637f1fa75a1edf2c54b66d5d5b69563daad777da8dc39543b7754b5290 + sha512: + gz: 265fb2ffe55af47d8349edffcebe749cc170291227cef55529fe4e67363e4e84b88daa34ffb5364a99c8a0e32110266a34c9a11d62f3bd6f6d47fa76eca641f4 + zip: 7fbe414c230aedc9f364512bcbc213038f8f6e4268929a559d2527e2f3e32a140b394e37098ab7e59161236eca8b89cc9e52d73a3be8d7bd44faa91681483f5d + xz: 82f4acfaad1dc47db27ee3eb952481a95b3474a98059e9e9f5ceb035b690d1faabe99f2ec52371c4089ed1615eb10c395f029088418fec4d26399b65b4f259b9 + - version: 3.3.0-preview3 date: 2023-11-12 post: /en/news/2023/11/12/ruby-3-3-0-preview3-released/ diff --git a/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md new file mode 100644 index 0000000000..73d5ed01f0 --- /dev/null +++ b/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -0,0 +1,317 @@ +--- +layout: news_post +title: "Ruby 3.3.0-rc1 Released" +author: "naruse" +translator: +date: 2023-12-11 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-rc1" | first %} +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new parser named Prism, uses Lrama as a parser generator, adds a new pure-Ruby JIT compiler named RJIT, and many performance improvements especially YJIT. + +After the release of RC1, we will avoid introducing ABI incompatibilities wherever possible. If we need to do, we'll announce it in the release note. + +## Prism + +* Introduced [the Prism parser](https://github.com/ruby/prism) as a default gem + * Prism is a portable, error tolerant, and maintainable recursive descent parser for the Ruby language +* Prism is production ready and actively maintained, you can use it in place of Ripper + * There is [extensive documentation](https://ruby.github.io/prism/) on how to use Prism + * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code + * Notable methods in the Prism API are: + * `Prism.parse(source)` which returns the AST as part of a ParseResult + * `Prism.dump(source, filepath)` which returns the serialized AST as a String + * `Prism.parse_comments(source)` which returns the comments +* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/ruby/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * Lrama internal parser is replaced with LR parser generated by Racc for maintainability + * Parameterizing Rules `(?, *, +)` are supported, it will be used in Ruby parse.y + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86-64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## YJIT + +* Major performance improvements over 3.2 + * Support for splat and rest arguments has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. + * Exception handlers are also compiled. + * Instance variables no longer exit to the interpreter + with megamorphic object shapes. + * Unsupported call types no longer exit to the interpreter. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` are specially optimized. + * Now more than 3x faster than the interpreter on optcarrot! +* Significantly improved memory usage over 3.2 + * Metadata for compiled code uses a lot less memory. + * Generate more compact code on ARM64 +* Compilation speed is now slightly faster than 3.2. +* Add `RubyVM::YJIT.enable` that can enable YJIT at run-time + * You can start YJIT without modifying command-line arguments or environment variables. + * This can also be used to enable YJIT only once your application is + done booting. `--yjit-disable` can be used if you want to use other + YJIT options while disabling YJIT at boot. +* Code GC is now disabled by default, and `--yjit-exec-mem-size` is treated + as a hard limit where copilation of new code stops. + * Better copy-on-write behavior on servers using unicorn and forking + * No sudden drops in performance due to code GC. + * You can still enable code GC if desired with `--yjit-code-gc` +* `ratio_in_yjit` stat produced by `--yjit-stats` is now available in release builds, + a special stats or dev build is no longer required to access most stats. +* Exit tracing option now supports sampling + * `--trace-exits-sample-rate=N` +* `--yjit-perf` is added to facilitate profiling with Linux perf. +* More thorough testing and multiple bug fixes + + +### M:N thread scheduler + +* M:N thread scheduler was introduced. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M Ruby threads are managed by N native threads (OS threads) so the thread creation and management cost are reduced. + * It can break C-extension compatibility so that M:N thread scheduler is disabled on the main Ractor by default. + * `RUBY_MN_THREADS=1` environment variable enables M:N threads on the main Ractor. + * M:N threads are enabled on non-main Ractors. + * `RUBY_MAX_CPU=n` environment variable sets maximum number of `N` (maximum number of native threads). The default value is 8. + * Since only one Ruby thread per Ractor can run at the same time, the number of native threads will be used, which is the smaller of the number specified in `RUBY_MAX_CPU` and the number of running Ractors. So that single Ractor applications (most of applications) will use 1 native thread. + * To support blocking operations, more than `N` native threads can be used. + +## Other Notable New Features + + + +### Language + + +## Performance improvements + +* `defined?(@ivar)` is optimized with Object Shapes. +* Name resolution such as `Socket.getaddrinfo` can now be interrupted (in environments where pthreads are available). [Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * For this purpose, a pthread is now created whenever calling getaddrinfo or getnameinfo. This incurs some overhead in name resolution (about 2.5x in our experiments). We do not expect the name resolution overhead to be a problem for most applications, but if you observe such, or if you see unexpected affects that you believe are due to this change, please report them. +* Several performance improvements to the Garbage Collector + * Young objects referenced by old objects are no longer immediately + promoted to the old generation. This significantly reduces the frequency of + major GC collections. [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + * A new `REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` tuning variable was + introduced to control the number of unprotected objects cause a major GC + collection to trigger. The default is set to `0.01` (1%). This significantly + reduces the frequency of major GC collection. [[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) + * Write Barriers were implemented for many core types that were missing them, + notably `Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal` + and several others. This significantly reduces minor GC collection time and major + GC collection frequency. + * Most core classes are now using Variable Width Allocation, notably `Hash`, `Time`, + `Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`. + This makes these classes faster to allocate and free, use less memory and reduce + heap fragmentation. + * Support for weak references has been added to the garbage collector. [[Feature #19783]](https://bugs.ruby-lang.org/issues/19783) + + +## Other notable changes since 3.2 + +### IRB + +IRB has received several enhancements, including but not limited to: + +- Advanced `irb:rdbg` integration that provides an equivalent debugging experience to `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Pager support for `ls`, `show_source` and `show_cmds` commands. +- More accurate and helpful information provided by the `ls` and `show_source` commands. +- Experimental autocompletion using type analysis ([doc](https://github.com/ruby/irb#type-based-completion)). +- It is now possible to change the font color and font style in the completion dialog by a newly introduced class Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +In addition, IRB has also undergone extensive refactoring and received dozens of bug fixes to facilitate easier future enhancements. + +## Compatibility issues + +Note: Excluding feature bug fixes. + +* `it` calls without arguments in a block with no ordinary parameters are + deprecated. `it` will be a reference to the first block parameter in Ruby 3.4. + [Feature #18980](https://bugs.ruby-lang.org/issues/18980) + +### Removed constants + +The following deprecated constants are removed. + + + +### Removed methods + +The following deprecated methods are removed. + +### Removed environment variables + +The following deprecated methods are removed. + +* Environment variable `RUBY_GC_HEAP_INIT_SLOTS` has been deprecated and is a no-op. Please use environment variables `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` instead. [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib compatibility issues + +### `ext/readline` is retired + +* We have `reline` that is pure Ruby implementation compatible with `ext/readline` API. We rely on `reline` in the future. If you need to use `ext/readline`, you can install `ext/readline` via rubygems.org with `gem install readline-ext`. +* We no longer need to install libraries like `libreadline` or `libedit`. + +## C API updates + +### Updated C APIs + +The following APIs are updated. + + + +### Removed C APIs + +The following deprecated APIs are removed. + + + +## Standard library updates + +RubyGems and Bundler warn if users require gem that is scheduled to become the bundled gems in the future version of Ruby. + +Targeted libraries are: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +The following default gem is added. + +* prism 0.15.1 + +The following default gems are updated. + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +The following bundled gem is promoted from default gems. + +* racc 1.7.3 + +The following bundled gems are updated. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or +changelog for details of the default gems or bundled gems. + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +since Ruby 3.2.0! + + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. diff --git a/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md new file mode 100644 index 0000000000..55bf91d8c3 --- /dev/null +++ b/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -0,0 +1,288 @@ +--- +layout: news_post +title: "Ruby 3.3.0-rc1 リリース" +author: "naruse" +translator: +date: 2023-12-11 00:00:00 +0000 +lang: ja +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-rc1" | first %} +Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismという新しいパーサーの追加、新しいパーサージェネレーターであるLramaによるBisonの置き換え、RJITという新たなJITの仕組みを追加、YJITの高速化など様々な改善が行われています。 + +このRC1リリース以降はABIの変更を極力行いません。何らかの理由でABIを変更した場合はリリース時にお知らせします。 + +## Prism + +* Introduced [the Prism parser](https://github.com/ruby/prism) as a default gem + * Prism is a portable, error tolerant, and maintainable recursive descent parser for the Ruby language +* Prism is production ready and actively maintained, you can use it in place of Ripper + * There is [extensive documentation](https://ruby.github.io/prism/) on how to use Prism + * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code + * Notable methods in the Prism API are: + * `Prism.parse(source)` which returns the AST as part of a ParseResult + * `Prism.dump(source, filepath)` which returns the serialized AST as a String + * `Prism.parse_comments(source)` which returns the comments +* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/ruby/lrama) [Feature #19637] + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * See also: [Ruby Parser開発日誌 (5) - Lrama LALR (1) parser generatorを実装した](https://yui-knk.hatenablog.com/entry/2023/03/13/101951) + * Lrama internal parser is replaced with LR parser generated by Racc for maintainability + * Parameterizing Rules `(?, *, +)` are supported, it will be used in Ruby parse.y + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86\_64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## YJIT + +* Major performance improvements over 3.2 + * Support for splat and rest arguments has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. + * Exception handlers are also compiled. + * Instance variables no longer exit to the interpreter + with megamorphic object shapes. + * Unsupported call types no longer exit to the interpreter. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` are specially optimized. + * Now more than 3x faster than the interpreter on optcarrot! +* Significantly improved memory usage over 3.2 + * Metadata for compiled code uses a lot less memory. + * Generate more compact code on ARM64 +* Compilation speed is now slightly faster than 3.2. +* Add `RubyVM::YJIT.enable` that can enable YJIT later + * You can start YJIT without modifying command-line arguments or environment variables. + * This can also be used to enable YJIT only once your application is + done booting. `--yjit-disable` can be used if you want to use other + YJIT options while disabling YJIT at boot. +* Option to disable code GC and treat `--yjit-exec-mem-size` as a hard limit + * Can produce better copy-on-write behavior on servers using unicorn and forking +* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds, + a special stats or dev build is no longer required to access most stats. +* Exit tracing option now supports sampling + * `--trace-exits-sample-rate=N` +* `--yjit-perf` is added to facilitate profiling with Linux perf. +* More thorough testing and multiple bug fixes + +### M:N スレッドスケジューラ + +* M:N スレッドスケジューラが導入されました。[[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M個のRuby スレッドを、N個のネイティブスレッド(OSスレッド)で管理するので、生成管理のコストを抑えることができるようになりました。 + * C拡張ライブラリの互換性に問題が生じる可能性があるため、メインRactorでのM:Nスレッドスケジューラはデフォルトでは無効にされています。 + * `RUBY_MN_THREADS=1` と環境変数を設定することで、メインRactorでM:Nスレッドスケジューラを有効にします。 + * メインRactor以外ではM:Nスレッドスケジューラが有効です。 + * `RUBY_MAX_CPU=n` と環境変数を設定することで、Nの最大数(利用するネイティブスレッドの最大数)を設定できます。デフォルトは8です。 + * 一つの Ractor ではたかだか1つのスレッドしか同時に実行されないので、実際に利用するネイティブスレッド数は、`RUBY_MAX_CPU`で指定した数か実行中のRactorの数の少ないほうになります。つまり、Ractorの数が1つのアプリケーション(多くのアプリケーション)では1つのネイティブスレッドだけ利用されます。 + * ブロックする処理をサポートするため、N個以上のネイティブスレッドが利用されることがあります。 + +## その他の主要な新機能 + +### 言語機能 + + +## パフォーマンスの改善 + +* `Socket.getaddrinfo` などの名前解決を中断できるようになりました (pthread が利用できる環境で)。[Feature 19965](https://bugs.ruby-lang.org/issues/19965) + * このために、getaddrinfo や getnameinfo を呼び出すたびに pthread が生成されるようになりました。名前解決に若干のオーバーヘッドが発生します(実験では約2.5倍)。ほとんどのアプリケーションで名前解決のオーバーヘッドが問題になるとは考えていませんが、もしそのような現象が見られたり、この変更が原因と思われる予期せぬ影響が見られた場合は、ぜひ報告してください。 +* 環境変数 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` が追加されました。[Feature #19571](https://bugs.ruby-lang.org/issues/19571) +* GCで古いオブジェクトの子オブジェクトがすぐにプロモートされなくなりました。[Feature #19678](https://bugs.ruby-lang.org/issues/19678) +* GCに弱参照が追加されました。[Feature #19783](https://bugs.ruby-lang.org/issues/19783) + +## その他の注目すべき 3.2 からの変更点 + +### IRB + +IRBは様々な機能強化を行いました。主なものは以下の通りです。 + +* IRBとrdbgの連携 pry-byebugのような使い心地でデバッグできるようになりました。([使い方](https://github.com/ruby/irb#debugging-with-irb)) +* lsコマンドやshow_cmdsの出力がPagerで表示されるようになりました。 +* lsコマンドやshow_sourceコマンドがより便利で詳細な情報を出力するようになりました。 +* 型情報を使った補完が実験的に実装されました。([有効化するには](https://github.com/ruby/irb#type-based-completion)) +* Reline::Faceクラスの導入により、補完ダイアログの色や文字装飾を変更できるようになりました。([使い方](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +また、機能強化以外にも、数多くのバグ修正および将来的な機能拡張を見越した大規模なリファクタリングを行ないました。 + + +## 互換性に関する変更 + +* ブロック内での引数なし `it` の呼び出しは非推奨になりました。 + Ruby 3.4から最初のブロック引数を参照するようになります。 + [Feature #18980](https://bugs.ruby-lang.org/issues/18980) + +### 定数の削除 + +以下の非推奨定数は削除されました + + +### メソッドの削除 + +以下の非推奨のメソッドは削除されました + +### 環境変数の削除 + +以下の非推奨の環境変数は削除されました + +* 環境変数 `RUBY_GC_HEAP_INIT_SLOTS` は非推奨になり、何もしなくなりました。環境変数 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` を使ってください。[Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## 標準添付ライブラリの互換性に関する変更 + +### `ext/readline` の削除 + +* 今後は Ruby で書かれた GNU Readline の互換ライブラリである `reline` をすべての環境で標準で利用し、`ext/readline` は削除されました。以前の `ext/readline` が必要なユーザーは `gem install readline-ext` でインストールすることができます。 +* この変更により、Ruby のインストール時に `libreadline` や `libedit` などのライブラリのインストールは不要となります。 + +## C API の変更 + +### C API の更新 + +以下の API が更新されました + +### C API の削除 + +以下の非推奨の API は削除されました + + +## 標準添付ライブラリのアップデート + +RubyGems と Bundler は将来リリースされる Ruby で bundled gems となる予定の gem が require された際に警告を行う機能が追加されました。 + +以下のライブラリが対象となります。 + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + + +以下の default gem が追加されました。 + +* prism 0.15.1 + +以下の default gems のバージョンがアップデートされました。 + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + + +新たに以下の gem が default gems から bundled gems に変更されました。 + +* racc 1.7.3 + +以下の bundled gems のバージョンがアップデートされました。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +default gems と bundled gems の詳細については [Logger の GitHub Releases](https://github.com/ruby/logger/releases) のような GitHub releases または changelog ファイルを参照してください。 + + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})を参照してください。 + +なお、こうした変更により、Ruby 3.2.0 以降では [{{ release.stats.files_changed }} 個のファイルに変更が加えられ、{{ release.stats.insertions }} 行の追加と {{ release.stats.deletions }} 行の削除が行われました](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) ! + + +## ダウンロード + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby とは + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 diff --git a/release.patch b/release.patch new file mode 100644 index 0000000000..903bc2c6c7 --- /dev/null +++ b/release.patch @@ -0,0 +1,41 @@ +--- a/_data/downloads.yml 2023-12-11 17:02:14 ++++ b/_data/downloads.yml 2023-12-11 17:02:14 +@@ -6,3 +6,3 @@ + +- - 3.3.0-preview3 ++ - 3.3.0-rc1 + +--- a/_data/releases.yml 2023-12-11 17:02:14 ++++ b/_data/releases.yml 2023-12-11 17:02:14 +@@ -23,2 +23,31 @@ + ++- version: 3.3.0-rc1 ++ date: 2023-12-11 ++ post: /en/news/2023/12/11/ruby-3-3-0-rc1-released/ ++ tag: v3_3_0_rc1 ++ stats: ++ files_changed: 5414 ++ insertions: 306141 ++ deletions: 183575 ++ url: ++ gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.tar.gz ++ zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.zip ++ xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.tar.xz ++ size: ++ gz: 21783575 ++ zip: 26735443 ++ xz: 16163884 ++ sha1: ++ gz: c75a860e06f27b7f69b874757417277c21d1d3f4 ++ zip: 35583453a7734216b08829ef0ec9ea1bc0d4ae7f ++ xz: 26503f9bdc7d0a05aaa9836f54d3aa9e74a9ead9 ++ sha256: ++ gz: c4ff82395a90ef76c7f906b7687026e0ab96b094dcf3a532d9ab97784a073222 ++ zip: 56dd82e1dd714f2889ca975ae7befbe005675de08839c2cc4a484de2ae65201c ++ xz: 051815637f1fa75a1edf2c54b66d5d5b69563daad777da8dc39543b7754b5290 ++ sha512: ++ gz: 265fb2ffe55af47d8349edffcebe749cc170291227cef55529fe4e67363e4e84b88daa34ffb5364a99c8a0e32110266a34c9a11d62f3bd6f6d47fa76eca641f4 ++ zip: 7fbe414c230aedc9f364512bcbc213038f8f6e4268929a559d2527e2f3e32a140b394e37098ab7e59161236eca8b89cc9e52d73a3be8d7bd44faa91681483f5d ++ xz: 82f4acfaad1dc47db27ee3eb952481a95b3474a98059e9e9f5ceb035b690d1faabe99f2ec52371c4089ed1615eb10c395f029088418fec4d26399b65b4f259b9 ++ + - version: 3.3.0-preview3 From 781fa570992c0eec6fab99728c34938534d76267 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:08:10 +0000 Subject: [PATCH 2068/2563] Bump actions/configure-pages from 3.0.6 to 4.0.0 Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 3.0.6 to 4.0.0. - [Release notes](https://github.com/actions/configure-pages/releases) - [Commits](https://github.com/actions/configure-pages/compare/f156874f8191504dae5b037505266ed5dda6c382...1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d) --- updated-dependencies: - dependency-name: actions/configure-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index a42738cda0..c39c7492ef 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -28,7 +28,7 @@ jobs: bundler-cache: true - name: Setup Pages id: pages - uses: actions/configure-pages@f156874f8191504dae5b037505266ed5dda6c382 # v3.0.6 + uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0 - name: Build with Jekyll run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: From 8dba0bcff9ef6786d82f47dd1771e12de8942879 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:08:07 +0000 Subject: [PATCH 2069/2563] Bump actions/deploy-pages from 2.0.5 to 3.0.1 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2.0.5 to 3.0.1. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/de14547edc9944350dc0481aa5b7afb08e75f254...13b55b33dd8996121833dbc1db458c793a334630) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index c39c7492ef..63ac135287 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@de14547edc9944350dc0481aa5b7afb08e75f254 # v2.0.5 + uses: actions/deploy-pages@13b55b33dd8996121833dbc1db458c793a334630 # v3.0.1 From 5425fb7b4c20eb297ff62b6a11f888d9608bf0c0 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 12 Dec 2023 18:27:30 +0800 Subject: [PATCH 2070/2563] Translate Ruby 3.3.0 rc1 released news post (zh_tw) --- .../2023-12-11-ruby-3-3-0-rc1-released.md | 297 ++++++++++++++++++ 1 file changed, 297 insertions(+) create mode 100644 zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md diff --git a/zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md new file mode 100644 index 0000000000..82d7304331 --- /dev/null +++ b/zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -0,0 +1,297 @@ +--- +layout: news_post +title: "Ruby 3.3.0-rc1 發布" +author: "naruse" +translator: "Bear Su" +date: 2023-12-11 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-rc1" | first %} +我們很高興宣布 Ruby {{ release.version }} 發佈了。 Ruby 3.3 新增了名為 Prism 的 Parser,使用了 Lrama 做為 Parser 產生器,新增了名為 RJIT,純 Ruby 開發的 JIT 編譯器,以及更多效能提升,尤其是 YJIT。 + +RC1 版本發布後,我們會盡可能避免加入 ABI 不相容的功能。如果有必要,我們將會在發佈紀錄中宣布。 + +## Prism + +* 導入 [the Prism parser](https://github.com/ruby/prism) 為預設 gem。 + * Prism 是可移植、可容錯、且可維護的 Ruby 語言遞迴下降解析器。 +* Prism 已可用於生產環境,並積極維護,您可以用來替代 Ripper。 + * 有關如何使用 Prism 的 [詳細文件](https://ruby.github.io/prism/)。 + * Prism 是 CRuby 內部使用的 C 函式庫,同時也是任何需要解析 Ruby 程式碼的工具鏈可以使用的 Ruby gem。 + * Prism API 中值得注意的方法為: + * `Prism.parse(source)` 回傳 AST 作為 ParseResult 的一部分。 + * `Prism.dump(source, filepath)` 回傳字串型別的序列化的 AST。 + * `Prism.parse_comments(source)` 回傳註解。 +* 如果您有興趣貢獻,您可以直接在 [the Prism repository](https://github.com/ruby/prism) 上建立 pull requests 或 issues。 + +## 使用 Lrama 取代 Bison + +* 使用 [Lrama LALR parser generator](https://github.com/ruby/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) 取代 Bison。 + * 如果您感興趣,請參閱 [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html)。 + * 為了維護性,Lrama internal parser 改用 Racc 產生的 LR parser。 + * 支援 Parameterizing Rules `(?, *, +)`,能夠在 Ruby parse.y 中被使用。 + +## RJIT + +* 導入純 Ruby 開發的 JIT 編譯器 RJIT 並取代 MJIT。 + * RJIT 僅支援 x86\_64 架構的 Unix 平台。 + * 不同於 MJIT,RJIT 在執行時不需要 C 編譯器。 +* RJIT 目前還在實驗階段。 + * 您在生產環境應繼續使用 YJIT。 +* 如果您有興趣為 Ruby 開發 JIT,請參閱 [k0kubun's 在 RubyKaigi 第 3 天的演講](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## YJIT + +* 自 3.2 主要效能提升 + * 改善 splat 和 rest arguments 的支援。 + * 虛擬機器分配了暫存器,用於堆疊操作。 + * 更多帶有可選參數的呼叫會被編譯。 + * 錯誤處理也會被編譯。 + * Megamorphic Object Shapes 的實體變數不再返回給直譯器。 + * 不支援的呼叫類型不再返回給直譯器。 + * 特別改善了 `Integer#!=`、`String#!=`、`Kernel#block_given?`、`Kernel#is_a?`、 + `Kernel#instance_of?`、`Module#===`。 + * 目前比 optcarrot 的直譯器快上 3 倍! +* 自 3.2 以來顯著提高了記憶體使用率 + * 已編譯的程式碼的 Metadata 使用更少的記憶體。 + * 在 ARM64 產生更緊湊的程式碼。 +* 編譯速度比 3.2 稍快一些。 +* 新增 `RubyVM::YJIT.enable`,可以在 run-time 中啟用 YJIT。 + * 您可以在不修改指令列參數或環境變數的情況下啟動 YJIT。 + * 可用於僅在您的應用程式完成啟動後啟用 YJIT。 如果您在啟動程式時停用了 YJIT,可以使用 `--yjit-disable` 來使用其他 YJIT 選項。 +* 預設停用程式碼 GC,並可使用 `--yjit-exec-mem-size` 作為新程式碼編譯停止的硬限制。 + * 可以在使用 unicorn 和 forking 的伺服器上產生更好的 copy-on-write 行為。 + * 不會因為程式碼 GC 導致效能突然下降。 + * 如果需要,您仍然可以使用 `--yjit-code-gc` 啟用程式碼 GC。 +* 發布版本現在提供透過 `--yjit-stats` 產生的 `ratio_in_yjit` 統計資訊,不再需要特殊的統計資訊或是開發版本。 +* Exit tracing 選項現在支援抽樣 + * `--trace-exits-sample-rate=N` +* 新增 `--yjit-perf` 以便於使用 Linux perf 進行性能分析。 +* 更多測試與錯誤修復 + + +### M:N thread scheduler + +* 導入 M:N thread scheduler。 [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M 個 Ruby 執行緒由 N 個原生執行緒(OS 執行緒)管理,所以能減少執行緒建立與管理的成本。 + * 由於會破壞 C-extension 的相容性,所以預設在主 Ractor 上停用 M:N thread scheduler。 + * 透過 `RUBY_MN_THREADS=1` 環境變數在主 Ractor 啟用 M:N threads。 + * 在非主 Ractors 上啟用 M:N threads。 + * 可使用 `RUBY_MAX_CPU=n` 環境變數設定 `N` 的最大值 (原生執行緒的最大數量)。預設值為 8。 + * 由於每一個 Ractor 同時只能執行一個 Ruby 執行緒,所以將使用原生執行緒的數量,即 `RUBY_MAX_CPU` 和執行 Ractor 數量中較小的值,因此單一 Ractor 應用程式 (大多數應用程式) 會使用一個原生執行緒。 + * 為支援阻塞操作,可以使用多餘 `N` 個原生執行緒。 + +## 其他值得注意的新功能 + + + +### 語言功能 + + + +## 效能提升 + +* `defined?(@ivar)` 透過 Object Shapes 提升效能。 +* 像是 `Socket.getaddrinfo` 的域名解析現在可以被中斷 (在可用 pthreads 的環境下)。 [Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * 為此,現在每當呼叫 getaddrinfo 或 getnameinfo 時都會建立一個 pthread。這會在域名解析中產生一些開銷 (在我們的實驗中約 2.5 倍)。我們預期域名解析的開銷不會對大多數應用程式造成問題,如果您相信您因為此變更收到非預期的影響,請向我們回報。 +* 垃圾收集器的一些效能提升 + * 被舊物件參考的年輕物件不再立即提升為舊世代。這顯著降低了 major GC 收集的頻率。 [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + * 新增調整變數 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` 用來控制導致觸發 major GC 收集的未受保護物件的數量。預設為 `0.01` (1%)。這顯著降低了 major GC 收集的頻率。 [Feature #19571](https://bugs.ruby-lang.org/issues/19571) + * 為幾個缺少寫入屏障(Write Barriers)的核心類型進行實作,特別是 `Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal` 等。這顯著地減少 minor GC 收集時間與 major GC 收集頻率。 + * 大部分核心類別現在使用可變寬度分配,特別是 `Hash`, `Time`, `Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`。 + 這使得這些類別更快被分配與釋放,使用更少的記憶體與減少堆疊碎片。 + * 垃圾收集器加入弱參考的支援。 [Feature #19783](https://bugs.ruby-lang.org/issues/19783) + + +## 自 3.2 以來其他值得注意的變更 + +### IRB + +IRB 進行了數項改善,包括但不限於: + +- 加強 `irb:rdbg` 整合以提供與 `pry-byebug` 相同的除錯體驗 ([文件](https://github.com/ruby/irb#debugging-with-irb))。 +- Pager 支援指令,例如 `ls` 和 `show_cmds`。 +- `ls` 和 `show_source` 指令提供了更準確和有幫助的資訊。 +- 使用 type 分析的實驗係自動補齊 ([doc](https://github.com/ruby/irb#type-based-completion))。 +- 透過新導入的類別 Reline::Face,可以更改補齊視窗中的字體顏色與字體樣式 ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md))。 + +此外,IRB 還進行了大量重構和修復了許多錯誤,以方便未來強化功能。 + +## 相容性問題 + +注意:不包含功能問題的修正。 + +* 棄用在沒有普通參數的區塊中不帶參數呼叫 `it`。 在 Ruby 3.4 中 `it` 將會參考 block 的第一個參數。 + [Feature #18980](https://bugs.ruby-lang.org/issues/18980) + +### 被移除的常數 + +下列廢棄的常數已被移除。 + + + +### 被移除的方法 + +下列廢棄的方法已被移除。 + +### 被移除的環境變數 + +下列廢棄的環境變數已被移除。 + +* 環境變數 `RUBY_GC_HEAP_INIT_SLOTS` 已經被廢棄且無法使用。請使用環境變數 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` 作為替代。 [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 相容性問題 + +### `ext/readline` 已被淘汰 + +* 我們使用純 Ruby 實作並相容於 `ext/readline` API 的 `reline`。未來我們將依賴 `reline`。如果您需要使用 `ext/readline`,您可以使用 `gem install readline-ext` 透過 rubygems.org 安裝 `ext/readline`。 +* 我們將不再需要安裝函式庫例如 `libreadline` 或 `libedit`。 + +## C API updates + +### 更新的 C APIs + +下列的 APIs 已被更新。 + + + +### 被移除的 C APIs + +下列廢棄的 APIs 已被移除。 + + + +## 標準函式庫更新 + +如果使用者 require 的 gem 已排定在未來 Ruby 版本中變更為 bundled gems,RubyGems 和 Bundler 將會顯示警告。 + +這些函式庫包括: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +加入了以下的預設 gem。 + +* prism 0.15.1 + +更新了以下的 bundled gem。 + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +下列的預設 gem 現在是 bundled gems。 + +* racc 1.7.3 + +更新了以下的 bundled gem。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +請參閱 GitHub 發布如 [Logger](https://github.com/ruby/logger/releases) 和變更紀錄來了解更多關於預設 gems 與 bundled gems 的資訊。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) 來了解更多。 + +自 Ruby 3.2.0 以來,計[{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)。 + + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 From 26d5d4ed1a4eb1d138869d8d50dfb8d293bfcde3 Mon Sep 17 00:00:00 2001 From: gaojun Date: Thu, 14 Dec 2023 09:55:14 +0800 Subject: [PATCH 2071/2563] Translate Ruby 3.3.0-rc1 Released (zh_cn) --- .../2023-12-11-ruby-3-3-0-rc1-released.md | 296 ++++++++++++++++++ 1 file changed, 296 insertions(+) create mode 100644 zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md diff --git a/zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md new file mode 100644 index 0000000000..142492d656 --- /dev/null +++ b/zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -0,0 +1,296 @@ +--- +layout: news_post +title: "Ruby 3.3.0-rc1 已发布" +author: "naruse" +translator: GAO Jun +date: 2023-12-11 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-rc1" | first %} +我们很高兴地宣布 Ruby {{ release.version }} 发布。 +Ruby 3.3 新增了 Prism 解析器,使用 Lrama 作为解析生成器,新增了纯 Ruby 实现的 JIT 编译器 RJIT,另有许多性能改进,尤其是 YJIT。 + +在 RC1 发布后,我们将尽可能避免引入 ABI 不兼容性,如果我们需要这么做,会在后续的发布说明里宣布。 + +## Prism + +* 引入 [Prism 解析器](https://github.com/ruby/prism) 为默认 gem + * Prism 是一个可移植、容错且可维护的 Ruby 语言递归下降解析器 +* Prism 已可用于生产环境,并得到了积极维护,您可以使用它来代替 Ripper + * 有关于如何使用 Prism 的 [详细文档](https://ruby.github.io/prism/) + * Prism 既是 CRuby 内部使用的 C 库,也是任何需要解析 Ruby 代码的工具可以使用的 Ruby gem + * Prism API 中值得注意的方法有: + * `Prism.parse(source)` 返回 AST 作为 ParseResult 的一部分 + * `Prism.dump(source, filepath)` 将序列化的 AST 以字符串形式返回 + * `Prism.parse_comments(source)` 返回注释 +* 如果您有兴趣贡献,可以直接在 [Prism 代码库](https://github.com/ruby/prism) 上提出拉取请求或报告问题 + +## 使用 Lrama 替代 Bison + +* 使用 [Lrama LALR 解析生成器](https://github.com/ruby/lrama) 替换 Bison [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * 如果您有兴趣,请参阅 [Ruby 解析器的未来愿景](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * Lrama 内部解析器被 Racc 生成的 LR 解析器替换,以便于维护 + * 已支持参数化规则 `(?, *, +)` ,将被用于 Ruby parse.y 中 + +## RJIT + +* 引入了纯 Ruby 的 JIT 编译器 RJIT 并替代 MJIT。 + * RJIT 仅支持 x86\_64 架构上的 Unix 平台。 + * 不同于 MJIT,RJIT在运行时不需要 C 编译器。 +* RJIT 目前仅用于实验目的。 + * 您在生产环境中应当继续使用 YJIT。 +* 如果您有兴趣为 Ruby 开发 JIT,请查看 [k0kubun 在 RubyKaigi 第 3 天 中的演讲](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## YJIT + +* 相对于 3.2 的主要性能提升 + * 改进了 splat 和 rest 参数支持。 + * 虚拟机的栈操作分配了寄存器。 + * 更多带有可选参数的调用被编译。 + * 错误处理也被编译。 + * 拥有复杂对象形状的实例变量不再退出到解释器执行。 + * 不支持的调用类型不再退出到解释器执行。 + * 特别优化了 `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===`。 + * 目前比 optcarrot 的解释器快 3 倍以上! +* 内存利用率相交 3.2 有显著提升 + * 编译代码使用的元数据使用更少的内存。 + * 在 ARM64 中的生成更紧凑的代码。 +* 编译速度现在略快于 3.2。 +* 新增 `RubyVM::YJIT.enable` 可以在运行时启用 YJIT + * 您可以在不修改命令行参数或环境变量的情况下启用 YJIT。 + * 这也可以用于在应用程序启动完成后,仅启用 YJIT 一次。当您在启动程序时禁用了 YJIT ,您可以通过 `--yjit-disable` 来使用其他 YJIT 选项。 +* 代码垃圾收集现在默认禁用,并视 `--yjit-exec-mem-size` 为新代码编译停止的硬限制。 + * 在使用 unicorn 和 forking 的服务器上提供更好的写时复制行为 + * 代码垃圾收集不会导致性能突然大幅降低 + * 您依旧可以通过 `--yjit-code-gc` 启用代码垃圾收集 +* 发布版本中,现在可以用到通过 `--yjit-stats` 产生的 `ratio_in_yjit` 统计信息,不再需要特殊的统计信息或开发版本。 +* 退出跟踪选项现在支持采样 + * `--trace-exits-sample-rate=N` +* 新增 `--yjit-perf` 以便于利用 Linux perf 进行性能分析。 +* 更彻底的测试及多个错误修复 + +### M:N 线程调度器 + +* 引入了 M:N 线程调度器。[[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M 个 Ruby 线程由 N 个原生线程(OS 线程)管理,从而降低线程创建和管理成本。 + * 由于可能会破坏 C 扩展的兼容性,因此在默认情况下,主 Ractor 上禁用 M:N 线程调度器。 + * 可通过环境变量 `RUBY_MN_THREADS=1` 在主 Ractor 上启用 M:N 线程。 + * 非主 Ractor 上启用 M:N 线程。 + * 可通过环境变量 `RUBY_MAX_CPU=n` 设置 `N` 的最大值(原生线程的最大数量)。默认值为 8。 + * 由于每个 Ractor 中只能同时运行一个 Ruby 线程,因此将使用原生线程的数量,即 `RUBY_MAX_CPU` 和运行中的 Ractor 数量中较小的值。因此单 Ractor 应用程序(大多数应用程序)将使用 1 个原生线程。 + * 为了支持阻塞操作,可以使用多于 `N` 个原生线程。 + +## 其他值得关注的新功能 + + + +### 语言 + + + +## 性能提升 + +* 根据对象形状,优化 `defined?(@ivar)`。 +* 诸如 `Socket.getaddrinfo` 的域名解析现在可以被中断(在 pthreads 可用的环境中)。[Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * 为此,现在每当调用 getaddrinfo 或 getnameinfo 时都会创建一个 pthread。 这会在域名解析中产生一些开销(在我们的实验中约为 2.5 倍)。 我们预计域名解析开销不会成为大多数应用程序的问题,但如果您观察到这种情况,或者您认为此更改造成了意外的影响,请向我们报告。 +* 垃圾收集器的一些性能改进 + * 老对象引用的年轻对象不再立即提升到老一代。这显着降低了主要垃圾收集的频率。 [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + * 新增调节变量 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` 来控制导致触发主要垃圾收集的未保护对象的数量。 + 默认设置为 `0.01` (1%)。这显著降低了主要垃圾收集的频率。 [[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) + * 为许多缺少写入屏障的核心类型实现了写入屏障,特别是`Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal`等。 + 这显着减少了次要垃圾收集时间和主要垃圾收集的频率。 + * 大多数核心类现在都使用可变宽度分配,特别是`Hash`, `Time`, `Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`。 + 这使得这些类的分配和释放速度更快,使用更少的内存并减少堆碎片。 + * 垃圾收集器中添加了对弱引用的支持。 [功能 #19783](https://bugs.ruby-lang.org/issues/19783) + + +## 自 3.2 以来,其他值得注意的变化 + +### IRB + +IRB 进行了多项增强功能,包括但不限于: + +- 高级 `irb:rdbg` 集成,提供了类似 `pry-byebug` 的调试体验([文档](https://github.com/ruby/irb#debugging-with-irb))。 +- 为 `ls` 和 `show_cmds` 这样的方法提供分页支持。 +- 为 `ls` 和 `show_source` 方法提供更准确更有用的信息。 +- 实验性的基于类型分析的自动补全功能([文档](https://github.com/ruby/irb#type-based-completion))。 +- 现在可以通过新引入的类 Reline::Face 来更改自动补全对话框中的字体颜色和字体样式([文档](https://github.com/ruby/ruby/blob/master/doc/reline/face.md))。 + +另外,IRB 还进行了广泛的重构,修复了数十个错误,以便未来的增强。 + +## 兼容性问题 + +注意:不包括 bug 修复。 + +* 在没有普通参数的 block 中对于没有参数的 `it` 调用被废弃。`it` 将在 Ruby 3.4 中作为第一个 block 参数的引用。[Feature #18980](https://bugs.ruby-lang.org/issues/18980) + +### 移除的常量 + +移除了以下已废弃的常量。 + +### 移除的方法 + +移除了以下已废除的方法。 + +### 移除的环境变量 + +移除了以下已废除的环境变量 + +* 环境变量 `RUBY_GC_HEAP_INIT_SLOTS` 被废弃,并不再产生实际作用。请使用环境变量 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` 进行替代。 [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 兼容性问题 + +### `ext/readline` 已退役 + +* 我们有了纯 Ruby 实现的 `reline`,兼容 `ext/readline` API。未来我们将依赖 `reline`。如果您需要使用 `ext/readline`,可以通过 rubygems.org 进行安装 `gem install readline-ext`。 +* 我们不再需要安装类似 `libreadline` 或 `libedit` 这样的库了。 + +## C API 更新 + +### 更新的 C API + +更新了以下 API。 + + + +### 已移除的 C API + +移除了以下废弃的 API。 + + + +## 标准库更新 + +当用户 require 在将来 Ruby 版本中成为绑定 gem 的库时,RubyGems 和 Bundler 会发出警告。 + +这些库包括: +* abbrev +* base64 +* bigdecimal +* csv +* drb +* getoptlong +* mutex_m +* nkf +* observer +* racc +* resolv-replace +* rinda +* syslog + +新增以下默认 gem。 + +* prism 0.15.1 + +更新了以下默认 gems。 + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +以下默认 gem 成为绑定 gem + +* racc 1.7.3 + +更新了以下绑定 gems。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +有关默认 gems 和 绑定 gems 的细节,可以参考 GitHub 上的发布,例如 [logger gem](https://github.com/ruby/logger/releases) 或相应的变更日志。 + +更多详情,可参见 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +或 [提交日志](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})。 + +自 Ruby 3.2.0 以来,[{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+), 删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)! + + +## 下载 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 什么是 Ruby + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发,现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是Web开发领域。 From 480a39e6152d797494ef8153b01478322c6c8f32 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 14 Dec 2023 11:45:18 +0900 Subject: [PATCH 2072/2563] Translate "Ruby 3.3.0-rc1 Released" (ko) (#3153) * cp {en,ko}/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md * Translate Ruby 3.3.0-rc1 released to ko * Apply suggestions from code review Co-authored-by: marocchino --------- Co-authored-by: marocchino --- .../2023-12-11-ruby-3-3-0-rc1-released.md | 315 ++++++++++++++++++ 1 file changed, 315 insertions(+) create mode 100644 ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md diff --git a/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md new file mode 100644 index 0000000000..9bb87ee469 --- /dev/null +++ b/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -0,0 +1,315 @@ +--- +layout: news_post +title: "Ruby 3.3.0-rc1 릴리스" +author: "naruse" +translator: "shia" +date: 2023-12-11 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-rc1" | first %} +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3은 Prism이라는 이름의 새 파서를 추가하고, 파서 생성기로 Lrama를 사용하며, RJIT으로 명명된 새로운 순수 Ruby JIT 컴파일러를 추가하고, 특히 YJIT에서 많은 성능 향상이 있습니다. + +RC1 릴리스 이후로 ABI의 하위호환성을 깨트리는 변경은 가급적 피할 것입니다. 그래야 한다면, 릴리스 노트에서 해당 내용을 발표할 예정입니다. + +## Prism + +* [Prism 파서](https://github.com/ruby/prism)를 기본 gem에 추가했습니다. + * Prism은 Ruby 언어를 위한 이식 가능하고, 에러 내성이 있으며 유지 보수 가능한 재귀 하향 파서입니다. +* Prism은 프로덕션 환경에서 사용할 준비가 되어있으며 활발하게 유지보수되고 있으므로 Ripper 대신 이용할 수 있습니다. + * Prism 사용 방법에 대한 [광범위한 문서](https://ruby.github.io/prism/)가 있습니다. + * Prism은 CRuby에서 내부적으로 사용하는 C 라이브러리이자 Ruby 코드를 구문 분석해야 하는 모든 도구에서 사용할 수 있는 Ruby gem입니다. + * Prism API에서 주목할 만한 메서드는 다음과 같습니다. + * `Prism.parse(source)`는 ParseResult의 일부로 AST를 반환합니다. + * `Prism.dump(source, filepath)`는 문자열로 직렬화된 AST를 반환합니다. + * `Prism.parse_comments(source)`는 주석을 반환합니다. +* 기여에 관심이 있다면 [Prism 저장소](https://github.com/ruby/prism)에서 직접 풀 리퀘스트나 이슈를 만들 수 있습니다. + +## Bison을 Lrama로 대체 + +* Bison 대신 [Lrama LALR 파서 생성기](https://github.com/yui-knk/lrama)를 사용하도록 변경했습니다. [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * 관심이 있다면 [Ruby 파서의 미래 비전](https://rubykaigi.org/2023/presentations/spikeolaf.html)을 참고하세요. + * 유지보수성을 위해 Lrama 내부 구문 분석기가 Racc에서 생성한 LR 구문 분석기로 대체되었습니다. + * 매개변수화 규칙 `(?, *, +)`를 지원하며, Ruby의 parse.y에서 사용될 예정입니다. + +## RJIT + +* 순수 Ruby JIT 컴파일러 RJIT을 도입하고 MJIT을 대체했습니다. + * RJIT은 Unix 플랫폼에서 x86-64 아키텍처만 지원합니다. + * MJIT과 달리 런타임에 C 컴파일러가 필요하지 않습니다. +* RJIT은 실험 목적으로 존재합니다. + * 프로덕션 환경에서는 YJIT을 계속 사용해야 합니다. +* Ruby용 JIT 개발에 관심이 있다면 [RubyKaigi 2023 3일 차에 있었던 k0kubun의 발표](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)를 확인하세요. + +## YJIT + +* 3.2 버전 대비 주요 성능 개선 사항 + * 스플랫과 나머지 인자 지원이 개선되었습니다. + * 가상 머신의 스택 연산을 위해 레지스터가 할당됩니다. + * 선택적 인수가 포함된 더 많은 호출이 컴파일됩니다. + * 예외 처리기도 컴파일됩니다. + * 클래스의 인스턴스 변수가 가지는 객체 형상의 조합이 매우 복잡한 경우에도 + 컴파일되기 전의 바이트 코드로 전환되지 않습니다. + * 지원되지 않는 호출 타입은 이제 컴파일되기 전의 바이트 코드로 전환되지 않습니다. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===`은 특별히 최적화되었습니다. + * 이제 optcarrot에서 인터프리터보다 3배 이상 빠릅니다! +* 3.2보다 메모리 사용량이 크게 개선되었습니다. + * 컴파일된 코드의 메타데이터가 훨씬 적은 메모리를 사용합니다. + * ARM64에서 더 작은 코드를 생성합니다. +* 3.2보다 컴파일 속도가 약간 개선되었습니다. +* 실행 시간에 YJIT을 활성화할 수 있는 `RubyVM::YJIT.enable`이 추가됩니다. + * 실행 명령의 인수나 환경 변수의 변경 없이 YJIT을 실행할 수 있습니다. + * 애플리케이션 부팅이 완료된 후에 YJIT를 활성화하는 데에도 사용할 수 있습니다. + 부팅 시 YJIT를 비활성화한 상태에서 다른 YJIT 옵션을 사용하려는 경우 `--yjit-disable`을 사용할 수 있습니다. +* 코드 GC는 이제 비활성화된 상태로 시작하며, `--yjit-exec-mem-size`를 새 코드 컴파일을 멈추는 + 최대 상한으로 취급합니다. + * unicorn과 포크를 사용하는 서버에서 더 나은 쓰기 시 복사 동작을 생성할 수 있습니다. + * 코드 GC로 인한 급격한 성능 하락이 사라집니다. + * 필요하다면 `--yjit-code-gc`로 코드 GC를 활성화할 수 있습니다. +* `--yjit-stats`로부터 생성된 `ratio_in_yjit` 통계는 릴리스 빌드에서도 이용 가능하며, + 대부분의 통계에 접근하는 데 특수한 통계나 개발 빌드는 더 이상 필요하지 않습니다. +* 종료 추적 옵션이 이제 샘플링을 지원합니다. + * `--trace-exits-sample-rate=N` +* Linux perf로 프로파일링을 용이하게 할 수 있도록 `--yjit-perf`가 추가됩니다. +* 보다 철저한 테스트와 여러 버그 수정 + + +### M:N 스레드 스케쥴러 + +* M:N 스레드 스케쥴러가 추가됩니다. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M개의 Ruby 스레드를 N개의 네이티브 스레드(OS 스레드)로 관리하므로 스레드의 생성, 관리 비용이 절감됩니다. + * C 확장 호환성에 문제가 발생할 가능성이 있으므로, 주 Ractor에서의 기본 설정은 비활성입니다. + * `RUBY_MN_THREADS=1` 환경 변수를 사용해 주 Ractor에서 M:N 스레드를 활성화할 수 있습니다. + * M:N 스레드는 주 Ractor가 아닌 Ractor에서 활성화되어 있습니다. + * `RUBY_MAX_CPU=n` 환경 변수는 `N`(네이티브 스레드의 최대 개수)의 최댓값을 지정합니다. 기본값은 8입니다. + * 하나의 Ractor에서는 하나의 Ruby 스레드만 실행 가능하므로 실제로 사용되는 네이티브 스레드의 개수는 `RUBY_MAX_CPU`에서 지정한 숫자나 실행 중인 Ractor의 개수보다 작습니다. 그러므로 (대다수를 차지하는) 단일 Ractor 애플리케이션에서는 하나의 네이티브 스레드를 사용합니다. + * 블로킹 동작을 처리하기 위해, `N`개 이상의 네이티브 스레드가 사용될 수 있습니다. + +## 그 이외의 주목할 만한 새 기능 + + + +### 언어 + + +## 성능 향상 + +* `defined?(@ivar)`가 객체 형상에 맞게 최적화됩니다. +* `Socket.getaddrinfo`와 같은 이름 해결을 (POSIX 스레드가 사용 가능한 환경에서) 중단할 수 있게 됩니다. [Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * 이를 위해, getaddrinfo나 getnameinfo를 호출할 때마다 POSIX 스레드를 생성합니다. 이 영향으로 이름 해결에 약간의 오버헤드가 발생합니다(실험에서는 약 2.5배). 대부분의 애플리케이션에서 이름 해결의 오버헤드가 문제가 될 것이라고는 생각하지 않습니다만, 만약 그러한 현상을 확인하거나, 이 변경으로 인한 의도치 않은 영향을 발견했다면 부디 알려주세요. +* 가비지 컬렉터의 몇몇 성능 향상 + * 오래된 객체가 참조하는 어린 객체는 이제 즉시 오래된 객체로 마킹되지 않습니다. + 이 동작은 메이저 GC의 빈도를 상당히 낮춰줍니다. + [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + * 메이져 GC를 야기하는 보호받지 않은 객체의 숫자를 제어하는 + 새로운 변수 `REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO`가 추가되었습니다. + 기본값은 `0.01` (1%)입니다. 이는 메이저 GC의 빈도를 상당히 낮춰줍니다. + [[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) + * `Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal` 등의 + 주요 타입에 부족했던 쓰기 보호가 구현되었습니다. + 이는 마이너 GC에 걸리는 시간과 메이저 GC 빈도를 상당히 줄여줍니다. + * `Hash`, `Time`, `Thread::Backtrace`, `Thread::Backtrace::Location`, + `File::Stat`, `Method` 등의 대부분의 주요 클래스는 이제 가변 폭 할당을 사용합니다. + 이는 해당 클래스의 할당 및 할당 해제 속도를 빠르게 만들며, 메모리 사용량과 + 힙 파편화를 줄여줍니다. + * 가비지 컬렉터에 약한 참조가 추가됩니다. [Feature #19783](https://bugs.ruby-lang.org/issues/19783) + + +## 그 이외의 3.2 이후로 주목할 만한 변경 + +### IRB + +IRB에 여러 개선 사항이 추가됩니다. 다음과 같은 내용이 포함됩니다. + +- 고급 `irb:rdbg` 통합 기능은 `pry-byebug`와 동등한 디버깅 경험을 제공합니다. ([문서](https://github.com/ruby/irb#debugging-with-irb)). +- `ls`와 `show_source`, `show_cmds`와 같은 명령어에서 페이징을 지원합니다. +- `ls`, `show_source` 명령에서 더 정확하고 유용한 정보를 제공합니다. +- 타입 분석을 사용하는 실험적인 자동 완성 기능을 제공합니다. ([문서](https://github.com/ruby/irb#type-based-completion)). +- Reline::Face 클래스의 도입으로 자동완성 다이얼로그의 글씨 색과 스타일이 변경 가능합니다. ([문서](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +또한, IRB는 광범위한 리팩토링을 거쳤으며, 향후 개선이 용이하도록 많은 버그 수정이 이루어졌습니다. + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +* 블록에서 매개변수 없이 `it`을 호출하는 기능은 삭제 예정입니다. + Ruby 3.4부터 `it`은 첫 번째 블록 인수를 가리킵니다. + [Feature #18980](https://bugs.ruby-lang.org/issues/18980) + +### 삭제된 상수 + +폐기 예정이었던 상수가 삭제됩니다. + + + +### 삭제된 메서드 + +폐기 예정이었던 메서드가 삭제됩니다. + +### 삭제된 환경 변수 + +폐기 예정이었던 환경 변수가 삭제됩니다. + +* 환경 변수 `RUBY_GC_HEAP_INIT_SLOTS`는 폐기 예정이었으며 아무 효과도 없습니다. 대신 환경 변수 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS`를 사용해 주세요. [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 호환성 문제 + +### `ext/readline` 폐기 + +* 우리는 `ext/readline` API와 호환되는 순수 Ruby 구현인 `reline`을 가지고 있습니다. 앞으로는 `reline`에 의존할 것입니다. `ext/readline`을 사용해야 하는 경우, `gem install readline-ext`를 사용하여 rubygems.org를 통해 `ext/readline`을 설치할 수 있습니다. +* 이제 더 이상 `libreadline` 또는 `libedit`과 같은 라이브러리를 설치할 필요가 없습니다. + +## C API 변경 + +### 갱신된 C API + +다음 API가 갱신됩니다. + + + +### 삭제된 C API + +다음 폐기 예정인 API가 삭제됩니다. + + + +## 표준 라이브러리 갱신 + +사용자가 미래의 Ruby 버전에서 내장될 예정의 gem을 직접 불러올 때 RubyGems와 Bundler가 경고 문구를 출력합니다. + +다음 라이브러리가 대상입니다. + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +다음 기본 gem이 추가되었습니다. + +* prism 0.15.1 + +다음 기본 gem이 갱신되었습니다. + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +다음 기본 gem이 내장됩니다. + +* racc 1.7.3 + +다음 내장 gem이 갱신됩니다. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은 +GitHub 릴리스 또는 변경 로그에서 확인하세요. + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.2.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. From b2c3b31bfc90c4427188a2559863766c879499d1 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 14 Dec 2023 21:22:28 +0900 Subject: [PATCH 2073/2563] Fix typo --- en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 73d5ed01f0..a8f5d4e3f4 100644 --- a/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -64,7 +64,7 @@ After the release of RC1, we will avoid introducing ABI incompatibilities wherev done booting. `--yjit-disable` can be used if you want to use other YJIT options while disabling YJIT at boot. * Code GC is now disabled by default, and `--yjit-exec-mem-size` is treated - as a hard limit where copilation of new code stops. + as a hard limit where compilation of new code stops. * Better copy-on-write behavior on servers using unicorn and forking * No sudden drops in performance due to code GC. * You can still enable code GC if desired with `--yjit-code-gc` From c9c9e4fd2a0cc72b198b324adb26086c4ecc2615 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Thu, 14 Dec 2023 15:28:38 -0500 Subject: [PATCH 2074/2563] There was an extra parameter in the Prism API in the release notes. --- en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 9a61525deb..e153be77a4 100644 --- a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -19,7 +19,7 @@ We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 a * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code * Notable methods in the Prism API are: * `Prism.parse(source)` which returns the AST as part of a ParseResult - * `Prism.dump(source, filepath)` which returns the serialized AST as a String + * `Prism.dump(source)` which returns the serialized AST as a String * `Prism.parse_comments(source)` which returns the comments * You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing diff --git a/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 73d5ed01f0..14accc9914 100644 --- a/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -21,7 +21,7 @@ After the release of RC1, we will avoid introducing ABI incompatibilities wherev * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code * Notable methods in the Prism API are: * `Prism.parse(source)` which returns the AST as part of a ParseResult - * `Prism.dump(source, filepath)` which returns the serialized AST as a String + * `Prism.dump(source)` which returns the serialized AST as a String * `Prism.parse_comments(source)` which returns the comments * You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing diff --git a/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 4a8b7d5bbb..8b9dadf07e 100644 --- a/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -19,7 +19,7 @@ Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismとい * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code * Notable methods in the Prism API are: * `Prism.parse(source)` which returns the AST as part of a ParseResult - * `Prism.dump(source, filepath)` which returns the serialized AST as a String + * `Prism.dump(source)` which returns the serialized AST as a String * `Prism.parse_comments(source)` which returns the comments * You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing diff --git a/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 55bf91d8c3..ed405ac8f0 100644 --- a/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -21,7 +21,7 @@ Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismとい * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code * Notable methods in the Prism API are: * `Prism.parse(source)` which returns the AST as part of a ParseResult - * `Prism.dump(source, filepath)` which returns the serialized AST as a String + * `Prism.dump(source)` which returns the serialized AST as a String * `Prism.parse_comments(source)` which returns the comments * You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing diff --git a/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 3a9204dce9..2decb5186a 100644 --- a/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -19,7 +19,7 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3 * Prism은 CRuby에서 내부적으로 사용하는 C 라이브러리이자 Ruby 코드를 구문 분석해야 하는 모든 도구에서 사용할 수 있는 Ruby gem입니다. * Prism API에서 주목할 만한 메서드는 다음과 같습니다. * `Prism.parse(source)`는 ParseResult의 일부로 AST를 반환합니다. - * `Prism.dump(source, filepath)`는 문자열로 직렬화된 AST를 반환합니다. + * `Prism.dump(source)`는 문자열로 직렬화된 AST를 반환합니다. * `Prism.parse_comments(source)`는 주석을 반환합니다. * 기여에 관심이 있다면 [Prism 저장소](https://github.com/ruby/prism)에서 직접 풀 리퀘스트나 이슈를 만들 수 있습니다. diff --git a/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 9bb87ee469..0d95d3867a 100644 --- a/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -21,7 +21,7 @@ RC1 릴리스 이후로 ABI의 하위호환성을 깨트리는 변경은 가급 * Prism은 CRuby에서 내부적으로 사용하는 C 라이브러리이자 Ruby 코드를 구문 분석해야 하는 모든 도구에서 사용할 수 있는 Ruby gem입니다. * Prism API에서 주목할 만한 메서드는 다음과 같습니다. * `Prism.parse(source)`는 ParseResult의 일부로 AST를 반환합니다. - * `Prism.dump(source, filepath)`는 문자열로 직렬화된 AST를 반환합니다. + * `Prism.dump(source)`는 문자열로 직렬화된 AST를 반환합니다. * `Prism.parse_comments(source)`는 주석을 반환합니다. * 기여에 관심이 있다면 [Prism 저장소](https://github.com/ruby/prism)에서 직접 풀 리퀘스트나 이슈를 만들 수 있습니다. diff --git a/zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 2513b1fca0..75e3eb44af 100644 --- a/zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -20,7 +20,7 @@ Ruby 3.3 新增了 Prism 解析器,使用 Lrama 作为解析生成器,新增 * Prism 既是 CRuby 内部使用的 C 库,也是任何需要解析 Ruby 代码的工具可以使用的 Ruby gem * Prism API 中值得注意的方法有: * `Prism.parse(source)` 返回 AST 作为 ParseResult 的一部分 - * `Prism.dump(source, filepath)` 将序列化的 AST 以字符串形式返回 + * `Prism.dump(source)` 将序列化的 AST 以字符串形式返回 * `Prism.parse_comments(source)` 返回注释 * 如果您有兴趣贡献,可以直接在 [Prism 代码库](https://github.com/ruby/prism) 上提出拉取请求或报告问题 diff --git a/zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 142492d656..811d772dc8 100644 --- a/zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -22,7 +22,7 @@ Ruby 3.3 新增了 Prism 解析器,使用 Lrama 作为解析生成器,新增 * Prism 既是 CRuby 内部使用的 C 库,也是任何需要解析 Ruby 代码的工具可以使用的 Ruby gem * Prism API 中值得注意的方法有: * `Prism.parse(source)` 返回 AST 作为 ParseResult 的一部分 - * `Prism.dump(source, filepath)` 将序列化的 AST 以字符串形式返回 + * `Prism.dump(source)` 将序列化的 AST 以字符串形式返回 * `Prism.parse_comments(source)` 返回注释 * 如果您有兴趣贡献,可以直接在 [Prism 代码库](https://github.com/ruby/prism) 上提出拉取请求或报告问题 diff --git a/zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index f9d6e0c6d4..e0f80a5ac8 100644 --- a/zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -19,7 +19,7 @@ lang: zh_tw * Prism 是 CRuby 內部使用的 C 函式庫,同時也是任何需要解析 Ruby 程式碼的工具鏈可以使用的 Ruby gem。 * Prism API 中值得注意的方法為: * `Prism.parse(source)` 回傳 AST 作為 ParseResult 的一部分。 - * `Prism.dump(source, filepath)` 回傳字串型別的序列化的 AST。 + * `Prism.dump(source)` 回傳字串型別的序列化的 AST。 * `Prism.parse_comments(source)` 回傳註解。 * 如果您有興趣貢獻,您可以直接在 [the Prism repository](https://github.com/ruby/prism) 上建立 pull requests 或 issues。 diff --git a/zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 82d7304331..71987abe53 100644 --- a/zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -21,7 +21,7 @@ RC1 版本發布後,我們會盡可能避免加入 ABI 不相容的功能。 * Prism 是 CRuby 內部使用的 C 函式庫,同時也是任何需要解析 Ruby 程式碼的工具鏈可以使用的 Ruby gem。 * Prism API 中值得注意的方法為: * `Prism.parse(source)` 回傳 AST 作為 ParseResult 的一部分。 - * `Prism.dump(source, filepath)` 回傳字串型別的序列化的 AST。 + * `Prism.dump(source)` 回傳字串型別的序列化的 AST。 * `Prism.parse_comments(source)` 回傳註解。 * 如果您有興趣貢獻,您可以直接在 [the Prism repository](https://github.com/ruby/prism) 上建立 pull requests 或 issues。 From ce6efe0ffa33843a3f37180511796e90c4da512a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 15:25:24 +0000 Subject: [PATCH 2075/2563] Bump ruby/setup-ruby from 1.161.0 to 1.162.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.161.0 to 1.162.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/8575951200e472d5f2d95c625da0c7bec8217c42...af848b40be8bb463a751551a1180d74782ba8a72) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a678cb132a..be65b9757d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 + uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # v1.162.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 63ac135287..42bf61961d 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 + uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # v1.162.0 with: ruby-version: '3.2' bundler-cache: true From f668985bdbe0b7b4f1afda34b57b3c9e23e1f082 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Mon, 25 Dec 2023 15:52:00 +0900 Subject: [PATCH 2076/2563] Ruby 3.3.0 Released (#3159) --- _data/branches.yml | 4 +- _data/downloads.yml | 2 +- _data/releases.yml | 29 ++ .../_posts/2023-12-25-ruby-3-3-0-released.md | 305 ++++++++++++++++++ .../_posts/2023-12-25-ruby-3-3-0-released.md | 275 ++++++++++++++++ 5 files changed, 612 insertions(+), 3 deletions(-) create mode 100644 en/news/_posts/2023-12-25-ruby-3-3-0-released.md create mode 100644 ja/news/_posts/2023-12-25-ruby-3-3-0-released.md diff --git a/_data/branches.yml b/_data/branches.yml index 54cfc1f133..6925a4f8c8 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -9,8 +9,8 @@ # eol_date: date of EOL (YYYY-MM-DD) - name: 3.3 - status: preview - date: + status: normal maintenance + date: 2023-12-25 eol_date: - name: 3.2 diff --git a/_data/downloads.yml b/_data/downloads.yml index 39c843acd5..f12cf5c53a 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,10 +4,10 @@ # optional preview: - - 3.3.0-rc1 stable: + - 3.3.0 - 3.2.2 - 3.1.4 diff --git a/_data/releases.yml b/_data/releases.yml index 3b8a987f13..2a838b0b6b 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,35 @@ # 3.3 series +- version: 3.3.0 + date: 2023-12-25 + post: /en/news/2023/12/25/ruby-3-3-0-released/ + tag: v3_3_0 + stats: + files_changed: 5532 + insertions: 326851 + deletions: 185793 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.xz + size: + gz: 22065999 + zip: 26935108 + xz: 16345456 + sha1: + gz: 1a7e56851bf29bda1183aca99b3b323c58e0187b + zip: a433eef1d7f96daeaf3b4cb842d0ed2dd82e7dc1 + xz: c8f68e1b0a114b90460a0b44165a3b2f540fa5b6 + sha256: + gz: 96518814d9832bece92a85415a819d4893b307db5921ae1f0f751a9a89a56b7d + zip: 0e6563f679dd3694732eb3addf9de681c67b584602ac574376b60e7a509d2cd8 + xz: 676b65a36e637e90f982b57b059189b3276b9045034dcd186a7e9078847b975b + sha512: + gz: 26074009b501fc793d71a74e419f34a6033c9353433919ca74ba2d24a3de432dbb11fd92c2bc285f0e4d951a6d6c74bf5b69a2ab36200c8c26e871746d6e0fc6 + zip: a94a85937a14b217c1f4b90d24185289ed4aee79239c4f3eecf8034d3fd34e65ee8d66869473857ed153067188adc9b70c0471e4ebe842c9f98ef60c34090450 + xz: 7959c5753bfa0bfc4d6d74060869aabbe9815c1c97930659da11b917ee0803ddbbd80e869e00c48b8694b4ba48709c3b6493fd045568e36e902616c35ababf01 + - version: 3.3.0-rc1 date: 2023-12-11 post: /en/news/2023/12/11/ruby-3-3-0-rc1-released/ diff --git a/en/news/_posts/2023-12-25-ruby-3-3-0-released.md b/en/news/_posts/2023-12-25-ruby-3-3-0-released.md new file mode 100644 index 0000000000..1443d140e4 --- /dev/null +++ b/en/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -0,0 +1,305 @@ +--- +layout: news_post +title: "Ruby 3.3.0 Released" +author: "naruse" +translator: +date: 2023-12-25 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.3.0" | first %} +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new parser named Prism, uses Lrama as a parser generator, adds a new pure-Ruby JIT compiler named RJIT, and many performance improvements especially YJIT. + +## Prism + +* Introduced [the Prism parser](https://github.com/ruby/prism) as a default gem + * Prism is a portable, error tolerant, and maintainable recursive descent parser for the Ruby language +* Prism is production ready and actively maintained, you can use it in place of Ripper + * There is [extensive documentation](https://ruby.github.io/prism/) on how to use Prism + * Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code + * Notable methods in the Prism API are: + * `Prism.parse(source)` which returns the AST as part of a parse result object + * `Prism.parse_comments(source)` which returns the comments + * `Prism.parse_success?(source)` which returns true if there are no errors +* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing +* You can now use `ruby --parser=prism` or `RUBYOPT="--parser=prism"` to experiment with the Prism compiler. Please note that this flag is for debugging only. + +## Use Lrama instead of Bison + +* Replace Bison with [Lrama LALR parser generator](https://github.com/ruby/lrama) [[Feature #19637]](https://bugs.ruby-lang.org/issues/19637) + * If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * Lrama internal parser is replaced with LR parser generated by Racc for maintainability + * Parameterizing Rules `(?, *, +)` are supported, it will be used in Ruby parse.y + +## YJIT + +* Major performance improvements over Ruby 3.2 + * Support for splat and rest arguments has been improved. + * Registers are allocated for stack operations of the virtual machine. + * More calls with optional arguments are compiled. Exception handlers are also compiled. + * Unsupported call types and megamorphic call sites no longer exit to the interpreter. + * Basic methods like Rails `#blank?` and + [specialized `#present?`](https://github.com/rails/rails/pull/49909) are inlined. + * `Integer#*`, `Integer#!=`, `String#!=`, `String#getbyte`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?`, and `Module#===` + are specially optimized. + * Compilation speed is now slightly faster than Ruby 3.2. + * Now more than 3x faster than the interpreter on Optcarrot! +* Significantly improved memory usage over Ruby 3.2 + * Metadata for compiled code uses a lot less memory. + * `--yjit-call-threshold` is automatically raised from 30 to 120 + when the application has more than 40,000 ISEQs. + * `--yjit-cold-threshold` is added to skip compiling cold ISEQs. + * More compact code is generated on Arm64. +* Code GC is now disabled by default + * `--yjit-exec-mem-size` is treated as a hard limit where compilation of new code stops. + * No sudden drops in performance due to code GC. + Better copy-on-write behavior on servers reforking with + [Pitchfork](https://github.com/shopify/pitchfork). + * You can still enable code GC if desired with `--yjit-code-gc` +* Add `RubyVM::YJIT.enable` that can enable YJIT at run-time + * You can start YJIT without modifying command-line arguments or environment variables. + Rails 7.2 will [enable YJIT by default](https://github.com/rails/rails/pull/49947) + using this method. + * This can also be used to enable YJIT only once your application is + done booting. `--yjit-disable` can be used if you want to use other + YJIT options while disabling YJIT at boot. +* More YJIT stats are available by default + * `yjit_alloc_size` and several more metadata-related stats are now available by default. + * `ratio_in_yjit` stat produced by `--yjit-stats` is now available in release builds, + a special stats or dev build is no longer required to access most stats. +* Add more profiling capabilities + * `--yjit-perf` is added to facilitate profiling with Linux perf. + * `--yjit-trace-exits` now supports sampling with `--yjit-trace-exits-sample-rate=N` +* More thorough testing and multiple bug fixes + +## RJIT + +* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT. + * RJIT supports only x86-64 architecture on Unix platforms. + * Unlike MJIT, it doesn't require a C compiler at runtime. +* RJIT exists only for experimental purposes. + * You should keep using YJIT in production. +* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## M:N thread scheduler + +* M:N thread scheduler was introduced. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M Ruby threads are managed by N native threads (OS threads) so the thread creation and management cost are reduced. + * It can break C-extension compatibility so that M:N thread scheduler is disabled on the main Ractor by default. + * `RUBY_MN_THREADS=1` environment variable enables M:N threads on the main Ractor. + * M:N threads are always enabled on non-main Ractors. + * `RUBY_MAX_CPU=n` environment variable sets maximum number of `N` (maximum number of native threads). The default value is 8. + * Since only one Ruby thread per Ractor can run at the same time, the number of native threads will be used, which is the smaller of the number specified in `RUBY_MAX_CPU` and the number of running Ractors. So that single Ractor applications (most of applications) will only use 1 native thread. + * To support blocking operations, more than `N` native threads can be used. + +## Performance improvements + +* `defined?(@ivar)` is optimized with Object Shapes. +* Name resolution such as `Socket.getaddrinfo` can now be interrupted (in environments where pthreads are available). [[Feature #19965]](https://bugs.ruby-lang.org/issues/19965) +* Several performance improvements to the Garbage Collector + * Young objects referenced by old objects are no longer immediately + promoted to the old generation. This significantly reduces the frequency of + major GC collections. [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + * A new `REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` tuning variable was + introduced to control the number of unprotected objects cause a major GC + collection to trigger. The default is set to `0.01` (1%). This significantly + reduces the frequency of major GC collection. [[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) + * Write Barriers were implemented for many core types that were missing them, + notably `Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal` + and several others. This significantly reduces minor GC collection time and major + GC collection frequency. + * Most core classes are now using Variable Width Allocation, notably `Hash`, `Time`, + `Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`. + This makes these classes faster to allocate and free, use less memory and reduce + heap fragmentation. + * Support for weak references has been added to the garbage collector. [[Feature #19783]](https://bugs.ruby-lang.org/issues/19783) + + +## Other notable changes since 3.2 + +### IRB + +IRB has received several enhancements, including but not limited to: + +- Advanced `irb:rdbg` integration that provides an equivalent debugging experience to `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Pager support for `ls`, `show_source` and `show_cmds` commands. +- More accurate and helpful information provided by the `ls` and `show_source` commands. +- Experimental autocompletion using type analysis ([doc](https://github.com/ruby/irb#type-based-completion)). +- It is now possible to change the font color and font style in the completion dialog by a newly introduced class Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +In addition, IRB has also undergone extensive refactoring and received dozens of bug fixes to facilitate easier future enhancements. + +## Compatibility issues + +Note: Excluding feature bug fixes. + +* `it` calls without arguments in a block with no ordinary parameters are + deprecated. `it` will be a reference to the first block parameter in Ruby 3.4. + [[Feature #18980]](https://bugs.ruby-lang.org/issues/18980) + +### Removed environment variables + +The following deprecated methods are removed. + +* Environment variable `RUBY_GC_HEAP_INIT_SLOTS` has been deprecated and is a no-op. Please use environment variables `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` instead. [[Feature #19785]](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib compatibility issues + +### `ext/readline` is retired + +* We have `reline` that is pure Ruby implementation compatible with `ext/readline` API. We rely on `reline` in the future. If you need to use `ext/readline`, you can install `ext/readline` via rubygems.org with `gem install readline-ext`. +* We no longer need to install libraries like `libreadline` or `libedit`. + +## Standard library updates + +RubyGems and Bundler warn if users do `require` the following gems without adding them to Gemfile or gemspec. This is because they will become the bundled gems in the future version of Ruby. + +This warning is suppressed if you use bootsnap gem. We recoomend to run your application with `DISABLE_BOOTSNAP=1` environmental variable at least once. This is limitation of this version. + +Targeted libraries are: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +The following default gem is added. + +* prism 0.19.0 + +The following default gems are updated. + +* RubyGems 3.5.3 +* abbrev 0.1.2 +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.3 +* cgi 0.4.1 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* error_highlight 0.6.0 +* etc 1.4.3 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.7.1 +* io-nonblock 0.3.0 +* io-wait 0.3.1 +* ipaddr 1.2.6 +* irb 1.11.0 +* json 2.7.1 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.1 +* open3 0.2.1 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.2 +* rdoc 6.6.2 +* readline 0.0.4 +* reline 0.4.1 +* resolv 0.3.0 +* rinda 0.2.0 +* securerandom 0.3.1 +* set 1.1.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.1.0 +* strscan 3.0.7 +* syntax_suggest 2.0.0 +* syslog 0.1.2 +* tempfile 0.2.1 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +The following bundled gem is promoted from default gems. + +* racc 1.7.3 + +The following bundled gems are updated. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-ftp 0.3.3 +* net-imap 0.4.9 +* net-smtp 0.4.0 +* rbs 3.4.0 +* typeprof 0.21.9 +* debug 1.9.1 + +See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or +changelog for details of the default gems or bundled gems. + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +since Ruby 3.2.0! + +Merry Christmas, Happy Holidays, and enjoy programming with Ruby 3.3! + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. diff --git a/ja/news/_posts/2023-12-25-ruby-3-3-0-released.md b/ja/news/_posts/2023-12-25-ruby-3-3-0-released.md new file mode 100644 index 0000000000..d43acf45c1 --- /dev/null +++ b/ja/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -0,0 +1,275 @@ +--- +layout: news_post +title: "Ruby 3.3.0 リリース" +author: "naruse" +translator: +date: 2023-12-25 00:00:00 +0000 +lang: ja +--- + +{% assign release = site.data.releases | where: "version", "3.3.0" | first %} +Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismという新しいパーサーの追加、新しいパーサージェネレーターであるLramaによるBisonの置き換え、RJITという新たなJITの仕組みを追加、YJITの高速化など様々な改善が行われています。 + +## Prism + +* default gemとして[Prismパーサ](https://github.com/ruby/prism)を導入しました。 + * Prismは、Ruby言語のためのポータブルで、エラートレラントで、保守可能な再帰下降パーサです。 +* Prismは本番環境で使用する準備が整っており、積極的にメンテナンスされています。Ripperの代わりに使用することができます。 + * Prismの使用方法については、[詳細なドキュメンテーション](https://ruby.github.io/prism/)があります。 + * Prismは、CRubyに内部的に使用されるCライブラリと、Rubyコードを解析する必要がある任意のツールに使用できるRuby gemの2つのコンポーネントを持っています。 + * Prism APIの注目すべきメソッドには以下のものがあります。 + * `Prism.parse(source)` は、パース結果オブジェクトの一部としてASTを返します。 + * `Prism.parse_comments(source)` はコメントを返します。 + * `Prism.parse_success?(source)` はエラーがない場合にtrueを返します。 +* Prism開発への貢献に興味がある場合は、[Prismリポジトリ](https://github.com/ruby/prism)に直接Pull RequestやIssueを作成することができます。 +* 今後は `ruby --parser=prism` または `RUBYOPT="--parser=prism"` を使用してPrismコンパイラを試すことができます。ただし、このフラグはデバッグ用であることに注意してください。 + +## Bisonの代わりにLramaを使用 + +* Bisonを[Lrama LALRパーサジェネレータ](https://github.com/ruby/lrama)に置き換えました。 [[Feature #19637]](https://bugs.ruby-lang.org/issues/19637) + * 興味がある方は、[The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html)という発表をご覧ください。 + * 参考:[Ruby Parser開発日誌 (5) - Lrama LALR (1) parser generatorを実装した](https://yui-knk.hatenablog.com/entry/2023/03/13/101951) + * Lramaの内部パーサは、保守性のためにRaccによって生成されたLRパーサに置き換えられました。 +* パラメータ化ルール `(?, *, +)` がサポートされ、CRubyのparse.yで使用されます。 + +## YJIT + +* 大幅なパフォーマンスの改善 + * `*` を使った引数のサポートが改善されました。 + * 仮想マシンのスタック操作のためにレジスタが使われるようになりました。 + * オプション引数を持つ呼び出しで全ての組合せがコンパイルされます。例外ハンドラもコンパイルされます。 + * サポートされていない呼び出し方や分岐の数の多い呼出しでのインタプリタへのフォールバックが行なわれなくなりました。 + * Railsの `#blank?` や [特別化された `#present?`](https://github.com/rails/rails/pull/49909) などの単純なメソッドがインライン化されます。 + * `Integer#*`、`Integer#!=`、`String#!=`、`String#getbyte`、`Kernel#block_given?`、`Kernel#is_a?`、`Kernel#instance_of?`、および `Module#===` が特別に最適化されます。 + * コンパイル速度はRuby 3.2よりわずかに速くなりました。 + * Optcarrotでは、インタプリタよりも3倍以上速くなりました! +* メモリ使用量の大幅な改善 + * コンパイルされたコードのメタデータは、はるかに少ないメモリを使用します。 + * アプリケーションが4万個以上のISEQを持つ場合、`--yjit-call-threshold` は自動的に30から120に上げられます。 + * 呼出しの少ないISEQのコンパイルをスキップするために `--yjit-cold-threshold` が追加されました。 + * Arm64ではよりコンパクトなコードが生成されます。 +* コードGCはデフォルトで無効になりました + * `--yjit-exec-mem-size` は新しいコードのコンパイルが停止するハードリミットとして扱われます。 + * これにより、デフォルトではコードGC実行によるパフォーマンスの急激な低下がなくなりました。[Pitchfork](https://github.com/shopify/pitchfork) を使って定期的にforkするサーバーでのコピーオンライトの挙動が改善されました。 + * 必要に応じて `--yjit-code-gc` でコードGCを有効にすることもできます。 +* `RubyVM::YJIT.enable` を追加し、実行時にYJITを有効にできるようにしました + * コマンドライン引数や環境変数を変更せずにYJITを開始できます。Rails 7.2はこの方法を使用して [デフォルトでYJITを有効にします](https://github.com/rails/rails/pull/49947)。 + * これはまた、アプリケーションの起動が完了した後にのみYJITを有効にするために使用できます。YJITの他のオプションを使用しながら起動時にYJITを無効にしたい場合は、`--yjit-disable` を使用できます。 +* デフォルトで利用可能なYJITの統計が増えました + * `yjit_alloc_size` およびその他いくつかのメタデータ関連の統計がデフォルトで利用可能になりました。 + * `--yjit-stats` によって生成される `ratio_in_yjit` 統計は、リリースビルドで利用可能になりました。特別な統計や開発ビルドは、ほとんどの統計にアクセスするためにはもはや必要ありません。 +* プロファイリング機能を追加 + * Linux perfでのプロファイリングを容易にするために `--yjit-perf` が追加されました。 + * `--yjit-trace-exits` は、`--yjit-trace-exits-sample-rate=N` を使用したサンプリングをサポートします。 +* より網羅的なテストと複数のバグ修正 + +## RJIT + +* Rubyで書かれたJITコンパイラであるRJITを導入し、MJITを置き換えました。 + * RJITはUnixプラットフォーム上のx86\_64アーキテクチャのみをサポートします。 + * MJITとは異なり、実行時にCコンパイラを必要としません。 +* RJITは実験的な目的のためだけに存在します。 + * 本番環境ではYJITを引き続き使用してください。 +* RubyのJITの開発に興味がある場合は、[RubyKaigiの3日目のk0kubunの発表](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)をご覧ください。 + +## M:N スレッドスケジューラ + +* M:N スレッドスケジューラが導入されました。[[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M個のRuby スレッドを、N個のネイティブスレッド(OSスレッド)で管理するので、生成管理のコストを抑えることができるようになりました。 + * C拡張ライブラリの互換性に問題が生じる可能性があるため、メインRactorでのM:Nスレッドスケジューラはデフォルトでは無効にされています。 + * `RUBY_MN_THREADS=1` と環境変数を設定することで、メインRactorでM:Nスレッドスケジューラを有効にします。 + * メインRactor以外ではM:Nスレッドスケジューラが常に有効です。 + * `RUBY_MAX_CPU=n` と環境変数を設定することで、Nの最大数(利用するネイティブスレッドの最大数)を設定できます。デフォルトは8です。 + * 一つの Ractor ではたかだか1つのスレッドしか同時に実行されないので、実際に利用するネイティブスレッド数は、`RUBY_MAX_CPU`で指定した数か実行中のRactorの数の少ないほうになります。つまり、Ractorの数が1つのアプリケーション(多くのアプリケーション)では1つのネイティブスレッドだけ利用されます。 + * ブロックする処理をサポートするため、N個以上のネイティブスレッドが利用されることがあります。 + +## パフォーマンスの改善 + +* `defined?(@ivar)` is optimized with Object Shapes. +* `Socket.getaddrinfo` などの名前解決を中断できるようになりました (pthread が利用できる環境のみ)。[[Feature 19965]](https://bugs.ruby-lang.org/issues/19965) +* 環境変数 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` が追加されました。[[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) +* GCで古いオブジェクトの子オブジェクトがすぐにプロモートされなくなりました。[[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) +* GCに弱参照が追加されました。[[Feature #19783]](https://bugs.ruby-lang.org/issues/19783) + +## その他の注目すべき 3.2 からの変更点 + +### IRB + +IRBは様々な機能強化を行いました。主なものは以下の通りです。 + +* IRBとrdbgの連携 pry-byebugのような使い心地でデバッグできるようになりました。([使い方](https://github.com/ruby/irb#debugging-with-irb)) +* lsコマンドやshow_cmdsの出力がPagerで表示されるようになりました。 +* lsコマンドやshow_sourceコマンドがより便利で詳細な情報を出力するようになりました。 +* 型情報を使った補完が実験的に実装されました。([有効化するには](https://github.com/ruby/irb#type-based-completion)) +* Reline::Faceクラスの導入により、補完ダイアログの色や文字装飾を変更できるようになりました。([使い方](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +また、機能強化以外にも、数多くのバグ修正および将来的な機能拡張を見越した大規模なリファクタリングを行ないました。 + + +## 互換性に関する変更 + +* ブロック内での引数なし `it` の呼び出しは非推奨になりました。 + Ruby 3.4から最初のブロック引数を参照するようになります。 + [[Feature #18980]](https://bugs.ruby-lang.org/issues/18980) + +### 環境変数の削除 + +以下の非推奨の環境変数は削除されました + +* 環境変数 `RUBY_GC_HEAP_INIT_SLOTS` は非推奨になり、何もしなくなりました。環境変数 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` を使ってください。[[Feature #19785]](https://bugs.ruby-lang.org/issues/19785) + +## 標準添付ライブラリの互換性に関する変更 + +### `ext/readline` の削除 + +* 今後は Ruby で書かれた GNU Readline の互換ライブラリである `reline` をすべての環境で標準で利用し、`ext/readline` は削除されました。以前の `ext/readline` が必要なユーザーは `gem install readline-ext` でインストールすることができます。 +* この変更により、Ruby のインストール時に `libreadline` や `libedit` などのライブラリのインストールは不要となります。 + +## 標準添付ライブラリのアップデート + +RubyGems と Bundler は将来リリースされる Ruby で bundled gems となる予定の gem が Gemfile または gemspec に存在しない状態で require された際に警告を行う機能が追加されました。 + +この警告は bootsnap gem を使っている場合には 3.3.0 の時点では機能上の制限により出力されません。そのため、環境変数として `DISABLE_BOOTSNAP=1` などを設定して、少なくとも1度はアプリケーションを実行することを推奨します。 + +以下のライブラリが警告の対象となります。 + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + + +以下の default gem が追加されました。 + +* prism 0.19.0 + +以下の default gems のバージョンがアップデートされました。 + +* RubyGems 3.5.3 +* abbrev 0.1.2 +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.3 +* cgi 0.4.1 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* error_highlight 0.6.0 +* etc 1.4.3 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.7.1 +* io-nonblock 0.3.0 +* io-wait 0.3.1 +* ipaddr 1.2.6 +* irb 1.11.0 +* json 2.7.1 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.1 +* open3 0.2.1 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.2 +* rdoc 6.6.2 +* readline 0.0.4 +* reline 0.4.1 +* resolv 0.3.0 +* rinda 0.2.0 +* securerandom 0.3.1 +* set 1.1.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.1.0 +* strscan 3.0.7 +* syntax_suggest 2.0.0 +* syslog 0.1.2 +* tempfile 0.2.1 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +新たに以下の gem が default gems から bundled gems に変更されました。 + +* racc 1.7.3 + +以下の bundled gems のバージョンがアップデートされました。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-ftp 0.3.3 +* net-imap 0.4.9 +* net-smtp 0.4.0 +* rbs 3.4.0 +* typeprof 0.21.9 +* debug 1.9.1 + +default gems と bundled gems の詳細については [Logger の GitHub Releases](https://github.com/ruby/logger/releases) のような GitHub releases または changelog ファイルを参照してください。 + + +その他詳細については、[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) ファイルまたは[コミットログ](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})を参照してください。 + +なお、こうした変更により、Ruby 3.2.0 以降では [{{ release.stats.files_changed }} 個のファイルに変更が加えられ、{{ release.stats.insertions }} 行の追加と {{ release.stats.deletions }} 行の削除が行われました](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) ! + +メリークリスマス、Ruby 3.3 とともによいお年をお迎えください! + +## ダウンロード + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby とは + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 From ddd36b9d120bc03f352da5f90f7880c41dbefff3 Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 25 Dec 2023 19:03:43 +0900 Subject: [PATCH 2077/2563] Fix typo on 2023-12-25-ruby-3-3-0-released.md --- en/news/_posts/2023-12-25-ruby-3-3-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-12-25-ruby-3-3-0-released.md b/en/news/_posts/2023-12-25-ruby-3-3-0-released.md index 1443d140e4..090bf66e00 100644 --- a/en/news/_posts/2023-12-25-ruby-3-3-0-released.md +++ b/en/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -155,7 +155,7 @@ The following deprecated methods are removed. RubyGems and Bundler warn if users do `require` the following gems without adding them to Gemfile or gemspec. This is because they will become the bundled gems in the future version of Ruby. -This warning is suppressed if you use bootsnap gem. We recoomend to run your application with `DISABLE_BOOTSNAP=1` environmental variable at least once. This is limitation of this version. +This warning is suppressed if you use bootsnap gem. We recommend to run your application with `DISABLE_BOOTSNAP=1` environment variable at least once. This is limitation of this version. Targeted libraries are: * abbrev From 3ecc2a65fbc6443e62736d33ab9fc1623a2a74e2 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Mon, 25 Dec 2023 21:33:45 +0900 Subject: [PATCH 2078/2563] Update translation of Ruby 3.3.0-rc1 (ko) (#3164) * Update translation of Ruby 3.3.0-rc1 (ko) * Fix typos --- .../2023-11-12-ruby-3-3-0-preview3-released.md | 4 ++-- .../_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 2decb5186a..e05cc55a04 100644 --- a/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -69,9 +69,9 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3 * Linux perf로 프로파일링을 용이하게 할 수 있도록 `--yjit-perf`가 추가됩니다. * 보다 철저한 테스트와 여러 버그 수정 -### M:N 스레드 스케쥴러 +### M:N 스레드 스케줄러 -* M:N 스레드 스케쥴러가 추가됩니다. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) +* M:N 스레드 스케줄러가 추가됩니다. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) * M개의 Ruby 스레드를 N개의 네이티브 스레드(OS 스레드)로 관리하므로 스레드의 생성, 관리 비용이 절감됩니다. * C 확장 호환성에 문제가 발생할 가능성이 있으므로, 주 Ractor에서의 기본 설정은 비활성입니다. * `RUBY_MN_THREADS=1` 환경 변수를 사용해 주 Ractor에서 M:N 스레드를 활성화할 수 있습니다. diff --git a/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 0d95d3867a..4b072284cb 100644 --- a/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -27,7 +27,7 @@ RC1 릴리스 이후로 ABI의 하위호환성을 깨트리는 변경은 가급 ## Bison을 Lrama로 대체 -* Bison 대신 [Lrama LALR 파서 생성기](https://github.com/yui-knk/lrama)를 사용하도록 변경했습니다. [Feature #19637](https://bugs.ruby-lang.org/issues/19637) +* Bison 대신 [Lrama LALR 파서 생성기](https://github.com/ruby/lrama)를 사용하도록 변경했습니다. [Feature #19637](https://bugs.ruby-lang.org/issues/19637) * 관심이 있다면 [Ruby 파서의 미래 비전](https://rubykaigi.org/2023/presentations/spikeolaf.html)을 참고하세요. * 유지보수성을 위해 Lrama 내부 구문 분석기가 Racc에서 생성한 LR 구문 분석기로 대체되었습니다. * 매개변수화 규칙 `(?, *, +)`를 지원하며, Ruby의 parse.y에서 사용될 예정입니다. @@ -39,7 +39,7 @@ RC1 릴리스 이후로 ABI의 하위호환성을 깨트리는 변경은 가급 * MJIT과 달리 런타임에 C 컴파일러가 필요하지 않습니다. * RJIT은 실험 목적으로 존재합니다. * 프로덕션 환경에서는 YJIT을 계속 사용해야 합니다. -* Ruby용 JIT 개발에 관심이 있다면 [RubyKaigi 2023 3일 차에 있었던 k0kubun의 발표](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)를 확인하세요. +* Ruby용 JIT 개발에 관심이 있다면 [RubyKaigi 2023 3일차에 있었던 k0kubun의 발표](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)를 확인하세요. ## YJIT @@ -75,9 +75,9 @@ RC1 릴리스 이후로 ABI의 하위호환성을 깨트리는 변경은 가급 * 보다 철저한 테스트와 여러 버그 수정 -### M:N 스레드 스케쥴러 +### M:N 스레드 스케줄러 -* M:N 스레드 스케쥴러가 추가됩니다. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) +* M:N 스레드 스케줄러가 추가됩니다. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) * M개의 Ruby 스레드를 N개의 네이티브 스레드(OS 스레드)로 관리하므로 스레드의 생성, 관리 비용이 절감됩니다. * C 확장 호환성에 문제가 발생할 가능성이 있으므로, 주 Ractor에서의 기본 설정은 비활성입니다. * `RUBY_MN_THREADS=1` 환경 변수를 사용해 주 Ractor에서 M:N 스레드를 활성화할 수 있습니다. @@ -102,18 +102,18 @@ RC1 릴리스 이후로 ABI의 하위호환성을 깨트리는 변경은 가급 * 오래된 객체가 참조하는 어린 객체는 이제 즉시 오래된 객체로 마킹되지 않습니다. 이 동작은 메이저 GC의 빈도를 상당히 낮춰줍니다. [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) - * 메이져 GC를 야기하는 보호받지 않은 객체의 숫자를 제어하는 + * 메이저 GC를 야기하는 보호받지 않은 객체의 숫자를 제어하는 새로운 변수 `REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO`가 추가되었습니다. - 기본값은 `0.01` (1%)입니다. 이는 메이저 GC의 빈도를 상당히 낮춰줍니다. + 기본값은 `0.01`(1%)입니다. 이는 메이저 GC의 빈도를 상당히 낮춰줍니다. [[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) * `Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal` 등의 - 주요 타입에 부족했던 쓰기 보호가 구현되었습니다. + 주요 타입에 부족했던 쓰기 배리어가 구현되었습니다. 이는 마이너 GC에 걸리는 시간과 메이저 GC 빈도를 상당히 줄여줍니다. * `Hash`, `Time`, `Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method` 등의 대부분의 주요 클래스는 이제 가변 폭 할당을 사용합니다. 이는 해당 클래스의 할당 및 할당 해제 속도를 빠르게 만들며, 메모리 사용량과 힙 파편화를 줄여줍니다. - * 가비지 컬렉터에 약한 참조가 추가됩니다. [Feature #19783](https://bugs.ruby-lang.org/issues/19783) + * 가비지 컬렉터에 약한 참조가 추가됩니다. [[Feature #19783]](https://bugs.ruby-lang.org/issues/19783) ## 그 이외의 3.2 이후로 주목할 만한 변경 From dfe9e79ee65df16f23becba964eefe65dc9c6c62 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 26 Dec 2023 04:20:12 +0900 Subject: [PATCH 2079/2563] Translate "Ruby 3.3.0 released" (ko) (#3162) * Copy {en/ko}/news/_posts/2023-12-25-ruby-3-3-0-released.md * Translate "3.3.0 released" * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2023-12-25-ruby-3-3-0-released.md | 304 ++++++++++++++++++ 1 file changed, 304 insertions(+) create mode 100644 ko/news/_posts/2023-12-25-ruby-3-3-0-released.md diff --git a/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md b/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md new file mode 100644 index 0000000000..759f321fee --- /dev/null +++ b/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -0,0 +1,304 @@ +--- +layout: news_post +title: "Ruby 3.3.0 릴리스" +author: "naruse" +translator: "shia" +date: 2023-12-25 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.3.0" | first %} +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3은 Prism이라는 이름의 새 파서를 추가하고, 파서 생성기로 Lrama를 사용하며, RJIT으로 명명된 새로운 순수 Ruby JIT 컴파일러를 추가하고, 특히 YJIT에서 많은 성능 향상이 있습니다. + +## Prism + +* [Prism 파서](https://github.com/ruby/prism)를 기본 gem에 추가했습니다. + * Prism은 Ruby 언어를 위한 이식 가능하고, 에러 내성이 있으며 유지 보수 가능한 재귀 하향 파서입니다. +* Prism은 프로덕션 환경에서 사용할 준비가 되어있으며 활발하게 유지보수되고 있으므로 Ripper 대신 이용할 수 있습니다. + * Prism 사용 방법에 대한 [광범위한 문서](https://ruby.github.io/prism/)가 있습니다. + * Prism은 CRuby에서 내부적으로 사용하는 C 라이브러리이자 Ruby 코드를 구문 분석해야 하는 모든 도구에서 사용할 수 있는 Ruby gem입니다. + * Prism API에서 주목할 만한 메서드는 다음과 같습니다. + * `Prism.parse(source)`는 구분 분석 결과 객체의 일부로 AST를 반환합니다. + * `Prism.parse_comments(source)`는 주석을 반환합니다. + * `Prism.parse_success?(source)`는 에러가 없다면 true를 반환합니다. +* 기여에 관심이 있다면 [Prism 저장소](https://github.com/ruby/prism)에서 직접 풀 리퀘스트나 이슈를 만들 수 있습니다. +* `ruby --parser=prism`이나 `RUBYOPT="--parser=prism"`을 사용하여 Prism 컴파일러를 실험해 볼 수 있습니다. 이 플래그는 디버깅 용도임을 잊지 마세요. + +## Bison을 Lrama로 대체 + +* Bison 대신 [Lrama LALR 파서 생성기](https://github.com/ruby/lrama)를 사용하도록 변경했습니다. [[Feature #19637]](https://bugs.ruby-lang.org/issues/19637) + * 관심이 있다면 [Ruby 파서의 미래 비전](https://rubykaigi.org/2023/presentations/spikeolaf.html)을 참고하세요. + * 유지보수성을 위해 Lrama 내부 구문 분석기가 Racc에서 생성한 LR 구문 분석기로 대체되었습니다. + * 매개변수화 규칙 `(?, *, +)`를 지원하며, Ruby의 parse.y에서 사용될 예정입니다. + +## YJIT + +* Ruby 3.2 버전 대비 주요 성능 개선 사항 + * 스플랫과 나머지 인자 지원이 개선되었습니다. + * 가상 머신의 스택 연산을 위해 레지스터가 할당됩니다. + * 선택적 인수가 포함된 더 많은 호출이 컴파일됩니다. 예외 처리기도 컴파일됩니다. + * 지원되지 않는 호출 타입인 경우, 클래스의 인스턴스 변수가 가지는 객체 형상의 조합이 매우 복잡한 경우에도 + 컴파일되기 전의 바이트 코드로 전환되지 않습니다. + * Rails의 `#blank?`와 [특수화한 `#present?`](https://github.com/rails/rails/pull/49909) 같은 단순한 메서드는 + 인라인으로 최적화됩니다. + * `Integer#*`, `Integer#!=`, `String#!=`, `String#getbyte`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?`, `Module#===`은 특별히 최적화되었습니다. + * Ruby 3.2보다 컴파일 속도가 약간 개선되었습니다. + * 이제 optcarrot에서 인터프리터보다 3배 이상 빠릅니다! +* Ruby 3.2보다 메모리 사용량이 크게 개선되었습니다. + * 컴파일된 코드의 메타데이터가 훨씬 적은 메모리를 사용합니다. + * `--yjit-call-threshold`는 애플리케이션의 ISEQ이 40,000개 이상 존재하는 경우, + 자동으로 30에서 120으로 증가합니다. + * 적게 사용되는 ISEQ의 컴파일을 생략하는 `--yjit-cold-threshold`가 추가됩니다. + * ARM64에서 더 작은 코드를 생성합니다. +* 코드 GC는 이제 비활성화된 상태로 시작합니다. + * `--yjit-exec-mem-size`를 새 코드 컴파일을 멈추는 최대 상한으로 취급합니다. + * 코드 GC로 인한 급격한 성능 하락이 사라집니다. + [Pitchfork](https://github.com/shopify/pitchfork)로 리포크를 사용하는 서버에서 + 더 나은 쓰기 시 복사 동작을 생성할 수 있습니다. + * 필요하다면 `--yjit-code-gc`로 코드 GC를 활성화할 수 있습니다. +* 실행 시간에 YJIT을 활성화할 수 있는 `RubyVM::YJIT.enable`이 추가됩니다. + * 실행 명령의 인수나 환경 변수의 변경 없이 YJIT을 실행할 수 있습니다. + Rails 7.2는 이 메서드를 사용해 + [기본으로 YJIT을 활성화](https://github.com/rails/rails/pull/49947)할 예정입니다. + * 애플리케이션 부팅이 완료된 후에 YJIT를 활성화하는 데에도 사용할 수 있습니다. + 부팅 시 YJIT를 비활성화한 상태에서 다른 YJIT 옵션을 사용하려는 경우 + `--yjit-disable`을 사용할 수 있습니다. +* 기본으로 더 많은 YJIT 통계 정보를 제공합니다. + * `yjit_alloc_size`와 메타 정보에 관련된 몇몇 통계가 기본으로 이용 가능합니다. + * `--yjit-stats`로부터 생성된 `ratio_in_yjit` 통계는 릴리스 빌드에서도 이용 가능하며, + 대부분의 통계에 접근하는 데 특수한 통계나 개발 빌드는 더 이상 필요하지 않습니다. +* 프로파일링 기능 추가 + * Linux perf로 프로파일링을 용이하게 할 수 있도록 `--yjit-perf`가 추가됩니다. + * `--yjit-trace-exits`는 `--yjit-trace-exits-sample-rate=N`을 통한 샘플링을 지원합니다. +* 보다 철저한 테스트와 여러 버그 수정 + +## RJIT + +* 순수 Ruby JIT 컴파일러 RJIT을 도입하고 MJIT을 대체했습니다. + * RJIT은 Unix 플랫폼에서 x86-64 아키텍처만 지원합니다. + * MJIT과 달리 런타임에 C 컴파일러가 필요하지 않습니다. +* RJIT은 실험 목적으로 존재합니다. + * 프로덕션 환경에서는 YJIT을 계속 사용해야 합니다. +* Ruby용 JIT 개발에 관심이 있다면 [RubyKaigi 2023 3일차에 있었던 k0kubun의 발표](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)를 확인하세요. + +## M:N 스레드 스케줄러 + +* M:N 스레드 스케줄러가 추가됩니다. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M개의 Ruby 스레드를 N개의 네이티브 스레드(OS 스레드)로 관리하므로 스레드의 생성, 관리 비용이 절감됩니다. + * C 확장 호환성에 문제가 발생할 가능성이 있으므로, 주 Ractor에서의 기본 설정은 비활성입니다. + * `RUBY_MN_THREADS=1` 환경 변수를 사용해 주 Ractor에서 M:N 스레드를 활성화할 수 있습니다. + * M:N 스레드는 주 Ractor가 아닌 Ractor에서 항상 활성화되어 있습니다. + * `RUBY_MAX_CPU=n` 환경 변수는 `N`(네이티브 스레드의 최대 개수)의 최댓값을 지정합니다. 기본값은 8입니다. + * 하나의 Ractor에서는 하나의 Ruby 스레드만 실행 가능하므로 실제로 사용되는 네이티브 스레드의 개수는 `RUBY_MAX_CPU`에서 지정한 숫자나 실행 중인 Ractor의 개수보다 작습니다. 그러므로 (대다수를 차지하는) 단일 Ractor 애플리케이션에서는 단 하나의 네이티브 스레드를 사용합니다. + * 블로킹 동작을 처리하기 위해, `N`개 이상의 네이티브 스레드가 사용될 수 있습니다. + +## 성능 향상 + +* `defined?(@ivar)`가 객체 형상에 맞게 최적화됩니다. +* `Socket.getaddrinfo`와 같은 이름 해결을 (POSIX 스레드가 사용 가능한 환경에서) 중단할 수 있게 됩니다. [[Feature #19965]](https://bugs.ruby-lang.org/issues/19965) +* 가비지 컬렉터의 몇몇 성능 향상 + * 오래된 객체가 참조하는 어린 객체는 이제 즉시 오래된 객체로 마킹되지 않습니다. + 이 동작은 메이저 GC의 빈도를 상당히 낮춰줍니다. + [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + * 메이저 GC를 야기하는 보호받지 않은 객체의 숫자를 제어하는 + 새로운 변수 `REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO`가 추가되었습니다. + 기본값은 `0.01`(1%)입니다. 이는 메이저 GC의 빈도를 상당히 낮춰줍니다. + [[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) + * `Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal` 등의 + 주요 타입에 부족했던 쓰기 보호가 구현되었습니다. + 이는 마이너 GC에 걸리는 시간과 메이저 GC 빈도를 상당히 줄여줍니다. + * `Hash`, `Time`, `Thread::Backtrace`, `Thread::Backtrace::Location`, + `File::Stat`, `Method` 등의 대부분의 주요 클래스는 이제 가변 폭 할당을 사용합니다. + 이는 해당 클래스의 할당 및 할당 해제 속도를 빠르게 만들며, 메모리 사용량과 + 힙 파편화를 줄여줍니다. + * 가비지 컬렉터에 약한 참조가 추가됩니다. [[Feature #19783]](https://bugs.ruby-lang.org/issues/19783) + + +## 그 이외의 3.2 이후로 주목할 만한 변경 + +### IRB + +IRB에 여러 개선 사항이 추가됩니다. 다음과 같은 내용이 포함됩니다. + +- 고급 `irb:rdbg` 통합 기능은 `pry-byebug`와 동등한 디버깅 경험을 제공합니다. ([문서](https://github.com/ruby/irb#debugging-with-irb)). +- `ls`와 `show_source`, `show_cmds`와 같은 명령어에서 페이징을 지원합니다. +- `ls`, `show_source` 명령에서 더 정확하고 유용한 정보를 제공합니다. +- 타입 분석을 사용하는 실험적인 자동 완성 기능을 제공합니다. ([문서](https://github.com/ruby/irb#type-based-completion)). +- Reline::Face 클래스의 도입으로 자동완성 다이얼로그의 글씨 색과 스타일이 변경 가능합니다. ([문서](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +또한, IRB는 광범위한 리팩토링을 거쳤으며, 향후 개선이 용이하도록 많은 버그 수정이 이루어졌습니다. + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +* 블록에서 매개변수 없이 `it`을 호출하는 기능은 삭제 예정입니다. + Ruby 3.4부터 `it`은 첫 번째 블록 인수를 가리킵니다. + [[Feature #18980]](https://bugs.ruby-lang.org/issues/18980) + +### 삭제된 환경 변수 + +폐기 예정이었던 환경 변수가 삭제됩니다. + +* 환경 변수 `RUBY_GC_HEAP_INIT_SLOTS`는 폐기 예정이었으며 아무 효과도 없습니다. 대신 환경 변수 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS`를 사용해 주세요. [[Feature #19785]](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 호환성 문제 + +### `ext/readline` 폐기 + +* 우리는 `ext/readline` API와 호환되는 순수 Ruby 구현인 `reline`을 가지고 있습니다. 앞으로는 `reline`에 의존할 것입니다. `ext/readline`을 사용해야 하는 경우, `gem install readline-ext`를 사용하여 rubygems.org를 통해 `ext/readline`을 설치할 수 있습니다. +* 이제 더 이상 `libreadline` 또는 `libedit`과 같은 라이브러리를 설치할 필요가 없습니다. + +## 표준 라이브러리 갱신 + +사용자가 미래의 Ruby 버전에서 내장될 예정의 gem을 Gemfile이나 gemspec에 추가하지 않고 직접 `require` 할 때 RubyGems와 Bundler가 경고 문구를 출력합니다. + +bootsnap gem을 사용하고 있다면, 해당 경고를 생략합니다. 적어도 한 번은 `DISABLE_BOOTSNAP=1` 환경 변수와 함께 애플리케이션을 실행하길 권장합니다. 이는 이번 버전에만 해당되는 제약입니다. + +다음 라이브러리가 대상입니다. + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +다음 기본 gem이 추가되었습니다. + +* prism 0.19.0 + +다음 기본 gem이 갱신되었습니다. + +* RubyGems 3.5.3 +* abbrev 0.1.2 +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.3 +* cgi 0.4.1 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* error_highlight 0.6.0 +* etc 1.4.3 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.7.1 +* io-nonblock 0.3.0 +* io-wait 0.3.1 +* ipaddr 1.2.6 +* irb 1.11.0 +* json 2.7.1 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.1 +* open3 0.2.1 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.2 +* rdoc 6.6.2 +* readline 0.0.4 +* reline 0.4.1 +* resolv 0.3.0 +* rinda 0.2.0 +* securerandom 0.3.1 +* set 1.1.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.1.0 +* strscan 3.0.7 +* syntax_suggest 2.0.0 +* syslog 0.1.2 +* tempfile 0.2.1 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +다음 기본 gem이 내장됩니다. + +* racc 1.7.3 + +다음 내장 gem이 갱신됩니다. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-ftp 0.3.3 +* net-imap 0.4.9 +* net-smtp 0.4.0 +* rbs 3.4.0 +* typeprof 0.21.9 +* debug 1.9.1 + +기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은 +GitHub 릴리스 또는 변경 로그에서 확인하세요. + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.2.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + +메리 크리스마스, 해피 홀리데이, 그리고 Ruby 3.3과 함께 프로그래밍을 즐겨보세요! + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. From 6042a119f2d63a7f238fe0d3b61392a6638278aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 15:15:06 +0000 Subject: [PATCH 2080/2563] Bump actions/upload-pages-artifact from 2.0.0 to 3.0.0 Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 2.0.0 to 3.0.0. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/a753861a5debcf57bf8b404356158c8e1e33150c...0252fc4ba7626f0298f0cf00902a25c6afc77fa8) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 42bf61961d..a8f572339f 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,7 +34,7 @@ jobs: env: JEKYLL_ENV: production - name: Upload artifact - uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c # v2.0.0 + uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8 # v3.0.0 deploy: environment: From 76c119be053b66f3d0b6c6ddd6ad9a732f6f4d88 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 15:15:03 +0000 Subject: [PATCH 2081/2563] Bump actions/deploy-pages from 3.0.1 to 4.0.2 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 3.0.1 to 4.0.2. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/13b55b33dd8996121833dbc1db458c793a334630...7a9bd943aa5e5175aeb8502edcc6c1c02d398e10) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index a8f572339f..b72495a349 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@13b55b33dd8996121833dbc1db458c793a334630 # v3.0.1 + uses: actions/deploy-pages@7a9bd943aa5e5175aeb8502edcc6c1c02d398e10 # v4.0.2 From e663616cccf83664c11111da65b168f259caf0ee Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Mon, 25 Dec 2023 20:43:16 +0900 Subject: [PATCH 2082/2563] Fix typo in Ruby 3.3.0-rc1 news --- en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 1770353c9f..ccaf405b3c 100644 --- a/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -152,7 +152,7 @@ The following deprecated methods are removed. ### Removed environment variables -The following deprecated methods are removed. +The following deprecated environment variables are removed. * Environment variable `RUBY_GC_HEAP_INIT_SLOTS` has been deprecated and is a no-op. Please use environment variables `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` instead. [Feature #19785](https://bugs.ruby-lang.org/issues/19785) From 3fe3dfab2dc9b641392c10769574f05dd4309166 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Mon, 25 Dec 2023 12:01:20 +0000 Subject: [PATCH 2083/2563] Add a link to the IRB for Ruby 3.3 blog post --- en/news/_posts/2023-12-25-ruby-3-3-0-released.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/en/news/_posts/2023-12-25-ruby-3-3-0-released.md b/en/news/_posts/2023-12-25-ruby-3-3-0-released.md index 090bf66e00..30ae20b125 100644 --- a/en/news/_posts/2023-12-25-ruby-3-3-0-released.md +++ b/en/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -122,14 +122,16 @@ We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 a IRB has received several enhancements, including but not limited to: -- Advanced `irb:rdbg` integration that provides an equivalent debugging experience to `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)). -- Pager support for `ls`, `show_source` and `show_cmds` commands. -- More accurate and helpful information provided by the `ls` and `show_source` commands. -- Experimental autocompletion using type analysis ([doc](https://github.com/ruby/irb#type-based-completion)). -- It is now possible to change the font color and font style in the completion dialog by a newly introduced class Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) +* Advanced `irb:rdbg` integration that provides an equivalent debugging experience to `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)). +* Pager support for `ls`, `show_source` and `show_cmds` commands. +* More accurate and helpful information provided by the `ls` and `show_source` commands. +* Experimental autocompletion using type analysis ([doc](https://github.com/ruby/irb#type-based-completion)). +* It is now possible to change the font color and font style in the completion dialog by a newly introduced class Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) In addition, IRB has also undergone extensive refactoring and received dozens of bug fixes to facilitate easier future enhancements. +For more detailed updates, please refer to [Unveiling the big leap in Ruby 3.3's IRB](https://railsatscale.com/2023-12-19-irb-for-ruby-3-3/). + ## Compatibility issues Note: Excluding feature bug fixes. From 75873ec24fee03c3f81dc9b00a3d6acf07dcda78 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Tue, 26 Dec 2023 10:31:39 +0900 Subject: [PATCH 2084/2563] Add snapshot-ruby_3_3 to downloads.yml Added since https://github.com/ruby/actions/commit/2dd9de5849dfbdfa6840652a830545a99c6ba9e4 --- _data/downloads.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_data/downloads.yml b/_data/downloads.yml index f12cf5c53a..a0c0527617 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -23,6 +23,13 @@ eol: stable_snapshots: + - branch: ruby_3_3 + url: + gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_3.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_3.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_3.zip + version: '3.3' + - branch: ruby_3_2 url: gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_2.tar.gz From f3e82a0a57e8d0d45c1f35131cbf34999dcf8ce6 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 26 Dec 2023 16:55:37 +0900 Subject: [PATCH 2085/2563] Translate "Add a link to the IRB for Ruby 3.3 blog post" (ko) (#3169) * Translate "Add a link to the IRB for Ruby 3.3 blog post" (ko) * Update ko/news/_posts/2023-12-25-ruby-3-3-0-released.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/news/_posts/2023-12-25-ruby-3-3-0-released.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md b/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md index 759f321fee..6fa1d5deb6 100644 --- a/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md +++ b/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -121,14 +121,16 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3 IRB에 여러 개선 사항이 추가됩니다. 다음과 같은 내용이 포함됩니다. -- 고급 `irb:rdbg` 통합 기능은 `pry-byebug`와 동등한 디버깅 경험을 제공합니다. ([문서](https://github.com/ruby/irb#debugging-with-irb)). -- `ls`와 `show_source`, `show_cmds`와 같은 명령어에서 페이징을 지원합니다. -- `ls`, `show_source` 명령에서 더 정확하고 유용한 정보를 제공합니다. -- 타입 분석을 사용하는 실험적인 자동 완성 기능을 제공합니다. ([문서](https://github.com/ruby/irb#type-based-completion)). -- Reline::Face 클래스의 도입으로 자동완성 다이얼로그의 글씨 색과 스타일이 변경 가능합니다. ([문서](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) +* 고급 `irb:rdbg` 통합 기능은 `pry-byebug`와 동등한 디버깅 경험을 제공합니다. ([문서](https://github.com/ruby/irb#debugging-with-irb)). +* `ls`와 `show_source`, `show_cmds`와 같은 명령어에서 페이징을 지원합니다. +* `ls`, `show_source` 명령에서 더 정확하고 유용한 정보를 제공합니다. +* 타입 분석을 사용하는 실험적인 자동 완성 기능을 제공합니다. ([문서](https://github.com/ruby/irb#type-based-completion)). +* Reline::Face 클래스의 도입으로 자동완성 다이얼로그의 글씨 색과 스타일이 변경 가능합니다. ([문서](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) 또한, IRB는 광범위한 리팩토링을 거쳤으며, 향후 개선이 용이하도록 많은 버그 수정이 이루어졌습니다. +더 자세한 변경은 [Ruby 3.3 IRB의 큰 도약을 공개합니다](https://railsatscale.com/2023-12-19-irb-for-ruby-3-3/)를 참조하세요. + ## 호환성 문제 주의: 기능 버그 수정은 포함되어 있지 않습니다. From f52b82ebfc9816bcbac8d6f3f25657f44fcd7a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 26 Dec 2023 07:35:40 -0500 Subject: [PATCH 2086/2563] Translate Ruby 3.3.0 rc1 released news post (es) (#3158) --- .../2023-12-11-ruby-3-3-0-rc1-released.md | 384 ++++++++++++++++++ 1 file changed, 384 insertions(+) create mode 100644 es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md diff --git a/es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md new file mode 100644 index 0000000000..62ffd25323 --- /dev/null +++ b/es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -0,0 +1,384 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.0-rc1" +author: "naruse" +translator: vtamara +date: 2023-12-11 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-rc1" | first %} + +Nos complace anunciar la publicación de Ruby {{ release.version }}. Ruby 3.3 +añade un nuevo analizador sintáctico llamado Prism, usa Lrama como +generador de analizadores, añade un nuevo compilador JIT en puro Ruby +llamado RJIT, e incluye muchas mejoras de desempeño especialmente de YJIT. + +Tras la publicación de RC1, evitaremos introducir incompatibilidades en la ABI +siempre que sea posible. Si requerimos hacerlo, lo anunciaremos en las +notas de publicación. + +## Prism + +* Se introduce [el analizador sintáctico Prism](https://github.com/ruby/prism) + como gema predeterminada. + * Prism es un analizador recursivo-descendente para el lenguaje Ruby + portable, tolerante a errores y mantenible +* Prism está listo para operar en producción es mantenido activamente + y puede emplearlo en lugar de Ripper + * Hay [amplia documentación](https://ruby.github.io/prism/) sobre como + usar Prism + * Prism es tanto una librería en C que es usada internamente por CRuby + como una gema que puede ser usada por cualquier herramienta que + necesite analizar código Ruby. + * Unos métodos notables de la API de Prism son: + * `Prism.parse(fuente)` que retorna el árbol de sintaxis + abstracta (AST) como parte de un ParseResult + * `Prism.dump(fuente, ruta)` que retorna el AST serializado como una + cadena + * `Prism.parse_comments(fuente)` que retorna los comentarios +* Puede hacer solicitudes de cambio o crear incidentes directamente en el + [repositorio de Prism](https://github.com/ruby/prism) si desea + contribuir. + +## Uso de Lrama en lugar de Bison + +* Se remplazó Bison por [el generador de analizadores LALR Lrama](https://github.com/ruby/lrama) + [Característica #19637](https://bugs.ruby-lang.org/issues/19637) + * Si tiene interés, por favor vea + [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * El analizadores interno de Lrama se ha remplazado con un + analizador LR generado por Racc para hacerlo más mantenible. + * Se soportan reglas de parametrización `(?, *, +)`, que serán + usadas en la fuente parse.y de Ruby. + +## RJIT + +* Se introdujo RJIT un compilador JIT en puro Ruby que remplaza a MJIT. + * RJIT soporta sólo la arquitectura x86-64 en plataformas Unix. + * A diferencia de MJIT, no require de un compilador C en tiempo de ejecución. +* RJIT existe sólo con propósitos experimentales. + * Debería seguir usando YJIT en producción. +* Si le interesa desarrollar un compilador JIT para Ruby, por favor + revise la [presentación de k0kubun en el día 3 de RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## YJIT + +* Mejoras mayores en desempeño respecto a 3.2 + * Mejorado el soporte para argumentos splat y para el resto de argumentos. + * Los registros se localizan para operaciones en pila de la máquina virtual. + * Se compilan más llamados con argumentos opcionales. + * Los manejadores de excepciones también se compilan. + * Las variables de instancia ya no salen al interprete con Formas de Objetos + mega-mórficas. + * Se optimizaron de manera especial `Integer#!=`, `String#!=`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?` y + `Module#===`. + * Ahora es 3 veces más rápido que el interprete normal con optcarrot! +* Mejora significativa en el uso de memoria respecto a 3.2 + * Los meta-datos para el código compilado usan mucha menos memoria. + * Generación de código más compacto en ARM64 +* La velocidad de compilación es ahora un poco más rápida que en 3.2. +* Añade `RubyVM::YJIT.enable` que puede habilitar YJIT en tiempo de ejecución + * Puede iniciar YJIT sin modificar argumentos en la línea de ordenes + o variables de ambiente. + * Esto también puede usarse para habilitar YJIT sólo después de que la + aplicación haya completado el arranque. `--yjit-disable` puede usarse + si quiere usar otras opciones YJIT mientras deshabilita YJIT durante + el arranque. +* El recolector de basura en el código ahora está deshabilitado de manera + predeterminada, y `--yjit-exec-mem-size` se trata como un límite fuerte + en el que se detendrá la compilación de nuevo código. + * Esto produce un mejor comportamiento de copiar-al-escribir en + servidores que usen unicorn y bifurcación de procesos (forking) + * No hay disminuciones inesperadas en el desempeño debidas al + recolector de código basura. + * Aún puede habilitar el recolector de basura en el código si lo + desea con `--yjit-code-gc` +* La estadística `ratio_in_yjit` producida por `--yjit-stats` ahora está + disponible en compilaciones publicadas, ya no se requiere una + estadística especial o una compilación de desarrollo para acceder + a la mayoría de estadísticas. +* La opción para salir del modo con trazas ahora soporta muestreo + * `--trace-exits-sample-rate=N` +* Se añade `--yjit-perf` para facilitar hacer medición de desempeño + usando la herramienta perf de Linux +* Pruebas más extensas y correcciones a múltiples fallas + + +### Planificador de hilos M:N + +* Se introdujo un planificador de hilos M:N. [[Característica #19842]](https://bugs.ruby-lang.org/issues/19842) + * M hilos de Ruby son manejados por N hilos nativos (hilos del + sistema operativo) reduciendo así el costo de creación y + administración. + * Como puede romper la compatibilidad con extensiones en C, el + planificador de hilos M:N está deshabilitado de manera predeterminada + en el Ractor principal. + * La variable de ambiente `RUBY_MN_THREADS=1` habilita los hilos + M:N en el Ractor principal. + * Los hilos M:N se habilitan en Ractos que no son el principal. + * La variable de ambiente `RUBY_MAX_CPU=n` establece el máximo número + de `N` (número máximo de hilos nativos). El valor predeterminado es 8. + * Como sólo un hilo de Ruby por Ractor puede correr al mismo tiempo, + el número de hilos nativos se usará, sera el menor entre + el especificado en `RUBY_MAX_CPU` y el número de Ractors + que estén corriendo. Así que las aplicaciones con un sólo Ractor + (la mayoría de aplicaciones) usarán un solo hilo. + * Para soportar operaciones de bloqueo, pueden usarse más de + `N` hilos nativos. + + +## Otros Características Nuevas Notables + +### Lenguaje + +## Mejoras en desempeño + +* `defined?(@ivar)` se optimiza con Formas de Objetos. +* La resolución de nombres como con `Socket.getaddrinfo` ahora puede + interrumpirse (en ambientes donde estén disponibles pthreads). + [Característica #19965](https://bugs.ruby-lang.org/issues/19965) + * Con este propósito, se crea un pthread por cada llamada a + getaddrinfo o getnameinfo. Esto incurre en algo de gasto en la + resolución de nombres (alrededor de 2.5x en nuestros experimentos). + No esperamos que el gasto adicional en la resolución de nombres + sea un problema para la mayoría de aplicaciones, pero si lo nota, + o si ve efectos inesperados que crea que pueden deberse a este + cambio, por favor reportelos. +* Diversas mejoras de desempeño al Recolector de Basura + * Los objetos jóvenes referenciados por objetos viejos ya no se promueve + de inmediato a la generación vieja. Esto reduce significativamente la + frecuencia de recolección del Recolector de Basura (GC). + [[Característica #19678]](https://bugs.ruby-lang.org/issues/19678) + * Se introdujo la nueva variable de ajuste + `REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` + para controlar el número de objetos no protegidos que activan una + recolección del. De manera predeterminada se establece en `0.01` (1%). + Esto reduce significativamente la frecuencia de las recolecciones + mayores del GC. [[Característica #19571]](https://bugs.ruby-lang.org/issues/19571) + * Se implementaron Barreras de Escritura para muchos tipos básicos a los que + les hacia falta, son notables `Time`, `Enumerator`, `MatchData`, + `Method`, `File::Stat`, `BigDecimal` y muchos otros. Esto reduce + significativamente el tiempo de las recolecciones menores del GC + y la frecuencia de las recolecciones mayores. + * La mayoría de clases ahora usan Localización de Ancho Variable, + son notables `Hash`, `Time`, `Thread::Backtrace`, + `Thread::Backtrace::Location`, `File::Stat`, `Method`. + Esto hace más veloces estas clases para reservar y liberar, que + usen menos memoria y reduce la fragmentación en el montón (*heap*). + * Se ha agregado soporte para referencias débiles en el recolector + de basura. [[Característica #19783]](https://bugs.ruby-lang.org/issues/19783) + + +## Otros cambios notables desde 3.2 + +### IRB + +IRB ha recibido diversas mejoras, incluyendo --no limitadas a estas: + +- Integración avanzada `irb:rdbg` que provee una experiencia + de depuración equivalente a la de `pry-byebug` + ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Soporte de paginador para las ordenes `ls`, `show_source` y `show_cmds`. +- Las ordenes `ls` y `show_cmds` dan información más precisa y útil. +- Autocompletación experimental usando análisis de tipos + ([doc](https://github.com/ruby/irb#type-based-completion)). +- Ahora es posible cambiar el color del tipo de letra así como su estilo + en el diálogo de completación gracias a la recien introducida + clase Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +Además, IRB ha experimentado una re-factorización extensa y ha recibido +docenas de correcciones a fallas que facilitan ampliaciones futuras. + + +## Incidentes de compatibilidad + +Nota: Excluyendo correcciones a errores en características + +* Se desprecian llamadas a `it` sin argumentos en bloques sin parámetros + ordinarios. `it` será una referencia al primer parámetro de bloque en + Ruby 3.4. + [Característica #18980](https://bugs.ruby-lang.org/issues/18980) + +### Constantes elminadas + +Las siguientes constantes que eran despreciadas han sido eliminadas. + + +### Métodos eliminados + +Los siguientes métodos que eran despreciados han sido eliminados. + + +### Variables de ambientes eliminadas + +* La variable de ambiente `RUBY_GC_HEAP_INIT_SLOTS` es despreciada + y representa la operación de no hacer nada. En su remplazo por favor use las + variables de ambiente `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS`. + [Característica #19785](https://bugs.ruby-lang.org/issues/19785) + +## Problemas de compatibilidad con Stdlib + +### Eliminación de `ext/readline` + +* Tenemos `reline` que es una implementación en Ruby puro compatible con + el API de `ext/readline`. Dependeremos de `reline` a futuro. Si + necesita usar `ext/readline`, puede instalar `ext/readline` vía rubygems.org + con `gem install readline-ext`. +* Ya no necesitamos instalar librerías como `libreadline` o `libedit`. + +## Actualizaciones al API en C + +### APIs en C actualizados + +Los siguientes APIs han sido actualizados. + + + +### APIs en C eliminados + +Los siguientes APIs despreciados han sido eliminados. + +## Actualizaciones a la librería estándar + +RubyGems y Bundler avisan cuando el usuario requiere gemas que están +programadas para convertirse en gemas incluidas en versiones futuras +de Ruby. + +Librerías que son objetivo: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +Se ha añadido la siguiente gema. + +* prism 0.15.1 + +Las siguientes gemas predeterminadas se han actualizado. + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + + +La siguiente gema incluida ha sido promovida a gema predeterminada. + +* racc 1.7.3 + +Las siguientes gemas incluidas han sido actualizadas. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +Ver la publicación en GitHub como +[Logger](https://github.com/ruby/logger/releases) o +bien la bitácora de cambios con detalles de las gemas predeterminadas +y las gemas incluidas. + +Ver más detalles en el archivo +[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +o en [la bitácora de cambios](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}). + +¡Con estos cambios, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +desde Ruby 3.2.0! + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Qué es Ruby + +Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, +y ahora es desarrollado como Código Abieto. Corre en múltiples +plataformas y es usado en todo el mundo especialmente para desarrollo web. From d4ce923d6e20f1979311b919eec1179921cf853f Mon Sep 17 00:00:00 2001 From: Tommaso Barbato Date: Tue, 26 Dec 2023 17:01:51 +0100 Subject: [PATCH 2087/2563] Delete accidentally committed release.patch (#3171) --- release.patch | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 release.patch diff --git a/release.patch b/release.patch deleted file mode 100644 index 903bc2c6c7..0000000000 --- a/release.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/_data/downloads.yml 2023-12-11 17:02:14 -+++ b/_data/downloads.yml 2023-12-11 17:02:14 -@@ -6,3 +6,3 @@ - -- - 3.3.0-preview3 -+ - 3.3.0-rc1 - ---- a/_data/releases.yml 2023-12-11 17:02:14 -+++ b/_data/releases.yml 2023-12-11 17:02:14 -@@ -23,2 +23,31 @@ - -+- version: 3.3.0-rc1 -+ date: 2023-12-11 -+ post: /en/news/2023/12/11/ruby-3-3-0-rc1-released/ -+ tag: v3_3_0_rc1 -+ stats: -+ files_changed: 5414 -+ insertions: 306141 -+ deletions: 183575 -+ url: -+ gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.tar.gz -+ zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.zip -+ xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0-rc1.tar.xz -+ size: -+ gz: 21783575 -+ zip: 26735443 -+ xz: 16163884 -+ sha1: -+ gz: c75a860e06f27b7f69b874757417277c21d1d3f4 -+ zip: 35583453a7734216b08829ef0ec9ea1bc0d4ae7f -+ xz: 26503f9bdc7d0a05aaa9836f54d3aa9e74a9ead9 -+ sha256: -+ gz: c4ff82395a90ef76c7f906b7687026e0ab96b094dcf3a532d9ab97784a073222 -+ zip: 56dd82e1dd714f2889ca975ae7befbe005675de08839c2cc4a484de2ae65201c -+ xz: 051815637f1fa75a1edf2c54b66d5d5b69563daad777da8dc39543b7754b5290 -+ sha512: -+ gz: 265fb2ffe55af47d8349edffcebe749cc170291227cef55529fe4e67363e4e84b88daa34ffb5364a99c8a0e32110266a34c9a11d62f3bd6f6d47fa76eca641f4 -+ zip: 7fbe414c230aedc9f364512bcbc213038f8f6e4268929a559d2527e2f3e32a140b394e37098ab7e59161236eca8b89cc9e52d73a3be8d7bd44faa91681483f5d -+ xz: 82f4acfaad1dc47db27ee3eb952481a95b3474a98059e9e9f5ceb035b690d1faabe99f2ec52371c4089ed1615eb10c395f029088418fec4d26399b65b4f259b9 -+ - - version: 3.3.0-preview3 From ed8cd9d0c3ba2b23e111d2d8d20e3045c4bcb68d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 26 Dec 2023 13:52:13 -0500 Subject: [PATCH 2088/2563] Translate Ruby 3.3.0 released news post (es) (#3170) --- .../_posts/2023-12-25-ruby-3-3-0-released.md | 398 ++++++++++++++++++ 1 file changed, 398 insertions(+) create mode 100644 es/news/_posts/2023-12-25-ruby-3-3-0-released.md diff --git a/es/news/_posts/2023-12-25-ruby-3-3-0-released.md b/es/news/_posts/2023-12-25-ruby-3-3-0-released.md new file mode 100644 index 0000000000..a80848aab9 --- /dev/null +++ b/es/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -0,0 +1,398 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.0" +author: "naruse" +translator: vtamara +date: 2023-12-25 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.3.0" | first %} + +Nos complace anunciar la publicación de Ruby {{ release.version }}. Ruby 3.3 +añade un nuevo analizador sintáctico llamado Prism, usa Lrama como +generador de analizadores, añade un nuevo compilador JIT en puro Ruby +llamado RJIT, e incluye muchas mejoras de desempeño especialmente de YJIT. + +## Prism + +* Se introduce [el analizador sintáctico Prism](https://github.com/ruby/prism) + como gema predeterminada. + * Prism es un analizador recursivo-descendente para el lenguaje Ruby + portable, tolerante a errores y mantenible +* Prism está listo para operar en producción es mantenido activamente + y puede emplearlo en lugar de Ripper + * Hay [amplia documentación](https://ruby.github.io/prism/) sobre como + usar Prism + * Prism es tanto una librería en C que es usada internamente por CRuby + como una gema que puede ser usada por cualquier herramienta que + necesite analizar código Ruby. + * Unos métodos notables de la API de Prism son: + * `Prism.parse(fuente)` que retorna el árbol de sintaxis + abstracta (AST) como parte de un objeto con el resultado del + reconocimiento + * `Prism.parse_success?(fuente)` que retorna verdadeor si no + hay errores + * `Prism.parse_comments(fuente)` que retorna los comentarios +* Puede hacer solicitudes de cambio o crear incidentes directamente en el + [repositorio de Prism](https://github.com/ruby/prism) si desea + contribuir. +* Ahora puede usar `ruby --parser=prism` o `RUBYOPT="--parser=prism"` + para experimentar con el compilador Prism. Por favor note que + esta opción es sólo para depurar. + +## Uso de Lrama en lugar de Bison + +* Se remplazó Bison por [el generador de analizadores LALR Lrama](https://github.com/ruby/lrama) + [[Característica #19637]](https://bugs.ruby-lang.org/issues/19637) + * Si tiene interés, por favor vea + [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * El analizadores interno de Lrama se ha remplazado con un + analizador LR generado por Racc para hacerlo más mantenible. + * Se soportan reglas de parametrización `(?, *, +)`, que serán + usadas en la fuente parse.y de Ruby. + +## YJIT + +* Mejoras mayores en desempeño respecto a Ruby 3.2 + * Mejorado el soporte para argumentos splat y para el resto de argumentos. + * Los registros se localizan para operaciones en la pila de la máquina + virtual. + * Se compilan más llamadas con argumentos opcionales. Los manejadores de + excepciones también se compilan. + * Las llamadas a tipos y los sitios de llamadas mega-mórficas ya no + salen al interprete. + * Métodos básicos como Rails `#blank?` y + [`#present?` especializado](https://github.com/rails/rails/pull/49909) + se manejan inline. + * `Integer#!=`, `String#!=`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?` y + `Module#===` fueron optimizados de manera especial. + * La velocidad de compilación es un poco superior a la de Ruby 3.2. + * ¡Ahora es 3 veces más rápido que el interprete normal con Optcarrot! +* Mejora significativa en el uso de memoria respecto a 3.2 + * Los meta-datos para el código compilado usan mucha menos memoria. + * `--yjit-call-threshold` se eleva automáticamente de 30 a 120 + cuando la aplicación tiene más de 40,000 ISEQs. + * `--yjit-cold-threshold` se agrega para saltarse la compilación + de ISEQs en frio. + * Generación de código más compacto en ARM64 +* La velocidad de compilación es ahora un poco más rápida que en 3.2. +* El recolector de basura en el código (code GC) ahora está deshabilitado + de manera predeterminada + * `--yjit-exec-mem-size` es tratado como un límite fuerte + en el que se detendrá la compilación de nuevo código. + * No hay disminuciones inesperadas en el desempeño debidas al + recolector de código basura. + * Aún puede habilitar el recolector de basura en el código si lo + desea con `--yjit-code-gc` +* Añade `RubyVM::YJIT.enable` que puede habilitar YJIT en tiempo de ejecución + * Puede iniciar YJIT sin modificar argumentos en la línea de ordenes + o variables de ambiente. + Rails 7.2 [habilitará YJIT de manera predeterminada](https://github.com/rails/rails/pull/49947) + * Esto también puede usarse para habilitar YJIT sólo después de que la + aplicación haya completado el arranque. `--yjit-disable` puede usarse + si quiere usar otras opciones YJIT mientras deshabilita YJIT durante + el arranque. +* Hay más estadísticas de YJIT disponibles de manera predeterminada + * `yjit_alloc_size` y muchas más estadísticas relacionadas con + metadatos ahora están disponibles de manera predeterminada. + * La estadística `ratio_in_yjit` producida por `--yjit-stats` ahora está + disponible en las compilaciones publicadas, ya no se requiere una + estadística especial o una compilación de desarrollo para acceder + a la mayoría de estadísticas. +* Se agregan más posibilidades para analizar rendimiento + * Se añade `--yjit-perf` para facilitar el análisis de rendimiento + con la herramienta perf de Linux + * `--yjit-trace-exits` ahora soporta muestreo con + `--yjit-trace-exits-sample-rate=N` +* Pruebas más extensas y correcciones a múltiples fallas + +## RJIT + +* Se introdujo RJIT un compilador JIT en puro Ruby que remplaza a MJIT. + * RJIT soporta sólo la arquitectura x86-64 en plataformas Unix. + * A diferencia de MJIT, no require de un compilador C en tiempo de ejecución. +* RJIT existe sólo con propósitos experimentales. + * Debería seguir usando YJIT en producción. +* Si le interesa desarrollar un compilador JIT para Ruby, por favor + revise la [presentación de k0kubun en el día 3 de RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + + +### Planificador de hilos M:N + +* Se introdujo un planificador de hilos M:N. [[Característica #19842]](https://bugs.ruby-lang.org/issues/19842) + * M hilos de Ruby son manejados por N hilos nativos (hilos del + sistema operativo) reduciendo así el costo de creación y + administración. + * Como puede romper la compatibilidad con extensiones en C, el + planificador de hilos M:N está deshabilitado de manera predeterminada + en el Ractor principal. + * La variable de ambiente `RUBY_MN_THREADS=1` habilita los hilos + M:N en el Ractor principal. + * Los hilos M:N se habilitan siempre en Ractors que no son el principal. + * La variable de ambiente `RUBY_MAX_CPU=n` establece el máximo número + de `N` (número máximo de hilos nativos). El valor predeterminado es 8. + * Como sólo un hilo de Ruby por Ractor puede correr al mismo tiempo, + el número de hilos nativos se usará, sera el menor entre + el especificado en `RUBY_MAX_CPU` y el número de Ractors + que estén corriendo. Así que las aplicaciones con un sólo Ractor + (la mayoría de aplicaciones) sólo usarán un hilo nativo. + * Para soportar operaciones de bloqueo, pueden usarse más de + `N` hilos nativos. + + +## Mejoras en desempeño + +* `defined?(@ivar)` se optimiza con Formas de Objetos. +* La resolución de nombres como con `Socket.getaddrinfo` ahora puede + interrumpirse (en ambientes donde estén disponibles pthreads). + [[Característica #19965]](https://bugs.ruby-lang.org/issues/19965) + * Con este propósito, se crea un pthread por cada llamada a + getaddrinfo o getnameinfo. Esto incurre en algo de gasto en la + resolución de nombres (alrededor de 2.5x en nuestros experimentos). + No esperamos que el gasto adicional en la resolución de nombres + sea un problema para la mayoría de aplicaciones, pero si lo nota, + o si ve efectos inesperados que crea que pueden deberse a este + cambio, por favor reportelos. +* Diversas mejoras de desempeño al Recolector de Basura + * Los objetos jóvenes referenciados por objetos viejos ya no se promueve + de inmediato a la generación vieja. Esto reduce significativamente la + frecuencia de recolección del Recolector de Basura (GC). + [[Característica #19678]](https://bugs.ruby-lang.org/issues/19678) + * Se introdujo la nueva variable de ajuste + `REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` + para controlar el número de objetos no protegidos que activan una + recolección del. De manera predeterminada se establece en `0.01` (1%). + Esto reduce significativamente la frecuencia de las recolecciones + mayores del GC. [[Característica #19571]](https://bugs.ruby-lang.org/issues/19571) + * Se implementaron Barreras de Escritura para muchos tipos básicos a los que + les hacia falta, son notables `Time`, `Enumerator`, `MatchData`, + `Method`, `File::Stat`, `BigDecimal` y muchos otros. Esto reduce + significativamente el tiempo de las recolecciones menores del GC + y la frecuencia de las recolecciones mayores. + * La mayoría de clases ahora usan Localización de Ancho Variable, + son notables `Hash`, `Time`, `Thread::Backtrace`, + `Thread::Backtrace::Location`, `File::Stat`, `Method`. + Esto hace más veloces estas clases para reservar y liberar, que + usen menos memoria y reduce la fragmentación en el montón (*heap*). + * Se ha agregado soporte para referencias débiles en el recolector + de basura. [[Característica #19783]](https://bugs.ruby-lang.org/issues/19783) + + +## Otros cambios notables desde 3.2 + +### IRB + +IRB ha recibido diversas mejoras, incluyendo --no limitadas a estas: + +* Integración avanzada `irb:rdbg` que provee una experiencia + de depuración equivalente a la de `pry-byebug` + ([doc](https://github.com/ruby/irb#debugging-with-irb)). +* Soporte de paginador para las ordenes `ls`, `show_source` y `show_cmds`. +* Las ordenes `ls` y `show_cmds` dan información más precisa y útil. +* Autocompletación experimental usando análisis de tipos + ([doc](https://github.com/ruby/irb#type-based-completion)). +* Ahora es posible cambiar el color del tipo de letra así como su estilo + en el diálogo de completación gracias a la recien introducida + clase Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +Además, IRB ha experimentado una re-factorización extensa y ha recibido +docenas de correcciones a fallas que facilitan ampliaciones futuras. + +Para actualizaciones más detalladas, por favor vea +[Unveiling the big leap in Ruby 3.3's IRB](https://railsatscale.com/2023-12-19-irb-for-ruby-3-3/). + +## Incidentes de compatibilidad + +Nota: Excluyendo correcciones a errores en características + +* Se desprecian llamadas a `it` sin argumentos en bloques sin parámetros + ordinarios. `it` será una referencia al primer parámetro de bloque en + Ruby 3.4. + [[Característica #18980]](https://bugs.ruby-lang.org/issues/18980) + +### Variables de ambientes eliminadas + +* La variable de ambiente `RUBY_GC_HEAP_INIT_SLOTS` es despreciada + y representa la operación de no hacer nada. En su remplazo por favor use las + variables de ambiente `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS`. + [[Característica #19785]](https://bugs.ruby-lang.org/issues/19785) + +## Problemas de compatibilidad con Stdlib + +### Eliminación de `ext/readline` + +* Tenemos `reline` que es una implementación en Ruby puro compatible con + el API de `ext/readline`. Dependeremos de `reline` a futuro. Si + necesita usar `ext/readline`, puede instalar `ext/readline` vía rubygems.org + con `gem install readline-ext`. +* Ya no necesitamos instalar librerías como `libreadline` o `libedit`. + +## Actualizaciones al API en C + +### APIs en C actualizados + +Los siguientes APIs han sido actualizados. + + + +### APIs en C eliminados + +Los siguientes APIs despreciados han sido eliminados. + +## Actualizaciones a la librería estándar + +RubyGems y Bundler avisan cuando el usuario hace `require` de las +gemas siguientes sin añadirlas al Gemfile o al gemspec. +Esto porque se convertirán en gemas incluidas en versiones futuras +de Ruby. + +Librerías que son objetivo: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +Se ha añadido la siguiente gema. + +* prism 0.19.0 + +Las siguientes gemas predeterminadas se han actualizado. + +* RubyGems 3.5.3 +* abbrev 0.1.2 +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.3 +* cgi 0.4.1 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* error_highlight 0.6.0 +* etc 1.4.3 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.7.1 +* io-nonblock 0.3.0 +* io-wait 0.3.1 +* ipaddr 1.2.6 +* irb 1.11.0 +* json 2.7.1 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.1 +* open3 0.2.1 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.2 +* rdoc 6.6.2 +* readline 0.0.4 +* reline 0.4.1 +* resolv 0.3.0 +* rinda 0.2.0 +* securerandom 0.3.1 +* set 1.1.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.1.0 +* strscan 3.0.7 +* syntax_suggest 2.0.0 +* syslog 0.1.2 +* tempfile 0.2.1 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +La siguiente gema incluida ha sido promovida a gema predeterminada. + +* racc 1.7.3 + +Las siguientes gemas incluidas han sido actualizadas. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-ftp 0.3.3 +* net-imap 0.4.9 +* net-smtp 0.4.0 +* rbs 3.4.0 +* typeprof 0.21.9 +* debug 1.9.1 + +Ver la publicación en GitHub como +[Logger](https://github.com/ruby/logger/releases) o +bien la bitácora de cambios con detalles de las gemas predeterminadas +y las gemas incluidas. + +Ver más detalles en el archivo +[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +o en [la bitácora de cambios](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}). + +¡Con estos cambios, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +desde Ruby 3.2.0! + +¡Feliz Navidad, Felices Fiestas, y disfrute programando con Ruby 3.3! + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Qué es Ruby + +Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, +y ahora es desarrollado como Código Abieto. Corre en múltiples +plataformas y es usado en todo el mundo especialmente para desarrollo web. From 66d07609bb9f7633a44e48500c1bd871c6812659 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Thu, 28 Dec 2023 15:02:29 +0000 Subject: [PATCH 2089/2563] Fixes typo in Spanish translation --- es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md | 2 +- es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md | 2 +- es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- es/news/_posts/2023-12-25-ruby-3-3-0-released.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md b/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md index 3885be5a52..58d4ca19c6 100644 --- a/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md +++ b/es/news/_posts/2023-05-12-ruby-3-3-0-preview1-released.md @@ -166,5 +166,5 @@ desde Ruby 3.2.0! ## Qué es Ruby Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, -y ahora es desarrollado como Código Abieto. Corre en múltiples +y ahora es desarrollado como Código Abierto. Corre en múltiples plataformas y es usado en todo el mundo especialmente para desarrollo web. diff --git a/es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md index 95bd6b2405..95fb92bc5b 100644 --- a/es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md +++ b/es/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -199,5 +199,5 @@ desde Ruby 3.2.0! ## Qué es Ruby Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, -y ahora es desarrollado como Código Abieto. Corre en múltiples +y ahora es desarrollado como Código Abierto. Corre en múltiples plataformas y es usado en todo el mundo especialmente para desarrollo web. diff --git a/es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 174809724a..ce25b7f128 100644 --- a/es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/es/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -350,5 +350,5 @@ desde Ruby 3.2.0! ## Qué es Ruby Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, -y ahora es desarrollado como Código Abieto. Corre en múltiples +y ahora es desarrollado como Código Abierto. Corre en múltiples plataformas y es usado en todo el mundo especialmente para desarrollo web. diff --git a/es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index 62ffd25323..d8b9474689 100644 --- a/es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/es/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -380,5 +380,5 @@ desde Ruby 3.2.0! ## Qué es Ruby Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, -y ahora es desarrollado como Código Abieto. Corre en múltiples +y ahora es desarrollado como Código Abierto. Corre en múltiples plataformas y es usado en todo el mundo especialmente para desarrollo web. diff --git a/es/news/_posts/2023-12-25-ruby-3-3-0-released.md b/es/news/_posts/2023-12-25-ruby-3-3-0-released.md index a80848aab9..99a9a8ec6e 100644 --- a/es/news/_posts/2023-12-25-ruby-3-3-0-released.md +++ b/es/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -394,5 +394,5 @@ desde Ruby 3.2.0! ## Qué es Ruby Ruby primero fue desarrollado por Matz (Yukihiro Matsumoto) en 1993, -y ahora es desarrollado como Código Abieto. Corre en múltiples +y ahora es desarrollado como Código Abierto. Corre en múltiples plataformas y es usado en todo el mundo especialmente para desarrollo web. From e180c80bce5f80c3da265b05a5480ce19744049d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 00:33:49 +0900 Subject: [PATCH 2090/2563] Bump ruby/setup-ruby from 1.162.0 to 1.165.1 (#3174) Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.162.0 to 1.165.1. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/af848b40be8bb463a751551a1180d74782ba8a72...360dc864d5da99d54fcb8e9148c14a84b90d3e88) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be65b9757d..dd177299b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # v1.162.0 + uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # v1.165.1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index b72495a349..323c2c518b 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # v1.162.0 + uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # v1.165.1 with: ruby-version: '3.2' bundler-cache: true From d9c7147ec3ba91ffcf5a85077879b1d2ed261ab4 Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Mon, 8 Jan 2024 10:46:37 +0800 Subject: [PATCH 2091/2563] Translate Ruby 3.3.0 Released (zh_cn) (#3172) Co-authored-by: Alex Shi --- .../_posts/2023-12-25-ruby-3-3-0-released.md | 286 ++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 zh_cn/news/_posts/2023-12-25-ruby-3-3-0-released.md diff --git a/zh_cn/news/_posts/2023-12-25-ruby-3-3-0-released.md b/zh_cn/news/_posts/2023-12-25-ruby-3-3-0-released.md new file mode 100644 index 0000000000..6e93ea1409 --- /dev/null +++ b/zh_cn/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -0,0 +1,286 @@ +--- +layout: news_post +title: "Ruby 3.3.0 已发布" +author: "naruse" +translator: GAO Jun +date: 2023-12-25 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.3.0" | first %} +我们很高兴地宣布 Ruby {{ release.version }} 发布。 +Ruby 3.3 新增了 Prism 解析器,使用 Lrama 作为解析生成器,新增了纯 Ruby 实现的 JIT 编译器 RJIT,另有许多性能改进,尤其是 YJIT。 + +## Prism + +* 引入 [Prism 解析器](https://github.com/ruby/prism) 为默认 gem + * Prism 是一个可移植、容错且可维护的 Ruby 语言递归下降解析器 +* Prism 已可用于生产环境,并得到了积极维护,您可以使用它来代替 Ripper + * 有关于如何使用 Prism 的 [详细文档](https://ruby.github.io/prism/) + * Prism 既是 CRuby 内部使用的 C 库,也是任何需要解析 Ruby 代码的工具可以使用的 Ruby gem + * Prism API 中值得注意的方法有: + * `Prism.parse(source)` 返回 AST 作为解析结果对象的一部分 + * `Prism.parse_comments(source)` 返回注释 + * `Prism.parse_success?(source)` 返回解析是否成功(没有错误) +* 如果您有兴趣贡献,可以直接在 [Prism 代码库](https://github.com/ruby/prism) 上提出拉取请求或报告问题 +* 您现在可以通过 `ruby --parser=prism` 或 `RUBYOPT="--parser=prism"` 来试用 Prism 编译器。 请注意,此选项仅用于调试。 + +## 使用 Lrama 替代 Bison + +* 使用 [Lrama LALR 解析生成器](https://github.com/ruby/lrama) 替换 Bison [[Feature #19637]](https://bugs.ruby-lang.org/issues/19637) + * 如果您有兴趣,请参阅 [Ruby 解析器的未来愿景](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * Lrama 内部解析器被 Racc 生成的 LR 解析器替换,以便于维护 + * 已支持参数化规则 `(?, *, +)` ,将被用于 Ruby parse.y 中 + +## YJIT + +* 相对于 Ruby 3.2 的主要性能提升 + * 改进了 splat 和 rest 参数支持。 + * 虚拟机的栈操作分配了寄存器。 + * 更多带有可选参数的调用被编译。错误处理也被编译。 + * 不支持的调用类型和多态调用不再推出到解释器执行。 + * 诸如 Rails 的 `#blank?` 和 [特定的 `#present?`](https://github.com/rails/rails/pull/49909) 现在被内联。 + * 特别优化了 `Integer#*`, `Integer#!=`, `String#!=`, `String#getbyte`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?`, `Module#===`。 + * 编译速度比 Ruby 3.2 略快。 + * 比 Optcarrot 的解释器快 3 倍以上! +* 内存利用率相较 Ruby 3.2 有显著提升 + * 编译代码所用的元数据使用更少的内存。 + * 当应用程序超过 40000 ISEQ 时,`--yjit-call-threshold` 自动从 30 提升到 120。 + * 增加 `--yjit-cold-threshold` 来跳过编译冷 ISEQ。 + * 在 ARM64 中的生成更多紧凑代码。 +* 代码垃圾收集现在默认禁用 + * 将 `--yjit-exec-mem-size` 作为新代码编译停止的硬限制。 + * 代码垃圾收集不会导致性能突然大幅降低 + 基于 [Pitchfork](https://github.com/shopify/pitchfork) 为服务器上的重新分叉提供更好的写时复制行为。 + * 您依旧可以通过 `--yjit-code-gc` 启用代码垃圾收集 +* 新增 `RubyVM::YJIT.enable` 可以在运行时启用 YJIT + * 您可以在不修改命令行参数或环境变量的情况下启用 YJIT。 + Rails 7.2 将通过此方法 [默认启用 YJIT](https://github.com/rails/rails/pull/49947)。 + * 这也可以用于在应用程序启动完成后,仅启用 YJIT 一次。当您在启动程序时禁用了 YJIT ,您可以通过 `--yjit-disable` 来使用其他 YJIT 选项。 +* 默认可以获取更多的 YJIT 状态 + * `yjit_alloc_size` 和一些更多的元数据相关状态现在默认可用。 + * 发布版本中,现在可以用到通过 `--yjit-stats` 产生的 `ratio_in_yjit` 统计信息,不再需要特殊的统计信息或开发版本。 +* 新增更多性能分析能力 + * 新增 `--yjit-perf` 以便于利用 Linux perf 进行性能分析。 + * `--yjit-trace-exits` 现在支持通过 `--yjit-trace-exits-sample-rate=N` 进行取样 +* 更彻底的测试及多个错误修复 + +## RJIT + +* 引入了纯 Ruby 的 JIT 编译器 RJIT 并替代 MJIT。 + * RJIT 仅支持 x86\_64 架构上的 Unix 平台。 + * 不同于 MJIT,RJIT在运行时不需要 C 编译器。 +* RJIT 目前仅用于实验目的。 + * 您在生产环境中应当继续使用 YJIT。 +* 如果您有兴趣为 Ruby 开发 JIT,请查看 [k0kubun 在 RubyKaigi 第 3 天 中的演讲](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## M:N 线程调度器 + +* 引入了 M:N 线程调度器。[[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M 个 Ruby 线程由 N 个原生线程(OS 线程)管理,从而降低线程创建和管理成本。 + * 由于可能会破坏 C 扩展的兼容性,因此在默认情况下,主 Ractor 上禁用 M:N 线程调度器。 + * 可通过环境变量 `RUBY_MN_THREADS=1` 在主 Ractor 上启用 M:N 线程。 + * 非主 Ractor 上总是启用 M:N 线程。 + * 可通过环境变量 `RUBY_MAX_CPU=n` 设置 `N` 的最大值(原生线程的最大数量)。默认值为 8。 + * 由于每个 Ractor 中只能同时运行一个 Ruby 线程,因此将使用原生线程的数量,即 `RUBY_MAX_CPU` 和运行中的 Ractor 数量中较小的值。因此单 Ractor 应用程序(大多数应用程序)将仅使用 1 个原生线程。 + * 为了支持阻塞操作,可以使用多于 `N` 个原生线程。 + +## 性能提升 + +* 根据对象形状,优化 `defined?(@ivar)`。 +* 诸如 `Socket.getaddrinfo` 的域名解析现在可以被中断(在 pthreads 可用的环境中)。[[Feature #19965]](https://bugs.ruby-lang.org/issues/19965) +* 垃圾收集器的一些性能改进 + * 老对象引用的年轻对象不再立即提升到老一代。这显着降低了主要垃圾收集的频率。 [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + * 新增调节变量 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` 来控制导致触发主要垃圾收集的未保护对象的数量。 + 默认设置为 `0.01` (1%)。这显著降低了主要垃圾收集的频率。 [[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) + * 为许多缺少写入屏障的核心类型实现了写入屏障,特别是`Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal`等。 + 这显着减少了次要垃圾收集时间和主要垃圾收集的频率。 + * 大多数核心类现在都使用可变宽度分配,特别是`Hash`, `Time`, `Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`。 + 这使得这些类的分配和释放速度更快,使用更少的内存并减少堆碎片。 + * 垃圾收集器中添加了对弱引用的支持。 [功能 #19783](https://bugs.ruby-lang.org/issues/19783) + + +## 自 3.2 以来,其他值得注意的变化 + +### IRB + +IRB 进行了多项增强功能,包括但不限于: + +* 高级 `irb:rdbg` 集成,提供了类似 `pry-byebug` 的调试体验([文档](https://github.com/ruby/irb#debugging-with-irb))。 +* 为 `ls` 和 `show_cmds` 这样的方法提供分页支持。 +* 为 `ls` 和 `show_source` 方法提供更准确更有用的信息。 +* 实验性的基于类型分析的自动补全功能([文档](https://github.com/ruby/irb#type-based-completion))。 +* 现在可以通过新引入的类 Reline::Face 来更改自动补全对话框中的字体颜色和字体样式([文档](https://github.com/ruby/ruby/blob/master/doc/reline/face.md))。 + +另外,IRB 还进行了广泛的重构,修复了数十个错误,以便未来的增强。 + +如需了解更详细信息,请参考 [Unveiling the big leap in Ruby 3.3's IRB](https://railsatscale.com/2023-12-19-irb-for-ruby-3-3/)。 + +## 兼容性问题 + +注意:不包括 bug 修复。 + +* 在没有普通参数的 block 中对于没有参数的 `it` 调用被废弃。`it` 将在 Ruby 3.4 中作为第一个 block 参数的引用。[[Feature #18980]](https://bugs.ruby-lang.org/issues/18980) + +### 移除的环境变量 + +移除了以下已废除的环境变量 + +* 环境变量 `RUBY_GC_HEAP_INIT_SLOTS` 被废弃,并不再产生实际作用。请使用环境变量 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` 进行替代。 [[Feature #19785]](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 兼容性问题 + +### `ext/readline` 已退役 + +* 我们有了纯 Ruby 实现的 `reline`,兼容 `ext/readline` API。未来我们将依赖 `reline`。如果您需要使用 `ext/readline`,可以通过 rubygems.org 进行安装 `gem install readline-ext`。 +* 我们不再需要安装类似 `libreadline` 或 `libedit` 这样的库了。 + +## 标准库更新 + +如果在 Gemfile 或 gemspec 中没有加入下列 gems,那么当用户 `require` 这些 gems时,RubyGems 和 Bundler 会发出警告。 +因为这些 gems 会在将来的 Ruby 版本中成为绑定的 gems 库。 + +当时用 bootsnap gem 时,将不显示此警告。我们建议使用 `DISABLE_BOOTSNAP=1` 环境变量运行您的应用程序至少一次。这是此版本的限制。 + +这些库包括: +* abbrev +* base64 +* bigdecimal +* csv +* drb +* getoptlong +* mutex_m +* nkf +* observer +* racc +* resolv-replace +* rinda +* syslog + +新增以下默认 gem。 + +* prism 0.19.0 + +更新了以下默认 gems。 + +* RubyGems 3.5.3 +* abbrev 0.1.2 +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.3 +* cgi 0.4.1 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* error_highlight 0.6.0 +* etc 1.4.3 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.7.1 +* io-nonblock 0.3.0 +* io-wait 0.3.1 +* ipaddr 1.2.6 +* irb 1.11.0 +* json 2.7.1 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.1 +* open3 0.2.1 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.2 +* rdoc 6.6.2 +* readline 0.0.4 +* reline 0.4.1 +* resolv 0.3.0 +* rinda 0.2.0 +* securerandom 0.3.1 +* set 1.1.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.1.0 +* strscan 3.0.7 +* syntax_suggest 2.0.0 +* syslog 0.1.2 +* tempfile 0.2.1 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +以下默认 gem 成为绑定 gem + +* racc 1.7.3 + +更新了以下绑定 gems。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-ftp 0.3.3 +* net-imap 0.4.9 +* net-smtp 0.4.0 +* rbs 3.4.0 +* typeprof 0.21.9 +* debug 1.9.1 + +有关默认 gems 和 绑定 gems 的细节,可以参考 GitHub 上的发布,例如 [logger gem](https://github.com/ruby/logger/releases) 或相应的变更日志。 + +更多详情,可参见 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +或 [提交日志](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})。 + +自 Ruby 3.2.0 以来,[{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+), 删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)! + +圣诞快乐,节日快乐,享受 Ruby 3.3 的编程乐趣! + +## 下载 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 什么是 Ruby + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发,现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是Web开发领域。 From b5a5265420092406265840cdf6bfd22f0d46926d Mon Sep 17 00:00:00 2001 From: Bear Su Date: Mon, 8 Jan 2024 10:53:01 +0800 Subject: [PATCH 2092/2563] Translate Ruby 3.3.0 released news post (zh_tw) (#3160) Co-authored-by: Alex Shi --- .../_posts/2023-12-25-ruby-3-3-0-released.md | 283 ++++++++++++++++++ 1 file changed, 283 insertions(+) create mode 100644 zh_tw/news/_posts/2023-12-25-ruby-3-3-0-released.md diff --git a/zh_tw/news/_posts/2023-12-25-ruby-3-3-0-released.md b/zh_tw/news/_posts/2023-12-25-ruby-3-3-0-released.md new file mode 100644 index 0000000000..8e037e0c4e --- /dev/null +++ b/zh_tw/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -0,0 +1,283 @@ +--- +layout: news_post +title: "Ruby 3.3.0 發布" +author: "naruse" +translator: "Bear Su" +date: 2023-12-25 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.3.0" | first %} +我們很高興宣布 Ruby {{ release.version }} 發佈了。 Ruby 3.3 新增了名為 Prism 的 Parser,使用了 Lrama 做為 Parser 產生器,新增了名為 RJIT,純 Ruby 開發的 JIT 編譯器,以及更多效能提升,尤其是 YJIT。 + +## Prism + +* 導入 [the Prism parser](https://github.com/ruby/prism) 為預設 gem。 + * Prism 是可移植、可容錯、且可維護的 Ruby 語言遞迴下降解析器。 +* Prism 已可用於生產環境,並積極維護,您可以用來替代 Ripper。 + * 有關如何使用 Prism 的 [詳細文件](https://ruby.github.io/prism/)。 + * Prism 是 CRuby 內部使用的 C 函式庫,同時也是任何需要解析 Ruby 程式碼的工具鏈可以使用的 Ruby gem。 + * Prism API 中值得注意的方法為: + * `Prism.parse(source)` 回傳 AST 作為解析結果的一部分。 + * `Prism.parse_comments(source)` 回傳註解。 + * `Prism.parse_success?(source)` 如果沒有發生錯誤回傳 true。 +* 如果您有興趣貢獻,您可以直接在 [the Prism repository](https://github.com/ruby/prism) 上建立 pull requests 或 issues。 +* 您現在可以使用 `ruby --parser=prism` 或 `RUBYOPT="--parser=prism"` 體驗 Prism 編譯器。請注意這個指令列參數只用來除錯。 + +## 使用 Lrama 取代 Bison + +* 使用 [Lrama LALR parser generator](https://github.com/ruby/lrama) [[Feature #19637]](https://bugs.ruby-lang.org/issues/19637) 取代 Bison。 + * 如果您感興趣,請參閱 [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html)。 + * 為了維護性,Lrama internal parser 改用 Racc 產生的 LR parser。 + * 支援 Parameterizing Rules `(?, *, +)`,能夠在 Ruby parse.y 中被使用。 + +## YJIT + +* 自 3.2 主要效能提升 + * 改善 splat 和 rest arguments 的支援。 + * 虛擬機器分配了暫存器,用於堆疊操作。 + * 更多帶有可選參數的呼叫會被編譯。 錯誤處理也會被編譯。 + * 不支援的呼叫類型不再返回給直譯器。 + * 基本方法如 Rails `#blank?` 與 [specialized `#present?`](https://github.com/rails/rails/pull/49909) 變為內聯(inlined)。 + * 特別改善了 `Integer#*`、`Integer#!=`、`String#!=`、`String#getbyte`、`Kernel#block_given?`、`Kernel#is_a?`、`Kernel#instance_of?`、`Module#===`。 + * 編譯速度比 3.2 稍快一些。 + * 目前比 optcarrot 的直譯器快上 3 倍! +* 自 3.2 以來顯著提高了記憶體使用率 + * 已編譯的程式碼的元資料使用更少的記憶體。 + * 當應用程式有超過 40,000 ISEQs 時,`--yjit-call-threshold` 會自動從 30 提高到 120。 + * 新增 `--yjit-cold-threshold` 以略過編譯 cold ISEQs。 + * 在 ARM64 產生更緊湊的程式碼。 +* 預設停用程式碼 GC + * `--yjit-exec-mem-size` 作為新程式碼編譯停止的硬限制。 + * 不會因為程式碼 GC 導致效能突然下降。 + 使用 [Pitchfork](https://github.com/shopify/pitchfork) 在伺服器 reforking 有更好的 copy-on-write 行為。 + * 如果需要,您仍然可以使用 `--yjit-code-gc` 啟用程式碼 GC。 +* 新增 `RubyVM::YJIT.enable`,可以在 run-time 中啟用 YJIT。 + * 您可以在不修改指令列參數或環境變數的情況下啟動 YJIT。 + Rails 7.2 將透過此方法 [預設啟用 YJIT](https://github.com/rails/rails/pull/49947)。 + * 可用於僅在您的應用程式完成啟動後啟用 YJIT。 如果您在啟動程式時停用了 YJIT,可以使用 `--yjit-disable` 來使用其他 YJIT 選項。 +* 預設提供更多 YJIT 統計數據 + * 現在預設提供 `yjit_alloc_size` 和幾個更多與元資料相關的統計。 + * 發布版本現在提供透過 `--yjit-stats` 產生的 `ratio_in_yjit` 統計資訊,不再需要特殊的統計資訊或是開 +* 新增更多性能分析功能 + * 新增 `--yjit-perf` 以便於使用 Linux perf 進行性能分析。 + * `--yjit-trace-exits` 現在支援透過 `--yjit-trace-exits-sample-rate=N` 抽樣。 +* 更多測試與錯誤修復 + +## RJIT + +* 導入純 Ruby 開發的 JIT 編譯器 RJIT 並取代 MJIT。 + * RJIT 僅支援 x86\_64 架構的 Unix 平台。 + * 不同於 MJIT,RJIT 在執行時不需要 C 編譯器。 +* RJIT 目前還在實驗階段。 + * 您在生產環境應繼續使用 YJIT。 +* 如果您有興趣為 Ruby 開發 JIT,請參閱 [k0kubun's 在 RubyKaigi 第 3 天的演講](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)。 + +## M:N thread scheduler + +* 導入 M:N thread scheduler。 [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M 個 Ruby 執行緒由 N 個原生執行緒(OS 執行緒)管理,所以能減少執行緒建立與管理的成本。 + * 由於會破壞 C-extension 的相容性,所以預設在主 Ractor 上停用 M:N thread scheduler。 + * 透過 `RUBY_MN_THREADS=1` 環境變數在主 Ractor 啟用 M:N threads。 + * 在非主 Ractors 上總是啟用 M:N threads。 + * 可使用 `RUBY_MAX_CPU=n` 環境變數設定 `N` 的最大值 (原生執行緒的最大數量)。預設值為 8。 + * 由於每一個 Ractor 同時只能執行一個 Ruby 執行緒,所以將使用原生執行緒的數量,即 `RUBY_MAX_CPU` 和執行 Ractor 數量中較小的值,因此單一 Ractor 應用程式 (大多數應用程式) 只會使用一個原生執行緒。 + * 為支援阻塞操作,可以使用多餘 `N` 個原生執行緒。 + +## 效能提升 + +* `defined?(@ivar)` 透過 Object Shapes 提升效能。 +* 像是 `Socket.getaddrinfo` 的域名解析現在可以被中斷 (在可用 pthreads 的環境下)。 [[Feature #19965]](https://bugs.ruby-lang.org/issues/19965) +* 垃圾收集器的一些效能提升 + * 被舊物件參考的年輕物件不再立即提升為舊世代。這顯著降低了 major GC 收集的頻率。 [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + * 新增調整變數 `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` 用來控制導致觸發 major GC 收集的未受保護物件的數量。預設為 `0.01` (1%)。這顯著降低了 major GC 收集的頻率。 [Feature #19571](https://bugs.ruby-lang.org/issues/19571) + * 為幾個缺少寫入屏障(Write Barriers)的核心類型進行實作,特別是 `Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal` 等。這顯著地減少 minor GC 收集時間與 major GC 收集頻率。 + * 大部分核心類別現在使用可變寬度分配,特別是 `Hash`, `Time`, `Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`。 + 這使得這些類別更快被分配與釋放,使用更少的記憶體與減少堆疊碎片。 + * 垃圾收集器加入弱參考的支援。 [Feature #19783](https://bugs.ruby-lang.org/issues/19783) + + +## 自 3.2 以來其他值得注意的變更 + +### IRB + +IRB 進行了數項改善,包括但不限於: + +- 加強 `irb:rdbg` 整合以提供與 `pry-byebug` 相同的除錯體驗 ([文件](https://github.com/ruby/irb#debugging-with-irb))。 +- Pager 支援指令,例如 `ls` 和 `show_cmds`。 +- `ls` 和 `show_source` 指令提供了更準確和有幫助的資訊。 +- 使用 type 分析的實驗係自動補齊 ([doc](https://github.com/ruby/irb#type-based-completion))。 +- 透過新導入的類別 Reline::Face,可以更改補齊視窗中的字體顏色與字體樣式 ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md))。 + +此外,IRB 還進行了大量重構和修復了許多錯誤,以方便未來強化功能。 + +請參見 [Unveiling the big leap in Ruby 3.3's IRB](https://railsatscale.com/2023-12-19-irb-for-ruby-3-3/) 來了解更多。 + +## 相容性問題 + +注意:不包含功能問題的修正。 + +* 棄用在沒有普通參數的區塊中不帶參數呼叫 `it`。 在 Ruby 3.4 中 `it` 將會參考 block 的第一個參數。 + [[Feature #18980]](https://bugs.ruby-lang.org/issues/18980) + +### 被移除的環境變數 + +下列廢棄的環境變數已被移除。 + +* 環境變數 `RUBY_GC_HEAP_INIT_SLOTS` 已經被廢棄且無法使用。請使用環境變數 `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS` 作為替代。 [[Feature #19785]](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib 相容性問題 + +### `ext/readline` 已被淘汰 + +* 我們使用純 Ruby 實作並相容於 `ext/readline` API 的 `reline`。未來我們將依賴 `reline`。如果您需要使用 `ext/readline`,您可以使用 `gem install readline-ext` 透過 rubygems.org 安裝 `ext/readline`。 +* 我們將不再需要安裝函式庫例如 `libreadline` 或 `libedit`。 + +## 標準函式庫更新 + +如果使用者 `require` 以下 gems 卻沒有將其加入到 Gemfile 或 gemspec,RubyGems 和 Bundler 將會顯示警告。 +因為它們將在 Ruby 未來版本中變為 bundled gem。 + +如果您使用 bootsnap gem,這個警告將會被抑制。我們建議至少使用環境變數 `DISABLE_BOOTSNAP=1` 執行您的應用程式一次。這是目前版本的限制。 + +這些函式庫包括: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +加入了以下的預設 gem。 + +* prism 0.19.0 + +更新了以下的 bundled gem。 + +* RubyGems 3.5.3 +* abbrev 0.1.2 +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.3 +* cgi 0.4.1 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* error_highlight 0.6.0 +* etc 1.4.3 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.7.1 +* io-nonblock 0.3.0 +* io-wait 0.3.1 +* ipaddr 1.2.6 +* irb 1.11.0 +* json 2.7.1 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.1 +* open3 0.2.1 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.2 +* rdoc 6.6.2 +* readline 0.0.4 +* reline 0.4.1 +* resolv 0.3.0 +* rinda 0.2.0 +* securerandom 0.3.1 +* set 1.1.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.1.0 +* strscan 3.0.7 +* syntax_suggest 2.0.0 +* syslog 0.1.2 +* tempfile 0.2.1 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +下列的預設 gem 現在是 bundled gems。 + +* racc 1.7.3 + +更新了以下的 bundled gem。 + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-ftp 0.3.3 +* net-imap 0.4.9 +* net-smtp 0.4.0 +* rbs 3.4.0 +* typeprof 0.21.9 +* debug 1.9.1 + +請參閱 GitHub 發布如 [Logger](https://github.com/ruby/logger/releases) 和變更紀錄來了解更多關於預設 gems 與 bundled gems 的資訊。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) 來了解更多。 + +自 Ruby 3.2.0 以來,計[{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)。 + +耶誕快樂、佳節愉快,享受與 Ruby 3.3 一起寫程式的時光! + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 From 1d89b9024352b25989f3ea7e13f3d2b64672029d Mon Sep 17 00:00:00 2001 From: BraisonCrece <104019638+BraisonCrece@users.noreply.github.com> Date: Tue, 9 Jan 2024 10:49:13 +0100 Subject: [PATCH 2093/2563] fix; Typo on ES index.md Fixing a minor typo in the Spanish version --- es/about/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es/about/index.md b/es/about/index.md index cef7eea359..c3e52af870 100644 --- a/es/about/index.md +++ b/es/about/index.md @@ -191,7 +191,7 @@ encuentran las siguientes: Ruby, como lenguaje, tiene algunas implementaciones diferentes. Esta página ha estado discutiendo la implementación de referencia, en la comunidad a menudo referida como **MRI** ("Matz’s Ruby Interpreter") o **CRuby** (ya que está escrito en C), pero también hay otros. -Ellos on útiles en ciertas situaciones, proporcionan una integración adicional a otros lenguajes o entornos, o tienen características especiales que **MRI** no tiene. +Ellos son útiles en ciertas situaciones, proporcionan una integración adicional a otros lenguajes o entornos, o tienen características especiales que **MRI** no tiene. Aquí hay una lista: From 3b862a50a7dad7fec712379e49ac58130f8dedc2 Mon Sep 17 00:00:00 2001 From: ogawa <63557554+ogawa65a@users.noreply.github.com> Date: Wed, 10 Jan 2024 23:27:00 +0900 Subject: [PATCH 2094/2563] Fix typo in Japanese (#3179) --- ja/about/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/about/index.md b/ja/about/index.md index 0fa467f7b0..895367cb33 100644 --- a/ja/about/index.md +++ b/ja/about/index.md @@ -163,7 +163,7 @@ Rubyは次に示すような豊富な機能を持っています。 言語としてのRubyには、いくつか別の処理系が存在しています。 このページでは、**MRI** (Matz Ruby Interpreter)あるいは **CRuby** (Cで書かれていることに由来する)と呼ばれる -Rubyのリファンレス実装について記載していますが、別のRuby処理系も存在します。 +Rubyのリファレンス実装について記載していますが、別のRuby処理系も存在します。 他の言語や環境と統合したりMRIにはないような特別な機能を使いたい場合など、 ある特定の状況でそうしたRuby処理系は役に立ちます。 From 6b9116187aeb7de13687c30900b7d063e0c7c200 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 10 Jan 2024 18:17:12 +0900 Subject: [PATCH 2095/2563] Added datadog and our sponsor logo --- en/about/website/index.md | 29 +++++++++++++++++++++++------ images/sponsor/aws.png | Bin 0 -> 62740 bytes images/sponsor/dd.png | Bin 0 -> 76188 bytes images/sponsor/fastly.png | Bin 0 -> 3775 bytes images/sponsor/heroku.png | Bin 0 -> 7227 bytes images/sponsor/mackerel.png | Bin 0 -> 4610 bytes 6 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 images/sponsor/aws.png create mode 100644 images/sponsor/dd.png create mode 100644 images/sponsor/fastly.png create mode 100644 images/sponsor/heroku.png create mode 100644 images/sponsor/mackerel.png diff --git a/en/about/website/index.md b/en/about/website/index.md index c265f38184..1cdd6890c6 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -34,13 +34,29 @@ to this website. Also many thanks to the organizations that support us: - * [Ruby Association][rubyassociation] (hosting) - * [Ruby no Kai][rubynokai] (build server) - * [AWS][aws] (hosting) - * [Heroku][heroku] (hosting) - * [Fastly][fastly] (CDN) - * [Hatena][hatena] ([mackerel][mackerel], server monitoring) +[Ruby Association][rubyassociation] (hosting) +[Ruby no Kai][rubynokai] (build server) + +[AWS][aws] (hosting) + +AWS + +[Heroku][heroku] (hosting) + +Heroku + +[Fastly][fastly] (CDN) + +Fastly + +[Hatena][hatena] ([mackerel][mackerel], server monitoring) + +mackerel + +[DataDog][datadog] (server monitoring) + +Datadog [logo]: /en/about/logo/ [webmaster]: mailto:webmaster@ruby-lang.org @@ -56,3 +72,4 @@ Also many thanks to the organizations that support us: [mackerel]: https://mackerel.io/ [rubynokai]: http://ruby-no-kai.org/ [aws]: https://aws.amazon.com/ +[datadog]: https://www.datadoghq.com/ diff --git a/images/sponsor/aws.png b/images/sponsor/aws.png new file mode 100644 index 0000000000000000000000000000000000000000..facf721d0357dba6042ff9a967ef2dd1fe2f614a GIT binary patch literal 62740 zcmY(p2Q(Yr`veN)rD)Ywv_{nkRW)MIq%}f|Qn9zhs49x0HLJv45yYq!LQ7Gj zW+L{ek%-lbi0w_kzxRL6`<~;R;C}9NpXc+8d+(DQZDgRu%FM;gz`(!?)P8Ehz`&Nn zz;MBq=`{U6Zm;pJ^bc+$Ju?mZr=XO||9(!=8UFV}|C9d9eEqXF`tUg)69ZF*$8TES zv_7^7U1nuqc*6jEs%922v38_XGo_ta;VLysaL<4GERKPr{mPS$WX6;yn-5|HKe*;U zd*Ut=L&|%c(zgBVXbtVnnkyhv@CvzChpnQtS3!rS9!p6rJ+`3NaIw8&C z!_T}i32N|mJ4&e$lTIJ%kUChfIq8A`U<~ic#R+^TcHKbgWUE1GIc!j5xOLRR0^e;| z$#iNC!DeZI4)rkT2+A0pz}NNj++_&Z73|%ka$EEG2OmCK-dJ)ES>jcG!(+L}K>4ED zVARH;Dgn=|8I}j#e#5gb=q^J{j)8{sgeD<4&NCRg3{=iG>_t2BSyl8I9(_N3n*sjk z`v}Q^y_XfQVg<;FioN{VolbLp{excdVi+L&IvZad35J zT+~X3SQCP;a)IZu2Vdg;)9&ZBAxrg?({5Kzy)SFNCLw`+7Bb@x4qb#YL1vUnohqj{)k;q8yfC4+U9S1d$7UqQq;-)z~Srm zZck8wcj!tj+4j_&KI?#-0=g4)=-;{8pndLgN0g31t@6MJ)D#bw_aBF=k1uin#um@L z2rr$#KB#Y1aC#86HXMBo`j{iwp*bejhrwADY51=3ud|0NhpMvU{Hgc(otC*);u{9dR z6B1lFFl!54F0s3o(fU}-wnuVzK>42~G)jy^32cwdCs5l4Ff1p~wP2NtcQsG=Xh^_t0X(>6ZpSG!r z!~Zg)E>P|ssHBnB=F{xmL{{%9eIX8^ba4+T05Nhialt7VTS6F1H+Emd;dI}B@Xzb47K60);b zF>$8Q#m~^dvt*ThcdmBytZ!lI8?7i0OW&0GbvyV0@+c&VTHEd(3r-mtn*L%SdJrMQ zH9cy9k~F^?Xs?7sHNVb2%H(_)>=77J_MThaz(1mOvvS2JL|5W4_{B99sQfmz5Zheg zr-trtfgMb^C}^Rx5)TqBZ{!+&I6JiweCs0FnL{(%#nKl+SZ~O#k?-fqm>i&zfsMTn zKB!rv(EZ-I>+6%lVT50WYStw4rVZkhpM1yCo(2{M+4vL0RF5uNpxs*-%BdjClGt6x zrumdMi4n@Ud)Ly4;B9hx zpheg_Ta}H{CQ5jogTr$E&SAWSeand?q85zmf_pc)PU|?jv~r|m`XcA=9rxRY zU!t%$DsugKLyKLv%$U<=`8t(0>7J8M{IeY)4LgO&@@k0Qt4|+o?r?9i zzeI4CpWkWVTO(yPxmS{%6B-X$cdrf&$-l6ckSi%(d)oRVwkKw8 zy>X?#2^`UEFLs6&oVton@{??gx?iHZlVkCs9OEGs=UzefN)W(Lh%xX4%gtmw%QrWi zOkd3U&g;g~+p>O%+=Knl(pcIXoMfhpI`6Zc5)jm)(@Ypj3O!3sS?bdi0i+`;D7Qt;?=8bw-=R^>d9n#%qb(R; z%AztiO0p`4mBxHm&%AY(D$Dzti5j)9Y4>=l^{xFIf$qjC(HSti){M2RWp+9%A* zhd(4_N{UfT+Z31ILE$d!OEhw+tKiZw^R~m#hl4zP)PyL(EX;!XuA_@jb->AJV40=6 z{wvVBw%i!=6^Bu%JV3L>hlQ=ueywri)1oc!6A%C#*xU^l`*(;juS~FlRFRLJ`~~8A3HLfLYg) z8Oq`|J{k0QCBf8EN{^!qR|Tj)aCB?RT>PNNTlZRX$oLD-C<#87LA`#9cnhiyt0=O# z(BjU7g|Mi#b?u$KO(}gc6PcxfU@m?V^6b9kkd!w0Ir7=NjE%U0Er_+BYZx!`NLFa< z?&xYM555;^Uk)qpOu~7a)Pexm(qkE9Z`}xz(;UyuE__2XXCo{!5oc;r&p?Fy z;`tqe=1+nd;}4b9*(=LHdz6eeR&ocIo{6FM`dRA5Sc99VTDqUz#6wGWB3p`|Qe%-W zR(Y*SIEpdWy&M*=k>Q4Om^79`mdcALYhN#0TXigk=yY)7dgZP{K35jE(#nuc=4q~i z-}Hyo5NfWcP+YJ#wPu(Y_cM~3s5i<~j)vH_@)FLZ5VdiW zdteQO@>X9VSZbUhAZP&yKX@)nz{29Vjirjd)Br9YCN?c{Ng+9n*QR6bwX6)_v&0#sux(Vb4L>)qBZb!ih)oph-}!XAe+K*082gs| zTQ%&{pLL^LynchzNgNC@sZEZcFLJIa02;^R8K_S-7sn$PW(DU36*tQr3LsjB7QPo> zF~#CfLb^&Iswv35D>&=5_ajaYGLjg<5fm76fht|9Fd5#dsz>u1M5Y<~;!vR1W>KxC zZMr`C-;-d4mgl#88^A={A`08c!Oz8XM?WlVocw23voPh?o(R(4M9P;%jSH4CuA)PY z8b^W+gPV)*e>6ZGxvfYJB^Atw@wuGYQ&C2G-qjL%HSmR0)c-K~2 z(4Deh2K9~phk_vc6zWYT@ToYK1g?*=227tSTFT2o}FPx(C+N}C?5jmH5W;N1CKofES zJK%oJdBir(G{iqYEahE6FD#vod zPMyt1aiRuvpBh&%Oukh8SZlDLzwPNSsE?Ucda1d8MS8ArRQ&0V4CogFvuU;KBz~xg zR^*b1``x$kcYH5)cGa-AA8P;M-RkjDoB)RpT6+vrKMG(*#s&rh(i=o)Zg}GfzNK$ z%%Y&sRFIA^(u#KsKbi7Rd;+H?4!D@1Gw+h`-IK+4{^Zsig;9U|c72I?;t@Tg&5Xc7 zRb;4b3Ztm@`yZ!Fw_#pG$TVH*KMW@ck%5Iy3)@i6yPKf*nx6yqW+)IMGU6up7sdzXROM$1bC9;9lSOW9YdhT4st)-KUZ}Rx6CP;=$zyYq~uJxs&Pt z8}>lPviQKUu)i26?$ZK(PURrKz<~N?0A(zdVHcCe7iWGjYEcZir!*&%^huWd^KVZm z-B#RqDQ7S!4mN%ZwYJd}W}6?SYi*UI^cjaDSet0Y%VTM4{s$r>W+vz_c3)cCp`}RK zrzaRcCwl7m19=o?8fNdi3OHOMYh;_#A^y16i-bl;l6QuknN$kk|D@b4r>sFA`smY9 zDX?Eo;Ez}{;{GDo2GF4AAVU7(>Ee+U{L8x;j6zGCs7PF(a1qAujS%~A#QqwZM^)a1Np~agH`1tps~HVQvF-GZ6HF+?QMp3x%zVi zEO)KF0MfF7i(cT_Y#IWZ6vBpx>}w`a6XK_gIhG`K^X8gmI}<4z_j_f}nx!Dzz?5>> zIA`{pxjCT!(VvsH#Vaq0A;L-zkZI_8TltF*cKchG_p8BD2OkuvF@b1IE@k)CBnPp2 zA9KB1jTk&1fBp)_TyjGEGNPem_KseqpE{5Dacz`6J>opON z4E7)`&Rixa2yI-JyyR6{baWvxNSN|Plgc&DcF=vX$XGaDrkuz)D7y{8Zq&TSp_a@v z4z9`WT^bei1mgw@Agwc8zP}$Wz~cl(J&n)@E{U+(%u=V&w?eZmEr~l&6SR$coT6vu zUw~jj%vE73WDUr2;nU$Ojs>z}IS^i{mEL}u+6=GDMK6hxe8;VTe92herB z4VV6Zb?tAgYtl4+0brx=0ZUfs_=2^dUunxF|3Acxcbdx(a#_v2p?*{hN;=-N2+eq< zn^_FRzQM}TV^D3gfl*chh~4Nl*en7ffa7}>T?8bdtK!+ft4DM_t>yv;tZV3-k<_6c zBg9>wtmoxCwXo{S@=`Yw^?yRbR(W0nBe1Y}$KjH+o<`V?u=bX#D+}{3YvrpX*eN)a z9*c=Ho)-i(!ovT7kl>!iQZATR!azfgF;;oU!9>dTA1PM90|&6C?2nL~Awoc`iKLOE ziBC(XO;p3e2K4_6F=l_(8%xTE6Hl=i~PP~dktFh&p{(4oSny?`yHSDqj;Vs zVCFS%q@@m)O6)t6C1)T{q#D;ENNAlkEv*HsPA zVGTARCh9IAGFQUs{+6VdQK=XI`Fp{C0Bf8~K&6G8Rht#h!Zj`q2MRkjdPXR1F#g|K zrK8X*+WW%=ko}voWI?azJpcHsj~8lx$wjRmyW4w#6-mz))LFE~?M829BwZ8&7HtL6 zSLeeftwP1l`er&@e@!Pxtd*0%j>ixBCenv<`vo~^bFd~0I(^4~8L6M$GH|;8`IOLD z&ZyxjC%bKoeNtgWOpHE3-2Jyy-m}$&P~Y{?R`7I`y1OAcH!A}N{of2K1a(`q)Ku!| zB93M83y4RLcY}4>i;r9aVedUcX-Q?*(7Vg(fQ`FJE`MWW=}Cu}bY5e}Bh!xkUTo&= zknOjen!RP3q3nL;Ry(U*A*Qv)k_6#d4itgzbze9CLT(LTENtEV`nH@8p%n{7{_S@y zElH(?+&<=`^-tRKput!UaBIOhD~UuX&?EFvat z!M!DrYm~#kRlh80h7-EfZjZo7TnTv4rL{je&(zqFFB5cXv%H*sn(C4Z+0^>1Gt)?Y zRmkqybwp@_&yHSsNbPpf40p!GIz_6gRP0Uc>Yj0(UjI=h;srX%!9lQJSH8pyB;6OD~qW#2B4FdE9W)_CsGaV#2HO^CY@8{_XFcO+_G9rNZ-2 zH#l|5yGC3PnfAkV)(h~kbt!!A)Bd6nSR@W6YE6SybSa#%DRtDDs}LxOi*(aM=w07n zd%Fg*UsKv>-GP{rXGVn4J$X*J*p=!jxQq%@VC+j|?y|$2Sq2Z4T=Hn*G%eDN_D+0@ z$3G#Ka<>H#yd`0PHkK;Z74KVq-7j@!CYT0$FR3v92>(h8t5~s$A6gs?D1MlpGK}Q> zAvf!iooTc4eKQp~oqQHw0>-T{_8v|AQ0k!iprdk|>p?nB2k&=`O%0vNRF8-PgzCQF zp4lTLv)OALlsvsJy}oS7+(dKZ`+2upre&u1p-dRvE&W1KiwFy-Ij}D!4@x|zlD3jm z{WL-oTRM}PrY;}47|`z6^!+uDh;v4!bIsM=?@lX2DmpXBbn{^(pJU($|m%dL`*|q-;hxW#iYmMFM!gakWO9hbNc6gZNK=yd;HqiP@y(Z@CVMrdSn$ZF? zqVChJG6hmPutcV5b`0^#&ZJX8DJ7ik@G3g~`9J*Udd-IF%+Nd%fA1vVc>v%k7&nS? z3{46!)I>$^7!wic=67;uBH#N59``NlDITZpSjHY-APYJe)Jo((aat8)>e@#z~o)Y;9 zt(i~yn!Y~*Wv}h{9b`;x7Fy~%KZ~<{P9^6JJZ;hThc%**^Of>hqRbL-`(vS zt%Ba}6Q);^xIhcoQpP$;_&3fKl~W>ax8bh4HJ@-S`7=&zQ=InhX4)p`2**!+*{vD7 z5A24LFkJ3&n|aI={e1j31qV-s8XuHoZR;n(Uf{Ub!ww=`p=R%4g37D-Yl=3VC=}2- zw!YI_Ut@yVUy_^+LIm}IlSfO5&0oJQn-1zns^C?Yr zo1Z1|1(5S+Xq2dR!(q7ZsTr~Mx_a>?umnl+1=Fa%GlPRgkU0SK#cWOL6b#q2mPV#9|Gr=J6YSQx+jq|YZv z$R3MaYAmuOim0`yH6PtwNH#Efj?N-eak0O%Ks+Bi#}*JGsCFLuPT>(tkjQU zZ%8)$Q5EpEu8iNHDC0att>j7^VYQD!)mLL6i2tVK#!DL{Zyl`HyY4>U00I2mN1_FjO3TuDn7&vinHtZ|*1fUlQPiCJ7Pg(;!{Nsj9#HjzkL}=Q5 z4#6~dXLRjj$`GaQsz-*I0?q#tHDT0S=t9U98uHqNfI<{L!z}mkv`RUQne|@C zM-`;jT19tLOwa5^|9kzjT71eq=4+>YMEl;tG^PlsyAv;cE}`U*c_Y7$bF$R9S@;UT zU)osp`!&q)OM7ac%Qup=YGb(HNk-f}Un5Q5jBdKl^Q7u?cAYrwZE-ric{SZ_yn3&E~_yKgVvbeS%hmTFnP?(lxXo*auc4i%LSJ7o}F> zyX{mgQ_pmyVtlpse0=D~{-LwJ&9y}bqw*!fgM*3Xp5&^1sFy@8v(x}vp0cJpAZGn= zRgAh+s)@b5Ax>=?4x`Zuy9;78<*0?c=9E5F;k2OhWy!C9;R6FhE-%hFZyH03Ix648 zLcnAk%kP%Nfmdxy-JO1#C)z5?tXOrY`3QyVCYrK&#B%ELp=3N$Zv9n0^ldU{~KgWA~>| zxsAV^LUwd0-DjnVFJoKk!fzYMO%e=$r4i5FIo_%rFnyr*A_)eI1v*!Oc!pv5?j{el z(#Wr;bFu(z-fo$r*p#{Ib^qt$)2#jiKlJ_6bhJ(|Le#a2tG{(;09eIBYGzV(;|boW zC|KClrSo~?u@)P#E+n?hUw-P7vA2E82%P;3og?p6(8uz`dRB5Wh;rN_n{M{$v!5<4 z;X78K>Rw7l=|QXtr$z%Ww=%Qq;c8xPMmkQE;~HAuB;S72-z)6+{z8Ngl|eAq#X<=S z+ci+^&fSaeUC-Av`V4c6z2IEswfP9v>NaG_eg|{$1}=$6>}Oe7syJb-liikFgvJIDuoTZZ39|pyhh00H5Ftl#37#ID{ z%cJADfLN|&5!%#@g0O?h)4S>0Y5@NhHPN=(HBAsLo85ifiE2^|%)=WgQEN6!0R{82c|Nq{G(AFh7EnKnhj9`xlKAd>@J zdF$e1MEP*0#0_;!=8uh*31!QAx1Fk{qi4mBloRxM&5M4ue|QddBX`_4M8_jP1{8C} z1bpq4^xLaD$l*=Zwy1G|QA>`xrG}u>%aGsLEdCh_@%mhN7c?=+K2DE}OlsIZo{+3> z;44@{z2a0A@-8yHmD7cUvx|-$YN^Z1Aic!|W@hrvcdJZ*0KWXKnP-iEKNn1J`?}oj7j;b9T?l$==~8w#^fZ-jIX6E#La$di=}^lNPCJ zG+$fInjC1IdqpZDT?bIE&;_N;DO?b0HXq0wj7o4widjvTo(YMjK>FO&};@3oPop24- zHO;WjN1@->HrFXM#qVnSolBEu3pRv;tkI={RogHSkJ**KJJ;pT@91y%>)whNSZ|Yx z-n}}V|MYu=Mqqs~u1WOODjrz=8+%qi#_6-GcAs@1{7^346men-2m!@ZE@7`P7}?HqhkhRdn^<*o14Fqt1|01*M*-i^x*tT$+mBB!F zYXt;=(v|BmuY4M4D03;%T{}sG^;q7sVIf|4`lxmo)petj6q3_|^v!^yvv7rp9#`&} zyi(^2Rwqk1|8XZJ!6q*Mm_`}!X15wc@|uFqangGY!oElWE2iF(B#RD({L#F~&frr0 zp2yJ}W$e7!e4pH6DI!Ld^H3A|iKj=d@`EB$u9@vY62IbR`f|JyWC{`lKh8a1nM%Oj z#i|E4*ZXCAT)2lrlu+rhdj7ZH!G$Hk{W;^D(C3BLR_v5fi*(lM zz1)Of1mG(!#Ra@W+xm{o!kXQ^rtbWfMVmC34yRZNowqWOlk@wZ!A1C*$j24I!ms=f z&a}CD)*c6@f&j(6+OyVHuS^_kpAfl+Y>mSY{8cs@7PK)9+6~IBPXh)Jw9zM*1-^nj zC$I5NxnH4Pmurxx=Qi~HqDj*4l|2pw?fZUbzVde}F(+%-;T?-D@+$W}iTe|fHIDYQ zp8Q;0#L@AuDvbKE?dpstRV0Bnx&g$TsWf|iz{=*VU1FDYhw8pLdT#wNb!g8icm$qI zv;n1jbQ6!1C!IHdc{^Fb9dZHk~q|e zMc-cZsJ+QMnk-6~Rb-45+}z^PSTnjyD9jqvV1}_`f9TeC%ID1Fo!#6FatOYA_T@@u z0s&mxQa@Vi=o6jCMZXh6s}{M9pvK{}tMgYBE3-C|A+PBdZOt?%`x#3ly>OzBa5$vt^%J0J+Hg# z-{)Q8yPY*edoQPQlIfws6D+l+Xd+7$M~+zZH0H7iX$Z{n3sDPBIjjaHJeyUo_mo1F zz$5dJHb`(+t&yp^a^C}^tN6{vCaWIi7}EhFqXxDXG}GPkH?FJbJW&BOaMMVUsJ;`S ztIqkg3*nvvk%QW2W+8O-apMi6e~i-Nd*PzG^&NK zZLDm|{22QuE2s#m_x|P7&GarRiNocx(ZH)km%0^vw8U`ZD?1lnmlIq5wZ-T9A%4A1=Wk`jPv zzY@De5`QK)2G;*ZOkj3l=lQ1bmy^vo4sRZ0I+ZoXnPk5GWR^eXi_Pt_PTC^H<&Vg( z6VE3PiVFqOsS@bN~7S zB=KTN_^RhY8*%1qs5QC!Lq;D6t5|(Tkzg;B!OunDKTFL#<*QwBZbK$p$>o@SZ5z+* zBGvV&YVR0J_svfksb3M)m%99H0XC;Xc}+sVt+B9�So#q!-mmiZy36+i&$#A8H5? z_$~ek8dQGjFIw&?1vMF1R@Q8)i}a**t5oaGU(M$?Vbx%0T7d8WRep0cYng#dQZTeL z4bEOmlyKtyy7@{E)p~x>f{B&qr@$UB#?T_6C%}C@rr*gV?s)obBA{e}bwezM!LQg8 z;FC?2ENo0O{~0YhZsy*Y%)CGHHB!{dmfH3ndL`nP{Ntcw`Jz@hwn!R7&wo7!$yvR$ zM8%ptu6Fi*{f8R6D)RTm7{~a!XFId3baXd-k;2}*851Y>vEx&v>KPI@i##goMcZhN z-wWsg%9X!bwHnAIzu`+IcW1Vf#HUpCTDh-(TFbZp+}1c+bbdBcrG(CLbF925sukvE&7KX;xM zROkWHyvNK!9*JAdxPgivf~EVuNpTRwoJfyVVyr!}x(>&!Z;7UahYwTu`g@w+Z%i@& zdYFa*si~jaGCl-NEt;gCfK%w)R2vnww_-Q#`99oz`FQ#aA12Y%ud9P!<+%0Y-RW)A+sg9>EFp_tEIDO>-dj*v9&PVsN1~=12X=J zV{~w`Vw=@6Ncd$^=zrL&^uU&1pjyXdRgVAfPxhEhf&QN1> z*WDXzxD=cZoSyBYfQSzbrS;}MOk1-I{38QY;g~C|60tW6r+YFmO@G=D+fkicPo8^q zll9soySm!s)-2{^ls6!RuT~|c@!yGVi#LDs(aHS*rJ(B3Q<)iMr8&8$mz=E*mLFW*w{s)Dtq@a`sjAoajbtNh9}{UV3gynjTl7Rk>ii7P5I~_tjcw5&3v&*3hrpfV^hE0(sRiY_)p+ zq)6E4%VHpts+U+FHusz=K<=SAP3k1XG0o)xRv=4iq zYBn=^lXH6PjODjz)p7Gsw`x?o$Mx7uaL&C7tv~rQ$m*e{N)RATUN9ri<|LSY2Ve== zY`;I87*F!66QFjAJ=~*OAaVLeFI_Q^2 zl-rro$H%ucwn02uBGcj*SGBWz>CT+8GSoPiWcuPC8zLsy*1(wn@F+c1BJEB7{xyvRw7z$H zw*RZIMmHC5JT6HY4R9M}_fv1wsodqE z0F)v^u3$Ys>$Eor`-ar}`lVz;CBz?OwzJ?UXL0nsEV5PU;dXzMG}R1a=(YOi=D9Gw zSGNS3dIs>Oz`2DpA}I&2{>-4NJDcc@z%;P$!!z&>p4}In-<`mX-t65~i9fqojKpZa z<^U;;y8kyAW<5`IaR&(um@x85Jw}p)n|hBp4%F!Lz*M@! zx4Z$7zYKu~CHFM1h6V)v%m?wzNmSTG!$(XK9YyI@s}k&Xn;a*(5#lUO{=FowEqfu> zq;>p-nco}gXW%V8qdWjp zK$i*QroyQnd;?u8VMiK`{xro3^2wzKu*crc&7aGSu^uO$oupeRQRT=Xl0@?@TX?Z% z^?VHezT1J{f1e+w;a)y87&hEE`*}zF7wwR}K6la#4pXUXzLRJ0=PY5Nt08sqx$ZU} z1C!2Th}{JGYky;PN!qQ4_~Uk>9WRx99u2+NtKu-tm}Dn0s~)OZYvEw>O(=^!NiG%HDZ=v3-Ro&}1u2$J_)3cfxEM z93^JMPx7RUgoyc{BR9&cMC(+KGW#XRfQWhD?h0qx4Q1#a?|utCB8d586nGUxX{ft!%192*U5V9@YZi2<-JRLu-uC%MD`4l;vV-n)Uf8%G;bJ8M1< z(yZT@DDZV;SxYIT(JSrng9r)_A=2>C@0NM95lg77PfkF;7M**Vq$_=U(#Qvv6FGl1 z1znl0$<3H8cDfb&x8&RyA2GjSIg*!h(ZO_8wONH^jJovqOJ^nN=BG5vK3Yi>i;?Um zb}krO7@@3w)B2GiFm{@dnz(!i$2F|b>5 z?8R$56NSi3;FX29nz_1OS}`;3 zbnS^`-O|;~%$=eK=T|;GGCR6Td@nQbLFBc7A$sF4N2Oou@8UBHuZnW;z|xsGePl?s z&t)(Fw(w1Lo&$fHbIbE{Yfn40JWV}ay#+H&q=FJ(sJ@>VM8TlH=)1)6smD2H-L!ve z$Q=Ha4s@MZ!Q!m%9fT=%h%0lB*+W>}BN#e#sk|MTxn*wO4(Dmc33MHYZlne|OQR!O zUoo*u(KDz*e_)TPHak*9p?Df)*IXuZZ(Nm;7CBQ&WGjg$0#};6N4OCKM&w3iN1wzj z$zV`5OC6XPkp7~>(SqVU#SI&LeujB;moA7Eppc!5^A7AM2}~;$1CZX$E?-f*AJi4% z@lUhNb8O@2kv1`?M3gZ@XX&BG*LhS|ZB6KstiL-d$8&di@mBrf`B_d+SZi*Kx9h=c z(#-2FWh%TSa^uq*JB0-P4SIGhA1?M$Z!Z^1D`q^wj>HF&X;zRVbwK=*va#W9BOYRr z<4HJJtNBE^w;-!errYx>D>!krH2oJvZhIz|x6A7=hS9I%Ky0-35pm+TwRU`#FP9Li z|8HJr<(w&29nf8sr43L;*7FIFZ4>K+A<%i$`by&;dH9dTjjkq6q*?e#U}-} zkpg=>_C^w|E87!Gv12Ll&O++V{#g$4O{P*)%7e8d;&T|)ejgWF*!N$OEeiTAIg{lx zTg72icE;M9!3i%26V3jItmJOxp|Rv~OvuFd0)s8afeyIkk(}LAIIi>fhHWNA*nrv-2$$SX;%T+ck7ReMQImA(MklJ;BdueJ#y_tI2D?3_O?= zfR12@&~54Ru<`aB+K<=YBb0t^=F2nKdfQoP1>BoaGHB_V)L>4Q+~aM-LOl`go*zOB7FSbG@Y7`xv0i|m zr&V+WX6FZ?u9=6{{``-jC55J!L}7@FhLi>M9;5H;poF=ZdPO2-BqvKh0lAJ)-Ly4v z4D6&dy<9a-w9}BHKiX&X^_-cUH~`7-gXEEp6hvpyPgJ&JL-KEc3)O{WAgBP^=AVGy zc|4!FsY7eQ3(k^XQW5?CK=mljA?~J^<{iSVi4bJ*l@i@)R_xz$Nzg2?UyiHgJ+C{> z%nrPE_=BPoB8Vm9Dd){1BD0LkT4cW90`jpp=#jRiCw*_{hnWo!{c?JQQHMA+SX_#V z#rsb=4&EOF@hl^UD#xycn*!thA%f4G)dBmf(~c?k%3+G@(AEdx^il*tEQ>aoIMm9= z%VC}I*DjcK&~_1}6_RGNe?wTOzvi-$Weo#DOt(vso@Fcef-GQ;m@i*zcYU)OAVcfJ z4F4)R^rao=T7d!O-9ns1ebeyU?3jftrH^Twf0Y!#X=KUG)Xt(Gqes{B&%oz)DXea2 z18puv+EiF(5Zi2bBc`*ySv$ioPN(&6v=Z#fw8)gM5c*5AeCDIHb8BkTQD_R=yarjR zyP(aoUfUlxsMKU)sPCq+hxd60-*~Lq61BN#g`l|p&~_}gH<|y{@BFz;Q9sQ?iaZ^& zg<5$=Kau6|#}^lEzU6l5cNC_&d;uS`og{p?zV_Ye89BPHGcR6`+{h%BNLGO%3{B{~ z%$^szKYnHswXl7j#^0KEv3N65+rReB@E&i6>GaYWvXUkn_gUjH&$j@NDb?i$_&1OJ zo^*>GrxtqgwT2MkUi22qUeAfYgWvYdmxa-bU7W%fi>0(99}1^4NDX84xl`ScI(^%q%Imdnb6;4vn#wFe@2UM$SWq56lbq9MZMx z>1qfP?EJSR2lfckzni6|({cXrb0co__tJh5S>&Tq6FHx{j#G`Y6RX!s^Z<~eMQ{KD~vu(tAc*9 zDVNeym&XJvP9NjULMzY3vt<6>f|>zAds}Q1N5H|R_ zeH+rgwxrxNptr&EPEVT84k9-18jvs4X5x=$h!1PeL9G^%FmWaM5+a9)%@J#GSxcLD zoWAEec3`?AmV~hWB;3rIL>Ulk=@L||e160VFt?d+>?~?%%7!+4`F#kium>+**z6Dp za$i?UBYpFu%5Qhlz7}K+Y9WBHY3N+PzrE7=bSXl_9{bQMM_1?=knDCJ?%KWx^3{MO z;ZZTXiOZ0cn(EgbTIzUR#G0-{!e)7#P~oqJRo5G3iX)uyX;oN%*KTy3t_5|9F#^?^ zt2C>%hL?fanojtfgeO^7mMh{M2wK9XRK28ssL@cV6Yyw}K43tb4T%xHe z{7XR7;N^ObsS{E41<<5JILs@ot&z7fF*3_aHL^ur^9&FmzRes?EaoY^_`mZ)opF4u{nqRKNp|g!Ems}QM%{mxs)6i%Yj)7hK z_W1iq)8N!K9UOQKG%1IL!NT$yc`Fj#h(UbDfLykehui08lj#TZtA^Xh9gTQDR{7~L z2`e^mH~oF7N*?S9-#c`!rDU-P>vTn%X?dt;HyR_}KwoAK_SM;-r^T@V0?7ZL5MC=A zmMdn2J#&A3bk>U;+lq6jqTB?y(w%Ykhrjkn_MBykc;OHl-0x3KOq$0C&$9ulEnaqe z(PE(>Ysi8dhK{FxnvK8M@yl`Vp}+C;V?nC~bA9zqD`+N8Ml6VRdi$#TC^19k-k%== zB?bq?=UJ>|g|jhBuo7o3SWP%rg89VYIp2zeMC&lKTRd? z_@=F$>1V}NAYwJ&9y}M_va#hh$oJ%Nu2q7WzPf))Ldkzxd~ihhQOkRj>if|xe@t1E zyQq&jrsH=2+_hxU^>^NmyGy{6dkfzxTCRQR#dVgqWYD+C(+*w$0}bNhQ0-3$pb)6w z@7EaFaK(~l34Ku4$hS?7J{z+L`y506=1s!O$Z*BUWVCNG=ON#*Hexl*raeP|8Zowf zEH!IE)jKWd1<=!A#d=D3m3r$qrlzdDb;W;I36LyQGtIFK_Wu#^jgkEon-+32+tGNF z^Z@gdYdIL^$mt?=X(y*jTuQUHyZoCHF6xRAKOx)pef;g znn^(88uSgVCfnLZ-d(_p4Rb+1H^Kg#nFL1mPU`MdSNL~i=S_sQSv3nNV^z%#JQZDc ze3f|K1AJEGr{pEW*+|Kd@X?}@7aLvve&2T{Y+YlO?ub7au4vfw@v;3Bd<$_9252m64@y3Fg$p1zWIqg~~L_H*pMYd7++`J$`h2eLP3J z+Ed(1GKA^+=WgoHDWLjh%C!lkW4|PL?-#h0)$WKlCNnPnQr`m1wx|DRi!f46Ar}bn z_G|2!)!BiwT0bwe{6y()?K$Nz*5$e4kKVR5F(8#lijJQ_^-<~GUI(mzIomH-{gY9Z z)IMCRw^9SiNG#ert?l={uE&<|7A+QdkY<_EA;6gYQdrAjLM#0hjemdduG89E>-)^t zx+}iYgd9@Bj^C26C@Ol)8eHn>uhCm#HKjsH=JMM^{~K-@D1Mcnf7*Y2@w1E7DtmwN z&=UUb6|+NrjJ1RCesFT*#ZWkFLl^b`q3XTknrxb|(Z>b~q9Ov)mHH^Xgc6z;{N;%~yt^sfemv!2Q{3mbL-9dbg zkQoxivX{^k-E@ivDeG3$&;^{?<9^u6ZZ6Y2=eA(aUtiXr7CI6zWeY#aYM$8{iiQE} zw;uIhljECiA)3aS*BG>vphp^#rn;lA*oX4!p*|H0@lCHgnJJXtwZ4ijQW;i6La9_c* zj+yIfgh#VEd^UV~>l-CLM{{a0-YyTD-`Sa;8j>T>oR}ffz+CV2{lWMNr>|}kb=~ZH zF$`%|HOf0PK_itu?eU0h(mL}M{fn~VUGFvDtRW`w^!)#TOgop$*Z@%sUDvi=sy` zSTm9avqBeBKj`>a9y}MPz50jYm)}oiRVOLcP3|JsU2%sC8@f89L2S`?stjn`scURB z)l6vV9t$G;@ zUl;w#Hw*NX(K*V`M)uwVPB7|*DH}h&A6d4(qvE>h476(#{CJ4^3@~n`hiWV3{!gMz zFr}>eRgMGd*=POK#|u;Bf#Ua?mJzw17!a!l#b0G|gk4+x*#Q{0Vtnv4$=x>rNs*=? zyRQ3P76ryJ!fp^3DcI)adc+=m@|HWjVpxCty=JIrJ_LF_bekpC;XtnP-~`zedR(S(>|5Lq_S+lYXb0ZnK*VK!Z`lpL^x zrSv@0AHMplF%15TcLzbYHY0|3_nH!hG^r6Kmf2C8&}+lOv!=T^+3h5omo1JHY5Ywg zx)HWskq5ZDr)SPpii~tae~&JyzJ#3sraFiMGys3sXI#^z#S@VO#= z1Uo*s6O-vZs`L{*gmyME&SlHVk}>_tJW7tgp&Hn@$K$ofhp9kYjp^TQ1vjiZBs)be zI1|!|wVeuJQD4V}#mkVR&5EYF#`lfPdV9!B#t3*&PW>klJL+Y`=MAE--Rno*5T@gq z`#!-Gu#3H2E5n*!_e!zHEM@C*HO0s+(-L(z?w-f%xG}zI4{Ub5Q99A<8-t_%Qh`Cz zlDC9e`8l&TQNjTbJ3s$Ltvi{OLNRXry#a{JP{FOv(=7+B(U|Sp0hMqO*#eQyujmE4MB{(I&E`%^fm!ml7Kp`_f;R;+GAa z){WEEsoNXdL=KnEe$_cIk^Yn@=*}pYxF_ac4qI_i9X!G{uK&)JHS^Vjfn8Q3F|1I% zH~0vGDISfw66uNWM|*NLw;{O$Pw%(t+I!!aJG7sILRkD&g&V^iAyF$|kNbetxOgQ4 z*IMmY)VLb>O#$35VVs&J;6TKH2n>y@)#@#IbQ!+T=zI+AkYtm?+}fpTQxDox);M=j z`j7Kf<)eKuIDU5>m<{@+`l zCm+E9qU-1!kseR<6>MvoX*V>hPH46P{_K2S4z+UU{i)_seR|JOI=E%K^fWP1%^}&6 zLh18*@H~ugwzwGAk4D%T=WZK)2C_2d-J1tjzzhFy@eH_6lRak`zgJMvGX@&JQC9Xo z-p|HE$9LdTl6I}>2uNfJOmf;V-12pI z4*+Zg+T!xvhI@w8Ume#lMl|3q+m0m?#Q27fbH8|9*^lje;wee&37OL~COuBs3Fb+~ z=lq$|331$xMj6`w&^ty?N5xH@<}AyC7s1W{*zwfKemtE$4d+%!6HL42#5fAJO=zaw z(X5hk3z*b?CpO{r^r~u~yoGmT4HHa0IA}tCRKlI2BcQ-A`2M(bEugi=O90IA^}7P% zGVl$50T{{X3T7X`N85loy}K%On{RmiXr$28 zBJE;ofOizGPe~83XnVup=M&>w|AFbDdm8J;c>m1%Me;yxsHg3{p}D4}X?@tkEpXv& z;H**Ny~Eu@_%dAvoCx`|#k>-l7mdbPbF^=&G`Hy$v$AAnrNP%{z2%810XqRMPJ7(k zQ!oMu1o$0r6}OeTK%my}t8lT2BAt`jBkwJ<{HA+c-=Fn(bYT{2ZE}RSkd$tB^=x|J2pdTk5MdJ7P7aLh!-9H;3uuLh04hAEot5{H!jXE%X$ zi<{~&rrgnOUuYK2{*?ZVpkHpLYtnqDihRnKDP?ST?w8S+P*XiH>lhrV(dNQ4%YXs_ zk&MJUGOwaCE%s5KnD2!4g<8!;iJ%tm=f-#T{I<%r+a zlneHXIQ+I={mXFF5?Mt@LAwSo+*mtB_iO`QdMXcbVI0w8S7oXVe*=Iplnr3fPd-ip@%nqaMsHOM7atR zi5S~g8f#`As*VPQ++&S)ag64EqgBQbk`%gzVWH1KiA7TS=OJK78zRhJF@e zSr)q_Ms6~ZL)aNnJNbcb>PUom}De^{@C9waO9#P$&k$sj^WQ z23;opY_6u~^3$r^#BUwf=;tm+HP8wB@v8sY0U?wf6IRmIq0ldisPP=GV!X= zkZF*qKP>+hl)BtOh*y+1&g}wlS00e>g6G|5M&SGhRu*xAVF~-u_*5HX|w;=07i|g_)GZ z2Vm|yb49h~CHvRQ2X#1kQ=T=LrXyv}sAp4YM}B1RG^KOx>)%iBr^l)a(!pgK9--=S z#n!u>la0PC#Ce7>@_fqNVB<|29l24 z@_BDzR^3;B&Il2{SQt%Rb)eZqx8;241$wtFJ4RK>cCi0sLBzA`c)XY8b7uer_JnpQ zqcKtG*`&mkxHjeWjG5Pt8?IwC0_2oh_%Qd`>VNGV@ z7jvf!0|I8OLgkB5tkUON1eAn%$@Ki0Sh{;TsK28y)2{jU=paLD(K)LsP6P_@E@ob~ z?$h|c4&FJcV2-sh?aCX<(l{S#LhrJVui&GG?*&r9>%EqT`f6S|vU(H1nWv+wSJ*MC zsuNlN;yTE)D}Kn@SS4JF*a?U-v#R(jDkwu$N&%HKy`XB%{+_;ZQPg{#ynM)dG$6AL zD*LFb7`Doqu}Ex3*1u-uJwg=K(!sOrT#@sIrO+^g>H@=16-Q5*Yt$UW z${4V+bdxyE+fuH&qNr^O1{2O2Uq!o#LBDm51^6uo)6k3|E>!l;S!#-gbe#{E7QplF zT3+@87$K3i0lQ1Ki!g`&`rGtk813LtRQc40Pk)tAIei`KTgzufyKde5vRUIvY;<@> zoT_{XDksgnM^PkJ!z6l|!*Aqe>V$SeuVqFgGz_04a}K`i7Ki%sE$={x27)X{z*-xEVzw3I!-IbN zV6`Z|r_=>I22r76gNt{@29@e6od7Q#rxmk1MH#TOM1+V3tP1nD(?}-p0hy56v~w@+ z|EmMhO!(p?yds0&Q3<4+btWjO%q?9NdVE3ywbCq$hS3F7t1m$Zou!V`+O>Vj)5h(> zj)cihg6shs>Rvc#g4SE1EHfqCmF3^;*Q8!wD&b1N?q}`~2 zPKFd~Y721F zJ2-r!?fhy9I#|*>)-k50Q<_QXaKNTJW=q=`e~cO8D0)~!M5BRHPx8hz#VBuQxRI#} zXFR3mDak}~hr{Lfq{(kF9bnG!1$rWVAU;5N>yJG3`qG%rn`3*S1)2GOD2`t+@IPpJ z&+-YbR??|_ObD9!MRK$wms-uVHl z04VGS^HO*m5D+E%J$TMD;KctogBon79X_gCq2ZVJ8+vbnthVx!Y`f3l_8)pgLo3h7 z1jS4#iBh^x8JX7{H<{U^8|1a+N_F4;s^}dxatye-`BreAzMi&=GPZ^vikIS`u~*vC zV#`1gw03wK;5X;?7b-@5l6~VPINd?4l?wke!sBw{r;i^Rf-baZS_6ptQ1J%?>If;90SY8FymivvfZq}v~Ogiy?%Nwt^I9s!hI9z&! z*4AWjzB4{}iTPIrMu7A`r8#459B@v@Ro(>bfUUy9at-waC9P38Kmg-jhjKdSERV2| zmawgTI6rLIJ^fu-v3=dgv^Uak>!0cW9oW+Hhg0bg5vd+Krqw%Ho8pPox64D<8tv^` zPxRH>6pV&(rF(OQAFi81_zx8hI-MtMmDk~X=!8$DTRr7$d|-NnvnYl1{%qS2&v=`w zo2PA#%)`yFiGJtG9w70rfF}dd;;K|V0$tQQ)zP_?vigjgws^BJM*okpcaX8(>|n87 z0lVYR+x&)*V?RYX(iEmvPqBkU2R~+Y0&?vL%o9vO4Y; zTn+M2PSMUjP*DMy_huc+Xw#Nion(5I$vT!l`+Npl!O%KPh%-qc0Tlh=TTmwOQDdSq&Vxd7WEf&PBw+k7l)s^y*K^n zN-?{wVktz|+NUwNG4h2hV$7>oiKOaxF`Rjqx@gV-DCx3#+v6jQ5NLLjD}GnZMos%U z&-jh1r!4DzNPau9)nyF1#w%Yn7_nT{KnV2rYbBe8>$PZrrfDv$|M<0;$tIW3Vw@VvD z4t%;GZj>}d07LC_5C{RyW-9$fy(Zj_6LRV=h62#tURw9DK^xc{-Zp_t+e?uuDKUu`-7cMZ}} z_C$a{fKm_}?i6clQmg=oo)-7+Vki3i*Xq{-4GJ*Dc++R&iGi3Q_?BGN>%6jzE)apKxCAk5awzUcv+yEEodhP z_u~BG2JhD2IrPniB&|XTqSR{3MQ;8{Lz+wfi8+M-3=2woUwcaGaDtt-HSqMh5olG; z`Z7DmtWEt`+xROjhdJbUdPU|-xZ;0F7RQb`KK_7fP?3O z-7=nOP2`-dDsPkA%{GcAh6aL$hsp?J!c^q61e;G2gYnSa)7GeIsXt;V>`h;|;&m-V zjn}^h1AnT`;fH&85>LOeQfgYLH*`$jom~<&x1(9N7Bo)cz7-#yqYogyM>~(4cund&Jt< zlag2W*w@(eAYy{{*j7iABoS!OrSpDuLujTNa?&W*@wf)J^vv2ybcSsb4^(Sl8(X+b ze0wLD{9st#@$dK^+C)m73*09=w@K-DuCKij!|VIQkp8Fx`*=+IeaK7EgC*U|&wfjy z?bXVYeB-r)Aj&;+ft6U88_8kG&9++zx0jjianM8UmG=xLhf}$Zv@jQesUhe3GOyE} z16jroyc)%s36B*IrOeTvfjFQdnPa*cfO&mygn)JQap|OajGCw%>9Gs*5RGk;*=E1% zd(+I%6thlGmoY8REWZrI8I)*WwKX=M4o=@>0;ZI4apsrX;6ons3IMfuqmO^1 zA^L3k?$NhjXGo;;&u!@;%a2n0;6)`HvPT}j8xyj8XK>b^R)oGw~ynK&Z^?B@e1l zTxEOb&5O*ckC!5{|Awao2TE`naC!~`X`g5=4W>w6XV_|*{A9>pBJZy}L6;!m?MgJET7}>l$?T-ef zWn0s%fAK5i!*)JjwJZm1WtjYFylb@3{iq7nV)djMgd9I{>kK02e8%Qi8R6lwKdih~w>HjC9OD99 zD!UtaSfncXegw8IMiB`W8iUBKqg!r2B^=V8*6KZFnA7W#9<>%5g<^I4^L|GiKuZyP z^1!Uu1#n)AF5Q1|Q+WWzjCx;fb{g|JH?>Zzb07-tF>~K?A~^dA0nw2mK!%U6St-A( z#Kf{OBY?0U(?+EP!8i1|?IGTNF1&V^q7<{PNPt(6x%UWTAw}tjBK4bB)>%n}D6m%v z^`S^&^Yz<7k01BHwo4>_@&3vjbCAt^hxI~XjH?vE`bZH@)aNF?E!ih~vY5;ee@(;d z>Ga)`C;K5$voB2C`Lx|{OSedyW>;}wjNbrbO#LFur59)YF5cv)7pe1#%~%S>L7#b& z2P)9*m2|W8)liKF6Id@|YH+rN{phqaJ^TKSj$kW~ReXt2f1ahw%&~Ofkd>-&Tej%I z!+9eHb&`qc5aZqmf+)@~y8a>Hk==QiA-Q$yuYlSH&7n|Z+n;%n`(s!A(^amqEv>2t zZ!&!NSjvj>e+XMJG(wk7uM0HJ@d_`=tO`hPT|-Jg81)K@ZK*3mbj-W`fwo^A`zA0W z{A~E`kAY35UnrsRQ_8S}d!*peHV-hTdJ@1vEe!hXL5S(&40)jv=(D8531^l+~s ze^=$nNmzjpq#x|qWYMz5>%nJgbId{OFt+RW+*Ngkg~g+PFf_YtydAhQbJ_~PPo0w#K6RT+r{gN)DwVDtU$gNsX&H!lPk)Kb}qdnF} z^~!C7PUDaT7e!26fs>n!)2AM{tV>0jTXXO4PY?D0yhyoQR@Xa$LD@-@M%%XgQy+`p zw(3e-B!M3Vk~JC^(&hNq6gL&YHoZJ%qJes$ z;PsTN@`jN>13C2!WG3&mwBM6|VQDU(n`>w~O~twniNCOq+`FXL`RaWGpDiBw%^>F< zCB9Ri7HkoHWm|D{O0qUID15KZL2{O{E{y>w@U}+R67VQwAN4NE-3^%P?dfWZygS}D zJPc=_T|P%mKAAtLm4N0(k|)dTPAZo z%3Fg{%@-+|dKUw_2P`=cJ5L-0q8ncB_S@8s`uf?AJ~cZog@$@e@+)Wb`n_jBXzSe+ z4X*kNb%ZRH)+Bq?N;tn>-89z;^&cxE+B@Gql#+G@vXfRaxvu9l>5f0;s?tA?8-EY) zg-?yG)PJ+b&pxf}Es00h#r~4gfCRQLDZVl?lAH(bV97S?9h(|jsaMXZX-M{mD68b@(eJ#Crlps{6>!>DcO{&|k*mE4Mz95wiGmK7Vp2zBrN zIv_aFZ*3nB@AQ%_Pjj+~vV|N(G}tyxGUAKlMaK(ov;ZZL&^);y!O-+UB*o&jsS6Mq%Wy8El1!eWtvu~Us3g@>*}NXBap0~IPKe;M<|-< zLCGqeP{Iv=&}3IL`Irmv`#TKbUR~0?W-7A_NkfvgK%plOGSs}xXs5M#d_bq@jREl! zYte7e;DFxq*XIn5pm~q&(cdlj;{BgL&Ov|SZe$i=;8C26RTKY8N`GL^ z1<4Cel*L%|C)`8sn=a+&%GewSxy@l&9x2pjeu?a zUD)2w30uM>(nYjUjQQENR#e&|vFV-E?fqfHD3|nllE+ObKc}(e+I!W)bmPBb-F9e) z`V^DAlk0Ok``n0X>LNrPvuYyyT>yFExbo%uO4%&VS|6+Qqk^HaJr9zBHJtaHr_?F}D>wS~%dKRCm?99rWWD#q4^qRg+WltyU!S-=McP?4GhOzG#Y33_a58 zqGNYf2<;{Di zWoNn5mnhs<&a5yek}UK;RTbFqz?-AlnSE}h;O?210Pt9xy^}3R^X^FP8&OJ9P|~c) z=erCa`Z`xKgo-8^#R}tlOSQQWgGJf`i}Y3p$V`9Bi3xiB zLPjx|D8|eA+5l_WosoG&M`WmqD6p12+IJZB4JYSn47rE5WPWijUSS~)IIyuH&jpD4KB6erJ)uF>Vy4ZfwbK&3OsTfyEZf!~>7N@Xid^EsSQQ|jKHDE9CK})O)?a^cR zh-2AQA;K#S#0=C+H7vGcshp70rf)!IFYE#g1*nBGa_r51tkYOb(nQ@6$L+M^5k zvn7qCPeLM#$z~X7|1?Wz=k&Re(h@`tj?-ISI^WI~q#M+M{Fn|e&q9bcguec@A`Z81 z2#a?aJCt;#_=0Sa4zm{eI>)~N2%2tvLltzoE${Ys*JYVvuRYU#3rt}W-*tA4Gk*5~ zB;V}h3*2HLDk7*h&MFK4|7-pw8QRiqO`xHC8M%G@+v~(v{_J2dSboAC64zQvYcZN~8qt zdTm6DpqWn>TRt3hsuN2pKPyfY6_*JtUZ-yyX^DEfdE&?nDP``bS8vua;cR&~)+)T* z{7tW8Dt7DBG!E$J<;Rg2DvSo8u>K`Fw_e(z%>hwAiM%hl$VSH!@_O~cj1#7Uru9ZPgVD{uZhUNgpm3-87Ww9Z}>#>0w$^w)CE&P|%cbfL!~rxe5mY<<28B&f#A$Et9s#EOQPSoRy|sKbw# z|01YOSvRXH4xd9^Xv3NsUKF6R9Q?BhkiI0B9{}+_2M>RYoK%_EG?i1*l9^2&?Pzj~ zs`-fAI)Et#YHl8Ck+AUtdTTbVaNxR2e)U@ZS`~smuBmLwU%tfj4)Ky&8$|DJSEug6BC><^&mOlik{?_oHE-=67bjwDhLs zn@pA1|3D|4j1{Qqn|>w76m;YYe_*^sf6>+A2xs6Olb@goRv?%nzN4{?BfjFG<<4{f z)U5RzxJnRf9{}mpYMXzxJ$C9iO2~$d)kwNi)P^Cqs&~dI_);SC;L#I2qle_ZoD)|4 zbXF4Q3gtldnO%-XqA{ft7j2yMvL~$YzKF>jWsEJFgmJivb^K~hVU8Yph7sRq+bEJV zY2?CNM~I^(oaP9NYDwprvDS%1;?tBUg2LMBV!-VS2I0KzjbV-gO!HiFggqg4-l*!d z^0y3chC$I~H|1ndgb`?dhsLL>37o1GJd20E#oPA)GeebTBo(E*+ayF8WYBr#S>hO&)U zq&8ZMc~0ZrR~w1ksyfgs6;4B`&)wW1m&E(10>KWd^p^{69Pw_|A3pZIG^zX1i`=(7HD-Hf z-g@1r`*h!!O{GMab}RapubjKG)omdII7hRCxNVN_(DRp_wiRGRgAq5?dkMF`x-USL z`CP${WFB0$rY#ynN8wWXo2(!!sw99eDz(|G9^L^mqd&_Zv-NO~RSP%yei=TLEOwwp zBh&vguu25Ka8K?F{wtiJkl1*6I!BH|xfr^L<~VTNNegMTjY^?d31PQfdbqj_f}6#JFkvt&}&k8gCmM&Brqm>1&*OO5a38S~oJ?;RMA=d@ZHF(`{o zg~ky`l*%woXN3`f^UmxUZKs7WbPRMLGpL_Qks290WRHDi`)r?-LY~6J#Ov}+(#W7v zj5v*qVNFW0GFADk?rymcPsXHv<{DsxZgXmX^*@J+@w zAiYd9(XJHu@1sS*MsSEOy|NC_xLfpRHW{kSo7sXOPAdZF+O)}zT11ynYSeNHr{&U^ z0e`$hl2)8NsIW)xE6QxVerbrGUYkq+>EHX(q~&KXvJxSG``;ha1S~iNB+>>vcSmhc z=r%?wSgCMYz2=ZI3~BUFo!p?f6w2Zi7|9l#jFd}o z6;g$-z3Pp5Z!;2E4qi{tS~VQr;F?**+tZ&>U&9-lXb-34HF~nIG-V)kJAXP>n?CnW zn8+9L7UhIbK8%8O-U1y68Z(Q|d)R0XC+AIt(&4J~5(I@t<~{idkIq!~17DQ!8D(35 zOcRZ-8wh0=nL_HMy3a${)_N89)Tjk3h0VB+znoat$Fk>P5cdsefs~sM212Z9_r%fH zqk$(|gcxw~4+q-n)mlePGQN>zuoh%6!=qq7Z-G3srsc8zMI^f4+)U+J`V{wazv{;L zEy?na6jSN*J#&BVRwYOB7nw2TpP6__t~iQQ`kZ7?`1ER}FIJgGa8Gr-XF1xG>BZAn zbz%{S9{-u#fgm$IQ*i5s3MZSr&9xXk6rZup3jf&M%COk1GqG7N_&+_$?!+-&m3`o|ixx?wTO!3t&1`gg%KEo$_*R00@MUv2U#bYxKi}Ge^ zp~DgfpK?)2wA##{zLeP;KTMHjPHTTzPdm!@D{x3WZc;q+OEp2T%f8vt`T6#_MNZgT zEhulCu{Ph@%*sAiOF9$X`7Tsp@s;hOPvyw5-Sd2`JQUihpY!VN>;G{1s4SvgOo8C( z1*-F1fx@ByLub*@*MD*jQycPhp{+Uvuh7u{2}GmLH~Kd0?iWx71N0_NlYQ4$GpDB+BZ}^lD*0;)iL&FxWn7WcZ zE@ev}1?{7VZ#>Gojh-rx05^at9->`dZd{KR4CiumFN@uIh%JmK1QS39awauou-zj4 z?b6AMkDhrHSTlieYteA7cp*!Dx~QZ+xI%_Ji#!Du3N8I^*xbEZCeX{I4hM4enAa{p zykW0;BSrUxvR%cl*%8C-)S9$pi)^%~n@^5#AXLm5RY~x0+O!D%^$`82YM_eDzWs-g z+ISE`FXX<&;9)=^?JGY#z^KM{>B(S=(%A1Z5423=yeph>_#JJd0QwNt?I1!YAv^ys z_i8^|oH97slpatOxoEZl%eB1OCmm{WO6@TS_*#$WhcK@ussv;pWRVgl;vs-r8mYN9 zJ$eu@1g;AF4jqr{^3T}?9+-eaTht!Pi=ZR)P^kG|m1$Pa>^Zms*bNPU!u34PC7nBt z!-{u>E5-06@Z}zM);$OW8Y(RIF#bO6{Qa$7ttbH`SFosMa;#HC+GqlQPFNw7wiK|& z9UN54`akxEl0&BYnIS?9?eV4zf*YQls;jBWCMQDSVWXfPkroNs@xd-}*uY9!lFxS7 zta^`3FJs+Qn1xaeFQ%Ny?Eiy`SK_=ZLFt?Tdwshf7DtbJkvnQ>0z6UU5v!Gz{n_DV z(l#7lv>}6Hp3Er+-#^h;pH4}Kq#rJbilzYLN2vf5uv6&qY>@-nWir0dtQ{zHx}nFoV^2-o2(i7~8e-RY zoY*_Q?L@4keS7noIx*WO&SfwJ?9fsC zUm!*5{@g9vz-m-KkM8B|%xYqo#VgMNtS%la&vqM79&fyVFkdMuh8fjM4^&qjvWEne z%lmjc`yc-3ri<6od0(l%S*X-`*b_3yW-c0>>fH;GHG*ygt^c6h@0$wL!Wnk#cs!r( z##=R+2Iwkx5alf511bDl`4}DlSKbIo5;++F=HI;im^!Ii>0ggbYj4i1nc~Ho^D`L_ zzZX`Arxp*9&v4rfn#7`{2TN@84D5?o#!b0a+%}SC4CrkNRkuOCA9emzH-CORsA9DTY2qXX<>h5H7m0mqA&ii*Y$R7jO}K z#E-cp?rN8V@^jGtRM)`MWhxS>oPoJg@T`itA1@FY1>_Jtg!hsEyJda=3@rU>?ps3A z-E0drqUSQjECOLiab00O5PVl=1@5Z`?Y)~WhR1+B)vL9Q z6Ff_E&b=WBjoakjuqp|q<*X`jM9Q3@gS9)MxqQAd$ByADT*CBc0T~dUW9L9I&aA28|FE8as+`;dbbmQ?kzL913Zqps z2c*;fg+3>X@*cgFxgaIfNULhMhb{$ADdp%E3fJDASUPjivLmOxYFglgO9GkE90uw5bA_MIiD!h!hHgFcRbtBh#3MvZGVk-SIDVCbJsui|-Y44s&J{F$W%q%x zN%&v-#zxzW*bpBx_n$WP5+B0NAW1;oBLB)~ZWUG(b2Q;peaF&bp2vkf24ODXP~-eG zw!%i#vCr z!wJ4zkL7fww*=i#lm3?n>Td@q0;i6Q{HJh>!>Bsrs-`=d#dSoI*r=cb3p zKe#_^OmMxFITJ@c7DgWPWLRX<@IoFF(pyL&L_2Uo!B!f4b7Y?W#jG~KLBw`^pUlZn zApfJIu5(kn8%w)n-^si^wxecQtGW zNKIMSC8WleJQw$!m=`pKi^aHrWAq6RBd7U9m5Ivg=wbi350|!mJdQQ?kdfJlBA+44 z3`o%Zj+{#l*vXM&;<<>dg{?(4&P_(%uT%|p6f*dH$U_8z_*!1yCF+}{gdhrjbZ!K* z91@Lxb4_CMgo%iDl6~wTXZ$ULP~4iHKopMa2&gr%nBg4cEOh=$iKzd(u*yVrnU8NV zcq2|IO^xJ3t0UBQoEbNBa?-za!w6nf7N?v4=Rv?06}-fCbOMv-PMfqV=Y<1|x57@b zzm2G8jKbR0F7Y+f0=8~$qCl}YCg6LP?IhK91RES%#j$GMvR#i7yD~_c9F+b*EDQ4A6t9MP8YY z;x`LPXhre?se*#%6H29EJ)cSwHM`N}{>1d)Q)c4m3hZE@u@{L600N}uDTr#)3!5$h z4pv7MF{7yOWA;s{;U*?Hv7}&SldABb(LB+EHz{gXd%jrk2ph0rs*?ew1Z>EmxS6;o zF~G!g&slL7K*MM#|CZo>+i#_7db!iNv}g#=XWj+C@anTsr4Wo~iFGZKUpq-M&4nk1 z6W+)A0SH8u?gQN$GQQkdI(NG+N*&l*HB%yUfXlr{jR8+Dd#adhIkr@6oDEVnBQ+qc znAW4;xTVF>*v21zum-yMuk=7`6DH|f)c(UsrH+Ck#QEElLV)o}qr0rRUlzm)On0~k zkU7MxTW-{@O6$ebQt=;-U2Yt8_S2tvnj#;@V){pZ;&7aS#lb&VCF7aD#Qe6--)5$a z^9ua)k7t6iyqwPenyma8UMN%f&XsP;KP8#wk&DJ2u!J6=NZ$t<&@!icv!i=5`ot2I z;u}{k{Dd>B0fYDcc__rU&`bn3|n#|q;_oH<4 z@nUHVK?>SjWG=Pq=!wH+hW~(_|Av7L+3qBad!EK03*7h86uHSlCtx-qY@)f3hl~7A z>)V`bA2fl-bkev7{G?@7JGR^#ut%{`lS(ALv`2~~x8N!!n~oT?RLUqw^_6Ht5^yJ~ zD=O(jVFIXG==|rq)9;y^AAoLniQ;vR{CA#RiKw;#L4*S{pS)1ZA4ERL_&vdn`{n%q_{(o8;`5{-;Fsy*F za*aR0d8$LiQ!nN0>g5$VkX(7iK0^Kf>C`p{A)96aZJpKk>!{&3y@pi+Iv+*bq6gm@9{d5svCi<;7E5XSilSk9gqw0Kh3lq$zd^04_&(9JT~2sv z!3I4d==4VXBqkA6`57kS(+kp45;xfBe5>;QVkn~NU%C{AKKJ(a1OzDsF8<4gA!k-a#>E+I2F z+SdkTYo>8L$$5UKS81EHQzmo!(@g+0RrR5Pn7{IDAb9R)_E+|U*j9~_5~}#?#PX_^uN9*jedHk zv_qYVenhJwS}E-&auC8jwB*4FPt07aO_JeD37B~gR=X{duS%4cXc7Sip|%~l)p#lM&n*K-i&f3|CksY018u9) zlm%418+R;fgJuH_^}!D2weNaNEi=*0ukjoGNB&;gWtaf0;^*i-yQ27Jb^~A@oCr)` zJ_rV@-cIKI)er&Z{7DK zU7zBHb7Z>tymmVh4aWi4Y8&q%|KIK4s{7~62j>q|G(@T#|>B4EQP7_fu1*Z>VpL_nl>X+cGLQz3w%1VuolDX4&$ z&})Dwoj?epfYM7shk%s80-=VU@GgF@>wW%*=X&x}cF$+$%*@W5zB5mL$3C#anq7+b z?^#WvLnAg%Z5&9Wwa8%V3@ni^CId_|WH&zyk=9Jneemp1gE~d1Lb&kxWx_GPn3WwEcbsLpCOO#I-m?K~8 zKNrBixIU}J3!OimQ~G{&{XG;nP<5vrf#8X^YX8Bh*(j*h`6C@G5<_yZZcv|8ojdt_ zznjnYTil<}ERV{jjIO!ZDwV!~>xNth4s=QzGX*sB%b^xhb<^p;BNVanWVzFYotu1G zClZe=7w6Q8bt-Ksf{XQ!_$0cir_kS*E_PeuwZN3=s5RsE%!+n7p%}hH$h~&4%?#^@ z(KL1V$1S}B(~w54gO3^46}s}{Aj(HCY+Z7Yjjs=QhW}-=cuH9=ax`r6&rE979Mk2M zNEP2TNZ0n5Tq}Lg7&EPn{p6WkxlO+zY|f&S=^*aO{uZ{U3dT;Fw zX-o1nZ{HASX#-uGAZT?>I#CTB{(fh@)n{TcH%ahh|AFlj8|TsNABEFVO2qHmZ*D`a zO6MQ0c)YJS`q~dd-E)0hN-{k|sxM~VJvlb9*k8VLpJEy8Rglsqf7!Qf_`HfZ`+6TZ+VHl>ktls?-KL9 z6#qz$Xjl~svNWAl{mUz>6%#qLKUY`+q<%zW9R6{QVq2hOqbk~7IaEzWmL~c)Pt1#|m^Wxy(BSE_dNrd}`xQq|G1p8g=Q^3xx9%{R5q)mxT|r6foM>X**dB9q z2xmlRPOuzb2_$rD^$y=5gk@v{a z8_S1($oFfjm~Lwgtai+4$l#r?nr&^q#D1Yl46N3dYUCo!(Qn?*D-`AstZsL-?MWP4 zy#LOVF230q!(Nncupcnv*o{;vRcSx=Pi{FZ5HX%YBI9j32acPVTA|D4_PU8)FRLoG zTWsa3Qu(`lj?|m!hww++6xTgB<|jAE2fav_>eC36W7CPJyP(*@JS*{EYByXA)b~d`DbLZ_ zTh-{*@;@-_2(v6UK=#6VUM(5=e)&;Zy=uZxh5+@*ou803##3n_+8MuJn}j{BCohK# ztw98%oS<;V@0+d{Oe7qg6pZP6<9h)*Wp8935mL6~K zw0^d|GZ;>fE!>AL*Syf}fahoFJ(e~74=y8wg>ZK1x&9C#OnSl~=Vm^pXyg6lRE>^JSyl@Rd>(r*zg@n+ zR(4wdANH&N?Tp0Zr17%KH*PDZ=-$sW`54GXV|0dbY{lK@5fi~ACoW}3>?-RY0sd8f z9h{C*ixi>6BMMeM8lMSZos-n~73g;G^1QH-Up{>aeYn4e*vgp-T3Hn!jR^RQSA5@i6J!EEv!kf^ zwy5ToIH9M|XCDR4wLS;PW#gj1pA~E+p>T9S)*wyAFO2We5+orN9Bx{_E&(yI3p|Y4B&mL*uaeK`VeXSF>T?fQ zuLdE>a!uD}6P1##ZobBC1>R_Z9G#mwE;T0D0(FZeml^z~XzGe}q|lze(Yc0`ZhAhK zE5C09&W*^5R^PWT%aYQIt$6Q#bMxj&b?vNJZSaQ7HNMG(+044JL^s;V;D_96xLl=S z-*s+5@raNx(9$ulVevgdBwh8K>s#?{SF5GH8)YX1W3cA9K?NCO?5g8r5XADy{A}*~ z&c>fZ2cQ=#8S&*FQPfo#f4^&&|Mks}^SUnt30l@Ca5M_GjnEnNdI?{qVKsN>k1QUR zM{<)(F8TF|-X^&8nl~}p>lC@Syge04fv|k0{ee`DM+|8w7)kd*ErTS2=CT-CNU&F_ z+CexRsk@d5_kyC}Y;#usLah}DSy#C-L^Z-)9_sW5?Os_W!LWY|DL=cEW|q8da~l+W zHW-qW@L&pimtg8h3Mt97yFzbNP?sHQlX+m7WPm#%-lMpYFQlY0ab07TIa;vbDb*J!+3fSZ zS%tilQRJ!+H_o{Y2UaTaV#R(j_{@G5_2 znv~B~Mj-0=(-Mob!+S9cnTnesLw$aH;t$^@*lspsCJye0?L+>QM*m6rA2NGd=4wty z?k&fqz>OUap=fL4-Tg;vR0C2WQPNCdl@FflWDTS-!+c(%I4jBR$fO?=L-T38Zu<(g z__lp)R*11a(zQ;Rw&*Vyvx1 zt3(X)rf7JGCYXY8Ep2=VqA!J&H}!v>(dV+qz~Y zV6^E|zA1>;%D*VcoL8o)yYjDP+a%QH`t?I`zCD5h$KR1k-ZhR28Q{3aMH?6Lm2u5# z5y1bcAR;P_;Z?J~JWnoFQUHK`zuK2o~tv}DZE}>lxpX7mXK@d)0H4aq-b`&m9P8GdD z;`7wdf#Sy(B^zd*g|yF2DW0N!|B*O+p`YN4N?mBpCjBgkvAwBDY_Z=_O7I=LM-Ozc zr5EZGUFN$_N@a;tFA`JwpBw$YHCHtZo2a z#_iqf_alkd^->`aZB>#^WQZvF`$ee%hQt>g_SQ8=s|jW=StOg< z%NQDP71uyDRV3D}USwBbZns}i{`Ez&pOD*K8oC>KEMi5G!wB_y9C z^8}31hs$`a8KSQOn} z6rDJ!*#6YP?fvViW)rZ(Prq6w*x(rATQV$WR@xM?8^ijY5^X61ZS|WP2z3OJ*76QI zN`rASV#H}J@VA|zNU`PAYJ!_QA4iwf_A2_T9T%D=e!2B?x^Tk9nKyEiG-cPc7WeNO zxCi9+6CY=7OQmGPD4P#$jB*Q6RxI-`KNt10H+fN>H8Y=2QvZiV;d)#&;KsGRsIEaV zrUgL=b^FU^62w4E8Y|ZnM$x!h`bq?CAb1fSsL29!4Ti?mnlxvb;(Y`lKGkJ zpXM3!#0+k?nf7)*wRYq*E!h42-FSs~>Nrtjis^9> zAV zVPZErAnZ76Hv3zGFd0d7?I>{a=4^an`fjC3`E#?*4(9B6kd@n5dq+j_10<9_)s$Le z;z58&78MPl6dtGRlr%L&TAk>RNom3I?Nz)DMU%~T?Swq_u|a0>8)Tj>)v-L3Jlf2x znfn5El%7KWfFJjgE9=ZC?nsMtO;E#Glg*;Qvd^NRW8Gfy`$Kbdr}n(28uO0q3*5{< zNxTo=?iNlGJ|1vMLX3sNb)D0Iq)#7gmirD)O+Y!)djx81s^)FGCZm0gI#!cwgl?UP zU)T%!3xzF%MJJ}H&m^yAclOy0UK?U`-5ihi(t}a7&xhw1ZK(e5gik0DmGO0+)j+Jy~jhd&JW?pQ- zVEH=I`Fg3f?rD^Wft>Sk*+q#@m9AwM_Fu|gN+5olJ-A3*(#-nVmt{uDGH3Pp`=1OZ z2=w)D~i2nx@m__&`HNZm%AOC{#&Ev$TsLZKQPiQX#sj zX@>M$XiWbNaBU(1;sAQ5FKepAagHU&DVbbTeVUmlD~<{7Mpe*JsrGd5mnGA*bytJ7 z*lZ0P?G9K8r3W`E&EDvsv^0qX?9Y|L7OExCl?g4wRrutMwuaDajbRJe5;&v@mhSx~)FE7>1naV)2ALKMI zTLyBuUFY9^dVTy}@``Z$saisA*`BpmI$s|xpLU*P1iK$Gp@$~qmE{}is315ab`3{W z24Pb#uJtX6`R;$deoXea*v5+&xCz|jKAizuzX;^_-b-i$i*zkzqe@vFY(AWNSZFW#b#8hhtjd5k z)hwMAWG<0?K7n8?!Y?|7M0D)2G*b&$mPBrd-CZ1;O;k z4PQMYU{gn=BpQ96cxkkJDj6y@!Tl`9Y`hrJEHG zeM2RLU*0~SN*VQ+^e-u=w^p^lBpJ=}^Vw6l<&*5n>e1C`QTxV+vV$?ms7eePZ*kYB zN=D^n><4{bj_*FSUPAgzydQy4<;!{6^~O8K2ab+ByQBr)xRyYD>6W77j^8baIcxo? zfupz~Y9>);Vr4wwVsesti^^}GcH3rPcSClyokv>uR2=ncUQ&z8CA3!m#Td(+vN^Y7 z%|fu=7#;W+!317gXyA5ND!IioCQZlvvj)8LU@Ef6Ow5NAA0B;~Q{@{MmRUf25qSf= zV7>R28&;q3FxfPdq?)Qj?0XZlgS^@OWiMNuDCHV+g<_ff5b7^)_7S}Cu#1hY?h&U zs(z?UV_KwR#glm5?@=A+;XR%0#L{xEyC|EftbfzbQI?}8^cIs@$#SU~HGGjLS+1-oGNN!fYRS+`5 zPXPV7{v!pk)R~n()Ru&@v$%l9TtD91R=zrNAwJZ|QnNJb$y*b+y5je$^y!u`err4y z;b)_tspB4^0q+ol_B%xv2_0|8-W%#mD)iW;rwD7{4MNxPlk<5Si(9@U;wAc-vOm*! z9Y5*A`wyvNVg8>jqs21Q)iHjkMgiaP!XCRA&t(#ngWQ~Ttv~5C*&+y;W*m(yIdutr zZ|}I}JxxAu(k$)m81!|G{0P0>nIf-rlG^CfxRv!YA=xyv=)OU{%+Dm=?5wYpTKa;} zyeA>@0^w=5QVX1|VgQ>-o=mt8&f7WAPUUrE+3Y;=QF-x@gbzga1*%>qLUy5qM4Aws zeHQs4MHu?Bewk^gUZj&6nb-G(u37bAFNakY7|TEp{D(}5T>5IQ&R1Rq^}Dtu$_Am{ zrpff!gFbQk4h3@;=ct_h8&?#D$JbX2S|eZ=(0InzA$5BF;EG5PCf>Cz>t_X_Ex~K= zjpaKr{)lzPiG@d)w#H1cs_R0I)R(A+GH+4&iEh>N7nSb1Q%8&w@{y&Rm(X`_UC{8P ztbio?0pIl-*)e~h;jQPAubSKoA5O{`G5M6Mm2Pr=_|Kp zu_0?YL@DERR$&FfRHVqjfXmyI5Sg_WNAdq?f3gf0yID3v(t%G&tCbF}_OvvjN;Tj^ z3VF!nPXZ9x>|+h*-l}Y=V5Sv3H?m&Y)oHM{Jq4Cj(yeI?|?H$ZF7{1sK?MkTUpfZ1cW*G_p?p6`o@_ zkO$>3dGKg10@QQ=y}r6n@s~9!WFPCA1%j!NCQ^%14}lUuBaTao zngW2bv1^8bzO#ns*=y0lDTGWWlrLO2??*?QcARyV`pv>Js2kM#{2;@)lf*Z}cHtDtIOXAj|5_aNr-D~m z&*a#7QKM8mxu3dVBsi1SA`+F>vVg~;S+4HK*hYPy)(e%%H(Y*U-vo?}hI6x`zJFQ& z@o4G|{w76~jqVeZ-Ss1vakZ}j0acd(Y5YU{*t z{z<9L5A}^U3$RROa+66IJECxS)9VN2G7I!uya%3+U1yDkw*=hmtdpln>CJ!ewaC=* zO0Q2}y`vD95K{kDed^@FfH(R0s)U1zlD{|^M)P@5-qFZ<7H7>zO(89OAFJWp(XAGX zy?ymx<^Ew6a~N}MJgU~h42dXv!bR49L)Wr9d!bLe zy)}Q7Dh_FYXP)UxPEWtm$GML8WyaN7f4u}5Q=Y!=uw)Pt#}kdLw76fz(%1SeCzAyW z!Rg>!2T`qBsh%gt1J3iXwX#ez3zai@=RRxTbS`PYFGxAjxPR(Q9_`SYwo`Q~J2xeoG%2{aiRjgmt0o zBp9?MXh;4bqzPVlrrhj35QH^E3_ShlkqN&~K-oLL^{7anIR-6D3OY<)p%P+)CDD~E zjJKxAR?~AmL}9T2O9EQkD(tjOz$D4LtoSrTkK-eB8goO8-M#y%vm{CPQ38e zYS*bc;MLcDyds>|>0-;tQ1qFd9^#-!1oAHur{Wl zm{-YDwOJpim&j97_|ScP$osF*N(}OgOEmKS*BpP%fgf4C%ue1cQ$*n>0hSiZ z&_^Yz;?^Srkr-_Q^|yvW810*r)U(}L3Snkjhy4v8R1Hewv%n-bI>3|#K7p7PeU^e} zpOT&bYaRe&&dguh5PL+giKG5;`AFS`>dcABR{A^mg{oN-j2u761A8o#eqL;)A{!${ zoTB~she_qN<2o{DLO>nOtvF{jgU5MkrRR@B8P&uw=qrNKAV3uLcdz-7)^c?26DHyL zS!Ovy=D+Y44@yL9?ty__NF&EDZLeSE^&Imfiu9Gt4m z-BKrm{}J`-qxGSRY{rEP3M0T==jSYg2V3N9Q({5R2}W9EdWWSZ`Gcp1LFikXAdJGA zBh{>XY=d+vC{nxx%D0o#5sr6Wh`LrIQfVsfZ(JGb%UmCLAdB;S7=!tgm!>`Y1qIhk zFV_JdT)PimdGll5)PBmO;iBlKRaW^}1VuLc(a9+}G zgFWp-`!BQX?3$ov%%~)6UGX6?@*=cwb_VW8)Dg=zX;0YlV5AMNT{#w9}JnaFqiZ+JdOJjTJ%&n zco>ldYSA2pR-vwaA*hN?2@jgK!9n1de`oOhsB#&#+f?Dp!{m)PhlRd&X1TV z>l+R2EKu5{y+cB}(FTY7b>G9Emeu*IkZqOZ(W(%-f@m0d1adkIaAM~ z+HzE~6^8wDK#dkH9CCTF`GHKsh&Fh!#NZb+XV!WS#mF%E;yf9+nr)2O`|^#f4EJ@L z-U}o1msm$FG!=-jtn+`)4&$P7WXe0+QhP@CVt#kpnN3I}sNJm6AlG!=2jdkCRY#MP z=McmGPBd}l6vKKH=~koKi*Q|#-=wu6H+3P)P##)G|MM3zp$Z?xgBeIsB}AAMDE~!rBc*q=gpkp-5uXt9X5p=y;^g=|iAx($NK0(&Hxf z)b2;W$(WaU8Tf&BDe_%eHuA>(bJ%e3wmv<@Jju}B`r9M7->EKd$Qb{;jK-OFCb)Yi zB9L{4#e=7{!Q0WK3JV_Y95TOjc8%h&Yu?=e8^u z5qU2Zs=-CY)|up^{eMlIV6VU4wUO{~RIm7$J02@Wy@hw8y?k=Qb&v^-+V_}i;IQ#0 zaKnP_XSl0!!&g*247j49uH?lXoVr_k*DU9_AAihVh>m0IliZCy)S_)V=9TUtQ2rX! z1JcFU#2NhHU2muf0gCk%_FObCb5d&-6=C)DoypEzBcpKYmm-kASMPHgUi4-~dNNi5 zUJ5Y}BWgN~I~_xM3Ef@$G!*LRiXn22ROKq!?4{pQ+2;q#mC3-E4_G+RVSFBwpNulM zxB=eE7iqBhf&az= ziUoc|F6=G}yDr54Q(|M6ZLYCd^F-dm)lurRF_`lpQ@g$UN^dymDBAQ+tyi?}Ru-)5 z5@;5X`6Wb1yi1^!0&02Z8Mg-PAGm1#q}lA=BAINA$km1-iU}uB9jT|B73eXq_Elb2 zrN=Zm80p^C50O5?U1zq|do7!>-jk*i^g#27*f7qK79)H&6aOYUcRB{QeOrW8kmI1g z0^R__p=|JvlJrAK)|N?1+$DyWO1zAJy{Z?O-Y1}zil4M0BY7T6?ydOy1j_ss+Mb=6 za$20ScLQrL=KoVa>sTr>-0zNSoPOw|mxS~DQf=1X_cP1~FR9Oc&;eDAJHHr(e&D0W z>e^QEL;E`=T6l>IbsAxaW7v_#pu-ZmpMd_>T$808qTy8{x-p>LVF}lrqZs`e(LZU z4)y7-7(u%DTo1|N%kvO{AWRKCE9Up*mWU`PK@2p2^xnt%sD2~I{$g2xO;x1n*C33f z?FZ_0PD$`SpDwxJGcpgGVXP} zK76*N2s{wwXw<6tgx=S@E`zdxQ^hayl~yvdo$H~H5T<10f$I^-KL70LwWd(bWx_Ex<&eBk za38#xNb?h7Qb(Y*NBr!!vb&T^KY3QUh(9awf_k7Cww)04J4e5MJvSeBVD8ylW+r~g zDj*f}JVl`3*Yxv0X6?bPS@;$EJmi~P0rb~aXjA{Q8k)4(p2I+1k!nXYvMxULJn2kC z-Ce)Hs#G#$yf^(Qaw-P7U-PR5`4E`R>uRK{d+&u?nNrz+2XSg2G&@*hOquS$LWT%I zSD^TCgKxhG4?L-cHEM2HF7zd85}XtxFn<%NUM+fz^;{^T$-C>>Q6$rLuT;#d-3>nN z&Wc?o>kP;&6)!RuM0;#*{$X)hAF~BmW!OHs9(ll5V+`wYFv3U;fV7r|f#d6MJbYD3ql1 zpV>Q>zrKM8MsKh?O_QUId*1Bz{Z+wmZ!34uCC9E*b5_CkBox3EgM2*`jqI3{4$vk& zF{-yDx+u}h_dqV2;?Q`&TMr>{OoO~TN2|n8eS=&_)QEjuR%?{0tWdgl&r0>{{ZA=))=Y>{;a4mB0f>bNzFGP;Ja(SDRjCu zpR`2tf~?1C2J6|9(m-h3l;4zpLRV^YsOixrVegAnI90PYnxpdp`BKbquv@yTsx`fr z2V9rv%ok=aXSB=Q3N>F}y1=@h<*|Aqn{;sATvkc_+{KsQ7u^=RHOyjE)k+)h9u5c`%#-B_c z@+{rvjYIS*lkYXWb;3arP2Q?~%^?L~w+hsS$e44QpQ(i+BMb1SO*gtW5=FA-j%81m zo~?SA%f8iq(R2AUl=JU|w*NJn13cPw@erC%q)wj%CHHzP!h`0bt00n6-B%Mq4T-NC z0hxE^j<{qH@8@A&-keM$JTi!NfATQ{nbjBzfsCiSos~2cf|*~d_ITZ@LuSQ>hN_WH zW6Hdxhv`Q09qjzGaM(jwR;oD4mqxSrFyz}m`}USb_w%Wq zVf>F4H`3-{=PB7JG$OMWI)b-wYD$*n?{|zmru6Z9Y`$qLiXRG_i+L`Ob>GgQ=ER1? z=#-rST@_NV(3Gtzd0X2}p$`R3-|8!T2(X-+a)Hkzp-!Sc%Dx48%8zA0Yn`x^RN}9F zt6D2dg6dVR4kXv0yw$#ikBiK2Brmxdq6ST|J}x-2>L6P_VKBFPNV?0_-$_@bR=?z& zSb(xpmXfKk+m*I03wyoiiPI_H74(k3CS6g*P!w@jhoFlLL+X2i|@T zCb?Lo_%hM-mAI&8=2Ba$wh^1Ez7jc_qv!3THglmdWhKcpuc~<;x>tYZk$s2Pvd4LT zgwmi;gIle`>I%TVUATrp_ttggRyD7b`4O`=&RssXQ6BFkTX%r|_QBG$P#)&2X!t9% zzW?-xtrD%-QiT&5?@oyxU=Qe}^ZBRE-Si3zmCK5K`TB4FSejJdfatwqV;KB?I)iFC z$;gPt1W0a)MR+c#cIY6U9*4!`ksLf;5jD2%{`OUhc=gHZ;70lPH2laGm9kEkwEPQR z)Vrs1YG#DcIf)08q;3fe-J`qO?Eq4?eN0q++daXx=%8Z??VBf*)DIG+l zCiWBZQX4ndYcyMx75eTxZ+OTDo8-hor)GxVl+6bGfp*zYD@pmW-Mg2URAcd*4%hlU z8j_7+Gd1f+aokXpfu+AvK!T(nmD=u$j*BAojt;I)Jq^&gH8Wn(Ir#-*L^j9TGBX)i z_CT;amr?NXnDtnE9wy5?b+oUi*;}Oh=L-Zq+T@}8fZP!#j;VSP&W5t?Evm|T{0hP( zJ;rkrO<~h^OtA6U?_%)r`O$N19`=ACf5o*uI7>TJipPu2^1Mg|oSs^#kuN&?`?C+6 z6jR;W7NfRy71!jipBQd#yXo&MO+ra}x^C|IGgB5FNXsfT$h z&g^*#D*P}BmCjT@HSmZO6}J4a+uT>*M?K0b@5<cM1n6~9Mqk&vlm^2cw|`ElK0QHcrcA9uLCh>L^IEQ?>y|=~B;p^WE?K`^j;Q9>7i0*${83R-1Qz{p75jYeRcY#-e;~ zmalA?JeOY8hB-2p@u7C>?1QS^yR+_CN#Zo~CjUy7T3etm0q-?bC2_*S?+`tFf(!hI zZ(D&q3oU~y*Y0AXTL!%V+GR?*N49bJmHxr<)ICY}ZMR)%?v_rUF8q?4l81=rSx0Xi zuMmhePyayo&cyA>>eIDlMva;(-@oABpd!bmM_Clg@Nkp*$YdS-d??Ugbh<^3G4aaL z9EolJuR6d_bmAJ$!((K?VnepX0_cf9C)IgNw!3<%e^i)EG6&{i>}xm}EoX#PcVX27 zm@ygFp0ji^u6>lwZh+keHcu>d$;Fzp)*Z?_IKxwifRl-i-Cw_!Q*$~)qs|YW23+=n zQsd^C*%hG+yl(9=^Sy>3E)b-u9|Ob{^(<8V!(RYOg@BLehxesgOz4*xGILd=B!=W zLzqpL^|l5Kk(KF=-+-? z&I<&_Qigo);2BQr7}8w;$gvx2jH)1!OrXEZs}%p0sc|AFL2w=b#+JQ_+#X+$03gFT z=RASntXPAG06?_QdeFVldO=CvfD3qtql{q@u3^~cOK>1Cor51=eLOh@0F!si+XHs3 z4($TsE;Z;LDC%<)x@9b0pxPMwc5Ptm-S)^e=s9kVfV1wV|Mr+8RGCPP z(oM=6xj6u+ygX&H`F5LQ1s4K1(%*UpYzz)j zor2YueQXX95d5<(>SR~>Yah^)d{79NxFMn>y$9%trI;*EZc(?l@^wxCfNXKe(jI2T z9>6PQ!i$60-b&*=2>`yIN|%DRP3#W=fyEpB>xuFjTmUt{1~(h~eGm@l5h;ZJ+|+IT zP#z#Kg5swyYi7E=Wd*+p0PF1WLefvtW?IW>Ah5~nTQU39HX#xcEq7&ke(U5MaTg#~ zP#DUn?-AevvTCiB2o+**s5oy0Qwn9l2C{xf&Xshw?*gFIXG1H7o}R$%-ZFXY9d$0? zxJx1tZ@o+b%K_kF9@#y_H`F?A7x2-MK9_^rOv6L!Fj)&Dy;S>Y?X(Lx{w9-Q-*b`+ z5amheN33frNCJRF&G@=4g&?vI2wd;s@#dM!-vu=MXmsjkXW&l*fZboOO&%yII4=Mc zZn45h_H`=>m{$N0_p*Q1`{`R=KoltLpW8^op9cUYlwIzSizgTGU%flIB?W&80NggP zppMxaI`!CIpqeL<7Ey3~z=I3;RXe)0PW6E9Ny{r*5656i0H7?qo}sy=rwaoB*uu*C zxh*qD&U=Y8c)<9@q!W>}Jb{ZkO{K>q} zt#xUA`RmlS_pH)zz8p}!pDmwC$E&cPvnWYWxr<-?VBXX2s7$SGis1I2ZDZY=K+^q0 zn!-0RCHx)s^Jz*lgj(Fpb$f|^v5{T2J-32g)=-!N0zp4x@9GA5g|pkw8I%nxg;^l5 zVM__UC%4%~g|c~Fp|Wxx@cUf=zJJu6!jYd-+5?>73#eA0sN`ESx9$Ixh6K0`Kbqhh z-JYA6g7kVsNz`U!gekQ8ztUF$Zhu#M-Fde%P`iLYF+Y>iDy09H?M~lBswM#Fy(EGy zrrElDe1+TnbXpj6M;`Uy`l90xlnM&6a+e$K^b?;qi!NCFyQ<-KwhL%lGmDq4guJ6C zkca6NAkpvodwLQGWSuBJEm80-c?pRG9u^b94AVm4Lb|yxWVKLtf3S9+x2DnrrFdlq z+PMLMcfUez8g3Vs{SUrZ=2x$Id)o`h_r49-qw5I+??PI3h}Kr+2%=`YZg}ogFYycU z%gln-HU$-^a&p|fSr*;@d*&AmT|uBXgy=x1rd8v?S+C(laX};zQu@T-U8K-ro*i$F z3+0-WGLiKRc(@O^(g;Hn`a@YfIAO?Zo92xNr@S8j)Lm_ZoZWi?82s~@{&y7Z2~@-7 zZ?6_ine2yHd)jZ0PVA2eO)TA_?6CTj8@p$)xsIZ%2~}%ZPrtodC_O``hV2Cocf-)J z{U1VEb9oBuX(&k`Fsp2Y>983PtP8Ss18?5KnfPm!3)>Z#S^&7Sk;{Bm5k2w=yTjPi zT}qcn#p>Zu@^@f(0EQ0hj}2|E_{$mNvI77p(aI|8{kZ+ojtY)hQ{is*LW_Q(8`dn+ zF5p+qUQ%JG7Lk8G<{1!ZV@>68b1w+qQAy>%Lq3UW&1LaEo; zA6rFO;4a|qkEmbezD;aRJa#$;!v=s?YdLQ2n@e%N`66%%0d^QT6M_I&N|d6?8Kmnq zx^=q%-kzh3xy$Rsc#iZAt1so42X+5!U+h*=hiV*K(|;zxI?ax?+!j*W%?%7kR@`2h zfw=zWYfWo*jY8FIN6%WPrS7R78lS!#H+yj_yi|Sd$OE89Ho#bIM4E$G=V(J@X9S|! z__h8*K3I+SH(o8V!ZdDs)L~h&tjD{7Nk9F6ca)~jN9lsJ|A6=Ur6vBzFM-5c+k?8` z_HL!P9!Tb!qgopm{}J6jv}PaYIo$8 zH6=?t&U9j`jbe@kfTZVO*UDJiJEd{4DdGaLr**@1h4KPYW*~H~vjodp*uEw0@vQke;pXZP)>2@odn<7%0r?yVgat`0PErOFKeaA&pP4IUm)*P> z#J7>Aa~c>PV{B>vVj35nzGIoOU3RmGxG!;811Aeqs}G5kes}wBy|9W9QrOH8hH&BDP0zht^c%5D^}Vu8rUg}g$8*mzASzFTSB-;tu`<4Fd|V_ zI&7PlUAc8)iti`K%U17F>?D?x-y#4EKV&JaVnYV%tCHqhbG!mZQ`QN!nd~KRbQb_{ zS(_BS*_N8Sw7C}>1;xBVS*1d{Qk1A{w%7<>zuK$1kx5Y5xDOd|?y{|yb=GLj)`Jy_ zIjJ}~p^~HqY0oNdRScsFo0xl7>X<|jB(+!F+_BUj-Ez&t*mr{sia}!~n{%@JmUoo; zU`kDwFekMc4dx99M7Cc-W~RxyS(D8`e9{&%;?P4blZ4-HT(jN%IU&(srCM zDIif{bDdn}RE&s(>dqR9y$vN)xw12C8JuBy5GQlIVkdX5#wXYh@rH)%9Vs8eDS6CQ z-<)28^G*?~3d&==O;-B6!xPZ;y;358Q6K)pZ>IzM*3!L0(E2nagkCw~nE+|_0c0J4 zU*b_G5H6D?e89ge|7VVqiFOg=;t(tl?I+c))GQFTAf&Lv;bUtkhvYPDbVmkExn&CW z%dI%XznZSPr9=fJ-a0Yu4%^|QIKazcvXE;j9ulNlOh^d^v;QYZo+6ji&zwT$l z@B1t+@pB~OpN!+-f|Hr)qYFK-e_Syb4|&)l+wD+S@}Oxgnf307|Ffw{Xh@2a2Y_3_ z&XYpK{GGz$^`m)E@WU|3{s3^Xx5zR7)Q8r8#*`$cWU^|y5j$sZ8M%!)v;6ErN>Y@4cIE6F zrEctuT_3(pR9U%S>i=viwT#IqTM-1~jx4Z-lj%hBrR5 z9!SJ;tXUEO@J*i@!Yu!1VWQUm=P%wW#&W%pi1^1y+^i;4LP9WGm9{MujsSqm!YwD2 z)j?RPe;G7a>6Kmagb`Qmx83Z|MB=lsor(6W%DnG){Zr8-3I{T5KuRvexec) zsq`Ki@tTf>FatVw`f^d@$q**_e@uKDbf?q_4bmbx8Vb;0IQMWxa>ZQOW{gtiK|s`C zK7`Z#&%&73ohRdmKri~gxAajIiiuB$t%_iC_5ylm2pMaX_&NsX+Kz+jog?7a&UXWp z9i5hm`>DhZcrroEfA{N8_69#4A{!rWFj$NL-T@&UloNpwwNKF&M@{}1B854{4orlGF2C%lZA!MnS(CP& zI~Kej3gtp;oQ#6Ay;(PQ0Z$Y3Rkjtj@7W?!xBuui0YJ@lr^yp4{~Uk#-75hS({>qZ zM&fq^!}}7L_Jt8ztN%1`*iwTB3dXpx3z4=5_**dLUyc=J#?Sw& zK4+ofzp)vQ)%yP)i_;$6d?IZ*-Z;rsS+x&%ll?73%Ky~P3)|nAG0S$79Y*|(Y?*cj z0^hiN!H)zMBT{#!S6BJF+s0)FU-?|UmrXq74Yw=H(8Y-LciY|x zrpeI1D5%@_fMh*$G9iTX)2nTl8)<1n0623Tx=dKes-*y%)OMw81~jKOmEmE>u)a~U z`pY#xL25O2fWF?}JrlES&@rGD!uolX^&a3qeJ7ReX&CxC_LtqxY(y!x zZ(?_4_|5?8wZ4lA-}6pfcQ*i>jl1DFO8@lY=!ord{f^0n0zl7=WnroRAF(U$#xmWn zj$=0X$NF0@97tNBrTp+;Jmvc_feHB)9d!H;m>Fce62!c*4)m{qDhvFqq2evbhM~`6 zYj-YJHrd;6->I|`94AdtsU7ZeIg;y&sV=tzgFnn z+Ot!BnVhV?zPCrj#fuAg^Ps3$H=o~6-+RGk=lWip%dzb-^E+7y%$-a5t#Nl-F|}LU;X_8=j0w&W7sXPr6N^95B;mz1?bN`qXLa z1P?oLXd!rgr(S68EXTr1mF$hRC_O=Lqa^wpm(F+o7vLQQ0B2UcZ7tS%lW=UJ@9TCq zQlT_2;5AuTB>4bR8Rx88#Z=2&_3rASt?{suoqP2EZUq?2&O_OI_XH}GSBT8UEC7mv zMc1aUS|6Qk%_k3gKiu_D$!;s}n{LVZHJ7$O0j76P&1J}0i~Wjan4zbuUgbRl^irj@ zmt|AGZ@ILQKlau^&vxAevf5K-pArK~Pc^l!`^G{MXYCWAbzLw>W}(#s1Rm3}DV*TAjz+!L6?G^5i8rHn`a19-$9 zsI%I9OqmH9oGVc*S_<5qER!$$`OXt`N3Ugi>M+P+)$!DLuTgFrI@zMewg8w&62L5x zpqcLUM2}P5yg`cE&i{P;W#^oVP>v&h+>a~ZqO1?6j4z!_-zLS(ZI*?uaH4w{a_n4# zY1Tmcku$FE?OTrr=5hlI?*}oT{?8W%77U7l`!b9oX67 zS#8s8$$wU24lvug}D6^bs?^GJ!$q6>I#dW%#RT zi4u>X?GoqvgG-5W{Gc|kL%=|9lMoS40MBejy%HK+J}Z7g4YDLnuFqtmJ|i5st*g|3 z@y~e1r2u=}h=mv5<|-j%kNv+V`VK+81Y^w?O|2I}jAl=-2lmPhVSw*ysBoU9ihZd3 z$OxQtDaq!KhaxHNA^aoZ@bQ+#jT+91Ud z#L#EmGJ)PBoobSgm!9B*dK{(&d+>>Jf}pmjR*OvFW+`m&tQ;|A;TWe?|38h+GjYTU zjVnQXt~K(^#QZ6VVwG_n)OP&$aF`8&4<^YpaIeGa`ky_QSU8aa{UIIFC8pm#g;5BB zh0uixrc+@$SwpSsnO zVe)dDGYa(QN1(-)&fw!92)vRc@Y>&ggl1Aa~YSO#}EDGSoy!6|1T=MTlqg9`DBH^yI0#ZD7J^ZkFlDGxe7;#~=? zMbM>W_rQBZ+FBe{+b8_i{<~-u%$evobkAwVu-E#P&riUOou&Pnsgme-XRzIQ;X1uB z;~8L)g}(hh%%*-O1(1@whcnJ`+bQR`3qgbMn(nk2?oZ@*NWHo(2x$MhwbAnR;l?7sUyPxLW8R{STQl3C8NpJa;+e`P;{?&Z#yjL~<( z7Xaajk25Zae;>;}95-*F_Nw~zry3pO&e0!A)=tw0+6nVg=0}DlqMX)iF16wqK)rlT zy%Z7a>xk{jjidwO6jhMHbHPo4NL_QOQ zTM_rm9Cu8HsBFHnHZE|jY^F|H&m4V4-wF6{aDtr%bfvu>cj_>UPCa4VbzLtqFa6Wn zxE~3?+_Ol+x#=m|e-rk*-v^Tw%N)Jmz~~25w0tFC(%h5xJ(hp^2p-|8)i;4M#YVmL z!H?Vui=uq-aqDn)5Bl-gwoKxMWFKyBxibH*1=Ofek>irwu zV?LMC|Bmt%U49F8={!U(;nnQK$7AxuNo$oe9k{K~r&AyjqC-^kUu=K@oFrGaZ3Y16 zb-iPEPyWC0sBFM^LT&q>9FILC_z&0)H9N?X;qR`(0q4QYc%HqBd(f^LyxPp|BLoDc zCIXK7jol3zRA^9^sYetqipz?VCaMd?O5l9~A?TBFY~T~UdG9@ihi8dV zo}k9-$GZw=7ku~G`zLAc>=?oOV91XUo0PZKXm-mihqLM@d)Gc(Rf{?oWj@`VSv-;< zf%@i{QTjdq^Sy2G+75wSyQzkEu{w0+(HPlfE*GoQpecubwKn#9z7vZgx{4!4hClb1 z>{&W=s>uc8E}d9Nhz0gpA7E0${%OKL)+d#7-B{q|Y*W1E=HucaPr>)w9$Uc^>kao= zPxOFU+*D>v!AlS9daUMuMfdu@_KQA+0%zarChaTrSiKtmLHSNOAZrhc(L2Y0Y5i(t zQA~`l{py2Leas8p_rlR?=hQNQdUlN8zA=gqG&oN4mAf6rObx)?HR@fdH!A5r8JmLc zg}yLauq7kv0r>(0QOrPKIX|k;K=0)X>(ODCw?Gs|1@XJbXLGX|%MVM1u7LL1Fx~dA z;+QF9#_(qW}P zUQ>7|q#>zN!Ft=NL2tTWOEmB#r`MM35apS5_ksw<V8Xy}XY-+Tphr$RB zjji(#G!CNuNQ3MqM1rL&ctNz{r=yZ;2RtJbiVW1X1@d_OnijqC>kzA+&( z4yy+YYIjDhRnCERj3d6?IVP~BL^EI|;Dup1)q6oVpO#&GA5)paMt_7n#hR>OntE9} zi;rIvV-ou@f(1>FjeDaOKz?MJswSr&&6|QR2}oQqT73IWg{<-vJ0R{W`fbZQoXa*? zJhH^d4{3@r^nPU_uZmcaG75|i|6CdWJJ+F2TdgkzQwN)%ZZ1+&U5zeJTtfnWpx*IXFIL zJdlunH4QwtJoY}uBp(=s&)o{+t&Su4i3n0t10k%r;R|ATH)L7%7GgYr+=vW$wzn{u z=j=uvo^1;t=T3Y8I5K$xzcV<;xHGMWE{>y_QQpz$8|*)}AEG3nbZhMwq7aq1F6(}f->6~DrB3503!&K0YQ%yU zuV-9ERrq#H`6Lb1z>dDU=Eb2orU7hKAvrdpUD|O)6;*RYdR?LbF~#RL3=(cg9B|wI zpmXtcO4WeQa(hO#M|9xxInHo{Hxe_G&(gj&i2cCAUM>fwn#5U=-+-N`)LT!PCSHG^ zhB|w(oDgI@x#4Ox_H&#QPbc&6Wzt2a@|x3|1c%llTQc9|=Kz$Ag-i$ZcLtpWoym}~ zOd|7vgm)LgtU{bZY)jS>g9lY>c1&qb&6Ik(FB-EpF-@RoY79DDfbV0&HLbTxA3PZ?>2L%f7{v&Ox)~&$swq^>JqxJP57ngT6b3jwujFS|l)Jnty@GyD^K`rK)F{c@+lLCR9Q*iuRO7!YjrSEc?LV`MbifUTZ0JM&_EM1#k|AazPjS13+aRqs=D9eDpX?RJ~d z9w4u$GV?EgQ{6^p_qI5ZnRfe6(>fsBP)DU}_H4yGRd0rh5)q1eX~Dj5d^p#}qgx-F z#C(uycz_A@d}(r0v?ZpzG%xy0oh#enk;@UG=o32tk$=%(+FF$>t3ae|JsbbXI~JQL zB(E%2RWPfE4iXQAcxIMEv55i*V(>|?x~9rJdMt(IdX#F%31#43-K ziYa4IT}+7sFdpAO==Oh;sut%n)v?5YOZC_EI!ld*RKFr{ zr6N8M9_uxD_s?Sz{c-A;>U7#Q{X~J^KK{xxMnilDR|n}O#?&!2-vDxy^lzVwv`7<8 zlURCeK+hM$gE@fu?%{7Afh$vrR$&cIr_6BtE;Lu=#}pmDe#8lCDW#}-z#kMjF3LRgRf8^! zq`V%^~*(HmmdhQFVv*)_59(>~}JfKZbhVQQlZk$QfP@UEt5uUD5eFWvVP^S9a)z z);S+CfeH8NxrP@v=3t1&_WSJRgU7nSKTz-beX0j)vndk~rv!gG!eL*hLeZ?2E4$Gk z-ZN*G8ldu}XD%ns2f9BRD-&%H;@6bf)R~~i(qH|jDjS4VLxk%M?Ky@MwKT7l>39Og zQ(_+H#eJgHt@;oMsG!GUg`7rrrr|-6OC!PIVmd9}^;GQWv41krktfwl*pK(f4k!#N z;7}66UHifu|HdRRoV>?P(zu*op5b1o=s>#V+hw73B}r>z^?SlWyhm4wUqY0A9jdF4 zm;OzQ8(}!U>W!=Gbx9OGf5$5No{}3C$Yss9@#Qv|Ef&jMp(!H2&tGq8acjd&~Y)%!27iJD$9?xgqa*a0|D!&X*#{~POIj!XBM#q{f&kheIkCX*8thX zT}YaK!M>30IVymRk+Y~5wb_2+RUSpu#3toH=kIY2O>*Z1VGnyHexBs& zjs7OYUeks7UWN?w(5mBGZ)Rs=^bEZ2jdO-SzoV}A>zSPJD&ZJqMFt;fR=i(O@zjef z;D9rRt(Ax7kgn`Lazkj=h;C;487Qt0iY9!*>Nzs36I>PaQkJ=JA8&>edH@=mf6z)r zdR)pjJHZwPEF|X4^4s@fu1u?U|BVvfj*XD>2`6fB9ua!XuLBHp^S*e6h^f5xXx}$^ zGsp_z6@1bsOnkFCZbS`HG?&{O(dWyO&ByEe+9fSSd$~Feh*hz5-rY~V=9 zTK64xzpWhm^!dOF?U4Z$PxbYMx2fbA5(MEE*8g8>7s*c36rkSa%`SWJmct)NlT-U- zKFae_+b@A~%6gixqr1Yx3(N=AdWk{l+9TL7Lg0v+s&$0DT+_!(GLL63I6{lOQH_LH z!&OD!b>lt>&Qjq)JZm=hlv<-IJcg+5bwsGQ5byIehcdc+5Irig^3KdJm@K%QR1k-5 zma2SIU|&44Dyxd9VLXzw3J52v2Uy;#6z%hzvO_BB5idA8L>$Sf9^@$V9`yj^9zZ8S4=4gTd?NB(=4J_tcTxe3}89QeFndQze0!AbIY|&m`z4D z>GPR%I;(!*sGd5&ww4ZgVdLDsN#Xz(A9kpc2PS+A6eCBHH?p}G31K+XAZ=j(m1gmL zBjd}=9RuyGaB6a;s(KX`S7^Zv&rI9p+sM%Bey5$C{s#SWui&M#RRB5KCHgz6*P#Ud zF+rmJh!3u)ipl}DWH1~D%b>o5*;Y@|H4O7gI~{L#bR!(JkMZ6(W z+-J{(y$w(mTu?eiNmuNj=4!eJ0p5Xux5&m74-0lzf8WpTjl@TY25x0HVyRQw9)9Fi zXB#QxA6G*RzdGW}h$X7AtCD4FpUc%V4-5lCSy%14mSJ2~L&peDxCWCDpmU)EF3F6$ znq~CZ=9lm3tJ|4|dlDq;ysmkE?T?alY~g8OA8`BbCn=uMAHM1+D2gsH+r4gtvX*6p zqYb1hc!~nx7r6N63J3=(o?_;_*$zrRaxjL0al=LBYCY^<(FPWs`Z(ZiD+-f-(4?0w zrA$jc3F)%q?an1}=(Q%MVOriVW#7BYlb09Asr7F50#(LqHe$_5SJK-08B2TfK=d^$ zgz7;yEP(8U2a9LWMXXxfxsNWW|0mVJOt+qcm(Q$IkJSlZoxUT9hSFYDTZJSMS>a2E zecxT{%1h<3{z6vdO7z<2tnDy@ZdG@|xWsa!)3?qoarX7>%zaBiIfN=ITa(u}`C4Hm z^+AISu7-CvxT%iHKf4Y0f?tnhY=Lr__JAhi1M!o zNRI;*^gc41oZd2gpei=}J!@8&vT0Uy3k|LNHyZ0Fph|web-hZet3$lLhzAYrj_?a7 zQkSWc6KL1B++Lz{czn%sZCHUthecPvY%WHHq~L|UfBXFk45`?kz{uF_|JJwpKa#%} z7T6N4?Df%Ot>(du&6nT$2K-0*=7lBQj-hmb#Z^%uajInV?!dAz8+4uD*=>OFIxKYLua)Kb?a{WD8( z@tYP|=wPg0sVez~tT857XaB9ybxex&@s!#@aAr8+`dLdHdj@$z~o!&fsC2j zNJAD(%G2Z5U2qRx-$s{}zC2IcsAlQC4pQDZtOqn(#zpL#SWT^P+2eq}{zzR*795o* zBbIRt&(ynN^i09}NZeDNc!2@y{v7Ec$Mr zj$Jfl!=$VNOVyUcRmO}mu8uv7%YHHT%VP%x>(9&%UCj)@kRpe%?)!tSDlQ% z{%c)-&Ve*|ul!a@3=n6`|JNocZLBM*vW)t!&fm|Q|vwbw0HB3TLLfeg6g}c^$`8c;xr!ZdxXYLkqp)?RkznY5vcMfp_h-4iP|ZzR$eArD}(mBwLP1%oeHkvC8)DU|G=5ian` z8IGJFBT$+jpxz=hEyBhrPkhgW4Ovy7!0oxmf=3#^Paix-0;!>i-#OSzb70IZ*+dnhE{&*VLWi zY52=`D;w-ZkvWoT{DeCePhc{kVdN|{yMN9Gt`n^pwX+%E$Xi#zI)Pb6wKhZ5U-x?9 zC;}@sK{vq7FHhWKz=p_qVavuPW|zYVHHoqGxnL<^yrmXLm}BJ4>}g$P#Zl^!f~df1 zm-WDXSBiOf;hWw(&25}$Kt%yazdx~HAVjuNv?>2)fem6KCer>}l=6+)gUT zBj^!-N^Rhfjd>PHh}-aj@sf1vmDt1&BnF(N1U{C{hTkQz-o{)v{em0|ke9w$TCo_h z)Ec$*F%waWD;dL87{5e{@=m-6EDoalZe3U7KQECOj|6YO4jH^d{7jYL?yuO1?2U(D zzvnRkeWvq%?)iWpdc;F=7ytPuX`ZLFqhRl?|pe)%|`5kxOl1vqK~9( z_@=i!$hXyjdq@4=fe?1-)XyraH%-|S+H zCcJ58>l*{=Pj~MD)l(x65H6d+p_PJ=pGE$dMLDD9`@Q`xpL8IJ*=ZUb02dRdLM|zU zoaBWhGj@G(YE&UP)k24?ZvuxM??(n|99 z25R)xtYU#_J&1b)sH87L^oo_!0Oe{*KzUA@`fZ>}Jf*6EvWtGlmF2)yW#Wu2xpS;V z+BzEu2fEIICtMBDvNgl%t(L(eJs-4*wf=l28x{QgYkwFf-Gu(xH_>CAb40X;zFx0b zFh(9D+nnnvr2y`KlWrSzXRpq?@Oq>^qK{O4{Q3I0T5a?VLCvtKo(~ondX-aG&&HQY zGqQzWoa(OQg5;OuumjmYU-J-cXktL9fXRnuDx9jHReErO) zB?A%lwM(=?Wal9j`^eAE?R=u{CuKbfPXp)9M{4Q9;6^*p1t)!lK9Bi+Ue3rDK9Hsg zjWBmJG??2oSLLfPCPeRA`GW|cZLPPz*lX(p@&C=s+4~%5F}$2wKzj@r(s~B8odDg& z2V!aS5pvkbnLT$+=~Q@#$3yYk#c11)5E$u#i;ZxUXLs@n>|O^>{OJ1y|E^t*&)r+Z z_)Oreb^w&r1)aDh^LjMc3{ZoXCQz*cp7@)h!B+rJxcGik^%dH@yIN=jPWBkMsyeOS zdNKGez`4`orgXP7HAFUHAvlz;>%mo^Z+>^;Ryr73EdalT29k<%d!(mcCt1i z2}?Hjy{AK@G-Ka6-+|MNdEwMs@mW*=X|EmzF@90YInf>yfHF$jS91ynTDtWea(MbcNqrY_sc&U zNZkVO9a{WRcXl5-1Q8I4y^xG0~j&r9eNevXBQkvyH=$PaG<%v z)C(LhgVSCVX1GBll{E@p{DS>q;K?wj#Vgr{dcNjM2h%YP6~zEdEsX*JfO!vKUcxIa z0nA(J;7e=QFd17Q2W2^a=0U32tvIZh{bzMqnt$z_+et6EPkvK%$HnWu3iSwf#qD9m zUb1ejWfHirDz%hS2(^;Yyy@U$;!!Ks^>v-bB&^L|Mp@3MaVtBB5ARfx^n;^-)C;teKzr=J zG0%}j{oHpt_b1heN+j@ba^6oW!-tPt<6c7aq2kT_*)XMncCvK%Drk>+*b({#T&4V| zEafHSPqJgR({-i+D)U^$W>J?os+XS|p9%e70SI_@(L6tQJ$aBr!gB8(f&Dee-_4fP ztW=vY5Bk@;>Zj>c1>U(o>SSMzg|w;pUD<2uc}ZiF>j+&>t&pU#$(AqLPDQ?kv_0~k ztNfAj2hzs0KDmgSa-g|&L46&`wN(j@PsnP4hpmFXDeKP-CN4^X#`p@$^zPBvFw0cT znJo2l1Uqky78Q64eFifu4xakmUGJv~_o_U2kYdlpnF@}Na4cA_RM^6?ft6f{s(XU_ zy8Tq$DTRu^zUz2{wA`QamJ}GX&8vkbYskqrUqPgn@2em)CJmTo~K0|Cv9vVb}Ayz2R4W`yUSgb*R#3{UlGcLQAshS0qxuxV`|s(5u?^%H(i|FXO8MmW48VQBDRm;sIYMd|{M|yiZe*=Q|h`^9wZ$kSuL+!lNLiyL2pj^!H4y?DW z3U>}*Q^AdsF;C*ZS|L~w$FE|QPv>QYx56v?bf6xxzpGHz*gfq(gI_m@9_X!_mtQ{+8d$GG&^lZXtE>!B0DLY_P%THsKB z+2U9z4hh{nCb^37U-}wqH@bg#2mjCcH*$sby?-1d2XU?}Y;C!2$^aCwvw&oJw5#BhA3e%gOY z=Wh~}y3u=rd@h;vE^gs}#DfUr$N0u4wwkZ*k+sq?Q-*AfoPy>;k6-+k%0jMtU1+S_ zu`)#7_%DUYphD4OD%Aatx)@4cK!!6UGNdv+Z=BqwjAWsRAlp|u$A;BB=3gJcP&)hT zn{3Y?r2`t~dA#fSOaP`XQz(#j z2p?usQBl!#4Sb3u(Kjy(#Y~AgC-;S=M6in$>!w2jH~p)v`qPGRMLS;T-LEPU>K=X) zZaooTf$rZ0VsJDribMmT?uOc<1(Q8*sG->4?v98|Bbe=T5~tkn{L2z3outyZPN1Rx z0U8<|a5IKgpCf%822|hdnmI}JSwl`?APy4EuuUX^({-{1!UI{Wk`(W3-?83THcmo# z0X8N`5@-#C^ZyqB$XvPG@zEm=MF_GrAf4W)11JGCMz6OlYD3Ea^LZc+j6S@RAl0y;6#zzMT zNkyX0CtIM*x-DtI`rzNpl1NG7)Bl%C?ULn4xQjBt1S<$|Te|xfH!P9#;sQzSbnSS7 zO@Z{ZVelSq(x#dZOW#$S9dAn5vS)zJ^^ojr8w-T7`WJwnJiktsl1EX(*gX>W)PSt% z7FiaOj2qNU({CNuMTXrYok8_4ogt{0M0(aNl70J23$5WzOX*9e-PBF5-f~W24`Wf{6DRLb~;E1E0aO2$Ht16?pW1|Q+`DZ zve>Yun($&FoatX^^B1@vT%wHI7Ho**>RkK&g~I&}M4n0pF#D-RBAcQ1DH7jmX!?J! zM4iRffK%~R{|W`*B?As31YP?d5unKC`gN#B7O;eeWF`I!v`Q#RT7f_iRQ}(~5aBG? zQ3&@hX|bl>l+YYWq$GR(C&CZ}ad-j8Ph=${Q2al6uqPgy*RN!@B&TT$T(8-WH=luS zK&h84oL>P+B27-;I#&Vn?MGL%MUEX%7=eh=EIg-r<*_y9yZ!v2ZX02lMOZiq{5tJW&Wdyk)yilEkCRkqII*2WqHFVJ2y|= zKG`Do?l76M=K_d)-s+*4AL%&_C?TPY-_9Sxfs2TfNNUu7?RDp5OHHPff8u`P@E#X7 z4gh%eJ8*rutbC+kL`bP$NsE29euYJ>Dsi|6J_ukdoui~=O!Wf>Tr5WdSYYVMy0DI% z?cQ45(NTXP>>V#LMx5(oD@%Ka>MUET46sqLc_e3=Exs^K2JO^T0JeC~_jLlZU6P&K zZFQ}kI1){1eI0`LoPi+;A;+LPvl>%Dg~&PS_DL4JAF3gOl>)Y8(A~Vyz2r@Elq7^(qLM2|+XOD$y~n{T zKXz^#h%ZGdoIE~~DKG0yb4%GfIK-N~l8#ud-fp7cjL#tcvAj=*#Hx~Gunhl!1}L47 zZ&NgL%kN(_{Y^qL0EgG#sC(#ONTEtfL+xvdbW+0*)VsazEnLGsoc`hSE+2|Dnyf7* z{T#DeG!T41hg9eP(9DS(imyK=LuB+73Z!z87jy@NNt|Vt$M}+z?Y{zf zbW!IX$NdMj$ynr?bO@#(Zi)QPS_gpeaVzAy9cYF8V+bt5smB8n6c9nc(b6vK(oe+#EoV_{?`HLf3ORXLD^5T!1rH{IJ}zTe zM78CwDB!*4Twn_t5S-uW?=k%VFzwjyBhh=4Baw2kOBcf{(lWpI=7nW_mXr<=%aWsO zZ}b-S`gNU*v`Px_wN$IcLJX{u*b@SH-tpZpx-;3J>b8Gr{_(8FKHa+GJe|1?P@_dO zjzE`Pyak6txVM#W1nT1i|~- z)dIeJ)9$*jHV1q2sK7}qMM(u{AY*)__Yz3&waS9iZj!^@enl8mwjPzbv>ojmzS^7s z?}sXU|1G`6d7>@N0J}L=Ol!c)j#yirREWjCi@n{qKNN#IQx(~ni5I{F<^}r z3pPk^&AmKy;~9m>j||a?M5zN;YEGCcR^b z*Erj1vUAM@M&F2YBT9la;Jd z^}RCy@(=qSL|r;417vp~v9ijaguA<1wsg#1fq2zGWJnzmA000Z&0X3v8oE;&WAn_b3nKAw0v2S3trc9&m!x z=Tep{5cF*ucp!Dx{FdtS%CQvh8X<1v#;=|enq1O`0!fGh5)46CeR_U9{q)ZHw&~q_Ni9v8 z;NfP|1cJ2f&;-pHpgNDQnROO_FdgU-?cW<@Z(|MEFL$AY2!!M1Cx7`$+XM6cyv>Hu zfTKfP=xC~!gP@UJJmy9YD+la%J!b#YHm9_dAEFL{n{RoEBMNvcZe;0Fl_GVa3@MI; zmH|hVwv;EF5-2cAQB2nq(6)e!=9F^c?u9i%JjJ|r$_#U#ztkzkt@!!XY(J`tlvCP& zx$$`rGFMLlYqJ73d0_2t6p#$VTa}#tqrv?zai`5yK_J2!ol{x4cCEZ`Pt>fl+`#@% zJ}+^0mFAl-N|}!TI`p`^tcuHS_?^svscqn^2T#9P)FwME!XVVI!NtYAbb9^|pCye) zxWr=#ZyYDzVt4*9@P67Ae=K}bB2vzxk=WA91;?;Vl*~PjE0ht_HF&g+*tN2!c{R1_ z$tmVmIfh&G0lFIS5XTP^HQb?b%i3l{8gl~h@D(-VX&1v|29hVm4;T0k=%M&x#)-C8 z$MT(8Y2)g1j1$#o=>i&Dl3+$6WPlL7*wk~n2BGzzmf1CbCTj}YR|0P_T-r6KuG_~= zF7Y)Rj-grpaxgGLr#mh;!!FuF%W`B|O{T9L|Lq?KJau8tkuy0g^=Vq~RK?qizNnes zBnQ1Pp}aaP@MXm-1QDLn%#xQW2N86^u&92wIP*n91Vk4^;Qg>GDGMbdEX*im{Cmv%Z93bO2zE$Uf~Jl8rQ)M z9w_WIH?okkfCa}-g-tcd#+n$Z3XkIMF#I2^ptX1@`X}6|rX#qNbFmBSe zr8jXfoiQj{z)LK|IgM!%b2Nv(eZ}mvas~F>MJ~szN}}B3AtrNGIq}CmyizUP{1$0K zrOux{^V*kQi1@K0x&I@p zeM~*kWb@}bzVS6#aX{MK3J=JAjTms)8XX*=GI)!+;iJ-L5r_OC#^{-%Eh+0?=etn5 zhskRLiqXz;L+qZM@U|2yV*DAsSbW8bxAfJThZ}sBvKU!6KO-MOYt5%8kLBP@M3&Gk z3;8)KE97eMx9`s@A3I%bX`{Ft15GP~vv}W}FiFUojvlN67z%f~Vb9466s?%6wyidv~*@X-JMQf9`quZ~t zb2W|L>^U(Fvn7chE~V2AJV{$|BHYMK8ixm^(sQSd@ta*un0X^jg?w(qrE8G=I8apYxsd?K@oB1aJQn3p_!vZIb?lU zyToR$b2G|ec45+2!M!2x^KM0~%?0`2rjmhB0wWH)w?GIyG;SMhpLK1BQXQ!~WvIU| zvTY^5CYrxnSz>kW`{(RvFTd>qRku>2^F9aXP?j(EH2ZaTM|PPfrgLNc9As$z!anra z(WKWX+TqYV68IA%G}w2;EM&Qj$b za7#A+$I3-xQsXWSOUATfuJ^#Mh>RZAVZGL`crpVdHFQm(Wkyu3ZGBHSsXEH@Z&>~l zWuNG2nErOd%<9M_jWW9pD#rk-%2eAz_6w3rZ)HoSuE|imei@&jzv=X~si1CNVbhT5 zg42peLc~wiz%N{ku6b_8K261<*)LeRXkObrv4Pm+x5grjQ%=OH9uDvvX_V8qdUJR$wi-3VBE%9m+WqI zV6=Fz=QM9j`k+F+RI8BjI>58=Uf_d5> z_xaccnxmy*5JHvSL>DO%<5rgI9@Ta`GWym=<`v9!jd~2R`0}LXy|z|XtyuZ6v%9k~ zkm7$S;zufEk3}F|n$HMGFFB7)WPj1UKPio_5j!=ci;^2M{AlmV2MylqYJc~GOG?*! z#5rw7&1OhiGh$?5OF?7s{H-@RZOYUE81TRNl|}y!-8q zNSyhttuJ)&fk=qF8YEhB!^TNQ)2Hfcen-c^>eYgkQdDa?=06Q{jz!Zg9~`Av?G!!5 zoXC;m%;v3H7pCCKGx5{8cQ7&%-8b@ayC3acTJ^Z=@z6+*6Wa8VXqf$sc!-u}oiZFc z^$kuVnHnwlnuf+nu1)kVb9d{qz=rrU#aORzwiXr_B~7a5&+b3-mlx^u;u@!PGx_eF zyF2CV-5|5{bEtVFdUT}B2leA=_ml*K?+V(XusoHC`SlfY4s%5i=ScOto_+D6hC6>2 zPME$ryq1_h&^VSQeo|&X;i&82dQVt__;Px5@N7-L#*SF@uIcp1;;A)x z4R%SR*?UxaiQZ9*Zc7UEDS@w%1*_S)!`_7jWsO6hoV*)!$|xYd6F96}{gBM3AfKp+ z$F7wc%}Q3Y)AQ&>9tE$rmGL~}X|z6}T#a$%fnk*;667bAEu}JJWSLdGkouy)2OoxW z6yyZFid&u4U`zY_wDw)i9#wZ%!H~gMm@dXBJVBzVtV1rw8!9|yhl1EVN#(kDc}h?p zdQQVEbS{s6=$?Dp@AQk|M^}AcaD_^?fe=#fVS~UZj93%S|KWTImIDsaEY(!8yuE64 z;1iM7Iv%ugDJ`@O$}V=S8QS~iEi6J~O{r^OW*e+T2clMy3#ZL};OIG(kznf!BHE9| z#;4TmLguqS@2Xni*4u;%-9Au)1b6_pcYmJFeMmQVf5jBxlFdu(pmVi6YToPLQeYF# zD{TL0p708~v*Fiu+NBjil||zqH`c{c(i5}$on`HlUAc%CBg+Yj6U}kaRVirE^ZU>p zv4LNKm!2&jr9YgY!prM2`ZK;W-4~fHERmMnfqP3$^eJTobal0>q+xZi zL*i(Teek7IrMK8H*GP?lq^ol(x_uU6n|5t+C#u5CkY099nMrzv*~N#4k}V}w{`p8 zD{0j_M^4oAw9a(~%v1uG+7u=B+-yw}^^vPXkb^~}YdQGp^z4P@bA+Dk;-%jm8}I*E zzGKKh0C{;XPWed=y#wkI1d38Zfa8P9*O&4Y5b{>7&k!A}HD*QYAfx;0-54%qN&iLv zbC)_wt9kEJ^q4B{Mdk0ges>2}Pdkbf8w!pAx7)BjP?16;6=M~n94CbwesDgh*8h6{ z_tg-(bae7vCyR?g*9xA7pq*~tvhIwCFmD=66jb)A zGvPsrLGm#TOiHVF%9N`ovHRWIoP@^sY;5?B7m%g{eI~-ypp^~n^oRDOWW`eub|be# z!iJY+$OdoJ60}+Mi!B*XG*|l95S@``TX<|*5 za2b9%aJ-n+qB19Qr&UCLzGu<5{F-oMHVT=Emw*I-gK|Ejo=)(r|WUn*Cv<9lO7bT0UF=8VP{~bc)+g^} zI0vDH!Jb1gwje{$^hWQ^}c|&wQO?EL|+j{gg7fRyWX?oBvAa(C9&*|&-nc7Ca z_!+3&GWzbw=V$l+%imE)VA{b7y=FPD!TE&Itur}?j%+98g6!pC7sebHhx~^(b^FXr zXz<0LH{D4^?*4{ZzlZ)@U*t{JzCX_FxB2#e$~(Q7Nt2(v*$Fo|ry~$F>!)?{(HBaO zUR`kwr}EG~cWC=#_h(sI)vY^+3mli2t{n@^Ml(CQ^{2p&`1k4%TImgAiD$1)exin@ zVy5L&CihzEQ&0Z9>0?4niAVG%@BG>F;EfL5*SS}>TuLUb4#9ILt0$;gwwdc=e5A9c*))Ycx zGzy%ao!Tb@qPL4G_KQUCLTto!NmVA5h{~tW$ z=g!Yr<@>2>jZaZtK!!Leh;aM&-L4hc*dZX&IuHC2g(0Lya1^5p-`1z2xGA+Zg%u~> zjZ}xChLr}c9lJ-9@Lg+`ZmU-vPR5UijCRT9tD=^f?t4L{K)!FwY`<-r`jZ}Bw*`vh z`6=}8*4*1$_X@*W<|*70!JNp3NzP8HD$sUSl%(EZ!e>5wXb|F^KKF?s)c(uIx+=(< zepC+iL0nKCaqo2JTbmko%{v)za&uY`o?Os1@GANmEL6DT$nD%PBU{MgG{M&7rSG0x z=kZg;xNY#%;4@urW#N5~Yin(JlBiTGU_`qE)=r}gOSE*qX;5%VVm9?;z&C@PF#e_}D@?D=Ud;O-+(xI}sZi67;x&^u)szPWCjwl~*nLDeG0@xe#Ef*}=5G47q?Iev{b%tf2#h-Z_82-% zxrn;gM<*yh_}N!UP6M?SoJw_Vq$E5RpxB91WcwVGX*3uPSm69q~}kWJ4^Y&TCF}j=XtMdkWv$C z_uK%J!9$M8uY+-}f#v&mU*BJ-M*nm&G>1)J>ZIAZ zxzos;Y##_}@9UXH9y*B}3`6%gK$U0KDSmfYKkX^g5u0gAX#F(YCxWbAv1QOhw~u*{ zOYAyZ?ioFc`*IOEO8GBt2KUPV3gNKPpj{APg=(T(J1ZqV*!t#&J#Pebp10I6oW`*Y zK6p>pfD1UZ?o6p&Cs20XqLhIcub5w>x1aQhC!2i+lU73@v8H2f9Meto$XY z5B(8BT18)aw@*=}spGQ)8$cadQ5Q#E(8QMys2yu{lUm1=Oq!&^y9@3j_=EwjJ{F0g zmG6^X5tU@jI8r-dwn%rp9%G%Und7+d379HDN}mnJ6DhNr4!gLttX;T!04T@qHpQ*P z4e9i}eVVMAjfKwhbs+|$ox|x)%Rg(`p7@0$_i{3&S?uX$gcv~K*B7+(=D(^ZwwRAm zIvCkl%%<|%N%cbKkE_M&*d<<01@u~q&;_1#jCDJd@hqiL^h~KD)HF~vMnO7m_uh#& z^+BWYdlXvVf>}S9 z7iCQO>;_yK1bYW}U;zHN2jK3N2eF67LV*Ry8F20=Nx+=K8*~oa5>lYqqX$?UmHU2xb>E2SC<5rt6%tSEMHT-(IW-E=qD0V~qk4=h;6p zFPU=^`UZDkis&bBX$63vQ5hRu`KtU6N-`ric_j#re=W`~Q+w3l_wz+)@EC(!tjB@WfX`=cUS zdhI^?N{d}W5#O7JoX@+D=k-LnK>?c_M8kfr#FB{H@+Y%pORtzeE^7HyttgLhge*By9=)bS}f+Q;)(EWDlr&|QioZPg^?S7LA_)^WP7#6 z2wQ{z^e3EOYP;W-a_{ZMa5+o#%l)^e-Xlau=D8snU6hpbK7Dk?_Y@t3~`OxG?lEm!*h$SjeTd6@|trgCeOPFLvPi zz&Vc(U@;R*NuLQ)2*rVMb`sy!(mKi2FU>$HjHFsjcxgNx!B1!{wLPpEG?sEQ=^Chg zd;{V<{}*NxE~}jhiROX48uW^#rOzmApx0Yi%GXkS*XL3A+Z|01XNQ&Rup1FGX!0&q zxW>*c(?SM-$K8`X=I);#Sy&L(gRdJquGmpyp&bFe8~bY?A8+i90d>FDD5_z@Cfk+& znzA@k|6un!AKTokYyn&-71o?pAl^e|$8sNZol8n0t?dWiE)rO-LQ5aJ@y)c&{&fSb zmtM=yJ85?ekTCq(kOxus%F<<#&N9ee9gQCU*9QPueKFk=#XL9 zr+&mTre`#DBjWn6z{osm9{0PiHox}fNwO2#_i$%bGrYW3?} z>Kdn3YAMY#N$R>*k+Wo^XdAKFot-P#Ho$E6Q5RFdH}|M>)lv<#Go?w((YVKA3;WW0 zXB+>qzk^s)=yrlQ846yEE#2mK5}GX6w_$TUJ=YAqf^fXI$tl;a zAcxbx>o~2v7@*d(rXn1zb{`yq%k_^yQf$fh10y{0r`DxSeBa{Y?hrX9vc+EnRtQ?B zAtJ5CZq=K@AzUFzA~#p7>gFw@3@~8IFB8q<&cR!xtTQ3>tDB(Jb^BBTe}NB#;{>uG zo{e2w6Gm;E^u_zD=U__*p`SNbPya3qeof<5)MT-OIAmR@HLJE_Z*n@V-qP6))cs^o zER;i93V^Mpolst)^tZRKMi##B7l(*Q?smYZaNV*R$!8_<6nRYmsrURkPkm*0`^LHd(3IuiS`0T1!QkI2P8d>$%W zI6LXBy!aeuo&ki99oAkNjQE)n%w_%Xo2Y&P$_Qc3SoCDlL6veb|Max&d@^TbEtB5L z{kdDO$v?m?P;^NM+&ws&H43t>cAP9+S7-6J;4L>GFD!%;ZcN^YF)RNdZG28AaKD6? zDF4fpwD`p3d!@PF@kC#U_0lnH$| zc{-jYr!oyCZe-_%4&0R4>TZ-XelM#6HL+I4Qs@IWNfuUT`8u}H?vY>2%GnT35b=c` zeenbRRmP|n)%;!-p-B~irJOK~!|D*RutfqjAu?|ULK1<|Z!cK+YE^z-H>Q@44Tc?@ zE%?bzZ<+vIMuHN5$c#E@kL~YleLrh>!gHVVKIUVMVBa4p3~acx@wY=774AV8ce`&# zM9*^5rlBTTul680x+zV5DCis(=tm?dT!q|we{@y)ly8t=SacAlIy3HdIKa#l_5BGs zj_O&zWhj3rroi(wKDoDRk)?>?I&#eojt+ST0#_0bRiT&ln$f{rPVbZlsE)>!6{4lM z%5GRGl$($XnKR+?t|{O(`8iu^VDmPr+oc!EXrY22j4C+><EsT%@{vVf?UOB^dh_u04o33sGEh&r`I#_#eo)AY$g*Oiv zE$DdzLh~_sB*XscY%W)J3fWhP4mWy(I2;^Al4IrK$-}ZWZ9)kA=ITo*9+4T>TbPog5)G$y?_F~ zj#d$W$**hXbij^p8y=KdkNHuecu`KwwLIpOE(VJ1Qc=KXQ65xPGzZj|Nfa=cGmws! z3R-ivT##DeN5wiKaIsev z@Wj~Yc}ec}#$Nt!84To}YahMnu%KTI(z4(PZ`)Z#Fpu%=2VL|qkpidDVz+j{Ay=U1 zAw+KQboe8cd@5J=dl*Q1gyZ$lmB4!{6h&2GLKL_1Ps4Jm=|HLx|QmFx=C_`Gc!4xg2f=6al4y?5zP2a($$K zbG&U}M?7mQJsS9D9xxb6jW5kQ#BG)dQ)U2W2r(<*$2fwBVcEILCnP`i89$0$0z-{p zc-R(LMtyDXJma#*wWiM>Z(jh>H}|ts=mRRU-f`V~2W7m(G)mbN!BKeg9T=RnyYUb! zs#8eEk8mFtOY7R;{|eoGyCS##%IX}FN4fOswVs(*`F53PXU;5tZ?bn@rQ&Yg~|WSb)tR= zAggjeSC`oZgI4>(5R4>;!{em{7eoXP=Q3jP(4ZYd(R%~YHK0Z7j> zVIK4xQV)IoWe4J1=q2bN3xvOQC)&dx7jRW!D!mv(+r?Ol*-~t9T-68Zh)NTP1A)5^ zEJ3(r@)CV0S=zz;RjV>W1z5=*PM~n@q+AC~YNwabyG&P+(M*FFc*@E`2IkZ+*%Ku? zz6}HmbB&w4>Pa6C%+=x+fYe#@k$B+EXcsy$NnPVv(yIecbvlf-J2JS8v%DGes-g$OD~2;M66s9R_oXtF zJf)3y*66X>8l4Do!^b}{@G3AIDGnyJim#Y;*1HPrY`TM+X)0Lua9`_-k`Tf1KWo_^ z1R@}<5%!-Yr~y)~ghL)<1E`)>ITf+`1V%M#TSMDNW3~gS40;RGq&#ns2qVxL(~}v1 z-QDN^NSO*?(%4LN8U`h3u)U<_l-9|VL?sCK1(2*3=tC8lcqcq;6IFp3NxJ;RC6d0b zmlR8XiU-sXaJh;+0P|6^suggof@Q>rmEukr2G>SKuOt%hp83J?Nwns-&osFb{tBBmjUosdYKwdFed*z@O-RN8ftsW@Amq2Q_5-BIwX`!FM z#vMQ9xOgr^Bc2Qn*@drT$D~XNXH8|jSqP=1y~#0CHfFdmvxOGwE->Vl$7Jk7KBPbxaBfH+aM5%4iErW$2l}OM9dNW zgyZFwtE#9ew*_{2A`s!iG+-z6PPW*z0nmVFVQsLRwcP-6TK|ZHL)(D}#aCP972>== zm;^4l_^)asuJ~Hy6MUB_VTP`QUtvC4ugU~*kXo#sK7m>=_7S|D6nSVuFGFHR=%Lcw zj%|{_$6w7Wgh-~^9{`>)0fHx6%{CD{IDZ;@neV4yH8WJjfFtZY{Xv=Hy7-zO%B%T3 zhX<-2Ut9V5XXk5*Gi+NpK0ulMdU54XJ$9#te&|B`3N6f#1c^Kxju)Zc$z7KAm!z{1 zDw0iavy*0elJhCjSh9gNcxLbvn~Gq@p972?@fOyGy<|2M;s%9&s2CWVrjUT>E>Q@7 z7KY4dTxoKt&Huc6kA&Y_FfTmhG%1C!2CX5|;tY8v6~j)r|EkwLIwVvDjvhBoSJ*P% zgOe&Jr#oRcJJ@tFJ>mJyW;H*d_Ew;-my<|@W|%OQ$^s*!iHh=BdC(2%=Y zp(UYGLF4o>@q92VOohd8)Td^A;zJKSm!E@rK(~ik)~uWTZhMrS8AeJ@d$nbyKrT`ZAJ0sSD}G_EGYeaiVPsWZ>{^l{Pw?_q6N%C)qlMWr2J zYgttNJVC($lqFOA7vjMLc64B64w{wAj2w1_!O$r9_Xs%V)dZJ}!9jG3nKD(LuQ&wFzro`CCpb9V=voPWnR zSH^!O6H^U~adpL6P>fP*9`s-O;7d__2J$cUcC9}@(J$N31GigM zLYu#7YVx&}-vuMP#2`)!*3QFoU3~Kq>cA;X0|yi0v{c#r0em=b3r3+q0gD9`8o;HN zVA_jvpu8viLiu#I-dOP9xuTbu+7tTVs|N$2s13q>Y0PCfS|tKx3Qo6QZE67(A%)DO z0`=BCusj^k74f$6*7S+c!E;AIhpgw5w+1uFzJVAJ010F5s)D%)ownkPqyeVuUc0X) z|9!vc5_!oQU(}B)VP({0ko!M?3vc1phN$bIC+5@ZkWjjF?7*d}1lryi8@-2ZP=+(glVF_X!k>6^^6R2gMz9t@5A&;kz53^ELSP z&3#aeiyl6#0Tb92K@=@y2_^HC?ctziFFTxcNer<}to>PjrHFko)-ttAqL2epliHg=HOfKlxqvfqWM>QQhtGkY1ymY$kL z^v7T9@%gh|{CFBLz)+d^Fc{(YZ97h+Kn_O*1m8QqHep3k+U{~ExVvsv+898(S~my~ z_SC_t4JW&jt%&*DwFdD^$Uz}{UB{T=;o+-T@_IxVKB06bg`pqcQ`o;=1V za6ygjqB|_rsH(nVd4$@oKHh{`$*IJJ5?@?D+zCg4>hFUqlstll7B6zrhO|8DU}~CO zBFP#?m9aWNv3bDlkOy~QFXLp)BtLz>4SObm0sj`jlxAHM+@t`0z=#a41};taX25ym z(tP|qFw^%x2;KvhF8)mnM-CQvTQHS^p#kiVp~g$si6r1UYfsNjWP?k44_&k2q$m#v zygA?VLhM3Ps9>Sf z#dB(3Zj<#a51debY3X-VgLr<>>g?gyJiA%Z+F4X{w3nb{&9FVVx$bsBsTN!m6?+2$N$bXeL@fwF$@S zx*+BoGUjt|=5W6ZZ~SUg*O*o2?zyIC!LxHx7d{L`u-TTso}bvH{Z=$<43}^x&5m7H z44AZRZ%CASyS?7hY3_19jh86A(6jl*QfO7=aOpzJ=CwwcsJ-in;F(qHkZa-nhI>0AT}W+g8%qOx$Opi))l zhn`HDcj6Zc``Ni^K->nfp&r-5YiggL)%KW za7TBMOC?5$pC0OX2K7vVyLF&o?ZN5eF7ozq4C#gzViC4OF{sP}&8}GB4ThZ(a(R;P!rx+ay4@(z`cWC(HNjC&N zr3F;ml<%c1EEaPwhFi78{}U98J!{CiHTGG<63sCds%a^nB*pK{8Y7f(^jxIaWcdih z2fz0CM#0U)8(@y#ffwuE&L-1;6TfwrN3d&4JR;?51C3n$p14^j=pBIQho+#ryQ^Kp z;^;>&KQ>&)79Il+~nMdvvz(6yBZd6+pKlBCi)wf_0E|{DH?4biBXcjYeb>V*MNe6 ze^)?i6zIt$rzxk~`IR;2>t8|N_eRQcp4-PDvau+I(2)l}s7N}`z`V!OEGZC-i5&Ta z^aEFWE`zq*X)$i3tX>U+FFpVS#`)A4?)5Gmp7omt5pc*JuxY;IK$VR+$QU4`x9ag= z`&2qe&b7defgN|7*0w;$R{gJt==M5l>m0l00R>b%G=9QA3&iTXpnsWPsPA@Ss9fAK zvXeDO?x&zrSDTX7$)l5fGV^M|yqB~P#ZM6`C&)B0KJ{Gi7?MRcur_BDv^@7L!uSTa zEKAu5%TiE_3aeW(lTy{Bj!3gPd&FV!DlrFZ%0F5x>x?x&?JY)r9!$#2GvW%f?kb>f zT;HTjKba$|5D__1W6Nv`6!ev< zM0T?47nzOCS=YdrVtcu0g`YJpQ=YZIV7RX&T*xu@s>r6EsD)e`djL>$iLA7kSjFNQ zUX%dc=3(Oe>w&GZ960$q;CzK10NDh4njqy_uX}gRj5sH~pz8hv0;TwyB{64HF7R~C z_TC4#D6Z}-P>?_m1LFX2wCg!?3*-f-i*hJ%0qUR38^ScDa=D>ca^C6L?vXZrn|f%3i%F_nuY( zz5C>0J>04XDJRV}{B)@#NT=oZZ~E6s*tBzykO3SWPeF!!5P=TTXhF=Haoh_zzdxt5 z!&eo*GG(=^p{rl;#VLRa*oMq?q#C$8PD0S3nnvE3{9CYy@~bo|IZskx~9%m)j5sh{HIWQT%$9CP+EY)${dB+!7#gCwEUt zl7MhPMa)kx)V>9MGSC-k>atY&nsxRQlGS~z02Je7JLh2{m*BPUeK__6k-054*ZzXe zgmIY>AeV3r8vN?KX${@TDA+tG(KXsERocgs7rG4lO)V1lcgF7I^cat$3#`htx*4R zd*1TfUb6(@41FJS=%|pclZ;!*2~(|(A$)(}g;E19{hcBc(g#WAAUKJ(aM$rpwmsXz z%F`d<@K&R&>5Nj*xwm@yIe!u&FU3&_O8S{r2lKRKlkpF< za@TSt{_;hufRZy!_vq#K^zj#&Fa&E7Fgm!N_d?fqRP7&;tD+L_qb!+TBDS48rb+^X zI37sRsQq)xz`Pi^a1LJVoKdC9Va3GU2#eduds+KkVlRKjTqnz}))kr{9$;1r7?UWU zRJzdMIUJ(=vp_ED@&U5A7?Qpo$NKC**8l7o=%%s#w>VFQ_NjKu>hY7tY>mVN@C-3ThlBM zw}){2k%i+rW23UpmYwaT@ya6^Yp6QvXe?0e%w>h4U_Ytvo(VkJf+UcAjhW?+x zzeeK2Oj4UVA$*BLEOcrsWIWYhx2HU^^jA=l(%7jBhc zY8tuIQikiyHfpTi$)bylpGL#d=CBqzHgF}7vl^i8SwFOx+hiegB;NTyqP{zx>OcDb zeeJzhSyv=Glr1h28i;FD$VfIJql|m)P~0*qBSdyaA+lFSLPKVmQFh5*zjOP1zu({I z@#v3__xrxyuW?@Ib8@w1a{M}#{Ky|p(zWbvEvAfALyC;|n1^I&!{iHd32lMnmGw1faxuj{s)ph-n)+nu z?V)&f6+&ealhB~A`Dm5YfIQ1TI}u+Vq0u%t8=9Eyvbz@A8h=iuIk5dH%WfrqRL_vx zd1hNGuP07&ZQn-(F%MkNBQbzDyvj!eOl&m%sLzJZNMirocEeq64kSnEHuNNR#@|Y_ zEv7qnxL8bb({5f~MObBEvo@ z!H^+o2jh7#pQ!0sGS%nmCDDlNglS^1Aj6oRTk$~jxuxuS0)BrPHShI zko^l>1T}zP(;ob4Pd4LBTJGV%-w>hjm8)u2;OdNY@Jq*A%=(29fr^y|dAKhde&x+dn1hkk<_S=wy{&V*mL-S~a;g0KJj ztZ*oJeaD3K%FvIV2LCfYHFTSHXfK||@1^_v2tsp%f(j9Z=s@Z8vaYX4#mAo`2XCiV zv&%;%UA~|CBit0qOBF(-0)Q7JfNVGBItAa?8i_b;denC#Q;~#8Bz{A3M(S_T!3&q& z*lOd458E~74nJzKvk%aD@MJpaQd0w@xGY_YVW z{ncts$k6h%{?kvUlP!n)1@gNr)UwyE}J$>b_r z40)c9gvg3&<((6tQd%BS!>Xo%9MA7u?g*~upDv%cQ>fmJ-XeSQy^`iOg4TwqPtXYe z;(U_fy!r#u#v;cD?Bdt;rw6}}@J|TX^ zR9QbU?W4I+^qL2E3kGKG4K3EVr{vyQ*lXd}ygu(|IXW(X$(ygis~Dkb)=68lsoq`) z|7zAwX0vzhxWR1CRLC)lcbAS}4#3;ehTNALY)Dh<#x(s7qvh!JcIla8>)oQw9oBK! zE_UFQyr~^wMA%vaWD>P}lnmKG#ut>A{VDl2rGodzD);A@!gJUn+a_mEcvja;*aeJ( zzjx{pTGA@P5N~KQTDhMdVJxCm%~Vk>kw{P9JDnIY|5 zCipfYk7<~=`hxeaMsli4915#^Oz^V%c}K3NzWZ}}jjCasBBfB^MuX2)fdD8l!iDn` z%eu(1hwr9VpSNW`V^FA`sp`-xiV#>}{+8ZtlZy%M<;N?r+=0XBj+E^+O|*wjFTWuT zJpC}mZ^%8Vla9sD{Cd7YioA%xhIV-d3sKp2xGm?7DJr;*BC~=Av$@mw~BOBKgW*%aJsl6(F9u*h^at=T8j?S15N|&I<#@wvqxXn_3d|W53@@Xh79;9z_rA#3ArUBnpEk>3 z0_2F)S2#qx{s@SJ;jRtH&-NmL;{0ktvYDy_03%cf3AsC@Vo*Ck-BNqFA$4X zgsg^f%37;j%BV{wLVR)z+KojA)|ed#1;hZJ@rN4XQh_l`C5s$$?Nhh*`r<5%S~T;9 z&op_!bXRVYA=YM~vZ9R*&$U!6WN687*3)~Y5o+3L2aTG$A z#NGZIxAs}{O(K}c_vP?Qr~vi*iD}(fo=7HKe0ZAEmMB9Wj?q`}o=>y>i$ z2Si^bwsl|a%uWJ!1#%VQGUfUm}Tfn)U~-Id>ooB{a&IH zZKE;`r!vU+??ck#jQezpa8tHzfa(f6K?+4hfRp`;20PW>@YRz$W#&gmZK*ZiG5h)* z44wWkK6Rh5nX)#M=7!($RKQ%`)>U=+P12#WJTV6bl(Yy}>vdj}{1#5qo(Y2zeia^1 zn}d9p-Rx@r`O4SneV0C4wAtj98BeZ5O5ql7;7TXsth|+(#XDSNsf!I|*@OP%3YXpf z2OJmux!c zs&xhaqMgbsyQ3}JabB#~8{apzx^O+QctZK9GHA&E&+FGHJ;mEc@nc{uGK`os;caQ3 z3`oz2L<&r1?2_{@6#WP-_%?atr=lsOffNlbaCT}A-C~&w30%34LPmFH2e0FNn6gML zM+3@R4+B-cl31r5@nUQATDA+S{j@nADyn_2Hpay%qVnpbr;{%wA+=38Umo{Mdk14W;Pn4(Y2r5;C!mmHYO#u_e+kK8j)FD_QRIw3RA|pYdg+aD4$B z`fWL>W2ZesDlQLbJeYD>c}1{ne=iol)~|qDszshIjHrd94}JM;j1C>V*$4pp88UK8 z5D5OP<(H9imSokrB5gzetNu&vAwM5KU3T8%!EMl*@L_(z#?cs;r&y1=|tO$-jlC4E<75AioIzPJ0U*@Fa8 zol3oq+h3ntLE3+fe5d6LZVWki=ZToMr?=M@lGV7S2$S*7Q9LEByEwQpI2+QWZwY3E zU=&Yh5{J3rW0fFpl=Zi`5u2cxtd1Wee#j7(s`%u$K?F(dC!w9Ug;1O7v8s$6oiSEKW;JL&VD8#)3k1BmHnO3gwnn$wf|PGML)eTa?o!>;RSB~ zTL9qkoW!uCK@WM&RVQzsk`L@n?(H%4{Jg$g-?*c=IsrSFx3!@_tVDXrmF{_;Ng47} zBjeW@u|QoE$9}JWZZEJZ3zL5h=QE$lXA^}T+~`$A>iS;|oFClqz}`iK=7daZSCr(W zWBN%JTC&K!Al(N+h*_k%25I%Tr@kP_CQOG~cPo^1eBR~@NjfH65duGn;a@P6Fx2{~ zxivn*Hn)KPLDVoobS~rw62m&m1`!8j4?s6~i_L}@61uLgoGP8~$8drm4oXo6Oh?2J zJlTzMrxb1nE(DlA@ZSsSmu1WFiF1P+lnlp-fmEz;a=6w29F4{MTwroS7KNq4rL~WG zkM*|BX zBg}(D4^jks6S@Lzl>*U}7%morwy}6a70wj|@%cnUYvs`AN%}wEC4MAbd34pwaaK>{Bq&n)T)qvL}gmTi(q6SNTxF}m`k@? zzA=q(D|=-U`5~EBVwn8ltk;YPW-Wk<XM}o#$?23&|kWHk0Z!4?>{}8D112BAtwj;QO=cf zJ*3ELBD_5xtxi&TXYM|!5|C3!m?5E!#K+LcONNYV~8_2aU2_h ze{chH4jeZ@B+E8HAJ#1uLi>&759x^Cb0kB5DRv3icR?Zk)F$YErBVB#b7LAyln4-T zAhrb7n%aLq_actQ>O4D@+~@OL|MP3CKCJ}&QOGnTO~v_3p-TWzS0rHn-TEyB!7}5?i|@+65u^?~rn}JwbjV*EsfZ*zXuP0rJ`SLQcf=vGjrb*hPf5Xc_2-UCzah^(lsRV{s=EhmL7+^vnlRT9C@y3cV2*NJIg60 zp=2q3F7}H2<_UqaUn6RCT8CvDmk?_ssAULFu-qtZEalTTR)9EggvGTcl`61eZ!Kz4 zX-d^rsdtN#MVp{Wn4E1Xs0a}r!TalG4m4Yr1~F1f3?$`JKuZ6w>UL;(WI$}m}C zi(~#P_YB2Vo*;O)Vyr(;2X0vNgJzbuPTgdhla zH0k?z6aV}3LfP`>oWYFwomomTn0ewmw2fbSdBEn-D}Om4yJ~o*o;yIm5uB9ANA`** z9rkRNE+f`Zs@fXLEjjyPcR_D|jgWs@PNR|3aXZeonoz;?3H*3Y%~YB`=JoOrI$iK@ zx3r!F^;g!DYJS*gE$O`&=}LkKLe~^c@A6#h(bv@HHjy%+yi5%z{tO7`?xN{)-^tmX zx{WXdkz=_lB$<~!3sOX^lv{nW2X*JohR7EP+aT=GT0I8gd|mHgtP$4zH%=)l5&XklPT!jbMg$GfoBEh}EHnybCdd84o+&XPgvM$`KNfMdifUUk zsY=S{ER$z8ViV|d&LbpaU}Oe+ghAn8{QdTcX)rzb({zL<8fXv}h`r-|z?8w{lJN^^ zBASwMw(YE#N8ooI2+=KipUoUz7_ov=?Z~f@1CU4u&xWYgFg-A-`dNPVUP16qaK291 zbTF#XAVPUAyRFsJ2LTRwjx`^|vE-Wc-xc3ux?%OSO8ETgoFSh9k?pVC*K=)rwGx=* z*6`#9he&=&9z|5IEI}4_mg=J0q5uOTBo@i99<`Cw%S^p9m4h@@5L;NphK>{2h0!r< zZ-ae<3m@7gy+y*0f&m1C0u;W3_>4NnB!#p0lF2JtRxr>X*nh#0^AS#?s8*Rc=T~bt zEl0WMDUn}FZ+@DlTNH`95AubyR6Ee`h}}ex|LOve5bL?)^ZvCJ?XCV@>BK;nPeQW1 z`4`}PqakQx{lLg=ixs+>^CNrha>o6Y%VXD2P2phbteys~g=V%Kje0=6+pFW_?yQaw zs!2~!>4F93-!mW>uk`>ZjF_W=!h@o7Vl*K0a2N>@>tpx59wI@UR-anr#S#zCRb>*U z2^n9p=0m8SfUtsrPdEI{o3GIO@!EaOHTHtGhphir6-h0hWe;r(h4t{_R zB8$Cu1Ujxlw^%_#Fv1R#`egI1YeW!gV*e;62)cM5XV0e& zkup{@u&-jZ=!gBMu_#fnlMF!3ED&3~Uz#`{|1O9<2`o6he-8@j7huYyA6)3DKl&zu zPW`&qb!~cVH|f8p<;K)sAt>O%rHm{-^VMD7GAHilNPv!?+2*mRUWA;VMe{UD&xLBv zl@h0vM*#D10B=f5^rfAAutP4FsoVX6qw=d+)wRf>oXLMc1DP9E3(UB5|(^qq6cGs}z4bjKn zMasO7n^LW+wDzI!8t~z{e3FokbhRB`#9Cs`(@@@iJI9FR&&@C{!Z8p(9&gNqXGeT6 zCBmic`Y?wkN3~ELje}!b38qj<3?A}eG=TT1o_e_}XNqAHNfdn7jPOqX#P)+|D z3}?S5w09}cGZ8^_Aw+Tk@U5r2bRw}d|9WrD>V6R(j6l9n*VFFMVSdABXXe;+0X`lA zt;pxQI+2Yu329ORZCF1gcN>;V#X;bTI*|EgVTFMv571^AwZe&2Y1mUjz!6J#iB2l6 z9Vt`?d;V$wQ#bIN|9c0XBUfOogI8^j|B|Q@hsxr>qa%I=?jR_xXxoWOHrJ~LhS^OV zW*FN=st3~B_bG#u??s~|a>E)d@wO@nv);iReevLBL*P99YqsE;4$ap(%K%^o84Y~_ zx{>CEV*d0jJ&Sg9;W_ya$UoW0B?>X2ekkArn!^Rwu3q2ojXY9ltAFfY1I${qlb7#~kzh1T z3pE-Z#BSB~dMYNzee?KUa)!j7bq57xHss_a1=H7>EOIFy-7lq&_#gQi;qr^uh$esNV=B@M|W0dbXZ58RpwRPP*% z_W{@A|C$-=X=)uCBEcNDy;hts#IewQ=djh!)13wnUWY75^#$U-huRoOQnXuni|{?% z=}X?%wzm(#;_e;fdr^Lw0?CEb&q|Y=O4YT|C7>2QrwO041?&0))3}K;|BQF>y-AxA z=7NtZ4!pX6nGcx{{g`!Z&i-3Nj*n@lxyKZ~XMUN<>+|UctJ6*%8GBNQG}!j5Msmx} zVV4{|5F{yfO+(F;B|Lm}y0d?+!^f@klGwnXUB(yP`qHzaP9P(;QaSWv{yPOednJxdu4SFzRZO%cAigu6&LJ(`BpXW9qeyze0?ApWN?<|avJpw7T z>i)o>y8OZf%|EUFjfWI-93%xO8nj`phbOB#y0gTDdStiVVgHo`Mdek$BgIGW4^Sgk zz@<`^TJ%!J{jC+ZUGJ#fx|eE)#jrGNuMb{Nr=HM$TebNP6~8;`ts(>N$49 zvpO4dc2x#nvebI>amH)hvDLc?-=^CTSy$Ow(|QUp5Ud3MBHz7dCNxqjnw4ud8!L6d zIBb)@GWXskmg^qRyM+f~TRzo4Dz`0Ny#t0%f6y*IXA|JtXk43KM`7zS`6FO*vOb{5 zBQ+PoHa|exTr94YMd;KEBh;MBl)fiWh(UBnr~TeeLiO~WVeiA$=!0F{9dW?wARdEny=Er#7|GFn-Z3cl9jV?EgQsI5BO z>fA&jL(FUHXgvtK5WQBeKIbRpzalm-K%OC1TmmS(PB`*k5cCuSKCTtOBC0F<-Tn0% zqy#Six(A1+D!wXT-_`n0QGEhTrkiLXSiBc|a7q01_m|*nJM6>{I7 z?CjeZ4Ul8`9#qH&RnwQh6Z13^PKcj<&JTy~l>oNxP5DT4@F8j_DX(M{{|nGPqO+{~ z*;wIIs#VjW>j~AQk=Vw=tG1{zS_8{BV1s~pG+OQZ*ZQhcX7czcwvZMOW;c++>AU&x8@1bRC&{uDi6kqu-${QfkLjt2kvd*HNm@st z0=tJGWS}8`Kq*%N_ViBS-Ezx{J%%kwWE#GegX@eqP%eNZzZ4StrYtJ#gl z+e&Fe&;GiJ_ECyWjxhZ1kA3ZmwPS-Mc|^cUrJdaSD6U1A*j3~{D@R30jpdqEJImgA z3oOlGY=hPd5H8cHW318*GJb9}7?EBC^7o4=%B`tx2w+QJ_U!w29+1ZWRxU}0n)R^W zRHc>{B=T<*Y!_lSNA?Y$bA^Tve)z^=utJ>f5ARV%9Hq<+xLKXLs{!GhfPR}lA-m!w zNtpy`mQVCuOYAM<7?DW6O3ZFvov8{L?9a7QTv!di&5p1rMb^Wu$MiQ1VYz(2fEIoby~Cfca2jDKR~lpPAQFG zg)6|^5q*(&G^1Z`G7aA+VgD~w_&wxhyG?1M;v>VvMz>eqf4?uNFUrg5rWd0+C;M=_I-gyR7~EB$;^)8HSz-8g|CN%vq5 zCcA3vzJlG-h;W~(-}k9w*fF{)UeDzIb|aJ+6{7fDS+Bq*a$#u6XLXFeMUdTEJ>t`5 zr8?b_VU6Rux41cmr|4Ml!c~c5H<#O%0%bnW+S3-Q=QkA(V5oTe@k7KU~?UsV`Uzgp5?%v zvD@fCV{wL$M2nQ4jp>q?K~96U?sW(cqCo&_UARX(&W_@Ln77MmC-LDH4O{nhjOYFM0_&DO} z1B4v}kg>~9HG&8&6;pV6GbC||>`__OI)xl==kJ8k&BzuBwg=!9fHbBJcLs1lWN`B4 zB&7~p46APfubQv%dM6#hFy4QU}x2g4G^tZtXs)Ur38%!BUY zuN1&vep}_?%NDx$vZ7sC&X}@W+DQ9p`>teL%va00($;Uzoy-UItG?w5D#g#p%>faJ zB=QdQ&N{0ZKpeUl!Wg*^qw0zdWD-HfV$1uQ}8^IBU2@EL{gtiK5sL9@pPJ8@7$! zDy1UCWa{{(GT-`J8(NOhz$9{v^=a6!L@NQP@~*FGKLjT~z<=#tR^mLPm8MC@dy6~{ zJfOA{L9Fv|AtM(yrd9>tyzh@guZb5nem&qOyf&xyk@+Z$PgUff@mf;Bu-I;SDt!tF zpO2ReKjI*Rjoiih(4jvL4qY`-F_Z!>Z~tOo$e#$yxw&gnRpD8^obJa&wX37!1Uk)W z(+sFz-VO$w)0<9HB3x7R9D}Y2&Q)NMgfp0_U>*^HgfXtG)sBHH`I;X$D7fx@Z##@M zHD?nfyDKi~9=W{I7`?i^3+iS~1I?`RL^3PoPm=9cR)lpB)@RWwro*qsi98>yWv-NV zj{H{O!a=xTSUa%Ftke;=DWBNp5}~aJ@#3WO1W`@GyFeygEq{7&=SrDzPxwu6swXKv zQ+j^Z-nyG@?;(fv$!V6M6t<_JlFqOGxfYvEV?w3!vju4`z1DlUU7PNgD9kW$#wBI8 zwas7&lp1SLiOn0$qE6nrgVu%J?98?J&9MRev`8eM7Gv6pONGiT$v=;3IP&|y+7K}m z`ZrC>_`4F}_fb>er@lPL=xa^kt+Gv<8+p>4aqdNJQD!w+5l2e`Xo+??zs`1mGk3zL~hrd5- zHT}Nt$68`*FBjKK3ZAG!rNYYM`D&}+?Le^$F{whZ8VW9qM5ZzlHtNNJ5b|nK91_8& znbIE}ufmK-aO%}BTdS0JFGzfh*iGeXu)4?|+2$O#drEms{EME6&WpEIjruQR0MK0r zcMS%4V5<`pAM$7Kk_+GYWK3*Y6ju&i>6gkNxX-L_W=pb_@IH$(eT7~?-F!PwU}oKD zpqZcLo6xo&iswr+(`{?IK>$#aTJ-<2QpOua;6cTFA0W(JlAsjDv4uC?^i^F96cO;> zH(T57!*TmfUT?$P$d34B-c@z<7Ek_c{Y7uRpUi6YPucp3?wC z-Ts-8T5Yh1E8GGMU-L+0E`t6?!xieYB`f4Sk%ZSdg<)oT6<3$}i4e)s{Tn* z4oL(Y$#!M5R73A-`;T=#7nh@2%6(gP$l}pte9e$OyeVc#c$u;zyd{4g$#ev=S@zG7 z@2Rw94`7XRX~Lb`l9f55;qI+)!xxGx(=ElcvU!DJU2XFiJHBF|DE!a~8Z9p|Z7K*o}L6kJCtzGX)u325KDzfj)Dhy)_pIUVMg%$lSf(LeRBF6G2rmrb4z+?Hom(eVI_ESDe@V=A!$ivs??6 zMT}zHUXh~>DdDI9uA(#ns5T6LU*?*E(rjZATCYJDkqO-BS{G+E9MF(sNoU=8ImnyX z2T4j2kKNHBsKs_Av;%{%98GPonQzYAr??XpO?$vsE>aYnv0XBNS_%FBB|+kXMgyqE zMh5I4N(CGs#K=z!0=MNP^NOwCe%Z)uTMll#DL*z7xMa}O25w^9q>j|fS>2362LGYQ zWTb?!N*(+Z+(vd^_#=xM+MxThz+wBycqpO&(}im)xi|ZjNDT*2C*g#)4^8qV9`oRw zl4ujJ(wdnNs`?sM7~yLqE?MrCLi?%BGDAHorUVQH+W-j-Diw!*rP9no(yC4EA`NRA z5XFx|Z(B(_2M@1EM2xdn1ne8T#@i2`&Wl~Iv6taIg~|w#3SoT_nirtPOg!s<^VVf| zfh1Bf>U=T;j>g;2ZB4f+vgX5bo!pZJbn4W%pBIt}Kb%_VWxAb@=P++_q!~)0$(i%u zkhF%Wnxr^5)>?y(uZa!GQxd4VI=IpCdsBBnhj)3ovUCT2`iWWmcd*`4B1G#wzVea9 zK>k11=NE7~3_0zQn1)+ROG%`)R~gle#tt&6LkMs-JndTN4P){Tos*u>S^NXo*5?xD z85q$nZvYP~P*%+X6H#h;uH*1*RYk|t6^I ztN*f(+sY*hu90!jdX?EU@u01wtJ=iM*ZVBTzTs|mC|vmMcTkrpe@hOeBI3gBAi#_w z;BEt?^Fy?}`Dz6dONj*4>?Cew6XY}=(LNc4gqD|ddxOhjyoJhmhvRS6RsrRFT|+|yI1ATkB}`rOBIGM&S#^tE{o0I<58(eG@~N_pV#? zlUwD#N;cmNitF2N3D6xO<5%%{?P|$R8t+odXzl2EbC5Bbcc}K?b&6~N-b>3X=r@_i zO~<)UM2NXW`;6~y`FyS1m!+yP-!;A{+`Fa79C&{!*rcP9!xQsk1LB8<%5W6t1Lmb7 zdXSL~T_)nXp4K)h<;TBvbaNuhwkDl59O|Dz`3h0+k7UznnNSiEx6}^3Lmjm3mDm9A zxL@KD;BmT%%biHF6{H=#RzPuQ;g4s4D@S~w@j6<5=4Rkv`sj)H^`ulc=5 zOpD|kOGMdG$2vH~Nx7bsdj1TO7LF8Y{B1j^KPEt?NhAxrkyV8n2XF}ScWf@%HD2$7 zpC^h8Jh-6qd!IuDyxpM)m-@7jhdhvUWp3lCUUmHK>h}JL08f!kKm%H*Gp233BF9ZIrLMRd+ul3sC_B*teOUM><(cha-}c^LqRg{x43cjqxsj;{mKJ|I1glwZ+b* zK~t(vv$tN<4`hHvr<+g{YA6lS{g3VGxI^EZkcUtrMNk&KZ{q&gM)z0j*d|H5pa~z& z%V%Y?DHol27qT3pC54T>fNT}#tgc`P#DylQ>S5A%x7j!yLYUjycUwVg(dmv49lWwM zUE8%aVC8Href%=ci>K;nYg}u!@rG_}#fgY2(+*8WyqqWn8q*9eyOhWh~ zK>z69c3b&C!Sx={nNv`GLr98%!_vQERS-|AC<5lar2Lcc&G!nw$H$9%jFg#N>1RiI z!~+pu&>Cy@5jW0*!>SOB$|UMP%bId;Ca&mBj-jmTq9DKzY-U^YO~=O<^*^*iE-YHk zW=&Jm#7VDr8Mbhfg@(xI>uF}zIu!_V4xG-ch%!6RhYDEwK;Oklg+sU>=Bg}-sIs@| zGatfMA7vece1_P)!JdHiC9zTX1rqI^GRyC|jQTQ9+|W%_LMO2D;mO9-Zd~Vmyl03C z;TRn3mT*?w@1kRR(hsh@A-!h1=9cFaC!+hMqb;}?tDy5X1Fs2+&GO>~R<49cK2L_u z%XPlF^m$B~AFH{A5)$t@a7>w1JP0g#93n=14^S98St?!@W{0qF%S3gh6KwihsGsjV z_x_g)kh5Ijlv2NSDwhSHGr|jzBewZceTgzb*cjNXQcnwia$ocYoBF*ouOG)!yg!(V z5~r0ie9k=y#RAOtJyS;FiGj1)s_Ox&sGE397Ob;ADEpJqRx`*CD%uh#e*;0oC{KZj zEW&iU-Nhg7rY&lCZ2I@n`e)lQJRkXsce@N8 zZz>^9#fGJ`XMU-Z&p@?<#YY-H zo1ScF)-+ZL&FEI6^jL$DVMvh@3hSjUuquU8MdV;E*8+9&-AyKCz34O5j|cP^EAv>~ zF(cvp7gGwRuE@Zg8UK?Q~A*AaRsk3C;OO~C2g>V3|1^AZtmi0xQIH^+h zxmy?iGcoX^LHDH;@^d*P;cnFGnN|XO ziokIwkm^CH+9%92N{ zQOU(#AZlm7>6W5!(+6=pSiLROjQi(de!U9+^IQ9-Z)ijauro`pSdhH)ov4qLbR3}a z*@l>;ewsJh?1(82Sxf|MWza~{hrBxr`a{*1$#=*WjF9_x?V6uo`?LI&PY*+vhz}($ z+vlqYS1JN8VKM`4J}wb$^PU2S*!u?J{0wN#(6; zvjbb=@rt^g+Er4KE|((pp?g5PhWdljhPH3Ck1H0*OU;p6YhVNzD?bE@#?b3z^$vWcR`phPL@Z|BDx`c z1>dSIBaez}bPT$2yadkP)=Ijs8~@I8{tohEHl}AZZ}|euYBkEqkEYDK7P%+(BI710 z`M(x4xJj&Cb)ZUx=2qI>IfP+KIFkGQ;IuuR(z$w$dnU)`CLu!6YR>#zEXOsY1v9}F ziehuZ&&QvOXkBaZ41PYv)(Lk5JPD!O+rp`gIkM<#$1TQwxVZeCC+^a$rw|eO zZo4AjVH;a)XQP`O?Bc^N7D&dAv9CH3+;F>WgX-TogI%u3LeAy9kr~Y|Cz&}=jT`qp zldODp$11iMk|sLW^*$vxcRc+ngmD9tW3uA_F$lPKcHkHAs}vYFVC^P`(|{tvAjv7qJ}M_U7e#fJud4VjRjfPbRST4=r0LPC_bG>6t=ek!9hjg0ao4VJ;iZF99_ONcFC0M8UHW; z3@BN9!fI51s33)%&hO1>>4TMhUj726+kuwUDh+KJocNIT%>x+)TE3DqvLS8P?D(aM z%1}@$&JicCJgg?cHX5aVL9`;uq%rR!jy>r5Y~jty&9FNS*ZSK z>Mk7(5XXeG^G-|4w%!?r@EKzLSl@5U@5%%&rN-5eiuiT0Q*1-Y;{u5Fi59xDTqk{B z{|e*bTQ+t=M2d%WC3ZK6#1LZK@+RcEVrOcAJw`pi9}wrK{1&cLq$MY=Pt&wJ|2_lK zgaAoGYV^9?Rd@HZsnQ|<_dQARGDD0u>_an_AmoW)x^nXmbnQLWf5?Rpeda}Cx}*`c z`H>c23Lu7$EzNLcfC;mKzjg5g$#Fz9RS1DR7ht~TgSl{m^}~UoCk>XEHIdle8x%RQ zNriBI?nsGW4wSiY$2f;x)DX(kOBb}A^d<6%PSFn1*%XcohUuX)Z&sIgv~YKkp?6^p z6Lr>gta|LjdO#}Kz)OytITMj}iTw+aeu4(KLm0dNQK+Iid}l5pKa!Zj{&eHrznLL%UN6jxxfzUBw6 zJ~@@$Q=xpnR(j-4Y{m~!n6ww|#@*f;mCd2|VaQk*a@C8SFqup2B{h>2__}oAgU@-d zhFek)B6>ss;%U>r)Epr}Qyk>-6S>mFN}6~fA+^7By4M|X#}S*;tW{>-@P%#V57zg5 z#RhWawMnu;&P8i{b7Yo&m9{tJfBucR>3?VVlllTl@Mr+2(W6zET05yTG zQ2l7^F1P1>v>iy*aR4;s+$$SN;LeH~EN-#%j4Zum*+1AW5gHg&^!qaOP;?ewca6x$ z1I*+EH92jKZVh?zg3P};hz4Q>1oCSi{du5-5aQyM(ql`OjE{sfNGrm~fG4+V1b1FP z-DL2!fAp1(<2Zume`<=WyAp6?^O1YVKxMrWngC2X0!!?ZrVHsxwu}8(cC@I(dB}z6 zD%=rdhk*V1`D-Yu8(>WfwMv1X-m9NGT98kOQuYwi(Z7I>;-&V+k8CZ@wCT^9XFiyJZ?h(8-2SI zTzcJ)FJF_WPC&W#=qFR&&`;#o<^9W?-WaqNh=q0`aO;Wq#P&$G^aD|~yfK(T&GUr^ z_l&B)>IO+R!6XtJdC2>{DJah+zUg*uwbGy$3i;$^G_?I>@2X%}@(>BrfA2IqG!+7F z>^pgnzy!->SPnk(P$nq>z*E985dFeWzJm`NMM(&6AR34mQ%`nS+32VzIe$)c2+fri z;qw>xpBFzF97$|3&d>`!G3{=QSZk7-;c~pvCr9|Xhzt6VhAA_;woy%)MaZ#`+Z)ON zTi-oy3ab0me`A6IJFroi(t0^hg@|-rP9j50#4FD%)K==`KK$eJ^#DR4kokZqTuwWZ zpVB;+vwSl&!(iMAd144s&(W;okWDQu0zDBkK^vB;g!Ogd=Y^1bgO5vBK5z$E4Q|Ni zU~UqBFCn2(ujVXsmLivG9t4k0LShRbmyaOn7gP%#&BwD@Q7)7IV<=-GQ$RW5tC>UZ znIlYJND~Dt{D{#>b<0uC`r3?_+xtTgzK}A7^$UPsg*M?x&Q!a4{b7P==nghAfrL$< z>eY7HAB$k{{jSPUZJM0kZJjz;;}Im9v$~LSkstrnZ04*XBcU;>P=CCTViHy9`biJq zoAq6kw-Ne(+mwPfQ}sgc);>Z-Lei@foeE#}(eUxM^8zMMR30@)imXr*;PfNp{9{ke zGhe;Vt1>MvV(K=CPyO z`ahHff5@Akq&5g4BfdM#%wS(zu$uemm4*H)Tx(3Wb-4J=z-!bzS;6(T&W9xra?_KD z%{oo7Rmgx=T=D%TRTJ?tZ}NhaQ^%H=BafG6=CCKSSzs=R`@dwL;q0ut-6C}SAscE; zy^nSBR(;~`rQb%!LUwEC(jMRWRjFe}@5LF)Cj0fv(&dl=euEF~0#t5)@n@kUkZczc zc*Ze^JixP+zAP`-y^opPV3-WXPHwfb%@ zkFO6rn(x=>Oi)d-*qG~*B?NP#0q|0%BLlNsjrzfW? ze7@x1p6(($xM?I?DF03ok2V$ zDTsYQ?394Ky|eu&b%FX>e5yNMlK0l?wiGr@NQ}(vg_$_*%CotvbSz-k+bXobW4Yyz zGaJy(ZMd{rF?O5O)h4rfZq$hWQSMsE&GsCj$PBZnTs)BniD)fEJ~OD?Mzm_5T1U9$ zpj;jDo9AkO7HTY~yd9u8?In;eR=;n;u0>l+R`{-?M2yr5Os}@yXiweIm)v@?3fknl zboDi;=klK>*4%sqdel?j)??{e%-#v#C#e4Dz8SYNIJKJTA!TrsjEZ*rR_F!V+RA!**dni>-w&y`bGnZyBZ#>|uoA*L&cSxN3{u z7h}Rxot57Tugr-fpC_adm$q6NegZXkEwE?JD@$b(mr!df7B-g9W#ezLTWo z{L;X@Jx2V@h1;ze1`+&h?vSyGZ_GIj{a(R_(RDAzcMOl=o~`~Hoe{+3rv5UCsk6djAk+E=4v?k{vW)BQ?$nHt+;-@aLk<9vk`hVR>m=klo5`V8I{Nk8R5t(Ng^Ujl6CB?>=`O0WkojGBYS(UTc6MO z`v*KfJik2WmtL>D@B6;q*ZX>3dmORgmM*ID3bl=>*V#Ex$~<>Q387O#^~@Sdk%sXr z>m&*vxV@!;=2E_(;OYf%;MTYGcK)92V(V=arbi2^-rg!kRK{UYto!5*f9@++DTY(o zkLw5TpWf(=tlp*T8E1VAz4=e&d_>b7u`DHKLJyT#eebX8)Eos-(ilArw6>C|c%SQz zklwfZYQym<>TlQs2jtYipiqOUFR`x|$he@W%YvVRUVh+$0mI^as>9d9?r^sr9X4jB z2i`5al9izBc&}395|C?}S!;kgn?y zV6LD#spzR8s+l?WnR9eIEhO)6Eo}6M=2C*0MHM)xs=id(uJ&DY}ah2I)617=>l ztSfjYg$iqQgvg$u#!cJap*PV1$dnwP=Aw%`_i&0S7}8Rk;aWb2Y6Qz| z-fcnvr1?4FV9lv%+lcQnvtN5yyKgX9t(SVBr_Y#-8wFIU1FD8lfuzp)kcJ9E3poOY zS0(#!-wLaas^)ZHbDYgj1qU3?pC^+FBi)ApJmDc7LEMSiLj1GYFQ7Gd?RfGR;!$Y8 zh+Ib1?0aS>rPzk3=tp|WNGrl>$D=-{z#p3|8$<_qR|6uTohIZ$V~>D}f{=#rY!kwm zMQaWpZ!LwD>Sagy@1G*>N`4FkYZ=FqkY6tJT@;8IL85BTnw02($3ijU(C5~p}g~oWt60z zUo7Wcsh;!pO)`oNfC4B?$}7LIe!zP}Y81@5n%7Dx{$Ho1Dz)D2!~GHCRa#7H2AR&N z;#v+bMVlynIlcC{}8!V~TB`sP@z7Ba)ItS}%AW-t538JCcX&{Rt^L?Q~pX&Ho*sm$}co!y*~* z)w@h#p{Lu@*XDgxExdO8*CbKV;bj@8_hIOIyltwwOCR(BgWdyP!0+6A9n-@`W)?#T z*)Siu|2h$lqAS%Qw=tda>W&y~7aQ&epf;2oyO4~g7yOLEFo8ncD!MM~J%5o%>5SNT zFTlb89+%;~6Ird8si;I(l;3MF_9T=zct%^vxFp~;y2~yx;)LS(`a2MS_79-&M?%(9G_L= zKBsCX2>(YO(E8ZzyDg@JTSZNq{27Q+D6-QQAEJ6^Inyev9O$nHZz@*CqvxwdA96wm zg2L#B`QcP)aK}4dV0^ELnIqj_Clc|&j->f#))U^CGq_ZYzh(24=kgzOU)?dHqyz&+ zXJs%tS=1aLj9Va!6uV$}8dL}vKjdS2uDLqCY^U%G@vNKoP2Jbjm8)-Y34k+V;a(EI zg4Fv@FH?GGh(VghB#GvMoaN3|y ztunPjLQLTDl>-EuN<`(;;N9W{_jq)ZQTe5N6(#w80oveFiV$YOj?VG4Y+-zHFM*V| zKf=NllXJ~cBs54CYEi;`&TkIoQNQ7iey4f_ju7Cs^zye9*fSON{H{##KbRl#ntj$R zd*C+-ntY$}UhGPagYp<)IIYIA?`g$rAPTmOn>Wlefi{N^obS4hNvig|N>G6gf~w~9 z=R>l7Ke?}ipTCV2rcAtxe6fu9-5y80-`>1Rd`tsgP^2%tLX#B>Ye-i?q15?9 zE|)P8{0c1>OL!Q#7`9_{LrqAOCZLtaJGZi-Rac1YFQ}5A#1;HiWCLN;xxZ3e<8D@{ zrJ9hoK$lE}WXOsA>e6;O4~j>IU7LT@45==#R~qMMTw`ahNr#VJj8w9_3bvIv@Le~F zm`5F5+8arD_UHDYz8%JTNV3>EN9ck2Mqk=BeNxQBmVpW^;^ef4Hq41(iEaL?QcI^T z5YU=LFR@xOf~8e~h)aYFyKKWB!67QN`xlVVFY$E_HX~Y2Y$0z@Gq`{V^%H;E5;O~c z(R?2d6c9a}o%@DEtYxFkjIBEkN;lmk;vd!8$F2>HALt(Ss<%=GA_}mZT75?(uIV2g zqyiZMup%CD(->d2W~K)4D~Amg;Dg_vbvy4C|CM>J)GS+$^a^?(zdrI7Kzs7TebKoy zC}icQf8-)PJu#zKtKaU8ny!H)zw-c#qBi+5cseZ<{GgHItxm@7x(Uf?hYJ6sz}oTg z!)$|Bdn^=H;6NE0=dv|_m06DOoi}fx-yttPccGk8vcE?ARH29eb&bB8y1kYbFj5BT z?pKaobH4qRzxguK)w?psm~tpa_J;XblYPbm}!-V0UMnv3|Gy)m^t4e`_a>l?b&q%XowOKkV86}Y!KaZLT zcB95wcJShyuH>1gK>~g@Q^mCLEnh6&?XC4e4Ex%a!h^rRW!KK!w}8tU03<+tUCQEF zT@r9d6ny0A7KC+fKx6TY-VrB%-`{kyjlbW?6&h5|?}c!U@nB0C@cfdM7An`yG`>-y zQH!e`$EDOUtHGcSHJJHRPRkzebljAs_V!vq^q0_8VHwT30o7K$Yok;4>q~MRH1phD zmD-~hkJlj%7r8hRTq0;x8V2va5e(i6$o0CY~w4bG0 zuACl7KkK%I>6vy@pfZpSvb=)Qqi{g0f9!`;QuoEg7`o<$BGyQ4cgXlhI>yf45S{du%rSb5$5 z9ZWcr9kv;seyPWpsZptk1BKk>nG(15@XAx**V7EUw^?qEW%=B|R(kT`PamJ$dsUC= zm^(WYGN%>Gvv@90$pTcg{)dGNMrcAdTO9?Ebf#E zd44VkSEHE9>@?dk7E;1k>U87RuJ12z9eH?S@7?d~Rz{qQ*K|wjFkE+Yqv<0^0ZD=! z3hqx@nSlSPfk9|ueWt*_%~d(4wea-Ii@CgGAuCMmr@r7u`P;q@-(YiT`^qpG+;sG< zrjz7iYoX`4nkt}RuBFXqO-;l7+}+?2Z4T1yoOw&9py_hd{q2 zgjGxxeJW$hR*}!773%40o;{k@{{}e-EErQTXYBQ$`0bVxhJqIiLKjQEczZXp8m)5Q zZT%CzJSRSw=!f!iJalEhRPFBfvTO$;nub=@^B?|Fy2DZB1s!@^$U=1$dk`2J9nC9J zOXHHH#d?};6?n>n^Za_TvTb7@h(y`X@8@Y?A4qD1=E-z~+zx9fqt+YG0cnPBu*e25YvP`aXj;TAi zcDyDgoYyd&nX&L!JORaFf>cMVRUmf|weswX4xWra9!DjN%K^=Pvvi%$oy^&53G(E{ z#~xA@TVBLOJl|V(Avxk)7p>uY(D!);opM>1FYqq*8U;Ll<=kS>gwo5WeFC1kC7Zdo zY~KD-7EAa+&I{T?L@fW@PPzK;A}aqj5L*dSVqb}gg)DD3?~atR%k<+PY#ZS5e!0Xc z`Qac>mf)0oiVqh~DU|RjK!d6UemHj13wim8pDU}?O&)>~*ZhbU6T<};%5jJ)v+U41 zh%h^`4*S(@tu8M6S?-Tkzm84|EZ-1hvKq*vgZ2VI)H9zOcipoNseoJ^RiU89Q!8lF z?~H+?aYndMb(*N;OQUdJY>M*uF5Iy%PU7v}GLR!;S5MN-SWQih>cL8MH9P9bRQnakU11o@ z^8U_KH_oBZU9sbGg&$qsp3tzWRy|@%e+MY4X0R|nh#F4gcbJ?>jMRyGCLT7b13gx+ zR5$`%?elm0+Gj85mUz*n-B?}|QsApW`339C%^t8l^UeVSWoI88+YsKiI8H;(qYzST zsQDtrDpdGfhtmGa7qQDdZ|yA0S1l4i!0ms=#!oK>EvV63ul>%;q|_hCGkG(B-{S3> z2)KFg0i}gqj91*p^^+$HF0MmOMw5?gKETQr%1ce%3g>+V2=V~Ki_oE-Vc*#U1O~X! z4$Gt`1E9aj%7ci#Co_NSq}f%>?`;BF{6yC|q$1diCyqJK=i*OZnRhfJ1FvSpHjTnV z7(P&*MVt~RXH4XsO53&j@Jr?=?{ucSB0T!R-O$H9G! zm2_xd64=J7!xnhyrMFd82F$w#cD`ktv0&Het76Q4R<;%n;%T!w)uDVX;xSx{lh+T! z=PG`Hl!C&{o!Zd0Rfi8j}T|^(WAQ#u_AB@*PtRXJ!E-dx1`YsFKd9#=QsK0&IzDq!)@N=2bR#!u#8?%$m%`lQnVDXNs zv8b5^a`Ovq|8^Iws#00pxraw2HTqssiRC*y-0dFl*SC>P?b@_8a4dH!0v~3`R77i% zOhd4tbzOpRNB}`Oe)FYx^pap6IyYCNZZgZ=O^H=t! zZ)daLsaR!cJiD5}md0dsh%|H@UNvIM_HK7xRBfj~aViQVGF#}c!@bUIh`>$g%mi?3 z269^qw)9VEs+b44pV4(x+u@K<_(~BMd`^(kO3$c@rh|w3W!dcRfO)xkq3HRBbG-zm z>2juD@`@I=x>VSV`@z&nme)btbCkwu#xDe9p)DVr>ZRN%Y6Rw$E}sxwZUh>66UD(Uo^kuU5(K-(uqk=;8frb7dzbP6j~_Z<@FdaW>jT;5N0()i`hxrs1MA}bzhOt%h(oGGj(g$N44Ms zwcakmA>2V5qG*&w1dpAZknqu>w@kGLiWB(F)^{_$mBv+VAp*;%^!!ZPG_2) zq{`SkqZi`JVmJPWHTw*lN}S!}S?YO9C>g{WkVc$^gb~dk?uBua2yL3hV-LpGvE)ZS zc4xQ#z902Pd*)uH;?zCMh|S5KYT+oL`Aa&b^Y<7i4{gSOq!K@dT&n-XoCdR6dB`Uz z5rYE>gFBe2r+0bAEI=#5P8Hs-t<#?2pz5rm3266YoJSSLDPuabXbDz8g$1du`8BXh zWubB$dKRi}gG{Np3A{YM{_mH@)8W&~Y~ge5J)(__F_6ANoBdY(NN6R;yIns3=K{^_ z0N_MmxQFy1w4!Q`M))02jlXBQ2AUTcl{{PdIkI>CtRoBWUjRgH4w9qvd; zRZmBzcE{>9ws*dVC^H1jIYEw#CS?pLbKWO^4bi*z?}~H^9m+Q-Q%;jYXR=6O$^pVz zD;+ug!HQFRi~;Qmg0gCTuxa5Ox)NsjD1RDM^vZd-CI6`8x)m%`KNpDob@V*qS+Gi7 zDgw^Noc=)CP(KN`EpOeD7fCYwn_p3$Uzg(QD1`VwLLbf`ee|XDGe>tKhF<|RxaDF7 zvl18Af>VW6J-u7noQr-i3Wv8aE;JO5ja*M z;SEnJ+0)w&wvS!e904_cL5fo^EF-+=1w9$$snk?m6=j}-1vA=mJ3`9!t^&PW2pJ7e z^9$-uU1}FLD+7Oz%Fl0BIz-KarXmKE+|(r1c78Gkw8Nv<4=7@@R?aQ(18$+Ss@^0Mz*RDT@{^w}KS>*i39r-xIIJ&T7a9>VBHJXxOS~CxyM@RhUfE1zhxt z1+QI`O&RO!(rP;;qH2{O2HGnVkKSioNPo^K=RjNH?~lGC136+Kxo$$o7z;g8rZuVj z9$D;|2VojC`rQK?XD&=<&bawEH916h*~C$RX7Alwpf3u^krC(P)knmUBdPb~-7nPg zl_gahC`Dw4adu{Y`_z=SP)>>H#+AvOOz}p=)c$%F?8t@;xNp@x-(xbHgWpzn6!?l* z4Sb+W5r4D7g4|CGqFO*>y60h`$3q+B46|cZY+n!tQumeSy}+Fx_zEI?xGOEby)WG! zptmbannC<1cp=1-c&A^eRb`qp^!rBAV%$^Ubz*UwJ-or6$L&8*2EbaxBf}0>Y6A1= z<*y7Mjh_yF%bhK!eok=uwo4Z56UY8nKL`Aj_nSqzyb0$FxaYJl4RlkGvj7 zr4vUbE={7QR9Hny5KM6uZ9T^p24376`NCX(@}M}m@n`qP9TRN!{An=~uq^`l6(7@Q zSHL}IAqsuLBPzddy{<1UPL0UXu3R}6DY(!t8}aGGhGx@+Nje0#-0$&-U8e5v4b-T8GbDO;O{i+oW*zTF#UIv>m*6@sut^W;b8T8xFhkHbPFwo134CL1} zmFyWawRTR`&eGW{ zI$G+Q++V@2#9i6SgC$26oo9*yoq=+7(v3Z&q5VT*tg)p}!s4g}f1|^|Af>F1u{lY^ zn+zuX1{aMjju3VWYw(8@kGV=%3%u7ieAOCca4f8^N|8b>5Kx7^s>_|FmdX$#Y{CZ9 zQjQ0G4tjBQha@gEi={KZPSO`o(7p|X@#`)FB_Cis?+INdxzXbcmd;j+k~;C40w;~W z*RTNhHoU?K7Y3@-0lm`|%|22*jMl=1b)gxHZ`<_^tqcgyMDUw#JhABAd2T(^$t%6iVLXDMufGTC-@&#s zI~A*HyK}Vnzg?iq&Q;$wqQaimH4wA)r?>;2K=rpp&2!7VA&VwqCP53&OEmgoI%)0N zVXCA5l2{wi%n4?hdImIvbo`NeaGy!Y&q17`Qb(7kO6z(>MsG%lZTP1x2SpUEXN1{{ zlNp5e0a2l7b|@SnD51*SL&~?+!dXY{!Qj34Q3c&&J;VWoifTwN?gKz-?ac&vK&kZ4 zPp0}$%-3JqI2guBu)&MH(n60lE|TbO{w|O9RxFsv#~;x~%$lYyJ|V4t=!EqW!efPT zw3wT@+ragZ2+sITlvP32lXlqmuGh0{zKnW9m4iHy(H^>WxMiA~r-Adubs8X|v4+MU zNDqJqGo^GTRACzI-HaF#dX>a)I}i6DQEO!SL4{0yE_zoD4gIdKRcUCXll@-ScLFWL6Pc`*y^ol_62{)cgOOkPERNif+QKLwlUjg93oA9^opiCVkz8_m`F3 z(Ym;ln$a6e)M30tp>`3x9M(}}ga;pTkhdT*L%}VfN08Or5*fTSB)2@A;dkb}mSvu+ zzQB6c`>SFR-#4eMVzd|$k7rJ=5PFmwOmt>eT~!~et8qQWOCW>7y6s1Qeh%h26yMTjw=t|+empBeg*3W~|Ft#Gl_N!SKcA~1?;YBs8gZKt6}g4S1{^&ft54#B z)#!6qcs&2!Lma7z;K2Fs!$^bcgq+1yXxqx|P{Z^lqc^$P_cUU0C#R|SR<;E>M2l5O zBe>;a_ef@-=Zq6Xnk-~A66;%ek>^vh4Xx)>?9!7VLofhhb0716RW}N-FB~M|7De5v z=SES^Gc)moB47w*cOPA@OH=;wL%d<`^KoU_LrHMX+bJ2>vd{V30Jd~8NH-os0w7$2 zN!`)~akwru=BX8jFB9v*SRy)ES^zA1q!HDymh~!yINM3uL*LtH;}GZ-HH_Z9V+c)) z3JD{Bs&E7l)Q@HRmiZo#1E}#>re|4y z;+=#Q+=Q2h(*UG~V@1>8qTN4nb!0K^sunBRug8=8_Zi7DntY#12c+jTIbT&hBS=%^%>g> zB+WMym(NfUUS0XsDOBX`!-Cy^+xs6PICa0>ngu=o3T+!f2?3I3T69aNbseVC+;gED z3q1%6X6U0GZ3eSwA=*de;x!suqiHQ+D~P;^{78l~y^~U|zhR8;I1NHX3yO(MFihjcJFzfN(%4`vIHU7Zh9YOC2pIF|$jmNXvJ#CzKXjr`r^p8@qLK)-9)UxTQ z`0uM{C7_Ib0EqgB8|%e+b#rn8iKz-RAwiIX5Vm48Mt&U#GatR=Gx8<@CP7<&;%SWU z&K={Z`&&SVw#0w_jf0**;wJf7qt8tBpv0aSz1)weP^}|(3x;NU_{LBMtYdOoM8?Z9 z#Czj#5TYs5r{?;>@I%PTA5JvRok+00@+m#-WO*rTilY}e>@TsA~C2P-Gbfh$#0{mv&4>i#Qt56*>Huq^6okX;Adi%4& zGf6XLBE51n`nXblT&LGTx&Mpl+pL7{`{CBQ8+f+h*E-&OlJz4fc+X{*uNk;?G0+rm zy(5O3EY*qvX-%ruyxHH@=Bx0E4CW|u`k_bFIHUrsT&Rw^pa?yz`jlD*V!ZAZe@#-c=)4e7r}GR ze5#bD2XUue>@YZeWAZT)mUe!pyWRc-S*6w?THM7xwM$ttHywd94y{#R%=_keuxEmM%e!Tl`7My5>`)b}t4UCv z^7LS!D_#mzqbhps3JCCN%lcgO7eb-SD6D-sD6lJaXMOa_vY7A-}@(-8D4t{+Nx@J&NUk4ORMK`4{R zk{@R=bjF1e&KZ4sXgjrfHZoBfalh9a-{G7>3^@7wwkK*!{pZ!|M-YL7m)WyGPvrX8 zP9`|IpizP;9o|2yo&i|(f;zFT6K zaJ`|Oa@sXiIKu3^^KUwta4Va(=R>yw0N;O0=P5W1cxIf;l`>lXv!iy?JANlTP73^5 zC;NQZh&?MRX@Cmy`5uW)c+_2eASfsaHw#PKRe4xnk|@KbXxk+QRit3c5p2VrC=gT| zeo#*P7(8))Xf|v*rgD1FaQ9Mvir(S7IMA=y`cQIDpAwBt5PEl*fVR9vGpcG5(;{+T zmYwtzVl4hkm6sgbWAQ3*{+7to!rafdU+bL;_^tp)CK}rt?a4_Q1?~>O;^j2WW>PCU z`@9@J8b(b?3T)Ebk>lk2xrc6>yHS5Cv81+d@->4~EBBgcoupO_Au?WnVItBx*K@&J zO6mlB)BO4`LOdk!#eTlQKVK~fWD)XY??(4k7ZK=`sCw}23QJAD!wa6K_fMjUj5_TM z?WZe#k}>B38Grv-R4X%e>flLQ(f6m2jdKq!_#OJRcHnWl2u}W(j5meF2_})*%((>F zkWXVj9x%U!OS=9AKg5E4Rgh;%F8b0*X1@QXn`>mYFEAU6uRFm;oQ(3%QleK=(7YjV z7a$YBI&@15Ejbf&p6J=yYXR!klZ)mx9Q9!z?^zh-I96^JMvJB~bb~k_Jl*%CwyCab zL_@da7HIX22VhW?T0(gJxRp9QsP4?I6rO2DClc`K(+_oglk@t3^f%kf`L+~q;jUP8 zltvW*^Z1#e(I+pJ-*g$WP)?|kiMy321x446S_|p9apdZ`f4E4F<|wQ`{;A{V)obb` z98D$gy>h;yWZ|mxr7Thv0@FJO>DX;zSKVhHS|eIKXOoDZdhYO9GIB=HEitZw=`YKQ zIQ%x>Egz1pNkIaA&be&~{nTf}Rs9c&U5b*3Bd=J!lYfw5rJ$0c=Bb1I>+K;^-I6r0 zYh7kVkov2hhZFhh7QSy1m!-{c6uuL3XugV_*8foopEPtMpKa8AO;A6om z$T&`|7UM=BjHT&bPOeYfZuK8OqF?_^nuW8xLo8cdj zE_Vy&D*Y#FnycLBE@kde{6yDOYNuu+)PI0XRlHnp6V-w^Wix`N2(zK zs`4F8y;aaUM4qQ_Si_b>j=lOQhe5f!MJ$=NyK`22)UY^Tr$aFuA_pZoGWs3QvPOQe zB8)Ii{`=29>f4p?uik6hmQFZI%J%Yglk=m$%)__XWojt*NgZ~m3jIKep^nM$-t@3@ z@;y))ART#0!<<~|c@D)T-4Z5=56K5QgjBL~34?F|j2)k?1%bBKgwNln`~$<-IH0(~ z;+4yK)6Va9`+IjcHro71oY;CSKJvY!#boEcG3@#h3Y;{33VVL&%$&zqD|@c%GY--R zsLqj9?o9l1iIs<3>@)>iB*M?7dcfzjvAJUZoN}{shn?lv%cv|+J-m*MO1bQPBA&wN zc2I`Etu#y{9lhPx_!IvDTcBT~oiO)Al{rldcwK=axlw7~_qxwT$Bb@I6%UlzO209| zQ}s&G`im|o?fu=FufC>Ccn#4o2#uwk^VGlh(`)!53!A!b$w0#D(?&lHPg=2rn98Lk z~fZQ>nKEA<-%QtXPf*y0?+2$zFd+M%pk` z)>Sq2?a~dGpP5rqlSTPn(?OJKV6j+Skh)Q}D)sc>14KDL?(kE{th~mqCHiQKp+H8@ zEh2i(OyGWJ#uWB2V`2@e7D$v!CO8NxVFm}wxc-t(+Ej!Ovj5#6tuLP|$}58*V2}}L z${-ycIE|*mQ2}r0p3y|!7tA##^=8SQ>pm#;#!gu!*@>f8k_YjxFJWh*u+`Fg^Ta|<<$EnUYo{cssZbSHRykuj8Ud&eiA2|_u?NG^kyQXv^$(D7Mm<3 zbjCMX89@Wdi>qqfn%2alnH*@^`M6#pIp&E&!CdkSE0>-C+%}iecjuxzRv=A(2g2l4tpy@;edsX#5`|X`|R{1ttWK#gQrU>jW`W}?@b#(Zt3jb z;8i^IJyKuu#x@7P0FHd;59Ok$d|>3VZuVhmx0>eYf+0%f?JDkuf%7U9sX!JQE*`_c;o*5G<;U z7%{|CU1_ApNFl)5N9bR1bcTHAUT>LHv!Ej`rn1&25kx``vHh}l)NjJuSdJZib|Op9 z?L;r&hTuVs8$?hr@7_IMv1WOy`4NWP!4p5*ZP+ zbbIhNlh;T%@!GVXq}vvBD%mpmzC>Akm%A;v)xJBdddk2x?Dxf6p`sQ)Xd@hydxyyD z<_9zs7DO+HaiI8AX2Nr77bgQ_H-l@tP{=OH8MU6>I|u-Y%n8uqs$e#BcnX8=+78+( z!_cAb$WP^U>FO!G4zLEgeP#sx(YQu>=*&kzMVxZR*X=?}%jkZWoW2@;{w150I>hV0kSuOhxZ{yvLzlO0R?* z?~_>$KryTueXG|DI5Ve^i>aH3|7}ik?l0y6Zm3K`TKCSnszazJo9dwujC_0=6eCvM zu^g+R{zQl8+=&1(!vwGq9eJQ%3PI3Sa#^DH?II6-r0iWH^B|LM1#6X=x3!5xZ`0j! zdg&PdkXCaSl(M{|IeVr^+NS3GeRk`1fxcV4wf}HMI~@19N4wo{0n0qu`RF(I@4&T> zVs7z4FPvq47)LEZaw;DB)C&x8=IptMHzQ6Ml5VJ;AM}*e47xC$jUf*`_i=vvZx7$! z*taavv=N1Ut2f~ z2bi(`k3+uWD)zU3sh0X^eMw&jxQu*Hy22@ zLCM&^Ag|3v{vLXOlim)`6>%25PoqG^R4L6VX{jG#cQCT^pFk6y-J!EE5Nk~im;jyT z^{s-F41Hgh#)(AD%jVS02@Hd7$qgl5*NtoJ*o*3N!Vr5Y?Xcl|w}8_<#03D=U>B6UJm} zag3aVR{TOr%_VBH)JP>8C)99bF*ZDMMH9uqmAb7H6<`lpoR`$>61YH3y7A+%jp-v6 z^86i+eILP<-(2)&Cs4(D+tca>iGZ`?FH4xig1B@9VFy5(l^U=uCY>C*sH?}4kR>Oc zlOZhhUj&2R>74t%K8c&)+!tKWDLFJ>KE~a3WSG%1Q(m{`b`^-_r>A8i7d+~sEMd<5uwAHw=OZgp?+3x-#l1QToiNmMr zZ<66orKWqt7Luw&QwdEnnlCGbTfwHT85O4)vy0E+*z-<;S$fP1IL|n|^G^qr%l9CX zLxr}o#@^(#B|07Xs6Ikw(N}MKO?WngzypH5SaOqKM7aX7Ij9z1{UuJ;sx}sA*+n`0 zwI{j$071JDReW@QB@xL6we~ULWTQm^?N3N?pL`)t`Wp@3;E{~q@4&}5xB#T__j96{ zUl(%S74R&)?USZ)3gI8W2(-9;W9+IMql3@WzYphT1Vq~n?$qxG<5y~SUJoC{?+X)PmO-;pwR2%>3A6vCM&4T@Sf@r$KMT7N9bA30CkPTBLqinw9-H+F_7O1fAGs!?c znUy%NmlBCTf3TAB-k@y$Id_o}7Y_5flf+ezPL);I#ADkA1nZkyS~ja%(v>prHrvnx>_YBS%XHq~28dnen8u zKU<#z+o|2J+YE&Jz!lv`+O?`;B$W*+qs+`4A3i;T)nb>+nv|$2+Bx2Ynv>7Qzag@J zEQ?M?12}*n_wTPr9i}=XQ!=?-PH5eio~5{b#5;M#clOysw^`}?n$Faa4cPy^N*zxn znsURNSVYS>n}K*h-L=KNl1&3udrvF=Q9?^#)VS5pyiXFV3|yr)D1QCiwFQPbRd6X6HF-eGXmsV=y=EZd zH^499NJj`np}b{vn?s4wq66ex{pG(6lYPyJx`K93MN9vy(Q+4vQy>3QA6z@!qf3HL zS*)2$(3D9Sd!pkvu`a1h>#u6#U&LvzMEf2zM8ix?3#8;96=NyTLzk{CWapuBIxWwNe?X>@AGwfa9e56+7W;&X#gh{cTZrL{0ZjVcNPp zMA)A*tdr4^?QLaeh6AHLorm%t->OnGDlE(gCG=(#&d_d*JePeB(9@< zHhu4_Lw_LG{MOYD5{{ak)K0xWjtDA4ZuQ;V>t?^qS3b+Y$?5{hJjAa$M0QmsKF7D! zX5N9^ftY#J7S1HUWBKc~t$p(cJ6FU5S`S$$lsqbVI}yS$ARTFcy}?KU*4fuuVFEPy_cK>`CVj{>a{Dg6%oc#1l71;My&Raejsa9!2ztGBGf^(havcw{;Tbw@5H(ZwU6LZqQfhJ5_Fi zDQE|@gi{G0?tj{w|Id-$q@Z&${IaTNhvy)sk`VIY?jR3!K!^+eMzq`!uhwp!Z{P|? zt)wxn_JDSO?yTZ8V$5AB^!?Ytm`AYsy2VFZl1Qy*#+@oQan$+YcsHC2mz~xMIxrD~ zAwz;dAS0N}j6Z&Qae9QX9S$?_K^;~4C+jh3y$tmqtK+IkkWnabL~vQDS;!@MWYTL! z(ybgqEoHT%dmLMyq;_2T|BmW8*dqweRq0r5=A)|ItuV@EGdpRDU#N7=9Q^*87I-+w zCFHvGZjCt+il7a{)va6tzJKmc?OXL9?O4rk;p%vsBd8KOk_ z0OeFj@cv;^>M|+hif8Ypi~E{2jJX$`#IJ9`n5{m~Y-C>@MhKT6r9lth5khSiWYRm+ zeg6+8W=RqhLCWg&Q!g&^8cq6u^4s5`iO z%%3EC`_7B|g_nADiyCe}E!Kk){k6nv&{YdE7@=Rvqm<3$yQQmYW_lzI(^UhJpi?4< z6bJe@h^%am6cZ#ADUGyl0Y}W5Yy#T%ZoS9WpQ zrrAEHL?WP@6MzFuPd6~2HS6f0W5hK0|#NxVA9%6UQgeJPaKEzF+?0R3qZIk;O&Q9 zi#%LVQ%D%#t1e+ZB^$mOVoR9*escnXT`EFLgI1ICe>!1@3(&a~VTM}P9Q*Ip_wKK*CGn0f z^%y)<;;B^~p9a0b)SDTWk)o?k&^PS5J!P3NW^xmpS74Xt3=!=e%OVUW(<=V{3+}?= zRp3DT5=r|5=O2IBKbNVMT4;_K+1%(1;u=4~DCzgvFMbQ%-dz-`4|$LJgIFESKO9_3 z5+2pTH|HtEXBMzh8f0uV)@Yf%)V+{-xRf&H~MxEPs+rNX$ zXTN@U{|ss<0U3i#NyI^OvaDcHYpu%fBQpq#OvagI4#2`IP*Mo$D~*AM%vd6{>~@7&)%+xBcNyE|I8 z>_e8EFHUBM*K@OQ^&Wr*bI1ZO0Bw=1rWAo+1F8?2pT0(YaW3_>;KAT%?jXWQI;(qy z@mA9v<^6X)23jPj20ht{SCLqJF{H*q8fjapqJ!$^$oMem*PKLA6d5UDE-pYV^D848_&>%mg=~IgApv{}hkE4YWS6uox%d99 zwh@LGWM`0DA_|Zc)Oz?Zf)LQG6Xg7X2ToWf%l@V(6hMU*)Q|^+oS!VJFDr7HnJgm` z`A}YqD8pFHeU{agbZ|7A#hR)bLUvk*>ESI&=te4oFz@0A7W#!3!*a$tphtGO*JdIL zxFrfWE4T;g6y*&sas7qzsRG~{_De6|uY;&DP@@R)Pan#m^rK#fVD6h3qXdfPW+04^ z>o_9HIvR~X`I^WC|0@96FYxykib>7w>Vo$d%AkDFqyvQy9ioKO&;71=>d3El`X+wvIjyBV!Q@S0FvN`uCYcFUOTA?Ee2l zu@Pb+o^(=Ql6&-(0gnt59&Z{vSnqTf9*P8S#=aVMJDpmL+uEySsOSSUY#C5D2W%og zV2itZt8)S+*?gvKqVpG8qa7)9P80IHDO~g|R^Ius7K(~z29=s^h95PaICH#W=@Bq(rwij2;go#keHGvEn{Jc2{v$AS)e@mHMzv=JSzP8Kf z;9GCRq4^KanfHK;{Lv@hD$WPQ9g{25e444g7Y=_tdj+PSAMdo5-4Qs*;~3V|LwgB5 zgO@x&3GYOYXqjIWA5{^zJ|OKa-0eI+-F!ldmw2z4YkE8$R zbflkD+zGr2xul|~_kTy6eoHavU8uPZS9Hwg?504~26655O0|5bpKty`wYA*6_~YK6TD^M*+^79~_jcCiKAJC+MumlNp139c+V>E9M;6fonXL~9plh%3 z%1fo~4A5dNNn>IOe362|KjZ65LaSk&tZdq+OaCrt zbry{#{pwk~cG_}Ls6Ng$2HEhLJKsK7wsvoQc~IH*u0{dC*xP2ath`vgHvpW1Tc7lA z*e8!o=Qp&p-7lse_v$LPvV0sGtk5D8v-pQJK4C@5A!1*rHJCh)wdFsrUtj9*y&?Wu{z}E%{U>cCb-Fj>%AZy; zrH9_ti4RLN{XYGIw*TWCiOZ;V`B6@+o*Gs2QP{fU0i=1Z9L`{kWm~SB^p*^l^8k~r z%+IR@>7QTkT;GlBYq_sf1@@!(UV9Y>Cr(_Ct=dc6-XpKZY2AASGO(R^`5i0*V#2Z zR|;7m?IdE<1~N*|XnM2c|FHCx0abNP+kl5|kd_b*(kZ`{*2Fc}%nC}5bP1?zv_;3~{ucQkL)?j4daDtC92Pz* zZ4{}s>u=>WC69!%OuWW<=qWQ|SKZPmGt&A`YZ2UT@b9q113io5K5?+`6k7{8s6i$ki1d zSz3u(hE-tN=L>v;ph@2uZ>XTtPCWS&wUGs7vcw`}OHBt5X?{mLzF%U*NZTbHb3InE zDl=io@qUWRlNaLW%9!x#TvqUUZMOTZ27=an@lq_oQme)}{`AL!$dl$S3&%+<6djKl z3i@9K&>r}^ahpN*>7cq|ewRJRZYAU<6G#ypmQ#DK;6v(|xDvX9!BrK|c{z=%7{e#p zC?1DkLTzbQy=)z0t^>AwJDh(!862WogCjBEegF5?evf$=>7#TwHQ*>L?|m4z%ybi& zs4}~5jpIMUGNEgAh#_x&eQRbn+^oxSpfy`e8s{$7TuDt#FAbHLtxr`5*}*X3Je9b2 z|5I`DRFmS90YM{zBk27GyHs|DPrfpzT05K)ExH$!>PTJE6w(XirdM0{;7M_0CNeEd zh&3zY;@uK}snN|^A&BZp8k zy|~AKqzf^XVt`tBux^Xp_qpO5*4oMno3%u2p(ofzew>4rkk@^>A-uk50kV7@QA9KGw3&X8@ixl$vQr-;xsJfWgvhCV6kR$o!vk8-|Ol%_Sd}K=7x<8*Zm6A1qMVZJ`NyK|Dn)LK_`5>2>WTP zo=k-MqVBwtz-EbnE_4U&LKe*f4B}>}jv4F*YnxT5_dU7oQrfqxGr^v$P8z60U$H)^ zc+rb>bT(9fmq3K!h@YAz=RKmR0ay@zmhq+2-$cxEowRlu$trj5{KSe~KiK15r!V0{ ztp~Ee!*<$&c@!ZPGN>|x=d@anNI%jc0xs_4u_3FLrd${oxM!XTUv>IaA;Ew@Gr5Ja*EW2kmY(>1iXUes!? zeuFeDe>V4Hm4iW)TyExjf3{g_bUYguV!A53Zwq;*2OLO75)m$lkAGN?x{>;}YPotX z!mihA_Uth};q8aC8fBX<-8{DyI*5Xx)p})P`($LemwQ3-aDZ$qVBNMOvFQnMsU@wO)rx1D&YJV13Wz0Z6^q7l?I`w_u5JWI{ zTP^Q>2=6%KU~5OoJJDEtBaP^F4Uq(+HVc;|4f3ph8Z_>>jA;uVFA4}`y$pId$2kZN zz_>SMTWCcy{l1_|Yz3#eBf9qWaZ$y~k3+~N;v2doym)`maYLAe90!IeS#oTWp-*Zw zXWV@j0gT45+69&N_EcTv3tTZ^j8-xBuKVL@M{j}P9B4F5!7K93NN<|Co&hKd(zB}1HumudTPtASuFP@TAv zif{7PTWi#fmQy-N)Lz1{2ZcZCV5nuYe74_@VE>+3{dixQN9_`6AG(Q32G-paJj;oR zv2FgWMkr7!i~OHBqswKGp=uOXO}w%+=gA4;BBe(p{lABQ33=1sO7aoVob*26AGhEz zp>I{Z{f$-_w%xIZvlNV?xx*RsiIpiFP0XwH!;pOc@5^8NSK~W++;D_I@wDzm4fxk9 zEiKd%;mN<4lQcLc(>0f~=Loz)8Ik{CEF}FGo=Qxqa9?)l`y5YN2tJkOHR88r^*g zT<$*H{fYcJ2zU$~z5|L~B%=zDJ!-Wfq%;ni@;JJVAtZWHD;iogA?Hxs+dT@i?)tqZ zca@FL+yH|_6#S^FD`|v`toq}UTWJa){a#SzLTBqUXja^C5_?U_dP z%&Jip*Cy^86n9e%2izYi@$BDdCHkmp-3q*Qopx3D(}GElFKmp&C5qOUam~7t_?6v! zBE^GW31$$C?$6yGmSp+1RB&vJvM9#oD<+B2u}9Tg+Ks;92yB|+{lkO{XUE)-JDt0E zHJ#?@WvdovJNk70cz3*n`*64DK5(_seOOf7K2`$R(LreW5x3kYu7#Aq#OMBG|KK_c zZ>RA8U57^d^!-5gM*EroMDI!zkJ_^uI=@ob>*YsW;oh>XABR!wt_BPkAoj?E#BL7C!U zGwYF3FqdTIWwkb9X+0+%JV_Ay;|--`-2050PRAUf$|PP^!@B(sc5GpndHq(Zj^gK2 z8I~)j*66VVvR_U&N-fxeP%1=jGF*+HYga)f>b9dgNMd6#S?aedQ}=zGyyt(D(klGt zUU1iy;$U6F13RBu8pl5QxyV1yi>cY>n9VGV1V7Flb56n%oFO}7=>Lrh+8D2?ete&18`t@t!RCGH&y&*lGZYe855pencsHEfYgS$= z)?Bj94!*d=5H_^;egj9aHZW&wMqN&w6=+wNy-2*qWoI#OhqTrmmkndbeia?Ka_#I) zE}o{TK(=afMjWnaiP$@O^=x^`gWAkaF1gIbyOb6w*3ndCUNH?@|4okDT{fY6r{C%F zx!Fjm?LoTeIVUkx#@uJQL?Q7+Kg3{`BnOi;3hy}GwOgty2?vIsK^39F+FF~j{)i^zBGkX!pAaZs2 zkBFaAr&5=af0vT_{wZ&5U+g~qrCv%0rxyNQHdmFoJDuMS03v@`l9l&R30+1iKbYDD zb(QspxzuUupwD<|WYIIkjD}F#8cq7;QQv$!D}3lP=HJ2-4@)Ty7rwdsi_LN@jm^JS z#A%JKWri_K4GeUAZp^wKh6-@>#V9CzFB2WGZ>>mtVyvv=DMRvircc4T%I~)RH1*@5 z<7K?w$FTO9@ZoIE3w`*C>Xd}p@R(R>x>XA_Mx?39Opl6GKJCY`zbOur^C|2Y zsP9WQk48*Z+`_~Y=l3I`W9#G4ZeuTxs|u*e#VG2(a~?JymA&lACfbqY&SRN>@=PI3 zgPDyrMY!OoyGO7Ci3dWS)^?4{yGkDr@Wx4&3oWg>zJ{V9Ua)atX3=0`V% z7DY;}k<)$G=nJ1mqr9GBB>fTmNNsUovS-Ylv4<3hazXHN#erK@xaif0OI1ew zr_h-}`}BgZ&FjdI_tyEI!qs&MsKZ<-h2tt8{NwPRm@U~5yWX#J zf6u*9tCb?@qx!WaIyiLAp{3mlRd|I8fgQRQo1Eo(Ja!9FV z5T537h920VL}a&67-qJdM&>o?ww;k4qhML~OdF-)E{RAPqV&^)} zMnpGAvkH*H>LJcd{c}2jczdIZ_f@DrScLA|?N?QF{$$h#9>t`h8IpU}T5(wxC5;n!)O~u)bdB2m`yl~>rax6nA}ee@oQPn>9zkW;(xcaeUrsD46CW)uNPL5Y z0k^|FEDT|Kkc@yLt}*{k)6T#n3mHuX*1npPa^SD@MHPxvw32=2SfT7 zyG`N6S1pO|{suiS-1}pYv@#$?+@WRbN?ftsbUzYqZU$_{EUtTm0L{H^eGT7vK!UkC%fcEI(S}s233ec4obmz zJ2O>A$wB`Xgh8Bnvz#-3@kG92P@v$EI9U}LdcEG6GP_6b*sB(?5@&6=zkj(DAn~3z zbJs@k>Qyt3EfGJQ+EcSddol^=z{llefj=w+G+5>9p;_H70@m!}MxUb1d-USPRyvlU z6dR`pHc$GcITW?enY2tKQY$!tg)Fy5l&YV2cGePnQ z!q)V{i&U&k?&|XA?V{H3i2rQgX~3(toc)sTIfsJ;31|-9MUmuU;yD@>7!NXcmL?>xj(~M*tM|T2!@wkSr-G8QCgD3#n%Z>5 z_J|t7ux@W%ea@yYE4A+lAxHPCieOoqkjRpT59}{29aGqcJcnk6jMKeE7m<-pLKH$W zMIRlX|M?WPH+hYYDQVMkLpUq(`LjK0{ORjIWW0Vy-z{(bb1~Os zR|idKEh_k(yg;n|HM)-C|h{SIkqU-PEUl*`~0j^K~!lhi`0^ z8dKew9d4SsOX<9fx*DA4Bj*K5+lg-w`|pL_;f1R%dhX+iXsU1o6Aqx_EA%f=FTRoU z>*STV+8PhHq zL-+1Q_Tn@2({D>DSf!Cde2eq#=SfQs3!CjpSiRFn!v27y~KuCO}*rN zX;1G@LZvgoSQ^>xU3<8(Nb*Yw;4US)l{TcGEw)xI-|s$t>u>0EXGBCHOi$=lG+Zlr zqkot?z^mVVQ5CIY9H%>BQ+V{&xgg?HM-QVf4R#S`~shK6>m!lg_uF#ZU=G zNo>p+OcL1&2EJo(h8-7M<2>%eWT-h4RKiZ|DVKR(B}K_Vs5GQq-3!KhYF+#dO4c2E zL43ZTB)3H=|AOwb?o4%L3hc{WkZuYD&6}iim72wa0TMbhVZV$Ezb{=V)pbH=?=T8G zVGT@6wI3#r4p6N#UehahCSEB_q~&hqNi_vW7`Ir?c)xtE(jLs~s_Zi>r_Ou`@~G#> z%!Q=Iy97Q-LVPCR_!?jAm;Va8!WTezeYcdJUs(2Kz1fx|vz`G% z!e$4l|M^oDeY{ z`qS^;#5-@O2H1zuyiJn1xwB{J+Q4%cypF1Ny`v;iMZ%m?TS{MD7G9#x(^e$ulY|R% z+oouKB7uFWBu2*z&&JGSQx7{4>Noo9(1Gn$H+nB=!6Os+U~_tQ4tu!9Q6xb-NjQ*X zMvq-XH_yQ|=eG${*W;P}3IM78Wn@~!Y7xl_aZ-Pz*GvR!-7)0oGt#w-z4?3pGj9=4 zt(XofO|>Q1!C&oufmDhm>R-C**Bv+<%Hz8lN9&D9w($trjN{1Fhqv?1P}0g4Rv6@3 z`V|u#IGM;QUWC*>&3@jCY?h7exBN6G2}7O5@c47yH2xY@Ut>(#t9a4Ehn&sRF(RUp zokwFc0-6NI^K~~oEkTi&;EsXDhGUz6!BOhp$Vjj0aU%2xims(~(&@{R#A>z?Gh&7M zU>{dGy(OGateA@?W3gCn-K)Pqz8>M$fy8`WM%JfJ9nZH(BE#xlOZ7*9)!h&^rVk=T zUjo|7RQ4dSX1qB8jQYvWD}#*{2`}&TG-%?*wear9h+4EGT_QV;fLd#9MXC4WcC<#= z6tgXDs;(q3K z08AY7sl^UGFxooKD+hZiO3W!{;<@kQu@V=bsv?{=UxUx1rFTpj$*`bSiBu6%KHFG6 zHsMJsYgz*!iZONy!CJFnGLPHzE(#NEfCAK9SQPN>#a0y3BH;$98kOVji^Q@B-ClKcPoQ zVr7|dHa3!Mj+}C6k_h-r8<6OVrEP81G!%~#*}l#+M@STW-Re52;t(I2 zpiNZZVka)C_;<*H6$ofLYSu?+HYzfloV@>XnN*(WUbCEp#KicQd;sHxKS$5%eKvj- zQ*4Z-t=^tlwLS7_W!cOnvPuhl)QvW>})8Rw@ zzw4oa4~_+Ho4;SU68*Bryq2!Upzefr5}Q*uY#|09n?Iuj?-=?qSkQ*V;$*j&OR=M;>UGgEkJgBefC3Lm7M#H144jXtL!(S={#7a(wW(ngz#xjvsAEzAq zg1txcL3GX$KDb=uAJCFnf0-c<&IjYdnz=|K7AkSSR{=|YA=~-q9s(Lxmh-|N@OAMN z1~@pmcmy=&v6n9kpKao%AieC?T<9qbu$yW}1zL`j0?$pZdQ74>0@3rP@!6_3`)h=1C3w{O6N^f6A5{wnFxKU$H6 zzakt(T+NP@wWnXS`gUoMaymkC#o>&U7h-O)g@gBb6iW^%gq2$iQZpn%Eme>uU&OQW zl;CpT-+0O}R=$H2kG29=7)e;nuI}puekuX-3`N_f*A+=`G;!HcJL#U*1?hP!+f{AkMD7lhFu(GK4DkzWBg_%Y?G3HbPO3uB*Fg2{(-~Kt;hO$3C?)e ze0>HfbmRa%!UDY&XLu~a%lLh}W9=bv#{mE#Gv#Ud=;;w)lJy!}U`-<~#4(+uoBBo# z?Am!}ldv6q4q&igwOg=Kn-HLQpHPe7R^g69-yRA|Tmaq=upfMW(KPfM_FR1X4^U4x zQgp7Ymt0qj%9nb($(iB_Tvc{h#AC^xEyH4HAAaYQE=k|9Lxx)nJ@`05v5I?KO245{ zK;Z2KofQR(#XWkgWWmbabxMz2kKLx7yHq-Tg#x6G#mwSbY=#r@&3ki*mp4>}4CGN* zCAH7|3lMxy|NRIMV^s&q54s-8R)q@^KEsdv(4T=Rk&;f{bG!|`@z{B9G7dd2thR)M zp%SFv;S_TNywo{X)t(7QILs^k(hs9kD9b#hhY}`lDwtYAx|G=Oc|eE&>DGzo%}P0X zd|N27)tVH|g#zs0EAB1}o^xMR5TI5N0Dp>q6ZBWMenu~+{X-qsS0fo&`?|~r8ofA( z1k*vb_1ii{Y`eF;q|$e(I;693l?}FXxVUk1bhy!0+xzn18=oCWV3Wn(V*@Z=Z@}0v z82{?Evk}|ELa8Eyv3FC)mbu7f__Qi7f0XpUSEF=v|K-Dj-K1ccU$5oj>*mF|yme<`8%${ucK{!) zp#!A{X*Q`Ay2R)8YhexAmM?EZBK=X5v!9i|(&!|#i-(f4_I{hAR|x2+tkynYWvd?U zRrFg_M_!`lA$y_%74Zs{_7!S4v6c_L5R(J2kaaUvjtE%}O%ERueMk06NmA8~e?ZXj zj5Shv$n#t8@3YaCeZSqw%|$b8SYIkiet2_lXr&Y~=Jdcn){J;Yh5~rET2d?Knp1HkyPw z^L`WR7kZPX3_Ik0Z=g?neD6Mk(sc!Vn7ov0hnK?tlQ@Vm(S0OEx#?eX*s6rc$L@am zmrkTb{>MCx5YTJBR6};&U(U!11NTK%ma9k}+$lVtWY)ht28QFZ^2_G>wJvQ778wU| zG8QTVRXi`^88E_?7F^nk=^UVXji^l=akwv2VW8#i&uV;+UWuDRkmBy-_%1Q0=8w?a z%Hb?>JD@vrBj>Zg5fG$HGeRkBCC z5G+&i{!+4HoI0>V6}>mJCECeGf)>AW#3k_3!eyXVg8M~)ukD`{Ot8uklWt(SC^~;X z47!Z(!8Cu>NrB(`>>PGt>gqppXD(ht3|N&Oa?f+pMIRiiKqx);;e0-~q2}d;_t?8J zmi_+)^fc)zVS}mP!Acp0VAY~`I1C#_P(TI~d2`+S9qhW6Ii}j{L3EEUc~?e<*;UQ?%H`6->2JKY2csD$xBem27l}xO?M^r(D>nxw&DJB z&=EV_fR9N9c9)}B^n8(DHymsjz)#SjRQ@@b5Db#AlMR{U2`%Y=HmnNs7b)up`2wqc zu||~_0c75Pu>YMPF|CWgmc@TtZLPQNkU%ai-8Wq}wGMQ0oy>y=C`!6496LaK(j^IE z%tJs!5esgC(^9V`Opd1-^363EMroDv?9F_E=_A<)@NoYAqy1fWaYxaQd6r*P}4*6I9t8eGmh`A}je^jk@Npi*Ys*(`92 zQBYnWWZCNx(&+W79mbo_&;fxdUo+bSj=)KRCeMm|?)cQAPQL(#91>(8jt$TLe(D*h zrz{DC>^C|l9J)eR0{)sGoXl_QrldAjK#j5gGwD$)8}T|7kd@S@1q&eVrVMAk50()> zOB@{CmZf*815l3oF2aGjfo3Yx%iXi{-bPG_vG1LTnYrkSK=aR|uux6ti0RSOECKlH z{)VuDdj#&sVk)2p`vQtdXxA@1esv#O&%E@k2T6fYSTMC3NuZN4*>w1n#i7`#AxF|7 ztM+T~sG>VsbQR&Q%;keqPUfA^zHKX}VsB=eb$V#)pmt!z-G=oXfefk~tyJRk+Oi(9 zP;EiXx}TIJ5p$@Hall))oH!gtrW{{7k)T!n0L3NdIg`!c!O_f1v9<2BCd6#9@OkZc z*BptSWQ8b1X7z1}RY_R{WK+ z1Eovysq)882iflNeHo5B*rF3xp$Duw#;ot^1!;F1RDT^smu9zB?CvOSkbKM~lrWW> z*xHq#;4&6mSq116m4Wk=;K<>*=iCcjW4oCM zskIU%Td_6vH#}_gE+8F$I2fw3kTZ^x?ZMV;I`G!9&$P>KT^=8D&;53_{n<@-Hob5p z5zU`wEuFFU^u-sUhDi@updm;>uNiJ{9W$M>hS2q8NBy}TT@gTJ9_Lh(cDfeNw!`Z& zvFPFefQXp?Bf}|-{XQEGikf?YiEY+^o` zQs7}3t-yX~E_goShC8AHtt2L6QK+tE!SrH#wfYX_7~JOEgWaNVA+&P%;q}*}7;X=0 zn)XP&dW|6t5+Kv z507ZYb*?TxRDBCpAj8=x=cYM5K3&uq(CI=eEj4SERb=X8GBe)y1Bp*u zZH_)tNFrHaTh$OH&9e8uBm#xF(`5HiS0x}{r6;o^iC*Pq`Jj+?#yLyHimMvCkKRmO zA3yNdjt46}Sq%mqR8M}(swKK=_yxn`922NT$wnOb_b}f-&n2S`h&_B+6H&YpS)t4V zSPsVfF8-{q*50%CGbuoY_P9}gDq}zkO7|Qd-kD9q8xh=&H~zzD2=S$x#`*#_e%Bz0 zzjS>YQ>?Nil zS&`lOA%)tv#qA!r1BweE`)A)@CbjBwUmKhMpxh})Q-KU-=cZbTPHaa zvpiXqpJp?=#NSy@SOUVM_x|9`L`JteeueJ4t%$KQGAsbOn9{dBZTQJg6{T{Y`*JN& z3wmT4JJ0#Wl)Jm!-iFC|V1#bTNZ-;HrCCp|XS!Vs=_yGDPH9o@Em|U{WbT7ldoFVb zJvR6&a+fwh0IN%J+p#t(-ol6Z+E==7SdugU`$W1V)bY3a0q4*LD+i}Wq(w)qt(4N0 zeq^jY^-c)~KE*otK)n$6m)0eH7E2N-1WxA9`+{eMgixVh76~%_9Q~JO*a?U@VbCrk z%Q8)e$$dscgn|4*d+*539Jds4mToAe(w?DyJg5x;C?YQB4WBK&-#Bh6+VhqS;7KFf zP22d^{<+66$yiho4F`VYV0)AVUymfQvZmnNvzIZ#cH(>yrpuC4`6QW}oP&urbT zTSxWvh%xz~6xNq_R(arYB#0LP>E1$iYob1UXKEeh)c^Qj^ZmWeQHlQ6+4%*e%~Ns!z9qgC~!jXVnjFi;eeb^e=h}DYNkUdyNu(3I^wqX}|U7!YfE}rG$ILWF@UF zuiWea*@_;HK=!Z7mw5873Px`yqU$XDRoEb4yYb$KD{S(5KP@3&c^jiB$duX4vJAz=H9&X2#f$_^b$I< zMWHcl3XvOY^gY$aV~mNpA%_sh!Qm`GgO%bN!|(j$lYf-6TANzyXtfKW?w!zr8dI-@ z{;^oYeHxJk#U*;JQfqmV&zwgj>WCNaS1#S5BIEn1!c`e*AP0qPx&?4(t+`QiT>&5C zA=R4dimQViVtL||$iGRH=!CL8_%17+*SV1yR(d)!Ba~vD5tuwW&qnKtS4vD9n zP4gp+k;B7T6o5|0xxAJ)io;Fz(EWDX_6^$uW@sDtS>6Iu&Na0Ef2QsCFFe(FtWZ%U zuVZ7QF9F#QG_68&EbHC&7&3U1svxIWj6FbypmY4v`C>QRbqQ^$cLSVu9s6`A$hc5Z zgQGn`E8zp3E7#ha%`SEf2+CwsnQzL?wpDXvJGtT3rD@Ms4KO)b3P0x^qcgH4 ze|6Dh1Tdg&09!7}mnGgxXAm*igP6lY$F;Bybg?%q2%{qV4W`O&0#eAuF!L+Ocq2Qj z>&^bb)3n}l^?jvY&?G|;^x8Fv&xR1|eM>(4=-C*dH{cZe>DDt{WWz+fI&)WS$T#00 zrKD*zvW(ukbUnKn_T15d7Q^*e`H?Ic>NFq+QpjeECUH4rtEn1f1UJERV4W_1(_+4~ zu1`I}<#T;;r)(^5>hGI$e>tMblIPJ$-_l>R zNESYlN*d9uterWKY{(nTwV zQo+3Y*f7^!7|m-ga-$qj$@bpd+VD3``{3vtF`c%t{QA57gC%Nr-DTmKU z4}4SU^GljW{+*@N^Ct>}JtUn_+^Rr0I^%4lsZ$6@A{7LC1#k(Mu#F0C!-GBWnl}-w z!{Nb_b?P5=*u|{|HA#MU=gPqVg=|n2eJ@L z8{HpD_KAGwzKF@0{M$0FXxQ;+{%JBE!Z?vi0c*d+O1>P$+yNt5+Sz#^IZW+hUr#5O zH8b|W1xJ`GIX1hXWqku`c%DXzmlk15)Jp~H-2iKPwbPBKnK)i;m-&zid;YxPzD2PZ zVj|$^dT|WHrpvcg$f-(upV7a2gjH;ZHC+g=jiCfJyX~AeO<-IO0SOF*fNzoVM3nr(%3#@@&c51!dDw=TJefcK)5HFB z6M%P&#$g^yXsso7O9BTV8)y3dj&FZjo;o7Dxn!#Wfu6d z>yP-sQF(u@f$AXeyk2L^QF+tN4uDC|7u^F~TT09?rV8PWH@r{@95WI4X|1c5zWNKs zrJEAea^|Mcd}n&k0q)2SQ>z@&vVz8i9wU1PhUCnej9HnuzAif)Ntf=9{#Sra{~EfCOVm2gpRa}A zV*=HuPs-A{g|yLxk#fYc;ro>_x7(@z@ql$2{Son#58#!R?B^hA^_yd9yt6?^Fw`sA z$3M2fhH3j2jrJxkQe3Fb?C!UW#sfIdz%D`b;!85yPVHdIaVZm0d@@mspB0YA>s9EQ z2O^Qa;G|mR$5nPtU893soBhS|0s^5Uu75eI80yGZts-m4-@;!~v%FK_7~EQOXJicd z5(Pofg7;vtIup_r4IRGFlA5ua+C`MgAj)ul1e^KNF!Fahby?OL8LgULc?1 zZgP|3b*DY`DRVMdF05NA3qSg6AVUxWh!J*L^&NmGsG8`IAkQwof{~oLttGv_CmV?o z^j#sOhD9eaQm2Sb0!?4X>C8;?oTsoWt00a~QKqu7PI=VIhHbIPQ+$%h+`rC^6G(Ad z(`UPPXbEJ$*2$TfR%y3KARt*kH~M))XjWPHrf$^5X;dSLaP*iQDb%VM$)pMeWB$lA z&uG}@?oKi2d3m6&TB72_K(mD0G|pdO>B4o@#I)`^D2TpOj*|9iU8d?|YtaJkf?9+^ zh*ilC=UY#QW9D5XE&_b2ov4bUTNRxLp2D2*T3@7;&+pJu4G&>eHMP?C<{RK$vp`N^ zsD^cKL$sdjFg-_2up=S(ew&e|{4raAOni`lCQQqvzdV@p;@8))dCd7E3g(_-u0laf zbD(>ntzSbXtv*+J@{S>Mhu3ZZlDZAV<|lZo0xQi^xyy)|Q5dF0Pq+S92@Y>d%yv&^ zEDTaoO(`G_66@?Q&o;AdByObBcKrY+>AE~oy(Q5tFmj#e?{U9J@i*&HQ|kBopSO9~ zB8Mn=UHIp5f!R=ck@W^7QTh8~U*{^tU!Pzk%|48?&CW3!9Z}4Q{K)!p%7BXQ9|}qv zo%*AJ7@C@FjEGVbfInCj#{*Lam@aRHlejC%C8qh2JT&XQ!gszn(hqr<=3A~ahotBt z=CG8-@EDqVuYtgKc(Z~PS5p|5Si+VVon{fF8Qt$ z5ruevivm@iREls#c~<7?$(Ki^133r=b*DhxEe`k=RiI$w$Wj_!FzWW#E(Nw#cV=7m ze)>+HpIyX%bF)TlgLuFRB5~K8}>J{r+a2u&&uPnwwzpoTX?4}g>$&u z5}S?g-XAgAxT?Nxrug+&oe3Rpi**)S|C{_l4R}s@be6gyp9)RQ1mD6{$Nw-x?4Vst zir9(Wa{sAOS~ZFDX0Ap8F8_4n(fOkwhMcanqvmo2wyW=u&sU_FSKTYEUw9scaJ=?I zWfUx+5;qzmo68GO|5N9oI`%g`5@lIBOEzde>9dQmvYP9y3Rhp2YJFl$VVc@j6|7=- zjJd>41>V~#*Rm6VLv4%-C2PwC7Ot6hMz1!CWco0?xUz}m{|qyR-_SWN4t(ALCl7RQ z>h44+zy6iu&3zqprWl~fijz2ptASelOcAUrtitMo%)D$ z;0;oqWZZ>780zAaD@D+kn!AWJ5~2U@p}RxZTl{#~oR1JU8l1y9oP1bTH|ehdSrUb- zta%d`T}kp9o+Z#0HJsuwqQ4zm(Y-%zQ+>_pCl6Yrh20SzUrxuy5KtQ}cGIukPw`Ig zF_y}XtVd_7!ixkS$}UN=h)x5Jk#;K9KT#92T&|zTo$4eM-=(KS{^#Dm{nIV5!a3Re zT|;D86G%n*H(IG$_WCR{_fD@)a9O=zGwFKju^`a=B0m$E^HKL1jk``N%zKni@-<>|^7|r<4)oS@)+#0l=Z~q;c z+dq6HHl{|LjHTI3WVB@YIbQ!n?@}Y`ffLu^+BU|OyR>kI>vXqEWK7(Lx2bqxuI5P~ zPi%GOv_;x1j3aB6KegJju#1%6YIax(eJ8&n6JgUs?4EdW=xNk{L#P#;pm2>!)>5(> zusH1MXPeOZ_J>!&{?p2c%Yv)@#nh)9kABA5Zo^-h9HTV~UwytmFjZ+t)X&Pj6*Eb^!)XCUMzD?{>dKXolt0dOUW5mTyqiQ1(laJyvz3$@= zJ*hnEp_Yhd{HB@X`elDVD$`;a4gtY%1dDdFp}YDvYS&1%!(TfsQ7^7XokvUQ+Oba? zeM~7m=eq7}AjHqpPGgXnH{=Y*vLv}4^OBT5)=Fx?Bg0Ov3BrcG^d;5q%387VoR1ze zrhY9yK;>%DY|6JdABTtvWsIFCF&(akgVJy>pT+w+KRwvJnc>@Wxug!P>ytoagF$YLs#8JHYJr9a;h2}do zz#xlIkm_2NVR+XhT=llgzLyhpzy$ZVA*Sx$UQo7Q$f`TSosATF|!>?;&4 zk=YO8B?s0F00`x_h%7r4GU}0HKhHiGO=VkTyEwIh-&-S>Ky%!jU6hb&AFGhzO4>#! zx)hs(ftT0|MZ9W&6cAbS4RD=57=uD4&w09F+{YoY$IZnXLN_)sXEF}g%NNFR2QbOd zD*k6zs%K{MP|3oO&0ZXZpjc4jWb3O_pMH>hV?*i>=fZpAKt{Oc4x|V;*`LJ;XaI5P zjiTSdHz-;^_!A37%Lm*yw<5j)&~58&+yd&xw?jTw*-Gr4WhMzEjS3+eQ37~YPd+a| z^*`C!2-!{c%uE$3si1Ubh6|Ns1Vl&P!3OmauiM6yW08Ci{eVtljA#Fvi+jgSx@NSE z!~dI9V_bX7IE&jKBN`8RNe2Gx8D4`3qx{2W^&CkcEdUa89n7xm>!Qv;C`cY9X9cQ( zna|Kii`EDXU^E9xJv1eQqn_`4#Hy)7MolYF4x%^ZUwSFxB`zhXoaN$ykApcK$CS0> zB!JjvezEu2u~}EUPR~({a410rA;s9iRC_Oy5f+=6i8}l{nD4XxZ!UmYFS^kOGdw*x z>@aipK+sHU)#NW=l^{zH(gkx%M}<@WX=o5Vyz*PwrOJg6&`jnne5LH}VWs0)DbmA6 zdXVJ>n=HT{ngmI)dq!d8Y4Q1jz~`2`TM3Fdl@EBvH(@}ZNtngNb$I*Nj|@&1f1 z6pinxpkwK+!J6JrX4*w!mq;9=~qEvOEG)=z&|iptG00B}tNT?BG$sFKFY2uwvd zfM$XYS{QQu+(Q^BExXC$t<Z%ou9wK9D8+dQ?RirtzKUERmmsq3Tjsqm<<4mPe#cx{&hGJ8hH;ceTlG*Kw8_`#Gsc#r z@$2|;js2w?fE-GjP?rals65Dm4gU}H?>et$7{Q4WH(8+l=JoC5b0V6RMU{V_80vfO z7j+v#M;~31HBDi08Z)gEuBSg9-*YzHeM9(^gT_$79!=to{;&wX@(56w-duOwS+U`^ ze7p7I1Cb26S5=ZyPo_dZB`83yA!(Pgc;{d511Anzb`*7OlJ@6*S|t*EY_Onwh^97 zO%hpeW`e$5?nV82H#f}Z>JDjjLACa6;-zbn^mEC?lZGR_3~v73Bu3SztLU&LOc53w z*Fm!R!0H-GXofeZdFAl?d}k9mX+l)EEutJ(awxppqL;aO?hCugUw3!N6vy&Lvic3y zKM;G@FA^hr4~fkwCLrbb2lL&lE0xuVH{Di@X0-Q8v}tS}$t}N+jbD?egJfHGb9-mg zJ^I7f0S7)BlliO$)tz6AqF+G8wn%J<`+*2mj~k^GoM4tn@j#BZv|qnRRngnAUb)YS zD>J`av#!}Y-caL zZruOzM%mU%Nc(x>QUz3MC#8&Ho1lP|0A^kz^EDc88stW8y!DFFDaZe_5GluYTJ#&L zkTzYN0htCT2o}v9Y0<|2X~BnxU#Kj*^iq#Z_`g~AQIz*hQO7CGUlW(?mFwQHg7*x~ zQ|SB5T9lFMTn^$@8wK6bGT)k5YW7C*T%Qev+QS3#y(+3lz9t`(|V5)(9c`~#mA4+hDeVk4dvGMRc}kiM7X!PI$R z?vK5mcC9(K^i(}-SdLQe|2Xedl zp_-t`^ne+$4XpeHy0?JX6m%@G8{vb8>X=S5dB7cnp|fo9g+SJQJO0##c*rOI;(my_ zoR0W4No0t97>`oDc1xJBkSd&Hy7GG}<4}XwUJDo*p++^_#LK?_XB$TdtH4{~9~Wv< zF_!=6nF(1H)2MFBrsv4mGX2|tNLn?Z%JyQv1Up~>2b#y_9qwEXZp4$COR%sV?(%%DQ(2e({daSsqY29}+$iE(8ASKLa`l0GsX2#I}{g znw#E~Xf}ZNZKv%rzTvmwMEYLbJZN@?+6~7l>Tz}Sum1E&3l%N30nC3A*-V1hGOO{@ z1@F%fqrdLj zoCP)A88V#fUed#}j&vfv)n7Ya_0|sEA^UaLi#e~=X3#UI1PI*&?YG{>__Iv@AW~j_ z?hpnhQquC}n{(1Hx`=s4@H=-Rk zW7UbE7duzU_>&`nFBZs{2){GanO*Dlr<3vYUGgrFb9bn*CH*tqZ@qtZrh_H*5+Z-< z1vO{Mk)y^sMXqOo$XLo>vjL-VwzF&wDdzH_n#71TbkRRv1 zLy3NS_>0#kLtm`llKzfKfUqy;$-5|ydP(QfeNMPOrAsbFe6z&JH@*L? zCBb?Z>&RR|Muxr1|NQ>@?{i-S00000z63XC0nJe_usP}_Nk+Z@d)vXzn+Q72^rw9E zgOL&(P_Rg{j(Q1_nTG|SLnck`78L7zda%a)nb4@EFhc?a000000I17oH2VKg**-G1qG@I#LZ$2?`@XN)Vk|S(gk(3y zZpIoiV;Ipe81wa<^Zo5P&wudTbKduL?+^FfbM6oKoOje?Q$2Q8AS(j{1G|C#LyI#W z{aY8#on^qMVed0se4%d-JA>-K#YlddXvo080X2B2Z55DB!fW^m^z#GAXpxdB;kPFY zg+SX|Syq9Ji39a-Z^a?x^DDV8lC7_K&ZMwkg03+YTdpyTQ!`t25~ToRMk!MI*1ip= z3@d=K7F+U*0Qtt1ZB3BclaYlzde?=Q;rf=p@{oIfhPIT>g7shFTFWpN6)t}+W+*`W zfB4T6{2IMVweEh5kg+POthqVa&PNBusnYzA1>5Jnq1x6`k$67X0VpKj+!jEGQl1GA zyeoh5sY3D-JUkDi6{awJ%Zlb2|=XLKwYukeibF>!REkdQ3U@=QTTV|s36&6k2wdo zDU&b;6E$wH`wAd`X=&6O#ob0>m$LHcpBPQHZ^`)#e9RIaI9V-rLPXzOXhbes?8hlV zW^J5yLLmf#Yaw8=gA>Vn>C|C4tJ=kk*42;`oxcR_jep3sv5s(oj$BC2D?j@a zsU@9?6`^nf*)Au$(urV9rwAM&mCb_AMO<=_n77TyO3ofTFS zxVvj1zNsB->1fG^+o%Xv@B_7ED_xuFdT$6vyqB3v;DDRy=;kPrm$1y#NRjN5>W0%FQ8itXzB$pT#jSe7|BZ zrdudf>2wD)9j59y8RB|vKfQ=^U))`+@8|M8(tLCW>UC3rQ@qnJ>rv(H<&B<$DbMLw ziN)edSAuS*6=anuI2+5yANQl@@Su?7k9P`(YhO!l>bX;%Ds#kdzGN&}^I6njoBVNr z1|l|89iO&uwZ#VUeVNKU=6E0kuh5<{8tr`T&xx#Qz31fU{Vm!9dH^D-Za)suL_i87 zkBCB$94!FP(Ab0_@^YR?QAP79=r`hy_$owh!xA??szH+b&}OhQS2ahy0Tl~?hu=dw z35#{BZx6RvG>faL(B|SkP%-N}*yS>hk@f32txx4iU2G=OAYQ$s1@;(6LW<$aZl)=v ztS6J9C|v{VzHHCRk>THaVT;8CFDTqIk2|GuBZKSt^Ot)xtfce5?)EvYquq;%c7E5pZqPPxjg#zxG6^yZ-7Y_z_JpV_Ncl9Jh-(3prs=hAUc zw8FpW?g_=Us8aRu;VEm{$U3?&Syx`5L4vYh6i7?VoENpO{CEnp?CHm005)DxO{2>1 zWzwPbbZk6o=WCkRyjjI4SF7@ZAh70cC6;dC(IS_<%6G~KUaSvcUw>l5jad^-!t{bN z08lNBRYg**^Oq^f1Fx{R9eg#0?)L?Qmp*w8)_`5xE3*}|ye;?~Z%X1_L$@o`Babhx z4pz@2ur&@`<#^%i4ZB14oPFYCEKgzrUPCn_o#L%c`q5vfA&w+2auH&5qFkVXShTUg z{BABJ1+xaqw58WD%h8TU0K09Qe2FtCIb#<|y z)I1D>ptG zX~6ozWOU;@#v&Cd3EsE;ICEc9P0Ji;C7l(+;w3u-E2#-Kcf%+(7$Kb6zOtJSN|K;m z?>9{gSIaVE>HTeR6THWRa`1HT!E=1W!U%+hsR50Q?(1L0;)azimEv0F_r}Tu{YQL% zCp#-|`7zDo1-M1j-y|qk^>?yOfQQvsA~&7NQ$m4NDu)p0JB4EY`DhTJqQ*}P91er5 zZ;Lw}nfa#8-iq_|YV))!mYbqT^+lB-FH*`CYl@Yj>KejWcj-3?Us7&t3lO88@3ntU zX-e++J8-|UsK1UTS@&&l4iiz|v^%8y<9qO=8@ojgWv=mlPcTfQP77JDZnunWHqx)J z-}-Z_Xc&Pwj9L9Vhi|u_tddx&hO`OHzQvj(6wKy@h1flK$+tD}NviZJ9_oO#sKj)( z(nn?=b(g>RDK*4M^z2cAZj5SXrN6?31WR>Q|nq4?|l%P0Wk%y&LJ15g^8in||MUvsb+}SI_ClgwB zNtghWQm=yo(ABRkjBwMO=fnM7$D7aIRa3I=wBvt~d2M9#EG?D`L|lePg@nwY3142z zfx4;qLRoo#-y3ZBA=HLdrMYY;4SrPnR3}|n)FWx(DN98r0O~;*|2}FZ;WF`qXz6o; z0ZRuOxw>YuBMULy+XKNne?+#2&<+~@U9}*U05hZgjvVkFpyTtqBz8SG`GDE4k=S?t zD*cjRNGVry-eM-wr@FTcVSBp#NLWnlzSd(2m`k_1b0>qTD(;iw=Iz~8yAntkFyK@L zbo7%lcX!y$rZTy}`(p=#t!Xle78IME4@GjXAAFc7aaRS3p4(Ht-aEMrNaCn^71rB z1XR2DnAorN8TP^B{I{0xbw9D4C-+{#Tt@6w#FbE>LMe$@;gpu7qDI}%Gr>lS?GQ&n znjsy%+p{uBwcT+dZ#w6CY5*4_?@wF8h@R&5Lm%yIQvD72bd z#T%2PGuL5_@}%myXSzxavtQ}!W|iwh_`i$g~kPWj0=gm7KXX;COAr{y_~T)jbUY=IPb#`%@gMl)8RA&vPUlNSr^_ zLn|pO&AdriA_iMW>~|f;+iv$=~tSkYfUNLt9 z8Gq^e1j{&S%h$OIl$T0f*)yhZ1`+Yr)v7fv=wqVC6xr?>hrA>!kmnKnE~GRm9@p%C zIBVZ|D+|T+Vr$D?R!@;250`k%Ka%loJW6yfBh#x;$y@*cjkvgkJ9@(D7X1+w=0n=3 zG7nld33?5I`7dGia_crH$~)Kd)6N|d zovZb*bA_K!Or!4fk;@OdV%Kt)qOr&MeBU4Q1pK4%l1ST`mn~}=i$O8*ZZzp+C>jrZ z5MzJ>a$R|98Y4JM?^Bgo&${fAy+->l`1ecU`~RfM9*F>=Lv3rI`grHuHxm=UkQ3^U$q~ y7I}vr?Xq=uBGoRu&*1-`srm1|P9oWY4k%MG3Yqidn>}-+3^S8euXq!{B|U&biL@JLi3WSMP86<8@s;-}yezeczww^W4w9jM$SWj%?(U;DaD& zjy!5jM=}ihq}p+!Ao&}qci>%-WUC^I`}$6 z`WL(%on?=CI=DESJ3Cwm@_Fm513{8+jv4A(2KLPin3+=#*Vp+3xepF=2bw~fu)$q} zcwN}It2E|>3PCtZ=j(xScvH3Msb*fs6Z5H(b-b(qe6DKx%rA$1t9Dd{lXl%LI{zy9 zy#2a-$%BsI8ZQWP`znZmAcQOg!QhZA4xmLsIEVv6q5*ycgoa@Mdh%!1{9VDnY2Fw$%~t$M|?LW`}@|?q3~f z6bn|}ijZ}?L39l)_nP?M;Rg5SS z9=~w=*uSBN5I9%(Vw&?dSrUU*=-f*&t#+qx+q=IoZGN~+<)cdZIwI{s_*VRmRxTaE zCbRJr&7*DF2S+^KNz3|%F`lc2_fY0jD~u1!&?gL7f;ner+oI5HGYHheXqNn}jy+XELubB6e+?#6;(59Tm0Vf*E=%h!dzC4$6-dB1eXn zouczziXvc!1->k+dyI(6QAToAW1zJ~{qJ#NF;y}>k`(qY1zai6fv2hMs$H1CU1d);WRb;R((&`0FifEf3y8zrB){1#`|B z30?wZazE_ZyZYZiY&`ky0yI58AGF$Pgan%vaat1uK@;}jnsz!2jzkN&*24) zD|m$S%;u1AHVbNCS|^Rg52Rv>mnJNuA|Q@OZvi5tX&ABpyU0Ep#=Il+)Nz&#(eWbS zzy$_pub2C>>NBJaa6N41DHNbJ7o?g1>-N(bOfH0M)?p0dCXWji=u;Z;@E4wAsz=qJ ztV+3o67%TGue-iXe5<sb0%N9Kl+7tn zt~fj#*7j6LFf6lQf<2!qXfKu9y38iguyVZ3r|l`tIEJWwo)a8UEF<;6s?73@rDfk& z7&hl4E(n(}N)Sr;`}9tl$J5%j<+OWCY>$X3>S#HjV@hCCl^+)=$`I!x1wYOnX^ zK*-vYuDN6wOsEGZ?v_q0^Wk;!m63KaK){iOs8@arqxp=3>kNJzpj@ zkG&91agu+p73D>yoO!V)1XeWCr9N3E_%ieuoD=&H! z4nF3j%6)$u62TU9y@&wAhw(S!4#1q-0d+WgSokf${C@nwXh`f)BS^_#MUuxv*VnTt zei>0axGCFL7hVZe&jpHkcrAbvS?tE#$Z!s3tr9_?({&DBTfgzJsKX>a%k@UQJo|>* zrxPqj_t-iq8n(WqAAistf7O9>JTJ42Tg-qY!`&nn0Z8GiSl@PKL^`vp{j|!nP92?Q zj7I|^7**Jn9yQilAOv_XCs@p|YUwXrT*%0@>xgp?K8d~Cdf$(20IAcTm}L}`bu8Ev z6O$!Ox+sgotx?{-ySg)Q%L;?r>CM9+{dMuW&s)=Zz-pzr0AhGCj9 zqfv&ZP)pII%3=-h>p#zs(A^K;C5=D3;QJ(W2w$(j!FHgU$=DZaL--0E&4wBq5PpL? z*Fmac2TG*w4x0@ih}X@Ac&*)QqtZWH>qP~`dEV1X?8 zbdVb6S4ZUXr$zL3lRHvhaKhj-xc+fx+qU|X7aXu6Kp<;mkPvhx-{ycI8hTY*W!m9n zu(0@y9|oqxwvO-Gp2>Sr795;zknZ)ci{@%LC^F0iD+q=s^)BOmy1=L0E)(lr9F%~q znW{rCn0;Xtzdr^M>Rp@+}1)mFzp3?_VpHP1c39{XM97yy@sUL$U zyy7$xP_gUB;3j{`ON_1Mb;)=AlKT0ZftP1#{TTWXzRzWWtuCJ*!{J-*T!7|Bzy26B zKmiE@U_GsOvoV+aZ%l(N;KHu11g(0xeFrpR&SDd?7Yj^$B7p!~m_i_{^3sY9h(O`a zg2)&dfNQ20Ul>neA8p!*;w&>rRRkKkD1e;d$*bTjw*O<1NH+rp7_ebAZ{$RWj6<(x zebTh+qGwz#OlH9npdz|nwAZ;)E zhw&L}Di5G8fJT)-L7YwkNDngvQ8=ftv)}uIh&`&86aE+f`O|TJvLDnx4en#C85F)E zMWi+y-G+l6y#r;zLo+n=;_2&Xi1pD9(@3+5!6{!>OFEPQWn0DZw+StA#L7NGFP}%fo44GM z^H$;T^tV2x!YQ6Ui@-x~<}Fi*-E-rIMHUx}93`anE(SiCm_O@t$*?y{7d?78WhzK7 zO%Ohk_sK8WC*I>*bv47UhG+@9w2>KfI|U;n&+j~c$gJ`W|D+tL&@ z@r<}}*w4YkzxM;X{;ycypp3Pzo!xk2y+pK)5p#R9ayW_I1%PZ79`B=itf^y*t=q-o zx1g*9<-b%eT2n=$E?K9sj&EIvenF|{jwbrTZM|Fh@$f<;s}a2Q3~bv|5UzDB13b3l znxzd`<>6wzpb7G_z(5QSeaP(Yyxk=q!FJQb9B(G`=)D{qG5SZ^0|Lv{H=()9rqsCL zNNu?jF<2G;I&NtRMJric&yJ~I5@Hb?8ZpG!qFT@y$)Z^}$gy$Tn+(}cAs=tZ9KS3j zdjnM44NgpyB=4u)Sk>WF^BGw7J^HIf4E2`S{LqL?z2FG`SMW}BYF`J9+*(7_xJ5~TaIaE}GO{4N)0QL{|P|KCffKRaQZs5d{Xa2k}9 z)OlpeTdTFZ&SwaE1w(t|w;&UKn=Uc4Pf{kFwo@A3aOpiQAfHS=7AI4|S5UHteonK6 z9NflJ*lM~{BD*}n%Aw{o=W>lUzu<&xEXjgrFP5dZ=c><68lk@O1esh+xw(fNY*P}r z7IcGDn(H|j9!q*vTF~)r0lqB+*Ym;kez&G8^BkVbZg(C9_Z!nQIFwkMA>Fy$veK9I z>mt3`oUzqoURyGSNM4|brFk+}B(vrtPm6Y~I5dnOE z=>2(?PXSuz&R1-lvM}b7xb3u?C^w4IS53aD7sW_j{>BA^kMiPa$+eTzlyBZU%S-pp zo?6yyc`RO8mAh(Nh##L$Y5+BUu?Tf^-x4891SJy^h!VvlW*wNDC?C72dr&!vKx9=$ zLL6UX?cNl{+kKtTrL<+qD;YVY1fi1hU5vmKqg2LkE1$6+HX11-ib)f`^Lnh3eAD)Z z49M(PT2yt8#1pUGuO`Z6NF@s>UlC8StF*S_bNi%)MxU6F#CDjbFD{&~6;WK?mzJ_Y zv-U>FiNPzOwbw+XlL(C^P1VGH4N*%_fE9nUSZF+zbg*RCi~8X>ANpNL{GhVvY+OhC zj>7^Y_tQ2CR9IhSRhYIk-Njqk1=;xszB_fUZ`Me2BMLP|8@cJDU0l;Mj0r9P8R7Za z*(Tjwb9BRwTH^Epp7DufQ?=PmQB!fXP4^3$NZQRwt=Jp*qS^N$?kieFx%e8i)WmAT z?klDlG%j`$nSXvc#;$g0Z}_um-M5u9FBp$owx$%j?22yoYwFhAt1J45T1{lswo*XL zX7AVCkBtx!^%N`{$V0nJ2JDZ#D0ON>G2hlE228{uM%)Z>2W)wqkBox;D>_Eb25Zv)uQ1lJmo2Q$W|SdLQ9# ziBD8RY`sGjrIXU%TqJ%jW*vJ|S!Op#e80Rud(>uMU6}_{D@lO%@*Q0xMOzxZf2*l4 zTn;3*=yK+1|BMG?)vhF$@rt^$N0-EjPd$$&@RVy#Bw!kVg1N8L$%G}Z#@F}1hI6exkSJ;TeMlt4;sG>q_~e;Zye5j4kRSPe5KL`8!&gfqd|3b@^tm1 zPsP->{9x-jvTh%@chxUS;2V_omfR)cXEj{kV426{Qcqf5(Gtkd9%ef7?$(So3##At+B~GbQX`s5~P>onv48Hnesu!vK%FM`FQ+(=dpk6Q8 zb3re@O@~_YD<~RsD+y21$2IuXapQMQ)@quAh8{DF28NIK(U#;IcP@DfM%*22UH7tG zoGh*p>yy`PxIs)e(}lSVSjgxhby*AS&Bf_T8Nq~?SItd9;X0U_$5V` zzo>b-@Dg)QCQ5m!H7Tsqh*P<=I?+ZqYBF{0CJpPw)TvN3EX(v$pDHxzo4Fmbm=_0e zXc>p7_su%I369wz_1Sghx<A}*_=Zzw+VbN||=kOfVW%Z{5D8Fx+{iB7h zq_X3X91fR2vL(i-JJrUs=}BColSlzlx3w^HR;zlkQN(^hc`5thrA&`P8#s~! z5q#yv^@*8jvMyFU%!4*3^Ppx^QGCJB7@f|TYt+^DX*I4sN_B^WRNvQdDmQN5xNnz3 zyukY&ugXTRLE4h8v~OttaImSJpLU^Vy#V;ylHn_eVMV%!m=HXKJv#@}O-K)@gHfHu z9ug>`uPuFlr&xfdwK#=rrYKpvm`$E*)M#EU*@nY?ym%cueqQK`HqNJKRA31-U1!gc zO7laOSKmxoI9u5sfne8bt*I%-1)@iO>3$V7=_965Lk{D$8JVHaDeMTJm}^wl^-6h6 zG6(I{UQGERNB$>z0%Z-#y~l>NKc?_?DK&1+cG2bfTv34n0Vmxq|7q@eoV?z3=l6F8 z`jMm$rqR-wy`Q3<;7gZA_@Y` z=dpGb1|4u-f`f6$Q32J`Wo-LvV7cACy(Y0utwJj;1Uw(2Q zE0yTcGBx+-pV|;USZzJPPcprdi5RCWof3&R|6Y(n&?#_}|F3$t|GotOz4`ll5BM`R z{LicbZQfrI{LlVd@^?M|rA7U#kv}K@15o}6_7A#dqSr<3q4yN&%Wo6vUPIvLn9&Kt Jd;|N)e*k`p`;Y(t literal 0 HcmV?d00001 diff --git a/images/sponsor/mackerel.png b/images/sponsor/mackerel.png new file mode 100644 index 0000000000000000000000000000000000000000..2d1b5ce12e61af0ba89ec19535b0fb3a2fe4a5f4 GIT binary patch literal 4610 zcmbtYc{G&o+n*W6m>IIgkSvvb28lL1Q>}$szQ6OH^ZxVx@jbuioclb_`8?P1xjxr@o^w6-ZJd=UKVlyO1OoA! zo1L-+fw-w45ZI8Hi-Tm_-^6lmnm9|l)24owoX3B4^&6?Fa2$jJY^~0Lb_{WM=-s)8 zqvnUHL|H+lef77@~`s!_r|jI z_S`j$YfxFtB{Ee|jMoB)qQ*iSjR6h-ZWI>dMRM?1Cc{R_=7QcoHC&4p4?DTX(MU^%VWe%ntKb*+pcoVk4NX@V%}PT3a}I4gv2R zXOHR=l`8dz?=R@Z%2RZ{@&7Hz)7iSGUTFx_i)55qonZBi2d%G3Hwv>3g$7lNmlU4@ zXSzsphwVJ9!dpNl{Ss7- zIu9SwC`*1U7}1^IJ?FR{iE~m@9gIGy_06|tPLmM#Nw>{6+RGlYv+c30HY9|3x>EM; zz9r87;*+~h+HY%;RsG04W`!ni#qS!Yo!(K zZWV{?YCU-Q=6xWSh*pKo`{yOZ;237diYF-UbDH!QmeR|+c0{Ii2l^CLqqzqq_Cr}Q;6 zs>0OEEs`cx`G7BW*2Z+ckk9oYT(@T!bJ#2gppH_RKRb5F$7w-=rUA<5Q`DP3UhuFc2jr*iO4qWCoHXTIK6aQ+Zb|bcbU!H9`OrmECN* zY^*UdnD)(1Z6xI>h*f?4?Qm;fP4ok;>u)L)VoBqNOOrtji$Z@8X_sT%NhxgAZdIz< zEv!{F*fNq2AbmVs)}d7D18pdVi+g$eN^yypBL``7|N0c640sEnKke)LD;X6>;C*#{ zSg@opq7+2M4BIQ{rq~~>EybgzIMm0@kE58pd_ul3henvu+Eqf~5E_JmJ+647mLSQS zk;as%p^wTLMdr3RE8edMV^l25M#b_sA-apbqeDi% zH|3gvK5mdJkg0%`l=al(wfeqQYmOyzyZSBLgm#t4mmV5o9TMl9$3j1Rya3=!=+vl1DC|nN45y z{2zoGl~t+-%5voFiQRu`I&NtqPayS43m=40j$kh9x|8EV^pd|WIYo!UR896u2OZ@vW`Wl%9JIza(Vq$mh zFQr(=Ao9b>%}Xlz53RFkHiUQV1-GgXO%QtG-6ZxHsqIC}`kCi=iQ3_h(!}ZYWyNyC z2HWou(4xOw$vPeW&u2|ETTq!|0H$=&d1&?0(t-@lh_JOHbwSzACejWwE8fM`wfApA zwEX6y!B-u<1=(%i=Vx)DVoHF%F~NOGikO^KMxTx3Ldwnjew@bZZx+ou?Deca%iyfkwInLZePQ z*3$o^_3nzO@{fpXt?bU@R+|i0v7qt2E<`@Hwk#ngP6u0KJt3+ z=`-)*4SGB3?^>x&jeS$mpoVeR2_y8*Pk5R|{hW;#6v>2SKed?o^``e!OVu`QR}+PQGyzeY z(#ZA~^HcXO8&!TLzWZa`H8r?IE)`VrYnu6*fu{kvc#$S!v6L$@_5%fsgRYeg(!&pM z0pV8PoD|3p{!hXM2|kCOSZ)xyRuZ_R01Ss;+d9u-KH_qK0CpLa!H7=3p!Y@Y!+e}W zX4HWJ2HFrqM;lW5qYKpQZ3$7&Ov$2KBmw%Bl@5OT1&#}N*KIGwYucYGhg+s@P=BX| z%38Bty&&6zsTuevAd^FG6;^Vg8Vu;vB}CwFEu;y;S=EPt4eO_nV7ndNx`bvu zfT&vPSLVlAvwRK*WamgS89o1u4YvPg1i)SuKF9z#2@;SL@6lEE zhWkr36desvvIbWfxT;|=hwuGkw-fGu{v}3aFKb;#K|tPpsm~Xiezz|jTTX@u@Uke7 zNG{;$iw{vcTm&PRcDCQzoaj74Xoluw7cjBZaAX-%nV?VAwGE8i*aGPkUp%{#PpEb`9Q4Ns>%IBA)nqEKbkfl$c`!qL0%;G z@DF|FLLrAXcu_O<&(?jYa)11-gNw8HgK>rRk%&lMGPF(T6hZVkyFnXWP)X;b-tYnlh(oVy>wgShw(TNXl|19p!E&bR!&}-1FZ-&@j zZ4-*iBOXOC6%ovODU2q)B#=V@SGM^xx**SfA*?*hQhoH-QbXwM@1YibUDb7VMEW&` z2X+2oA^Q_#PJoqaeb*%7wNQ-hwEOR$(eAkpg>QOlpJf02DL(n0VAtuGD_L0>(m4B) zC#J_)b`OiK7#sM7o|>4c`Ib?|#V`(qnN6y3<>~LgFgsr|O!%G5wf8-2Z2n|*D%3)5 zDva?-h^-Dn3!Z%>yl#HZIDP8om)7WssFI0d8~!nCN9HyuqMNGOo*@o}KT27R-$Phz6qNxq{E>H_x}zdxYH_%>(X`ja;dug;mCZP=dJ zjlvz5wDn1J!#NrsX59iQK$FlUF`fTxbWwYwaf(S+}L=x7@{1{juXeq{JZRuspZUudHJDjW- ziKDjc6_1bsn5mC6H6`C9JSfW9OeY>K?Cq2>b=`BRUqsq5G(?Ej>{Tu6SjR`vfM!+G zL(Cp)l^;5J#m#i&TtgorDQ^dpz@VO{ZseWA)S@y@MwHxEGrP}4-{&|CNfHBOAPx$c zWG~C707+dpXy5Sk-PjWPKKon(QI)E{m!d6A*|*Wu7%J4~+{gRgRRYAC;>?CfiZ#fB zHbR6C$var9`_%jZ58~!mKc`CD3_}<<4Z?S|N9PG|3vorMg6JeL zF$F!pP3$#a#l|5`17|9EHm@DSot+gy&YdR8yzu3QodCv=wFbbReSXWPPTJ*;$5Tfi zK6&=j;rYRl>m+qA7nzs7Aea*|Mcq#?YpgknX^unO=rX-A4|fzB@LFe;>Ha{r8`wG- zz_1O%>!XlwAG#d)+5<;4lV?V*Y+5NRt`Tp$z|YQ3$6Z!;y>01na4~%T-l2=R!u5if zpVfp zr_c_o>*VxEJrK5fC?YEMUGH_aP zn0)`a2b0>Hb+KE}QR3hQN^EeCy2FzIPv-5KDEU*zmUWNe$uT$0KB*c%yNCMo%w*Ve zVvdy4eWo=g4z;#H7yeNh1d~kv<);YKwWTFF7In1vFB( zZnEpx#P<5@1hA*NxTNxImP&!0k-2i@_;a@(?n`ebTP>8`+icI&BQ`sfu1up%&uFM~iS>IXoS$D-aDUR;l~6y~-J_MmZA0tQ&d~q<$l_l_@DpV_z|0Y= Date: Wed, 10 Jan 2024 18:39:36 +0900 Subject: [PATCH 2096/2563] Update en/about/website/index.md Co-authored-by: Sorah Fukumori --- en/about/website/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/about/website/index.md b/en/about/website/index.md index 1cdd6890c6..a590353449 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -54,7 +54,7 @@ Also many thanks to the organizations that support us: mackerel -[DataDog][datadog] (server monitoring) +[Datadog][datadog] (server monitoring) Datadog From 43e96ad69fe2c5ea427245597c4fac43338a4b42 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 10 Jan 2024 18:39:40 +0900 Subject: [PATCH 2097/2563] Update en/about/website/index.md Co-authored-by: Sorah Fukumori --- en/about/website/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/about/website/index.md b/en/about/website/index.md index a590353449..9416ad1a61 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -50,7 +50,7 @@ Also many thanks to the organizations that support us: Fastly -[Hatena][hatena] ([mackerel][mackerel], server monitoring) +[Hatena][hatena] ([Mackerel][mackerel], server monitoring) mackerel From 6f2402b4d6a04cdd005bcc23c29c3b4c73e5a6a4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 11 Jan 2024 16:38:51 +0900 Subject: [PATCH 2098/2563] Added RA and Ruby-no-Kai logo --- en/about/website/index.md | 4 ++++ images/sponsor/ra.png | Bin 0 -> 16715 bytes images/sponsor/ruby-no-kai.png | Bin 0 -> 6884 bytes 3 files changed, 4 insertions(+) create mode 100644 images/sponsor/ra.png create mode 100644 images/sponsor/ruby-no-kai.png diff --git a/en/about/website/index.md b/en/about/website/index.md index 9416ad1a61..ab5f4a5c3f 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -36,8 +36,12 @@ Also many thanks to the organizations that support us: [Ruby Association][rubyassociation] (hosting) +Ruby Association + [Ruby no Kai][rubynokai] (build server) +Ruby no Kai + [AWS][aws] (hosting) AWS diff --git a/images/sponsor/ra.png b/images/sponsor/ra.png new file mode 100644 index 0000000000000000000000000000000000000000..a6fc8df6bfba9f025aece79b11ea2420eff23441 GIT binary patch literal 16715 zcmb_^Ra_KW)bEheA>ECngmehfAT2o{jf5aA9nu{lh$vFhT@oVFpeQMVfOH9hgh)u- zHRpc!?LORx`#YR-a2Q}_@4eRg*EUX9Ta^%x77u|y5UQ&w=_3$m1Mqnw4mSK3m)xcd z{)gtJud0Bk9;W{Zf55i6tEz;!Lj9BXz9b#>EO#|iF9d?97xgb%1}_mEJb2ApT}%1e zEE*9SBL)XGeGWWC%L%>#dj2QkI|y8d?A zMK6pj{7W*f6%}#Jhv&s|#VU9XvheZ!68a#QY3ktX@PPP^@AHxL0hz3v)6btBsz)Bq z=Z^e4ywv3zs%Iv_!9;&z6~_5IOdj<)Ycl*1KJ#Gz?+dYPs6XH+(c}L2@Uq%}&nH#= z?>Vs&*HPar-<$UT_^r-3!d662_D)jM?#h>H*(mBgn^=8bz%|$AgD=8=PFOMVlZ28I z`$b}VKc+&{hfq5i)$qcCiJ$K4pJ~p|4@ca+yczPEI;UMu_j+xr2j`uQ*Yx zwe<7nPj7|q#aeXmC7f#Bn>YK@*i=XJ?qD3$lHfFb_tg9)h<7|Of!M?s#Un@1=9QNF zf2w^Z%vVw|?rFI|&J|y+alEMWq1`z&`u*YGhZ5MXCgpNs&ojk7Vz@R^)griP$^ThB zENri95BB_Lb-H0+(`t8qt40`2&mknT-LUqaNx%)A*S$|U?*6K8oBQ!&X>ARQiHQjl z8@s^&aGhGlPcWK*W?AH$k*8<NtA)c5_{X z);i%8_r5pfu_Eq>L z?tkm=ukR6UKHJyR;B^dhB*!sWs%Vd!3cBAS70Y(mA5&SzWI=nQ85u8Z;l>x%?nCa% z*QxR^KM8Y6jYKQiA=~Yqp2&Pjt!V6x@V3 znBiWrww}$#X`xGecF)3ZL>Dis9b%?_NM3JZ(N}RzC00tgp%!E#zEY zb;H#U79>t9&ITIt=UjBk4R}e_1VwA6srMd@*3r5Xrmay(N-!N=m*V&pU1^$k?{+66 zBV+1EyXdW{XhOOI>z?S?*l#ERrTGj0+126x{zw`|etO&Jvn_=PN)f>a0`= z<+V7y>{qm*w3;J{5v@&tdS0;Kf6cg1pXAC-UGVgSfB*RV`U*qIQL_cUe|c?n?dLadswBz(i_A$C zty=LWuGO97RxMOXs&)A;EaEhdnSMiuQpsulCS$o$#>*PtkS*7hs4QGkHADM3_ zrg1pBOpf&%<-91}=hJQQIg^QHT;Os`+z&Y!5N|NAm=W&l)m5W+A|<6DRY7p^U(pF8 z(HQRD8Q4m)$dM;|rQuKYys*E(wVOCq)PwNJs&PuSS+ll2{k?nl($doIpxT_oYl(Tk zO9t|DQev95N9=Ya*O}w}nFGSR`>1hC$|Sn2;tqP#Kj`568ZeNk7>{_~ulb5_z)G{% zSOLfB$pT5%^LkdaXU22U$on|Rb?jP1A3FI^xD8tE`ea)9xC^`T`*<-V`tnlT zBtS-JIgS}q>5EzmR|n#7>IHqub7Dp0uK08Dc(Lq_$Vn?Kyf_yAy5#G%jD1Si<<<3A z?Gn+Y81ifp3`61Lb$M16O`r7io<>#Zk&W^!nGJSdn12cnI{R6|(I+G-N+Fe#j2a2< z1Rk19=cIU{NmIr}`iXTuj;sM^fA47f*~tv0HCufBL{4@y+JRKKJy`I84ems6I5yXd zI*Dw<0nfu{b&LB^DWoK-++*bBkJe0+i#Uw)Cd%#%kq2zhQ=Xj}WMerpm{j?Fm7lzj zZu#4*)TnljUEd#a^RV{czq@8V92^|%)8hZVg!ZFxR&u7qYl^&#I4NZkp5Ztz;t<&; zKG9oRFXBptSiAe;ia)Q4+mdKdGvo?U>O_=gGv*34_$6U#J1%2Br6jp~=_Zu$^hUDO z+w1nNQ=NlHMr_`Ec@tgS^PTteg6XCrA zgD}OC{+8;^J7XQ8^2Vl##F#M+dnex(F_r?DV_)qJ`fZx(vVs9^%fuCOf)Z`yOsdzF{-7(U>W z4@$d5aid47-<<1|GQX?4;ySV;mB#caW3FATXv#?TMX|0o!} z$x_n~GpbPX|0p`@88xr}wJxtwN*Bq`RYgF~e@*$}9X(`it$CD*UJ$;Mo?D?)x3eH& z@T(b{#Ds)&&8b3F;_-RF28_89^EB`1k9~8Z6ZNx9Oo=f!?o5_x3b?m>6GsjiNZ50J zD~Q8#W_K1|v89!~5Jb-`)Sbsn)@vI6EWD~CoPPD{|6Mxb5)xqMO3r-cud@WJVyPIF|%TgDwwF~)16uBv4m|3WT zA3qj0zE!2FOWUb&jr_g*u)JM2o*?1-91Ut8DTeuwf36=J*;EqcO-!h{NpUc{3#n9n zJQ?S@w+iRKriEo<7v-bzV>vqNBJoDY!=llPs*u(2u`;qfpcI*j?M=>=b1CO7Qd)jx zRk8lPywSyQ`Yr17g73BGS;d@aL#<&e&-^uwdt~hCn+?C}sa%u4*OdHH+@}-Q9xY0{ zeJg{qmYwFcgucA8sT6e-{j+|;XUK}Hnz3;GhlnZyD?0?+lvy%4216gB^4r!wW7DkU zKczIWY9>U*Pi*no%9{Pwb|6_>I*7uFjf3RXefqly|M$$8T1-TxRx*ZJ z=QWktHKo}bI?nT<6Y4!L8`0CNx8%%3M-Ga&6dX1l`=Y&lNwjB^#IK3$4HqeMHZ)#U zH1lVA_L4w%2$4iEDj1fHwkoVkOT+bo;8`YGk+uAou&xM(k%L*ZA=Xc|P#aFx>$iQm zo{(Q}3J*vBoFh&3Qq1-Gk7{Uwx9}_L?d|Oe(hA?*OB?;E zi$vm8sfmiggNKI=cb}y{ed-Rg&Cbq_Sx%10xoM{MCObRk($Z3Fe7u6YyWrg1+~WHB z0}_Ke;wQ_?HXpN^!a_;~b#!zpZgaMXWMpJ;@$%lnevFWrl z(|wYvyDzdw5GF<9J4fmiSjnY5WnAJck~c{!Uxl`6n2y94w6mhYCcluU=0+O%bh#83 zFf-8Td{*)6E=jr1EP0K#+KQi-SJB9bayVBmrReT+Ru+~!-m{~lx|PT#y!&n5r2MM@ zY2w*blVf*R5(GLr&D`E|ycmEb@%}x};N;{~;M9n$`m!vqM{W_cuMF6hG#qeeIHPO; zGb?KW56=5jf8XtITI1u`VI9H$mN&-=jW);-M%CtVl3wdsRln!oOJAO>5VyR0mwx?) zZbEMwPNC~LniV39nY#I2JT5zyLHQ-tQ2CwKu{<6}T~FH7eNGiQJp#gb>pxdc7rpw8 zR$P)pl&gd>B!h3>u%90c2@HPuqWt)=n7+Qg`|g}%Le#$r9l0cqyP0``$GcCzrKF^^ zU_5>I?wxW)nj1|#pl18#CKrAzEUfAGf#Q#U&nIQ_o7w!DuJhZjYF=Dfv3-0A8?Vs( z=m+~T6%|#?OK~^kPVcjqFB24Fh;S`lrpR4Rmv5^vwLFm zd#nIUR`K_JY9GrvB?$*BDpkmMpSsB|voJ^*V2P)WJrZm5)nFR3*XPOL;^ImrSFyCT zB%l?+k$(J39*Lyo)XI(wING8yJe6eQ8?pgP)Dm#S6CWS1tE(IKaH`sRAen($`f;W5 z!(V@XPHc`B;R7g6jLfvA)_f`UrJNYb;`+yjgY|qoyu5YxLzIUCUM~nDt`V!`NcqS! ze3Qjxt4m5BmT8ae&yLnfOG!6g(-YC2hmS7omv8s*!gxRR~39P`@NUZbN-4MiU5Kmy9nM%~!nkXJ^*pIIP)dbL&45oaIp@8@esY2D1{%|aO_KBVO_jFS=mf|xvrKD(GXWwSXs5m>9cfFi4 zSZ&#*<29-joE;t+87VI}L+?86OT)4Kav&LIusKWr9xbU{S0MJ)8dnJ#7U7`35!(pO zHQ^2{bvm6%lP@QwSo&2)g_^X7#<^zJQ4bGo0;k z@4n`!~_HX%Lz;g}gR=*y&t;`LM~5s{QOHQrUwO&*3t$OCp1epK-*u zPY@d;xvKj5PaWHCISgC%#Z#CxI_g!`nY0|zOStFRwXLq&85kLL|M>BPx%~3-(r+!p zxYl`+N4??@PMhPm$`^W8PcW_#F-uF&@?FrmwWEcGhT4c;2d+wo*u&T>`ANrpFl%RJ z(XjTcQ%1Z9&BXMbo5`-K9P{rLCi<(c101E!jj@zpetbi$!ot^cgAQ;lLQd_UWyYIT z!6E2G_1KV$v&n4qYg5#-81r|JzcBkbjJ)mxz2ftD5`#1)A*~2AV>zmXkI*z56{xxKjo2|G$GpEEBQzdv zd})*3;dM;NAj;LLQQ29%)jVJ;eF+Cd@bNE`k0Qo37Ja>OWc<5#OD0--8+uF!&pTJY z#q%IEb8r8!(R~6$n{GXYUNRhrHg%N)HFiz=0p6;oWF0MTlM+3el}On7W1PaQCLB_H zVXDs8Gron-2FP?9PfPEuin@&a8gORNBah19HHOlleERbkA!)#qokFh)1P^ zQPI)y)f3K5Fa`v1V%f}+!sh7=>MDipvptV~?2zG}bafxN1oz(rEdsCpLns3oQk@4d5ei%T#!da*4?eC7cd(kHKS8k1_eQ)t7Ts^yazfFyZj)IXfnUqaM zZP)f_Ytp3QLDKgF)bs`wj_8Wz4)fPU3G_|^8TaA3)jH>dCP%40G&S!Fx;OkheLtKm zC6z4{H+0a+wx}_fy|DJamfhp;$C33vU^l8XLCev0c);;@b4>Aonwy(jw_=jW?ENRh zTMqX2)>oGo1wY&0zaMLQXx!y&_(<;c>(|s$-dyJw7s|(8zvpFL7CL^kq~<#jPzxfC zwx@3V5XWgUp$|s16FE81J*-q_(VTGcxuElQTeH}3?{=Cex;+sfp&8QhSPAsIO5p#V z<|>)?q;zx%Q0iHxVp`cEcVOsmzBR5k?>ar)U>Ijz#vgm>*1`SL{A-1=K;y%y;pN-^ zj<#b!x0rbb6OTAyz8W)pJAn<6h(7u`oEi_8k_9(+sW)+oBZGLRxpdlpajj{9D5?4##7IY~^R=cE)A6h!u<`%xZ0$BRyO znirHN&Q4FQ&rkNBGLg)6NTl2=+cLhVl1v}BxM)>)0rKZPdbHpp9{Z>@N4F*(ao1~k z-d|p(A8nOrr;X%!*s_GOPFo)i)bn8zP=__o2iz6@0Y_aBw6q5FbNKOM>~nVxrsZ`rrrsCTEW$2^hLk%s*?osCf)L=|7y93t*z}?(Os&Kjg}#&9H183 zK9GGh`&O$_mIwh&DFzFll37xcMp;>T)VXQ&r#F0vB7b~JaV(rb;rsYMf4u2s1IT+~ zhz9`Na41VlNzDjy7K)y(jtA{^T{Bv9`?EO~{Z<9N>qXvlc98R3G=e45$CE7ajf3Y> zh$Hij{x>S;#9N8)h;m0%EWgBzyvcTY_|>_|4{MKfjUv7GUAY;fUNAltiII@XkzAmZVp)-ekq-+pFWytC-YOl8CHw1D;fJ-oSxpePtDEG)2>vP7J&(~3BTmE9{@ z{#IpHFnhp1lKo)YX!iX$viVU`UjmiwV&@YOFvalMo`=AwjozhEAfOS(7cjUbs3c9(D2cNT^+{g{m7vAZL zxVC>ZWl0yAVQ(r(5V5)G$j-sR0<8+F)3@A#7X})g_@iDJ3?vK;uFnMz)+Ftaz8cquYqein-C`ShbqKRXC=af_R+14Z>%}G} zDt!pKzOv$3@%V0j$p zT7=G^=AT=Jd?#s3y6Up7aj)aU_x1H{KijGZN9)fG*y6s;poQpOtf5s8hX>sc<^s`QA~C}jrg6t2n-tM>OKZI6WgAIAD5 z0ta3MEcIaf$J`u27p2;Q3OcE(nP5_{z1xCH8IKWOC(%YL?y=Es)LAA-*oGTN`Kiq~ zoNikDR4Vdvd5t7GvPa}IO%GMe@8K%ZyB2eYS(m=Xk+eZq$52D0Zk>pCnl6`o+K$Pa zKd4(xVp%N74Y|H^eziZqv~B4GCy+Jyu^`cz*x(k4;yu09tIPR)x3C5RRf@kmng?&c zdUC}pfEOa>GR-`VRScEB`K^ksOdA?vBb^%}-8wKMl6cDNa-Ff*$@DIi)5wT?y&*V-7wmY?aYaudeoBk5b zI;frGjKiaw#i%gkSxSzyZ$V4Tv`aAXy)lr$6p<)(uxAguye5~;lH~MTVYvn~Lt-HB zU-=C8o+YMKse921^UoxfNWz{yBX@zO>;40f)Y8t5*3Ij1Hkw8;JFQF>a?|RW<85|Q zZ{*k5_>jEf2q|yZ!`b5J)Rt&s$h3zeSNq@#Z5OF}wwP-?G)493k8C8d5;LEMMpc{Y z43ad=px5>`PI%l5m_KKF#Tw!~t+E`cIBJ|;{N~N#yWbsT=2vrGBPfO6oGbjH>~SSq zOXdZURTD)4m#9EfB6cUjk3qh7Mb^+EE_drzsWk0HdssUQD4!3Bq2Wo?ew{FBV3JaBd0AJn%!;2)VtsN31Za zYTI=p?G{NEU!be6AAbMcV-{K2`;CfHS`(YVzypqVwW1AKNpP0!@wQ8INB`w9HBRea zDVN2ioqR#;MRd?MW4Df75|-YSe4Hh5T&kvIasKHi(|T{O5=wY@@#4kPpDIbTQB`Km zPn&b)nPZn*_Ftc&;e_uHiGRbyT;${k^Ah#NQ+}B&(JqKCKNzomb6>EexEM*Uf@twS z8^a z78cqX2r%N_EK}oHA^2i48~Tvs**6U=GaD=}J}(JW1RAiTmk|5BxONK7p`QB!h?Aba zzQX@}6At2ih0?gi0AS3)AOsC@?tf>OM_a=DS56p%8%jQi;{*a3!<4td=h9iQWJkSqN zW6NLAT%R88BGo9(@Y{VKlX!(8gVAQWx3vNZt%srRCnsgqtC2lE%M11P3E$fQu&l1F zsXq!`9VAVp6^+NlaKE#>vLa+RNV1fo7#ezhx{>QRRh@J9RfR^8g12|$=2_FjspTZ` zd1m6Mq*3jR*|f(d@re`#gI{hLE93ilA(tP3D(yV}0h%Mz z^VVDS+}{Eq&NPOjk$gt#_)``_0A%JHOG_+m$%`7x)QCI*#*V7Av|9G>JlkUrD#rHT zJ!;7&BXYQSVN}LLj+e+J#|XgU`P^Svla|Ljw4`d`J#q7EL(l6xR#aZe24>3SD$!TH zxfUi>`l6a)&YLQXP|E}wGS^Jd*Cm0R3W=pX{LG!%=9d)05!i&`3i+L3Xc&CE8;e~L zZ^)Tt-ewb586`mPJO`&VHZJbY^PBexLIte%=C zoqOVp?+1srL`snrH!p9`Lgv5@ zhe_lnGhVs3P`xhTdL`k34zjAsHi|33U_i*jgy7%Z26=zfQ3Mdo8xeOF_!=n<4fph0 zYFb*nD1{~JZ@5}LC=nz2ZwQx|+dO?n#=3`~tc=X!#)c|mED}mk5T}z9;XJ(_X`3`T zsP%o+cuBb1)IIa0jD>f>o#qC8wcuhTs8)e0+b9qRavuhwy}f-D3?m41$UXg+kdUAV z98TS7QNerbEAEH$gM>w?R`cZATEXX%#!(7SWCQ==AY(6)%4PU<~ zl;4eKGat&<*v1*jJ``{KgHg*gIWf$|S=~CSI=qwyoDF&vdI?cuGNZKWlv&G*Bpq+31|=dBXU>F+}yY{G&C)t zR~=T1e>ywm{rvp$U|Vnq2$aA&v9Yn)3kBk1l=~7{rQ+`|iFyrC#%w}Dq~dP#A`-rS z0RgNsGV}maR2DjdNf{Z50K7IF);86yBnPha6ZZD?Egh^4p{9cYPloA}!5m9JKZ$~Z z0zvOhT{aeJkOPXfb9koLsp;tx;SB>|7}rE3#K*gz>{*+41kr#tstRhj@U2@|zstBm zp4przA%@^ZG#UnW=j`k(-vTtp<-UY0VS7AKx{@?5C(Qvp$oWJ5E(TYMp2{XSbepXt_ z-Q^wP;erTWePveq`mxGH9JVfY@E>~L3zm!lGWy#gJS!Vfd8b!iA9-#S>2puN{tB{p zLq`%gSB^7{Wp5-hGc%Vzzqo}G7dI37EklmB3{k8d_PQ~^F6H3B6LLayxB;*_^PyM4 zT`SKrGM1VbLVBnygPwf2JR92D?rG|pZ}n2Wq8B819sJi+-D5RjACxnc9pEzGZhDZN zBjM3aG6MSaTh#i!4!!gjahV=ncUEgcCV}D!=#db5ne6U-6aOazNR%Y@l8zd`vut6O z$(DC?|Rj`S|#HK_x*2mN2hfTUkkw>mL&MKp-F>P`C}F zG<>2&N3miOIp^@;LGc)3Uiii5N>{y-36|TpEo#5$ai*)Q#4m5~vaq0muGb6O3xywnTNYVzS=Pnbc8$sqw6DF-w??Qf{5qn> z8lCPX{F4TO&2EzC82u9H!REpTIiNC!qly+DOG7Q^o&qiUWxX*>A+gUb0zPtDlNUh6 zIF7%G>+9Al(ziZ6SVNsrN&yQ#?!;o$85R-}LJ3%pe@$C^zvp8R2OESbXb%nGTGI5i z$;&9xu)ID23N%&D^tkyAY(iRt1YZYjZ6c^X!QeCRTM5YpT<?MEG?&-ZBq%5>tP8ygX*jNFtB3>lr}ps<^3V1ZF>IT#1S{!~9sv`= z6^%VFV20+D_0yM!XwNWOhv?-($}6On+_8p0FZkSXE-Ncbm~+`m6&2_t<+BwDNKhl* z6q*v4WMI~@WpfG$5PPkE7CL*{tYl)6rAI+B_1I8P&)U6U@nGm;q1EdKSdUIeLgaW@ z(76)vIN}T3|NV6ZNrXj2#K1EU+?6=88#eF`3NE%luSKl^oaA%pN8vw*bEIQ%$v9C> z37_gF`9;A-CMaV|AFeJ0Lar{3V*)tCBO)qxPVsPX1Ov6VrfP_x*+fQ1E0jzuK@Mzi zc=)YzDAc`bg;5o1<$Cq84+Z4!Jya(9=8I-@lW>D64B> zar3P1@#VRHBF!yq__e)_P7}W<`QRrP7UOg0%Rc@^je=Ob zUNE?B9&-7&}0GUQW2_r zspkWq?my@B6u=QLB|kC}tVH>n&tJZ;eN~Hd)buX&>Nc=%m%2}1dU`NGHtO20`H&1& zAnw~^rzYg62q9F{$L-VIcfU1=PDKO$I98g}p@SF?U;}K_?pRW`)T}Hn$EeW1-yKjE zxk<2?-<}l;$7Oy94h|B8?*R1-1Da%*LOx=so(s}r&dxmG-{LU`1YpqvU7VDONuc$E@4WxDbWW}Cn3!vbJn+o2ZaEN%&=R76Ip}H$@%Fj5 zgGW1p0|AuQ^5M6dKQf-J9#!Q;Br-@F=~EZNDTRXxF-q7q7HMg^n)iQcwO>iF`28-? z$xQ}<^Bu<74Ngv0KEBU;zt-2*tigFTske)>G6bzna{cp*2oT}UL6@vBdg5L6dgSWb zA~Eir#y*=jU$E+hFOq>;x!VK!yz2`C>A`k?A`M&HedrsDzkdsu-uH%?^romtJ^8Eq z>4AMkxyET!QI)_$CnxSl3myCyXzTtf+fXTJ^7+j2=hLPI|qobqFfs~HVd1NEdL;`Rs^vaPL z*pEJROy}z?80NU2fN42#&Qc5kA(>s}pQHH^t054Ad77Ti!7ui3=I)76qOA2huK0Qh z8_XU-m6gNqf%E{Lp~T~haq;lFVSEvGtLZ(<&-=5t*9mf(a`Ttr;eKfBm>>S$x^=70 zstf(&`DB$D6(}mAIEA8Y_Y9`4Wffgy-wZtd;Y-NM-wzWRtGQ|Q#5QRnS=P?M0p(Q| z6nqvW04c`GNOZWKkCl~G&}p0<26Mu0E*rsunE;sf^e5Ws>Q>@1Bx^gHJ?C8m;F%FT&;D)8w|~j z;hg=i_jF!RNX$tRQVYtDkI#c)4%%cAeKNudWd5iA_SD!Yo9{KCSjD!1v6S(dZ5k4i zFqGd?tgfc!UV8kq=EG$-a7yK=n=#vQuS6Th zOX=po3al0Xx3;g3JpQ1MHU{vk7?s@lJIl-PukrpgZVWFyK0ZFytS{)c)^!L5*?`7A z+gCFF*MV9Wu+F|wCsQBM(Qa8E&Pf2H5vAT9|6UNkE^rqsDmRx2&i4bM8Y%$`5rb`y zAIM4y^_xF*{-l2Ee!_Psn{7^QqJ z^>(tQ`$+X{zS%9;N^}&0F;!azF6ttXpm2vKFjoE&QaJ6GXWLoQzSVu@wP2Mmff)|A zFDWWu1Iu2h^-?T4NbRVIUec3Y%ylLb5YfjKAj{Uk5G33e5ekZmLbm+`C_)Mz6=jXG zib{08z#9?(mJsc!GijPG(P2tB{`JFmL9{+kGotUM;iZzY?Az&*Ac5g1d@38L!oiV| z7^8|PqY6=pew-#nDSUf-d&->HmVZ1PE+ewX^c|OH566z43s|aHSTKf%hnKIdP$L5V zY_iZAsuhkcf_af81?%1@J??J!+D|Q^&Uu_CWAMVRK{2_CwRlMIX*5+EhRF3)B z*c9vOA|MT9XSh>XOG(Uhn*e-qK9gERGl;s-&ry(l(mAO-_B8#Lo{>>B(C)D#$V@!> z@ZrOzzefQX1qFxytIwY`&p|Jm3`tQ?P*9q9Q&M7VmK3oaZ_BXB;LX@=gNZR0;@_c| z`@q$`8|@FNWv|R+IoYEi)rs&YWYu9|2mrg^ou90FK?uToca8>}^75{Uk;a*)|72k@ zR$6|TC-Lad4F3&qRR!ot$LTuV+&f>L+BQ)E0UZ$yg1qC{rmu2O3%CRcZ0mAa7Ve$^ z{|#5<^>DwyWr}ISK|mfy88|P9KRnqV1_#x=H%HNawE5i91OW9o%et1&TIy*M_uMT9 zb*mF?YXu0!fTr6rbMR$NwOp$M@aIf+ZR+K1V-JnQx$gM1L6DK7LY zar~qQgy8aK$@mLj9)Gx6f+_Z3qfoz$U6zI4|1<6FVQOqx?ljGw-@CB>oc`u8^Q+HO zvLT(Z7(slS6bN1Pd_2|+5Sdx-`LdDY5zP{0zIH+68o`9qTyk)MQPVT^PjHG@J9e2h9=gJG%eXlL425cW}p zERV8pNWQ=}lzV*JsaI42csi*50z}9b+K8AL7dTQUpq%6zRS=$LezbdPd5Nr|1T(%I zUHkJ&Mg&vq;L}*grWt46IhQ3MV;Kat$M7~-*x8jDlg3`mF!D>fn3B>F0wbe2?<32AfHu=WHmcu3%*+T7EO2me zY9&q~wFOBA%9H^t-M4=$vWlHV9)2SLgSZp;;#iHPTtx*3%xe!|4XbU7J6N)fG>{n^>NpsHmuXe_1lEo;(baDvCHF+^lSDgi%g_JlLgEj13GHLGm@C z>YP-DT#+MFD{9sV3XXD-gg128SN4f5S61>>v|*Tfdg2ohG|rTLCM{!F-o&^F>!a-M z@wm5po-|4+`DlvJ-wy}9gs_aFS-WC#89d?#hUKKBq>ew@nzSax%>(m`OkTlYqkN}_ zgUbP^>U%v0%F%iscuafX5C<_hq&@%sh}Uv&9E$ZnWOL_q65o^mm&q&#-%GqpTcdU0SBfp};q!@%Uj}Y-}q1$DS8}ymxnZAK026 zK+36p`bYG?+H_V436uKZ)Y!s85g!rHjLz89$wDYMlzxgqtN_r(Y=o6 zwd400q~f85Hb8K3{AN+=+pNv|y$UlFREF41MZwlwNAT?WK89&#R85UQ$H_8&MR`2h z;-?H=mF4MDJ+`q%!008~IZxZM=LVVdC(ALg2?VcGK&J&QOhGsoz=$FeIl~tE?agfj zqZyi(aVY7|&W@|lTuu=)8bWDcXw`A7Aj+-U0i*Hm!!L&_XxG|O| zfWu#4l|BX~1**uk!OsIr5e_eZ@jplt{2IPBb@{d3-%Im_aNn}nUxLaZs%7zopa~ua zhU!p`<{v;vlvMpdlav6p2hyyLo#+S&clk5LgQDja!rK}LTNO1(@_m@L-+e-Nl*{Q< zkjQL3rhzR=`?8B~N_GqYwEk@0V98|H zh{Eaf2;U#2Aj9gjLa5N5TC(ePc{K!9kS_QiAwj+~Zk^=Keb)wv9PxnKGxV=>^-++M@10zxg8P*3@oxdU{0Y z<*BOoKk!(VfLgr$$H1|CB7qZT<-=1kxi~z{L6mbe1JXQ;$YWcuV7q&Ic5ar^ia&B8 z!4ry4NFZc+`|C)F59amOWCefm_HGT7IP*YZj^x!b8H3fS(TQS3MS~YJs6uldW40Q z4~VQ_8-8pYI6BV6bW|iH%%}OC&BNt)vrIFULHM!oU!%|)G0e0lY+_Vk3Ix7={m41v zqa6x8*$KaxKqiG%^c!VV%00O)(K=&7kN@pL^OZY&BHZGFh*!Uhr1;~)_m*#x=)_fk zN-7N$V*Ft!8hIrd0a*&VWE5I~`I84y`QE`n_`7$~a3L+f2BkrQ1q&;IlIS3Dya_cA|ZxZU7A@dJ*d! zM`X?eCSd~2tp_Hb|Lv~~jFsKH0ab<$okazf0d+wU6BCmf&jOT=+reitUzs~WsZvGx zCRsUvpOs*A?f)#vEda3-RMyCnl9HwN6SnDD1vNDs)OZ8s?(QFk69`%h*?%H0ypYrU zrTgd|N)`c)?2qCaDz0+)MSOog@Ha~18vR@cT3gWR+VcX}I+V~P=3>%BB%|58ueU^) zxB5iT`EEvwv{#OzL+e{GJ}iUk#(u)ip6dRCS>v}HcLTL5V^rqQMSY(8SKrh=Nox+yg{16s2JtfhZk_M-?(v?$bcS%K1i$3RlhU|i-7Toa>03c4*#yTr3syRx zV5n(ol50MPW3ll%kO-wl!(PD6(+4Dd=jTBH*}n&wXBP{3uBy3wuU8g9{|cwjeeDwk zq(t%x3Q(JuNl)67>Fe?(Thxjgdm-pB$&@xnI|iIC*4wukfp5bdHZ^VSOnO6mNJFB! zz};tx5X0i$oMmhZ@HqF~a*i2(Blsrn-v{?#hmi&%(dPEua1L(@zGq% zlf*=V2xC5DpE9EglxJY*;B=RA1*$m-n+$@49r+KHJUsRl2Z{~2$WbR?A8tn!<%t%6GgaET)d4pCp=Dg;?k3c8Gpxvtm7ikc4L^XkgVAV-f?)c|Cx zCkHAn1m_$lfYGwWy{o{X9H0xx75i{=Pqxv1o9k|kp(rc{-b=qAts`n$(i*? zj7?cgw>d#3^MJV)k4b%Iz=2-fK8IR5hSJu!>{7t;=#M{@)Xc7Pzk+AT(ZjRD%I|P4-UEm zf4`4;^X5$q&z=?r<@Ahb#N7oD(b?JAtqxW{rc`EPBEVgU2Y6~W>0rp!ooYZBYhX;D zX%8Cv69~o)S<%dXg4A&;Kx(M_JNde5^MPgxgz+qsK7;y=oHmlkIBmmZm@RCZg>^(P zRZ~g_ksFa12*@nLtxvIlpBWk)(9P`)N@vZO0YllY4yLJTX;EmE=$9oXPZTKQLynzV zQc`m8<42%PPppIFSV|bGT~n;7QTPg+u-;S_MS^6Z;;w$Q;MH8nbF%RA;)6po_~}!) zMiKf@eY7nug{O#C58RGskn)xXF-g$*E0-cW`9xP>5sYoDkkd6Plr92f@&pv7w9HKG zBozz@SWd^3l-z)FiGg6U4JdvO*f^%I2c{Qroo~opb)lS&7cb&abK)8?V=tg;LR+rv z?zs0KKFGn9)krXd3XfP=Sg1uDQ>|{dlso6Q0~-fX3FSdBg`BW}{t^a-vkVj-X8U95 ztk~e#{S-O|h9tOU69mDe>5kxci$aDx8Q=Y)33{yd7Q4b3hropN{6jDi=nmo*90)SG z%M&&T(uTqLDBMUcb^-&6nTH2YpnVS=q&r(2V#hCD-$0y@IiB+hzwZDhQvS~Uc<{XB ztBmj&Z-|IA&Y(}-tGxA&jMV)4T_aT=gYVPz#AS`NN!So+gn;1#%irLP!;OWf)-#o| z$>3q@>7|*nL&yapF-f3nWJ|u84$O&sJ2Wz)>fs?|CrktP6>K?giu&lZWVI9z^>lZC z#xr>o`0&u?;cH0SfsMi1l7y^^Hmaa#I(N(l#@O=Z6lTv8{W1{^G7=IiYRSU3kx6~V zH`Re!>-ojW%5cxr-My>EiL@qeh4d@x?;uD<{k;G|Q+DshS8o5#o(}bSJ+bm=!YfKl w`G2nKPvdCaMEn1FQy*^4{ogP7KVP{*qpe@B$lgCwhF6AASJqalRZ)*XT&1x6z{v20^qL-HaBD-g~cO^fF-ti55YWD2X6?Ne~G#dd(A|*)72xu@9U{5U@LD7HAZWp ze0=q8hM+8Onph!k`XgbU0_tk~DiLrJgFqC{93^wD1Lb8e)1ga=04TZ}q!lBaq ze}4ibX(66oa0`Ua-?B(ERRJFi1`UTm!o$O*!eym`L%boqxE1S7)&Q9&4egsK2(Mat9H6RrbO)RC4}l!GeDKoyjvrInycvf4Tb86A0f1%!;2 z_CGxS6RoU*0zz6-M;if^SCE$0hHA)bE9ht|YH1)83REX~l zl&4Nea3KF*9)|n=2Mu%-|1ZmBWHhwpwG|Z<@^~>mxL*B4)OV)q@3x@&^o)SahGiS=@T7 z`0{(8gjk5uC?opv#zhH4%!T{y%QC6sFs#M~OV;Zcfcf_ozeJ82RPT7d8APh{;=rqP zp5b31bCVN4C+58rKO3v5$GxZf9Q*wFW=-`*-LvexJPtBaCi95*Tw^BnalrF)0Z7sT z0MMi&HP@)lm#M(#0PrPJ!=G?IOaPLa|2Oi?5Tx*?yNHNL3+M>nbK>lJ3Om_9JNXhY zvV=KMN?F*~J54d_*|~@d@2v9oj0G@c^W~`r%!MA>kKh-(Ms}u*J6eV7Zy${aj*3_w z>aTd)0I6qL3hWSfGFY;MxMQl{DYYJ(5WDAhU37N;SVR_C9_~0E+7F*WB)+)r%IC3b znp7i7s?!80<8-L`t;dMFAI;|@52M@kJ*dEhQkGPEz+6_^(vE_M84w;4%-HQ5OPR+m zPNZ9q+`08EO82Z}V)40wv@#)7#YY`F#>YpT*L0>3@ zl6Fn=b{6P9bH_bitXol(OY3Kf(Qr+jabD;O7Y1ATTUrF@{j8_egb`!whh2cmA8^Q~ zDfC}b&_ zf2AeA_wzvcqqO2HMmr-+t(-sv{%979uCu<6Y!i(dWNLh?()h?FVXjsnNmXsKX~hYW zgeERH^CHz3ETOQX-4->Z|dt-}rWs^v~x z1Zav)RWkqV5+%C~ACt;T;ChKJfnd1L-K0eUki*mCY!)?WLGJVjUQUnx{Eb|Y$96>! zYhMv(f?Umpru{=a8`CZgm&bL%KF6n0nZ-^*YK#;WRhG=!8>T!ntIjB74WzFiNX!ZpLr! z#~T50H-D`0C2;@z`Xt5BBS5OQAN5G7H*ugl+WAr6l~Vto@r4|JBxtPK=doBsQNE2I zFg?VnpmHT))~tbA7XPG^%O2 zs4bD__yhZKew2VRF7T6m!X&;_Pj~vMn}WovX3FWS+M4S`mQpWoFxh3STb6Q#T9b0+ zVemkF$clMW#oO9a+IiK8iHTta$K}O*KJOt0N%I)|S^YzQ!_XfiZ_+`8%8=UQ>Flf+ z^^6GTRMS_M0Kl)s4L(E}9Zz|ioepZCzk_|191vFkT4=(y9T+_k>`oF)ARX+z;8cF< zuT99NppWsW_j06P!`{OEOw);$j~t~ogB^#f#}cKUg1?mzHb7IjjoRd+&LA(l4&DsX zSzjO)@ArPjTgo)mT|hfMX7h6fSbH16)VDa1b?Fz_Wh=yDTi9<5k~Iqel-)Nm6N!Ju zf`RpWl)cOGDs&3SU=OxF7IWKpfd0|TZ z0Eou54HiwGmmnYD4qxfpj{H@QF&s?YP&H9JR0+YRbY7g&7ls!o5=EJ$#kTHj3i4)< zo!2I8c)<47SX1o#D^cjgzZmeUc=oToi=Zpd!bq=*v9u`*$8isO*`6|gP}j>2td@77-TxmIk?0K@GVgRcZPA1K~s~nl+%}KtDZp&EwH|p_ln>4J3jZ^0@Sgz z`izfaQ{qnh0%v(759LVP_!V!)uEW^K?*P8aB@!ca16jXt^qXlgRs3>j=z(TTu63G# z?%fA~83*>KhuMVDmkYdb0$ju6QR@#FtjbDIbCR!_x;*&LYYU8Nrf+e7E6u`_e&kEG z+b7;mw8b`2rl3f|k>qc_98s#ZM0Y-gH^s{LQF+z?Tr1PG_Xwwi zZnHGk_^$tEP=bZ6;IOLl@u65nm129pPBQ;Wxno20Lu?J2;DAj=K?I4Y}@<8;4fw=2v*{-&@>fPg2JmBVel zAjE#`>5_W&?w&?WJ>%i*ZD2f5+R5Ifk-@@eM?fi@HEyEPjV8WK7$15Fb8pCp(Tw8U zlY|OsqcH7U@cE9wW2v--j=MgVH_hf3e&H^erxG5D3;Xc}nnuleMz1RwF|Sdi)IQOB zhLFH@05U5t&kf_(!8moQT(WWkD1Plai-*V+zXX<$S(0nV`K3$V-4+*Ec;t@8VKJt zEWOmj7YTw&8bP`c<&OE3y04xbUeCr|6Ow*5`QNM#HQ2S|NQxFnqpClIGvlLdS$Sq+ zh44Q-VS^7rPo(Mw$xM=3k9y6YS!d&&4VcCbL+k1o?-yu+F68arsP~!srAYKH&%h2F z@T|N+Ekv&y+8+EoQa@QJOR~L2W!Rgz6!un)Y*bH(*LZtNomL_a1Np9%Qn227(9Zm; zvxfiiYEQm4+P0rCFHbilNQm;L;m=pv-kji%pVOiVs4&i9zry@0&0CAD6mpj6;=ilJ zBi>tzdb77(x7TBtikzw_csn3d>z5J43*VhFV0wpJvI|d*ING&Z86^ok`@r;PZTv`U z1CjvT)=>#EWSwcF?=J4B^!kJD&1^u{tYlyFq_Bn2y%nqi{^3q@l(nwk@H4k__&{vh zb4&;VtIto`T`!>CsBON%(Yd~6li>IG8LXgbg6Rkm#7Qi${`;# zOp|I0P*RqMjTS;1pvsvIP|BfNM};JGU&}YSor|7RF}^jG`%g`=(``d!qAYjJETBXE zg4bRxQ=~7cbey$V_W$S}FCLsS=G>N5crw(SwaRkk<1*gvnXb@mu7VUS!l;Mkrd;Dy4tcCRt?IB|W1Jq!jK z3{bfL-QS|9dHKHC!mV;~x*WZsN+_cq-zI^AquVygTa`UmRQWDDM=KL!zuS8Mt{|bkk95mPNaokRC(K5> z;C1=U{MqglclnMWZ)mK$fCF8D&L&%547q$qWcqWJ<>;8I%uFibFm@^pg{(dovP*!*0i8#L{<6u)@&)CeOS(>l@y6W_&Eb?srU3rW@YoA_wA!1L@ z6MS5tz2k?zgIcFPl8~+AbEVR4zr|EU9X)TZ)-?E@KdIt2E%_J3W8ZsGcV)9K@3za% z%1)T5zBv*~iuZqJSS?8?gSIo4x+{XT=AKtrRI&^Xux80;Fc#k=5H||o_w`5gQfdZ@ zrLSc~^*SFNTUAv|*VPwiZFm3|&Ar1v@10f2i!M`yhf5rJvWviM#LwCg_vk zDQ_`5i*LVQmOXILH{+SB9Q<8Kwe|i~V+b!l7i5}Bh+pMxX?NX#7_Ho>E3D-{&(HYR ziKgy-^?f!#i_(wL+Dmjpkwt52?BiyB`qhD& zO1!vQ{F{iS2kTxS&)~?C$8p38$v6pe+|ccMmA$UO4Q%BCTsH&hLL1$KQqv~Pm>otn zTQT_a)q{(R*E^m2S7#+0Dq_(bmOQ@?R17nZ_za|@d<)yRX@ZQzD zRK7YOS8L@xqMuaSG-z^MNV-ue%XbJjTuY9ReBR3(M6O4VH^}o!>%HIx&lMk!se)irroB>%Mv7o>j>F8>1c3uZ9ii1J!DWVv^7yrEwC_?D%WRB_Sd)3$QC+3a71&n)8)sOLv;;hYH%^Qe*S5& z?w<^mc`e5`SXo`o^oHVwxT=bNOKTaVDA-wWy<9$8lFGFdawY{qnfd?+-0D zx$wqB)v1Yr8x4NVb*t(vtako<#EPpDNU3CHHfMDZaeS#;HSM6@koCBp=;7owBnT18 zy_F8~Ra`tOZuI#;%ok~nW#9hAt+>}}v-Ql2Y*VCjOug0UuC2}`<4tLDz>8#DgU9#!-;hy6-9qG9C7nI^{5u3Jh0F(Y$N`c+omzbtp-AFe43{V9ye5uPwmp}97Io!a z)1Lz?3Zr!|ZqJ_U^o~{~6b5Q^Gp0ijbL##3_%9B^H$Tb2!m6quUHc{rpKI`|_jbOp z8|mQTb)peoypP8G!sGG$H^Zh8oM5`hvo?LkUo)bvM-1TnUAH5hddHc`r{fW&BE_B2d&HB)?!h<+}yB~zy6VR9jyx~bSZrQ8>-E2HE!Qsx5ZF@DjoH*+h@}pX8 z)(y;eBk|0_)xTa&l4gp1vB(Q-{5?^4STQ$rT=vi{LUH&3{&FVp#Jf*7IkL zR59X+(kb{Oo!(_ieDIftV`KH3dQ07IYExDPQM7N^cKBu(>vXQ|zu6X9$PizH(A7m` zvW63LdX|4TNhXM`FPY;f1AF%dgve^j@4d^kT9-#q*|((Ztm)cxz* zeU(jrCbda9YX{KUPWG7lMhTm#*tjL)5zRVkw$HP-RM^i12?BE@Oi>naJP;$;JDL|6 zHWK$}&2d8*Zbc>L!B@kJb5?^cpRkX~Xo)n7lny&orY0ueG1m% Date: Thu, 11 Jan 2024 17:11:39 +0900 Subject: [PATCH 2099/2563] update bundles --- Gemfile.lock | 62 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index bfadc88918..7c604506ec 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,17 +2,17 @@ GEM remote: https://rubygems.org/ specs: Ascii85 (1.1.0) - addressable (2.8.4) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) afm (0.2.2) - async (2.6.2) + async (2.8.0) console (~> 1.10) fiber-annotation io-event (~> 1.1) timers (~> 4.1) colorator (1.1.0) concurrent-ruby (1.2.2) - console (1.17.2) + console (1.23.3) fiber-annotation fiber-local crass (1.0.6) @@ -22,15 +22,15 @@ GEM ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) - ffi (1.15.5) + ffi (1.16.3) fiber-annotation (0.2.0) fiber-local (1.0.0) forwardable-extended (2.6.0) - google-protobuf (3.23.3) - google-protobuf (3.23.3-arm64-darwin) - google-protobuf (3.23.3-x86_64-linux) + google-protobuf (3.25.2) + google-protobuf (3.25.2-arm64-darwin) + google-protobuf (3.25.2-x86_64-linux) hashery (2.1.2) - html-proofer (5.0.7) + html-proofer (5.0.8) addressable (~> 2.3) async (~> 2.1) nokogiri (~> 1.13) @@ -42,8 +42,8 @@ GEM http_parser.rb (0.8.0) i18n (1.14.1) concurrent-ruby (~> 1.0) - io-event (1.2.2) - jekyll (4.3.2) + io-event (1.4.1) + jekyll (4.3.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -63,7 +63,7 @@ GEM sass-embedded (~> 1.54) jekyll-watch (2.2.1) listen (~> 3.0) - json (2.6.3) + json (2.7.1) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) @@ -73,42 +73,42 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - mini_portile2 (2.8.2) - minitest (5.18.1) - nokogiri (1.15.2) + mini_portile2 (2.8.5) + minitest (5.20.0) + nokogiri (1.16.0) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.15.2-arm64-darwin) + nokogiri (1.16.0-arm64-darwin) racc (~> 1.4) - nokogiri (1.15.2-x86_64-linux) + nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) forwardable-extended (~> 2.6) - pdf-reader (2.11.0) + pdf-reader (2.12.0) Ascii85 (~> 1.0) afm (~> 0.2.1) hashery (~> 2.0) ruby-rc4 ttfunk - public_suffix (5.0.1) - racc (1.7.1) + public_suffix (5.0.4) + racc (1.7.3) rainbow (3.1.1) - rake (13.0.6) + rake (13.1.0) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - rexml (3.2.5) - rouge (4.1.2) + rexml (3.2.6) + rouge (4.2.0) ruby-rc4 (0.1.5) safe_yaml (1.0.5) - sass-embedded (1.63.6) - google-protobuf (~> 3.23) + sass-embedded (1.69.7) + google-protobuf (~> 3.25) rake (>= 13.0.0) - sass-embedded (1.63.6-arm64-darwin) - google-protobuf (~> 3.23) - sass-embedded (1.63.6-x86_64-linux-gnu) - google-protobuf (~> 3.23) + sass-embedded (1.69.7-arm64-darwin) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86_64-linux-gnu) + google-protobuf (~> 3.25) slop (4.10.1) spidr (0.7.0) nokogiri (~> 1.3) @@ -118,9 +118,9 @@ GEM ffi (~> 1.2) timers (4.3.5) ttfunk (1.7.0) - typhoeus (1.4.0) + typhoeus (1.4.1) ethon (>= 0.9.0) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) validate-website (1.12.0) crass (~> 1) nokogiri (~> 1.12) @@ -136,7 +136,7 @@ GEM rexml (~> 3.2) webrick (1.8.1) yell (2.2.2) - zeitwerk (2.6.8) + zeitwerk (2.6.12) PLATFORMS arm64-darwin-22 From efb21e31eca2171484d1f420f2e694e723dd3468 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 12 Jan 2024 22:13:44 +0900 Subject: [PATCH 2100/2563] Add Datadog and more logos (ko) (#3181) * Add Datadog and more logos * Apply review Co-authored-by: marocchino --------- Co-authored-by: marocchino --- ko/about/website/index.md | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/ko/about/website/index.md b/ko/about/website/index.md index 3ac861d030..a0fc86cbde 100644 --- a/ko/about/website/index.md +++ b/ko/about/website/index.md @@ -36,13 +36,33 @@ lang: ko 지원해주신 단체들에게도 감사드립니다. - * [Ruby Association][rubyassociation] (호스트) - * [Ruby no Kai][rubynokai] (빌드 서버) - * [AWS][aws] (호스트) - * [Heroku][heroku] (호스트) - * [Fastly][fastly] (CDN) - * [Hatena][hatena] ([mackerel][mackerel], 서버 모니터링) +[Ruby Association][rubyassociation] (호스트) +Ruby Association + +[Ruby no Kai][rubynokai] (빌드 서버) + +Ruby no Kai + +[AWS][aws] (호스트) + +AWS + +[Heroku][heroku] (호스트) + +Heroku + +[Fastly][fastly] (CDN) + +Fastly + +[Hatena][hatena] ([mackerel][mackerel], 서버 모니터링) + +mackerel + +[Datadog][datadog] (서버 모니터링) + +Datadog [logo]: /ko/about/logo/ [webmaster]: mailto:webmaster@ruby-lang.org @@ -58,3 +78,4 @@ lang: ko [mackerel]: https://mackerel.io/ [rubynokai]: http://ruby-no-kai.org/ [aws]: https://aws.amazon.com/ +[datadog]: https://www.datadoghq.com/ From ec97e262503ed31eca38c7e2cf87410587f18c39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 15:13:46 +0000 Subject: [PATCH 2101/2563] Bump actions/deploy-pages from 4.0.2 to 4.0.3 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/7a9bd943aa5e5175aeb8502edcc6c1c02d398e10...87c3283f01cd6fe19a0ab93a23b2f6fcba5a8e42) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 323c2c518b..04f3caab47 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@7a9bd943aa5e5175aeb8502edcc6c1c02d398e10 # v4.0.2 + uses: actions/deploy-pages@87c3283f01cd6fe19a0ab93a23b2f6fcba5a8e42 # v4.0.3 From ae9c2b0777b41cbe7345fe2ae61bd286da4f2ad7 Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 18 Jan 2024 17:01:40 +0900 Subject: [PATCH 2102/2563] Release ruby 3.2.3 --- _data/downloads.yml | 2 +- _data/releases.yml | 24 +++++++++ .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 4 +- .../_posts/2024-01-18-ruby-3-2-3-released.md | 48 ++++++++++++++++++ .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 4 +- .../_posts/2024-01-18-ruby-3-2-3-released.md | 49 +++++++++++++++++++ 6 files changed, 128 insertions(+), 3 deletions(-) create mode 100644 en/news/_posts/2024-01-18-ruby-3-2-3-released.md create mode 100644 ja/news/_posts/2024-01-18-ruby-3-2-3-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index a0c0527617..9bb4c48899 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,7 +8,7 @@ preview: stable: - 3.3.0 - - 3.2.2 + - 3.2.3 - 3.1.4 # optional diff --git a/_data/releases.yml b/_data/releases.yml index 2a838b0b6b..38f38f3819 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -168,6 +168,30 @@ # 3.2 series +- version: 3.2.3 + date: '2024-01-18' + post: "/en/news/2024/01/18/ruby-3-2-3-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.3.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.3.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.3.zip + size: + gz: + xz: + zip: + sha1: + gz: + xz: + zip: + sha256: + gz: + xz: + zip: + sha512: + gz: + xz: + zip: + - version: 3.2.2 date: '2023-03-30' post: "/en/news/2023/03/30/ruby-3-2-2-released/" diff --git a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index 332794fdc9..8a6a4635e0 100644 --- a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -24,7 +24,8 @@ The `uri` gem version 0.12.1 and all versions prior 0.12.1 are vulnerable for th We recommend to update the `uri` gem to 0.12.2. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: * For Ruby 3.0: Update to `uri` 0.10.3 -* For Ruby 3.1 and 3.2: Update to `uri` 0.12.2 +* For Ruby 3.1: Update to `uri` 0.12.2 +* For Ruby 3.2: Update to `uri` 0.12.2, or update to ruby-3.2.3. You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.2"` (or other version mentioned above) to your `Gemfile`. @@ -40,4 +41,5 @@ Thanks to [nobu](https://github.com/nobu) for fixing this issue. ## History +* Append recommended action for Ruby 3.2 at 2024-01-18 12:00:00 (UTC) * Originally published at 2023-06-29 01:00:00 (UTC) diff --git a/en/news/_posts/2024-01-18-ruby-3-2-3-released.md b/en/news/_posts/2024-01-18-ruby-3-2-3-released.md new file mode 100644 index 0000000000..3921bcbbee --- /dev/null +++ b/en/news/_posts/2024-01-18-ruby-3-2-3-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.2.3 Released" +author: "nagachika" +translator: +date: 2024-01-18 09:00:00 +0000 +lang: en +--- + +Ruby 3.2.3 has been released. + +This release includes many bug-fixes. +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_3) for further details. + +This release also includes the update of uri.gem to 0.12.2 which contains the security fix. +Please check the topics below for details. + +* [CVE-2023-36617: ReDoS vulnerability in URI]({%link en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md %}) + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. diff --git a/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index 26979dc2d1..575749f7ba 100644 --- a/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -24,7 +24,8 @@ ReDoS 脆弱性のセキュリティ修正を含む、uri gem 0.12.2、0.10.3 `uri` gem を 0.12.2 にアップデートすることを推奨します。古い系列の Ruby で同梱されているバージョンとの互換性を確保するためには、以下のようにアップデートできます: * Ruby 3.0: `uri` を 0.10.3 にアップデート -* Ruby 3.1 および 3.2: `uri` を 0.12.2 にアップデート +* Ruby 3.1: `uri` を 0.12.2 にアップデート +* Ruby 3.2: `uri` を 0.12.2 にアップデート、もしくは Ruby 3.2.3 以降にアップデート `gem update uri` でアップデートできます。もし bundler を使っている場合は、`Gemfile` に `gem "uri", ">= 0.12.2"` (または上記の他のバージョン)を追加してください。 @@ -40,4 +41,5 @@ ReDoS 脆弱性のセキュリティ修正を含む、uri gem 0.12.2、0.10.3 ## 更新履歴 +* 2024-01-18 19:00:00 (JST) ruby 3.2 での対応について追記 * 2023-06-29 10:00:00 (JST) 初版 diff --git a/ja/news/_posts/2024-01-18-ruby-3-2-3-released.md b/ja/news/_posts/2024-01-18-ruby-3-2-3-released.md new file mode 100644 index 0000000000..a652ba8c36 --- /dev/null +++ b/ja/news/_posts/2024-01-18-ruby-3-2-3-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.2.3 リリース" +author: "nagachika" +translator: +date: 2024-01-18 09:00:00 +0000 +lang: ja +--- + +Ruby 3.2.3 がリリースされました。 + +このリリースでは多くの不具合修正を行なっています。 +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_2) を参照してください。 + +このリリースでは default gem の uri.gem のバージョンを脆弱性修正を含む 0.12.2 に更新しています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2023-36617: URI における ReDoS 脆弱性について]({%link ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md %}) + + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.2.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From c386a5a298f395645ba19a2d6850594976f2e8ff Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 18 Jan 2024 17:26:01 +0900 Subject: [PATCH 2103/2563] update checksums --- _data/releases.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index 38f38f3819..ba23f794e1 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -176,21 +176,21 @@ xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.3.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.3.zip size: - gz: - xz: - zip: + gz: 20577155 + xz: 15163960 + zip: 24734275 sha1: - gz: - xz: - zip: + gz: 7f553e514cb42751a61c3a560a7e8d727c6931ca + xz: '08e0016c8b96103930aaa3b2323081d8f5756e25' + zip: e305dfe36229c5328d231ea0ac03ae5e05bfaca6 sha256: - gz: - xz: - zip: + gz: af7f1757d9ddb630345988139211f1fd570ff5ba830def1cc7c468ae9b65c9ba + xz: cfb231954b8c241043a538a4c682a1cca0b2016d835fee0b9e4a0be3ceba476b + zip: 42aa39f74e5be9e24e4db47e7bfb15dc7e095f7e2295859b355edccf6fab96a2 sha512: - gz: - xz: - zip: + gz: 75aecd9cf87f1fa66b24ecda8837a53162071b4f8801dcfd79119a24c6e81df3e3e2ba478e1cc48c60103dfaab12a00cfa2039a621f8651298eba8bd8d576360 + xz: d2a1897c2f4e801a28acb869322abfee76775115016252cecad90639485ed51deda1446cb16edb387f10a2e188602d646ef9b008b57f27bd745071277c535f3b + zip: fd89a0a833df4b5cb1734a7ffc86a8cf7cb3a8e25944331db674d3ad7732f615867e7e214e1fdd61e44e9c9c856b461b46219b340de7c87a758f28f3a99dd172 - version: 3.2.2 date: '2023-03-30' From 85d0c4500924fed6b6373c9925a9087fe0758e82 Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 18 Jan 2024 17:27:28 +0900 Subject: [PATCH 2104/2563] Update ja/news/_posts/2024-01-18-ruby-3-2-3-released.md Co-authored-by: Sorah Fukumori --- ja/news/_posts/2024-01-18-ruby-3-2-3-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2024-01-18-ruby-3-2-3-released.md b/ja/news/_posts/2024-01-18-ruby-3-2-3-released.md index a652ba8c36..6fe81850db 100644 --- a/ja/news/_posts/2024-01-18-ruby-3-2-3-released.md +++ b/ja/news/_posts/2024-01-18-ruby-3-2-3-released.md @@ -10,7 +10,7 @@ lang: ja Ruby 3.2.3 がリリースされました。 このリリースでは多くの不具合修正を行なっています。 -詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_2) を参照してください。 +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_3) を参照してください。 このリリースでは default gem の uri.gem のバージョンを脆弱性修正を含む 0.12.2 に更新しています。 詳しくは以下の記事を参照してください。 From f073b4ff8afe9102b09babe370e8436f5f250f8e Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 18 Jan 2024 18:01:43 +0900 Subject: [PATCH 2105/2563] Update en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md Co-authored-by: Sorah Fukumori --- en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index 8a6a4635e0..bd0c251dca 100644 --- a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -25,7 +25,7 @@ We recommend to update the `uri` gem to 0.12.2. In order to ensure compatibility * For Ruby 3.0: Update to `uri` 0.10.3 * For Ruby 3.1: Update to `uri` 0.12.2 -* For Ruby 3.2: Update to `uri` 0.12.2, or update to ruby-3.2.3. +* For Ruby 3.2: Update to `uri` 0.12.2, or update to Ruby 3.2.3 You can use `gem update uri` to update it. If you are using bundler, please add `gem "uri", ">= 0.12.2"` (or other version mentioned above) to your `Gemfile`. From 87ba354fce87ac62d2a95f0429baa443b703d1cd Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 18 Jan 2024 18:01:56 +0900 Subject: [PATCH 2106/2563] Update en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md Co-authored-by: Sorah Fukumori --- en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index bd0c251dca..fd68aa5252 100644 --- a/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/en/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -41,5 +41,5 @@ Thanks to [nobu](https://github.com/nobu) for fixing this issue. ## History -* Append recommended action for Ruby 3.2 at 2024-01-18 12:00:00 (UTC) +* Added a new recommended action for Ruby 3.2 at 2024-01-18 12:00:00 (UTC) * Originally published at 2023-06-29 01:00:00 (UTC) From c420868e3cba5fb56f37ce30f9c9a47331db743d Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 18 Jan 2024 18:02:03 +0900 Subject: [PATCH 2107/2563] Update ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md Co-authored-by: Sorah Fukumori --- ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index 575749f7ba..57d3407ed4 100644 --- a/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/ja/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -41,5 +41,5 @@ ReDoS 脆弱性のセキュリティ修正を含む、uri gem 0.12.2、0.10.3 ## 更新履歴 -* 2024-01-18 19:00:00 (JST) ruby 3.2 での対応について追記 +* 2024-01-18 19:00:00 (JST) Ruby 3.2 での対応を追加 * 2023-06-29 10:00:00 (JST) 初版 From b20abac1413fe08bf88bc69116f466215e02faee Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 18 Jan 2024 22:11:25 +0900 Subject: [PATCH 2108/2563] Translate "Ruby 3.2.3 Released" (ko) (#3185) * Copy from en * Translate "Ruby 3.2.3 Released" to ko --- .../2023-06-29-redos-in-uri-CVE-2023-36617.md | 4 +- .../_posts/2024-01-18-ruby-3-2-3-released.md | 48 +++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 ko/news/_posts/2024-01-18-ruby-3-2-3-released.md diff --git a/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index b11eb1e597..2967eb048d 100644 --- a/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -24,7 +24,8 @@ NOTE: 이 문제는 [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/2 `uri` gem을 0.12.2로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에 포함된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. * Ruby 3.0: `uri` 0.10.3으로 업데이트 -* Ruby 3.1과 3.2: `uri` 0.12.2로 업데이트 +* Ruby 3.1: `uri` 0.12.2로 업데이트 +* Ruby 3.2: `uri` 0.12.2로 업데이트하거나 Ruby를 3.2.3으로 업데이트 `gem update uri`를 사용하여 업데이트할 수 있습니다. bundler를 사용하는 경우 `gem "uri", ">= 0.12.2"`(또는 위에 언급된 다른 버전)을 `Gemfile`에 추가하세요. @@ -40,4 +41,5 @@ NOTE: 이 문제는 [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/2 ## 수정 이력 +* 2024-01-18 12:00:00 (UTC) Ruby 3.2에 새 권장 조치를 추가 * 2023-06-29 01:00:00 (UTC) 최초 공개 diff --git a/ko/news/_posts/2024-01-18-ruby-3-2-3-released.md b/ko/news/_posts/2024-01-18-ruby-3-2-3-released.md new file mode 100644 index 0000000000..1d4d558eb7 --- /dev/null +++ b/ko/news/_posts/2024-01-18-ruby-3-2-3-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.2.3 릴리스" +author: "nagachika" +translator: "shia" +date: 2024-01-18 09:00:00 +0000 +lang: ko +--- + +Ruby 3.2.3이 릴리스되었습니다. + +이번 릴리스는 많은 버그 수정이 포함합니다. +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_3)를 참조하세요. + +이번 릴리스에는 보안 수정을 포함하는 uri.gem의 0.12.2 갱신도 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2023-36617: URI의 ReDoS 취약점]({%link ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md %}) + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.2.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From d90bcfa868729d08735f7bcf18acab8968426db7 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 18 Jan 2024 22:32:03 +0900 Subject: [PATCH 2109/2563] Improve 2023-06-29-redos-in-uri-CVE-2023-36617 text (#3186) Ref: https://github.com/ruby/www.ruby-lang.org/pull/3185 --- ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md b/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md index 2967eb048d..70194cc89a 100644 --- a/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md +++ b/ko/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md @@ -41,5 +41,5 @@ NOTE: 이 문제는 [CVE-2023-28755](https://www.ruby-lang.org/en/news/2023/03/2 ## 수정 이력 -* 2024-01-18 12:00:00 (UTC) Ruby 3.2에 새 권장 조치를 추가 +* 2024-01-18 12:00:00 (UTC) Ruby 3.2를 위한 새 권장 조치를 추가 * 2023-06-29 01:00:00 (UTC) 최초 공개 From 4b2c5de1003be0d2d9aa2c7cf47a9b58cd0ca3b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:40:28 +0000 Subject: [PATCH 2110/2563] Bump ruby/setup-ruby from 1.165.1 to 1.169.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.165.1 to 1.169.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/360dc864d5da99d54fcb8e9148c14a84b90d3e88...5daca165445f0ae10478593083f72ca2625e241d) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd177299b7..ef20b25d10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # v1.165.1 + uses: ruby/setup-ruby@5daca165445f0ae10478593083f72ca2625e241d # v1.169.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 04f3caab47..3c82bf0032 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # v1.165.1 + uses: ruby/setup-ruby@5daca165445f0ae10478593083f72ca2625e241d # v1.169.0 with: ruby-version: '3.2' bundler-cache: true From 2230bc0ed508c59f15dea5cfd5583cd6fa309e38 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 15:46:43 +0000 Subject: [PATCH 2111/2563] Bump ruby/setup-ruby from 1.169.0 to 1.170.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.169.0 to 1.170.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/5daca165445f0ae10478593083f72ca2625e241d...bd03e04863f52d169e18a2b190e8fa6b84938215) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef20b25d10..ab66b84f58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@5daca165445f0ae10478593083f72ca2625e241d # v1.169.0 + uses: ruby/setup-ruby@bd03e04863f52d169e18a2b190e8fa6b84938215 # v1.170.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 3c82bf0032..1e9b79cf5c 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@5daca165445f0ae10478593083f72ca2625e241d # v1.169.0 + uses: ruby/setup-ruby@bd03e04863f52d169e18a2b190e8fa6b84938215 # v1.170.0 with: ruby-version: '3.2' bundler-cache: true From 41f34c2d12f0d7be9c17ed8ef1a9abad44c45e70 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Wed, 17 Jan 2024 18:07:55 +0100 Subject: [PATCH 2112/2563] Added Works on Arm logo. --- en/about/website/index.md | 5 +++++ images/sponsor/works-on-arm.png | Bin 0 -> 9527 bytes 2 files changed, 5 insertions(+) create mode 100644 images/sponsor/works-on-arm.png diff --git a/en/about/website/index.md b/en/about/website/index.md index ab5f4a5c3f..cea0c692dd 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -50,6 +50,10 @@ Also many thanks to the organizations that support us: Heroku +[Works on Arm][works-on-arm] (hosting) + +Works on Arm + [Fastly][fastly] (CDN) Fastly @@ -71,6 +75,7 @@ Also many thanks to the organizations that support us: [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ +[works-on-arm]: https://www.arm.com/markets/computing-infrastructure/works-on-arm [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ [mackerel]: https://mackerel.io/ diff --git a/images/sponsor/works-on-arm.png b/images/sponsor/works-on-arm.png new file mode 100644 index 0000000000000000000000000000000000000000..4657de902df85f25aec062a37cd9351427ca7ac7 GIT binary patch literal 9527 zcmeHrc{H2b_jh8hc`B+^Xr?qL;>hZ@886Gha-qc_wn z=`nEBLrtn<@LG?c(D1b+a3z1%M!DZ?<%cIj%+=%9u-z|q<)reSe`lH1o8ik+3t{zS z`D_%~MT3UN|=*Ts?VTaCBngv&b1umV9A8e|Ful+Wz}@Doa}B z5nmtZ_ufy~2LJfHaAt>&am67wSdbh_i}9MLo}Rgpp5C7!(E>@k9Is{AYR-TCyj2d^ znpxwfDmLGYY{Anp!m6Lo?RDKo#Kd`**;M#0zo0=&_0&|K>tIW}y)CotY3}bpf3lw? zDV}%r94o}NVQp%8#<+?Ta>*jgDc<5HGLFXLW- zlR&4hT~(LKf05fD({EG}m$i2-_R71>b2FBm)wLPa zx28jH(`Pwl4*I37Vmdt20WI!R#;e=jrY?r$viIIq$kFc0OlLb$SAk6y@vWSji*;aMt1fAcOk?| zOKYF&v_hkJ(n`$E)I=Ra@Rdhn39dMKimxB7_5c7)9f}_sJ%;TPh54{ z^`Te+4Em`;^40>|nVN(22t*u6NnS}F3el%{lHp)&R*)tU>!xmrJo^U(?M@5qK_dC7 zD<}j71<3~~$`gq03NSS_H3cYK0S<@IG#~+&@FX+^f)5Zog!qMl#06l8o_-`x0v>dT ziFPFflC;2J+BoP>|9t&SP5*+&2mHYTjSmG1+D`!{4^{B>RrtF_07;)r1NpJZu@E&h9E*Ut!d0*s*S|p-;R8r$ zJO+0NMFW@jq~WL{)G%&pa90Qpi&dsUpfM0vC{zvNri8%aU@!y}2gUvk;ylrlR+VU< zzk78Eg*}8)RB?l$aaaff;id*rQbf2y&^R?X1Oru4bA`juO0KTTKcTP~^|J(`FPfH4 zPhYe1!c?Hj zDr#y_WhJPxvNGb=L_hItaKr#wB_3kJpz?}JKg|!*qD~8jMlAZUPH6x?<+NDT^@un$ zi9kdV2tHciLkQ5Jn-R|I$8e9+2j*lpA^m(B{ANQ}nB&tZ@Fn?tb0+c>Zi95a?%9sG~8zLI^;Ualev9 z!}>LZ@j&CBjtaq>tDM55d;57`QPgL|3(+gL^~|yeZB#v9kiHS z&lw;AKMuc{jd=+)$q_$8`v3qyUhMD(q~z$3X+ma_k*PlOJROizk%2?CP zjiQV!r-!8R4<>dr|Hw-Q8Z!Nyp>1 zeP$vWcGfjf9(-)};}5@{+0DetX!ShdRh|dlWS3Pg%{aAgEEKuZuv(IN#yEFu+1#{E zfVUhuRI}&oj%(s(1`YGV_C!3jq~$W`-{=nd+{)iheWy6j=M{ zGFS6TyFsf?z(M{~@MtZjg3a>%^aJggv0e9+Pm+f0so{~6Oq^!|-I3aimyX5Dp+Ddy zR2rHpCYEn~dujaLu}qma%6;dcldG;e(0!42F7v~eW?PGKf%qVvBF4cK6LnYrvS)7v z*u~MN$W7J$2=je9uy?pEcM3B+fsN}*h~gLD4kxD1qF?HM@NG}beqnv9#8p+%A=StB z-NY(XYl}R!$5S?xsSfVM*&4_U%~y#F+C3+%#t2<%3Uo2KbQ;y%{ z@|A$85ZimLc@v(gIrILFYsNEQz9sc+k3?8672LdVg9wTrdT|ywl&vnpQI?I5JC_BO z&F;AZ_1s|B(~zZ#sD!wQYqDNn1+9bT@87RUww%|zf9oYbW7-6nQ}`P`55H#jY={us zS!TX}m1@t@b8YR6MBY#$R)a0RAb&;REifbEfSuz?7r!J!IYSEDJN@rDdv>rOS*mqx za4-s0B-nNev<5otn+f5K9GlKogR4kt;&SbgQU6tjm1X*3 z0H?r*($Kk7jJ)(jun!-&W5VyFtmXo_vjxk*Q&e|9sZ4e=F5p9j|b_*A31I(#J}@Q z2~UJ&L$zs5<4XC#7QuMj!0D!Z0f$|k`_&qH4r|mT+jhiq?Q5fslBF9$0)FS;_-}m> zrRG+zgyV1nYqw=|-PnZ>vX#S+jx+-=-`nNiu*H30W1B1j{C>X87|YV?EyKTC{~PNZ z(5`TVwK&>g6FJig740+Cyg_jB%>{tJPOf@PoVO=_yq7hUfarIH z*2OBETYd_EwlYv@>E|n;#uq#B+%&ev4Y`65>$Y zmbK3VO(EW(Z-Uf4v>;heg&eDNUa}Sszmv@suGT#Erb(sWTZU-M(Y$Dvsg}EM>`CXk z|2RXFlX;Q6OSGbHV8i1NXaTK2&T?mJAqfE3^pFWq)t`y+6+8RaQF(pmp;B^HG0 z`fNI-W8n)hdpQNsHwUCeEP70t#9e1E+Rf*=3eZ?rk zE7rDh^Eaygxab{|I*qF*coynqD}(J=Lkbsve8a_E)x1^CF3#|rE|}7TWv+ciEB&dE zZW*DN`iP{S$9gYMNGEZgJk`0}92NN_kFL*#(I%!;yo+EWujqF%KPsaG@N%VjAo6`B zzgb^0*>4#Y%njzF7D&Bk3UhO63Lo;n0aWBbUp0NiE&^U}C?wPECA!AIo;|jeuv#$D zPImg8t9cs@PsG2TdlHMkWD8Yc*pO%)-Mo2$VeHl8$d!O%4odg}TPZLlYO#VIU=zz1 z>8>cg`9mN!{9-itJ2vxOptbxU~y^UUasmX7otwSB%#Lb1-LuRr>L!dbKTR zXM!#UxdRInhop+>;}#csKVzacaZ@=b`_3;q8mK;(bP< z;?9^)OhxHkFt6vhUD99!-ncUgs2O}g<`I8UNy})EkV{% z{~#uLpu9@${t=#(V7o%;YN_Ob!o0lBvgMclVi8Gd-A|=l?1x_EuZRqbyQaT>EOrt) zl&-Yvg!k2=Uh6r#d0*Ig(_QJifR*I~1qbd@ zi(4soN5(KIX^Yt4C4|Sd_jw;$1a!6M8i5TS_Zc2AhApM%wq(wJey*gy2B)@tq&-ex zlP}Eb>ggtz{KI!};fRHe z?^MVYw$N3tDZ6Y;0pL+Rl51)1w{b=eQ4{rr7DxVa?gZKGdb{!wT|q>#Bzx02SYqy3 zu)Qt8L}6YBmomof8*ge>qHFKP{n0sB2|4E-`6kk^ZL8}hzNn%{nMJAQ#sgJ>-wW6k zzjKdzj(8_ns@UHrHzE&ye-x7dBScJ!Zcp@e0}?y9>)tW&z@ky|%N~H%&BWQ~3 z7ieBedL{&GexQLYZE}ZQc%zZootjjy=QZ39;iC}1|(XJxap>dhM(!fT zRHjiU|HxXBwfYRWC-XkxDE0IO?(GzP+`5;-%T2H}@It<@yeWHxzBY%<7spI4ndg3eIg*WYtR!-_Z!W1xU&XITjvz%*s*$H6QRJOZm*gk_q0< zwzceYcl&|kwU>HXOC{PilYQ(-XFc( z$UZ9Iyzr%GrgVq8+Gtg?l+;b4W2$s)BIhfXj*S=dkROeDs630QnRW(&A!P8 zaAtm|qMW$YTOd$U9XP-yt?1J+9@Gray}M#P_}O5ds?mHNi45Z z52^mpMFzMdUB(M|59o6 zQCt-D{aU%XluE}O|GgcluhRIP)T`ZU;$Q4yP#+?qi(kc@jlOWfLAT3NCG#Yu>UqV& zZdj*R7qOJmfcy>GP{`Km_kLaDjGz_!jKKhODvP#T#_9rP<=7QNXEm(X92iG_C^5$m zBKFV5Zw^|&D^xZwKB=i0fyyZ%stxyVwC10!yEl3Z`jXa<;kV)2?6KdZ-%IRPtsm(T zuIzTO3U;=&cvBo@Rv`)aJT$>0zE*u~~lJ4y~Se5;z&c zzUd#;Vo*JP|NIv}f3*!Ojl|MVsy&nJLze9txrM?(4F%w!+(&~})>?v;VRNh{V&4(i z8S1m$*;wdO1L^E939q(iKeZ>{ZuM0wgi?O}0)y~}t?t&H3%PMyjYn@*>9hCxe$AmtTssE&c>b~cDP#6?*6`A6gPc&k$iZ%=O?jZnH^@2@k{ zaGv@W>NpZqxR}g@B?p#V(Sol$9*~x(xR<}jB-~}wyx1tCjrJRtS1~EL@ofJhYP|6r zD<5w5U;vctS+sGEG2W_sU$uTF8^PCDdf=ap|k+^9eqml3a%(QAhA z*%eF3kI-JnlU3MU&Kg!Rs@`ihI+okT*-?yv8Uwig|4aSta~M`dC#eNy3`GgVjn6LQ`BGTIfReg7g0x(f**vnd0LTs{?XL1)lWc)s8j@98= z5gnfYw)8BaW+wo#)=2JOecAkVO~y`#>E-vz4$f|pZHMtWXGg?85rDaQya~SFCv%kwEV7`nn*~g99ZX06r`$j6>CTm zYO57HaTnI6X3U1Q~S&GZQEq@4FS;iQ+w%IVD*Q(Fs@iQ5{`-30Pvk%xwI##e2< z6d#J#iEZD@I%TjU-*0n`aa+wqV?|GYd?Oy(q&uUqY4&!ItQTCVyPS2$+vrQP?+a+b z#e%bB>QYp1$OyN99coo++)YJUB#HE<^=`oiXU%ljAURe3=(!{dO=Dd41G>qjt)#Gt zt)Y7__%iTy(gNB?8n}mX!V|AI80X%6Ht4`T5d0j4)1rC>%c4@`ia)ZZNk3X~^l(KZ zXFIy{>y6RQqD9|ar;_f2N9hFVm%-~;n8q~Z2QSO$A=>@^Xa@!22+>j4}-ly6h7>0!}_Lp$e{G1J#FxUuueXUb3@>#~# ztY!4QAo)VExxmOy3KY+P`dB5Wf6Q^W=AgKLwSbsYr?dI|@pM>)j&D_8M&;Fy_>@=T z6I_%`?P_TjLSE{k?ruWKL8MK*{bc&X?$sVjTDYS7}2F6+wSzmkt- zyA-K@EIzN$_M&~OO?3USHKYmb3>03&Bc=eiU++zH z>@PoP&62C;7U3YbkG)D$sq@=)=l3dsF zU`|>8S3194?bKm$iCRP6R*J2fgTMT|0A;TPNhltqaO%`QdGX4TC3MxH|F`zm#@S~q z%b6X_&x0JE2d+pC1|57-5ZH5ONxPxe`PuHvmo(?@%QKjPC2AhV%emr|RlQj95&Fpo zr-e=ezB5SW#cD_&@Hk~li5-; z4$^FlbY>E`2`@5d(NGt_cHgnRUTAf*cIn)Fup}Mw;)xXF*fxrHMC1y3y3G+4{Z+bK z53G>Irr|Jmw(CCOmB3x;EtLLrDRsEVn#EzRl&6rzD$Qd)LbeCEYGikW4&HAvxBIXA`Ri~yu`%D{=uDZTGT z^aod+OJzOnYff)tO}V>9uQhOQJQ!DU)V4r(4aH8x7REeLnde5@02Rd6mF62w zyri5hhts}B?b^f`iM?6#2wq_ll+l5h&sbA5pX>*E|KPo-&~RjX^AjADGih-1*w~Bf fjh~X Date: Sat, 3 Feb 2024 15:25:11 +0900 Subject: [PATCH 2113/2563] Adding Works on Arm logo(ko) (#3191) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Adding Works on Arm logo(ko) * Hosting to "호스팅" --- ko/about/website/index.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ko/about/website/index.md b/ko/about/website/index.md index a0fc86cbde..609dd598ff 100644 --- a/ko/about/website/index.md +++ b/ko/about/website/index.md @@ -36,7 +36,7 @@ lang: ko 지원해주신 단체들에게도 감사드립니다. -[Ruby Association][rubyassociation] (호스트) +[Ruby Association][rubyassociation] (호스팅) Ruby Association @@ -44,14 +44,18 @@ lang: ko Ruby no Kai -[AWS][aws] (호스트) +[AWS][aws] (호스팅) AWS -[Heroku][heroku] (호스트) +[Heroku][heroku] (호스팅) Heroku +[Works on Arm][works-on-arm] (호스팅) + +Works on Arm + [Fastly][fastly] (CDN) Fastly @@ -73,6 +77,7 @@ lang: ko [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ +[works-on-arm]: https://www.arm.com/markets/computing-infrastructure/works-on-arm [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ [mackerel]: https://mackerel.io/ From 40a2b48ae2b3cf38afa4aa8de70b8b678c1d92bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:49:02 +0000 Subject: [PATCH 2114/2563] Bump ruby/setup-ruby from 1.170.0 to 1.171.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.170.0 to 1.171.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/bd03e04863f52d169e18a2b190e8fa6b84938215...22fdc77bf4148f810455b226c90fb81b5cbc00a7) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab66b84f58..09853e02e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@bd03e04863f52d169e18a2b190e8fa6b84938215 # v1.170.0 + uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 1e9b79cf5c..1186ccd162 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@bd03e04863f52d169e18a2b190e8fa6b84938215 # v1.170.0 + uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 with: ruby-version: '3.2' bundler-cache: true From a88eb30a9278a7bf93be9085e99a41cdaa7a3b68 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 03:47:49 +0000 Subject: [PATCH 2115/2563] Bump nokogiri from 1.16.0 to 1.16.2 Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.0 to 1.16.2. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.0...v1.16.2) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7c604506ec..80ea67e7d7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -75,12 +75,12 @@ GEM mercenary (0.4.0) mini_portile2 (2.8.5) minitest (5.20.0) - nokogiri (1.16.0) + nokogiri (1.16.2) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.0-arm64-darwin) + nokogiri (1.16.2-arm64-darwin) racc (~> 1.4) - nokogiri (1.16.0-x86_64-linux) + nokogiri (1.16.2-x86_64-linux) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) From 8597cce2b91541392e9069ba782f949d6017903b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 6 Feb 2024 06:40:05 -0500 Subject: [PATCH 2116/2563] Translate "Ruby 3.2.3" Released (es) (#3192) --- .../_posts/2024-01-18-ruby-3-2-3-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 es/news/_posts/2024-01-18-ruby-3-2-3-released.md diff --git a/es/news/_posts/2024-01-18-ruby-3-2-3-released.md b/es/news/_posts/2024-01-18-ruby-3-2-3-released.md new file mode 100644 index 0000000000..db09dcfd40 --- /dev/null +++ b/es/news/_posts/2024-01-18-ruby-3-2-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Publicado Ruby 3.2.3" +author: "nagachika" +translator: vtamara +date: 2024-01-18 09:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.2.3. + +Esta versión incluye diversas correcciones a fallas. +Ver detalles en las [publicaciones de GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_3). + +Esta versión también incluye la actualización de uri.gem a 0.12.2 +que contiene una corrección de seguridad. +Por favor vea detalles en el siguiente tema. + +* [CVE-2023-36617: vulnerabilidad de ReDoS en URI]({%link es/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md %}) + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.2.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Notas de publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron +reportes de fallas nos ayudaron a hacer esta versión. +Gracias por sus contribuciones. From 85a203007cff790204628594bcba5980cdaa1cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 6 Feb 2024 06:48:58 -0500 Subject: [PATCH 2117/2563] Removes duplication of feature in spanish post of release of 3.3.0. Closes #3195 (#3196) --- es/news/_posts/2023-12-25-ruby-3-3-0-released.md | 1 - 1 file changed, 1 deletion(-) diff --git a/es/news/_posts/2023-12-25-ruby-3-3-0-released.md b/es/news/_posts/2023-12-25-ruby-3-3-0-released.md index 99a9a8ec6e..e338d9e62a 100644 --- a/es/news/_posts/2023-12-25-ruby-3-3-0-released.md +++ b/es/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -77,7 +77,6 @@ llamado RJIT, e incluye muchas mejoras de desempeño especialmente de YJIT. * `--yjit-cold-threshold` se agrega para saltarse la compilación de ISEQs en frio. * Generación de código más compacto en ARM64 -* La velocidad de compilación es ahora un poco más rápida que en 3.2. * El recolector de basura en el código (code GC) ahora está deshabilitado de manera predeterminada * `--yjit-exec-mem-size` es tratado como un límite fuerte From 2f9ee067123813e2bd6d404e22d2435e3333f1e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 15:35:37 +0000 Subject: [PATCH 2118/2563] Bump actions/deploy-pages from 4.0.3 to 4.0.4 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4.0.3 to 4.0.4. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/87c3283f01cd6fe19a0ab93a23b2f6fcba5a8e42...decdde0ac072f6dcbe43649d82d9c635fff5b4e4) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 1186ccd162..2076ec8822 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@87c3283f01cd6fe19a0ab93a23b2f6fcba5a8e42 # v4.0.3 + uses: actions/deploy-pages@decdde0ac072f6dcbe43649d82d9c635fff5b4e4 # v4.0.4 From 11b8114884d2873492dea4e95a81bb12d29474a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 15:35:33 +0000 Subject: [PATCH 2119/2563] Bump actions/upload-pages-artifact from 3.0.0 to 3.0.1 Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/0252fc4ba7626f0298f0cf00902a25c6afc77fa8...56afc609e74202658d3ffba0e8f6dda462b719fa) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 2076ec8822..3b6d16b7cd 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,7 +34,7 @@ jobs: env: JEKYLL_ENV: production - name: Upload artifact - uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8 # v3.0.0 + uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 deploy: environment: From 400baef8797515d9f134875ca28987340e73688f Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Thu, 8 Feb 2024 10:47:40 +0100 Subject: [PATCH 2120/2563] Added IBM text and link as a sponsor. I don't think that we want to use IBM logo image for now. Because according to a discussion with IBM folks, if we use the IBM logo image on our website, a single individual in the Ruby project needs to sign IBM's trademark agreement basically to make sure that the logo guidelines are followed. The individual is either the trademark owner or the website owner. Considering the cost and merit for us, I don't think we want to sign the trademark agreement. --- en/about/website/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/en/about/website/index.md b/en/about/website/index.md index cea0c692dd..a510904806 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -54,6 +54,8 @@ Also many thanks to the organizations that support us: Works on Arm +[IBM][ibm] (hosting) + [Fastly][fastly] (CDN) Fastly @@ -76,6 +78,7 @@ Also many thanks to the organizations that support us: [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ [works-on-arm]: https://www.arm.com/markets/computing-infrastructure/works-on-arm +[ibm]: https://www.ibm.com [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ [mackerel]: https://mackerel.io/ From 226311532919a39dc8d59d78300dfa0e414f5bd9 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 17 Feb 2024 18:24:11 +0900 Subject: [PATCH 2121/2563] Add IBM text and link as a sponsor (ko) (#3200) --- ko/about/website/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ko/about/website/index.md b/ko/about/website/index.md index 609dd598ff..7fef1a9446 100644 --- a/ko/about/website/index.md +++ b/ko/about/website/index.md @@ -56,6 +56,8 @@ lang: ko Works on Arm +[IBM][ibm] (호스팅) + [Fastly][fastly] (CDN) Fastly @@ -78,6 +80,7 @@ lang: ko [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ [works-on-arm]: https://www.arm.com/markets/computing-infrastructure/works-on-arm +[ibm]: https://www.ibm.com [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ [mackerel]: https://mackerel.io/ From 69f5ae37647baebd4c618231bddcdbaae6817fbc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 15:41:56 +0000 Subject: [PATCH 2122/2563] Bump ruby/setup-ruby from 1.171.0 to 1.172.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.171.0 to 1.172.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/22fdc77bf4148f810455b226c90fb81b5cbc00a7...d4526a55538b775af234ba4af27118ed6f8f6677) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09853e02e0..08964842e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 + uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 3b6d16b7cd..9df7071121 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup Ruby - uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0 + uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 with: ruby-version: '3.2' bundler-cache: true From d289f3dcfb3cd12de84369b21207773580dec1f7 Mon Sep 17 00:00:00 2001 From: gaojun Date: Mon, 29 Jan 2024 13:08:56 +0800 Subject: [PATCH 2123/2563] Translate Ruby 3.2.3 Released (zh_cn) --- .../_posts/2024-01-18-ruby-3-2-3-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 zh_cn/news/_posts/2024-01-18-ruby-3-2-3-released.md diff --git a/zh_cn/news/_posts/2024-01-18-ruby-3-2-3-released.md b/zh_cn/news/_posts/2024-01-18-ruby-3-2-3-released.md new file mode 100644 index 0000000000..a0a0f261b5 --- /dev/null +++ b/zh_cn/news/_posts/2024-01-18-ruby-3-2-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.2.3 已发布" +author: "nagachika" +translator: "GAO Jun" +date: 2024-01-18 09:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.2.3 已发布。 + +此版本修正了很多问题。 +您可以通过查看 [GitHub 发布页面](https://github.com/ruby/ruby/releases/tag/v3_2_3) 获取更多信息。 + +此版本还将 `uri` gem 更新到了 0.12.2,其中包含了安全修正。 +您可以查看下面的主题来获取详细信息。 + +* [CVE-2023-36617: URI 包中的 ReDoS 漏洞]({%link zh_cn/news/_posts/2023-06-29-redos-in-uri-CVE-2023-36617.md %}) + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.2.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 4f947a21fa8859d95cab4ed76f1c6f91245bc4b6 Mon Sep 17 00:00:00 2001 From: Thomas Ritter Date: Tue, 9 Jan 2024 22:56:00 +0100 Subject: [PATCH 2124/2563] Translate the Ruby 3.3 release announcement to German --- .../_posts/2023-12-25-ruby-3-3-0-released.md | 305 ++++++++++++++++++ 1 file changed, 305 insertions(+) create mode 100644 de/news/_posts/2023-12-25-ruby-3-3-0-released.md diff --git a/de/news/_posts/2023-12-25-ruby-3-3-0-released.md b/de/news/_posts/2023-12-25-ruby-3-3-0-released.md new file mode 100644 index 0000000000..9f1ca8e3e9 --- /dev/null +++ b/de/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -0,0 +1,305 @@ +--- +layout: news_post +title: "Ruby 3.3.0 veröffentlicht" +author: "naruse" +translator: Thomas Ritter +date: 2023-12-25 00:00:00 +0000 +lang: de +--- + +{% assign release = site.data.releases | where: "version", "3.3.0" | first %} +Wir freuen uns, die Veröffentlichung von Ruby {{ release.version }} anzukündigen. Ruby 3.3 fügt einen neuen Parser namens Prism hinzu, verwendet Lrama als Parser-Generator, fügt einen neuen reinen Ruby JIT-Compiler namens RJIT hinzu und viele Leistungsverbesserungen, insbesondere YJIT. + +## Prism + +- Einführung des [Prism-Parser](https://github.com/ruby/prism) als Standard-Gem + - Prism ist ein portabler, fehlertoleranter und wartbarer rekursiver Abstiegsparser für die Ruby-Sprache +- Prism ist produktionsreif und wird aktiv gepflegt, Sie können es anstelle von Ripper verwenden + - Es gibt [umfangreiche Dokumentation](https://ruby.github.io/prism/) zur Nutzung von Prism + - Prism ist sowohl eine C-Bibliothek, die intern von CRuby verwendet wird, als auch ein Ruby-Gem, das von jedem Werkzeug verwendet werden kann, das Ruby-Code parsen muss + - Nennenswerte Methoden in der Prism-API sind: + - `Prism.parse(source)`, das den AST als Teil eines Parseergebnisobjekts zurückgibt + - `Prism.parse_comments(source)`, das die Kommentare zurückgibt + - `Prism.parse_success?(source)`, das true zurückgibt, wenn keine Fehler vorliegen +- Sie können Pull-Requests oder Issues direkt im [Prism-Repository](https://github.com/ruby/prism) erstellen, wenn Sie an der Mitarbeit interessiert sind +- Sie können jetzt `ruby --parser=prism` oder `RUBYOPT="--parser=prism"` verwenden, um mit dem Prism-Compiler zu experimentieren. Bitte beachten Sie, dass dieser Flag nur für das Debugging gedacht ist. + +## Verwendung von Lrama anstelle von Bison + +- Ersetzen von Bison durch [Lrama LALR-Parsergenerator](https://github.com/ruby/lrama) [[Feature #19637]](https://bugs.ruby-lang.org/issues/19637) + - Wenn Sie interessiert sind, sehen Sie sich bitte [Die Zukunftsvision des Ruby-Parsers](https://rubykaigi.org/2023/presentations/spikeolaf.html) an + - Der interne Lrama-Parser wird durch einen LR-Parser von Racc ersetzt, um die Wartbarkeit sicherzustellen + - Parameterisierende Regeln `(?, *, +)` werden unterstützt, sie werden im Ruby parse.y verwendet + +## YJIT + +- Große Leistungsverbesserungen gegenüber Ruby 3.2 + - Die Unterstützung für Splat- und Rest-Argumente wurde verbessert. + - Register werden für Stack-Operationen der virtuellen Maschine zugewiesen. + - Mehr Aufrufe mit optionalen Argumenten werden kompiliert. Ausnahmebehandler werden ebenfalls kompiliert. + - Nicht unterstützte Aufruftypen und megamorphe Aufrufstellen werden nicht mehr an den Interpreter übergeben. + - Grundlegende Methoden wie Rails `#blank?` und + [spezialisiertes `#present?`](https://github.com/rails/rails/pull/49909) werden eingebettet (inlined). + - `Integer#*`, `Integer#!=`, `String#!=`, `String#getbyte`, + `Kernel#block_given?`, `Kernel#is_a?`, `Kernel#instance_of?` und `Module#===` + sind speziell optimiert. + - Die Kompilierungsgeschwindigkeit ist jetzt etwas schneller als bei Ruby 3.2. + - Jetzt mehr als 3x schneller als der Interpreter auf Optcarrot! +- Deutlich verbesserte Speichernutzung gegenüber Ruby 3.2 + - Metadaten für kompilierten Code verwenden viel weniger Speicher. + - `--yjit-call-threshold` wird automatisch von 30 auf 120 erhöht + wenn die Anwendung mehr als 40.000 ISEQs hat. + - `--yjit-cold-threshold` wird hinzugefügt, um das Kompilieren von kalten ISEQs zu überspringen. + - Kompakterer Code wird auf Arm64 generiert. +- Code GC ist jetzt standardmäßig deaktiviert + - `--yjit-exec-mem-size` wird als hartes Limit behandelt, bei der die Kompilierung neuer Codes stoppt. + - Keine plötzlichen Leistungseinbrüche aufgrund von Code GC. + Besseres Copy-on-Write-Verhalten auf Servern mit Reforking mit + [Pitchfork](https://github.com/shopify/pitchfork). + - Sie können Code GC weiterhin mit `--yjit-code-gc` aktivieren, falls gewünscht +- Hinzufügen von `RubyVM::YJIT.enable`, das YJIT zur Laufzeit aktivieren kann + - Sie können YJIT starten, ohne Kommandozeilenargumente oder Umgebungsvariablen zu ändern. + Rails 7.2 wird [YJIT standardmäßig aktivieren](https://github.com/rails/rails/pull/49947) + mit dieser Methode. + - Dies kann auch verwendet werden, um YJIT nur zu aktivieren, sobald Ihre Anwendung + hochgefahren ist. `--yjit-disable` kann verwendet werden, wenn Sie andere + YJIT-Optionen verwenden möchten, während YJIT beim Booten deaktiviert ist. +- Mehr YJIT-Statistiken sind standardmäßig verfügbar + - `yjit_alloc_size` und mehrere weitere metadatenbezogene Statistiken sind jetzt standardmäßig verfügbar. + - Die von `--yjit-stats` produzierte `ratio_in_yjit`-Statistik ist jetzt in Release-Builds verfügbar, + ein spezieller Statistik- oder Dev-Build ist nicht mehr erforderlich, um die meisten Statistiken abzurufen. +- Hinzufügen weiterer Profiling-Fähigkeiten + - `--yjit-perf` wird hinzugefügt, um das Profiling mit Linux perf zu erleichtern. + - `--yjit-trace-exits` unterstützt jetzt das Sampling mit `--yjit-trace-exits-sample-rate=N` +- Gründlicheres Testing und mehrere Bugfixes + +## RJIT + +- Einführung eines reinen Ruby JIT-Compilers RJIT und Ersatz von MJIT. + - RJIT unterstützt nur die x86-64-Architektur auf Unix-Plattformen. + - Im Gegensatz zu MJIT wird zur Laufzeit kein C-Compiler benötigt. +- RJIT existiert nur zu experimentellen Zwecken. + - Sie sollten in der Produktion weiterhin YJIT verwenden. +- Wenn Sie an der Entwicklung von JIT für Ruby interessiert sind, schauen Sie sich bitte [k0kubuns Präsentation am Tag 3 von RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3) an. + +## M:N-Thread-Scheduler + +- M:N-Thread-Scheduler wurde eingeführt. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + - M Ruby-Threads werden von N nativen Threads (OS-Threads) verwaltet, sodass die Thread-Erstellungs- und Verwaltungskosten reduziert werden. + - Es kann die Kompatibilität mit C-Erweiterungen brechen, sodass der M:N-Thread-Scheduler standardmäßig auf dem Haupt-Ractor deaktiviert ist. + - Die Umgebungsvariable `RUBY_MN_THREADS=1` aktiviert M:N-Threads auf dem Haupt-Ractor. + - M:N-Threads sind immer auf Nicht-Haupt-Ractors aktiviert. + - Die Umgebungsvariable `RUBY_MAX_CPU=n` legt die maximale Anzahl von `N` (maximale Anzahl nativer Threads) fest. Der Standardwert ist 8. + - Da nur ein Ruby-Thread pro Ractor gleichzeitig ausgeführt werden kann, wird die Anzahl der verwendeten nativen Threads verwendet, die kleiner ist als die in `RUBY_MAX_CPU` angegebene Anzahl und die Anzahl der laufenden Ractors. Einzelne Ractor-Anwendungen (die meisten Anwendungen) verwenden daher nur 1 nativen Thread. + - Zur Unterstützung von blockierenden Operationen können mehr als `N` native Threads verwendet werden. + +## Leistungsverbesserungen + +- `defined?(@ivar)` ist mit Object Shapes optimiert. +- Namensauflösungen wie `Socket.getaddrinfo` können jetzt unterbrochen werden (in Umgebungen, in denen pthreads verfügbar sind). [[Feature #19965]](https://bugs.ruby-lang.org/issues/19965) +- Mehrere Leistungsverbesserungen beim Garbage Collector + - Junge Objekte, die von alten Objekten referenziert werden, werden nicht mehr sofort + in die alte Generation befördert. Dies reduziert die Häufigkeit von + großen GC-Sammlungen erheblich. [[Feature #19678]](https://bugs.ruby-lang.org/issues/19678) + - Eine neue Tuning-Variable `REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` wurde + eingeführt, um die Anzahl der ungeschützten Objekte zu steuern, die eine große GC- + Sammlung auslösen. Der Standardwert ist auf `0.01` (1%) festgelegt. Dies reduziert die Häufigkeit von großen GC-Sammlungen erheblich. [[Feature #19571]](https://bugs.ruby-lang.org/issues/19571) + - Write Barriers wurden für viele Kerntypen implementiert, die sie bisher vermisst haben, + insbesondere `Time`, `Enumerator`, `MatchData`, `Method`, `File::Stat`, `BigDecimal` + und mehrere andere. Dies reduziert die Zeit für kleine GC-Sammlungen und die Häufigkeit großer GC-Sammlungen erheblich. + - Die meisten Kerntypen verwenden jetzt Variable Width Allocation, insbesondere `Hash`, `Time`, + `Thread::Backtrace`, `Thread::Backtrace::Location`, `File::Stat`, `Method`. + Dadurch sind diese Klassen schneller zugeteilt und freigegeben, verwenden weniger Speicher und reduzieren + die Heapfragmentierung. + - Unterstützung für schwache Referenzen wurde dem Garbage Collector hinzugefügt. [[Feature #19783]](https://bugs.ruby-lang.org/issues/19783) + +## Weitere bemerkenswerte Änderungen seit 3.2 + +### IRB + +IRB hat mehrere Verbesserungen erhalten, einschließlich, aber nicht beschränkt auf: + +- Fortgeschrittene `irb:rdbg`-Integration, die ein äquivalentes Debugging-Erlebnis zu `pry-byebug` bietet ([Dokumentation](https://github.com/ruby/irb#debugging-with-irb)). +- Pager-Unterstützung für die Befehle `ls`, `show_source` und `show_cmds`. +- Genauere und hilfreichere Informationen, die von den Befehlen `ls` und `show_source` bereitgestellt werden. +- Experimentelle Autovervollständigung mit Typenanalyse ([Dokumentation](https://github.com/ruby/irb#type-based-completion)). +- Es ist jetzt möglich, die Schriftfarbe und den Schriftstil im Vervollständigungsdialog durch eine neu eingeführte Klasse Reline::Face zu ändern ([Dokumentation](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +Zusätzlich dazu hat IRB umfangreiche Refactorings durchlaufen und Dutzende von Bugfixes erhalten, um zukünftige Verbesserungen zu erleichtern. + +Für detailliertere Updates lesen Sie bitte [Die große Weiterentwicklung von Ruby 3.3's IRB enthüllt](https://railsatscale.com/2023-12-19-irb-for-ruby-3-3/). + +## Kompatibilitätsprobleme + +Hinweis: Ausschließlich Bugfixes von Features. + +- `it`-Aufrufe ohne Argumente in einem Block ohne gewöhnliche Parameter sind + veraltet (deprecated). `it` wird in Ruby 3.4 eine Referenz auf den ersten Blockparameter sein. + [[Feature #18980]](https://bugs.ruby-lang.org/issues/18980) + +### Entfernte Umgebungsvariablen + +Die folgenden veralteten Methoden werden entfernt. + +- Umgebungsvariable `RUBY_GC_HEAP_INIT_SLOTS` wurde veraltet (deprecated) und ist eine No-Op. Bitte verwenden Sie stattdessen die Umgebungsvariablen `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS`. [[Feature #19785]](https://bugs.ruby-lang.org/issues/19785) + +## Stdlib-Kompatibilitätsprobleme + +### `ext/readline` wird eingestellt + +- Wir haben `reline`, das eine reine Ruby-Implementierung kompatibel mit der `ext/readline` API ist. In Zukunft setzen wir auf `reline`. Wenn Sie `ext/readline` verwenden müssen, können Sie `ext/readline` über rubygems.org mit `gem install readline-ext` installieren. +- Wir müssen keine Bibliotheken wie `libreadline` oder `libedit` mehr installieren. + +## Aktualisierungen der Standardbibliothek + +RubyGems und Bundler warnen, wenn Benutzer die folgenden Gems mit `require` laden ohne sie zum Gemfile oder gemspec hinzuzufügen. Dies liegt daran, dass sie in einer zukünftigen Version von Ruby zu mitinstallierten Gems werden. + +Diese Warnung wird unterdrückt, wenn Sie das Bootsnap-Gem verwenden. Wir empfehlen, Ihre Anwendung mindestens einmal mit der Umgebungsvariable `DISABLE_BOOTSNAP=1` auszuführen. Dies ist eine Einschränkung dieser Version. + +Zielbibliotheken sind: + +- abbrev +- base64 +- bigdecimal +- csv +- drb +- getoptlong +- mutex_m +- nkf +- observer +- racc +- resolv-replace +- rinda +- syslog + +Das folgende Standard-Gem wird hinzugefügt. + +- prism 0.19.0 + +Die folgenden Standard-Gems werden aktualisiert. + +- RubyGems 3.5.3 +- abbrev 0.1.2 +- base64 0.2.0 +- benchmark 0.3.0 +- bigdecimal 3.1.5 +- bundler 2.5.3 +- cgi 0.4.1 +- csv 3.2.8 +- date 3.3.4 +- delegate 0.3.1 +- drb 2.2.0 +- english 0.8.0 +- erb 4.0.3 +- error_highlight 0.6.0 +- etc 1.4.3 +- fcntl 1.1.0 +- fiddle 1.1.2 +- fileutils 1.7.2 +- find 0.2.0 +- getoptlong 0.2.1 +- io-console 0.7.1 +- io-nonblock 0.3.0 +- io-wait 0.3.1 +- ipaddr 1.2.6 +- irb 1.11.0 +- json 2.7.1 +- logger 1.6.0 +- mutex_m 0.2.0 +- net-http 0.4.0 +- net-protocol 0.2.2 +- nkf 0.1.3 +- observer 0.1.2 +- open-uri 0.4.1 +- open3 0.2.1 +- openssl 3.2.0 +- optparse 0.4.0 +- ostruct 0.6.0 +- pathname 0.3.0 +- pp 0.5.0 +- prettyprint 0.2.0 +- pstore 0.1.3 +- psych 5.1.2 +- rdoc 6.6.2 +- readline 0.0.4 +- reline 0.4.1 +- resolv 0.3.0 +- rinda 0.2.0 +- securerandom 0.3.1 +- set 1.1.0 +- shellwords 0.2.0 +- singleton 0.2.0 +- stringio 3.1.0 +- strscan 3.0.7 +- syntax_suggest 2.0.0 +- syslog 0.1.2 +- tempfile 0.2.1 +- time 0.3.0 +- timeout 0.4.1 +- tmpdir 0.2.0 +- tsort 0.2.0 +- un 0.3.0 +- uri 0.13.0 +- weakref 0.1.3 +- win32ole 1.8.10 +- yaml 0.3.0 +- zlib 3.1.0 + +Das folgende mitinstallierten Gem wird von Standard-Gems gefördert. + +- racc 1.7.3 + +Die folgenden mitinstallierten Gems werden aktualisiert. + +- minitest 5.20.0 +- rake 13.1.0 +- test-unit 3.6.1 +- rexml 3.2.6 +- rss 0.3.0 +- net-ftp 0.3.3 +- net-imap 0.4.9 +- net-smtp 0.4.0 +- rbs 3.4.0 +- typeprof 0.21.9 +- debug 1.9.1 + +Weitere Informationen finden Sie in den GitHub-Releases wie [Logger](https://github.com/ruby/logger/releases) oder +Änderungsprotokoll für Details zu den Standard-Gems oder mitinstallierten Gems. + +Siehe [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +oder [Commit-Protokolle](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +für weitere Details. + +Mit diesen Änderungen haben sich [{{ release.stats.files_changed }} Dateien geändert, {{ release.stats.insertions }} Einfügungen(+), {{ release.stats.deletions }} Löschungen(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +seit Ruby 3.2.0! + +Frohe Weihnachten, schöne Feiertage und viel Spaß beim Programmieren mit Ruby 3.3! + +## Download + +- <{{ release.url.gz }}> + + GRÖSSE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +- <{{ release.url.xz }}> + + GRÖSSE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +- <{{ release.url.zip }}> + + GRÖSSE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Was ist Ruby + +Ruby wurde erstmals 1993 von Matz (Yukihiro Matsumoto) entwickelt +und wird jetzt als Open Source entwickelt. Es läuft auf mehreren Plattformen +und wird weltweit vor allem für die Webentwicklung verwendet. From 05399ab178a6666e940d532676bc596c52dc32e8 Mon Sep 17 00:00:00 2001 From: thinca Date: Thu, 7 Mar 2024 12:23:39 +0900 Subject: [PATCH 2125/2563] Add link to reference manual 3.3 --- ja/documentation/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ja/documentation/index.md b/ja/documentation/index.md index 787971dcbb..785f038ad4 100644 --- a/ja/documentation/index.md +++ b/ja/documentation/index.md @@ -15,6 +15,7 @@ Rubyでプログラミングする際に役立つドキュメントを紹介し また、現在有志の手により[リファレンスマニュアルの整備][rurema-wiki]が進行中です。 成果物を[<URL:https://docs.ruby-lang.org/ja/>][doc-r-l-o]から閲覧できます。 +* [Rubyリファレンスマニュアル Ruby 3.3版][man-33] * [Rubyリファレンスマニュアル Ruby 3.2版][man-32] * [Rubyリファレンスマニュアル Ruby 3.1版][man-31] * [Rubyリファレンスマニュアル Ruby 3.0版][man-30] @@ -123,6 +124,7 @@ Posted by Shugo Maeda on 26 May 2006 [man-30]: https://docs.ruby-lang.org/ja/3.0/doc/index.html [man-31]: https://docs.ruby-lang.org/ja/3.1/doc/index.html [man-32]: https://docs.ruby-lang.org/ja/3.2/doc/index.html +[man-33]: https://docs.ruby-lang.org/ja/3.3/doc/index.html [man-search]: https://docs.ruby-lang.org/ja/search/ [man-xz]: https://cache.ruby-lang.org/pub/ruby/doc/ruby-refm-1.9.3-dynamic-20120829.tar.xz [man-gz]: https://cache.ruby-lang.org/pub/ruby/doc/ruby-refm-1.9.3-dynamic-20120829.tar.gz From 7bc346b91231a737555dad1d7fac0e7bc8e20307 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:49:59 +0900 Subject: [PATCH 2126/2563] avaliable ==> available --- en/documentation/installation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index 50fbf76273..f87cd3103b 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -229,7 +229,7 @@ to install Ruby: > winget install RubyInstallerTeam.Ruby.{MAJOR}.{MINOR} # Example > winget install RubyInstallerTeam.Ruby.3.2 -# To see all versions avaliable +# To see all versions available > winget search RubyInstallerTeam.Ruby # Note: if you are installing ruby for projects, you may want to install RubyWithDevKit > winget install RubyInstallerTeam.RubyWithDevKit.3.2 From 05ae51ca3e3810e95542a6dfc283f0e639495ddf Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:51:12 +0900 Subject: [PATCH 2127/2563] repositry ==> repository --- ...2007-03-01-cvs-services-will-be-permanently-unavailable.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2007-03-01-cvs-services-will-be-permanently-unavailable.md b/en/news/_posts/2007-03-01-cvs-services-will-be-permanently-unavailable.md index 58adf6046d..7bf261a8b0 100644 --- a/en/news/_posts/2007-03-01-cvs-services-will-be-permanently-unavailable.md +++ b/en/news/_posts/2007-03-01-cvs-services-will-be-permanently-unavailable.md @@ -6,7 +6,7 @@ lang: en --- CVS services (including CVSup and CVSweb) will be permanently -unavailable on Fri Mar 16 03:00 UTC 2007. The source code repositry has +unavailable on Fri Mar 16 03:00 UTC 2007. The source code repository has been [moved to SVN](/en/news/2006/12/22/cvs-repository-moved-to-svn/). -If you require the CVS repositry, please get it by CVSup till that day. +If you require the CVS repository, please get it by CVSup till that day. From 5a88e55bb4c150876a77e3bc6baa119d3b266f4b Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:51:44 +0900 Subject: [PATCH 2128/2563] platfrom ==> platform --- en/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md | 2 +- en/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md | 2 +- en/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/en/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md b/en/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md index a9fddadf7e..dd3b8828cd 100644 --- a/en/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md +++ b/en/news/_posts/2022-09-09-ruby-3-2-0-preview2-released.md @@ -77,7 +77,7 @@ The original proposal is https://bugs.ruby-lang.org/issues/17837 * We no longer bundle 3rd party sources like `libyaml`, `libffi`. - * libyaml source has been removed from psych. You may need to install `libyaml-dev` with Ubuntu/Debian platfrom. The package name is different each platforms. + * libyaml source has been removed from psych. You may need to install `libyaml-dev` with Ubuntu/Debian platform. The package name is different each platforms. * libffi will be removed from `fiddle` at preview2 diff --git a/en/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md b/en/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md index 6f6fdef049..87baf80621 100644 --- a/en/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md +++ b/en/news/_posts/2022-11-11-ruby-3-2-0-preview3-released.md @@ -94,7 +94,7 @@ The original proposal is * We no longer bundle 3rd party sources like `libyaml`, `libffi`. - * libyaml source has been removed from psych. You may need to install `libyaml-dev` with Ubuntu/Debian platfrom. The package name is different each platforms. + * libyaml source has been removed from psych. You may need to install `libyaml-dev` with Ubuntu/Debian platform. The package name is different each platforms. * bundled libffi source is also removed from `fiddle` diff --git a/en/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md b/en/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md index 2e8c7f38b4..ce1953cff8 100644 --- a/en/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md +++ b/en/news/_posts/2022-12-06-ruby-3-2-0-rc1-released.md @@ -318,7 +318,7 @@ The following deprecated methods are removed. * We no longer bundle 3rd party sources like `libyaml`, `libffi`. - * libyaml source has been removed from psych. You may need to install `libyaml-dev` with Ubuntu/Debian platfrom. The package name is different for each platform. + * libyaml source has been removed from psych. You may need to install `libyaml-dev` with Ubuntu/Debian platform. The package name is different for each platform. * Bundled libffi source is also removed from `fiddle` From 5c3c0090e6b6385fef9818e668a06e893a5dee72 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:52:15 +0900 Subject: [PATCH 2129/2563] Vally ==> Valley --- .../2010-10-01-see-matz-in-san-francisco-or-silicon-valley.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2010-10-01-see-matz-in-san-francisco-or-silicon-valley.md b/en/news/_posts/2010-10-01-see-matz-in-san-francisco-or-silicon-valley.md index c0134cd244..e6fa6e518a 100644 --- a/en/news/_posts/2010-10-01-see-matz-in-san-francisco-or-silicon-valley.md +++ b/en/news/_posts/2010-10-01-see-matz-in-san-francisco-or-silicon-valley.md @@ -5,7 +5,7 @@ author: "James Edward Gray II" lang: en --- -Matz is visiting San Francisco and Silicon Vally on October 7th and +Matz is visiting San Francisco and Silicon Valley on October 7th and 11th. He will be talking about new opportunities for Ruby such as embedded applications, cloud computing, and super computing. Keynote Speech is “Ruby 2.0 What we want to accomplish in the near future.” Not From e289aa708506f3521df459bcfdaa671826d8e9d3 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:52:52 +0900 Subject: [PATCH 2130/2563] inifinite ==> infinite --- en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 2 +- en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 2 +- id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md | 2 +- id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 2 +- id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md | 2 +- id/news/_posts/2018-12-25-ruby-2-6-0-released.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index d729da25ee..05429bc713 100644 --- a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -55,7 +55,7 @@ This module has `parse` method which parses a given ruby code of string and retu An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: ary[1..] # identical to ary[1..-1] without magical -1 - (1..).each {|index| ... } # inifinite loop from index 1 + (1..).each {|index| ... } # infinite loop from index 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) diff --git a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index 9d73ec6459..dd69708fc7 100644 --- a/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/en/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -50,7 +50,7 @@ This module has `parse` method which parses a given ruby code of string and retu An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: ary[1..] # identical to ary[1..-1] without magical -1 - (1..).each {|index| ... } # inifinite loop from index 1 + (1..).each {|index| ... } # infinite loop from index 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) diff --git a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 3988fd9c48..7ec94532fe 100644 --- a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -50,7 +50,7 @@ This module has `parse` method which parses a given ruby code of string and retu An endless range, `(1..)`, is introduced. It works as it has no end. This shows typical use cases: ary[1..] # identical to ary[1..-1] without magical -1 - (1..).each {|index| ... } # inifinite loop from index 1 + (1..).each {|index| ... } # infinite loop from index 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) diff --git a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 3296c37791..448daf85bd 100644 --- a/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -51,7 +51,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get loc An endless range, `(1..)`, is introduced. It works as if it has no end. This shows typical use cases: ary[1..] # identical to ary[1..-1] without magical -1 - (1..).each {|index| block } # inifinite loop from index 1 + (1..).each {|index| block } # infinite loop from index 1 ary.zip(1..) {|elem, index| block } # ary.each.with_index(1) { } * Add `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) diff --git a/id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 1477d6390b..840505befa 100644 --- a/id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/id/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -75,7 +75,7 @@ Kesesuaian struktur dari AST *node* tidak dijamin. Sebuah endless range, `(1..)`, diperkenalkan. Ini berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: ary[1..] # identik dengan ary[1..-1] tanpa magical -1 - (1..).each {|index| ... } # inifinite loop dari indeks 1 + (1..).each {|index| ... } # infinite loop dari indeks 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Menambahkan `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) diff --git a/id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md b/id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md index 6975fe3bbf..a67e7899d4 100644 --- a/id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md +++ b/id/news/_posts/2018-11-06-ruby-2-6-0-preview3-released.md @@ -68,7 +68,7 @@ Kesesuaian struktur dari AST *node* tidak dijamin. Sebuah endless range, `(1..)`, diperkenalkan. Ini berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: ary[1..] # identik dengan ary[1..-1] tanpa magical -1 - (1..).each {|index| ... } # inifinite loop dari indeks 1 + (1..).each {|index| ... } # infinite loop dari indeks 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Menambahkan `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) diff --git a/id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index d5bc935f88..6c38b25fde 100644 --- a/id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/id/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -68,7 +68,7 @@ eksperimental. Kesesuaian struktur dari AST *node* tidak dijamin. Sebuah endless range, `(1..)`, diperkenalkan. Ini berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: ary[1..] # identik dengan ary[1..-1] tanpa magical -1 - (1..).each {|index| ... } # inifinite loop dari indeks 1 + (1..).each {|index| ... } # infinite loop dari indeks 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Menambahkan `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) diff --git a/id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md b/id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md index 804238a15c..d2784f3207 100644 --- a/id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md +++ b/id/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md @@ -69,7 +69,7 @@ eksperimental. Kesesuaian struktur dari AST *node* tidak dijamin. Sebuah endless range, `(1..)`, diperkenalkan. Ini berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: ary[1..] # identik dengan ary[1..-1] tanpa magical -1 - (1..).each {|index| ... } # inifinite loop dari indeks 1 + (1..).each {|index| ... } # infinite loop dari indeks 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Menambahkan `Binding#source_location`. [[Feature #14230]](https://bugs.ruby-lang.org/issues/14230) diff --git a/id/news/_posts/2018-12-25-ruby-2-6-0-released.md b/id/news/_posts/2018-12-25-ruby-2-6-0-released.md index 4b2b81bf97..ed8781ebf7 100644 --- a/id/news/_posts/2018-12-25-ruby-2-6-0-released.md +++ b/id/news/_posts/2018-12-25-ruby-2-6-0-released.md @@ -68,7 +68,7 @@ eksperimental. Sebuah endless range, `(1..)`, berjalan tanpa ada akhirnya. Biasanya digunakan untuk kasus: ary[1..] # identik dengan ary[1..-1] tanpa magical -1 - (1..).each {|index| ... } # inifinite loop dari indeks 1 + (1..).each {|index| ... } # infinite loop dari indeks 1 ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { ... } * Menambahkan `Enumerable#chain` dan `Enumerator#+`. [[Feature #15144]](https://bugs.ruby-lang.org/issues/15144) From decc09d1aa944a94b82422894957d0329cc2b42d Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:53:56 +0900 Subject: [PATCH 2131/2563] Lightening ==> Lightning --- en/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md | 2 +- id/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md b/en/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md index 190b55d327..17458addfa 100644 --- a/en/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md +++ b/en/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md @@ -16,7 +16,7 @@ lang: en and [Ruddy Lee](https://ruddyblog.wordpress.com) are confirmed keynote speakers. [CFP is open](http://rubytaiwan.kktix.cc/events/rubyconftw2015-cfp) until July 20th (GMT +8) and -[Lightening talk CFP](http://rubytaiwan.kktix.cc/events/rubyconftw2015-ltcfp) +[Lightning talk CFP](http://rubytaiwan.kktix.cc/events/rubyconftw2015-ltcfp) is open until August 10th (GMT +8). If you want to give a talk, please submit your proposal. Any topics related to diff --git a/id/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md b/id/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md index 72e59b1001..13b7afa28a 100644 --- a/id/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md +++ b/id/news/_posts/2015-07-14-rubyconftw-2015-call-for-proposals.md @@ -16,7 +16,7 @@ September di Taipei, Taiwan, sebuah pulau tropis yang berlokasi di jantung Benua dan [Ruddy Lee](https://ruddyblog.wordpress.com) dikonfirmasi menjadi pembicara utama. [CFP is open](http://rubytaiwan.kktix.cc/events/rubyconftw2015-cfp) hingga 20 Juli (GMT +8) dan -[Lightening talk CFP](http://rubytaiwan.kktix.cc/events/rubyconftw2015-ltcfp) +[Lightning talk CFP](http://rubytaiwan.kktix.cc/events/rubyconftw2015-ltcfp) dibuka hingga 10 Agustus (GMT +8). Jika Anda ingin memberikan sebuah seminar, mohon ajukan proposal Anda. Semua topik yang berkaitan dengan From 1c1f3431c9acaeaed6230de47a6f16f797558a02 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:54:20 +0900 Subject: [PATCH 2132/2563] Implementors ==> Implementers --- en/news/_posts/2006-10-26-rubyconf-2006-recap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2006-10-26-rubyconf-2006-recap.md b/en/news/_posts/2006-10-26-rubyconf-2006-recap.md index add9c02f6e..2806c96750 100644 --- a/en/news/_posts/2006-10-26-rubyconf-2006-recap.md +++ b/en/news/_posts/2006-10-26-rubyconf-2006-recap.md @@ -16,7 +16,7 @@ If there was a theme to this year’s conference, I would have to say it’s Ruby implementations. Two presentations focused on alternate Ruby implementations and a third challenged us to get our planned m17n additions to Ruby just right. Apple dropped in to show their plans for -Ruby integration in Mac OS X and the first Ruby Implementors Summit was +Ruby integration in Mac OS X and the first Ruby Implementers Summit was held. Koichi brought us up to speed on YARV, which plans are currently underway to merge into the core at long last. As a teaser, he even showed it running Rails. From ca55ef8e0afb389883f18c1b69b9600f3a5edbe3 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:54:55 +0900 Subject: [PATCH 2133/2563] avaiable ==> available --- en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md | 2 +- en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md b/en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md index 1f63bbba09..f8a9fb03c3 100644 --- a/en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md +++ b/en/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md @@ -43,7 +43,7 @@ We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 a * Option to start YJIT in paused mode and then later enable it manually * `--yjit-pause` and `RubyVM::YJIT.resume` * This can be used to enable YJIT only once your application is done booting -* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds, +* `ratio_in_yjit` stat produced by `--yjit-stats` is now available in release builds, a special stats or dev build is no longer required. * Exit tracing option now supports sampling * `--trace-exits-sample-rate=N` diff --git a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index e153be77a4..555491917d 100644 --- a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -63,7 +63,7 @@ We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 a YJIT options while disabling YJIT at boot. * Option to disable code GC and treat `--yjit-exec-mem-size` as a hard limit * Can produce better copy-on-write behavior on servers using unicorn and forking -* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds, +* `ratio_in_yjit` stat produced by `--yjit-stats` is now available in release builds, a special stats or dev build is no longer required to access most stats. * Exit tracing option now supports sampling * `--trace-exits-sample-rate=N` diff --git a/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 8b9dadf07e..508a3fe366 100644 --- a/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -64,7 +64,7 @@ Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismとい YJIT options while disabling YJIT at boot. * Option to disable code GC and treat `--yjit-exec-mem-size` as a hard limit * Can produce better copy-on-write behavior on servers using unicorn and forking -* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds, +* `ratio_in_yjit` stat produced by `--yjit-stats` is now available in release builds, a special stats or dev build is no longer required to access most stats. * Exit tracing option now supports sampling * `--trace-exits-sample-rate=N` diff --git a/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md b/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md index ed405ac8f0..406ce9bc99 100644 --- a/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md +++ b/ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md @@ -66,7 +66,7 @@ Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismとい YJIT options while disabling YJIT at boot. * Option to disable code GC and treat `--yjit-exec-mem-size` as a hard limit * Can produce better copy-on-write behavior on servers using unicorn and forking -* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds, +* `ratio_in_yjit` stat produced by `--yjit-stats` is now available in release builds, a special stats or dev build is no longer required to access most stats. * Exit tracing option now supports sampling * `--trace-exits-sample-rate=N` From 0ee85a4b934afe6f4bb87a11dfc589a0b710c85a Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:56:08 +0900 Subject: [PATCH 2134/2563] immedately ==> immediately --- en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md index 555491917d..169be51863 100644 --- a/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md +++ b/en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -95,7 +95,7 @@ We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 a * Name resolution such as `Socket.getaddrinfo` can now be interrupted (in environments where pthreads are available). [Feature #19965](https://bugs.ruby-lang.org/issues/19965) * For this purpose, a pthread is now created whenever calling getaddrinfo or getnameinfo. This incurs some overhead in name resolution (about 2.5x in our experiments). We do not expect the name resolution overhead to be a problem for most applications, but if you observe such, or if you see unexpected affects that you believe are due to this change, please report them. * Environment variable `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` has been added. [Feature #19571](https://bugs.ruby-lang.org/issues/19571) -* Children of old objects are no longer immedately promoted to the old generation in the garbage collector. [Feature #19678](https://bugs.ruby-lang.org/issues/19678) +* Children of old objects are no longer immediately promoted to the old generation in the garbage collector. [Feature #19678](https://bugs.ruby-lang.org/issues/19678) * Support for weak references has been added to the garbage collector. [Feature #19783](https://bugs.ruby-lang.org/issues/19783) ## Other notable changes since 3.2 From 54defafe177a96bc6aaad03cb238ba02f135af5e Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:56:13 +0900 Subject: [PATCH 2135/2563] Simplfied ==> Simplified --- .../_posts/2011-08-01-ruby-1-9-3-preview1-has-been-released.md | 2 +- pt/news/_posts/2011-08-02-lancado-o-ruby-1-9-3-preview1.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2011-08-01-ruby-1-9-3-preview1-has-been-released.md b/en/news/_posts/2011-08-01-ruby-1-9-3-preview1-has-been-released.md index 94b4768560..692d71741e 100644 --- a/en/news/_posts/2011-08-01-ruby-1-9-3-preview1-has-been-released.md +++ b/en/news/_posts/2011-08-01-ruby-1-9-3-preview1-has-been-released.md @@ -33,7 +33,7 @@ Ruby Inside has published [a review of this release][3]. ## Differences from previous version Previous Ruby versions was licensed under \"GPLv2\" and \"Ruby\" license -but \"2-clause BSDL\"(AKA Simplfied BSD License) and \"Ruby\" license +but \"2-clause BSDL\"(AKA Simplified BSD License) and \"Ruby\" license been replacement of them. ### Encoding diff --git a/pt/news/_posts/2011-08-02-lancado-o-ruby-1-9-3-preview1.md b/pt/news/_posts/2011-08-02-lancado-o-ruby-1-9-3-preview1.md index bf822c4f44..73a1366ba8 100644 --- a/pt/news/_posts/2011-08-02-lancado-o-ruby-1-9-3-preview1.md +++ b/pt/news/_posts/2011-08-02-lancado-o-ruby-1-9-3-preview1.md @@ -32,7 +32,7 @@ Ver [ChangeLogs][1] e [NEWS][2] para descrições. As versões anteriores do Ruby encontravam-se sob a licença \"GPLv2\" e \"Ruby\". No entanto, nesta versão foi substituida pela licença -\"2-clause BSDL\"(AKA Simplfied BSD License) e \"Ruby\". +\"2-clause BSDL\"(AKA Simplified BSD License) e \"Ruby\". ### Encoding From 9de07673348cdf464a8a44680885b9819986cc5e Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:56:39 +0900 Subject: [PATCH 2136/2563] planed ==> planned --- en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md index 7ec94532fe..f332ca99dc 100644 --- a/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md +++ b/en/news/_posts/2018-12-06-ruby-2-6-0-rc1-released.md @@ -93,7 +93,7 @@ This module has `parse` method which parses a given ruby code of string and retu * Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256) -* Supported Unicode version is updated to 11. It is planed to update 12 and 12.1 in future TEENY releases of Ruby 2.6. +* Supported Unicode version is updated to 11. It is planned to update 12 and 12.1 in future TEENY releases of Ruby 2.6. * Merge RubyGems 3.0.0.beta3. `--ri` and `--rdoc` options was removed. Please use `--document` and `--no-document` options instead of them. From b11ba9d2ffaff3366193ef479c9385daaef4f293 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:57:04 +0900 Subject: [PATCH 2137/2563] desided ==> decided --- de/news/_posts/2001-07-10-removed-language-comparison-page.md | 2 +- en/news/_posts/2001-07-10-removed-language-comparison-page.md | 2 +- ko/news/_posts/2001-07-10-removed-language-comparison-page.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/de/news/_posts/2001-07-10-removed-language-comparison-page.md b/de/news/_posts/2001-07-10-removed-language-comparison-page.md index 6597d1425c..dfdc627411 100644 --- a/de/news/_posts/2001-07-10-removed-language-comparison-page.md +++ b/de/news/_posts/2001-07-10-removed-language-comparison-page.md @@ -5,7 +5,7 @@ author: "NaHi" lang: de --- -Matz desided to remove the page. +Matz decided to remove the page. diff --git a/en/news/_posts/2001-07-10-removed-language-comparison-page.md b/en/news/_posts/2001-07-10-removed-language-comparison-page.md index c4b16d05a8..4af069b665 100644 --- a/en/news/_posts/2001-07-10-removed-language-comparison-page.md +++ b/en/news/_posts/2001-07-10-removed-language-comparison-page.md @@ -5,7 +5,7 @@ author: "NaHi" lang: en --- -Matz desided to remove the page. +Matz decided to remove the page. diff --git a/ko/news/_posts/2001-07-10-removed-language-comparison-page.md b/ko/news/_posts/2001-07-10-removed-language-comparison-page.md index 69a0af6520..911c7d4b90 100644 --- a/ko/news/_posts/2001-07-10-removed-language-comparison-page.md +++ b/ko/news/_posts/2001-07-10-removed-language-comparison-page.md @@ -5,7 +5,7 @@ author: "NaHi" lang: ko --- -Matz desided to remove the page. +Matz decided to remove the page. From 374133e8246ab61b1992a10f6622b5ab1ee26112 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:58:11 +0900 Subject: [PATCH 2138/2563] annouces ==> announces --- en/news/_posts/2003-02-24-happy-birthday-ruby.md | 2 +- ko/news/_posts/2003-02-24-happy-birthday-ruby.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2003-02-24-happy-birthday-ruby.md b/en/news/_posts/2003-02-24-happy-birthday-ruby.md index fb87fab6d3..5c9093ea30 100644 --- a/en/news/_posts/2003-02-24-happy-birthday-ruby.md +++ b/en/news/_posts/2003-02-24-happy-birthday-ruby.md @@ -11,7 +11,7 @@ lang: en > Today, February 24, 2003, is Ruby’s 10th birthday. Happy Birthday, > Ruby! And congratz to Matz! -dblack also annouces the new non-profit organization [Ruby Central, +dblack also announces the new non-profit organization [Ruby Central, Inc][1] and RubyConf 2003!. See [\[ruby-talk:65632\]][2]. diff --git a/ko/news/_posts/2003-02-24-happy-birthday-ruby.md b/ko/news/_posts/2003-02-24-happy-birthday-ruby.md index d134adec62..f0bba365c9 100644 --- a/ko/news/_posts/2003-02-24-happy-birthday-ruby.md +++ b/ko/news/_posts/2003-02-24-happy-birthday-ruby.md @@ -11,7 +11,7 @@ lang: ko > Today, February 24, 2003, is Ruby’s 10th birthday. Happy Birthday, > Ruby! And congratz to Matz! -dblack also annouces the new non-profit organization [Ruby Central, +dblack also announces the new non-profit organization [Ruby Central, Inc][1] and RubyConf 2003!. See [\[ruby-talk:65632\]][2]. From 6d976f2919a0c8fa4af415294f82101e035337c3 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:58:42 +0900 Subject: [PATCH 2139/2563] idenfitifer ==> identifier --- .../_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md b/en/news/_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md index 891f5e47ad..4223a8bda6 100644 --- a/en/news/_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md +++ b/en/news/_posts/2020-09-29-http-request-smuggling-cve-2020-25613.md @@ -8,7 +8,7 @@ tags: security lang: en --- -A potential HTTP request smuggling vulnerability in WEBrick was reported. This vulnerability has been assigned the CVE idenfitifer [CVE-2020-25613](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25613). We strongly recommend upgrading the webrick gem. +A potential HTTP request smuggling vulnerability in WEBrick was reported. This vulnerability has been assigned the CVE identifier [CVE-2020-25613](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25613). We strongly recommend upgrading the webrick gem. ## Details From 20cfcd8c2abb260f9ed6e3feb257432fd4d0d020 Mon Sep 17 00:00:00 2001 From: ydah Date: Mon, 11 Mar 2024 22:59:14 +0900 Subject: [PATCH 2140/2563] dont' ==> don't --- en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md index 05429bc713..eafdcf0a37 100644 --- a/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md +++ b/en/news/_posts/2018-05-31-ruby-2-6-0-preview2-released.md @@ -66,7 +66,7 @@ This module has `parse` method which parses a given ruby code of string and retu ## Performance improvements -* Speedup `Proc#call` because we dont' need to care about `$SAFE` any more. +* Speedup `Proc#call` because we don't need to care about `$SAFE` any more. [[Feature #14318]](https://bugs.ruby-lang.org/issues/14318) With `lc_fizzbuzz` benchmark which uses `Proc#call` so many times we can measure From cff8934e295e318be21855c4b6ae9751a2bb3288 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 19 Mar 2024 21:37:52 +0900 Subject: [PATCH 2141/2563] Draft for CVE-2024-27280 --- ...24-03-21-buffer-overread-cve-2024-27280.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md diff --git a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md new file mode 100644 index 0000000000..395ab5ecf0 --- /dev/null +++ b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "CVE-2024-27280: Buffer overread vulnerability in StringIO" +author: "hsbt" +translator: +date: 2023-03-21 11:00:00 +0000 +tags: security +lang: en +--- + +We have released the stringio gem version 3.0.1.1 and 3.0.1.2 that have a security fix for a buffer overread vulnerability. +This vulnerability has been assigned the CVE identifier [CVE-2024-27280](https://www.cve.org/CVERecord?id=CVE-2024-27280). + +## Details + +An issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. + +The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and a subsequent call to StringIO.gets may return the memory value. + +This vulnerability is not affected by Ruby 3.2.x and later. + +## Recommended action + +We recommend to update the stringio gem to version 3.0.1.2 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: + +* For Ruby 3.0 users: Update to `stringio` 3.0.1.1 + +StringIO-3.0.1.2 contained bugfix for [[Bug #19389]][https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2]. This fix has been backported to Ruby 3.1.4. But we didn't change stringio version from 3.0.1. Therefore, we released 3.0.1.2 to include the vulnerability fix. + +You can use `gem update stringio` to update it. If you are using bundler, please add `gem "stringio", ">= 3.0.1.2"` to your `Gemfile`. + +## Affected versions + +* Ruby 3.0.6 or lower +* Ruby 3.1.4 or lower +* StringIO gem 3.0.1 or lower + +## Credits + +Thanks to [david_h1](https://hackerone.com/david_h1?type=user) for discovering this issue. + +## History + +* Originally published at 2024-03-21 11:00:00 (UTC) From 001759576b32803dd53eff866bce8d2b2b3eb09a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 19 Mar 2024 20:41:51 +0900 Subject: [PATCH 2142/2563] Draft for CVE-2024-27281 --- .../2024-03-21-rce-rdoc-cve-2024-27281.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md diff --git a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md new file mode 100644 index 0000000000..9536564f18 --- /dev/null +++ b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc" +author: "hsbt" +translator: +date: 2023-03-21 11:00:00 +0000 +tags: security +lang: en +--- + +We have released the rdoc gem version 6.3.4, 6.4.1, 6.5.1 and 6.6.3 that have a security fix for a RCE vulnerability. +This vulnerability has been assigned the CVE identifier [CVE-2024-27281](https://www.cve.org/CVERecord?id=CVE-2024-27281). + +## Details + +An issue was discovered in RDoc 6.3.3 through 6.6.2, as distributed in Ruby 3.x through 3.3.0. + +When parsing `.rdoc_options` (used for configuration in RDoc) as a YAML file, object injection and resultant remote code execution are possible because there are no restrictions on the classes that can be restored. + +When loading the documentation cache, object injection and resultant remote code execution are also possible if there were a crafted cache. + +## Recommended action + +We recommend to update the rdoc gem to version 6.6.3 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: + +* For Ruby 3.0 users: Update to `rdoc` 6.3.4 +* For Ruby 3.1 users: Update to `time` 6.4.1 +* For Ruby 3.2 users: Update to `time` 6.5.1 + +You can use `gem update rdoc` to update it. If you are using bundler, please add `gem "rdoc", ">= 6.6.3"` to your `Gemfile`. + +## Affected versions + +* Ruby 3.0.6 or lower +* Ruby 3.1.4 or lower +* Ruby 3.2.3 or lower +* Ruby 3.3.0 +* RDoc gem 6.3.3 or lower, 6.4.0 through 6.6.2 without the patch versions (6.3.4, 6.4.1, 6.5.1, 6.6.3) + +## Credits + +Thanks to [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) for discovering this issue. + +## History + +* Originally published at 2024-03-31 11:00:00 (UTC) From 9e940c611dbdb04c30ec4de9de37ab8933490e5a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 12:22:43 +0900 Subject: [PATCH 2143/2563] Revised --- .../2024-03-21-buffer-overread-cve-2024-27280.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index 395ab5ecf0..3fc4a24e16 100644 --- a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -8,24 +8,25 @@ tags: security lang: en --- -We have released the stringio gem version 3.0.1.1 and 3.0.1.2 that have a security fix for a buffer overread vulnerability. +We have released the StringIO gem version 3.0.1.1 and 3.0.1.2 that have a security fix for a buffer overread vulnerability. This vulnerability has been assigned the CVE identifier [CVE-2024-27280](https://www.cve.org/CVERecord?id=CVE-2024-27280). ## Details An issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. -The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and a subsequent call to StringIO.gets may return the memory value. +The `ungetbyte` and `ungetc` methods on a StringIO can read past the end of a string, and a subsequent call to `StringIO.gets` may return the memory value. -This vulnerability is not affected by Ruby 3.2.x and later. +This vulnerability is not affected StringIO 3.0.3 and later, and Ruby 3.2.x and later. ## Recommended action -We recommend to update the stringio gem to version 3.0.1.2 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: +We recommend to update the StringIO gem to version 3.0.3 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: * For Ruby 3.0 users: Update to `stringio` 3.0.1.1 +* For Ruby 3.1 users: Update to `stringio` 3.0.1.2 -StringIO-3.0.1.2 contained bugfix for [[Bug #19389]][https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2]. This fix has been backported to Ruby 3.1.4. But we didn't change stringio version from 3.0.1. Therefore, we released 3.0.1.2 to include the vulnerability fix. +StringIO 3.0.1.2 contained bugfix for [[Bug #19389]][https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2]. This fix has been backported to Ruby 3.1.4. But we didn't change stringio version from 3.0.1. Therefore, we released 3.0.1.2 to include the vulnerability fix. You can use `gem update stringio` to update it. If you are using bundler, please add `gem "stringio", ">= 3.0.1.2"` to your `Gemfile`. @@ -33,7 +34,7 @@ You can use `gem update stringio` to update it. If you are using bundler, please * Ruby 3.0.6 or lower * Ruby 3.1.4 or lower -* StringIO gem 3.0.1 or lower +* StringIO gem 3.0.2 or lower ## Credits From a3e1185de9ad84629f0bbbd4d72280a819fbe2de Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 12:30:36 +0900 Subject: [PATCH 2144/2563] Simplified --- en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index 3fc4a24e16..b0c3c86dd0 100644 --- a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -26,7 +26,7 @@ We recommend to update the StringIO gem to version 3.0.3 or later. In order to e * For Ruby 3.0 users: Update to `stringio` 3.0.1.1 * For Ruby 3.1 users: Update to `stringio` 3.0.1.2 -StringIO 3.0.1.2 contained bugfix for [[Bug #19389]][https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2]. This fix has been backported to Ruby 3.1.4. But we didn't change stringio version from 3.0.1. Therefore, we released 3.0.1.2 to include the vulnerability fix. +Note: hat StringIO 3.0.1.2 contains not only the fix for this vulnerability but also a bugfix for [[Bug #19389]][https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2]. You can use `gem update stringio` to update it. If you are using bundler, please add `gem "stringio", ">= 3.0.1.2"` to your `Gemfile`. From 09738adeb7fdbb05cf676635eb7493f55104253a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 12:33:28 +0900 Subject: [PATCH 2145/2563] style --- en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md index 9536564f18..f2a73501ed 100644 --- a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md +++ b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -8,7 +8,7 @@ tags: security lang: en --- -We have released the rdoc gem version 6.3.4, 6.4.1, 6.5.1 and 6.6.3 that have a security fix for a RCE vulnerability. +We have released the RDoc gem version 6.3.4, 6.4.1, 6.5.1 and 6.6.3 that have a security fix for a RCE vulnerability. This vulnerability has been assigned the CVE identifier [CVE-2024-27281](https://www.cve.org/CVERecord?id=CVE-2024-27281). ## Details @@ -21,7 +21,7 @@ When loading the documentation cache, object injection and resultant remote code ## Recommended action -We recommend to update the rdoc gem to version 6.6.3 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: +We recommend to update the RDoc gem to version 6.6.3 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: * For Ruby 3.0 users: Update to `rdoc` 6.3.4 * For Ruby 3.1 users: Update to `time` 6.4.1 From 86e8734cd241cf51878537f866ae24afbaf9e270 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 13:06:36 +0900 Subject: [PATCH 2146/2563] Fix incorrect date --- en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md | 2 +- en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index b0c3c86dd0..76974e65cd 100644 --- a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2024-27280: Buffer overread vulnerability in StringIO" author: "hsbt" translator: -date: 2023-03-21 11:00:00 +0000 +date: 2024-03-21 11:00:00 +0000 tags: security lang: en --- diff --git a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md index f2a73501ed..0b35739f09 100644 --- a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md +++ b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc" author: "hsbt" translator: -date: 2023-03-21 11:00:00 +0000 +date: 2024-03-21 11:00:00 +0000 tags: security lang: en --- From c4484f810686603812d11c8a96312ef25984d101 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 13:13:10 +0900 Subject: [PATCH 2147/2563] Use UTC --- en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md | 2 +- en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index 76974e65cd..c79ca9646e 100644 --- a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2024-27280: Buffer overread vulnerability in StringIO" author: "hsbt" translator: -date: 2024-03-21 11:00:00 +0000 +date: 2024-03-21 4:00:00 +0000 tags: security lang: en --- diff --git a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md index 0b35739f09..6d8ef25d3c 100644 --- a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md +++ b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc" author: "hsbt" translator: -date: 2024-03-21 11:00:00 +0000 +date: 2024-03-21 4:00:00 +0000 tags: security lang: en --- From fac85f77a836dbb4c7caa597c3351c742a26ce3d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 13:36:46 +0900 Subject: [PATCH 2148/2563] Fix several sentence --- .../_posts/2024-03-21-buffer-overread-cve-2024-27280.md | 2 +- en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index c79ca9646e..dacd1aa45b 100644 --- a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -42,4 +42,4 @@ Thanks to [david_h1](https://hackerone.com/david_h1?type=user) for discovering t ## History -* Originally published at 2024-03-21 11:00:00 (UTC) +* Originally published at 2024-03-21 4:00:00 (UTC) diff --git a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md index 6d8ef25d3c..4af55a3c1a 100644 --- a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md +++ b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -8,7 +8,7 @@ tags: security lang: en --- -We have released the RDoc gem version 6.3.4, 6.4.1, 6.5.1 and 6.6.3 that have a security fix for a RCE vulnerability. +We have released the RDoc gem version 6.3.4.1, 6.4.1.1, 6.5.1.1 and 6.6.3.1 that have a security fix for a RCE vulnerability. This vulnerability has been assigned the CVE identifier [CVE-2024-27281](https://www.cve.org/CVERecord?id=CVE-2024-27281). ## Details @@ -29,13 +29,15 @@ We recommend to update the RDoc gem to version 6.6.3 or later. In order to ensur You can use `gem update rdoc` to update it. If you are using bundler, please add `gem "rdoc", ">= 6.6.3"` to your `Gemfile`. +Note: 6.3.4, 6.4.1, 6.5.1 and 6.6.3 have a incorrect fix. We recommend to upgrade 6.3.4.1, 6.4.1.1, 6.5.1.1 and 6.6.3.1 instead of them. + ## Affected versions * Ruby 3.0.6 or lower * Ruby 3.1.4 or lower * Ruby 3.2.3 or lower * Ruby 3.3.0 -* RDoc gem 6.3.3 or lower, 6.4.0 through 6.6.2 without the patch versions (6.3.4, 6.4.1, 6.5.1, 6.6.3) +* RDoc gem 6.3.3 or lower, 6.4.0 through 6.6.2 without the patch versions (6.3.4, 6.4.1, 6.5.1) ## Credits @@ -43,4 +45,4 @@ Thanks to [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) for discovering ## History -* Originally published at 2024-03-31 11:00:00 (UTC) +* Originally published at 2024-03-21 4:00:00 (UTC) From 2e4067c1e9cb57f1bc3735ab6efac6d780d7f729 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 13:41:34 +0900 Subject: [PATCH 2149/2563] Fix recommended versions for rdoc --- en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md index 4af55a3c1a..1d2c8014ee 100644 --- a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md +++ b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -21,13 +21,13 @@ When loading the documentation cache, object injection and resultant remote code ## Recommended action -We recommend to update the RDoc gem to version 6.6.3 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: +We recommend to update the RDoc gem to version 6.6.3.1 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: -* For Ruby 3.0 users: Update to `rdoc` 6.3.4 -* For Ruby 3.1 users: Update to `time` 6.4.1 -* For Ruby 3.2 users: Update to `time` 6.5.1 +* For Ruby 3.0 users: Update to `rdoc` 6.3.4.1 +* For Ruby 3.1 users: Update to `time` 6.4.1.1 +* For Ruby 3.2 users: Update to `time` 6.5.1.1 -You can use `gem update rdoc` to update it. If you are using bundler, please add `gem "rdoc", ">= 6.6.3"` to your `Gemfile`. +You can use `gem update rdoc` to update it. If you are using bundler, please add `gem "rdoc", ">= 6.6.3.1"` to your `Gemfile`. Note: 6.3.4, 6.4.1, 6.5.1 and 6.6.3 have a incorrect fix. We recommend to upgrade 6.3.4.1, 6.4.1.1, 6.5.1.1 and 6.6.3.1 instead of them. From c9bd720c736753e2497ddc9c4e5728a82e1b4741 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 13:59:14 +0900 Subject: [PATCH 2150/2563] Typo and style fix --- en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index dacd1aa45b..0ffe5943c2 100644 --- a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -26,7 +26,7 @@ We recommend to update the StringIO gem to version 3.0.3 or later. In order to e * For Ruby 3.0 users: Update to `stringio` 3.0.1.1 * For Ruby 3.1 users: Update to `stringio` 3.0.1.2 -Note: hat StringIO 3.0.1.2 contains not only the fix for this vulnerability but also a bugfix for [[Bug #19389]][https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2]. +Note: that StringIO 3.0.1.2 contains not only the fix for this vulnerability but also a bugfix for [[Bug #19389]](https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2). You can use `gem update stringio` to update it. If you are using bundler, please add `gem "stringio", ">= 3.0.1.2"` to your `Gemfile`. From 2b6d0dd333604cfa9b82f287cae4161a4eab272a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Mar 2024 14:02:52 +0900 Subject: [PATCH 2151/2563] Fix incorrect gem name --- en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md index 1d2c8014ee..067f53c745 100644 --- a/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md +++ b/en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -24,8 +24,8 @@ When loading the documentation cache, object injection and resultant remote code We recommend to update the RDoc gem to version 6.6.3.1 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead: * For Ruby 3.0 users: Update to `rdoc` 6.3.4.1 -* For Ruby 3.1 users: Update to `time` 6.4.1.1 -* For Ruby 3.2 users: Update to `time` 6.5.1.1 +* For Ruby 3.1 users: Update to `rdoc` 6.4.1.1 +* For Ruby 3.2 users: Update to `rdoc` 6.5.1.1 You can use `gem update rdoc` to update it. If you are using bundler, please add `gem "rdoc", ">= 6.6.3.1"` to your `Gemfile`. From c3b18c3455b3102378a3d3ac4d841aa0c3c0dc27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:20:55 +0000 Subject: [PATCH 2152/2563] Bump actions/checkout from 4.1.1 to 4.1.2 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/b4ffde65f46336ab88eb53be808477a3936bae11...9bb56186c3b09b4f86b1c65136769dd318469633) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08964842e9..e3efc8afc8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 9df7071121..c66255f970 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - name: Setup Ruby uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 with: From 50dab8821403617f586d23e12bc76b622d6531ae Mon Sep 17 00:00:00 2001 From: gaojun Date: Sat, 23 Mar 2024 20:29:07 +0800 Subject: [PATCH 2153/2563] Jekyll's default service port is now 4000 instead of 9292 now --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f3596635db..c5ea65e6f1 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Then start a local web server with bundle exec rake serve ``` -Open [http://localhost:9292/](http://localhost:9292/) +Open [http://localhost:4000/](http://localhost:4000/) in your browser to access the preview. **Note:** The build of the site will take several minutes. From df6d4504341da9020137bbf76bcb797ed40f1aba Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 25 Mar 2024 19:41:25 +0900 Subject: [PATCH 2154/2563] Translate "CVE-2024-27280, CVE-2024-27281" (ko) (#3205) * cp {en,ko}/news/_posts/2024-03-21-{buffer-overread-cve-2024-27280,rce-rdoc-cve-2024-27281}.md * Translate cves * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ...24-03-21-buffer-overread-cve-2024-27280.md | 45 +++++++++++++++++ .../2024-03-21-rce-rdoc-cve-2024-27281.md | 48 +++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md create mode 100644 ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md diff --git a/ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md new file mode 100644 index 0000000000..b136d36786 --- /dev/null +++ b/ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "CVE-2024-27280: StringIO에서 버퍼 초과 읽기 취약점" +author: "hsbt" +translator: "shia" +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: ko +--- + +버퍼 초과 읽기 취약점에 대한 보안 수정이 포함된 StringIO gem 버전 3.0.1.1과 3.0.1.2를 릴리스했습니다. +이 취약점에는 CVE 식별자 [CVE-2024-27280](https://www.cve.org/CVERecord?id=CVE-2024-27280)이 할당되었습니다. + +## 세부 내용 + +Ruby 3.0.x부터 3.0.6까지, 3.1.x부터 3.1.4까지 함께 배포된 StringIO 3.0.1에서 문제가 발견되었습니다. + +StringIO의 `ungetbyte`와 `ungetc` 메서드는 문자열의 끝을 넘어서도 읽을 수 있으며, 이어서 호출되는 `StringIO.gets`는 메모리의 값을 반환할 수 있습니다. + +이 취약점은 StringIO 3.0.3과 그 이후, Ruby 3.2.x와 그 이후 버전에는 영향이 없습니다. + +## 권장 조치 + +StringIO gem을 3.0.3이나 그 이상으로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에 포함된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. + +* Ruby 3.0 사용자: `stringio` 3.0.1.1로 업데이트 +* Ruby 3.1 사용자: `stringio` 3.0.1.2로 업데이트 + +주의: StringIO 3.0.1.2는 이 취약점뿐만 아니라 [[Bug #19389]](https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2)의 버그 수정도 포함하고 있습니다. + +`gem update stringio`를 사용하여 업데이트할 수 있습니다. bundler를 사용하는 경우 `gem "stringio", ">= 3.0.1.2"`를 `Gemfile`에 추가하세요. + +## 해당 버전 + +* Ruby 3.0.6과 그 이하 +* Ruby 3.1.4와 그 이하 +* StringIO gem 3.0.2와 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [david_h1](https://hackerone.com/david_h1?type=user)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-03-21 04:00:00 (UTC) 최초 공개 diff --git a/ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md new file mode 100644 index 0000000000..b5a42dbfd6 --- /dev/null +++ b/ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "CVE-2024-27281: RDoc에서 .rdoc_options 사용 시의 RCE 취약점" +author: "hsbt" +translator: "shia" +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: ko +--- + +RCE 취약점에 대한 보안 수정이 포함된 RDoc gem 버전 6.3.4.1, 6.4.1.1, 6.5.1.1과 6.6.3.1을 릴리스했습니다. +이 취약점에는 CVE 식별자 [CVE-2024-27281](https://www.cve.org/CVERecord?id=CVE-2024-27281)이 할당되었습니다. + +## 세부 내용 + +Ruby 3.x부터 3.3.0까지 함께 배포된 RDoc 6.3.3부터 6.6.2까지 문제가 발견되었습니다. + +(RDoc 설정에 사용되는) `.rdoc_options`를 YAML 파일로 파싱할 때, 복원할 수 있는 클래스에 대한 제한이 없기 때문에, 객체 주입 및 그로 인한 원격 코드 실행이 가능합니다. + +문서 캐시를 읽어올 때도 조작된 캐시가 있을 경우, 객체 주입 및 그로 인한 원격 코드 실행이 가능합니다. + +## 권장 조치 + +RDoc gem을 6.6.3.1이나 그 이상으로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에 포함된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. + +* Ruby 3.0 사용자: `rdoc` 6.3.4.1로 업데이트 +* Ruby 3.1 사용자: `rdoc` 6.4.1.1로 업데이트 +* Ruby 3.2 사용자: `rdoc` 6.5.1.1로 업데이트 + +`gem update rdoc`를 사용하여 업데이트할 수 있습니다. bundler를 사용하는 경우 `gem "rdoc", ">= 6.6.3.1"`을 `Gemfile`에 추가하세요. + +주의: 6.3.4, 6.4.1, 6.5.1, 6.6.3은 부정확한 수정을 포함하고 있습니다. 이 대신 6.3.4.1, 6.4.1.1, 6.5.1.1, 6.6.3.1로 업데이트하세요. + +## 해당 버전 + +* Ruby 3.0.6과 그 이하 +* Ruby 3.1.4와 그 이하 +* Ruby 3.2.3과 그 이하 +* Ruby 3.3.0 +* RDoc gem 6.3.3과 그 이하, 수정된 버전(6.3.4, 6.4.1, 6.5.1)을 제외한 6.4.0부터 6.6.2까지 + +## 도움을 준 사람 + +이 문제를 발견해 준 [ooooooo_q](https://hackerone.com/ooooooo_q?type=user)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-03-21 04:00:00 (UTC) 최초 공개 From 4f9655df6cb108742a6e91a58c74a42518bf6588 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 15:48:55 +0000 Subject: [PATCH 2155/2563] Bump ruby/setup-ruby from 1.172.0 to 1.173.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.172.0 to 1.173.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/d4526a55538b775af234ba4af27118ed6f8f6677...5f19ec79cedfadb78ab837f95b87734d0003c899) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3efc8afc8..bdfde04563 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 + uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # v1.173.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index c66255f970..feb70dfd30 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - name: Setup Ruby - uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 + uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # v1.173.0 with: ruby-version: '3.2' bundler-cache: true From e78c4deb31a39f93fb4dbe70fb9e3f7fa99163d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 15:48:49 +0000 Subject: [PATCH 2156/2563] Bump actions/deploy-pages from 4.0.4 to 4.0.5 Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4.0.4 to 4.0.5. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/decdde0ac072f6dcbe43649d82d9c635fff5b4e4...d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index feb70dfd30..6a64046ca5 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@decdde0ac072f6dcbe43649d82d9c635fff5b4e4 # v4.0.4 + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 From fcf0d50a07404fcc0a54ac27f7cf1fac3923e656 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 15:03:44 +0000 Subject: [PATCH 2157/2563] Bump actions/configure-pages from 4.0.0 to 5.0.0 Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 4.0.0 to 5.0.0. - [Release notes](https://github.com/actions/configure-pages/releases) - [Commits](https://github.com/actions/configure-pages/compare/1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d...983d7736d9b0ae728b81ab479565c72886d7745b) --- updated-dependencies: - dependency-name: actions/configure-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/jekyll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 6a64046ca5..5497e408af 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -28,7 +28,7 @@ jobs: bundler-cache: true - name: Setup Pages id: pages - uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0 + uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build with Jekyll run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: From 789c441bcf8fd297daed33e62bff771f41eebca8 Mon Sep 17 00:00:00 2001 From: gaojun Date: Sat, 23 Mar 2024 20:15:59 +0800 Subject: [PATCH 2158/2563] Translate CVE-2024-27280, CVE-2024-27281 (zh_cn) --- ...24-03-21-buffer-overread-cve-2024-27280.md | 45 +++++++++++++++++ .../2024-03-21-rce-rdoc-cve-2024-27281.md | 48 +++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 zh_cn/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md create mode 100644 zh_cn/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md diff --git a/zh_cn/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/zh_cn/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md new file mode 100644 index 0000000000..7c3d57f4d3 --- /dev/null +++ b/zh_cn/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "CVE-2024-27280: StringIO 中的缓存过读漏洞" +author: "hsbt" +translator: "GAO Jun" +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: zh_cn +--- + +我们发布了包含缓存过读漏洞补丁的 StringIO gem 版本 3.0.1.1 和 3.0.1.2。 +此漏洞的 CVE 编号为 [CVE-2024-27280](https://www.cve.org/CVERecord?id=CVE-2024-27280). + +## 详情 + +在 StringIO 3.0.1 中发现了一个问题,在 Ruby 3.0.x 中影响至 3.0.6,在 3.1.x 中影响至 3.1.4。 + +StringIO 中的 `ungetbyte` 和 `ungetc` 方法能够读取超过字符串结尾的内容,如果后续调用 `StringIO.gets` 能返回内存数据。 + +此漏洞不会影响 StringIO 3.0.3 及之后版本,不会影响 Ruby 3.2.x 及之后版本。 + +## 建议操作 + +我们建议将 StringIO gem 更新到 3.0.3 或后续版本。 为确保与旧版 Ruby 中的绑定版本兼容,您可以按照下面的方式进行更新: + +* Ruby 3.0:更新 `stringio` 至 3.0.1.1 +* Ruby 3.1:更新 `stringio` 至 3.0.1.2 + +注意:StringIO 3.0.1.2 不仅包含了本问题的补丁,也包含了 [[Bug #19389]](https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2) 的补丁。 + +您可以通过 `gem update stringio` 进行更新。如果您使用 bundler,请在您的 `Gemfile` 中增加 `gem "stringio", ">= 3.0.1.2"`。 + +## 受影响版本 + +* Ruby 3.0.6 或更低版本 +* Ruby 3.1.4 或更低版本 +* StringIO gem 3.0.2 或更低版本 + +## 致谢 + +感谢 [david_h1](https://hackerone.com/david_h1?type=user) 发现此问题。 + +## 历史 + +* 最初发布于 2024-03-21 4:00:00 (UTC) diff --git a/zh_cn/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/zh_cn/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md new file mode 100644 index 0000000000..d2d8f5967c --- /dev/null +++ b/zh_cn/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞" +author: "hsbt" +translator: "GAO Jun" +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: zh_cn +--- + +我们发布了包含 RCE 漏洞补丁的 RDoc gem 版本 6.3.4.1, 6.4.1.1, 6.5.1.1 和 6.6.3.1。 +此漏洞的 CVE 编号为 [CVE-2024-27281](https://www.cve.org/CVERecord?id=CVE-2024-27281). + +## 详情 + +在 RDoc 6.3.3 至 6.6.2 中发现了一个问题,影响了 Ruby 3.x 至 3.3.0。 + +当解析 YAML 格式的 `.rdoc_options` 文件时(用于 RDoc 配置),由于对恢复的类没有限制,可能导致对象注入和由此产生的远程代码执行。 + +当载入文档缓存时,如果存在特制的缓存,对象注入和由此产生的远程代码执行也可能存在。 + +## 建议操作 + +我们建议将 RDoc gem 更新到 6.6.3.1 或后续版本。 为确保与旧版 Ruby 中的绑定版本兼容,您可以按照下面的方式进行更新: + +* Ruby 3.0:更新 `rdoc` 至 6.3.4.1 +* Ruby 3.1:更新 `rdoc` 至 6.4.1.1 +* Ruby 3.2:更新 `rdoc` 至 6.5.1.1 + +您可以通过 `gem update rdoc` 进行更新。如果您使用 bundler,请在您的 `Gemfile` 中增加 `gem "rdoc", ">= 6.6.3.1`。 + +注意: 6.3.4, 6.4.1, 6.5.1 和 6.6.3 中的补丁不正确。我们建议更新到 6.3.4.1, 6.4.1.1, 6.5.1.1 和 6.6.3.1。 + +## 受影响版本 + +* Ruby 3.0.6 或更低版本 +* Ruby 3.1.4 或更低版本 +* Ruby 3.2.3 或更低版本 +* Ruby 3.3.0 +* RDoc gem 6.3.3 或更低版本, 6.4.0 至 6.6.2 (除已修正版本 6.3.4,6.4.1, 6.5.1) + +## 致谢 + +感谢 [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) 发现此问题。 + +## 历史 + +* 最初发布于 2024-03-21 4:00:00 (UTC) From 625c182c8f977d20d2b596bdb1ef61391b1ff112 Mon Sep 17 00:00:00 2001 From: Tommaso Barbato Date: Mon, 4 Dec 2023 09:34:52 +0100 Subject: [PATCH 2159/2563] Normalize all dates to Date instead of String --- _data/releases.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index ba23f794e1..21200e7253 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -193,7 +193,7 @@ zip: fd89a0a833df4b5cb1734a7ffc86a8cf7cb3a8e25944331db674d3ad7732f615867e7e214e1fdd61e44e9c9c856b461b46219b340de7c87a758f28f3a99dd172 - version: 3.2.2 - date: '2023-03-30' + date: 2023-03-30 post: "/en/news/2023/03/30/ruby-3-2-2-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz @@ -217,7 +217,7 @@ zip: 569a68d89cc9a646cd0319d7cb8d57df3a55c0ac2c64f1f61607cc9c06b3aa8415eb8d38f7893ab3dbf072da9e919fbc454a9338e924c20a6a5110a1fa301d52 - version: 3.2.1 - date: '2023-02-08' + date: 2023-02-08 post: "/en/news/2023/02/08/ruby-3-2-1-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.1.tar.gz @@ -388,7 +388,7 @@ # 3.1 series - version: 3.1.4 - date: '2023-03-30' + date: 2023-03-30 post: "/en/news/2023/03/30/ruby-3-1-4-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.gz @@ -412,7 +412,7 @@ zip: 3a334302df97c2c7fec3c2d05d19a40b1ec6f95fef52c85d397196ce62fac4834f96783f0ac7fcba6e2a670f004bcc275db6f1810ace6c68a594e7d2fd9b297b - version: 3.1.3 - date: '2022-11-24' + date: 2022-11-24 post: "/en/news/2022/11/24/ruby-3-1-3-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.3.tar.gz @@ -436,7 +436,7 @@ zip: 3901380a27157639dee72f80231790886d269cc741a6c9e0f6472554855be86bdb93f71577ed8d93e817ef0c8d9a168fcd6f6d426fabb465dd0dd22b5a56cfc9 - version: 3.1.2 - date: '2022-04-12' + date: 2022-04-12 post: "/en/news/2022/04/12/ruby-3-1-2-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.2.tar.gz @@ -544,7 +544,7 @@ # 3.0 series - version: 3.0.6 - date: '2023-03-30' + date: 2023-03-30 post: "/en/news/2023/03/30/ruby-3-0-6-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.tar.gz @@ -568,7 +568,7 @@ zip: 576d11c668acac57cf4952228b148d17f16ab1dc491145355a4f2068b15f6cab8a4007a84d9d1eda4c1b62837675c82be99ebe6379c314f46c6ebbbf89677b5e - version: 3.0.5 - date: '2022-11-24' + date: 2022-11-24 post: "/en/news/2022/11/24/ruby-3-0-5-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.5.tar.gz @@ -592,7 +592,7 @@ zip: 953cef1dd97395e04059cc76ee2a74348f2c9da0b2727c5406af26e88072e8c0bde91835354cb9f1b44f3a81a49ea7b807d7f048d138fd74ba3cabbf7859f2b3 - version: 3.0.4 - date: '2022-04-12' + date: 2022-04-12 post: "/en/news/2022/04/12/ruby-3-0-4-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.4.tar.gz @@ -616,7 +616,7 @@ zip: 2d97099161bcd17c5fdf1c70da6e062ae410186e7c1235e3b1df5bad6085e370bed3cf1ebd89ed9b5918cd386ae47d1f986a3c96c32f0c8a0b9375e56b66a1d9 - version: 3.0.3 - date: '2021-11-24' + date: 2021-11-24 post: "/en/news/2021/11/24/ruby-3-0-3-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.3.tar.gz @@ -640,7 +640,7 @@ zip: 24c2a4f455f90e54f85d9565e392519833b36aefce32dc707e6693994d175c82e84ee6c37ed4a9ddf8840479e7cdfaae714c12bc6923368bb00346d4edd434d8 - version: 3.0.2 - date: '2021-07-07' + date: 2021-07-07 post: "/en/news/2021/07/07/ruby-3-0-2-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.2.tar.gz @@ -808,7 +808,7 @@ # 2.7 series - version: 2.7.8 - date: '2023-03-30' + date: 2023-03-30 post: "/en/news/2023/03/30/ruby-2-7-8-released/" url: bz2: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.tar.bz2 @@ -837,7 +837,7 @@ zip: e7ad3380cc81ecfebccb39acad7364a20bc5ebf9ce74ca5d82225fe0dea76e2ee46aa97e49b975dd9a00c7ff60d94907d9a27acdbb5c5a48b88a3c58e0a998be - version: 2.7.7 - date: '2022-11-24' + date: 2022-11-24 post: "/en/news/2022/11/24/ruby-2-7-7-released/" url: bz2: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.7.tar.bz2 @@ -866,7 +866,7 @@ zip: 90dabc0fcedc25e3e46d5e9f2dff01c56e142c2e71b95c4c5f4da056f1e47cb320ef8b949282fd9594869e91cd76eab27ad70061be6c26b0d0d8837ae0fb8309 - version: 2.7.6 - date: '2022-04-12' + date: 2022-04-12 post: "/en/news/2022/04/12/ruby-2-7-6-released/" url: bz2: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.6.tar.bz2 @@ -895,7 +895,7 @@ zip: d7210aa211333cc1afa080b999bf1a50db1708bb8e2c608892bb42fe450f4567aa4d974532071e0eba3d96bee63ed1f2d51f123d443edc46668c4eca3fe1f791 - version: 2.7.5 - date: '2021-11-24' + date: 2021-11-24 post: "/en/news/2021/11/24/ruby-2-7-5-released/" url: bz2: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.5.tar.bz2 @@ -924,7 +924,7 @@ zip: fe9a706f8139e59a40ab205dc88cdc613c9c69186cb2daeb5adc80bdf45290a523fa7e3fd0866fa12325039ba413ff1e1f4233073d352da08079dc903063b31a - version: 2.7.4 - date: '2021-07-07' + date: 2021-07-07 post: "/en/news/2021/07/07/ruby-2-7-4-released/" url: bz2: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.4.tar.bz2 @@ -1199,7 +1199,7 @@ # 2.6 series - version: 2.6.10 - date: '2022-04-12' + date: 2022-04-12 post: "/en/news/2022/04/12/ruby-2-6-10-released/" url: bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.10.tar.bz2 @@ -1228,7 +1228,7 @@ zip: 352efede781c3c3b1aaaaeaa28050d530b8a350ec549218464dfe57a4d39770f5a345978fc9f6c23d5f539db70bd9f53c4fbf807dc4ec4bdf9cae1acbe6c2c99 - version: 2.6.9 - date: '2021-11-24' + date: 2021-11-24 post: "/en/news/2021/11/24/ruby-2-6-9-released/" url: bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.9.tar.bz2 @@ -1257,7 +1257,7 @@ zip: 9073e0fc5040434f15158f24c6a551286bc5f1c4c1cb54d6e3debb4ac039187a4f274a217bdb5c8489c72360c65d708f89eb0f2472a1f9232fcfee8e296dec57 - version: 2.6.8 - date: '2021-07-07' + date: 2021-07-07 post: "/en/news/2021/07/07/ruby-2-6-8-released/" url: bz2: https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.8.tar.bz2 From 706b278dc1b09f7a76f084fe5bc2415195bbed44 Mon Sep 17 00:00:00 2001 From: Tommaso Barbato Date: Thu, 1 Feb 2024 11:49:53 +0100 Subject: [PATCH 2160/2563] Fix 3.2.3 release (ae9c2b0) --- _data/releases.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/releases.yml b/_data/releases.yml index 21200e7253..9d6d454dc3 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -169,7 +169,7 @@ # 3.2 series - version: 3.2.3 - date: '2024-01-18' + date: 2024-01-18 post: "/en/news/2024/01/18/ruby-3-2-3-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.3.tar.gz From 99bfd47d5660cb05e119fb2beacd0572328773b9 Mon Sep 17 00:00:00 2001 From: Maxim Dzyubak Date: Wed, 12 Jul 2023 15:02:20 +0300 Subject: [PATCH 2161/2563] Add vscode in (bg), (it), (pl), (ru) languages --- bg/documentation/index.md | 3 +++ it/documentation/index.md | 3 +++ pl/documentation/index.md | 3 +++ ru/documentation/index.md | 3 +++ 4 files changed, 12 insertions(+) diff --git a/bg/documentation/index.md b/bg/documentation/index.md index efbb1f7ea4..2cba7b0134 100644 --- a/bg/documentation/index.md +++ b/bg/documentation/index.md @@ -107,6 +107,7 @@ ruby -v * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] + * [Visual Studio Code][vscode] с плъгина [Ruby LSP][40] * За Windows: * [Notepad++][29] @@ -159,3 +160,5 @@ ruby -v [37]: http://www.sublimetext.com/ [38]: https://learncodethehardway.org/ruby/ [39]: http://kapeli.com/dash +[vscode]: https://code.visualstudio.com/ +[40]: https://marketplace.visualstudio.com/items?itemName=Shopify.ruby-lsp diff --git a/it/documentation/index.md b/it/documentation/index.md index f624e05832..19995e888b 100644 --- a/it/documentation/index.md +++ b/it/documentation/index.md @@ -103,6 +103,7 @@ Questa è una lista dei tool più comunemente usati dagli sviluppatori Ruby: * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] + * [Visual Studio Code][vscode] con [Ruby LSP][41] plugin * Per Windows: * [Notepad++][29] @@ -158,3 +159,5 @@ iniziare. [38]: https://learncodethehardway.org/ruby/ [39]: https://corsidia.com/materia/programmazione/imparare-a-programmare [40]: http://kapeli.com/dash +[vscode]: https://code.visualstudio.com/ +[41]: https://marketplace.visualstudio.com/items?itemName=Shopify.ruby-lsp diff --git a/pl/documentation/index.md b/pl/documentation/index.md index 45a8498ddb..454d600b8d 100644 --- a/pl/documentation/index.md +++ b/pl/documentation/index.md @@ -107,6 +107,7 @@ Oto lista popularnych narzędzi używanych przez rubistów: * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] + * [Visual Studio Code][vscode] z wtyczką [Ruby LSP][40] * Dla Windows: * [Notepad++][29] @@ -163,3 +164,5 @@ Jeśli szukasz pomocy w języku polskim, zajrzyj na [forum][pl-2]. [39]: http://kapeli.com/dash [pl-1]: http://www.apohllo.pl/dydaktyka/ruby/intro/ [pl-2]: http://forum.rubyonrails.pl/ +[vscode]: https://code.visualstudio.com/ +[40]: https://marketplace.visualstudio.com/items?itemName=Shopify.ruby-lsp diff --git a/ru/documentation/index.md b/ru/documentation/index.md index 1af7f4448b..1f1749e8aa 100644 --- a/ru/documentation/index.md +++ b/ru/documentation/index.md @@ -116,6 +116,7 @@ ruby -v * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] + * [Visual Studio Code][vscode] с [Ruby LSP][39] плагином * На Windows: * [Notepad++][29] @@ -168,3 +169,5 @@ ruby -v [36]: https://netbeans.org/ [37]: http://www.sublimetext.com/ [38]: https://learncodethehardway.org/ruby/ +[vscode]: https://code.visualstudio.com/ +[39]: https://marketplace.visualstudio.com/items?itemName=Shopify.ruby-lsp From a8a24c3bd2ad656bf2950ab9dc2cbd6fb2c1f877 Mon Sep 17 00:00:00 2001 From: Shugo Maeda Date: Thu, 11 Apr 2024 21:49:05 +0900 Subject: [PATCH 2162/2563] Fix the affected version of StringIO (#3214) --- en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index 0ffe5943c2..0e0bf0c4be 100644 --- a/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -34,7 +34,7 @@ You can use `gem update stringio` to update it. If you are using bundler, please * Ruby 3.0.6 or lower * Ruby 3.1.4 or lower -* StringIO gem 3.0.2 or lower +* StringIO gem 3.0.1 or lower ## Credits @@ -42,4 +42,5 @@ Thanks to [david_h1](https://hackerone.com/david_h1?type=user) for discovering t ## History +* Fixed the affected version of StringIO (3.0.2 -> 3.0.1) at 2024-04-11 12:50:00 (UTC) * Originally published at 2024-03-21 4:00:00 (UTC) From d5ec2d0d4ca6ed08df2a8fee7f7f47edec7075fd Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Fri, 12 Apr 2024 16:38:20 +0900 Subject: [PATCH 2163/2563] Fix the affected version of StringIO (ko) (#3215) --- ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index b136d36786..fa5cb2593b 100644 --- a/ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -34,7 +34,7 @@ StringIO gem을 3.0.3이나 그 이상으로 업데이트하는 것이 좋습니 * Ruby 3.0.6과 그 이하 * Ruby 3.1.4와 그 이하 -* StringIO gem 3.0.2와 그 이하 +* StringIO gem 3.0.1과 그 이하 ## 도움을 준 사람 @@ -42,4 +42,5 @@ StringIO gem을 3.0.3이나 그 이상으로 업데이트하는 것이 좋습니 ## 수정 이력 +* 2024-04-11 12:50:00 (UTC) StringIO의 해당 버전 수정(3.0.2 -> 3.0.1) * 2024-03-21 04:00:00 (UTC) 최초 공개 From 589ebac2d9a723846167b9db58e9f8821f5b1dac Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sat, 13 Apr 2024 16:21:31 +0900 Subject: [PATCH 2164/2563] Partially revert d6657033b5e26b13a6cdd37d1dba171ea3e0c828 --- ...011-02-18-fileutils-is-vulnerable-to-symlink-race-attacks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2011-02-18-fileutils-is-vulnerable-to-symlink-race-attacks.md b/en/news/_posts/2011-02-18-fileutils-is-vulnerable-to-symlink-race-attacks.md index b3a72c05b2..8c52517f94 100644 --- a/en/news/_posts/2011-02-18-fileutils-is-vulnerable-to-symlink-race-attacks.md +++ b/en/news/_posts/2011-02-18-fileutils-is-vulnerable-to-symlink-race-attacks.md @@ -32,7 +32,7 @@ should not be world writable except when the sticky bit set. ### Updates -* Fixed typo. (vulnerable -> vulnerable) +* Fixed typo. (vulnerabile -> vulnerable) * 1\.8.7-334 was released to fix this issue. 1.8.7 users are encouraged to upgrade. * [https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p334.tar.gz][1] From edbcb01bcf308eaee19da313eb34d3a6b8065d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sat, 13 Apr 2024 16:00:05 -0400 Subject: [PATCH 2165/2563] Translate CVE-2024-27280, CVE-2024-27281 (es) (#3217) * Translate CVE-2024-27280, CVE-2024-27281 (es) * Remove trailing space --- ...24-03-21-buffer-overread-cve-2024-27280.md | 60 ++++++++++++++++++ .../2024-03-21-rce-rdoc-cve-2024-27281.md | 63 +++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md create mode 100644 es/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md diff --git a/es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md new file mode 100644 index 0000000000..8a106ee914 --- /dev/null +++ b/es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -0,0 +1,60 @@ +--- +layout: news_post +title: "CVE-2024-27280: Buffer overread vulnerability in StringIO" +author: "hsbt" +translator: vtamara +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: es +--- + +Hemos publicado las versiones 3.0.1.1 y 3.0.1.2 de la gema +StringIO que tiene una corrección de seguridad para una vulnerabilidad +de sobre-lectura de un buffer. +A esta vulnerabilidad se le ha asignado el identificador CVE +[CVE-2024-27280](https://www.cve.org/CVERecord?id=CVE-2024-27280). + +## Detalles + +Se descubrió un problema en StringIO 3.0.1, distribuido con +Ruby 3.0.x, hasta 3.0.6 y con 3.1.x hasta 3.1.4. + +Los métodos `ungetbyte` y `ungetc` de StringIO pueden leer más +allá del fin de una cadena, y las llamadas subsiguientes a +`StringIO.gets` pueden retornar valores en memoria. + +Esta vulnerabilidad no afecta a StringIO 3.0.3 ni a posteriores, ni +a Ruby 3.2.x ni a posteriores. + +## Acción recomendada + +Recomendamos actualizar la gema StringIO a la versión 3.0.3 o posterior. +Para asegurar la compatibilidad con las versiones incluidas en series +de Ruby anteriores, puede actualizar como se indica a continuación: + +* Para usuarios de Ruby 3.0: Actualizar a `stringio` 3.0.1.1 +* Para usuarios de Ruby 3.1: Actualizar a `stringio` 3.0.1.2 + +Nota: La gema StringIO 3.0.1.2 contiene no sólo corrección para +esta vulnerabilidad, sino también una solución para +la falla [[Falla #19389]](https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2). + +Puede usar `gem update stringio` para actualizar. +Si está usando bundler, por favror agregue +`gem "stringio", ">= 3.0.1.2"` a su `Gemfile`. + +## Versiones afectadas + +* Ruby 3.0.6 y anteriores +* Ruby 3.1.4 y anteriores +* Gema StringIO 3.0.1 y anteriores + +## Creditos + +Agradecemos a [david_h1](https://hackerone.com/david_h1?type=user) +por descubrir este problema. + +## Historia + +* Arreglada la versión afectada de StringIO (3.0.2 -> 3.0.1) el 2024-04-11 12:50:00 (UTC) +* Publiado originalmente el 2024-03-21 4:00:00 (UTC) diff --git a/es/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/es/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md new file mode 100644 index 0000000000..4bc965c3ba --- /dev/null +++ b/es/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -0,0 +1,63 @@ +--- +layout: news_post +title: "CVE-2024-27281: Vulnerabilidad RCE con .rdoc_options en RDoc" +author: "hsbt" +translator: vtamara +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: es +--- + +Hemos publicado la gema RDoc versiones 6.3.4.1, 6.4.1.1, 6.5.1.1 y +6.6.3.1 que tienen una corrección de seguridad para una vulnerabilidad RCE. +A esta vulnerabilidad se le ha asignado el identifiador CVE +[CVE-2024-27281](https://www.cve.org/CVERecord?id=CVE-2024-27281). + +## Detalles + +Se descubrió un problema en RDoc de 6.3.3 a 6.6.2, tal como se +distribuyó con Ruby 3.x hasta 3.3.0. + +Cuando se analiza el archivo YAML `.rdoc_options` (usado para configurar RDoc), +resulta posible una inyección de objetos y la resultante ejecución de +código porque no hay restricciones en las clases que pueden restaurarse. + +Cuando se carga el cache de documentación, también resultan viables +la inyección de objetos y la posterior ejecución de código remoto +si hay un cache modificado. + +## Acción recomendada + +Recomendamos actualizar la gema RDoc a la versiónn 6.6.3.1 o posterior. +Para asegurar compatibilidad con la versión incluida en series de Ruby +anteriores, en lugar de eso puede actualizar como se indica a continuación: + +* Para usuarios de Ruby 3.0: Actualizar a `rdoc` 6.3.4.1 +* Para usuarios de Ruby 3.1: Actualizar a `rdoc` 6.4.1.1 +* Para usuarios de Ruby 3.2: Actualizar a `rdoc` 6.5.1.1 + +Puede usar `gem update rdoc` para actualizar. Si está usando +bundler, por favor agregue `gem "rdoc", ">= 6.6.3.1"` a su archivo `Gemfile`. + +Nota: Las versiones 6.3.4, 6.4.1, 6.5.1 y 6.6.3 tienen un arreglo +errado. En lugar de esas, recomendamos actualizar a 6.3.4.1, 6.4.1.1, 6.5.1.1 +y 6.6.3.1. + +## Versiones afectadas + +* Ruby 3.0.6 y anteriores +* Ruby 3.1.4 y anteriores +* Ruby 3.2.3 y anteriores + +* Ruby 3.3.0 +* Gemas RDoc 6.3.3 y anteriores , 6.4.0 hasta 6.6.2 sin las versiones + parchadas (6.3.4, 6.4.1, 6.5.1) + +## Creditos + +Agradecemos a [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) +por descubrir este problema. + +## Historia + +* Publicado originalmente el 2024-03-21 4:00:00 (UTC) From c946d08e8fca8db3fcabef5b513f7227fe073590 Mon Sep 17 00:00:00 2001 From: ANDO Yoko Date: Mon, 15 Apr 2024 13:27:54 +0900 Subject: [PATCH 2166/2563] Translate "CVE-2024-27280: Buffer overread vulnerability in StringIO" (ja) (#3216) --- ...24-03-21-buffer-overread-cve-2024-27280.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md diff --git a/ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md new file mode 100644 index 0000000000..e890924cdd --- /dev/null +++ b/ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "CVE-2024-27280: Buffer overread vulnerability in StringIO" +title: "CVE-2024-27280: StringIOにおけるバッファーオーバーリード脆弱性" +author: "hsbt" +translator: "nacl-ando" +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: ja +--- + +バッファーオーバーリード脆弱性のセキュリティ修正を含む StringIO gem 3.0.1.1 、 3.0.1.2 をリリースしました。 この脆弱性は、 [CVE-2024-27280](https://www.cve.org/CVERecord?id=CVE-2024-27280) として登録されています。 + +## 詳細 + + +Ruby 3.0.6 以下の 3.0.x 系と3.1.4 以下の 3.1.x 系で配布されている StringIO 3.0.1 に問題が見つかりました。 + +StringIO の`ungetbyte` と `ungetc` メソッドは文字列の終端を超えて読み込む可能性があり、その後に `StringIO.gets` を呼び出すとメモリの値を返します。 + +この脆弱性は StringIO 3.0.3 以降、 Ruby 3.2.x 以降のバージョンには影響ありません。 + +## 推奨する対応 + +StringIO gem を 3.0.3 以降にアップデートすることを推奨します。古い系列の Ruby で同梱されているバージョンとの互換性を確保するためには、以下のようにアップデートできます: + +* Ruby 3.0: `stringio` を 3.0.1.1 にアップデート +* Ruby 3.1: `stringio` を 3.0.1.2 にアップデート + +注意: StringIO 3.0.1.2 はこの脆弱性の他に [[Bug #19389]](https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2) のバグフィックスを含みます。 + +`gem update stringio` でアップデートできます。もし bundler を使っている場合は、 `Gemfile` に `gem "stringio", ">= 3.0.1.2"` を追加してください。 + +## 影響を受けるバージョン + +* Ruby 3.0.6 及びそれ以前のバージョン +* Ruby 3.1.4 及びそれ以前のバージョン +* StringIO gem 3.0.1 及びそれ以前のバージョン + +## クレジット + +この脆弱性情報は、 [david_h1](https://hackerone.com/david_h1?type=user) 氏によって報告されました。 + +## 更新履歴 + +* 2024-04-11 21:50:00 (JST) 影響を受ける StringIO の バージョンを 3.0.2 から 3.0.1 に変更 +* 2024-03-21 13:00:00 (JST) 初版 From c120d4aefaa0e16c3b9502f411d52bce1a234331 Mon Sep 17 00:00:00 2001 From: ANDO Yoko Date: Mon, 15 Apr 2024 15:46:43 +0900 Subject: [PATCH 2167/2563] Translate "CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc" (ja) (#3218) * Translate "CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc" (ja) --------- Co-authored-by: Shugo Maeda --- .../2024-03-21-rce-rdoc-cve-2024-27281.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md diff --git a/ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md new file mode 100644 index 0000000000..bb4053b0f1 --- /dev/null +++ b/ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "CVE-2024-27281: RDoc 内の .rdoc_options におけるRCE 脆弱性" +author: "hsbt" +translator: "nacl-ando" +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: ja +--- + + +RCE 脆弱性に対するセキュリティ修正を含む RDoc gem 6.3.4.1、 6.4.1.1、 6.5.1.1 および 6.6.3.1 をリリースしました。 +この脆弱性は、 [CVE-2024-27281](https://www.cve.org/CVERecord?id=CVE-2024-27281) として登録されています。 + +## 詳細 + +Ruby 3.3.0 以下の Ruby 3.x 系で配布されている.RDoc 6.3.3 から6.6.2 に問題が見つかりました。 + +RDoc の設定に使用される`.rdoc_options` ファイルを YAML 形式として解析する際に、復元可能なクラスに制限がないため、オブジェクトインジェクション及びそれに伴うリモートコード実行が可能です。 + +ドキュメントのキャッシュをロードする際に細工されたキャッシュがあった場合にも、オブジェクトインジェクション及びそれに伴うリモートコード実行が可能です。 + +## 推奨する対応 + +RDoc gem を 6.6.3.1 以上にアップデートすることを推奨します。古い系列の Ruby で同梱されているバージョンとの互換性を確保するためには、以下のようにアップデートできます: + +* Ruby 3.0: `rdoc` を 6.3.4.1 にアップデート +* Ruby 3.1: `rdoc` を 6.4.1.1 にアップデート +* Ruby 3.2: `rdoc` を 6.5.1.1 にアップデート + +`gem update rdoc` でアップデートできます。もし bundler を使っている場合は、 `Gemfile` に `gem "rdoc", ">= 6.6.3.1"` を追加してください。 + +注意: 6.3.4、 6.4.1、 6.5.1 及び 6.6.3 は不正な修正が含まれます。6.3.4.1、 6.4.1.1、 6.5.1.1 または 6.6.3.1 への修正を推奨します。 + +## 影響を受けるバージョン + +* Ruby 3.0.6 以前 +* Ruby 3.1.4 以前 +* Ruby 3.2.3 以前 +* Ruby 3.3.0 +* RDoc gem 6.3.3 以前、修正されたバージョン (6.3.4、 6.4.1、 6.5.1) を除く 6.4.0 から6.6.2 + +## クレジット + +この問題は [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) によって報告されました。 + +## 更新履歴 + +* 2024-03-21 13:00:00 (JST) 初版 From e2e202c7935f17966c56d8da389e8401cdd27760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 15 Apr 2024 07:38:46 -0400 Subject: [PATCH 2168/2563] Fix title of CVE-2024-27280 in spanish (#3219) --- es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md index 8a106ee914..d6b48e825a 100644 --- a/es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md +++ b/es/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-27280: Buffer overread vulnerability in StringIO" +title: "CVE-2024-27280: Vulnerabilidad de sobre-lectura de buffer en StringIO" author: "hsbt" translator: vtamara date: 2024-03-21 4:00:00 +0000 From 7ab48df47fa87e9ec36b71aa6e19c744b4f253a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 15:34:28 +0000 Subject: [PATCH 2169/2563] Bump ruby/setup-ruby from 1.173.0 to 1.174.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.173.0 to 1.174.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/5f19ec79cedfadb78ab837f95b87734d0003c899...6bd3d993c602f6b675728ebaecb2b569ff86e99b) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdfde04563..ead78645c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # v1.173.0 + uses: ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b # v1.174.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 5497e408af..d1fdd09b8e 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - name: Setup Ruby - uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # v1.173.0 + uses: ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b # v1.174.0 with: ruby-version: '3.2' bundler-cache: true From 2fa5187b58dc82b5f43297db63a00a07c9393296 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 15:34:23 +0000 Subject: [PATCH 2170/2563] Bump actions/checkout from 4.1.2 to 4.1.3 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...1d96c772d19495a3b5c517cd2bc0cb401ea0529f) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ead78645c2..5a1c5ba91f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index d1fdd09b8e..458cb5a735 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - name: Setup Ruby uses: ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b # v1.174.0 with: From 55217fba2d8d04c2bd6e204c8f7bb764e32bbb82 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 22 Apr 2024 14:46:16 +0900 Subject: [PATCH 2171/2563] CVE-2024-27282 --- ...mation-disclosure-regexp-cve-2024-27282.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md diff --git a/en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md b/en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md new file mode 100644 index 0000000000..271d336810 --- /dev/null +++ b/en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "CVE-2024-27282: Information disclosure vulnerability with Regex search" +author: "hsbt" +translator: +date: 2024-04-23 10:00:00 +0000 +tags: security +lang: en +--- + +We have released the Ruby version 3.0.7, 3.1.5, 3.2.4 and 3.3.1 that have a security fix for a vulnerability of information disclosure in Regex search. +This vulnerability has been assigned the CVE identifier [CVE-2024-27282](https://www.cve.org/CVERecord?id=CVE-2024-27282). + +## Details + +An issue was discovered in Ruby 3.x through 3.3.0. + +If attacker-supplied data is provided to the Ruby regex compiler, it is possible to extract arbitrary heap data relative to the start of the text, including pointers and sensitive strings. + +## Recommended action + +We recommend to update the Ruby to version 3.3.1 or later. In order to ensure compatibility with older Ruby series, you may update as follows instead: + +* For Ruby 3.0 users: Update to 3.0.7 +* For Ruby 3.1 users: Update to 3.1.5 +* For Ruby 3.2 users: Update to 3.2.4 + +## Affected versions + +* Ruby 3.0.6 or lower +* Ruby 3.1.4 or lower +* Ruby 3.2.3 or lower +* Ruby 3.3.0 + +## Credits + +Thanks to [sp2ip](https://hackerone.com/sp2ip?type=user) for discovering this issue. + +## History + +* Originally published at 2024-04-23 10:00:00 (UTC) From 8a4b6b42e0132174a6d5f21046c11add1337d183 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 22 Apr 2024 17:01:28 +0900 Subject: [PATCH 2172/2563] Added draft releases of all versions --- .../_posts/2024-04-23-ruby-3-0-7-released.md | 58 +++++++++++++++++++ .../_posts/2024-04-23-ruby-3-1-5-released.md | 47 +++++++++++++++ .../_posts/2024-04-23-ruby-3-2-4-released.md | 47 +++++++++++++++ .../_posts/2024-04-23-ruby-3-3-1-released.md | 47 +++++++++++++++ 4 files changed, 199 insertions(+) create mode 100644 en/news/_posts/2024-04-23-ruby-3-0-7-released.md create mode 100644 en/news/_posts/2024-04-23-ruby-3-1-5-released.md create mode 100644 en/news/_posts/2024-04-23-ruby-3-2-4-released.md create mode 100644 en/news/_posts/2024-04-23-ruby-3-3-1-released.md diff --git a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md new file mode 100644 index 0000000000..18e1b84cf4 --- /dev/null +++ b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -0,0 +1,58 @@ +--- +layout: news_post +title: "Ruby 3.0.7 Released" +author: "usa" +translator: +date: 2024-04-23 10:00:00 +0000 +lang: en +--- + +Ruby 3.0.7 has been released. + +This release includes security fixes. +Please check the topic below for details. + +* [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_7) for further details. + +After this release, Ruby 3.0 reaches EOL. In other words, this is expected to be the last release of Ruby 3.0 series. +We will not release Ruby 3.0.8 even if a security vulnerability is found (but could release if a severe regression is found). +We recommend all Ruby 3.0 users to start migration to Ruby 3.3, 3.2, or 3.1 immediately. + +## Download + +{% assign release = site.data.releases | where: "version", "3.0.7" | first %} + +* <{{ release.url.bz2 }}> + + SIZE: {{ release.size.bz2 }} + SHA1: {{ release.sha1.bz2 }} + SHA256: {{ release.sha256.bz2 }} + SHA512: {{ release.sha512.bz2 }} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. diff --git a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md new file mode 100644 index 0000000000..119df34587 --- /dev/null +++ b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Ruby 3.1.5 Released" +author: "usa" +translator: +date: 2024-04-23 10:00:00 +0000 +lang: en +--- + +Ruby 3.1.5 has been released. + +This release includes security fixes. +Please check the topic below for details. + +* [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_5) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.1.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. diff --git a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md new file mode 100644 index 0000000000..4dbcdd82d6 --- /dev/null +++ b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Ruby 3.2.4 Released" +author: "nagachika" +translator: +date: 2024-04-23 10:00:00 +0000 +lang: en +--- + +Ruby 3.2.4 has been released. + +This release includes security fixes. +Please check the topic below for details. + +* [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_4) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. diff --git a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md new file mode 100644 index 0000000000..4a0c01b074 --- /dev/null +++ b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Ruby 3.3.1 Released" +author: "naruse" +translator: +date: 2024-04-23 10:00:00 +0000 +lang: en +--- + +Ruby 3.3.1 has been released. + +This release includes security fixes. +Please check the topic below for details. + +* [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_1) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 06b838a7026eb0a5e5f5b2efa0177c392b8a7ec0 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 15:39:04 +0900 Subject: [PATCH 2173/2563] Update author --- en/news/_posts/2024-04-23-ruby-3-0-7-released.md | 2 +- en/news/_posts/2024-04-23-ruby-3-1-5-released.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md index 18e1b84cf4..a9e6d73232 100644 --- a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -1,7 +1,7 @@ --- layout: news_post title: "Ruby 3.0.7 Released" -author: "usa" +author: "hsbt" translator: date: 2024-04-23 10:00:00 +0000 lang: en diff --git a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md index 119df34587..e2f60800c6 100644 --- a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -1,7 +1,7 @@ --- layout: news_post title: "Ruby 3.1.5 Released" -author: "usa" +author: "hsbt" translator: date: 2024-04-23 10:00:00 +0000 lang: en From 23c21e84169666244a46065a76c0ef6cf723d70b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 15:50:20 +0900 Subject: [PATCH 2174/2563] Update branch status --- _data/branches.yml | 11 ++++++----- _data/downloads.yml | 18 +++++------------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/_data/branches.yml b/_data/branches.yml index 6925a4f8c8..2640368538 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -11,7 +11,9 @@ - name: 3.3 status: normal maintenance date: 2023-12-25 + security_maintenance_date: eol_date: + expected_eol_date: 2027-03-31 - name: 3.2 status: normal maintenance @@ -21,18 +23,17 @@ expected_eol_date: 2026-03-31 - name: 3.1 - status: normal maintenance + status: security maintenance date: 2021-12-25 - security_maintenance_date: + security_maintenance_date: 2024-04-01 eol_date: expected_eol_date: 2025-03-31 - name: 3.0 - status: security maintenance + status: eol date: 2020-12-25 security_maintenance_date: 2023-04-01 - eol_date: - expected_eol_date: 2024-03-31 + eol_date: 2024-04-23 - name: 2.7 status: eol diff --git a/_data/downloads.yml b/_data/downloads.yml index 9bb4c48899..fb475321d8 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -7,19 +7,18 @@ preview: stable: - - 3.3.0 - - 3.2.3 - - 3.1.4 + - 3.3.1 + - 3.2.4 # optional security_maintenance: - - 3.0.6 + - 3.1.5 # optional eol: - - 2.7.8 + - 3.0.7 stable_snapshots: @@ -44,17 +43,10 @@ stable_snapshots: zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_1.zip version: '3.1' - - branch: ruby_3_0 - url: - gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_0.tar.gz - xz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_0.tar.xz - zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_0.zip - version: '3.0' - nightly_snapshot: url: gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-master.tar.gz xz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-master.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-master.zip - version: '3.3' + version: '3.4' From 39d0033373b586cb8c11cb7b66bea2b9ca6f6fed Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 16:51:58 +0900 Subject: [PATCH 2175/2563] Added CVE-2024-27281 and CVE-2024-27280 --- en/news/_posts/2024-04-23-ruby-3-0-7-released.md | 2 ++ en/news/_posts/2024-04-23-ruby-3-1-5-released.md | 2 ++ en/news/_posts/2024-04-23-ruby-3-2-4-released.md | 2 ++ en/news/_posts/2024-04-23-ruby-3-3-1-released.md | 2 ++ 4 files changed, 8 insertions(+) diff --git a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md index a9e6d73232..63a011234c 100644 --- a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -13,6 +13,8 @@ This release includes security fixes. Please check the topic below for details. * [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_7) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md index e2f60800c6..2e79e8adc3 100644 --- a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -13,6 +13,8 @@ This release includes security fixes. Please check the topic below for details. * [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_5) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md index 4dbcdd82d6..96a623779d 100644 --- a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -13,6 +13,8 @@ This release includes security fixes. Please check the topic below for details. * [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_4) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md index 4a0c01b074..0cde35c40a 100644 --- a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -13,6 +13,8 @@ This release includes security fixes. Please check the topic below for details. * [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_1) for further details. From e50f9406f377dd1256f92f1f19955e8e508d9006 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 16:52:09 +0900 Subject: [PATCH 2176/2563] Added draft for release metadata --- _data/releases.yml | 77 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/_data/releases.yml b/_data/releases.yml index 9d6d454dc3..0d5da2a18a 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,35 @@ # 3.3 series +- version: 3.3.1 + date: 2024-04-23 + post: /en/news/2024/04/23/ruby-3-3-1-released/ + tag: v3_3_1 + stats: + files_changed: + insertions: + deletions: + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.1.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.1.tar.xz + size: + gz: + zip: + xz: + sha1: + gz: + zip: + xz: + sha256: + gz: + zip: + xz: + sha512: + gz: + zip: + xz: + - version: 3.3.0 date: 2023-12-25 post: /en/news/2023/12/25/ruby-3-3-0-released/ @@ -168,6 +197,30 @@ # 3.2 series +- version: 3.2.4 + date: 2024-04-23 + post: "/en/news/2024/04/23/ruby-3-2-4-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.zip + size: + gz: + xz: + zip: + sha1: + gz: + xz: + zip: + sha256: + gz: + xz: + zip: + sha512: + gz: + xz: + zip: + - version: 3.2.3 date: 2024-01-18 post: "/en/news/2024/01/18/ruby-3-2-3-released/" @@ -387,6 +440,30 @@ # 3.1 series +- version: 3.1.5 + date: 2024-04-23 + post: "/en/news/2024/04/23/ruby-3-1-5-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.5.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.5.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.5.zip + size: + gz: + xz: + zip: + sha1: + gz: + xz: + zip: + sha256: + gz: + xz: + zip: + sha512: + gz: + xz: + zip: + - version: 3.1.4 date: 2023-03-30 post: "/en/news/2023/03/30/ruby-3-1-4-released/" From 71bb27a5b681610255b0f3863dafa9beb3679a8d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 18:56:52 +0900 Subject: [PATCH 2177/2563] 3.0.7 --- _data/releases.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/_data/releases.yml b/_data/releases.yml index 0d5da2a18a..952b22e0d1 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -620,6 +620,30 @@ # 3.0 series +- version: 3.0.7 + date: 2024-04-23 + post: "/en/news/2024/04/23/ruby-3-0-7-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.7.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.7.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.7.zip + size: + gz: + xz: + zip: + sha1: + gz: + xz: + zip: + sha256: + gz: + xz: + zip: + sha512: + gz: + xz: + zip: + - version: 3.0.6 date: 2023-03-30 post: "/en/news/2023/03/30/ruby-3-0-6-released/" From a43aee20c5c2ba09c07013876ec42cc9b9d45b7d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 18:58:30 +0900 Subject: [PATCH 2178/2563] Rename --- ...4-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md} | 2 +- en/news/_posts/2024-04-23-ruby-3-0-7-released.md | 2 +- en/news/_posts/2024-04-23-ruby-3-1-5-released.md | 2 +- en/news/_posts/2024-04-23-ruby-3-2-4-released.md | 2 +- en/news/_posts/2024-04-23-ruby-3-3-1-released.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename en/news/_posts/{2024-04-23-information-disclosure-regexp-cve-2024-27282.md => 2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md} (93%) diff --git a/en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md b/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md similarity index 93% rename from en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md rename to en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md index 271d336810..387a458a57 100644 --- a/en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md +++ b/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-27282: Information disclosure vulnerability with Regex search" +title: "CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search" author: "hsbt" translator: date: 2024-04-23 10:00:00 +0000 diff --git a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md index 63a011234c..9c5f81ccf2 100644 --- a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -12,7 +12,7 @@ Ruby 3.0.7 has been released. This release includes security fixes. Please check the topic below for details. -* [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) +* [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) * [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) diff --git a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md index 2e79e8adc3..42bc6ad06b 100644 --- a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -12,7 +12,7 @@ Ruby 3.1.5 has been released. This release includes security fixes. Please check the topic below for details. -* [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) +* [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) * [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) diff --git a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md index 96a623779d..d92e6a305a 100644 --- a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -12,7 +12,7 @@ Ruby 3.2.4 has been released. This release includes security fixes. Please check the topic below for details. -* [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) +* [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) * [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) diff --git a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md index 0cde35c40a..e8909d6374 100644 --- a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -12,7 +12,7 @@ Ruby 3.3.1 has been released. This release includes security fixes. Please check the topic below for details. -* [CVE-2024-27282: Information disclosure vulnerability with Regex search]({%link en/news/_posts/2024-04-23-information-disclosure-regexp-cve-2024-27282.md %}) +* [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) * [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) From c9184325d5a05172b112b5b9e7fc424d2546f6d9 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:01:54 +0900 Subject: [PATCH 2179/2563] Update 3.3.1 detail --- _data/releases.yml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index 952b22e0d1..a9d18c7a5c 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -25,30 +25,26 @@ date: 2024-04-23 post: /en/news/2024/04/23/ruby-3-3-1-released/ tag: v3_3_1 - stats: - files_changed: - insertions: - deletions: url: gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.1.tar.gz zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.1.zip xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.1.tar.xz size: - gz: - zip: - xz: + gz: 22074535 + zip: 26953741 + xz: 16350792 sha1: - gz: - zip: - xz: + gz: affd82947d7cd84bd586f7f487a1da0c0bd8b1fd + zip: 98b9858e3c125cfe6ca838ac4e4e269fa34bcaaa + xz: 88ef585faece4ed76f4330bce52903664d4fbfe0 sha256: - gz: - zip: - xz: + gz: 8dc2af2802cc700cd182d5430726388ccf885b3f0a14fcd6a0f21ff249c9aa99 + zip: d81c99dd03d095f116361c9d097145666f7bb2512cd856ee086545b1c3e54c55 + xz: 0686941a3ec395a15ae2a852487b2a88e5fb8a5518e188df00d8d1bb71a6349b sha512: - gz: - zip: - xz: + gz: 0c8ea922a79152ac7adbfb2541320565bce6a631692fd39d499a06f53ad6339c16fad8374d171351ed63f7bda3312b26d4f8c058c5b6df3d7548fde372c718f1 + zip: 200bfcc1cc11282c64b03fe529287509684e01266d248ec85f51f6b382beebd8324321c2db59f52185f42c49fdde84aaa42cb59f0048faca389985431224564d + xz: c58e9be9b5ab48191fbf7d67e13f0ec42ee71ed338170e0f7b246708e9cfc617ce65098f5ce7ab32d4305e785642d3e44253462104d5b9c4abcb1a4113f48347 - version: 3.3.0 date: 2023-12-25 From 836c880fea2b70bf8ab06529f967be8f54fc8650 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:21:34 +0900 Subject: [PATCH 2180/2563] Update 3.1.5 and 3.0.7 --- _data/releases.yml | 52 +++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index a9d18c7a5c..765fdadb75 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -437,28 +437,28 @@ # 3.1 series - version: 3.1.5 - date: 2024-04-23 + date: '2024-04-23' post: "/en/news/2024/04/23/ruby-3-1-5-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.5.tar.gz xz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.5.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.5.zip size: - gz: - xz: - zip: + gz: 20884264 + xz: 15293020 + zip: 25208327 sha1: - gz: - xz: - zip: + gz: e3387c8fa2b6faf20beade2239ebdfc701ee6268 + xz: 807bf2b261cf71e7fe58641a6b5dac61fdeb05ea + zip: 83c6b2f26a35a1b23fef091e6db5c60ad0f52bf9 sha256: - gz: - xz: - zip: + gz: 3685c51eeee1352c31ea039706d71976f53d00ab6d77312de6aa1abaf5cda2c5 + xz: f9375a45bdf1cc41298558e7ac6c367f7b6cdcccf7196618b21f0886ff583b91 + zip: e5eefbd95844b0322f6b2650cdef4d884d31c08856df7362375d26360cca9ba4 sha512: - gz: - xz: - zip: + gz: 23661cb1b61013d912b7433f8707bbcd723391694d91f413747c71428e74f8c7385c1304de7d08b70c9fa3bd649e4eb5e9acb472d89dc2ad5678cc54855a24ae + xz: a9883f4d074825bb1f54ef3429a9a71341274bd2de1aa8ea32bce19b6b9c1bac5e5dc4c34a92b8e7caa73ba71d7ed7c546a6fec6f1fd3d8986974dce214f6d49 + zip: 390e6f99b101aa80de924532bfb0b9fc29702b1e14b92e12cc596e9c76f9a2e52ba0e72eb95accb4bac16d5d10d81900a2e8afba80aa514ef870f52cfd50b4fd - version: 3.1.4 date: 2023-03-30 @@ -617,28 +617,28 @@ # 3.0 series - version: 3.0.7 - date: 2024-04-23 + date: '2024-04-23' post: "/en/news/2024/04/23/ruby-3-0-7-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.7.tar.gz xz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.7.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.7.zip size: - gz: - xz: - zip: + gz: 21268288 + xz: 15848768 + zip: 25652209 sha1: - gz: - xz: - zip: + gz: ec95aee1364fc4d0ca0e8f83c525127016e05c86 + xz: efc97e609868a19f89653068c4915c162117b721 + zip: b258a1bfcd49fb801b83a0aec90a8bb3989e9e42 sha256: - gz: - xz: - zip: + gz: 2a3411977f2850431136b0fab8ad53af09fb74df2ee2f4fb7f11b378fe034388 + xz: 1748338373c4fad80129921080d904aca326e41bd9589b498aa5ee09fd575bab + zip: 163d752070a2ba1a015f004ae75e38ac9aa44bc4ebfafb55d5ff184cc72db5be sha512: - gz: - xz: - zip: + gz: 66e5116ddd027ab1b27d466104a5b440889318b4f2f74b5fdf3099812bf5f7ef77be62fe1df37e0dc7cd5b2f5efe7fee5b9096910ce815ca4126577cb2abfaa7 + xz: 4760dc7d1345279b53cff30f3dd015b67f6a505e5028357f046dbf23b15a52d09f7d91fcfe5cb75d6c3222e7283aad12b97b36f5de0ff959f824bd42073f9c48 + zip: ed5e6d827ba981808bc4d914e400963b4443d522d52dd5d3f645db0cf38b50ab6c9baafac1b5e348e677500a16ceef1a5ac15c6a67003c2b2037cb86c1bd3654 - version: 3.0.6 date: 2023-03-30 From b3df9a8312046f266a63e4c4c4d9a31322cc317d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:22:00 +0900 Subject: [PATCH 2181/2563] Update _data/releases.yml Co-authored-by: nagachika --- _data/releases.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index 765fdadb75..866d378782 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -201,21 +201,21 @@ xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.zip size: - gz: - xz: - zip: + gz: 20581711 + zip: 24739492 + xz: 15175656 sha1: - gz: - xz: - zip: + gz: a177e809102270f1cd77bf23c6df30c50ee7c107 + zip: e81354859b904711ce18eda1f42960a53caf3019 + xz: 2806593a486f54ce56e5ba83c152f397e48eb416 sha256: - gz: - xz: - zip: + gz: c72b3c5c30482dca18b0f868c9075f3f47d8168eaf626d4e682ce5b59c858692 + zip: 7edc0163bb033e895a8a97392be0146daec03769c1a6c7f8d084b6e8dc7f7299 + xz: e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b sha512: - gz: - xz: - zip: + gz: b695b98dac7bb2c8755a106d949cb1b1b91551092fad263765171ddf8a4d86585259ffab5f7cc9bace70143d645dbe5932cfc61c6dba7817177de391d76bcd79 + zip: b52a95b19d98ff5bd29aa74cb7d2cbad58f1ccad75892ad966aec35eef1a57f7c9727b8fd2a51c5c6a1677eaf67226afceee8ce079e523c7b264e841790ddcae + xz: fb0af37be4b6ad7b98ab9f8a508952238ee68b5828e3926331e4db52e2ebc1e6046f31114069322db0cd3bea7c9b82ace91c8564573ddcfa1f960877b237dbff - version: 3.2.3 date: 2024-01-18 From 4b5740064f1d82690b30a6232a8d55d60797b3d8 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:22:11 +0900 Subject: [PATCH 2182/2563] Update en/news/_posts/2024-04-23-ruby-3-0-7-released.md Co-authored-by: nagachika --- en/news/_posts/2024-04-23-ruby-3-0-7-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md index 9c5f81ccf2..4b242abb30 100644 --- a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -10,7 +10,7 @@ lang: en Ruby 3.0.7 has been released. This release includes security fixes. -Please check the topic below for details. +Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) From f0bd423fa215e5b325f1976a9c0f3045d534316c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:22:21 +0900 Subject: [PATCH 2183/2563] Update en/news/_posts/2024-04-23-ruby-3-1-5-released.md Co-authored-by: nagachika --- en/news/_posts/2024-04-23-ruby-3-1-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md index 42bc6ad06b..cadb647414 100644 --- a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -10,7 +10,7 @@ lang: en Ruby 3.1.5 has been released. This release includes security fixes. -Please check the topic below for details. +Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) From 6b62eda97ba0caf8cc437234d8a9ace346923a8d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:22:29 +0900 Subject: [PATCH 2184/2563] Update en/news/_posts/2024-04-23-ruby-3-2-4-released.md Co-authored-by: nagachika --- en/news/_posts/2024-04-23-ruby-3-2-4-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md index d92e6a305a..3e97467f6f 100644 --- a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -10,7 +10,7 @@ lang: en Ruby 3.2.4 has been released. This release includes security fixes. -Please check the topic below for details. +Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) From cf2719f401a617898a9e772114defaf0710e6079 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:22:36 +0900 Subject: [PATCH 2185/2563] Update en/news/_posts/2024-04-23-ruby-3-3-1-released.md Co-authored-by: nagachika --- en/news/_posts/2024-04-23-ruby-3-3-1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md index e8909d6374..85d56f1fa1 100644 --- a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -10,7 +10,7 @@ lang: en Ruby 3.3.1 has been released. This release includes security fixes. -Please check the topic below for details. +Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) From 801f5265b2021785bc8afc277af0ea8a357e116f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:28:30 +0900 Subject: [PATCH 2186/2563] Update en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md Co-authored-by: Yusuke Endoh --- ...04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md b/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md index 387a458a57..e04ac1ebcb 100644 --- a/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md +++ b/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md @@ -8,7 +8,7 @@ tags: security lang: en --- -We have released the Ruby version 3.0.7, 3.1.5, 3.2.4 and 3.3.1 that have a security fix for a vulnerability of information disclosure in Regex search. +We have released the Ruby version 3.0.7, 3.1.5, 3.2.4 and 3.3.1 that have a security fix for an arbitrary memory address read vulnerability in Regex search. This vulnerability has been assigned the CVE identifier [CVE-2024-27282](https://www.cve.org/CVERecord?id=CVE-2024-27282). ## Details From 755c797f15c2dde44b8366f195688838a31f5a08 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 23 Apr 2024 20:47:02 +0900 Subject: [PATCH 2187/2563] bzip2 is not available now --- en/news/_posts/2024-04-23-ruby-3-0-7-released.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md index 4b242abb30..ea15205666 100644 --- a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -26,13 +26,6 @@ We recommend all Ruby 3.0 users to start migration to Ruby 3.3, 3.2, or 3.1 imme {% assign release = site.data.releases | where: "version", "3.0.7" | first %} -* <{{ release.url.bz2 }}> - - SIZE: {{ release.size.bz2 }} - SHA1: {{ release.sha1.bz2 }} - SHA256: {{ release.sha256.bz2 }} - SHA512: {{ release.sha512.bz2 }} - * <{{ release.url.gz }}> SIZE: {{ release.size.gz }} From 75819348c9a5cbd4727c02b07852af94f7f402d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 23 Apr 2024 19:34:48 -0400 Subject: [PATCH 2188/2563] Translate CVE 2024 27282 (es) (#3222) --- ...mory-address-read-regexp-cve-2024-27282.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md diff --git a/es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md b/es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md new file mode 100644 index 0000000000..ab32e8f5f2 --- /dev/null +++ b/es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "CVE-2024-27282: Lectura de direcciones de memoria arbitrarias al buscar Regex" +author: "hsbt" +translator: vtamara +date: 2024-04-23 10:00:00 +0000 +tags: security +lang: es +--- + +Hemos publicado las versiones 3.0.7, 3.1.5, 3.2.4 y 3.3.1 que +incluyen una corrección de seguridad para una vulnerabilidad de +lectura de direcciones de memoria arbitrarias en la búsqueda Regex. +A esta vulnerabilidad se le ha asignado el identificador CVE +[CVE-2024-27282](https://www.cve.org/CVERecord?id=CVE-2024-27282). + +## Detalles + +Se ha descubierto un problema en Ruby 3.x incluyendo 3.3.0. + +Si se suministran datos preparados por un atacante al compilador de Regex de +Ruby, es posible extraer datos del heap relacionados con el comienzo +del texto, incluyendo apuntadores a cadenas sensitivas. + +## Acción recomendada + +Recomendamos actualizar a la versión de Ruby 3.3.1 o posterior. +Para asegurar compatibilidad con series anteriores de Ruby, +en lugar de eso, puede actualizar como se indica a continuación: + +* Para usuarios de Ruby 3.0: Actualizar a 3.0.7 +* Para usuarios de Ruby 3.1: Actualizar a 3.1.5 +* Para usuarios de Ruby 3.2: Actualizar a 3.2.4 + +## Versiones afectadas + +* Ruby 3.0.6 y anteriores +* Ruby 3.1.4 y anteriores +* Ruby 3.2.3 y anteriores +* Ruby 3.3.0 + +## Creditos + +Agradecmoes a [sp2ip](https://hackerone.com/sp2ip?type=user) +por descubrir este problema. + +## Historia + +* Publicado originalmente el 2024-04-23 10:00:00 (UTC) From f20d96c4c59bf8efc426ea96da30698660741eb0 Mon Sep 17 00:00:00 2001 From: Matheus Richard Date: Tue, 23 Apr 2024 21:45:47 -0300 Subject: [PATCH 2189/2563] Add compatibility note about `Regexp::new` (#3175) --- en/news/_posts/2023-12-25-ruby-3-3-0-released.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/en/news/_posts/2023-12-25-ruby-3-3-0-released.md b/en/news/_posts/2023-12-25-ruby-3-3-0-released.md index 30ae20b125..6cbad6d110 100644 --- a/en/news/_posts/2023-12-25-ruby-3-3-0-released.md +++ b/en/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -140,6 +140,9 @@ Note: Excluding feature bug fixes. deprecated. `it` will be a reference to the first block parameter in Ruby 3.4. [[Feature #18980]](https://bugs.ruby-lang.org/issues/18980) +* `Regexp::new` now only accepts up to 2 arguments instead of 3. This was + deprecated in Ruby 3.2. [[Bug #18797]](https://bugs.ruby-lang.org/issues/18797) + ### Removed environment variables The following deprecated methods are removed. From 59be334586107fcea2c6aec3fb513eed14269b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 23 Apr 2024 21:23:52 -0400 Subject: [PATCH 2190/2563] Release of Ruby 3.3.1 and others (es) (#3223) * Release of Ruby 3.3.1 and others (es) * Consistency in titles * Remove blank at end --- .../_posts/2024-04-23-ruby-3-0-7-released.md | 57 +++++++++++++++++++ .../_posts/2024-04-23-ruby-3-1-5-released.md | 51 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-2-4-released.md | 50 ++++++++++++++++ .../_posts/2024-04-23-ruby-3-3-1-released.md | 51 +++++++++++++++++ 4 files changed, 209 insertions(+) create mode 100644 es/news/_posts/2024-04-23-ruby-3-0-7-released.md create mode 100644 es/news/_posts/2024-04-23-ruby-3-1-5-released.md create mode 100644 es/news/_posts/2024-04-23-ruby-3-2-4-released.md create mode 100644 es/news/_posts/2024-04-23-ruby-3-3-1-released.md diff --git a/es/news/_posts/2024-04-23-ruby-3-0-7-released.md b/es/news/_posts/2024-04-23-ruby-3-0-7-released.md new file mode 100644 index 0000000000..060884cf78 --- /dev/null +++ b/es/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Publicado Ruby 3.0.7" +author: "hsbt" +translator: vtamara +date: 2024-04-23 10:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.0.7. + +Esta versión incluye correcciones de seguridad. Por favor +revise detalles en los temas siguientes. + +* [CVE-2024-27282: Lectura de direcciones de memoria arbitrarias al buscar Regex]({%link es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: Vulnerabilidad RCE con .rdoc_options en RDoc](https://www.ruby-lang.org/es/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: Vulnerabilidad de sobre-lectura de buffer en StringIO](https://www.ruby-lang.org/es/news/2024/03/21/buffer-overread-cve-2024-27280/) + +Ver más detalles en la [publicación en Github](https://github.com/ruby/ruby/releases/tag/v3_0_7). + +Tras esta versión, Ruby 3.0 llega a su Fin de Vida. En otras palabras, +se espera que esta sea la última versión de la serie Ruby 3.0. +No publicaremos Ruby 3.0.8 incluso si se encuentra una vulnerabilidad +de seguridad (aunque se podría publicar si se encontrara una +regresión mayor). +Recomendamos a todos los usuarios de Ruby 3.0 comenzar de inmediato +la migración hacía Ruby 3.3, 3.2, o 3.1. + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.0.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Notas de la publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron reportes de +fallas nos ayudaron a hacer esta versión. Gracias por sus contribuciones. diff --git a/es/news/_posts/2024-04-23-ruby-3-1-5-released.md b/es/news/_posts/2024-04-23-ruby-3-1-5-released.md new file mode 100644 index 0000000000..139b7bb135 --- /dev/null +++ b/es/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Publicado Ruby 3.1.5" +author: "hsbt" +translator: vtamara +date: 2024-04-23 10:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.1.5. + +Esta versión incluye correcciones de seguridad. Por favor +revise detalles en los temas siguientes. + +* [CVE-2024-27282: Lectura de direcciones de memoria arbitrarias al buscar Regex]({%link es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: Vulnerabilidad RCE con .rdoc_options en RDoc](https://www.ruby-lang.org/es/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: Vulnerabilidad de sobre-lectura de buffer en StringIO](https://www.ruby-lang.org/es/news/2024/03/21/buffer-overread-cve-2024-27280/) + +Ver más detalles en la [publicación en Github](https://github.com/ruby/ruby/releases/tag/v3_1_5). + + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.1.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + + +## Notas de la publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron reportes de +fallas nos ayudaron a hacer esta versión. Gracias por sus contribuciones. diff --git a/es/news/_posts/2024-04-23-ruby-3-2-4-released.md b/es/news/_posts/2024-04-23-ruby-3-2-4-released.md new file mode 100644 index 0000000000..0a84215266 --- /dev/null +++ b/es/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Publicado Ruby 3.2.4" +author: "nagachika" +translator: vtamara +date: 2024-04-23 10:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.2.4. + +Esta versión incluye correcciones de seguridad. Por favor +revise detalles en los temas siguientes. + +* [CVE-2024-27282: Lectura de direcciones de memoria arbitrarias al buscar Regex]({%link es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: Vulnerabilidad RCE con .rdoc_options en RDoc](https://www.ruby-lang.org/es/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: Vulnerabilidad de sobre-lectura de buffer en StringIO](https://www.ruby-lang.org/es/news/2024/03/21/buffer-overread-cve-2024-27280/) + +Ver más detalles en la [publicación en Github](https://github.com/ruby/ruby/releases/tag/v3_2_4). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.2.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + + +## Notas de la publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron reportes de +fallas nos ayudaron a hacer esta versión. Gracias por sus contribuciones. diff --git a/es/news/_posts/2024-04-23-ruby-3-3-1-released.md b/es/news/_posts/2024-04-23-ruby-3-3-1-released.md new file mode 100644 index 0000000000..4d1572e40d --- /dev/null +++ b/es/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.1" +author: "naruse" +translator: vtamara +date: 2024-04-23 10:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.3.1. + +Esta versión incluye correcciones de seguridad. +Por favor revise detalles en los temas siguientes. + +* [CVE-2024-27282: Lectura de direcciones de memoria arbitrarias al buscar Regex]({%link es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: Vulnerabilidad RCE con .rdoc_options en RDoc](https://www.ruby-lang.org/es/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: Vulnerabilidad de sobre-lectura de buffer en StringIO](https://www.ruby-lang.org/es/news/2024/03/21/buffer-overread-cve-2024-27280/) + +Ver más detalles en la [publicación en Github](https://github.com/ruby/ruby/releases/tag/v3_3_1). + + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.3.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + + +## Notas de la publicación + +Muchos contribuyentes, desarrolladores, y usuarios que proveyeron reportes de +fallas nos ayudaron a hacer esta versión. Gracias por sus contribuciones. From e9a9a8cd461e816c6277c7fb81a9b3dd2bdeab00 Mon Sep 17 00:00:00 2001 From: Postmodern Date: Thu, 25 Apr 2024 13:52:15 -0700 Subject: [PATCH 2191/2563] Explicitly recommend that Ruby 3.3 users upgrade to 3.3.1 for CVE-2024-27282 --- ...-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md b/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md index e04ac1ebcb..e27c89c452 100644 --- a/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md +++ b/en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md @@ -24,6 +24,7 @@ We recommend to update the Ruby to version 3.3.1 or later. In order to ensure co * For Ruby 3.0 users: Update to 3.0.7 * For Ruby 3.1 users: Update to 3.1.5 * For Ruby 3.2 users: Update to 3.2.4 +* For Ruby 3.3 users: Update to 3.3.1 ## Affected versions From 59a35dfe354781d94dcad323197b92dc164c3996 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 27 Apr 2024 16:59:20 +0900 Subject: [PATCH 2192/2563] Add compatibility note about `Regexp::new` (ko) (#3229) * Import upstream change Ref: https://github.com/ruby/www.ruby-lang.org/pull/3175 * Translate imported text * Update ko/news/_posts/2023-12-25-ruby-3-3-0-released.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/news/_posts/2023-12-25-ruby-3-3-0-released.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md b/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md index 6fa1d5deb6..375c399a95 100644 --- a/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md +++ b/ko/news/_posts/2023-12-25-ruby-3-3-0-released.md @@ -139,6 +139,8 @@ IRB에 여러 개선 사항이 추가됩니다. 다음과 같은 내용이 포 Ruby 3.4부터 `it`은 첫 번째 블록 인수를 가리킵니다. [[Feature #18980]](https://bugs.ruby-lang.org/issues/18980) +* `Regexp::new`는 최대 3개의 인수를 받았지만 이제 2개까지 허용합니다. 이는 Ruby 3.2에서 폐기예정이었습니다. [[Bug #18797]](https://bugs.ruby-lang.org/issues/18797) + ### 삭제된 환경 변수 폐기 예정이었던 환경 변수가 삭제됩니다. From 9d8d325e1d7514bfb8ca9e294164bb0744ac1438 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 27 Apr 2024 17:07:10 +0900 Subject: [PATCH 2193/2563] Translation of 2024-04-23 published news to ko (#3230) * Copy from origin news at 2024-04-23 * Translate news * Apply suggestions from code review Co-authored-by: Chayoung You * Use link --------- Co-authored-by: Chayoung You --- ...mory-address-read-regexp-cve-2024-27282.md | 42 +++++++++++++++ .../_posts/2024-04-23-ruby-3-0-7-released.md | 53 +++++++++++++++++++ .../_posts/2024-04-23-ruby-3-1-5-released.md | 49 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-2-4-released.md | 49 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-3-1-released.md | 49 +++++++++++++++++ 5 files changed, 242 insertions(+) create mode 100644 ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md create mode 100644 ko/news/_posts/2024-04-23-ruby-3-0-7-released.md create mode 100644 ko/news/_posts/2024-04-23-ruby-3-1-5-released.md create mode 100644 ko/news/_posts/2024-04-23-ruby-3-2-4-released.md create mode 100644 ko/news/_posts/2024-04-23-ruby-3-3-1-released.md diff --git a/ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md b/ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md new file mode 100644 index 0000000000..33868c900b --- /dev/null +++ b/ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "CVE-2024-27282: 정규표현식 검색의 임의의 메모리 주소 읽기 취약점" +author: "hsbt" +translator: "shia" +date: 2024-04-23 10:00:00 +0000 +tags: security +lang: ko +--- + +정규표현식 검색의 임의의 메모리 주소 읽기 취약점에 대한 보안 수정을 포함하는 Ruby 3.0.7, 3.1.5, 3.2.4, 3.3.1을 릴리스했습니다. +이 취약점은 CVE 번호 [CVE-2024-27282](https://www.cve.org/CVERecord?id=CVE-2024-27282)로 등록되어 있습니다. + +## 세부 내용 + +Ruby 3.x부터 3.3.0까지 문제가 발견되었습니다. + +공격자가 제공한 데이터가 Ruby 정규표현식 컴파일러에 제공되면, 텍스트 시작 지점과 관련된 임의의 힙 데이터를 추출할 수 있습니다. 여기에는 포인터와 민감한 문자열을 포함됩니다. + +## 권장 조치 + +Ruby를 3.3.1이나 그 이상으로 업데이트하는 것이 좋습니다. 이전 Ruby 버전대에 포함된 버전과의 호환성을 보장하기 위해 다음과 같이 업데이트할 수 있습니다. + +* Ruby 3.0 사용자: 3.0.7로 업데이트 +* Ruby 3.1 사용자: 3.1.5로 업데이트 +* Ruby 3.2 사용자: 3.2.4로 업데이트 +* Ruby 3.3 사용자: 3.3.1로 업데이트 + +## 해당 버전 + +* Ruby 3.0.6과 그 이하 +* Ruby 3.1.4와 그 이하 +* Ruby 3.2.3과 그 이하 +* Ruby 3.3.0 + +## 도움을 준 사람 + +이 문제를 발견해 준 [sp2ip](https://hackerone.com/sp2ip?type=user)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-04-23 10:00:00 (UTC) 최초 공개 diff --git a/ko/news/_posts/2024-04-23-ruby-3-0-7-released.md b/ko/news/_posts/2024-04-23-ruby-3-0-7-released.md new file mode 100644 index 0000000000..23050cb394 --- /dev/null +++ b/ko/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 3.0.7 릴리스" +author: "hsbt" +translator: "shia" +date: 2024-04-23 10:00:00 +0000 +lang: ko +--- + +Ruby 3.0.7이 릴리스되었습니다. + +이번 릴리스에는 보안 수정 사항이 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2024-27282: 정규표현식 검색의 임의의 메모리 주소 읽기 취약점]({%link ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc에서 .rdoc_options 사용 시의 RCE 취약점]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: StringIO에서 버퍼 초과 읽기 취약점]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_0_7)를 참조하세요. + +이 릴리스 후에 Ruby 3.0은 EOL에 도달합니다. 즉, 이번 릴리스가 Ruby 3.0 버전대의 마지막 릴리스가 될 것입니다. +보안 취약점이 발견되더라도 Ruby 3.0.8은 릴리스되지 않을 것입니다. (심각한 회귀 버그가 발생하는 경우는 예외입니다.) +모든 Ruby 3.0 사용자는 즉시 Ruby 3.3, 3.2, 3.1로 마이그레이션할 것을 권장합니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.0.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2024-04-23-ruby-3-1-5-released.md b/ko/news/_posts/2024-04-23-ruby-3-1-5-released.md new file mode 100644 index 0000000000..0b90862c4d --- /dev/null +++ b/ko/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.1.5 릴리스" +author: "hsbt" +translator: "shia" +date: 2024-04-23 10:00:00 +0000 +lang: ko +--- + +Ruby 3.1.5가 릴리스되었습니다. + +이번 릴리스에는 보안 수정 사항이 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2024-27282: 정규표현식 검색의 임의의 메모리 주소 읽기 취약점]({%link ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc에서 .rdoc_options 사용 시의 RCE 취약점]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: StringIO에서 버퍼 초과 읽기 취약점]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_1_5)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.1.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2024-04-23-ruby-3-2-4-released.md b/ko/news/_posts/2024-04-23-ruby-3-2-4-released.md new file mode 100644 index 0000000000..ef443be67c --- /dev/null +++ b/ko/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.2.4 릴리스" +author: "nagachika" +translator: "shia" +date: 2024-04-23 10:00:00 +0000 +lang: ko +--- + +Ruby 3.2.4가 릴리스되었습니다. + +이번 릴리스에는 보안 수정 사항이 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2024-27282: 정규표현식 검색의 임의의 메모리 주소 읽기 취약점]({%link ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc에서 .rdoc_options 사용 시의 RCE 취약점]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: StringIO에서 버퍼 초과 읽기 취약점]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_4)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.2.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2024-04-23-ruby-3-3-1-released.md b/ko/news/_posts/2024-04-23-ruby-3-3-1-released.md new file mode 100644 index 0000000000..aeeec8afc6 --- /dev/null +++ b/ko/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.3.1 릴리스" +author: "naruse" +translator: "shia" +date: 2024-04-23 10:00:00 +0000 +lang: ko +--- + +Ruby 3.3.1이 릴리스되었습니다. + +이번 릴리스에는 보안 수정 사항이 포함되어 있습니다. +자세한 내용은 아래 항목을 참조하세요. + +* [CVE-2024-27282: 정규표현식 검색의 임의의 메모리 주소 읽기 취약점]({%link ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc에서 .rdoc_options 사용 시의 RCE 취약점]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: StringIO에서 버퍼 초과 읽기 취약점]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_3_1)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.3.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 6f7bf194176e7cc1d31aa14d03d03e5b98707f7c Mon Sep 17 00:00:00 2001 From: Bear Su Date: Mon, 29 Apr 2024 12:12:41 +0800 Subject: [PATCH 2194/2563] Translation news in 20240321 and 20240423 (#3225) Translation (zh_tw) of posts: CVE-2024-27280: Buffer overread vulnerability in StringIO CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search Ruby 3.0.7 Released Ruby 3.1.5 Released Ruby 3.2.4 Released Ruby 3.3.1 Released --- ...24-03-21-buffer-overread-cve-2024-27280.md | 46 ++++++++++++++++ .../2024-03-21-rce-rdoc-cve-2024-27281.md | 47 +++++++++++++++++ ...mory-address-read-regexp-cve-2024-27282.md | 42 +++++++++++++++ .../_posts/2024-04-23-ruby-3-0-7-released.md | 52 +++++++++++++++++++ .../_posts/2024-04-23-ruby-3-1-5-released.md | 48 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-2-4-released.md | 48 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-3-1-released.md | 48 +++++++++++++++++ 7 files changed, 331 insertions(+) create mode 100644 zh_tw/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md create mode 100644 zh_tw/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md create mode 100644 zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md create mode 100644 zh_tw/news/_posts/2024-04-23-ruby-3-0-7-released.md create mode 100644 zh_tw/news/_posts/2024-04-23-ruby-3-1-5-released.md create mode 100644 zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md create mode 100644 zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md diff --git a/zh_tw/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md b/zh_tw/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md new file mode 100644 index 0000000000..46dc266d43 --- /dev/null +++ b/zh_tw/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "CVE-2024-27280: StringIO 中的緩衝區 overread 漏洞" +author: "hsbt" +translator: "Bear Su" +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: zh_tw +--- + +我們發布了 StringIO gem 版本 3.0.1.1 和 3.0.1.2,對緩衝區 overread 漏洞進行了安全性修復。 +該漏洞的 CVE 編號為 [CVE-2024-27280](https://www.cve.org/CVERecord?id=CVE-2024-27280)。 + +## 風險細節 + +在 StringIO 3.0.1 中發現了一個問題,Ruby 影響版本為 3.0.x 至 3.0.6 和 3.1.x 至 3.1.4。 + +StringIO 中的 `ungetbyte` 和 `ungetc` 方法能夠讀取超過字串結尾的內容,如果繼續呼叫 `StringIO.gets` 會回傳記憶體中的資料。 + +此漏洞不影響 StringIO 3.0.3 及更新版本,和 Ruby 3.2.x 及更新版本。 + +## 建議行動 + +我們建議升級 StringIO gem 至 3.0.3 或更新版本。為了確保相容於 Ruby 舊版本,您可以按照以下方式進行升級: + +* Ruby 3.0: 升級至 `stringio` 3.0.1.1 +* Ruby 3.1: 升級至 `stringio` 3.0.1.2 + +注意: StringIO 3.0.1.2 除了漏洞修復之外,也包含了錯誤修復 [[Bug #19389]](https://github.com/ruby/ruby/commit/1d24a931c458c93463da1d5885f33edef3677cc2)。 + +您可以使用 `gem update stringio` 進行更新。如果您使用 bundler,請將 `gem "stringio", ">= 3.0.1.2"` 加入到您的 `Gemfile` 中。 + +## 受影響版本 + +* Ruby 3.0.6 及更早版本 +* Ruby 3.1.4 及更早版本 +* StringIO gem 3.0.1 及更早版本 + +## 致謝 + +感謝 [david_h1](https://hackerone.com/david_h1?type=user) 發現此問題。 + +## 歷史 + +* 修復 StringIO 影響版本 (3.0.2 -> 3.0.1) 於 2024-04-11 12:50:00 (UTC) +* 最初發佈於 2024-03-21 4:00:00 (UTC) diff --git a/zh_tw/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md b/zh_tw/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md new file mode 100644 index 0000000000..3ef4b21f32 --- /dev/null +++ b/zh_tw/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞" +author: "hsbt" +translator: "Bear Su" +date: 2024-03-21 4:00:00 +0000 +tags: security +lang: zh_tw +--- + +我們發布了 RDoc gem 版本 6.3.4.1、6.4.1.1、6.5.1.1 和 6.6.3.1 對 RCE 漏洞進行了安全性修復。 +該漏洞的 CVE 編號為 [CVE-2024-27281](https://www.cve.org/CVERecord?id=CVE-2024-27281)。 + +## 風險細節 + +在 RDoc 6.3.3 至 6.6.2 中發現了一個問題,Ruby 影響版本為 3.x 至 3.3.0。 + +當解析 YAML 格式的 `.rdoc_options` 檔案時 (用於 RDoc 設定),由於沒有限制恢復的類別,可能導致執行物件注入與遠端程式碼進行攻擊。 +當載入文件快取時,如果有特製的快取存在,則可能執行物件注入與遠端程式碼進行攻擊。 + +## 建議行動 + +我們建議升級 RDoc gem 至 6.6.3.1 或更新版本。為了確保相容於 Ruby 舊版本,您可以按照以下方式進行升級: + +* Ruby 3.0: 升級至 `rdoc` 6.3.4.1 +* Ruby 3.1: 升級至 `rdoc` 6.4.1.1 +* Ruby 3.2: 升級至 `rdoc` 6.5.1.1 + +您可以使用 `gem update rdoc` 進行更新。如果您使用 bundler,請將 `gem "rdoc", ">= 6.6.3.1"` 加入到您的 `Gemfile` 中。 + +注意: 6.3.4、6.4.1、6.5.1 和 6.6.3 有不正確的修復。我們建議升級至 6.3.4.1、6.4.1.1、6.5.1.1 和 6.6.3.1。 + +## 受影響版本 + +* Ruby 3.0.6 及更早版本 +* Ruby 3.1.4 及更早版本 +* Ruby 3.2.3 及更早版本 +* Ruby 3.3.0 +* RDoc gem 6.3.3 及更早版本,6.4.0 至 6.6.2 中未修補版本 (6.3.4, 6.4.1, 6.5.1) + +## 致謝 + +感謝 [ooooooo_q](https://hackerone.com/ooooooo_q?type=user) 發現此問題。 + +## 歷史 + +* 最初發佈於 2024-03-21 4:00:00 (UTC) diff --git a/zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md b/zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md new file mode 100644 index 0000000000..76d71a6a18 --- /dev/null +++ b/zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "CVE-2024-27282: Regex 搜尋的任意記憶體位址讀取漏洞" +author: "hsbt" +translator: "Bear Su" +date: 2024-04-23 10:00:00 +0000 +tags: security +lang: zh_tw +--- + +我們發布了 Ruby 版本 3.0.7、3.1.5、3.2.4 和 3.3.1,對 Regex 搜尋中的任意記憶體位址讀取漏洞進行了安全性修復。 +該漏洞的 CVE 編號為 [CVE-2024-27282](https://www.cve.org/CVERecord?id=CVE-2024-27282)。 + +## 風險細節 + +在 Ruby 3.x 至 3.3.0 中發現了一個問題。 + +如果將攻擊者提供的資料給 Ruby 的 Regex 編譯器,可能會被提取出相對於文字開頭的任意堆疊中的資料,包括指標與機敏字串。 + +## 建議行動 + +我們建議升級 Ruby 至 3.3.1 或更新版本。為了確保相容於 Ruby 舊版本,您可以按照以下方式進行升級: + +* Ruby 3.0: 升級至 3.0.7 +* Ruby 3.1: 升級至 3.1.5 +* Ruby 3.2: 升級至 3.2.4 +* Ruby 3.3: 升級至 3.3.1 + +## 受影響版本 + +* Ruby 3.0.6 及更早版本 +* Ruby 3.1.4 及更早版本 +* Ruby 3.2.3 及更早版本 +* Ruby 3.3.0 + +## 致謝 + +感謝 [sp2ip](https://hackerone.com/sp2ip?type=user) 發現此問題。 + +## 歷史 + +* 最初發佈於 2024-04-23 10:00:00 (UTC) diff --git a/zh_tw/news/_posts/2024-04-23-ruby-3-0-7-released.md b/zh_tw/news/_posts/2024-04-23-ruby-3-0-7-released.md new file mode 100644 index 0000000000..c95984ca73 --- /dev/null +++ b/zh_tw/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "Ruby 3.0.7 發布" +author: "hsbt" +translator: "Bear Su" +date: 2024-04-23 10:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.0.7 已經發布了。 + +本次發布版本包含安全性修正。 +細節請參考下列內容。 + +* [CVE-2024-27282: Regex 搜尋的任意記憶體位址讀取漏洞]({%link zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: StringIO 中的緩衝區 overread 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/buffer-overread-cve-2024-27280/) + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_0_7)。 + +隨著這個版本的發佈,Ruby 3.0 進入了終了階段(EOL)。這意味著此為 Ruby 3.0 系列的最後版本。 +之後即使發現安全性漏洞,我們也不會發布 Ruby 3.0.8 (除非發現有嚴重的回歸問題)。 +我們建議所有 Ruby 3.0 使用者盡快遷移至 Ruby 3.3、3.2、或是 3.1。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.0.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 diff --git a/zh_tw/news/_posts/2024-04-23-ruby-3-1-5-released.md b/zh_tw/news/_posts/2024-04-23-ruby-3-1-5-released.md new file mode 100644 index 0000000000..5471843e9a --- /dev/null +++ b/zh_tw/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.1.5 發布" +author: "hsbt" +translator: "Bear Su" +date: 2024-04-23 10:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.1.5 已經發布了。 + +本次發布版本包含安全性修正。 +細節請參考下列內容。 + +* [CVE-2024-27282: Regex 搜尋的任意記憶體位址讀取漏洞]({%link zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: StringIO 中的緩衝區 overread 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/buffer-overread-cve-2024-27280/) + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_1_5)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.1.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 diff --git a/zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md b/zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md new file mode 100644 index 0000000000..65b0f723bf --- /dev/null +++ b/zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.2.4 發布" +author: "nagachika" +translator: "Bear Su" +date: 2024-04-23 10:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.2.4 已經發布了。 + +本次發布版本包含安全性修正。 +細節請參考下列內容。 + +* [CVE-2024-27282: Regex 搜尋的任意記憶體位址讀取漏洞]({%link zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: StringIO 中的緩衝區 overread 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/buffer-overread-cve-2024-27280/) + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_2_4)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.2.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 diff --git a/zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md b/zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md new file mode 100644 index 0000000000..c126baf3b1 --- /dev/null +++ b/zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.3.1 發布" +author: "naruse" +translator: "Bear Su" +date: 2024-04-23 10:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.3.1 已經發布了。 + +本次發布版本包含安全性修正。 +細節請參考下列內容。 + +* [CVE-2024-27282: Regex 搜尋的任意記憶體位址讀取漏洞]({%link zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: StringIO 中的緩衝區 overread 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/buffer-overread-cve-2024-27280/) + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_1)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.3.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 From 970689a9e84b603d948920c5c918d1a267abdd2a Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Mon, 29 Apr 2024 12:13:48 +0800 Subject: [PATCH 2195/2563] Translate CVE-2024-27282, Ruby 3.0.7, 3.1.5, 3.2.4, 3.3.1 (zh_cn) (#3224) --- ...mory-address-read-regexp-cve-2024-27282.md | 41 ++++++++++++++ .../_posts/2024-04-23-ruby-3-0-7-released.md | 53 +++++++++++++++++++ .../_posts/2024-04-23-ruby-3-1-5-released.md | 49 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-2-4-released.md | 49 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-3-1-released.md | 49 +++++++++++++++++ 5 files changed, 241 insertions(+) create mode 100644 zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md create mode 100644 zh_cn/news/_posts/2024-04-23-ruby-3-0-7-released.md create mode 100644 zh_cn/news/_posts/2024-04-23-ruby-3-1-5-released.md create mode 100644 zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md create mode 100644 zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md diff --git a/zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md b/zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md new file mode 100644 index 0000000000..18f037b8b3 --- /dev/null +++ b/zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "CVE-2024-27282: Regex 搜索中的任意地址读取漏洞" +author: "hsbt" +translator: "GAO Jun" +date: 2024-04-23 10:00:00 +0000 +tags: security +lang: zh_cn +--- + +我们发布了 Ruby 3.0.7,3.1.5,3.2.4 和 3.3.1,其中包含了 Regex 搜索中的任意地址读取漏洞的补丁。 +此漏洞的 CVE 编号为 [CVE-2024-27282](https://www.cve.org/CVERecord?id=CVE-2024-27282)。 + +## 详情 + +在 Ruby 3.x 至 3.3.0 中发现了一个问题。 + +如果将攻击者提供的特定数据提供给 Ruby 的正则表达式编译器,则可能提取与文本开始相关的任意堆数据,包括指针和敏感字符串。 + +## 建议操作 + +我们建议将 Ruby 更新到 3.3.1 或后续版本。为确保与旧版 Ruby 兼容,您可以按照下面的方式进行更新: + +* Ruby 3.0:更新至 3.0.7 +* Ruby 3.1:更新至 3.1.5 +* Ruby 3.2:更新至 3.2.4 + +## 受影响版本 + +* Ruby 3.0.6 或更低版本 +* Ruby 3.1.4 或更低版本 +* Ruby 3.2.3 或更低版本 +* Ruby 3.3.0 + +## 致谢 + +感谢 [sp2ip](https://hackerone.com/sp2ip?type=user) 发现此问题。 + +## 历史 + +* 最初发布于 2024-04-23 10:00:00 (UTC) diff --git a/zh_cn/news/_posts/2024-04-23-ruby-3-0-7-released.md b/zh_cn/news/_posts/2024-04-23-ruby-3-0-7-released.md new file mode 100644 index 0000000000..e6e1b76f39 --- /dev/null +++ b/zh_cn/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 3.0.7 已发布" +author: "hsbt" +translator: "GAO Jun" +date: 2024-04-23 10:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.0.7 已发布。 + +此版本包括安全补丁。 +请通过以下条目来获取详情。 + +* [CVE-2024-27282: Regex 搜索中的任意地址读取漏洞]({%link zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: StringIO 中的缓存过读漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/buffer-overread-cve-2024-27280/) + +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_0_7) 获取进一步信息。 + +此版本发布后,Ruby 3.0 达到 EOL。也就是说,这应该是 Ruby 3.0 系列的最后一个版本。 +即使发现安全漏洞,我们也不会发布 Ruby 3.0.8(但如果发现严重回归问题时,则有可能会发布)。 +我们建议所有 Ruby 3.0 用户立即开始迁移到 Ruby 3.3,3.2 或 3.1。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.0.7" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 diff --git a/zh_cn/news/_posts/2024-04-23-ruby-3-1-5-released.md b/zh_cn/news/_posts/2024-04-23-ruby-3-1-5-released.md new file mode 100644 index 0000000000..ecc1112dfb --- /dev/null +++ b/zh_cn/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.1.5 已发布" +author: "hsbt" +translator: "GAO Jun" +date: 2024-04-23 10:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.1.5 已发布。 + +此版本包括安全补丁。 +请通过以下条目来获取详情。 + +* [CVE-2024-27282: Regex 搜索中的任意地址读取漏洞]({%link zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: StringIO 中的缓存过读漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/buffer-overread-cve-2024-27280/) + +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_1_5) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.1.5" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 diff --git a/zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md b/zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md new file mode 100644 index 0000000000..acefb845c3 --- /dev/null +++ b/zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.2.4 已发布" +author: "nagachika" +translator: "GAO Jun" +date: 2024-04-23 10:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.2.4 已发布。 + +此版本包括安全补丁。 +请通过以下条目来获取详情。 + +* [CVE-2024-27282: Regex 搜索中的任意地址读取漏洞]({%link zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: StringIO 中的缓存过读漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/buffer-overread-cve-2024-27280/) + +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_2_4) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.2.4" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 diff --git a/zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md b/zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md new file mode 100644 index 0000000000..5fbd3e8c1e --- /dev/null +++ b/zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.3.1 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2024-04-23 10:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.3.1 已发布。 + +此版本包括安全补丁。 +请通过以下条目来获取详情。 + +* [CVE-2024-27282: Regex 搜索中的任意地址读取漏洞]({%link zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/rce-rdoc-cve-2024-27281/) +* [CVE-2024-27280: StringIO 中的缓存过读漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/buffer-overread-cve-2024-27280/) + +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_1) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.3.1" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 08aa4315e70c359557592e7dee508ac999d084b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:28:48 +0000 Subject: [PATCH 2196/2563] Bump actions/checkout from 4.1.3 to 4.1.4 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...0ad4b8fadaa221de15dcec353f45205ec38ea70b) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a1c5ba91f..7785b0eaa6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 458cb5a735..613630c967 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Setup Ruby uses: ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b # v1.174.0 with: From 6fb9349e353826a075d3de7f56316317c8757a54 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:28:45 +0000 Subject: [PATCH 2197/2563] Bump ruby/setup-ruby from 1.174.0 to 1.175.1 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.174.0 to 1.175.1. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/6bd3d993c602f6b675728ebaecb2b569ff86e99b...1198b074305f9356bd56dd4b311757cc0dab2f1c) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7785b0eaa6..ee4d1b1eb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b # v1.174.0 + uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 613630c967..d53f651e2f 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Setup Ruby - uses: ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b # v1.174.0 + uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1 with: ruby-version: '3.2' bundler-cache: true From 4d72f8b4190c00e48c711ec6dc35b1ec9b9fcb53 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 27 Apr 2024 17:04:03 +0900 Subject: [PATCH 2198/2563] Use link function of jekyll --- en/news/_posts/2024-04-23-ruby-3-0-7-released.md | 4 ++-- en/news/_posts/2024-04-23-ruby-3-1-5-released.md | 4 ++-- en/news/_posts/2024-04-23-ruby-3-2-4-released.md | 4 ++-- en/news/_posts/2024-04-23-ruby-3-3-1-released.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md index ea15205666..74140a06b2 100644 --- a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -13,8 +13,8 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) -* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_7) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md index cadb647414..33d87d334c 100644 --- a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -13,8 +13,8 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) -* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_5) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md index 3e97467f6f..9c1741ff8d 100644 --- a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -13,8 +13,8 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) -* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_4) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md index 85d56f1fa1..e13c18d792 100644 --- a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -13,8 +13,8 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) -* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc](https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO](https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_1) for further details. From bf6433c07cbc9fe85bbf71208238b0c110e807ea Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 27 Apr 2024 20:58:25 +0900 Subject: [PATCH 2199/2563] Fix link to en --- en/news/_posts/2024-04-23-ruby-3-0-7-released.md | 4 ++-- en/news/_posts/2024-04-23-ruby-3-1-5-released.md | 4 ++-- en/news/_posts/2024-04-23-ruby-3-2-4-released.md | 4 ++-- en/news/_posts/2024-04-23-ruby-3-3-1-released.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md index 74140a06b2..be1a8d617d 100644 --- a/en/news/_posts/2024-04-23-ruby-3-0-7-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -13,8 +13,8 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) -* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_7) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md index 33d87d334c..18b3a82ffa 100644 --- a/en/news/_posts/2024-04-23-ruby-3-1-5-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -13,8 +13,8 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) -* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_5) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md index 9c1741ff8d..cfc236f314 100644 --- a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -13,8 +13,8 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) -* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_4) for further details. diff --git a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md index e13c18d792..3cd8cafe15 100644 --- a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -13,8 +13,8 @@ This release includes security fixes. Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) -* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) +* [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_1) for further details. From 3e2587d8711be832a4e73679242c315e26dffc51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 15:40:16 +0000 Subject: [PATCH 2200/2563] Bump ruby/setup-ruby from 1.175.1 to 1.176.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.175.1 to 1.176.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/1198b074305f9356bd56dd4b311757cc0dab2f1c...cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee4d1b1eb8..8febb99885 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1 + uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index d53f651e2f..7342d2db94 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Setup Ruby - uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1 + uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0 with: ruby-version: '3.2' bundler-cache: true From 5684ced9d3358236c06bd1ded040d9fd931eaab0 Mon Sep 17 00:00:00 2001 From: HiroTawara <45650777+HiroyasuTawara@users.noreply.github.com> Date: Fri, 10 May 2024 12:56:19 +0900 Subject: [PATCH 2201/2563] Translate CVE 2024 27282, Ruby 3.0.7, 3.1.5, 3.2.4, 3.3.1 released (ja) (#3236) * Translate CVE-2024-27282 (ja) * Translate Ruby 3.0.7, 3.1.5, 3.2.4, 3.3.1 released (ja) * Fix ja/news/_posts/2024-04-23 * Fix ja/news/_posts/2024-04-23 end newline character --- ...mory-address-read-regexp-cve-2024-27282.md | 41 +++++++++++++++ .../_posts/2024-04-23-ruby-3-0-7-released.md | 52 +++++++++++++++++++ .../_posts/2024-04-23-ruby-3-1-5-released.md | 49 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-2-4-released.md | 49 +++++++++++++++++ .../_posts/2024-04-23-ruby-3-3-1-released.md | 49 +++++++++++++++++ 5 files changed, 240 insertions(+) create mode 100644 ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md create mode 100644 ja/news/_posts/2024-04-23-ruby-3-0-7-released.md create mode 100644 ja/news/_posts/2024-04-23-ruby-3-1-5-released.md create mode 100644 ja/news/_posts/2024-04-23-ruby-3-2-4-released.md create mode 100644 ja/news/_posts/2024-04-23-ruby-3-3-1-released.md diff --git a/ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md b/ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md new file mode 100644 index 0000000000..a8f80ac92e --- /dev/null +++ b/ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "CVE-2024-27282: 正規表現検索における任意のメモリアドレス読み取りの脆弱性" +author: "hsbt" +translator: "HiroyasuTawara" +date: 2024-04-23 10:00:00 +0000 +tags: security +lang: ja +--- + +正規表現検索における任意のメモリアドレス読み取りの脆弱性に対するセキュリティ修正が施されたRuby バージョン 3.0.7、3.1.5、3.2.4、および 3.3.1 をリリースしました。この脆弱性は[CVE-2024-27282](https://www.cve.org/CVERecord?id=CVE-2024-27282)として登録されています + +## 詳細 + +Ruby 3.x から 3.3.0 で問題が見つかりました。 + +攻撃者から与えられたデータを Ruby 正規表現コンパイラが受け取った場合、ポインタや機密文字列を含む、テキストの先頭からの相対アドレス上の任意のヒープデータを抽出することが可能になります。 + +## 推奨する対応 + +Rubyを3.3.1以降にアップデートすることを推奨します。古い系列の Ruby バージョンとの互換性を確保するためには、以下のようにアップデートできます: + +* Ruby 3.0: Ruby を 3.0.7 にアップデート +* Ruby 3.1: Ruby を 3.1.5 にアップデート +* Ruby 3.2: Ruby を 3.2.4 にアップデート +* Ruby 3.3: Ruby を 3.3.1 にアップデート + +## 影響を受けるバージョン + +* Ruby 3.0.6 以前 +* Ruby 3.1.4 以前 +* Ruby 3.2.3 以前 +* Ruby 3.3.0 + +## クレジット + +この脆弱性情報は、 [sp2ip](https://hackerone.com/sp2ip?type=user)氏によって報告されました。 + +## 更新履歴 + +* 2024-04-23 19:00:00 (JST) 初版 diff --git a/ja/news/_posts/2024-04-23-ruby-3-0-7-released.md b/ja/news/_posts/2024-04-23-ruby-3-0-7-released.md new file mode 100644 index 0000000000..70218c682c --- /dev/null +++ b/ja/news/_posts/2024-04-23-ruby-3-0-7-released.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "Ruby 3.0.7 リリース" +author: "hsbt" +translator: "HiroyasuTawwara" +date: 2024-04-23 10:00:00 +0000 +lang: ja +--- + +Ruby 3.0.7 がリリースされました。 + +このリリースでは以下の脆弱性修正が含まれています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2024-27282: 正規表現検索における任意のメモリアドレス読み取りの脆弱性]({%link ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 内の .rdoc_options におけるRCE 脆弱性]({%link ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: StringIOにおけるバッファーオーバーリード脆弱性]({%link ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_0_7) を参照してください。 + +このリリースをもって、Ruby 3.0 系列は EOL となります。即ち、Ruby 3.0.7 が Ruby 3.0 系列の最後のリリースとなる予定です。 +これ以降、仮に新たな脆弱性が発見されても、Ruby 3.0.8 などはリリースされません (ただし、深刻なリグレッションが発見された場合にはリリースする可能性があります)。すべての Ruby3.0 ユーザーの皆様は、速やかに 3.3、3.2、3.1 への移行を開始することをお勧めします。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.0.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 diff --git a/ja/news/_posts/2024-04-23-ruby-3-1-5-released.md b/ja/news/_posts/2024-04-23-ruby-3-1-5-released.md new file mode 100644 index 0000000000..4bbf7a379e --- /dev/null +++ b/ja/news/_posts/2024-04-23-ruby-3-1-5-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.1.5 リリース" +author: "hsbt" +translator: "HiroyasuTawwara" +date: 2024-04-23 10:00:00 +0000 +lang: ja +--- + +Ruby 3.1.5 がリリースされました。 + +このリリースでは以下の脆弱性修正が含まれています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2024-27282: 正規表現検索における任意のメモリアドレス読み取りの脆弱性]({%link ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 内の .rdoc_options におけるRCE 脆弱性]({%link ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: StringIOにおけるバッファーオーバーリード脆弱性]({%link ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_5) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.1.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 diff --git a/ja/news/_posts/2024-04-23-ruby-3-2-4-released.md b/ja/news/_posts/2024-04-23-ruby-3-2-4-released.md new file mode 100644 index 0000000000..e82ab04b62 --- /dev/null +++ b/ja/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.2.4 リリース" +author: "nagachika" +translator: "HiroyasuTawwara" +date: 2024-04-23 10:00:00 +0000 +lang: ja +--- + +Ruby 3.2.4 がリリースされました。 + +このリリースでは以下の脆弱性修正が含まれています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2024-27282: 正規表現検索における任意のメモリアドレス読み取りの脆弱性]({%link ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 内の .rdoc_options におけるRCE 脆弱性]({%link ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: StringIOにおけるバッファーオーバーリード脆弱性]({%link ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_4) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.2.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 diff --git a/ja/news/_posts/2024-04-23-ruby-3-3-1-released.md b/ja/news/_posts/2024-04-23-ruby-3-3-1-released.md new file mode 100644 index 0000000000..94a32eddab --- /dev/null +++ b/ja/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.3.1 リリース" +author: "naruse" +translator: "HiroyasuTawwara" +date: 2024-04-23 10:00:00 +0000 +lang: ja +--- + +Ruby 3.3.1 がリリースされました。 + +このリリースでは以下の脆弱性修正が含まれています。 +詳しくは以下の記事を参照してください。 + +* [CVE-2024-27282: 正規表現検索における任意のメモリアドレス読み取りの脆弱性]({%link ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) +* [CVE-2024-27281: RDoc 内の .rdoc_options におけるRCE 脆弱性]({%link ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) +* [CVE-2024-27280: StringIOにおけるバッファーオーバーリード脆弱性]({%link ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_1) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.3.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 2e6c4d585fddaa041587b4dc43c27860fe1d2489 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 23:36:48 +0000 Subject: [PATCH 2202/2563] Bump nokogiri from 1.16.2 to 1.16.5 Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.2 to 1.16.5. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.2...v1.16.5) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 80ea67e7d7..49feaa03b0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -73,14 +73,14 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - mini_portile2 (2.8.5) + mini_portile2 (2.8.6) minitest (5.20.0) - nokogiri (1.16.2) + nokogiri (1.16.5) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.2-arm64-darwin) + nokogiri (1.16.5-arm64-darwin) racc (~> 1.4) - nokogiri (1.16.2-x86_64-linux) + nokogiri (1.16.5-x86_64-linux) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) From 17187533f343726c04e0fc7943f61b0da15d3c88 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 15:45:08 +0000 Subject: [PATCH 2203/2563] Bump actions/checkout from 4.1.4 to 4.1.5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/0ad4b8fadaa221de15dcec353f45205ec38ea70b...44c2b7a8a4ea60a981eaca3cf939b5f4305c123b) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8febb99885..d2894b7850 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 7342d2db94..f1758d6275 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 - name: Setup Ruby uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0 with: From 2b9e277c4e87476ca421a77ee8feb2792b35d8b2 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 16 May 2024 13:49:58 +0900 Subject: [PATCH 2204/2563] Add CVE-2024-35176: DoS in REXML --- .../2024-05-16-dos-rexml-cve-2024-35176.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md diff --git a/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md new file mode 100644 index 0000000000..1c17407e52 --- /dev/null +++ b/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-35176: DoS in REXML" +author: "kou" +translator: +date: 2024-05-16 05:00:00 +0000 +tags: security +lang: en +--- + +There is a DoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier [CVE-2024-35176](https://www.cve.org/CVERecord?id=CVE-2024-35176). We strongly recommend upgrading the REXML gem. + +## Details + +When parsing an XML document that has many `<` in an attribute value, REXML gem may take many time. + +Please update REXML gem to version 3.2.7 or later. + +## Affected versions + +* REXML gem 3.2.6 or prior + +## Credits + +Thanks to [mprogrammer](https://hackerone.com/mprogrammer) for discovering this issue. + +## History + +* Originally published at 2024-05-16 05:00:00 (UTC) From 8eacdf68153970b94feb519ffbeebddbb2ae53dc Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 16 May 2024 16:40:03 +0900 Subject: [PATCH 2205/2563] Fix wording Co-authored-by: nagachika --- en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md index 1c17407e52..5867f1a877 100644 --- a/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md +++ b/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -12,7 +12,7 @@ There is a DoS vulnerability in REXML gem. This vulnerability has been assigned ## Details -When parsing an XML document that has many `<` in an attribute value, REXML gem may take many time. +When parsing an XML document that has many `<` in an attribute value, REXML gem may take long time. Please update REXML gem to version 3.2.7 or later. From 100af59e84c8f8a01544dd3218eb46e7f507b07a Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Thu, 16 May 2024 17:01:09 +0900 Subject: [PATCH 2206/2563] Ruby 3.4.0-preview1 Released (#3240) --- _data/branches.yml | 5 + _data/downloads.yml | 1 + _data/releases.yml | 31 ++++ ...2024-05-16-ruby-3-4-0-preview1-released.md | 138 ++++++++++++++++++ 4 files changed, 175 insertions(+) create mode 100644 en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md diff --git a/_data/branches.yml b/_data/branches.yml index 2640368538..98aea5868d 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -8,6 +8,11 @@ # date: date of first stable release (YYYY-MM-DD) # eol_date: date of EOL (YYYY-MM-DD) +- name: 3.4 + status: preview + date: + eol_date: + - name: 3.3 status: normal maintenance date: 2023-12-25 diff --git a/_data/downloads.yml b/_data/downloads.yml index fb475321d8..6298896bd9 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,6 +4,7 @@ # optional preview: + - 3.4.0-preview1 stable: diff --git a/_data/releases.yml b/_data/releases.yml index 866d378782..89c262fc50 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -19,6 +19,37 @@ # In order to get the release listed on the downloads page, # you also need to add an entry to `_data/downloads.yml'. +# 3.4 series + +- version: 3.4.0-preview1 + date: 2024-05-16 + post: /en/news/2024/05/16/ruby-3-4-0-preview1-released/ + tag: v3_4_0_preview1 + stats: + files_changed: 3283 + insertions: 107449 + deletions: 115380 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz + size: + gz: 22507726 + zip: 27731060 + xz: 16709536 + sha1: + gz: 1619cbe06b5a8c774711b3351d18bb0f84f1d017 + zip: 5d79834050369ea9241d86467bf93e9e89e2ab7a + xz: 6041ad2651527d01c36106de3d3cdab680ed3132 + sha256: + gz: 1a3c322e90cb22e5fba0b5d257bb2be9988affa3867eba7642ed981fdde895bb + zip: bd2a6c0e8396698e6f6768c00b0f155510859bb6fb92420f7b7abec610e71dbb + xz: 4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 + sha512: + gz: 29c0e32179f7b823b6708f5328e495cd333fe8dd88f7df7d9051deab47add67b14d899bba565bba1a77e1b04c9693d9708541445c112925777bb6891cb7b2b62 + zip: 36ea6897e6ad769141516f4c1bb18989fbde27a76f0f3abcce947f8b6b79639846ba93907e085181f7d305ab06ad73f1bbb37928049c8c951d33176ee444abbf + xz: 4ce306b9beb1e2d88c76d7f809724b66bed17e354c07a2b54aa050fc2035652e4d83deadc8dbf7a375bbdb1c816f2996334bb8e7ff5e6c24b71a858bf6b0cb7c + # 3.3 series - version: 3.3.1 diff --git a/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md new file mode 100644 index 0000000000..89c9b7adb1 --- /dev/null +++ b/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -0,0 +1,138 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview1 Released" +author: "naruse" +translator: +date: 2024-05-16 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview1" | first %} +We are pleased to announce the release of Ruby {{ release.version }}. + +## Language changes + +* String literals in files without a `frozen_string_literal` comment now behave + as if they were frozen. If they are mutated a deprecation warning is emitted. + These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`. + To disable this change, you can run Ruby with the `--disable-frozen-string-literal` + command line argument. [[Feature #20205]] + +* `it` is added to reference a block parameter. [[Feature #18980]] + +* Keyword splatting `nil` when calling methods is now supported. + `**nil` is treated similarly to `**{}`, passing no keywords, + and not calling any conversion methods. [[Bug #20064]] + +* Block passing is no longer allowed in index. [[Bug #19918]] + +* Keyword arguments are no longer allowed in index. [[Bug #20218]] + +## Core classes updates + +Note: We're only listing outstanding class updates. + +* Exception + + * Exception#set_backtrace now accepts arrays of `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` and `Fiber#raise` also accept this new format. [[Feature #13557]] + +* Range + + * Range#size now raises TypeError if the range is not iterable. [[Misc #18984]] + + + +## Compatibility issues + +Note: Excluding feature bug fixes. + +* Error messages and backtrace displays have been changed. + * Use a single quote instead of a backtick as a opening quote. [[Feature #16495]] + * Display a class name before a method name (only when the class has a permanent name). [[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location`'s methods, etc. are also changed accordingly. + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + + +## C API updates + +* `rb_newobj` and `rb_newobj_of` (and corresponding macros `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) have been removed. [[Feature #20265]] +* Removed deprecated function `rb_gc_force_recycle`. [[Feature #18290]] + +## Implementation improvements + +* `Array#each` is rewritten in Ruby for better performance [[Feature #20182]]. + +## Miscellaneous changes + +* Passing a block to a method which doesn't use the passed block will show + a warning on verbose mode (`-w`). + [[Feature #15554]] + +* Redefining some core methods that are specially optimized by the interpeter + and JIT like `String.freeze` or `Integer#+` now emits a performance class + warning (`-W:performance` or `Warning[:performance] = true`). + [[Feature #20429]] + +See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or +changelog for details of the default gems or bundled gems. + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +since Ruby 3.3.0! + + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 From 142b0a626ea86ddebd42036d45e2571fc2420916 Mon Sep 17 00:00:00 2001 From: gaojun Date: Fri, 17 May 2024 11:15:56 +0800 Subject: [PATCH 2207/2563] Fix code block layout of 3.4.0-preview1 released --- en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md index 89c9b7adb1..633636e3a4 100644 --- a/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md +++ b/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -51,6 +51,7 @@ Note: Excluding feature bug fixes. * Use a single quote instead of a backtick as a opening quote. [[Feature #16495]] * Display a class name before a method name (only when the class has a permanent name). [[Feature #19117]] * `Kernel#caller`, `Thread::Backtrace::Location`'s methods, etc. are also changed accordingly. + ``` Old: test.rb:1:in `foo': undefined method `time' for an instance of Integer From dd11d250ba5b0495e0104ce46cf2e999b1ef9a82 Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Sun, 19 May 2024 16:05:01 +0800 Subject: [PATCH 2208/2563] Translate CVE-2024-35176, Ruby 3.4.0 preview1 (zh_cn) (#3248) --- .../2024-05-16-dos-rexml-cve-2024-35176.md | 29 ++++ ...2024-05-16-ruby-3-4-0-preview1-released.md | 125 ++++++++++++++++++ 2 files changed, 154 insertions(+) create mode 100644 zh_cn/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md create mode 100644 zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md diff --git a/zh_cn/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/zh_cn/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md new file mode 100644 index 0000000000..60277c548d --- /dev/null +++ b/zh_cn/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-35176: REXML 中的 DoS 漏洞" +author: "kou" +translator: "GAO Jun" +date: 2024-05-16 05:00:00 +0000 +tags: security +lang: zh_cn +--- + +REXML gem 中存在一个 DoS 漏洞。此漏洞的 CVE 编号为 [CVE-2024-35176](https://www.cve.org/CVERecord?id=CVE-2024-35176)。我们强烈建议您更新 REXML gem。 + +## 详情 + +当 XML 文档中的一个属性值包含很多 `<` 时,REXML gem 在解析时可能会花费很长时间。 + +请更新 REXML gem 至 3.2.7 或后续版本。 + +## 受影响版本 + +* REXML gem 3.2.6 或更低版本 + +## 致谢 + +感谢 [mprogrammer](https://hackerone.com/mprogrammer) 发现此问题。 + +## 历史 + +* 最初发布于 2024-05-16 05:00:00 (UTC) diff --git a/zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md new file mode 100644 index 0000000000..cbd12e8f32 --- /dev/null +++ b/zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -0,0 +1,125 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview1 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2024-05-16 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview1" | first %} +我们很高兴地宣布 {{ release.version }} 发布。 + +## 语言变化 + +* 在没有 `frozen_string_literal` 注释的文件中的字符串将表现为已被冻结。 + 如果它们被修改,将发出弃用警告。 + 这些警告可以使用 `-W:deprecated` 或者通过设置 `Warning[:deprecated] = true` 来启用。 + 如要禁用此变化,您可以使用 `--disable-frozen-string-literal` 命令行参数运行 Ruby。 [[Feature #20205]] + +* 增加了 `it` 来引用块参数。 [[Feature #18980]] + +* 现在支持在调用方法时使用 `nil` 作为关键字展开。 + `**nil` 类似于 `**{}`,不传递关键字,也不调用任何转换方法。 [[Bug #20064]] + +* 索引不再接受块传递。 [[Bug #19918]] + +* 索引不再接受关键字参数。 [[Bug #20218]] + +## 核心类更新 + +注意:我们只列出了重要的类更新。 + +* Exception + + * Exception#set_backtrace 现在接受 `Thread::Backtrace::Location` 数组。 + `Kernel#raise`,`Thread#raise` 和 `Fiber#raise` 也接受这个新格式。 [[Feature #13557]] + +* Range + + * Range#size 在 range 不可枚举时,将抛出 TypeError。 [[Misc #18984]] + +## 兼容性问题 + +注意:不包括问题补丁。 + +* 修改了错误信息和错误栈的显示。 + * 使用单引号(`'`)代替反勾号(`` ` ``)作为错误消息的起始引号。 [[Feature #16495]] + * 在方法名前显示类名(仅当类具有永久名称时)。 [[Feature #19117]] + * `Kernel#caller`,`Thread::Backtrace::Location` 等的方法等也相应更改。 + + ``` + 此前: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + 现在: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + +## C API 更新 + +* 移除 `rb_newobj` 和 `rb_newobj_of` (以及相关的宏 `RB_NEWOBJ`,`RB_NEWOBJ_OF`,`NEWOBJ`,`NEWOBJ_OF`)。 [[Feature #20265]] +* 移除废除的函数 `rb_gc_force_recycle`。 [[Feature #18290]] + +## 实现改进 + +* `Array#each` 用 Ruby 重写,以提供更好的性能 [[Feature #20182]]。 + +## 其他变化 + +* 如果传递了一个块给不使用块的方法时,在详细模式(`-w`)中将显示警告。 [[Feature #15554]] + +* Ruby 对一些核心方法通过解释器和 JIT 进行了优化,诸如 `String.freeze`,`Integer#+`。 + 当这些方法被重定义时,解释器将发出性能警告(`-W:performance` 或 `Warning[:performance] = true`)。 [[Feature #20429]] + +有关默认 gems 和 绑定 gems 的细节,可以参考 GitHub 上的发布,例如 [logger gem](https://github.com/ruby/logger/releases) 或相应的变更日志。 + +更多详情,可参见 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +或 [提交日志](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})。 + +自 Ruby 3.3.0 以来,这些变化共导致 [{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+),删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)! + +## 下载 + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什么 + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发,现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是 Web 开发领域。 + + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 From 88368bb1e26ef03a7dfde808bd0e6f4868d31c4b Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sun, 19 May 2024 16:05:54 +0800 Subject: [PATCH 2209/2563] Translate Ruby 3.4.0 preview1 news (zh_tw) (#3244) --- ...2024-05-16-ruby-3-4-0-preview1-released.md | 126 ++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md diff --git a/zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md new file mode 100644 index 0000000000..5f96cefe79 --- /dev/null +++ b/zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -0,0 +1,126 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview1 發布" +author: "naruse" +translator: "Bear Su" +date: 2024-05-16 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview1" | first %} +我們很高興宣布 Ruby {{ release.version }} 發布了。 + +## 語法變更 + +* 沒有 `frozen_string_literal` 註解的檔案中的字串文字,現在行為會跟被凍結一樣。如果它們被修改則會發出棄用警告。 + 這些警告可以透過 `-W:deprecated` 或 `Warning[:deprecated] = true` 啟用。 + 若要停用此變更,您可以在執行 Ruby 時加上參數 `--disable-frozen-string-literal`。 [[Feature #20205]] + +* 新增 `it` 來引用 block 的傳入參數。 [[Feature #18980]] + +* 現在呼叫方法支援使用 Keyword splatting `nil`。 + `**nil` 的處理方式與 `**{}` 類似,不會傳遞 keywords,也不會呼叫任何轉換方法。 [[Bug #20064]] + +* Block passing 不再允許作為索引。 [[Bug #19918]] + +* 不定長度參數不再允許作為索引。 [[Bug #20218]] + +## 核心類別更新 + +注意:我們只列出特別的類別更新。 + +* Exception + + * Exception#set_backtrace 現在可接受 `Thread::Backtrace::Location` 陣列。 + `Kernel#raise`、`Thread#raise` 和 `Fiber#raise` 也接受同樣的新格式。 [[Feature #13557]] + +* Range + + * Range#size 如果 range 無法迭代的話,現在會拋出 TypeError。 [[Misc #18984]] + +## 相容性問題 + +注意:不包含功能問題的修正。 + +* 錯誤訊息與 backtrace 的顯示改變。 + * 使用單引號 (`'`) 取代反引號 (`` ` ``) 作為起始引號。 [[Feature #16495]] + * 在方法名稱前顯示類別名稱 (僅當類別有固定名稱時)。 [[Feature #19117]] + * `Kernel#caller`、`Thread::Backtrace::Location` 的方法等等,也做了對應的改變。 + + ``` + 舊: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + 新: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + + +## C API 更新 + +* `rb_newobj` 和 `rb_newobj_of` (和相對應的巨集 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) 已經被移除。 [[Feature #20265]] +* 移除已廢棄的函式 `rb_gc_force_recycle`。 [[Feature #18290]] + +## 實作改善 + +* `Array#each` 用 Ruby 重寫並有更好的效能 [[Feature #20182]]。 + +## Miscellaneous changes + +* 將 block 傳遞給不使用傳入 block 的方法,會在 verbose 模式 (`-w`) 下顯示警告。 + [[Feature #15554]] + +* 當重新定義一些由直譯器與 JIT 特別最佳化的核心方法,例如 `String.freeze` 和 `Integer#+`,現在會發出效能類型警告 (`-W:performance` or `Warning[:performance] = true`)。 + [[Feature #20429]] + +請參閱 GitHub 發布如 [Logger](https://github.com/ruby/logger/releases) 和變更紀錄來了解更多關於預設 gems 與 bundled gems 的資訊。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +來了解更多。 + +自 Ruby 3.3.0 以來,計 [{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)。 + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 From 2f30e7842f5f4dd76fd351039139b4c126d2a3ef Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 20 May 2024 21:36:54 +0900 Subject: [PATCH 2210/2563] Translate "CVE-2024-35176: DoS in REXML" (ko) (#3242) * Copy from en * Translate "CVE-2024-35176: DoS in REXML" * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../2024-05-16-dos-rexml-cve-2024-35176.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ko/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md diff --git a/ko/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/ko/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md new file mode 100644 index 0000000000..0a3558f93b --- /dev/null +++ b/ko/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-35176: REXML의 DoS 취약점" +author: "kou" +translator: "shia" +date: 2024-05-16 05:00:00 +0000 +tags: security +lang: ko +--- + +REXML gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2024-35176](https://www.cve.org/CVERecord?id=CVE-2024-35176)으로 등록되었습니다. REXML gem 업그레이드를 강하게 추천합니다. + +## 세부 내용 + +대량의 `<`를 속성값으로 가지고 있는 XML을 파싱할 때, REXML gem은 처리에 긴 시간이 걸립니다. + +REXML gem을 3.2.7이나 그 이상으로 업데이트하세요. + +## 해당 버전 + +* REXML gem 3.2.6과 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [mprogrammer](https://hackerone.com/mprogrammer)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-05-16 05:00:00 (UTC) 최초 공개 From aef3fd05dd6201529899cc5cd2aa2aea1e4159ef Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 20 May 2024 21:43:34 +0900 Subject: [PATCH 2211/2563] Translate "Ruby 3.4.0-preview1 Released" (ko) (#3243) * Copy from en * Translate "Ruby 3.4.0-preview1 Released" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ...2024-05-16-ruby-3-4-0-preview1-released.md | 140 ++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md diff --git a/ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md new file mode 100644 index 0000000000..19d92c5efe --- /dev/null +++ b/ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -0,0 +1,140 @@ +--- +layout: news_post +title: "Ruby 3.4.0-preview1 릴리스" +author: "naruse" +translator: "shia" +date: 2024-05-16 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview1" | first %} +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. + +## 언어 변경 + +* 파일에 `frozen_string_literal` 주석이 없는 경우, 문자열 리터럴은 이제 얼린 것처럼 + 동작합니다. 해당 문자열이 변경되는 경우에는 폐기 예정 경고가 발생합니다. + 이 경고는 `-W:deprecated`나 `Warning[:deprecated] = true` 설정을 통해 활성화할 수 있습니다. + 이 변경을 무효화하고 싶다면 Ruby를 실행할 때 `--disable-frozen-string-literal` 커맨드라인 인수를 + 사용하세요. [[Feature #20205]] + +* 블록 인자를 가리키는 `it`이 추가됩니다. [[Feature #18980]] + +* 메서드 호출 시에 `nil`에 키워드 스플랫을 지원합니다. + `**nil`은 `**{}`와 비슷하게 동작하며, 키워드를 넘기지 않으며, + 어떤 변환 메서드도 호출하지 않습니다. [[Bug #20064]] + +* 블록을 인덱스로 사용할 수 없게 됩니다. [[Bug #19918]] + +* 키워드 인수를 인덱스로 사용할 수 없게 됩니다. [[Bug #20218]] + +## 코어 클래스 변경 + +주의: 눈에 띄는 클래스 변경만을 포함합니다. + +* Exception + + * Exception#set_backtrace는 이제 `Thread::Backtrace::Location`의 배열을 입력으로 받을 수 있습니다. + `Kernel#raise`, `Thread#raise`와 `Fiber#raise`도 같은 형식의 입력을 받습니다. [[Feature #13557]] + + +* Range + + * Range#size는 이제 범위가 순회 가능하지 않다면 TypeError를 던집니다. [[Misc #18984]] + + + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +* 에러 메시지와 백트레이스의 출력 결과가 변경됩니다. + * 인용 시작 부분을 나타내던 백틱 대신 작은 따옴표를 사용합니다. [[Feature #16495]] + * 메서드 이름 앞에 클래스 이름을 출력합니다(클래스가 불변하는 이름을 가지고 있다면). [[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location`의 메서드 등도 마찬가지로 변경됩니다. + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + + +## C API 변경 + +* `rb_newobj`와 `rb_newobj_of`(그리고 대응하는 매크로인 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`)가 삭제됩니다. [[Feature #20265]] +* 폐기 예정인 `rb_gc_force_recycle` 함수가 삭제됩니다. [[Feature #18290]] + +## 구현 개선 + +* `Array#each`를 더 나은 성능을 위해 Ruby로 재작성했습니다. [[Feature #20182]] + +## 그 이외의 변경 + +* 상세 모드(`-w`)에서 메서드에 넘긴 블록이 사용되지 않았을 때 + 경고를 출력합니다. + [[Feature #15554]] + +* `String.freeze`나 `Integer#+`처럼 인터프리터와 JIT이 특별히 최적화하는 + 몇몇 코어 메서드를 재정의하면 성능 클래스 + 경고(`-W:performance`나 `Warning[:performance] = true`)를 출력합니다. + [[Feature #20429]] + +기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은 +GitHub 릴리스 또는 변경 로그에서 확인하세요. + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.3.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 From 38f757c2b258a79a3e78f7bbf3404b3ae0909e3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 20 May 2024 15:11:15 -0400 Subject: [PATCH 2212/2563] Uses the cx_id for serching in english to search in spanish, improves #1384 (#3253) --- _data/locales/es.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/_data/locales/es.yml b/_data/locales/es.yml index 2751234494..94995797e3 100644 --- a/_data/locales/es.yml +++ b/_data/locales/es.yml @@ -23,6 +23,7 @@ sitelinks: search: text: Buscar + cx_id: '013598269713424429640:g5orptiw95w' sidebar: get_started: From 617d9cdcd50fd43fea4545d2d6a05fbeff45fe23 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 15:46:04 +0000 Subject: [PATCH 2213/2563] Bump actions/checkout from 4.1.5 to 4.1.6 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/44c2b7a8a4ea60a981eaca3cf939b5f4305c123b...a5ac7e51b41094c92402da3b24376905380afc29) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2894b7850..e61e515285 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index f1758d6275..e77d858bf0 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Setup Ruby uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0 with: From d79fdf1ce6a4d323d933a35e66db1813a034bab1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 May 2024 21:54:48 +0000 Subject: [PATCH 2214/2563] Bump rexml from 3.2.6 to 3.2.8 Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.2.8. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 49feaa03b0..b6fdc95e70 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -98,7 +98,8 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - rexml (3.2.6) + rexml (3.2.8) + strscan (>= 3.0.9) rouge (4.2.0) ruby-rc4 (0.1.5) safe_yaml (1.0.5) @@ -112,6 +113,7 @@ GEM slop (4.10.1) spidr (0.7.0) nokogiri (~> 1.3) + strscan (3.1.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) tidy_ffi (1.0.1) From 545cb02bc6709cc7277788e03175898ae0c40be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Thu, 23 May 2024 09:14:33 -0400 Subject: [PATCH 2215/2563] Translation of CVE 2024-35176 (es) (#3251) --- .../2024-05-16-dos-rexml-cve-2024-35176.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 es/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md diff --git a/es/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/es/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md new file mode 100644 index 0000000000..4e093496a4 --- /dev/null +++ b/es/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2024-35176: Denegación de servicio en REXML" +author: "kou" +translator: vtamara +date: 2024-05-16 05:00:00 +0000 +tags: security +lang: es +--- + +Hay una vulnerabilidad de denegación de servicio (DoS) en la gema REXML. +A esta vulnerabilidad se le ha asignado el identificador CVE +[CVE-2024-35176](https://www.cve.org/CVERecord?id=CVE-2024-35176). +Recomendamos enfáticamente actualizar la gema REXML. + +## Detalles + +Cuando se analiza un documento XML con muchos `<` en el valor +de un atributo, la gema REXML puede tardar largo tiempo. + +Por favor actualice la gema REXML a la versión 3.2.7 o posterior. + +## Versiones afectadas + +* Gema REXML 3.2.6 o anteriores + +## Créditos + +Agradecemos a [mprogrammer](https://hackerone.com/mprogrammer) +por descubrir este problema. + +## Historia + +* Publicado originalmente el 2024-05-16 05:00:00 (UTC) From 74b88a5a63a1e4460e1cd1d4c357869ed28a329d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Thu, 23 May 2024 09:14:51 -0400 Subject: [PATCH 2216/2563] Translation of release of ruby 3.4.0.preview1 (es) (#3252) --- ...2024-05-16-ruby-3-4-0-preview1-released.md | 157 ++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md diff --git a/es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md new file mode 100644 index 0000000000..73c3e46515 --- /dev/null +++ b/es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -0,0 +1,157 @@ +--- +layout: news_post +title: "Publicado Ruby 3.4.0 preview1" +author: "naruse" +translator: vtamara +date: 2024-05-16 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview1" | first %} +Nos complace anunciar la publicación de Ruby {{ release.version }}. + +## Cambios en el lenguaje + +* Las cadenas literales en archivos sin el comentario `frozen_string_literal` + ahora se comportan como si estuvieran congeladas. + Si llegan a ser mutadas se produce una advertencia de desprecio. + Estas advertencia pueden ser habilitadas con `-W:deprecated` + o estableciendo `Warning[:deprecated] = true`. + Para deshabilitar este cambio, puede ejecutar Ruby con el argumento + `--disable-frozen-string-literal` desde la línea de ordenes. + [[Característica #20205]] + +* `it` se agrega para referenciar un parámetro de bloque. + [[Característica #18980]] + +* Ahora se soporta hacer splat de palabras clave con `nil` cuando se + llaman métodos. + `**nil` se trata de manera similar a `**{}`, no pasar palabras clave, + y no llamar método de conversión alguno. [[Falla #20064]] + +* Ya no se permite pasar bloques como índices. [[Falla #19918]] + +* Ya no se permiten argumentos de palabra clave como índices. [[Falla #20218]] + +## Clases fundamentales actualizadas + +Nota: Listamos sólo actualizaciones mayores de clases. + +* Exception + + * Exception#set_backtrace ahora acepta arreglos de + `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` y `Fiber#raise` también aceptan + este nuevo formato. [[Característica #13557]] + +* Range + + * Range#size ahora lanza `TypeError` si el rango no es iterable. + [[Varios #18984]] + + + +## Problemas de compatibilidad + +Nota: Excluyendo correcciones a problemas en características. + +* Los mensajes de error y la presentación de trazas han sido cambiadas. + * Se usa un sólo apóstrofe en lugar de un apostrofe invertido para + iniciar una cita. [[Característica #16495]] + * Se presenta un nombre de clase antes del nombre de un método + (sólo cuando la clase tiene un nombre permanente). [[Característica #19117]] + * También se cambiaron de la manera análoga los métodos `Kernel#caller`, + `Thread::Backtrace::Location`, etc. + + ``` + Antes: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + Ahora: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + + +## Actualizaciones del API en C + +* Se han eliminado `rb_newobj` y `rb_newobj_of` (y los respectivos macros + `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`). + [[Característica #20265]] +* Se eliminó la función despreciada `rb_gc_force_recycle`. + [[Característica #18290]] + +## Mejoras en implementación + +* Se re-escribió `Array#each` en Ruby para mejorar el desempeño [[Característica #20182]]. + +## Cambios diversos + +* Al pasar un bloque a un método que no use el bloque recibido se + presentará una advertencia en modo verboso (`-w`). + [[Característica #15554]] + +* Al redefinir algunos métodos fundamentales que se han optimizado + de manera especial por el interprete y por JIT como `String.freeze` o + `Integer#+` ahora produce una advertencia en la clase de + desempeño (`-W:performance` o `Warning[:performance] = true`). + [[Característica #20429]] + +Vea notas de publicación como las de +[Logger](https://github.com/ruby/logger/releases) o +archivos de cambios (changelog) con detalles de las gemas +predeterminadas y las gemas incluidas. + +Ver más detalles en +[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +o en la [bitácora de contribuciones](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}). + +Con estas novedades, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +desde Ruby 3.3.0! + + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Qué es Ruby + +Ruby fu desarrollado inicialmente por Matz (Yukihiro Matsumoto) en 1993, +y ahora se desarrolla como Fuentes Abiertas. Corre en múltiples +plataformas y se usa en todo el mundoa especialmente para +de desarrollo de aplicaciones web. + +[Característica #13557]: https://bugs.ruby-lang.org/issues/13557 +[Característica #15554]: https://bugs.ruby-lang.org/issues/15554 +[Característica #16495]: https://bugs.ruby-lang.org/issues/16495 +[Característica #18290]: https://bugs.ruby-lang.org/issues/18290 +[Característica #18980]: https://bugs.ruby-lang.org/issues/18980 +[Varios #18984]: https://bugs.ruby-lang.org/issues/18984 +[Característica #19117]: https://bugs.ruby-lang.org/issues/19117 +[Falla #19918]: https://bugs.ruby-lang.org/issues/19918 +[Falla #20064]: https://bugs.ruby-lang.org/issues/20064 +[Característica #20182]: https://bugs.ruby-lang.org/issues/20182 +[Característica #20205]: https://bugs.ruby-lang.org/issues/20205 +[Falla #20218]: https://bugs.ruby-lang.org/issues/20218 +[Característica #20265]: https://bugs.ruby-lang.org/issues/20265 +[Característica #20429]: https://bugs.ruby-lang.org/issues/20429 From 247ba93ca00dd0f46edab41783cd06270005aa6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Thu, 23 May 2024 09:35:46 -0400 Subject: [PATCH 2217/2563] For searching uses cx_id of the language but if it is not defined uses cx_id of english --that will also search in other languages. Closes #1384 --- _includes/search.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/_includes/search.html b/_includes/search.html index 41158dd8e0..c78d342521 100644 --- a/_includes/search.html +++ b/_includes/search.html @@ -1,9 +1,13 @@ -{% if site.data.locales[page.lang].search %} - {% assign cx_id = site.data.locales[page.lang].search.cx_id %} +{% if site.data.locales[page.lang].search.text %} {% assign text = site.data.locales[page.lang].search.text %} {% else %} {% assign text = site.data.locales['en'].search.text %} {% endif%} +{% if site.data.locales[page.lang].search.cx_id %} + {% assign cx_id = site.data.locales[page.lang].search.cx_id %} +{% else %} + {% assign cx_id = site.data.locales['en'].search.cx_id %} +{% endif%}
From ca5b32e5fa5ec02e6db1273267ad8cf26663019c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=9Fur=20=C3=96zy=C4=B1lmazel?= Date: Fri, 24 May 2024 09:16:27 +0300 Subject: [PATCH 2218/2563] fix broken document link --- tr/documentation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr/documentation/index.md b/tr/documentation/index.md index 50921f993a..cfcafe30c9 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -176,5 +176,5 @@ olacaktır. [atom]: https://atom.io/ [vscode]: https://code.visualstudio.com/ [ruby-kullanici-kilavuzu]: http://www.belgeler.org/uygulamalar/ruby/ruby-ug.html -[ruby-101-kitabi]: https://vigo.gitbooks.io/ruby-101/ +[ruby-101-kitabi]: https://vigo.github.io/ruby101-kitap/ [ab2014-ruby-notlari]: https://github.com/leylaKapi/AB2014-Ruby-Programlama-Dili/blob/master/Ruby_AB2014.md From eec0ee150937279bb68155b51d5b612339a660f6 Mon Sep 17 00:00:00 2001 From: kagancansit Date: Mon, 27 May 2024 23:54:11 +0300 Subject: [PATCH 2219/2563] Brokens links founded and fixed --- tr/about/index.md | 1 - tr/community/conferences/index.md | 2 +- tr/community/index.md | 4 ++-- tr/community/podcasts/index.md | 1 - tr/documentation/index.md | 1 - tr/documentation/installation/index.md | 2 +- .../_posts/2014-07-26-rubykaigi-2014-registration-online.md | 2 +- tr/news/_posts/2019-10-16-fukuoka-ruby-award-2020.md | 2 -- tr/news/_posts/2020-12-25-ruby-3-0-0-released.md | 4 ++-- 9 files changed, 7 insertions(+), 12 deletions(-) diff --git a/tr/about/index.md b/tr/about/index.md index 98fffb63c3..ae66c0f4d0 100644 --- a/tr/about/index.md +++ b/tr/about/index.md @@ -219,5 +219,4 @@ Daha tam bir liste için, [Müthiş Ruby'ler][awesome-rubies]e bakın. [ironruby]: http://www.ironruby.net [maglev]: http://maglev.github.io [cardinal]: https://github.com/parrot/cardinal -[parrot]: http://parrot.org [awesome-rubies]: https://github.com/planetruby/awesome-rubies diff --git a/tr/community/conferences/index.md b/tr/community/conferences/index.md index 313bd54a3d..bcafbdcc16 100644 --- a/tr/community/conferences/index.md +++ b/tr/community/conferences/index.md @@ -69,5 +69,5 @@ Ayrıca Ruby Central'in [RailsConf][12]'u, RailsConf Avrupa (2006'da Ruby Centra [14]: http://www.skillsmatter.com [16]: http://steelcityruby.org/ [19]: http://goruco.com/ -[20]: http://www.deccanrubyconf.org/ +[20]: https://github.com/deccanrubyconf [21]: https://southeastruby.com/ diff --git a/tr/community/index.md b/tr/community/index.md index 7065657966..9fc09209af 100644 --- a/tr/community/index.md +++ b/tr/community/index.md @@ -67,6 +67,6 @@ Genel Ruby Kaynakları [ruby-central]: http://rubycentral.org/ [ruby-discord]: https://discord.gg/ad2acQFtkh -[ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ -[rails-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ +[ruby-opendir]: https://dmoztools.net +[rails-opendir]: https://dmoztools.net [ruby-turkiye-slack]: https://rubytr.herokuapp.com/ diff --git a/tr/community/podcasts/index.md b/tr/community/podcasts/index.md index 9fa082f04b..858aa39f1b 100644 --- a/tr/community/podcasts/index.md +++ b/tr/community/podcasts/index.md @@ -27,4 +27,3 @@ Ayrıca kendi Ruby podcast'inizi başlatıp bu listeye ekleyebilirsiniz. [rorpodcast]: https://www.therubyonrailspodcast.com [rogues]: https://rubyrogues.com -[yakut]: https://yakutrb.com/ diff --git a/tr/documentation/index.md b/tr/documentation/index.md index cfcafe30c9..865ba4c30c 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -175,6 +175,5 @@ olacaktır. [docs-rlo-en]: https://docs.ruby-lang.org/en/ [atom]: https://atom.io/ [vscode]: https://code.visualstudio.com/ -[ruby-kullanici-kilavuzu]: http://www.belgeler.org/uygulamalar/ruby/ruby-ug.html [ruby-101-kitabi]: https://vigo.github.io/ruby101-kitap/ [ab2014-ruby-notlari]: https://github.com/leylaKapi/AB2014-Ruby-Programlama-Dili/blob/master/Ruby_AB2014.md diff --git a/tr/documentation/installation/index.md b/tr/documentation/installation/index.md index caa14c1e5e..b42c0389bf 100644 --- a/tr/documentation/installation/index.md +++ b/tr/documentation/installation/index.md @@ -366,7 +366,7 @@ olabilir, çünkü kurulan Ruby herhangi bir araç tarafından yönetilmeyecekti [terminal]: https://en.wikipedia.org/wiki/List_of_terminal_emulators [download]: /tr/downloads/ [installers]: /tr/documentation/installation/#installers -[building-ruby]: https://github.com/ruby/ruby/blob/master/doc/contributing/building_ruby.md +[github-ruby]: https://github.com/ruby/ruby [wsl]: https://docs.microsoft.com/en-us/windows/wsl/about [asdf-vm]: https://asdf-vm.com/ [asdf-ruby]: https://github.com/asdf-vm/asdf-ruby diff --git a/tr/news/_posts/2014-07-26-rubykaigi-2014-registration-online.md b/tr/news/_posts/2014-07-26-rubykaigi-2014-registration-online.md index 3fb53bd25c..cc22b4f5c1 100644 --- a/tr/news/_posts/2014-07-26-rubykaigi-2014-registration-online.md +++ b/tr/news/_posts/2014-07-26-rubykaigi-2014-registration-online.md @@ -51,7 +51,7 @@ gelen Rubyciler için mükemmel bir ortam sağlayacağız. ## Daha fazla bilgi için: * [http://rubykaigi.org/2014](http://rubykaigi.org/2014) -* [http://blog.rubykaigi.org](http://blog.rubykaigi.org) +* [https://rubykaigi.org](https://rubykaigi.org) * [@rubykaigi](https://twitter.com/rubykaigi) * [http://lanyrd.com/2014/rubykaigi/](http://lanyrd.com/2014/rubykaigi) diff --git a/tr/news/_posts/2019-10-16-fukuoka-ruby-award-2020.md b/tr/news/_posts/2019-10-16-fukuoka-ruby-award-2020.md index 981e0e5504..307df2847c 100644 --- a/tr/news/_posts/2019-10-16-fukuoka-ruby-award-2020.md +++ b/tr/news/_posts/2019-10-16-fukuoka-ruby-award-2020.md @@ -22,8 +22,6 @@ Matz ve bir grup oturum katılımcısı Fukuoka Yarışmasının kazananlarını Fukuoka Yarışması için büyük ödül 1 milyon yen'dir. Önceki büyük ödül sahipleri arasında Rhomobile (ABD) ve APEC İklim Merkezi (Kore) bulunmaktadır. -[http://myfukuoka.com/category/news/ruby-news/](http://myfukuoka.com/category/news/ruby-news/) - Yarışmaya giren programlar tümüyle Ruby ile yazılmak zorunda değildir fakat Ruby'nin eşsiz karakteristiklerinden faydalanmalıdır. Projeler, değerlendirmeye alınabilmeleri için, son 12 ayda geliştirilmiş ya da tamamlanmış olmalıdır. diff --git a/tr/news/_posts/2020-12-25-ruby-3-0-0-released.md b/tr/news/_posts/2020-12-25-ruby-3-0-0-released.md index d1889c441a..402b3b9589 100644 --- a/tr/news/_posts/2020-12-25-ruby-3-0-0-released.md +++ b/tr/news/_posts/2020-12-25-ruby-3-0-0-released.md @@ -17,7 +17,7 @@ Ruby 3.0.0'ın yayınlandığını duyurmaktan memnuniyet duyuyoruz. NES'in oyun emulasyonu işyükü temelli tek threadde performansı ölçen [Optcarrot kıyaslaması](https://github.com/mame/optcarrot) ile Ruby3, Ruby 2.0'dan 3 kat daha hızlı olduğunu kanıtladı!
- Bunlar şurada not edilen ortama göre ölçülmüştür: [benchmark-driver.github.io/hardware.html](https://benchmark-driver.github.io/hardware.html) + Bunlar şurada not edilen ortama göre ölçülmüştür: [benchmark-driver.github.io/hardware.html](https://github.com/benchmark-driver/benchmark-driver) [Commit 8c510e4095](https://github.com/ruby/ruby/commit/8c510e4095), Ruby 3.0 olarak kullanıldı. Ortamınıza ya da kıyaslamanıza göre 3 kat hız ölçemeyebilirsiniz.
@@ -46,7 +46,7 @@ Yukarıda anlatılan performans artışı ile birlikte, Ruby 3.0 aşağıda anla Birçok iyileştirme MJIT'te gerçeklenmiştir. Ayrıntılar için NEWS'e bakınız. -Ruby 3.0 itibariyle, JIT'in sınırlı işyüklerinde performans iyileştirmeleri vermesi gerekiyor; oyunlar ([Optcarrot](https://benchmark-driver.github.io/benchmarks/optcarrot/commits.html#chart-1)), yapay zeka ([Rubykon](https://benchmark-driver.github.io/benchmarks/rubykon/commits.html)) ya da zamanının çoğunu birkaç metodu birçok kez çağırarak geçiren herhangi bir uygulama gibi. +Ruby 3.0 itibariyle, JIT'in sınırlı işyüklerinde performans iyileştirmeleri vermesi gerekiyor; oyunlar ([Optcarrot](https://github.com/mame/optcarrot)), yapay zeka ([Rubykon](https://benchmark-driver.github.io/benchmarks/rubykon/commits.html)) ya da zamanının çoğunu birkaç metodu birçok kez çağırarak geçiren herhangi bir uygulama gibi. Ruby 3.0 [JIT'lenmiş kodun boyutunu önemli ölçüde düşürmüş olsa da](https://twitter.com/k0kubun/status/1256142302608650244), Rails gibi optimize eden işyükleri için hala hazır değildir. From bd11a9f7010a21492adc4553ee0a691e679ddea0 Mon Sep 17 00:00:00 2001 From: kagancansit Date: Tue, 28 May 2024 00:10:58 +0300 Subject: [PATCH 2220/2563] benchmark-driver link update --- tr/news/_posts/2020-12-25-ruby-3-0-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr/news/_posts/2020-12-25-ruby-3-0-0-released.md b/tr/news/_posts/2020-12-25-ruby-3-0-0-released.md index 402b3b9589..ea2850a513 100644 --- a/tr/news/_posts/2020-12-25-ruby-3-0-0-released.md +++ b/tr/news/_posts/2020-12-25-ruby-3-0-0-released.md @@ -46,7 +46,7 @@ Yukarıda anlatılan performans artışı ile birlikte, Ruby 3.0 aşağıda anla Birçok iyileştirme MJIT'te gerçeklenmiştir. Ayrıntılar için NEWS'e bakınız. -Ruby 3.0 itibariyle, JIT'in sınırlı işyüklerinde performans iyileştirmeleri vermesi gerekiyor; oyunlar ([Optcarrot](https://github.com/mame/optcarrot)), yapay zeka ([Rubykon](https://benchmark-driver.github.io/benchmarks/rubykon/commits.html)) ya da zamanının çoğunu birkaç metodu birçok kez çağırarak geçiren herhangi bir uygulama gibi. +Ruby 3.0 itibariyle, JIT'in sınırlı işyüklerinde performans iyileştirmeleri vermesi gerekiyor; oyunlar ([Optcarrot](https://github.com/mame/optcarrot)), yapay zeka ([Rubykon](https://github.com/benchmark-driver)) ya da zamanının çoğunu birkaç metodu birçok kez çağırarak geçiren herhangi bir uygulama gibi. Ruby 3.0 [JIT'lenmiş kodun boyutunu önemli ölçüde düşürmüş olsa da](https://twitter.com/k0kubun/status/1256142302608650244), Rails gibi optimize eden işyükleri için hala hazır değildir. From 426060c4e354ba4fd06fd742ce14a11fa00260fe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 15:16:20 +0000 Subject: [PATCH 2221/2563] Bump ruby/setup-ruby from 1.176.0 to 1.177.1 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.176.0 to 1.177.1. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49...943103cae7d3f1bb1e4951d5fcc7928b40e4b742) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e61e515285..01bc4fcc92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0 + uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e77d858bf0..c64024414f 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Setup Ruby - uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0 + uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1 with: ruby-version: '3.2' bundler-cache: true From 3acee38a7fac096ae42d92b014af9a570860b6ec Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 May 2024 18:55:06 +0900 Subject: [PATCH 2222/2563] update bundles --- Gemfile.lock | 73 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 31 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b6fdc95e70..c8f6cee33c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,20 +1,22 @@ GEM remote: https://rubygems.org/ specs: - Ascii85 (1.1.0) + Ascii85 (1.1.1) addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) afm (0.2.2) - async (2.8.0) - console (~> 1.10) + async (2.11.0) + console (~> 1.25, >= 1.25.2) fiber-annotation - io-event (~> 1.1) + io-event (~> 1.5, >= 1.5.1) timers (~> 4.1) + bigdecimal (3.1.8) colorator (1.1.0) - concurrent-ruby (1.2.2) - console (1.23.3) + concurrent-ruby (1.2.3) + console (1.25.2) fiber-annotation - fiber-local + fiber-local (~> 1.1) + json crass (1.0.6) em-websocket (0.5.3) eventmachine (>= 0.12.9) @@ -24,13 +26,21 @@ GEM eventmachine (1.2.7) ffi (1.16.3) fiber-annotation (0.2.0) - fiber-local (1.0.0) + fiber-local (1.1.0) + fiber-storage + fiber-storage (0.1.1) forwardable-extended (2.6.0) - google-protobuf (3.25.2) - google-protobuf (3.25.2-arm64-darwin) - google-protobuf (3.25.2-x86_64-linux) + google-protobuf (4.27.0) + bigdecimal + rake (>= 13) + google-protobuf (4.27.0-arm64-darwin) + bigdecimal + rake (>= 13) + google-protobuf (4.27.0-x86_64-linux) + bigdecimal + rake (>= 13) hashery (2.1.2) - html-proofer (5.0.8) + html-proofer (5.0.9) addressable (~> 2.3) async (~> 2.1) nokogiri (~> 1.13) @@ -40,9 +50,9 @@ GEM yell (~> 2.0) zeitwerk (~> 2.5) http_parser.rb (0.8.0) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) - io-event (1.4.1) + io-event (1.5.1) jekyll (4.3.3) addressable (~> 2.4) colorator (~> 1.0) @@ -63,18 +73,18 @@ GEM sass-embedded (~> 1.54) jekyll-watch (2.2.1) listen (~> 3.0) - json (2.7.1) + json (2.7.2) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.4) - listen (3.8.0) + listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) mini_portile2 (2.8.6) - minitest (5.20.0) + minitest (5.23.1) nokogiri (1.16.5) mini_portile2 (~> 2.8.2) racc (~> 1.4) @@ -91,27 +101,27 @@ GEM hashery (~> 2.0) ruby-rc4 ttfunk - public_suffix (5.0.4) - racc (1.7.3) + public_suffix (5.0.5) + racc (1.8.0) rainbow (3.1.1) - rake (13.1.0) + rake (13.2.1) rb-fsevent (0.11.2) - rb-inotify (0.10.1) + rb-inotify (0.11.1) ffi (~> 1.0) rexml (3.2.8) strscan (>= 3.0.9) - rouge (4.2.0) + rouge (4.2.1) ruby-rc4 (0.1.5) safe_yaml (1.0.5) - sass-embedded (1.69.7) - google-protobuf (~> 3.25) + sass-embedded (1.77.2) + google-protobuf (>= 3.25, < 5.0) rake (>= 13.0.0) - sass-embedded (1.69.7-arm64-darwin) - google-protobuf (~> 3.25) - sass-embedded (1.69.7-x86_64-linux-gnu) - google-protobuf (~> 3.25) + sass-embedded (1.77.2-arm64-darwin) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.2-x86_64-linux-gnu) + google-protobuf (>= 3.25, < 5.0) slop (4.10.1) - spidr (0.7.0) + spidr (0.7.1) nokogiri (~> 1.3) strscan (3.1.0) terminal-table (3.0.2) @@ -119,7 +129,8 @@ GEM tidy_ffi (1.0.1) ffi (~> 1.2) timers (4.3.5) - ttfunk (1.7.0) + ttfunk (1.8.0) + bigdecimal (~> 3.1) typhoeus (1.4.1) ethon (>= 0.9.0) unicode-display_width (2.5.0) @@ -138,7 +149,7 @@ GEM rexml (~> 3.2) webrick (1.8.1) yell (2.2.2) - zeitwerk (2.6.12) + zeitwerk (2.6.15) PLATFORMS arm64-darwin-22 From 9ccb227dfa6644d0f382a6c4b24de4f2e4853654 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 29 May 2024 17:47:40 +0900 Subject: [PATCH 2223/2563] Release announcement for Ruby 3.1.6 --- _data/releases.yml | 24 +++++++++ .../_posts/2024-05-29-ruby-3-1-6-released.md | 50 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 en/news/_posts/2024-05-29-ruby-3-1-6-released.md diff --git a/_data/releases.yml b/_data/releases.yml index 89c262fc50..1ca82b7cd5 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -467,6 +467,30 @@ # 3.1 series +- version: 3.1.6 + date: '2024-05-29' + post: "/en/news/2024/05/29/ruby-3-1-6-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.zip + size: + gz: 20887803 + xz: 15273916 + zip: 25211787 + sha1: + gz: '02832465f9b0f68b9fe2c443f9f602d6e840b2ca' + xz: 2671606a00d0ad564fb93f92d093590563c4e25b + zip: 534e675022dc30c3674ee68a7b2fbe9300d64367 + sha256: + gz: 0d0dafb859e76763432571a3109d1537d976266be3083445651dc68deed25c22 + xz: 597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 + zip: c21d16e7953d65d05824834e89d7e1a58ccf2bc018fe966f785774ea383f53db + sha512: + gz: 624555ab3681bd6663bca7cf3529a969b9f0f16928559cfb713c57f763506c8740410c9b460d946922994859189ef2b9956167bd31423cf2e3acbf5a30086fe1 + xz: a3159648706d6d11ce9613201141e884b3accc69bf928c756de8a8f2b71d219886e91435d30cf2c30e85af31f87801138e10106344766100f1b80662c7244652 + zip: f8b5a0fda8dc0248f29796a0b5b67f93a825a013b92b0db437ecf0a5ffaf06a800285999a0e9a61e890a8000dd2e2c081a6ecb5dae62b1045761a13fd87c397b + - version: 3.1.5 date: '2024-04-23' post: "/en/news/2024/04/23/ruby-3-1-5-released/" diff --git a/en/news/_posts/2024-05-29-ruby-3-1-6-released.md b/en/news/_posts/2024-05-29-ruby-3-1-6-released.md new file mode 100644 index 0000000000..dfba5287fa --- /dev/null +++ b/en/news/_posts/2024-05-29-ruby-3-1-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.1.5 Released" +author: "hsbt" +translator: +date: 2024-05-29 9:00:00 +0000 +lang: en +--- + +Ruby 3.1.6 has been released. + +Ruby 3.1 series is now in the security maintenance phase. In general, we will fix sonly ecurity issues in this phase. But we have several build failure issues after the release of Ruby 3.1.5. We decided to release Ruby 3.1.6 to fix these issues. + +Please check the topics below for details. + +* [Bug #20151: Can't build Ruby 3.1 on FreeBSD 14.0](https://bugs.ruby-lang.org/issues/20151) +* [Bug #20451: Bad Ruby 3.1.5 backport causes fiddle to fail to build](https://bugs.ruby-lang.org/issues/20451) +* [Bug #20431: Ruby 3.3.0 build fail with make: *** \[io_buffer.o\] Error 1](https://bugs.ruby-lang.org/issues/20431) + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_6) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.1.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From b056769de793bbf656b240ffb7e1eefc55ca35d9 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 29 May 2024 18:32:06 +0900 Subject: [PATCH 2224/2563] Fix a typo --- en/news/_posts/2024-05-29-ruby-3-1-6-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-05-29-ruby-3-1-6-released.md b/en/news/_posts/2024-05-29-ruby-3-1-6-released.md index dfba5287fa..a1c6c1e954 100644 --- a/en/news/_posts/2024-05-29-ruby-3-1-6-released.md +++ b/en/news/_posts/2024-05-29-ruby-3-1-6-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.1.5 Released" +title: "Ruby 3.1.6 Released" author: "hsbt" translator: date: 2024-05-29 9:00:00 +0000 From 8ca77c809c297b2d862c3d32132b634a20bc80b5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 29 May 2024 18:43:14 +0900 Subject: [PATCH 2225/2563] Fix a typo too --- en/news/_posts/2024-05-29-ruby-3-1-6-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-05-29-ruby-3-1-6-released.md b/en/news/_posts/2024-05-29-ruby-3-1-6-released.md index a1c6c1e954..b2ba968d66 100644 --- a/en/news/_posts/2024-05-29-ruby-3-1-6-released.md +++ b/en/news/_posts/2024-05-29-ruby-3-1-6-released.md @@ -9,7 +9,7 @@ lang: en Ruby 3.1.6 has been released. -Ruby 3.1 series is now in the security maintenance phase. In general, we will fix sonly ecurity issues in this phase. But we have several build failure issues after the release of Ruby 3.1.5. We decided to release Ruby 3.1.6 to fix these issues. +Ruby 3.1 series is now in the security maintenance phase. In general, we will fix only security issues in this phase. But we have several build failure issues after the release of Ruby 3.1.5. We decided to release Ruby 3.1.6 to fix these issues. Please check the topics below for details. From d340523df62a415c1fcde57889e2aa44d0d104c3 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 29 May 2024 18:34:33 +0800 Subject: [PATCH 2226/2563] Translate Ruby 3.1.6 Released (zh_tw) --- .../_posts/2024-05-29-ruby-3-1-6-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 zh_tw/news/_posts/2024-05-29-ruby-3-1-6-released.md diff --git a/zh_tw/news/_posts/2024-05-29-ruby-3-1-6-released.md b/zh_tw/news/_posts/2024-05-29-ruby-3-1-6-released.md new file mode 100644 index 0000000000..4c39a76fb4 --- /dev/null +++ b/zh_tw/news/_posts/2024-05-29-ruby-3-1-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.1.6 發布" +author: "hsbt" +translator: "Bear Su" +date: 2024-05-29 9:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.1.6 已經發布了。 + +Ruby 3.1 已經進入安全性維護週期,在此週期通常我們只會修復安全性問題。但在發布 Ruby 3.1.5 後我們發現有一些建置失敗的問題。 +所以我們決定發布 Ruby 3.1.6 來修復這些問題。 + +細節請參考下列內容。 + +* [Bug #20151: Can't build Ruby 3.1 on FreeBSD 14.0](https://bugs.ruby-lang.org/issues/20151) +* [Bug #20451: Bad Ruby 3.1.5 backport causes fiddle to fail to build](https://bugs.ruby-lang.org/issues/20451) +* [Bug #20431: Ruby 3.3.0 build fail with make: *** \[io_buffer.o\] Error 1](https://bugs.ruby-lang.org/issues/20431) + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_1_6)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.1.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 From 4c164cc27e0fdaf7724142b22b6eb7a6e37f9538 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 28 May 2024 17:21:57 +0900 Subject: [PATCH 2227/2563] Draft --- .../_posts/2024-05-28-datadog-oss-program.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 en/news/_posts/2024-05-28-datadog-oss-program.md diff --git a/en/news/_posts/2024-05-28-datadog-oss-program.md b/en/news/_posts/2024-05-28-datadog-oss-program.md new file mode 100644 index 0000000000..eeba6cf928 --- /dev/null +++ b/en/news/_posts/2024-05-28-datadog-oss-program.md @@ -0,0 +1,28 @@ +--- +layout: news_post +title: "Datadog provides OSS community support for ruby-lang.org" +author: "hsbt" +translator: +date: 2024-05-28 00:00:00 +0000 +lang: en +--- + +We are excited to announce that Ruby's official website, ruby-lang.org, has adopted Datadog for monitoring by [Datadog OSS community support](https://opensource.datadoghq.com/projects/oss-program/). + +This allows us to effectively monitor the performance and availability of the site in real time for Ruby users. This key benefits of using Datadog include the following. + +## CDN Visibility + +cache.ruby-lang.org provided by Fastly is most important infrastructure of Ruby ecosystem. Datadog enables monitoring of Content Delivery Network (CDN) performance. It tracks cache coverage, error rate, enhancing user experiences. + +## Unified Data Visualization + +We have various web services for ruby-lang.org. Datadog allows to visualize log analytics data alongside metrics and application performance monitoring (APM) data in the same dashboards. + +## JIT Trace Visibility + +By utilizing Datadog’s tracing capabilities, we can capture traces as requests flow through web servers and databases. This helps identify bottlenecks and problematic requests. + +We published the [public dashboard](https://p.ap1.datadoghq.com/sb/1271b83e-af90-11ee-9072-da7ad0900009-01633a8fa8c0b0c0051f1889afdf55dc) of our key metrics. We will update the dashboard as we continue to improve our monitoring especially YJIT performance. + +We hope that this adoption of Datadog will contribute to improved site performance for the Ruby community. Please continue to use ruby-lang.org and enjoy an enhanced user experience. From 97d03f6dc6420f4193d04b56cb48fecdcbab3908 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 29 May 2024 17:25:09 +0900 Subject: [PATCH 2228/2563] Removed trailing white-space. --- en/news/_posts/2024-05-28-datadog-oss-program.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-05-28-datadog-oss-program.md b/en/news/_posts/2024-05-28-datadog-oss-program.md index eeba6cf928..e63bec523f 100644 --- a/en/news/_posts/2024-05-28-datadog-oss-program.md +++ b/en/news/_posts/2024-05-28-datadog-oss-program.md @@ -17,7 +17,7 @@ cache.ruby-lang.org provided by Fastly is most important infrastructure of Ruby ## Unified Data Visualization -We have various web services for ruby-lang.org. Datadog allows to visualize log analytics data alongside metrics and application performance monitoring (APM) data in the same dashboards. +We have various web services for ruby-lang.org. Datadog allows to visualize log analytics data alongside metrics and application performance monitoring (APM) data in the same dashboards. ## JIT Trace Visibility From 5ec77a92dea5706c755466a4bc7e8c3e9420809c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 30 May 2024 12:05:41 +0900 Subject: [PATCH 2229/2563] Update publish date --- ...datadog-oss-program.md => 2024-05-30-datadog-oss-program.md} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename en/news/_posts/{2024-05-28-datadog-oss-program.md => 2024-05-30-datadog-oss-program.md} (98%) diff --git a/en/news/_posts/2024-05-28-datadog-oss-program.md b/en/news/_posts/2024-05-30-datadog-oss-program.md similarity index 98% rename from en/news/_posts/2024-05-28-datadog-oss-program.md rename to en/news/_posts/2024-05-30-datadog-oss-program.md index e63bec523f..2a809ec1c3 100644 --- a/en/news/_posts/2024-05-28-datadog-oss-program.md +++ b/en/news/_posts/2024-05-30-datadog-oss-program.md @@ -3,7 +3,7 @@ layout: news_post title: "Datadog provides OSS community support for ruby-lang.org" author: "hsbt" translator: -date: 2024-05-28 00:00:00 +0000 +date: 2024-05-30 00:00:00 +0000 lang: en --- From 2b7a933781abc9d440a812302ad02ba039efe628 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 29 May 2024 20:55:01 -0700 Subject: [PATCH 2230/2563] Release announcement for Ruby 3.3.2 --- _data/releases.yml | 24 +++++++++++ .../_posts/2024-05-30-ruby-3-3-2-released.md | 43 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 en/news/_posts/2024-05-30-ruby-3-3-2-released.md diff --git a/_data/releases.yml b/_data/releases.yml index 1ca82b7cd5..a887f29eae 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -52,6 +52,30 @@ # 3.3 series +- version: 3.3.2 + date: 2024-05-30 + post: /en/news/2024/05/30/ruby-3-3-2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.2.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.2.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.2.tar.xz + size: + gz: 22095824 + zip: 26981906 + xz: 16349500 + sha1: + gz: b49719ef383c581008c1fd3b68690f874f78557b + zip: ee641ef4a0c5b9d12456c565d402841ae2ec5ab2 + xz: 5c9f7d5cf55d9e45b24c613014cbe2b605de009d + sha256: + gz: 3be1d100ebf2a0ce60c2cd8d22cd9db4d64b3e04a1943be2c4ff7b520f2bcb5b + zip: 06bf1aa3336afed66e2f89b0be3542c980fcdd76ffad0be284a860f25edea5b1 + xz: b5e8a8ed4a47cdd9a3358b5bdd998c37bd9e971ca63766a37d5ae5933fdb69f1 + sha512: + gz: a15ba8d6c2830fcd1f2b36f671acf9028c303ec78608fd268da0585db8e95ddd971666e8029bcfa2584da2184a6534e1f2f2da07fa7ca4494e8d842eed206f00 + zip: e2bbff1fbe5d9a892bd9c21fe9f10ea7b23f111f3876538bffea3d5451645e155f9ddc61345a44e409d44f83e190ffe30b9c90cd75905dc079cf8803f2f8ccdf + xz: 70dd8eb933956f894c52a8ede42e8ee74ff0e062bd8134a0bfb6bffc83a2848a658b62c8df5530b4dd64087b2d5373909c48917528facb1e6f4e99e79b6ad449 + - version: 3.3.1 date: 2024-04-23 post: /en/news/2024/04/23/ruby-3-3-1-released/ diff --git a/en/news/_posts/2024-05-30-ruby-3-3-2-released.md b/en/news/_posts/2024-05-30-ruby-3-3-2-released.md new file mode 100644 index 0000000000..e29a51f8a3 --- /dev/null +++ b/en/news/_posts/2024-05-30-ruby-3-3-2-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.2 Released" +author: "k0kubun" +translator: +date: 2024-05-30 03:50:00 +0000 +lang: en +--- + +Ruby 3.3.2 has been released. + +This release includes many bug-fixes. +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_2) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 8c45227386e5ee509d1ef51c3a0f171822fbeafb Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 30 May 2024 16:12:00 +0800 Subject: [PATCH 2231/2563] Translate Ruby 3.3.2 Released (zh_tw) --- .../_posts/2024-05-30-ruby-3-3-2-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 zh_tw/news/_posts/2024-05-30-ruby-3-3-2-released.md diff --git a/zh_tw/news/_posts/2024-05-30-ruby-3-3-2-released.md b/zh_tw/news/_posts/2024-05-30-ruby-3-3-2-released.md new file mode 100644 index 0000000000..b461e283e0 --- /dev/null +++ b/zh_tw/news/_posts/2024-05-30-ruby-3-3-2-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.3.2 發布" +author: "k0kubun" +translator: "Bear Su" +date: 2024-05-30 03:50:00 +0000 +lang: zh_tw +--- + +Ruby 3.3.2 已經發布了。 + +本次發布版本包含許多問題修正。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_2)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.3.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 From 233935f2a6e66bc2572d5336a12fbfe62fd91e38 Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Fri, 17 May 2024 08:37:01 +0900 Subject: [PATCH 2232/2563] Update Japanese mirror to official URLs of Ring Server Currently URLs of backend servers are listed. And some of them fail to be connected. So replace them with official URLs of Ring Server. --- en/downloads/mirrors/index.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/en/downloads/mirrors/index.md b/en/downloads/mirrors/index.md index 612b3e2f75..49c4504557 100644 --- a/en/downloads/mirrors/index.md +++ b/en/downloads/mirrors/index.md @@ -15,10 +15,7 @@ Please try to use a mirror that is near you. ### Mirror sites via HTTP * [CDN][mirror-https-cdn] (fastly.com) -* Japan (RingServer) - * [shibaura-it.ac.jp][mirror-http-jp-ring-shibaura-it] - * [u-toyama.ac.jp][mirror-http-jp-ring-u-toyama] - * [airnet.ne.jp][mirror-http-jp-ring-airnet] +* [Japan][mirror-http-jp-ring] (RingServer) * [Holland][mirror-http-nl] (XS4ALL) - only release packages * [France][mirror-http-fr] (cyberbits.eu) * [China 2][mirror-http-cn2] (Ruby China) @@ -26,10 +23,7 @@ Please try to use a mirror that is near you. ### Mirror sites via FTP -* Japan (RingServer) - * [shibaura-it.ac.jp][mirror-ftp-jp-ring-shibaura-it] - * [u-toyama.ac.jp][mirror-ftp-jp-ring-u-toyama] - * [airnet.ne.jp][mirror-ftp-jp-ring-airnet] +* [Japan][mirror-ftp-jp-ring] (RingServer) * [Japan 3][mirror-ftp-jp3] (IIJ) * [South Korea][mirror-ftp-kr] (Korea FreeBSD Users Group) * [Germany][mirror-ftp-de] (FU Berlin) @@ -41,17 +35,12 @@ Please try to use a mirror that is near you. * [South Korea][mirror-rsync-kr] (Korea FreeBSD Users Group) [mirror-https-cdn]: https://cache.ruby-lang.org/pub/ruby/ -[mirror-http-jp-ring-shibaura-it]: http://ring.shibaura-it.ac.jp/archives/lang/ruby/ -[mirror-http-jp-ring-u-toyama]: http://ring.u-toyama.ac.jp/archives/lang/ruby/ -[mirror-http-jp-ring-airnet]: http://ring.airnet.ne.jp/archives/lang/ruby/ +[mirror-http-jp-ring]: http://www.ring.gr.jp/pub/lang/ruby/ [mirror-http-nl]: http://www.xs4all.nl/~hipster/lib/mirror/ruby/ [mirror-http-fr]: https://mirror.cyberbits.eu/ruby/ [mirror-http-cn2]: https://cache.ruby-china.com/pub/ruby/ [mirror-http-kr]: http://ftp.kr.freebsd.org/pub/ruby/ -[mirror-ftp-jp-ring-shibaura-it]: ftp://ring.shibaura-it.ac.jp/pub/lang/ruby/ -[mirror-ftp-jp-ring-u-toyama]: ftp://ring.u-toyama.ac.jp/pub/lang/ruby/ -[mirror-ftp-jp-ring-airnet]: ftp://ring.airnet.ne.jp/pub/lang/ruby/ -[mirror-ftp-jp-ring-maffin]: ftp://ring.maffin.ad.jp/pub/lang/ruby/ +[mirror-ftp-jp-ring]: ftp://ftp.ring.gr.jp/pub/lang/ruby/ [mirror-ftp-jp3]: ftp://ftp.iij.ad.jp/pub/lang/ruby/ [mirror-ftp-kr]: ftp://ftp.kr.freebsd.org/pub/ruby/ [mirror-ftp-de]: ftp://ftp.fu-berlin.de/unix/languages/ruby/ From 48d63287d6bff77b1797c416028a526687aa3818 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 30 May 2024 16:42:11 +0800 Subject: [PATCH 2233/2563] Translate Datadog provides OSS community support (zh_tw) --- .../_posts/2024-05-30-datadog-oss-program.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 zh_tw/news/_posts/2024-05-30-datadog-oss-program.md diff --git a/zh_tw/news/_posts/2024-05-30-datadog-oss-program.md b/zh_tw/news/_posts/2024-05-30-datadog-oss-program.md new file mode 100644 index 0000000000..57624957e6 --- /dev/null +++ b/zh_tw/news/_posts/2024-05-30-datadog-oss-program.md @@ -0,0 +1,28 @@ +--- +layout: news_post +title: "Datadog 為 ruby-lang.org 提供開源社群支援" +author: "hsbt" +translator: "Bear Su" +date: 2024-05-30 00:00:00 +0000 +lang: zh_tw +--- + +我們很高興宣佈 Ruby 官方網站 ruby-lang.org 透過 [Datadog 開源社群支援](https://opensource.datadoghq.com/projects/oss-program/) 建立了 Datadog 監控。 + +這使得我們能夠為 Ruby 使用者有效地即時監控網站的效能與可用性。使用 Datadog 的主要好處包含如下: + +## CDN 可見性 + +透過 Fastly 提供的 cache.ruby-lang.org 是 Ruby 生態系最重要的基礎建設。Datadog 可以監控 Content Delivery Network (CDN) 效能。追蹤快取覆蓋率、錯誤率,以增強使用者體驗。 + +## 統一資料視覺化 + +我們為 ruby-lang.org 建立了多種網路服務。Datadog 可以在相同的儀表板中視覺化日誌分析資料、監控指標和 application performance monitoring (APM) 資料。 + +## JIT Trace 可見性 + +借助 Datadog 的 tracing 功能,我們可以抓取請求執行過程中經過網頁伺服器與資料庫的 trace 資料。這有助於識別效能瓶頸和有問題的請求。 + +我們為主要監控指標發布了[公開儀表板](https://p.ap1.datadoghq.com/sb/1271b83e-af90-11ee-9072-da7ad0900009-01633a8fa8c0b0c0051f1889afdf55dc)。我們將會持續更新儀表板以改善監控,特別是 YJIT 效能。 + +我們希望採用 Datadog 將有助於提高 Ruby 社群的網站效能。請繼續使用 ruby​​-lang.org 並享受增強的用戶體驗。 From 42b8820567d59ebe61b9deb426d8dfabc73c72d6 Mon Sep 17 00:00:00 2001 From: 7riatsu Date: Sat, 1 Jun 2024 17:10:59 +0900 Subject: [PATCH 2234/2563] Translate Ruby 3.3.2 release (ja) --- .../_posts/2024-05-30-ruby-3-3-2-released.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ja/news/_posts/2024-05-30-ruby-3-3-2-released.md diff --git a/ja/news/_posts/2024-05-30-ruby-3-3-2-released.md b/ja/news/_posts/2024-05-30-ruby-3-3-2-released.md new file mode 100644 index 0000000000..8eecfb0b86 --- /dev/null +++ b/ja/news/_posts/2024-05-30-ruby-3-3-2-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.2 リリース" +author: "k0kubun" +translator: 7riatsu +date: 2024-05-30 03:50:00 +0000 +lang: ja +--- + +Ruby 3.3.2 がリリースされました。 + +このリリースでは多くの不具合修正を行なっています。 +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_2) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.3.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From d7bb43f3997208c233faf65a71a926e9489f72e3 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 1 Jun 2024 20:46:11 +0900 Subject: [PATCH 2235/2563] Translate "Ruby 3.3.2 Released" (ko) (#3269) * Copy from en * Translate "Ruby 3.3.2 Released" (ko) --- .../_posts/2024-05-30-ruby-3-3-2-released.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ko/news/_posts/2024-05-30-ruby-3-3-2-released.md diff --git a/ko/news/_posts/2024-05-30-ruby-3-3-2-released.md b/ko/news/_posts/2024-05-30-ruby-3-3-2-released.md new file mode 100644 index 0000000000..aa4c590595 --- /dev/null +++ b/ko/news/_posts/2024-05-30-ruby-3-3-2-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.2 릴리스" +author: "k0kubun" +translator: "shia" +date: 2024-05-30 03:50:00 +0000 +lang: ko +--- + +Ruby 3.3.2가 릴리스되었습니다. + +이번 릴리스에는 많은 버그 수정이 포함되어 있습니다. +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_3_2)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.3.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 298a8538bb99b970fe47996ceb90697b8d259a8e Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 2 Jun 2024 11:52:09 +0900 Subject: [PATCH 2236/2563] Translate "Ruby 3.1.6 Released" (ko) (#3268) * Copy from en * Translate "Ruby 3.1.6 Released" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2024-05-29-ruby-3-1-6-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ko/news/_posts/2024-05-29-ruby-3-1-6-released.md diff --git a/ko/news/_posts/2024-05-29-ruby-3-1-6-released.md b/ko/news/_posts/2024-05-29-ruby-3-1-6-released.md new file mode 100644 index 0000000000..d536320832 --- /dev/null +++ b/ko/news/_posts/2024-05-29-ruby-3-1-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.1.6 릴리스" +author: "hsbt" +translator: "shia" +date: 2024-05-29 9:00:00 +0000 +lang: ko +--- + +Ruby 3.1.6이 릴리스되었습니다. + +Ruby 3.1 버전대는 지금 보안 유지보수 단계입니다. 일반적으로 이 단계에서는 보안 문제만 수정합니다. 그러나 Ruby 3.1.5 릴리스 이후 빌드 실패 문제가 여럿 발생했습니다. 이 문제들을 해결하기 위해 Ruby 3.1.6을 릴리스하기로 결정했습니다. + +아래 항목에서 자세한 내용을 확인하세요. + +* [Bug #20151: FreeBSD 14.0에서 Ruby 3.1을 빌드할 수 없음](https://bugs.ruby-lang.org/issues/20151) +* [Bug #20451: 잘못된 Ruby 3.1.5 백포트로 fiddle 빌드에 실패함](https://bugs.ruby-lang.org/issues/20451) +* [Bug #20431: Ruby 3.3.0 빌드 실패 make: *** \[io_buffer.o\] Error 1](https://bugs.ruby-lang.org/issues/20431) + +자세한 사항은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_1_6)를 확인해 주세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.1.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From e197aa91941ec386b9a630380e42ff3644fbfdcc Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 2 Jun 2024 13:19:35 +0900 Subject: [PATCH 2237/2563] Translate "Datadog provides OSS community support for ruby-lang.org" (ko) (#3270) * Copy from en * Translate "Datadog provides OSS community support for ruby-lang.org" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2024-05-30-datadog-oss-program.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ko/news/_posts/2024-05-30-datadog-oss-program.md diff --git a/ko/news/_posts/2024-05-30-datadog-oss-program.md b/ko/news/_posts/2024-05-30-datadog-oss-program.md new file mode 100644 index 0000000000..f0277aefca --- /dev/null +++ b/ko/news/_posts/2024-05-30-datadog-oss-program.md @@ -0,0 +1,28 @@ +--- +layout: news_post +title: "Datadog가 ruby-lang.org의 OSS 커뮤니티 지원을 제공합니다" +author: "hsbt" +translator: "shia" +date: 2024-05-30 00:00:00 +0000 +lang: ko +--- + +우리는 Ruby의 공식 웹사이트인 ruby-lang.org가 모니터링을 위해 Datadog를 적용했다는 것을 알려드립니다. 이는 [Datadog OSS 커뮤니티 지원](https://opensource.datadoghq.com/projects/oss-program/)을 통해 이루어졌습니다. + +Datadog는 Ruby 사용자를 위해 실시간으로 사이트의 성능과 가용성을 효과적으로 모니터링할 수 있도록 도와줍니다. Datadog 사용의 주요 이점은 다음과 같습니다. + +## CDN 가시성 + +Fastly가 제공하는 cache.ruby-lang.org는 Ruby 생태계의 가장 중요한 인프라입니다. Datadog를 통해 콘텐츠 전송 네트워크(CDN) 성능을 모니터링할 수 있습니다. 캐시 커버리지, 오류율을 추적하여 사용자 경험을 향상시킵니다. + +## 통합된 데이터 시각화 + +ruby-lang.org에는 다양한 웹 서비스가 있습니다. Datadog는 로그 분석 데이터를 시각화할 때 메트릭 및 애플리케이션 성능 모니터링(APM) 데이터도 같은 대시보드에 함께 보여줄 수 있게 해줍니다. + +## JIT 추적 가시성 + +Datadog의 트레이싱 기능을 활용하여 웹 서버 및 데이터베이스를 통하는 요청의 흐름을 트레이스로 기록할 수 있습니다. 이를 통해 병목과 문제가 있는 요청을 확인할 수 있습니다. + +주요 메트릭의 [공개 대시보드](https://p.ap1.datadoghq.com/sb/1271b83e-af90-11ee-9072-da7ad0900009-01633a8fa8c0b0c0051f1889afdf55dc)를 게시했습니다. 모니터링, 특히 YJIT 성능을 개선하면서 대시보드를 계속 업데이트할 것입니다. + +Datadog 채택이 Ruby 커뮤니티의 사이트 성능 향상에 이바지하길 바랍니다. 계속해서 ruby-lang.org를 이용하고 향상된 사용자 경험을 즐기시기 바랍니다. From 5dd4bec139187c48828880bf9baf3b985ac15118 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:36:03 +0000 Subject: [PATCH 2238/2563] Bump ruby/setup-ruby from 1.177.1 to 1.179.1 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.177.1 to 1.179.1. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/943103cae7d3f1bb1e4951d5fcc7928b40e4b742...78c01b705fd9d5ad960d432d3a0cfa341d50e410) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01bc4fcc92..a248e2c03c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1 + uses: ruby/setup-ruby@78c01b705fd9d5ad960d432d3a0cfa341d50e410 # v1.179.1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index c64024414f..5cd3d3141b 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Setup Ruby - uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1 + uses: ruby/setup-ruby@78c01b705fd9d5ad960d432d3a0cfa341d50e410 # v1.179.1 with: ruby-version: '3.2' bundler-cache: true From eb69b1e610f5b65d863fafd1ba748fca50fe3074 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 11 Jun 2024 17:37:04 -0700 Subject: [PATCH 2239/2563] Release announcement for Ruby 3.3.3 --- _data/downloads.yml | 2 +- _data/releases.yml | 24 +++++++++ .../_posts/2024-06-12-ruby-3-3-3-released.md | 53 +++++++++++++++++++ 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2024-06-12-ruby-3-3-3-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 6298896bd9..997d212157 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,7 +8,7 @@ preview: stable: - - 3.3.1 + - 3.3.3 - 3.2.4 # optional diff --git a/_data/releases.yml b/_data/releases.yml index a887f29eae..c85fde0b54 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -52,6 +52,30 @@ # 3.3 series +- version: 3.3.3 + date: 2024-06-12 + post: /en/news/2024/06/12/ruby-3-3-3-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz + size: + gz: 22105219 + zip: 26990910 + xz: 16361160 + sha1: + gz: b71971b141ee2325d99046a02291940fcca9830c + zip: 15a903003fba2fa5ae760263d6aa7b951747e545 + xz: 70cc5db132ea277487ede490e430e066a7c862d9 + sha256: + gz: 83c05b2177ee9c335b631b29b8c077b4770166d02fa527f3a9f6a40d13f3cce2 + zip: a9e4a6650cc40643b2b4a005541587443e373fbdec0c03164502f710cfd87a01 + xz: 83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e + sha512: + gz: 0388a96127eb6e53b836f7954af51ff62b84cdb7abeab823cb1349993d805b151204e426b9ac04ca8333fbd5e01c386d58bc37d34c4e9286b219dcda7542a150 + zip: ed5ed5bc26598ba8c39eaae45147159d742e4792d4d8478b2db04bffe25b75b8bd4131a86c010bff91e0368f906bff04e852deab415fefd25cec39bc53f70020 + xz: 27dcae604e6613e1eaa20c6a75ee88b970bb0dd584d9bc0c021ad8da4340858e3c2e874ac841fcca0b0444a0c0146c4650d2d22bac3c9e12853533c37255f8f1 + - version: 3.3.2 date: 2024-05-30 post: /en/news/2024/05/30/ruby-3-3-2-released/ diff --git a/en/news/_posts/2024-06-12-ruby-3-3-3-released.md b/en/news/_posts/2024-06-12-ruby-3-3-3-released.md new file mode 100644 index 0000000000..0d7492fab4 --- /dev/null +++ b/en/news/_posts/2024-06-12-ruby-3-3-3-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 3.3.3 Released" +author: "k0kubun" +translator: +date: 2024-06-12 00:30:00 +0000 +lang: en +--- + +Ruby 3.3.3 has been released. + +This release includes: + +* RubyGems 3.5.11 +* Bundler 2.5.11 +* REXML 3.2.8 +* strscan 3.0.9 +* `--dump=prism_parsetree` is replaced by `--parser=prism --dump=parsetree` +* Invalid encoding symbols raise `SyntaxError` instead of `EncodingError` +* Memory leak fix in Ripper parsing +* Bugfixes for YJIT, `**{}`, `Ripper.tokenize`, `RubyVM::InstructionSequence#to_binary`, `--with-gmp`, and some build environments + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_3) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 87719aceacc1385f2385c044aeab42c0f7851b9a Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 12 Jun 2024 10:13:49 +0800 Subject: [PATCH 2240/2563] Translate Ruby 3.3.3 Released (zh_tw) --- .../_posts/2024-06-12-ruby-3-3-3-released.md | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 zh_tw/news/_posts/2024-06-12-ruby-3-3-3-released.md diff --git a/zh_tw/news/_posts/2024-06-12-ruby-3-3-3-released.md b/zh_tw/news/_posts/2024-06-12-ruby-3-3-3-released.md new file mode 100644 index 0000000000..77918ba8ee --- /dev/null +++ b/zh_tw/news/_posts/2024-06-12-ruby-3-3-3-released.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "Ruby 3.3.3 發布" +author: "k0kubun" +translator: "Bear Su" +date: 2024-06-12 00:30:00 +0000 +lang: zh_tw +--- + +Ruby 3.3.3 已經發布了。 + +本次發布版本包含: + +* RubyGems 3.5.11 +* Bundler 2.5.11 +* REXML 3.2.8 +* strscan 3.0.9 +* `--dump=prism_parsetree` 已被 `--parser=prism --dump=parsetree` 取代 +* 不合法的 encoding symbols 會拋出 `SyntaxError` 而不是 `EncodingError` +* 修復 Ripper parsing 的 Memory leak +* 修復 YJIT, `**{}`、`Ripper.tokenize`、`RubyVM::InstructionSequence#to_binary`、`--with-gmp`、和一些建置環境中的錯誤 + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_3)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.3.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 From 6c818e43cd8cacf48f8c8001e524149470957534 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 12 Jun 2024 17:33:59 +0900 Subject: [PATCH 2241/2563] Translate "Ruby 3.3.3 Released" (ko) (#3279) * cp {en,ko}/news/_posts/2024-06-12-ruby-3-3-3-released.md * Translate "Ruby 3.3.3 Released" (ko) --- .../_posts/2024-06-12-ruby-3-3-3-released.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ko/news/_posts/2024-06-12-ruby-3-3-3-released.md diff --git a/ko/news/_posts/2024-06-12-ruby-3-3-3-released.md b/ko/news/_posts/2024-06-12-ruby-3-3-3-released.md new file mode 100644 index 0000000000..a06365931b --- /dev/null +++ b/ko/news/_posts/2024-06-12-ruby-3-3-3-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Ruby 3.3.3 릴리스" +author: "k0kubun" +translator: "shia" +date: 2024-06-12 00:30:00 +0000 +lang: ko +--- + +Ruby 3.3.3이 릴리스되었습니다. + +이번 릴리스는 아래 항목을 포함합니다. + +* RubyGems 3.5.11 +* Bundler 2.5.11 +* REXML 3.2.8 +* strscan 3.0.9 +* `--dump=prism_parsetree`는 `--parser=prism --dump=parsetree`로 대체되었습니다. +* Invalid encoding symbols raise `SyntaxError` instead of `EncodingError` +* 잘못된 인코딩 기호는 이제 `EncodingError` 대신 `SyntaxError`를 던집니다. +* Ripper 파싱 중의 메모리 누수 문제 수정 +* YJIT의 버그 수정, `**{}`, `Ripper.tokenize`, `RubyVM::InstructionSequence#to_binary`, `--with-gmp`, 여러 빌드 환경 수정 + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_3_3)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.3.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 9629d0e48c5c90309a4292157e3bf165a3921928 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 16 May 2024 20:31:15 +0800 Subject: [PATCH 2242/2563] Translate CVE 2024 35176 (zh_tw) --- .../2024-05-16-dos-rexml-cve-2024-35176.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md diff --git a/zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md new file mode 100644 index 0000000000..79c4133036 --- /dev/null +++ b/zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-35176: DoS in REXML" +author: "kou" +translator: "Bear Su" +date: 2024-05-16 05:00:00 +0000 +tags: security +lang: zh_tw +--- + +在 REXML gem 發現了一個 DoS 漏洞。 +該漏洞的 CVE 編號為 [CVE-2024-35176](https://www.cve.org/CVERecord?id=CVE-2024-35176)。 +我們強烈建議您升級 REXML gem。 + +## 風險細節 + +當解析 attribute value 中包含許多 `<` 的 XML 文件時,REXML gem 可能會需要很長的處理時間。 + +請更新 REXML gem 至 3.2.7 或更新的版本。 + +## 受影響版本 + +* REXML gem 3.2.6 及更早版本 + +## 致謝 + +感謝 [mprogrammer](https://hackerone.com/mprogrammer) 發現此問題。 + +## 歷史 + +* 最初發佈於 2024-05-16 05:00:00 (UTC) From 5bee3604277c26d5f66514ba0bddb7432dad3294 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 13 Jun 2024 20:21:21 +0900 Subject: [PATCH 2243/2563] Apply review after merge (#3282) https://github.com/ruby/www.ruby-lang.org/pull/3279#pullrequestreview-2113438987 --- ko/news/_posts/2024-06-12-ruby-3-3-3-released.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ko/news/_posts/2024-06-12-ruby-3-3-3-released.md b/ko/news/_posts/2024-06-12-ruby-3-3-3-released.md index a06365931b..ae48cb23a5 100644 --- a/ko/news/_posts/2024-06-12-ruby-3-3-3-released.md +++ b/ko/news/_posts/2024-06-12-ruby-3-3-3-released.md @@ -16,10 +16,9 @@ Ruby 3.3.3이 릴리스되었습니다. * REXML 3.2.8 * strscan 3.0.9 * `--dump=prism_parsetree`는 `--parser=prism --dump=parsetree`로 대체되었습니다. -* Invalid encoding symbols raise `SyntaxError` instead of `EncodingError` * 잘못된 인코딩 기호는 이제 `EncodingError` 대신 `SyntaxError`를 던집니다. * Ripper 파싱 중의 메모리 누수 문제 수정 -* YJIT의 버그 수정, `**{}`, `Ripper.tokenize`, `RubyVM::InstructionSequence#to_binary`, `--with-gmp`, 여러 빌드 환경 수정 +* YJIT, `**{}`, `Ripper.tokenize`, `RubyVM::InstructionSequence#to_binary`, `--with-gmp`, 몇몇 빌드 환경의 버그 수정 자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_3_3)를 참조하세요. From e6fe6ad64b04e19adc281db946a301ea87f93339 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 14 Jun 2024 13:08:51 +0900 Subject: [PATCH 2244/2563] Update latest version of Ruby 3.1 at download page. Fixed #3281 --- _data/downloads.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 997d212157..16c5bf3784 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -14,7 +14,7 @@ stable: # optional security_maintenance: - - 3.1.5 + - 3.1.6 # optional eol: From 31a2acf4afab2b8ed1bf8d29aa6cfd115667c5d9 Mon Sep 17 00:00:00 2001 From: gaojun Date: Wed, 12 Jun 2024 21:24:07 +0800 Subject: [PATCH 2245/2563] Translate 3.3.3-realsed (zh_cn) --- .../_posts/2024-06-12-ruby-3-3-3-released.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 zh_cn/news/_posts/2024-06-12-ruby-3-3-3-released.md diff --git a/zh_cn/news/_posts/2024-06-12-ruby-3-3-3-released.md b/zh_cn/news/_posts/2024-06-12-ruby-3-3-3-released.md new file mode 100644 index 0000000000..8f79ba677f --- /dev/null +++ b/zh_cn/news/_posts/2024-06-12-ruby-3-3-3-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 3.3.3 已发布" +author: "k0kubun" +translator: "GAO Jun" +date: 2024-06-12 00:30:00 +0000 +lang: zh_cn +--- + +Ruby 3.3.3 已发布。 + +此版本包括: + +* RubyGems 3.5.11 +* Bundler 2.5.11 +* REXML 3.2.8 +* strscan 3.0.9 +* `--dump=prism_parsetree` 被替换为 `--parser=prism --dump=parsetree` +* 无效的编码将抛出 `SyntaxError`,取代原来的 `EncodingError` +* 修正 Ripper 解析中的内存溢出 +* YJIT 的问题修正,`**{}`,`Ripper.tokenize`,`RubyVM::InstructionSequence#to_binary`,`--with-gmp`,以及一些编译环境 + +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_3) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.3.3" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 6d0f87e133d202f2e459d333c7520a6f1ea8399b Mon Sep 17 00:00:00 2001 From: gaojun Date: Fri, 31 May 2024 16:51:21 +0800 Subject: [PATCH 2246/2563] Translate 3.1.6-released, 3.3.2-released, datadog-oss-program(zh_cn) --- .../_posts/2024-05-29-ruby-3-1-6-released.md | 51 +++++++++++++++++++ .../_posts/2024-05-30-datadog-oss-program.md | 28 ++++++++++ .../_posts/2024-05-30-ruby-3-3-2-released.md | 43 ++++++++++++++++ 3 files changed, 122 insertions(+) create mode 100644 zh_cn/news/_posts/2024-05-29-ruby-3-1-6-released.md create mode 100644 zh_cn/news/_posts/2024-05-30-datadog-oss-program.md create mode 100644 zh_cn/news/_posts/2024-05-30-ruby-3-3-2-released.md diff --git a/zh_cn/news/_posts/2024-05-29-ruby-3-1-6-released.md b/zh_cn/news/_posts/2024-05-29-ruby-3-1-6-released.md new file mode 100644 index 0000000000..b42e30a883 --- /dev/null +++ b/zh_cn/news/_posts/2024-05-29-ruby-3-1-6-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Ruby 3.1.6 已发布" +author: "hsbt" +translator: "GAO Jun" +date: 2024-05-29 9:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.1.6 已发布。 + +Ruby 3.1 目前处于安全维护状态。一般来说,在此期间我们只会修正安全问题。但在 Ruby 3.1.5 发布后,我们发现了一些编译失败的问题。 +因此,我们决定发布 Ruby 3.1.6 来修正这些问题。 + +您可以点击下面的链接来了解详情。 + +* [Bug #20151: Can't build Ruby 3.1 on FreeBSD 14.0](https://bugs.ruby-lang.org/issues/20151) +* [Bug #20451: Bad Ruby 3.1.5 backport causes fiddle to fail to build](https://bugs.ruby-lang.org/issues/20451) +* [Bug #20431: Ruby 3.3.0 build fail with make: *** \[io_buffer.o\] Error 1](https://bugs.ruby-lang.org/issues/20431) + +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_1_6) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.1.6" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 diff --git a/zh_cn/news/_posts/2024-05-30-datadog-oss-program.md b/zh_cn/news/_posts/2024-05-30-datadog-oss-program.md new file mode 100644 index 0000000000..d18dacfd66 --- /dev/null +++ b/zh_cn/news/_posts/2024-05-30-datadog-oss-program.md @@ -0,0 +1,28 @@ +--- +layout: news_post +title: "Datadog 为 ruby-lang.org 提供开源软件社区支持" +author: "hsbt" +translator: "GAO Jun" +date: 2024-05-30 00:00:00 +0000 +lang: zh_cn +--- + +我们很激动地宣布 Ruby 官方站点,ruby-lang.org,采用了 Datadog 的 [Datadog 开源软件社区支持](https://opensource.datadoghq.com/projects/oss-program/) 来进行运维监控。 + +这使我们能够有效地实时监控 Ruby 用户站点的性能和可用性。使用 Datadog 的好处包括以下几点: + +## CDN 可见性 + +由 Fastly 提供的 cache.ruby-lang.org 是 Ruby 生态系统中的重要一环。Datadog 能监控 CDN 的性能,跟踪缓存覆盖率和错误率,提升用户体验。 + +## 统一的数据可视化 + +ruby-lang.org 提供了多种 Web 服务。Datadog 能够在同一仪表板中可视化地呈现日志分析数据以及应用程序性能监控 (APM) 数据。 + +## JIT 跟踪可见性 + +通过 Datadog 的跟踪功能,我们可以在请求通过 Web 服务器和数据库时进行捕获并跟踪。这有助于识别瓶颈和有问题的请求。 + +我们发布了关键指标的 [公共仪表板](https://p.ap1.datadoghq.com/sb/1271b83e-af90-11ee-9072-da7ad0900009-01633a8fa8c0b0c0051f1889afdf55dc)。随着我们持续改进监控,尤其是 YJIT 性能,我们将相应地更新仪表板。 + +我们希望采用 Datadog 能有助于提高 Ruby 社区的站点性能。请继续使用 ruby-lang.org 来享受更好的用户体验。 diff --git a/zh_cn/news/_posts/2024-05-30-ruby-3-3-2-released.md b/zh_cn/news/_posts/2024-05-30-ruby-3-3-2-released.md new file mode 100644 index 0000000000..fec434fd75 --- /dev/null +++ b/zh_cn/news/_posts/2024-05-30-ruby-3-3-2-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.2 已发布" +author: "k0kubun" +translator: "GAO Jun" +date: 2024-05-30 03:50:00 +0000 +lang: zh_cn +--- + +Ruby 3.3.2 已发布. + +此版本包含了很多问题修正补丁。 +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_2) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.3.2" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 17d8741802f10544b4211d8d45343220dd79a884 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 17 Jun 2024 12:19:48 +0900 Subject: [PATCH 2247/2563] Update dependencies and fix for Ruby 3.4+ --- Gemfile | 4 ++++ Gemfile.lock | 54 ++++++++++++++++++++++------------------------------ 2 files changed, 27 insertions(+), 31 deletions(-) diff --git a/Gemfile b/Gemfile index bfed5db29b..b902f08e2e 100644 --- a/Gemfile +++ b/Gemfile @@ -9,3 +9,7 @@ group :development do gem "html-proofer" gem "validate-website", "~> 1.6" end + +# Jekyll need them for Ruby 3.4+ +gem "csv" +gem "base64" diff --git a/Gemfile.lock b/Gemfile.lock index c8f6cee33c..8db2dee8b0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,38 +5,33 @@ GEM addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) afm (0.2.2) - async (2.11.0) + async (2.12.0) console (~> 1.25, >= 1.25.2) fiber-annotation - io-event (~> 1.5, >= 1.5.1) - timers (~> 4.1) + io-event (~> 1.6) + base64 (0.2.0) bigdecimal (3.1.8) colorator (1.1.0) - concurrent-ruby (1.2.3) + concurrent-ruby (1.3.3) console (1.25.2) fiber-annotation fiber-local (~> 1.1) json crass (1.0.6) + csv (3.3.0) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) - ffi (1.16.3) + ffi (1.17.0) fiber-annotation (0.2.0) fiber-local (1.1.0) fiber-storage - fiber-storage (0.1.1) + fiber-storage (0.1.2) forwardable-extended (2.6.0) - google-protobuf (4.27.0) - bigdecimal - rake (>= 13) - google-protobuf (4.27.0-arm64-darwin) - bigdecimal - rake (>= 13) - google-protobuf (4.27.0-x86_64-linux) + google-protobuf (4.27.1) bigdecimal rake (>= 13) hashery (2.1.2) @@ -52,7 +47,7 @@ GEM http_parser.rb (0.8.0) i18n (1.14.5) concurrent-ruby (~> 1.0) - io-event (1.5.1) + io-event (1.6.4) jekyll (4.3.3) addressable (~> 2.4) colorator (~> 1.0) @@ -83,15 +78,11 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - mini_portile2 (2.8.6) + mini_portile2 (2.8.7) minitest (5.23.1) - nokogiri (1.16.5) + nokogiri (1.16.6) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.5-arm64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-linux) - racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) forwardable-extended (~> 2.6) @@ -101,34 +92,33 @@ GEM hashery (~> 2.0) ruby-rc4 ttfunk - public_suffix (5.0.5) + public_suffix (5.1.0) racc (1.8.0) rainbow (3.1.1) rake (13.2.1) rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.2.8) - strscan (>= 3.0.9) - rouge (4.2.1) + rexml (3.3.0) + strscan + rouge (4.3.0) ruby-rc4 (0.1.5) safe_yaml (1.0.5) - sass-embedded (1.77.2) + sass-embedded (1.77.5) google-protobuf (>= 3.25, < 5.0) - rake (>= 13.0.0) - sass-embedded (1.77.2-arm64-darwin) + rake (>= 13) + sass-embedded (1.77.5-arm64-darwin) google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.2-x86_64-linux-gnu) + sass-embedded (1.77.5-x86_64-linux-gnu) google-protobuf (>= 3.25, < 5.0) slop (4.10.1) spidr (0.7.1) nokogiri (~> 1.3) - strscan (3.1.0) + strscan (3.1.1) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) tidy_ffi (1.0.1) ffi (~> 1.2) - timers (4.3.5) ttfunk (1.8.0) bigdecimal (~> 3.1) typhoeus (1.4.1) @@ -149,7 +139,7 @@ GEM rexml (~> 3.2) webrick (1.8.1) yell (2.2.2) - zeitwerk (2.6.15) + zeitwerk (2.6.16) PLATFORMS arm64-darwin-22 @@ -157,6 +147,8 @@ PLATFORMS x86_64-linux DEPENDENCIES + base64 + csv html-proofer jekyll minitest From c4611e74cd5085bdb669d81d082333066a0ec091 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 17 Jun 2024 12:22:44 +0900 Subject: [PATCH 2248/2563] Fix platforms and pre-released version of strscan --- Gemfile.lock | 78 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 68 insertions(+), 10 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8db2dee8b0..00e803984e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -25,7 +25,16 @@ GEM ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) - ffi (1.17.0) + ffi (1.17.0-aarch64-linux-gnu) + ffi (1.17.0-aarch64-linux-musl) + ffi (1.17.0-arm-linux-gnu) + ffi (1.17.0-arm-linux-musl) + ffi (1.17.0-arm64-darwin) + ffi (1.17.0-x86-linux-gnu) + ffi (1.17.0-x86-linux-musl) + ffi (1.17.0-x86_64-darwin) + ffi (1.17.0-x86_64-linux-gnu) + ffi (1.17.0-x86_64-linux-musl) fiber-annotation (0.2.0) fiber-local (1.1.0) fiber-storage @@ -34,6 +43,21 @@ GEM google-protobuf (4.27.1) bigdecimal rake (>= 13) + google-protobuf (4.27.1-aarch64-linux) + bigdecimal + rake (>= 13) + google-protobuf (4.27.1-arm64-darwin) + bigdecimal + rake (>= 13) + google-protobuf (4.27.1-x86-linux) + bigdecimal + rake (>= 13) + google-protobuf (4.27.1-x86_64-darwin) + bigdecimal + rake (>= 13) + google-protobuf (4.27.1-x86_64-linux) + bigdecimal + rake (>= 13) hashery (2.1.2) html-proofer (5.0.9) addressable (~> 2.3) @@ -78,10 +102,18 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - mini_portile2 (2.8.7) minitest (5.23.1) - nokogiri (1.16.6) - mini_portile2 (~> 2.8.2) + nokogiri (1.16.6-aarch64-linux) + racc (~> 1.4) + nokogiri (1.16.6-arm-linux) + racc (~> 1.4) + nokogiri (1.16.6-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.6-x86-linux) + racc (~> 1.4) + nokogiri (1.16.6-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.6-x86_64-linux) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) @@ -104,17 +136,30 @@ GEM rouge (4.3.0) ruby-rc4 (0.1.5) safe_yaml (1.0.5) - sass-embedded (1.77.5) + sass-embedded (1.77.5-aarch64-linux-gnu) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.5-aarch64-linux-musl) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.5-arm-linux-gnueabihf) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.5-arm-linux-musleabihf) google-protobuf (>= 3.25, < 5.0) - rake (>= 13) sass-embedded (1.77.5-arm64-darwin) google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.5-x86-linux-gnu) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.5-x86-linux-musl) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.5-x86_64-darwin) + google-protobuf (>= 3.25, < 5.0) sass-embedded (1.77.5-x86_64-linux-gnu) google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.5-x86_64-linux-musl) + google-protobuf (>= 3.25, < 5.0) slop (4.10.1) spidr (0.7.1) nokogiri (~> 1.3) - strscan (3.1.1) + strscan (3.1.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) tidy_ffi (1.0.1) @@ -142,9 +187,22 @@ GEM zeitwerk (2.6.16) PLATFORMS - arm64-darwin-22 - ruby + aarch64-linux + aarch64-linux-gnu + aarch64-linux-musl + arm-linux + arm-linux-gnu + arm-linux-gnueabihf + arm-linux-musl + arm-linux-musleabihf + arm64-darwin + x86-linux + x86-linux-gnu + x86-linux-musl + x86_64-darwin x86_64-linux + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES base64 @@ -157,4 +215,4 @@ DEPENDENCIES validate-website (~> 1.6) BUNDLED WITH - 2.4.14 + 2.5.13 From 15b8197d70268315100aad8e9d2f3fde1f93aacc Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 17 Jun 2024 12:13:32 +0900 Subject: [PATCH 2249/2563] Added 1password logo for sponsored program --- en/about/website/index.md | 5 +++++ images/sponsor/1password.png | Bin 0 -> 15892 bytes 2 files changed, 5 insertions(+) create mode 100644 images/sponsor/1password.png diff --git a/en/about/website/index.md b/en/about/website/index.md index a510904806..d1698ea844 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -68,6 +68,10 @@ Also many thanks to the organizations that support us: Datadog +[1password](https://1password.com/) (password manager) + +1password + [logo]: /en/about/logo/ [webmaster]: mailto:webmaster@ruby-lang.org [jekyll]: http://www.jekyllrb.com/ @@ -85,3 +89,4 @@ Also many thanks to the organizations that support us: [rubynokai]: http://ruby-no-kai.org/ [aws]: https://aws.amazon.com/ [datadog]: https://www.datadoghq.com/ +[1password]: https://1password.com/ diff --git a/images/sponsor/1password.png b/images/sponsor/1password.png new file mode 100644 index 0000000000000000000000000000000000000000..aa55858738a7ea3bb15ccc7be10f2badc03cde9f GIT binary patch literal 15892 zcmX|o1z21?)Ak}o+5$z2ThT(HxVyW%LxF|Gi@OwB+}+(_aVQR@IE%yLP~06B=c9ez z|3BBYawf@4CYh5nlgu5etSE){n(#FM06>$G7FPuT5F%dwgHe!PzI`ME;a`4G9i(-f z0Dw2xe?M@5v<&b5AOZl?M8A13c?AFnl*)*UsJp`*EkhiM zq#9{Yod9t^@^)5${q5Kj3U@z-!xw3K-l!-UTe(@7Tk#Mfc*3hFk?*5Y2?d0~UWr$F zy5=RRQt$2#2PVMRewEDI^Wi|Si7VF+9SM9>3c>5&F(dx-4+%E=> zx)L|@bLNCf-0xz<7cBq)WmcLSVVoLUjE$JUPg;h9n-=r&R5Ay*CQ1Ywdqxnq%G{VVsEdPBf$g>+^R+$g>& zHz8c}4Q`#Pv0w%n!22D^9a0YEpmrz=0Z%BRKWpBH{gO3|bL+5vDy3t1x$(wAu|>gAL*249~UB$WKe z;fE|@gzmQmJP$kHG{$dMro8Xh`-MpQl~Dik2M|_X#!X+1dFdg<3Z)1mQkPtfv(&wP zzG8azO@BIr+IN2VSIx3Ql`Uf76~}wYqB3v_x~A`+dl{_k|4e{g5%i*WpH}op(<)^N zUxoEQOS3Fdg_mS+0udud{^Nj#!*8s=xGTs;=832f?~s1d{$%Pc{;y~pr5nEQ<9_9} zP+anE(1Nji@zQ!L3gN%`N&6t(6=M7~fZXywt`WGe{9kTSDrM=JTv~DdspzkJLCU&zM(KYX_eb=)O70oH97KG_`|uyv5+)`E zd%=~5eG&SH1VF<0#E@P`I@KB7za9wNa*r`v)nOxsJD^U@dPrrx`^SA+Hl28KvL|4G zY^1mx(P4hJ^Won1uHUHh@yCDCaWj$%z_!kvTx1mR`1umvu>Sa)m^EEjzPRo~gYVRZ zQ(S&w82=`(3(f*A-&I^9o+u?`&spL|(GiOlG1>A*htjzKByxj`_RPnz;9MbmbQkBq z^lzUYv?-8hxjY3hLC)0!G~<|msuty?XqW{#kUxKrTG`UkFyZxAWa$u;Ee>XGd5^e+EyVX>WXVp~-_w%+$Da~8{`|Tg4 zewH*!0+ngKBR{im5?SpyS7Dow!KY&O;?*?k)-9?H9fHv2KO||N?$XUKFm>!+1X+e% zK~~h_yS#*>Qdy|SmZ>%BC=@Vojr{OVevBx#35J@+6M&qNq9n4s+a?x^UhRC)4mzV? zJDA00yDuv2JRn+5=Hyv8Go&rJFRA8zuk z2Ys977b{Jn>JY+(Bjq4XolPh($z;a6qn9!4t_Psvg-I!0kuN>`L!t4jlAi3}1+fc0 zjn|le>|1XLISRya2%gxUb4LT`YMu8e(XGbq3+dY-hj_xqR1?d$D|(BEc9jpmU^U5q zmsy6i(plzx0D*N?*PHm<12@ZLtKUiKzrMU%n22h$3_*CQ5)Lf$KO-(ISxX#b{UVG$ zW6n0jE%lm&Yv7=V{9Hy#^N`DL+t z)I0zCiU!~c=lZjZeYV3E2Bc*84`DA%v=jcd&YVB5Uq#?|iAnSF1h{-r_Gt^Y;eH{r zFaP#uIf-ad0Kl0rQcjD=p1(aHc#)kmNP`rC|5J=02!xFAwIra#Zn66>d-;t%f6V*O zq9CiEOq2{ClaN!EUa0;>EiA_3u9&jsNb88oF8|Sx^jh{XYW^cyr?+Qv^`F6sOActP+QBZ!&l0g0u2`?ffe+H#Cd8};T)mNX0Im`5jLLDXETLi#1 z8Ig~=iLOV*w3kNSRj4_u;TbKP7npp3eiSoc3rdC3H}Y%I0_vFX$4~3t_&h2FTiWKA zXH!>Tu;fx&onhDr{&gu-dv+0)1b2S)(-nq5`a1?9<6l2MZ0y!x6{*oYNk-315|GUJ zIF#&+x1!soLL1DZqqD?pkbiMyN!>kP-t5*)a16zzZJ0vor(#2R1cwtWUjg8z$6cVk zg5&Su&u}Ov8re;&qchQkf)06 z6`tc}R(_#buGVW`5YoHBQytabo#Paah)HVyu<>w3re8GZ`XAmx?kfFOTBSl4a zrj9*=IhP_s^;2YEKCal2V9GmD=TC(L4?bu`he9R@fIKnA69Z1N1MY!l_O+kK+%@3x zLXdgC>}7Tg$>V_!39;|2z~n~n2-Cjf*knT|t8^!OVB*n}!_mp9JF^1B&=fdMHNU#b zN$_Mqu!%q^!1;^GJ5vrXo(6q4NSF>mF&JA9NbadC>7WXOiR^jBs^0bfJor-P)t7ki z0mBZeSy`_gn`Jg5HgpO$EuTY89dV0(`UE$(NV-RT*a_+1MWQ9G~uTmSi}% ziEnSiGAMiQ3l&e%v#B-sxdh#DHn&Pvu~Uq*Pm&%bEA5?)^7Ja#`|TCi13gZ{6|aQ~c|acK!;9_yreq5CG&;`}O`jN)2JqMd+s@zk?eh&6U|jgp`WSzU zGgvKb)ItlCf-I@_q9GG+16SVoWH?^ucG?^pX}qat8vVeA|M`fZ$2q4vf7og8ZT)4| z`&hO=Sppt)-4>f!Fp&!l@G7#2@6FWL!}e0`P^d)V@q5M9PP*)HomV0JPA(4(*#QTI z6am@YX&&DCn}W@a6X8Bok0U8@LIccs#P7>W!puttW7}_+3kg!fJ)^6~Kn_)%;n``( zxvndb1IQO^+|P-RP3;LQTNsm4K-DUXs<8Rm5T`-X^;+Agjr=@}n(=djRjE?N?U5{7 z7m>Oc0iVv1O(Xs9-D?gxPIk4#K%5TUmD~?LMy}41%QMXd@$Qdo(B<2( z|6Jw3*mVKd1jR7BKgEix2*EG}AErAJ4~_N5DNX-&eldX(AmS!bhqc=7Eop;|o^!+z)6a<@g^BIo=YB30{6;9;X}1lH+yA zc+~&06Cm-N^z20cDf{|nrP>`b9x3aiA7~5HAaaHOzNPV<<_|dRGD~xoO6?;j<#NqQ z4<}E*(0IlV>_(7(pGWU$md^^3VxInM{Pxvq!1h`z)hpaUMrvFk>ii+sW#_KNh;pVc z>4REcz`MF&dOtjMZ_XP5hush0Pt;XGB;rnn7@N$Rny#l{cjxY@n-3DzJAQ1Yofej_5<92duEv~uujC(GO7n4nl zH$PeGv!$Yv;HU{~nU_sv${j^7Ax99e@or8(^FDf$k1nYJ@(3|DW;$`}2VBUwes)&*8Y@{z)?gcLOk<`M2ai6;-KHJYaFUcYq1gRM45 zAM1H5<3kd{ckO=sM+^I5msv$(v&cG*wq*<58WE197WO2%iIfbO_^K+cS#vgS=J zyBU0MZM?jTU5IH@%$dRVpfm5VCMzMszEg^oC@rRF!Y3odi15i!5aAt7!b~IzIM^j( z?U&A?(Nww)TLdA)tk3nmSc~F`Z!$3<*aNiW>4ip!%<8t0^N>1|-q0i@P=Q5Fv`YlIh0KT+joaje?G(}xun1*6xa*Zb!3}1&tdL7I zcFlgR1{d2HwuaC*%(N4q|85d zv9w4oDr||L^Lz4l1^#IUC;hvnaxn7Cx#107$sKDJ3;oWL z^a`e>l-Z2zi-fx1cdV@?VXo4UPgT} z!HP`z?`_8G1p`oXgLN|#q+9y2x66g84$=Ht#>%)Dq(zLtc-Gz)n;JL>)-;8sU( zQsoz4ewvA z)P+m3>0FTPhpp0>$NFYNX}@|elRbH3(OMHN2kCbR3DSHbLDu>1p6=|Tcbvwm&>#?o z{-mH>EA>YHrwqT3=NjFFr|kZj{$jz?^VMUJP7{81%WuuMdi_0noA;uI zv!p7@X&=_bE+{u{ziOpu6y_5yRmY#vTnG1@6d2wUfI+QosOhmWEnFB5T%Ke~Ki!b95U6T}#g+~YApqut}P4BPzbEnUF%C9r{a^=hpMuGTW0~C~y39C9= zeSz5grWsYte0ty3>k4A*eU-PUnFU^VC26M}zBm#jOE~X9 z($LH9Ed*IL9_E&MV3z2F+-Vr?S7V-1({WP1S%udEq5V&#*)Rr~I%Aex9?Lb$+M3`a z8}gHfwDg1;&iD^f+xNVDf?!%Gvc25Fjdg3}SZ(Po_q@Pwa{>CyCwG1CJPM{WCYD<_%7GY9JQs+@cbG7^17DM5?g#bFJ9!nZ2|op6ir@(|6>5f>>>ulbAjigZoM=qJNFf+x-_iViF!VN8my)Hf`U(r%{z&e zsiVsu=q2|)#WvvXEZd--I>&VDV1nWthRyF9%QF?B^W=XnYS9_q=x6VNua2Q_-yAa) z%*W=Z0FM0h{h|2YX;2_x0qWtqLPW$KegNJ0DBRTT8%iMQsDHfO zLSQg)75$^{kq&dm@JW68|#~ zCZng2YkdqP9WWWy+oYvcnGhbbyh`3w|o2*JuZgUE$NPGT7T_sA#hN^;S zdAA99`4ah9lAH91yzoM1-Va>wI>g{uCF9JEto!-BqHF>=ot73yVC;OYUuvE6JL}h# zo;#nK+pCz#=8SAxY9=@MyTl^}5%jgF7GCFUJbDRc4|C}Z2}vTF{v-*46L#0pQeB}O z(`6J&Eg$5*{+d0xw)4Q~;v-M*XhpUVZy_geoVphXoSfzK+zt?26xKwRZR{bNYNAo* zZvpwJ@Bi@ug|3eD%LZqqIqi2d>?AD1OF(yuE(19mv^i7PH(S#KpSRqc=j`Lzz=W#> zg+M$u@O7dy$%Eq1JG5Kt5SLUs~=9kBf3F!7`D_KvfevSvI_dsQy0&^07qBopRN9P?>qe*<>k zVb`j+Dzypn^g3iI0a7dKlF)nc&E5O7?&1p$k883lwwvbA`mjombIghs8-2%23K5kR zI;FrKdt0f_MpXYN8JRsu8^8U9@wmD!*SOOhobtW!;Xxh>llEt!O_aTaLWuqvek|f|*5=Q8K z2{|1`Yl*;{zURK)J+}ClPOZ1Csei_1Ss>WL=N%_&#eR~4Lmd?KGArW1X#R;D%g4GE zQ>XkPK4-@~kw1kab6+`Z&<&7Bw||nQV$AWb(mobe_mT3^&m1^bl@p?Em5)T>d!Cq{! zo=nqmRTtDwM|b=d@=2F2{^IdIecmgrN(dej0pvX>fCdY;(9YU>JX`CXZYL5H)Pt5Z z<4HQ?m|FzaQNMYBgsQZoQxcBnMc#VH|Q~jjBvzK|6XN= z%%@IIa99$paJNBm2S?pkm7p0#!}gB~^pTU$){go6g{6!3O0Epxr+j1i>XJv1Z!2WQ zyW;}k0fDF~dG&c9+a7s&B;EdSe@wtPQ|$3dTj!=hv}L8il~N|e?B*T!6%nl`*j2JY zxC)g&j=>sP5P?JdeYeghJ&dHKOOBSR!V4NLV2;gbYBF%#18P0K+g#pgcf)_`0JcVj zy+o?T_KHu7a;0@c$e|)gVWUu%#_c!L83_)oBq`P#&A68j&=2oN5o^5N2VV!bEU^@kW#q>01&Xn)if|sHF>Ko zR)Ue$N!*Xz!nA&{aWgtZ@GRNd4N6sC5jh?w?pI!(#5&KB1~m^BJP7;liuVljHf7p( zUd)@v!e+Tz#wesR*@p`b@JZajk(TJ6uNg)fGuK3|AMGA=g0}bX_FMiaysV$Te2T5B z;m+$^>^g3ke#=b7^FtpI(FVkjwE~-bi4<=4sU5IacOV}TUv^2IP}#~$*lGxct*qV9 z$PEsU)YXU8y0odBcD?n2hABRH0Be_5p{x!MiK~qdEohObWu5loYah|a@=?8n6dw*M zZ;`=`HdDRU>$kEl25w%AwZ1H?UK4se^e@3eAvpy1b}9R;ZNrY_B;yjMGOp!sx6I7&cQ#N{8uzKSm|?m+o>3Ia*oD!7et>9skZBI}V7Bxl!D(Zj84L5F&R zd0nLFmngQd+XgP&6_nBBZKK`Ty!4e>IfL!SHZpI&! zgRk!BTS9#_Igg-L)yGPiZR^S$l<`-1|4;60#TRUpsVZ6@h$^jg7dH;bA;GG29|*Iz zPG8<3B!{r&Tt^xpi*mhNoYBfMK#b0I$)2YE=_+`}Z2IG%?TCDCqEdTcIY=aJG|S^_ zEF;OJ@XvuX&Q33FTs^Tpx#5GZ)#t24iG)U@n*PuqB7=)bA%W+YGP;?HDH1!(l$~rK z0P`m{K(Aos(_T)BoICy^L(F&-k~C|KR+>*e+$PYzNfxdEHRxLcrGa^%RFMH17*Z2! z0%*RzUr|h)l||e89XRaRsYA3{9r!tN+a;oH2Yr@h6yJZVF!y-nfd5_AgUb`Egt>ij zl3R$vKy(Q_6u90>Fy~VLC$g%K**qy9y+PCr|AK(NB&Q*=iuC)U7}zj~Wdg3SmSn|J zg!@F5w@_1uT0U8V(;vqp53T@6&LOS4xO)Ujs;me|L1%7;hxM2MWEeeGP6k$I1rItV z&sWM4suyaa7F{Cr>e_Zn17+4GY8AMwy)EAO8YKTPL=UpR6ZOO1laT%Lc#+IlyQq{H z+B{d_ZwgLlGf;KT>&bsN2B#ON`#l& z`N2ifWy$MAbUGnUp>gaoW+LHQgPkU8)|ldLSn$7N?aSs>(}DJ%+s4q~wEXFV^wpHN zX0s(Gp)j$;63~1Ss$+(N@22(h>*qrR-C z*@w=M$na-8#+nP-W)xZsXDc!x|J`m^$yO4L6KvcYYN3v&gXB0|FyN|i&B7w&)h1f$ zlO50iHf0aEDlPBwTo8DxhJ1imH4Jo+4gPhZz&ci6(;5i45$&!OWHU6la#3RKufCiV zm1`R2p)?ZA#Y+5{@sUEQOr_6;dQ(L+E{#G@jgt}iB{Y%_FkUv z=BhZu7q{MHXx z#z@e>@2I7^GEsuM^>=WlLl17>CU-q0_&$mUrvIu=gbT`plMTNCpN!-Iv9AnsAnJ#Y z0JwGJLl>rpn0>}cRDW;lFpJL!{fW^xf-^p>5X9NWi+zh_Ekk&zWCgAwOYiuq_H-^| zd9c?t&pfNykV`}$byL9N5K}L_WH#(K{gvb?7Yj`x5Pz8B@Tg6ughKa2+RD3HjzX5e z9$HH~wuT^pC^JG$z-eaNOf%O4ig;b9CzEiDdtF6AJeeB8ZknLMkJDDj%4eRO)X-^p zJ7w(SSegxUSdTNYdh5y$ak;*5@8z}1K-GPgZg4qz=oEX+*M(DH7?ADIeobi-tbFyY zYVG}4avv7z1oeA_Q`HB~#h!sdVUt+quc81_^FSuwhwau!KEb;Aw9N5IwN@w@>E?Iy z!fpr(VPuFzmZc;_!nk0^+Vq>`P@q+k7WkW$LBBNm`(@o<68r+nE5PB1T>rOu46`VzHNu(mQVF>u7U%;Q?QBb$rD%Zm_>; zCP`S>=k5FDCC9t;rbcuT3($qHBeP%iu0FxMu*Z$?LK#DXxf|{nlv85;-YEOGn@?5j zjB%{0hm55o2i|hF3Ib)-ebV>$=H@A|R(4u};8o(2RcmD$%{sZ(1)O3BWwxZ@M|^Xy zNv*l7@C(JaESW3yk0^W#(KXVcl?Ok#B%n<2>XFq9^5!vU`0cJ{--z~V>=(qA`6Rng z>@4@_-uMZ;#qp`qP;WeBmWcnP#m?;MQ)~aN4~gA-5Vi2^Z?4FuKk$o!@?$B_BCHfO z$o0^$*U7Ru(>R3YRkhtUdK=Gxi-wh6f%A3Skpt6jx>=@etn-3pLw_$vgI0O18F+zy zJ-lpkYc+bGlJtOso`uE;j1aw)CI9((@(D9+jxOz|??OJ025m$X%IZDsnwShN#Sn*; zj6=UPr4DL!H`}kXhrK`|rFFw$py_SQ{wQMPMM80-kYoBpT0){zjjsv~Vl!CQ_D!X! zvv!n~DtjVn5QXcSAcD2ap5+59_M1H_2Qbutv$LL#+;1v=42w>DIB z9)Q-o4E{C(8kKXGO`v$Z!Zd*L@=0cgDjLPS#Bgsj9Vx0|j5|%{d&hv2qcpAL<&yn; z5%<+7x0T0!#esl9m1)NG4X_NzYFhtBVV`dp-g{14ZT9m)#r>dH$;No)d_QM_~VytbaNDb2aZIOjxLeh=DWME|t)595)8GQtjE1~@A zHq_0+XQNy@WXH~T{G;eGr@;?aYMLpxV)|};oo}%lf*>K`@TxrYfdNr)g8sLOzHmlZwo*?U0A|f}`)Fu4LO%Zr~FEq@hDCHQ)+8 z5*5GBdSGH;(agh7Fv~8-$8Lqo$W#NQv5~a~gdAK=_8Lsa$Iw<*{36e-$NMr8^x$+E?9EuqiK0{#E9nj zIFyFmTa#1)&N#Do9>%go>D50gL&sL0ddvQk!mW?90~7Dy@wH+CueI^O26C3_`CYGK z|4zex^|UMc=h?QXy6StdmwwO3_a2RM)p6>>NtWV>i8)-)4UyoiO^vd0ruPf>VvKt^ zvswf*yG=C#7_`U9_|nt$j}#XT<9DBCR~IW4k?PHnejBN3W)Y}J)QfkplVz!r-7nAzq#1qw!}Dcg>5Qi( z)+mCo23}9h=ah{YCfMCwF9Hgu1cvWcpuu04C>Ea2=9HSWNMfKR@?UAR5Tr@CKd0Ns zzW+u=(v{2;(@rQ%@1>ZsVd~q+G=yGlPoLWsI+)e*E|pQtLu2J;`*i;~If=(_oA{9_ z^L;kJkt6D0wH8~P46*FRvsYn{ALXyvVrn*t%FdGOrm+AIL7D90F~XPFm0{^ZltS8< z8O=)6gxuP+0)vJAU&)<~kx1B@%8*V&)soX05rV#Uus{2sA<2Z__?Fm;;0_M3Mh=U_ zA<N^W?Mp{9}Tor_+iGkImF{&3s=@T5omNg5IW@+BY4eG*+4PwgRoUe;t4KAYS$IX?sqO zt>nWxhY+U^>WO$;3Zo};>rXlS>P3Q0DJJZ5kM^c59ei_Wf@lLf?UGh+_0sa@z4>lc z2+uUPEDRUFDYe|o@fJ`s&7;(qZ3Y6>bn`?28m6TF19`%XHQ50jsOqG_^eXal3|tju z6ErL@e$)!Inx2F>yk*+>V^>y+MdltY2eDF|-}ucB5_w$6ltfczO|_;^a@rnVp$uB>n+_!j?_4si)ZLcZvu zC2Df^ zW+05*nS5zTmid!HbSOHfXcd$-bxr`R49b{tiJ*j=>5_2Z*!Ue&9_sf8M%|#xC;~o4 zK&NR-;@$K(Rce1&*~wgPlzc!cS&&HYvIj1-C3Y?z9;pg{2%NS?kTi43QB5&2=0hvV zr?Cm83>Y%lcEKdK^S-k5$-h5;Nb=5(Yb!|N7ozo$gxe}KLe&_M@c%jC)7UZpsF%Iz zb+IBCAJF!igSkUF*ANw)_S{nN{gx>1%+a98%4dWe$K-Mt?R}y=dkXrdpZ8%A9D( zzq=n7!AvG*jzS7~IV(9~f)~H=H8jv7YD?*?Z`P?V^eYAD(0kByN*>Ho%3FFjf^kZelgayf~ zX+jwCHc}Y&+cI(+Ck%hjn;`xv{~ov0>3a5Ez171bEB_Lm+OKfyE;fziW|VLG^VPP=52)0lr&iyG0a{>)y2}@QYcx_awmIX51axdzA|XqkW|MeN93fyx?2< zx!xo$)c)af1M|tz!b@cEX#}RfqUJKGuIh1IdVd$$2gDB?Spvu#f3{*GxdMo~@7RXF z@?&gsVXk{g$~1Jfm}byU(E3uFA;B6Vk>Y2{Wd!?^7!8vI^GCZZ$3w_jK|tm_4-nn^ z+ra|w(@NrslU9mUi_F%S2Y{i;Ai;hpV}l7&z&(^9=^C?d>A&9+!M>)=F_BU@ZY;$r^ zvCjE^X1B@@B}uzXBGcqI$-Qr0J;>5|$`Wd`Abr`iAh2xt+uy_jY} z`LdN1=#Om>Ye2*wlZ6V8J!zA8+LTPlv_}YJ#KVg>|MJ!Fn}IN^v8Sv<j*~q`=Hs7k+H^$ET-!f6LY1zR2{stsZ^ubqoiOQCNbHK5JwEsfQc3(d=x#{+-ggc-|JlUB zmQ|Wpgo-cOF1u%yIZ?C@Jn%WHn0oOb`-(JuzNk8K*#>4dKS|2+7`1|Tq&j4_`ROwC z>B;TACymlu{Ht8Eyi?=>R#9maIe7p-)`>Os;o1tnJL#S-sm$#wCcnARaZZ`rM1r}u zwQhv~!B$J>i{3|*HEgiVM-UsIs}G(Glz2F+zuUz7%5M&COcFM}qdUc4 zGCNuxtoy6MTM~Jy;yp1C3|T#jEk=?BCw;zwSSra3$e7{_eC9;h-kVdB;|Ft0Lv>{V z$}+^JzkF(;tG!B)tK9fz%*0Q5gemyU`(hy5{9p#kprAtv_8-UhW;DxLi1;Bub5+K@ z!L={j=if3Lh&MawK(k)DuJ3kvJ`T;B(h?G<=5!<7-j(+Xc~@KHB&8Lehi1}|y4qcR z@^B(H(sLvz5Ti0*w6nY|PsQ{D%9ZH?B_FI%SMIAKM{s`A-nsq2#>#5eYl%@fwow~Q zG2r}BQ#g#NAzZ%I#1n}I;A}Ng|AOY~fyLfJ2bS;_TFgSFNyTTTHzW8!Wrmk4b1u__ z2OQsSigZ(Jxcz{(`TkX$&`u*H((-;`y8MZW^meH({Wv%c4Gl**`bk)Ce#Ki$_EZv4 zUb{6@-^|x!<-(SJo?kCWzi^ox0@8nK@1MHsE!PxWzkg(#s67qART;wYd%~7g38y!C zEH|1L7;(X~Dp&UK>X@MBEfPf;_$<0n52m9F`r;fj7`|BJwf^W}3>?U`MO9$~)8fth z-MR;mt=~!F*Ac1%r(FFG@TBIC#238nS*lQ9wholOO01mRjmsdNH@wm`W;}!LmYjN8 zLRdfVi=qA!am7qSxnCHyxTRdke@PT8R@wBmgq{?>abGnPbP#AxIT_PD=9ZcRjqf{0 z5AsNN-DgA0UJDhx%G0xK;|YbK6cxq4)lHM-C_ZS;bk-uxcjyXXphWb4nOs~NF(B6n z;W+#RobkkcE_hkD8a0&a{We0u>0+~ix8rrl6`1JQ7A4?Y7`zLnyqrn%{>U=?eul3_+%8 z1mXYGLV>j#tc##I@|+rM1r%HZFQ4<(c0x^S#Jvch=1&S-Zp!lDwD_MWVdG4s^*?v%9-%1E^$^Zu5gJsEX@a{ zR>?Gc8u!tZ`;zWpuEYAnS4_H9`iFO86o(mzQNLZq6>oL8fvr+U z{mJ5K0f3+$YhbN>mZQQ4232$G66##vfmIqOE`gzl-qurYOAP(#?v({9XD~|eoE8nxY8h7HZO&OdX*SS3nrc1>+(zV&UyWQ^H zlq273&Y~2D!N#k*^U`>XZH79ixmXDLj{ahB)UixFMA0}E7Tx`6JdFgkBmFJ3kJXED zk920qkI!-p=le{UFJDqz8-9tN)VRDUlS0^IMH*019v{ zrdY&amCkD5|A%Ii3t5BH0CeaGt+M5 zKG>}%7Hd~69Yj5IP<2ttXwBYqs{JlL3?%yZ+~_CR_E8&N1N2E%6k~hh$tDRd_8Fgy z)pc4LCk)i`1qX+(A`PSA$Jd-~>+YA9K3|t~13^TqRGH|RcenYLy$Cama>LJ#g852^Q1a{!`2Q?m`9mQogg}QbPB9G4HoG|BUA2 z@N)rTVBDFr@Bo7DOl884MLGj7{lTP(C*$X(r7_)YID0wNvEBO8ez!|+xg+CL&3+Oh zffJj=K$4ryos}+PqNR&m5pX*Vcz6N5D!7f;cJSd>LpA=7oq^L-$7KPvZ0dZNY_>t1 zfde6P*;VARTx2z>agZU-f-*uk#b1nuu+PZy<#yQ?x^=UOD1g$e3x>(?4~8}!e&Mg8 z$5qU+@b10nTEC0I4f@~u)dLyG5wdJDOWR%@x~-y_Ih6nKf5HYlMm^m0)^ZF?sJJ*M z2U$k{0B(SWX`1M#Rio%QzegC~g39RQ6P2=Ui%*}-L+5{pJ*#0knf;QNq`8sbFjU;& z7qA*r5RCY*q@3+GAb#)*YA>JCj1VsfDct_{^R@S1R1Tn|lN>HzbbQX6Cf?ifTkrFC zW6Xao2--N?n@8^?t7xglPzaIG{z9?LoNMiygBJ&@^}ilQ zuD9<&TnwLC1PM`AS+Z#mIr^jjHw5fzba451w^WL%>#ZZs;>vv6K72FBO@Gk={~`4x z=?kf@%Kk#WFg=8o@lcy?vw&g$=|%WSJ9#?&VWUdwdB^DaXmnNK=FSK)5y+RDb++93 zz@zvd(2=kbi=Z!e)$TG6cTnyEB(BW!>*2I`)0L$!#=W>Tbv`7c>A?*ZpuD{z@@7x(3vq`h7U z=?4b}^nic12Eb9d_x~!5(4Vje7kcK)a8Lxb^#gxS!%Y1jBa3}QHaOhDTJ`D-8Rl}gHlw10JkKce8 Date: Sun, 16 Jun 2024 22:41:10 -0700 Subject: [PATCH 2250/2563] Update Conferences Page (#3275) * Update Conferences Page - Remove out-of-date information - Remove regional conferences which are no longer up-to-date in favor of a link to rubyconferences.org * Remove trailing whitespace --- en/community/conferences/index.md | 54 +++---------------------------- 1 file changed, 4 insertions(+), 50 deletions(-) diff --git a/en/community/conferences/index.md b/en/community/conferences/index.md index 7ed2abce1f..490e91b588 100644 --- a/en/community/conferences/index.md +++ b/en/community/conferences/index.md @@ -18,13 +18,8 @@ event dates, location, CFP (Call For Proposals) and Registration information. [RubyConf][1] : Every year since 2001, [Ruby Central, Inc.][2] has produced RubyConf, - the International Ruby conference. Attendance grew by a factor of ten - between 2001 and 2006. RubyConf has provided a forum for presentations - about Ruby technologies by their creators, including talks by - Nathaniel Talbot on Test Unit, Jim Weirich on Rake, David Heinemeier - Hansson on Ruby on Rails, Why the Lucky Stiff on the YAML library, and - Sasada Koichi on YARV. Matz has attended, and spoken at, all the - RubyConfs but one. + the International Ruby conference. RubyConf has provided a forum for presentations + about Ruby technologies by their creators [RubyKaigi][3] : The first Japanese Ruby conference, RubyKaigi 2006, took place in @@ -39,52 +34,11 @@ event dates, location, CFP (Call For Proposals) and Registration information. ### Regional Ruby Conferences -[Ruby Central][2] administers a [Regional Conference Grant Program][6], -to offset expenses for local and regional groups wanting to organize -events. - -Ruby Central had also teamed up with SVForum (previously known as SDForum) -to produce the Silicon Valley Ruby Conference, which took place in 2006 -and in 2007. - -[WindyCityRails][9] is an annual gathering for all who are passionate about -Ruby on Rails. The Chicago-based conference has served the Ruby -community since 2008. - -[Steel City Ruby][16]: Pittsburg, PA - -[GoRuCo][19]: New York City's annual Ruby conference. A one-day single-track conference. - -[DeccanRubyConf][20]: Pune's (India) annual Ruby conference, -themed around fun activities filled around the day. -It is a single-day single-track conference. - -[Southeast Ruby][21]: Nashville, TN workshop and conference. - -### Ruby At Other Conferences - -There has been a Ruby track at the [O’Reilly Open Source Conference][10] -(OSCON) since 2004, and an increasing presence on the part of Ruby and -Rubyists at other non-Ruby-specific gatherings. A number of conferences -have also been devoted to [Ruby on Rails][11], including Ruby Central’s -[RailsConf][12], RailsConf Europe (co-produced in 2006 by Ruby -Central and [Skills Matter][14], and in 2007 by Ruby Central and -O’Reilly), and Canada on Rails. - +An updated list of Regional Ruby Conferences is available at [RubyConferences.org][rc]. +You can also find the GitHub repository link there to add or update information yourself. [rc]: http://rubyconferences.org/ [1]: http://rubyconf.org/ -[2]: http://rubycentral.org [3]: http://rubykaigi.org/ [4]: http://euruko.org -[6]: https://rubycentral.org/grants -[9]: http://windycityrails.org -[10]: http://conferences.oreillynet.com/os2006/ -[11]: http://www.rubyonrails.org -[12]: http://www.railsconf.org -[14]: http://www.skillsmatter.com -[16]: http://steelcityruby.org/ -[19]: http://goruco.com/ -[20]: http://www.deccanrubyconf.org/ -[21]: https://southeastruby.com/ From 59d40f028a9489c750d5c720b93191ace8eaff2c Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 17 Jun 2024 22:22:21 +0900 Subject: [PATCH 2251/2563] Update Conferences Page (ko) (#3288) * Update Conferences Page (ko) * Update ko/community/conferences/index.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/community/conferences/index.md | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/ko/community/conferences/index.md b/ko/community/conferences/index.md index 7f5e1fd5df..07b34faaad 100644 --- a/ko/community/conferences/index.md +++ b/ko/community/conferences/index.md @@ -16,12 +16,8 @@ Ruby에 대한 콘퍼런스 목록입니다. 이곳에서는 행사일, 장소, [RubyConf][1] : 2001부터 매년, [Ruby Central, Inc.][2]에서 국제적인 Ruby 콘퍼런스인 - RubyConf를 개최합니다. 참가자 수는 2001년에서 2006년까지 10배 정도 - 증가했습니다. RubyConf에서는 제작자가 직접 자신의 테크놀로지를 설명하고 - 있습니다. 여기에는 Nathaniel Talbot의 Test Unit, Jim Weirich의 Rake, - David Heinemeier Hansson의 Ruby on Rails, Why the Lucky Stiff의 YAML - 라이브러리, Sasada Koichi의 YARV 등이 있었습니다. Matz도 한번을 - 제외한 전 RubyConf에 참가하고 강연했습니다. + RubyConf를 개최합니다. RubyConf에서는 제작자가 직접 자신의 테크놀로지를 설명하고 + 있습니다. [RubyKaigi][3] : 오다이바에서 개최된 RubyKaigi 2006은 최초의 일본 Ruby 콘퍼런스였습니다. @@ -37,26 +33,11 @@ Ruby에 대한 콘퍼런스 목록입니다. 이곳에서는 행사일, 장소, 한국에서는 아직 정기적인 Ruby 콘퍼런스는 개최되고 있지 않습니다. -### 다른 콘퍼런스에서의 Ruby - -2004년부터 [오라일리 오픈소스 콘퍼런스][10](OSCON)에 Ruby 트랙이 생겼고 매년 -다른 언어의 트랙에 비해 비중이 증가하는 추세입니다. Ruby Central의 -[RailsConf][12], RailsConf Europe (2006년엔 Ruby Central과 -[Skills Matter][14]에 의해 2007년엔 Ruby Central과 오라일리에 의해 공동기획), -Canada on Rails 등등의 많은 콘퍼런스들은 [Ruby on Rails][11]의 헌신 덕분에 -가능했습니다. - - -한국에서는 [대안언어축제](http://www.pnakorea.org/)에서 Ruby를 다루고 있습니다. +[RubyConferences.org][rc]에서는 지역 Ruby 콘퍼런스의 최신 목록을 확인할 수 있습니다. +정보를 추가하거나 업데이트하려면 해당 페이지에서 GitHub 저장소 링크를 찾아볼 수 있습니다. [rc]: http://rubyconferences.org/ [1]: http://rubyconf.org/ -[2]: http://rubycentral.org [3]: http://rubykaigi.org/ [4]: http://euruko.org -[5]: http://www.osdc.com.au/ -[10]: http://conferences.oreillynet.com/os2006/ -[11]: http://www.rubyonrails.org -[12]: http://www.railsconf.org -[14]: http://www.skillsmatter.com From 62552d879ab52e08397e67446f6ee18088ba7e64 Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 17 Jun 2024 22:22:35 +0900 Subject: [PATCH 2252/2563] Added 1password logo for sponsored program (ko) (#3287) * Added 1password logo for sponsored program (ko) * Update ko/about/website/index.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/about/website/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ko/about/website/index.md b/ko/about/website/index.md index 7fef1a9446..ba1dd53401 100644 --- a/ko/about/website/index.md +++ b/ko/about/website/index.md @@ -70,6 +70,10 @@ lang: ko Datadog +[1password](https://1password.com/) (비밀번호 관리자) + +1password + [logo]: /ko/about/logo/ [webmaster]: mailto:webmaster@ruby-lang.org [jekyll]: http://www.jekyllrb.com/ @@ -87,3 +91,4 @@ lang: ko [rubynokai]: http://ruby-no-kai.org/ [aws]: https://aws.amazon.com/ [datadog]: https://www.datadoghq.com/ +[1password]: https://1password.com/ From 2c0ef11d3495b4af3103a13930d284a91c50b426 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Mon, 17 Jun 2024 22:13:24 +0800 Subject: [PATCH 2253/2563] Update sponsored program (zh_tw) --- zh_tw/about/website/index.md | 47 +++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/zh_tw/about/website/index.md b/zh_tw/about/website/index.md index d72cc7c1fe..18cc17e401 100644 --- a/zh_tw/about/website/index.md +++ b/zh_tw/about/website/index.md @@ -31,11 +31,43 @@ lang: zh_tw 此外感謝下列機構提供支持: - * [Ruby Association][rubyassociation] (網站托管) - * [AWS][aws] (網站托管) - * [Heroku][heroku] (網站托管) - * [Fastly][fastly] (CDN) +[Ruby Association][rubyassociation] (網站托管) +Ruby Association + +[Ruby no Kai][rubynokai] (建置伺服器) + +Ruby no Kai + +[AWS][aws] (網站托管) + +AWS + +[Heroku][heroku] (網站托管) + +Heroku + +[Works on Arm][works-on-arm] (網站托管) + +Works on Arm + +[IBM][ibm] (網站托管) + +[Fastly][fastly] (CDN) + +Fastly + +[Hatena][hatena] ([Mackerel][mackerel], 伺服器監控) + +mackerel + +[Datadog][datadog] (伺服器監控) + +Datadog + +[1password](https://1password.com/) (密碼管理器) + +1password [logo]: /zh_tw/about/logo/ [webmaster]: mailto:webmaster@ruby-lang.org @@ -46,5 +78,12 @@ lang: zh_tw [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ +[works-on-arm]: https://www.arm.com/markets/computing-infrastructure/works-on-arm +[ibm]: https://www.ibm.com [fastly]: http://www.fastly.com +[hatena]: http://hatenacorp.jp/ +[mackerel]: https://mackerel.io/ +[rubynokai]: http://ruby-no-kai.org/ [aws]: https://aws.amazon.com/ +[datadog]: https://www.datadoghq.com/ +[1password]: https://1password.com/ From 2a60b43b8fee59ade8b221c9205d38b6eea407cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 15:47:14 +0000 Subject: [PATCH 2254/2563] Bump actions/checkout from 4.1.6 to 4.1.7 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/a5ac7e51b41094c92402da3b24376905380afc29...692973e3d937129bcbf40652eb9f2f61becf3332) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a248e2c03c..4dd22eb280 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Dump environment run: env | sort - name: Checkout ruby/www.ruby-lang.org - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: fetch-depth: 1 - name: Setup Ruby diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 5cd3d3141b..c83b848978 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Ruby uses: ruby/setup-ruby@78c01b705fd9d5ad960d432d3a0cfa341d50e410 # v1.179.1 with: From 3ce2c927a325eea104edd3252791ebcb5bbbcf62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 15:47:10 +0000 Subject: [PATCH 2255/2563] Bump ruby/setup-ruby from 1.179.1 to 1.180.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.179.1 to 1.180.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/78c01b705fd9d5ad960d432d3a0cfa341d50e410...ff740bc00a01b3a50fffc55a1071b1060eeae9dc) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4dd22eb280..de0400acb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@78c01b705fd9d5ad960d432d3a0cfa341d50e410 # v1.179.1 + uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # v1.180.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index c83b848978..24c828c83e 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Ruby - uses: ruby/setup-ruby@78c01b705fd9d5ad960d432d3a0cfa341d50e410 # v1.179.1 + uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # v1.180.0 with: ruby-version: '3.2' bundler-cache: true From 38c4a74f32190fc4340e3a93b2f37ad70e587c2b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Jun 2024 21:51:53 +0900 Subject: [PATCH 2256/2563] Fix correct name for 1Password --- en/about/website/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/about/website/index.md b/en/about/website/index.md index d1698ea844..93f6be221b 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -68,7 +68,7 @@ Also many thanks to the organizations that support us: Datadog -[1password](https://1password.com/) (password manager) +[1Password](1password) (password manager) 1password From 88ad266088656c9bd8f4f5a7711ec2f4830f151b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Jun 2024 21:58:24 +0900 Subject: [PATCH 2257/2563] Fix typo --- en/about/website/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/about/website/index.md b/en/about/website/index.md index 93f6be221b..759fbc6b63 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -68,7 +68,7 @@ Also many thanks to the organizations that support us: Datadog -[1Password](1password) (password manager) +[1Password][1password] (password manager) 1password From 0f4120864f74344b404ad2fd9a0aff3ea8fca173 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Tue, 18 Jun 2024 21:58:35 +0900 Subject: [PATCH 2258/2563] Fix name for 1Password (ko) --- ko/about/website/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/about/website/index.md b/ko/about/website/index.md index ba1dd53401..cb7cb6e456 100644 --- a/ko/about/website/index.md +++ b/ko/about/website/index.md @@ -70,7 +70,7 @@ lang: ko Datadog -[1password](https://1password.com/) (비밀번호 관리자) +[1Password][1password] (비밀번호 관리자) 1password From de56a057b37336d1ed71f504a9dbc8df006ba0db Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 18 Jun 2024 21:33:19 +0800 Subject: [PATCH 2259/2563] Fix correct name for 1Password (zh_tw) --- zh_tw/about/website/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh_tw/about/website/index.md b/zh_tw/about/website/index.md index 18cc17e401..9960655094 100644 --- a/zh_tw/about/website/index.md +++ b/zh_tw/about/website/index.md @@ -65,7 +65,7 @@ lang: zh_tw Datadog -[1password](https://1password.com/) (密碼管理器) +[1Password][1password] (密碼管理器) 1password From 04a2157a8e534c5f76f8d151367a25f4af4040a3 Mon Sep 17 00:00:00 2001 From: Adarsh Pandit Date: Tue, 18 Jun 2024 12:26:41 -0700 Subject: [PATCH 2260/2563] Update Ruby Meetup Information (#3276) --- en/community/user-groups/index.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/en/community/user-groups/index.md b/en/community/user-groups/index.md index 329202a956..bd8a0f8b8a 100644 --- a/en/community/user-groups/index.md +++ b/en/community/user-groups/index.md @@ -8,8 +8,7 @@ In the programming community, user groups form support networks for people interested in certain topics. They are a great place to increase your skills and network with other programmers. User groups are informal and their structure varies from group to group. Anyone can form their -own group and set their own rules and schedule. -{: .summary} +own group and set their own rules and schedule{: .summary} ### Ruby User Groups @@ -21,26 +20,28 @@ to giving people a chance to write Ruby code). Information about Ruby user groups can be found on various websites: -[Ruby Meetup Groups][meetup] -: A substantial number of Ruby User Groups have chosen to make Meetup +- [Ruby Meetup Groups on meetup.com][meetup]. A substantial number + of Ruby User Groups have chosen to make Meetup their home. Meetup provides a number of tools for user groups, including: private forums, a place for announcements, automated meeting reminders, and a nice RSVP system. - -[OnRuby][onruby] -: A number of user groups can also be found at OnRuby. OnRuby is an +- [rubyconferences.org/meetups][rc-meetups] now has a list of Ruby Meetup events + from around the world. +- There is a [Google Group][meetups-google-group] for Ruby Meetup Organizers +- [OnRuby][onruby] - A number of user groups can also be found at OnRuby. OnRuby is an open source platform written in Ruby that can be used to organize meetups. It is [available on GitHub][onruby-github]. ### Organizing Your Own Group If you are interested in forming your own group, be sure to find out if -there is already a Ruby user group in your area. Larger meetings are -usually much more fun, so starting your own group may not be the best -option if there is already one nearby. +there is already a Ruby user group in your area. Try the meetup organizers +group if you're looking for advice on how to start your own group. [meetup]: https://www.meetup.com/topics/ruby/ [onruby]: https://www.onruby.eu/ [onruby-github]: https://github.com/phoet/on_ruby +[rc-meetups]: https://rubyconferences.org/meetups/ +[meetups-google-group]: https://groups.google.com/g/ruby-meetups From f36c6dea7ba134414b1497733da5a8d7f1e91078 Mon Sep 17 00:00:00 2001 From: Adarsh Pandit Date: Tue, 18 Jun 2024 19:09:26 -0700 Subject: [PATCH 2261/2563] Fix summary tag error --- en/community/user-groups/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/community/user-groups/index.md b/en/community/user-groups/index.md index bd8a0f8b8a..9dfd9762cd 100644 --- a/en/community/user-groups/index.md +++ b/en/community/user-groups/index.md @@ -8,7 +8,8 @@ In the programming community, user groups form support networks for people interested in certain topics. They are a great place to increase your skills and network with other programmers. User groups are informal and their structure varies from group to group. Anyone can form their -own group and set their own rules and schedule{: .summary} +own group and set their own rules and schedule +{: .summary} ### Ruby User Groups From e202c35fc7d35e4390508e747dadb4cb11b30783 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 20 Jun 2024 14:09:21 +0900 Subject: [PATCH 2262/2563] Translate "Update Ruby Meepup Information" (ko) (#3296) * Translate "Update Ruby Meepup Information" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You * Update ko/community/user-groups/index.md --------- Co-authored-by: Chayoung You --- ko/community/user-groups/index.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/ko/community/user-groups/index.md b/ko/community/user-groups/index.md index db501dcd5e..ab15f4249d 100644 --- a/ko/community/user-groups/index.md +++ b/ko/community/user-groups/index.md @@ -19,24 +19,25 @@ Ruby 유저 그룹은 전적으로 Ruby에만 전념합니다. 일반적으로 Ruby 유저 그룹에 관한 정보는 여러 웹 사이트에서 얻을 수 있습니다. -[Ruby Meetup Groups][meetup] -: Ruby 유저 그룹의 상당수는 Meetup 사이트를 홈페이지로 합니다. Meetup은 -유저 그룹을 위한 몇 가지 툴을 제공하고 있습니다. 비공개 포럼, 공지를 위한 장소, -자동 리마인더, 훌륭한 RSVP(참석여부 체크) 시스템 등등이 그것이죠. - -[OnRuby][2] -: OnRuby에서도 유저 그룹을 발견할 수 있습니다. OnRuby는 Ruby로 작성한 오픈 소스 - 플랫폼으로, 미트업을 만드는 데 사용할 수 있습니다. 소스는 [GitHub][3]에서 볼 - 수 있습니다. +- [Ruby Meetup Groups on meetup.com][meetup]. Ruby 유저 그룹의 상당수는 + Meetup 사이트를 홈페이지로 삼습니다. Meetup은 유저 그룹을 위한 몇 가지 툴을 + 제공하고 있습니다. 비공개 포럼, 공지를 위한 장소, 자동 리마인더, 훌륭한 + RSVP(참석여부 체크) 시스템 등이 그것이죠. +- [rubyconferences.org/meetups][rc-meetups]는 전 세계의 Ruby 미트업 이벤트 일람을 + 제공합니다. +- Ruby 미트업 주최자들이 모이는 [Google 그룹][meetups-google-group]이 있습니다. +- [OnRuby][onruby] - OnRuby에서도 유저 그룹을 발견할 수 있습니다. OnRuby는 + Ruby로 작성한 오픈 소스 플랫폼으로, 미트업을 만드는 데 사용할 수 있습니다. + 소스는 [GitHub][onruby-github]에서 볼 수 있습니다. ### 직접 그룹을 만들기 직접 그룹을 만들기 원하시면 지역에 Ruby 그룹이 있는지를 먼저 확인하셔야 합니다. -큰 그룹이 보통 더 유익하고 재미있으므로, 그 지역에 다른 Ruby 그룹이있다면 새로 -만드는 것은 최고의 선택은 아닐 것입니다. - - +자신의 그룹을 시작하는 방법에 대한 조언을 구하고 싶다면, +미트업 주최자 그룹을 방문해보세요. [meetup]: https://www.meetup.com/topics/ruby/ -[2]: https://www.onruby.eu/ -[3]: https://github.com/phoet/on_ruby +[onruby]: https://www.onruby.eu/ +[onruby-github]: https://github.com/phoet/on_ruby +[rc-meetups]: https://rubyconferences.org/meetups/ +[meetups-google-group]: https://groups.google.com/g/ruby-meetups From c7dffd8ce8364a936dbc9928f1f2b707a4312797 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:09:37 +0000 Subject: [PATCH 2263/2563] Bump ruby/setup-ruby from 1.180.0 to 1.180.1 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.180.0 to 1.180.1. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/ff740bc00a01b3a50fffc55a1071b1060eeae9dc...3783f195e29b74ae398d7caca108814bbafde90e) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de0400acb0..ca301697da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # v1.180.0 + uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 24c828c83e..02826a8ab5 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Ruby - uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # v1.180.0 + uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1 with: ruby-version: '3.2' bundler-cache: true From a39a38cded02fbba305f402abc731e059842307e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 15:14:30 +0000 Subject: [PATCH 2264/2563] Bump ruby/setup-ruby from 1.180.1 to 1.183.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.180.1 to 1.183.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/3783f195e29b74ae398d7caca108814bbafde90e...1d0e911f615a112e322369596f10ee0b95b010ae) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca301697da..17b5327627 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1 + uses: ruby/setup-ruby@1d0e911f615a112e322369596f10ee0b95b010ae # v1.183.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 02826a8ab5..418d8d36a4 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Ruby - uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1 + uses: ruby/setup-ruby@1d0e911f615a112e322369596f10ee0b95b010ae # v1.183.0 with: ruby-version: '3.2' bundler-cache: true From 6b9bd905bb90a94dcb0b2f8e2b4cb486c58c8b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Fri, 5 Jul 2024 08:15:53 -0400 Subject: [PATCH 2265/2563] Translation of 'Ruby 3.1.6 Released' (es) (#3298) --- .../_posts/2024-05-29-ruby-3-1-6-released.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 es/news/_posts/2024-05-29-ruby-3-1-6-released.md diff --git a/es/news/_posts/2024-05-29-ruby-3-1-6-released.md b/es/news/_posts/2024-05-29-ruby-3-1-6-released.md new file mode 100644 index 0000000000..bb70f5b2da --- /dev/null +++ b/es/news/_posts/2024-05-29-ruby-3-1-6-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Publicado Ruby 3.1.6" +author: "hsbt" +translator: vtamara +date: 2024-05-29 9:00:00 +0000 +lang: es +--- + +Ruby 3.1.6 ha sido publicado. + +La serie Ruby 3.1 ahora está en fase de mantenimiento de seguridad. +En general, corregiremos sólo fallas de seguridad en esta fase. +Pero tuvimos varios problemas de compilación después +de la publicación de Ruby 3.1.5. Decidimos publicar Ruby 3.1.6 +para corregir esos problemas. + +Por favor vea los temas siguientes para conocer detalles. + +* [Falla #20151: No puede compilar Ruby 3.1 en FreeBSD 14.0](https://bugs.ruby-lang.org/issues/20151) +* [Falla #20451: Retro-porte con falla en Ruby 3.1.5 impide compilación de fiddle](https://bugs.ruby-lang.org/issues/20451) +* [Falla #20431: Ruby 3.3.0 falla al compilar con make: *** \[io_buffer.o\] Error 1](https://bugs.ruby-lang.org/issues/20431) + +Ver la más detalles en la [publicación de GitHub](https://github.com/ruby/ruby/releases/tag/v3_1_6). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.1.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentarios de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a hacer esta publicación. + +Gracias por sus contribuciones. From b5d471f61d005365980b768c5b718f0e3ab6578c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sat, 6 Jul 2024 05:53:32 -0400 Subject: [PATCH 2266/2563] Translate Datadog OSS Program (es) (#3300) --- .../_posts/2024-05-30-datadog-oss-program.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 es/news/_posts/2024-05-30-datadog-oss-program.md diff --git a/es/news/_posts/2024-05-30-datadog-oss-program.md b/es/news/_posts/2024-05-30-datadog-oss-program.md new file mode 100644 index 0000000000..1249220024 --- /dev/null +++ b/es/news/_posts/2024-05-30-datadog-oss-program.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Datadog provee soporte comunitario (software de código abierto) para ruby-lang.org" +author: "hsbt" +translator: vtamara +date: 2024-05-30 00:00:00 +0000 +lang: es +--- + +Nos emociona anunciar que el sitio oficial de Ruby, ruby-lang.org, +ha adoptado Datadog para el monitoreo proveido por el +[soporte comunitario de Datadog para software de código abierto](https://opensource.datadoghq.com/projects/oss-program/). + +Esto nos permite monitorear efectivamente el desempeño y disponibilidad del +sitio en tiempo real para los usuarios de Ruby. +Los beneficios clave de usar Datadog incluyen los siguientes. + +## Visibilidad del CDN + +cache.ruby-lang.org proveido por Fastly es la infraestructura más importante +para el ecosistema Ruby. Datadog permite monitorear el desempeño de la +Red de Entrega de Contenido (CDN). Registra la cobertura del cache y la +tasa de errores mejorando la experiencia de usuario. + +## Visualizción unificada de los datos + +Tenemos varios servicios web para ruby-lang.org. +Datadog permite visualizar datos de análisis de las bitácoras junto +con métricas y monitoreo de desempeño de la aplicación (APM) en un +mismo tablero. + +## Visibilidad de la traza JIT + +Al utilizar las capacidades de rastreo de Datadog, podemos capturar trazas como +flujos de peticiones entre servidores web y bases de datos. +Esto ayuda a identificar cuellos de botella y peticiones problemáticas. + +Publicamos el [tablero público](https://p.ap1.datadoghq.com/sb/1271b83e-af90-11ee-9072-da7ad0900009-01633a8fa8c0b0c0051f1889afdf55dc) +de nuestras métricas clave. +Actualizaremos el tablero mientras seguimos mejorando nuestro monitoreo, +especialmente del desempeño YJIT. + +Esperamos que esta adopción de Datadog contribuya a un desempeño mejorado +para la comunidad Ruby. + +Por favor siga usando ruby-lang.org y disfrute de una experiencia +de usuario mejorada. From 01588a20a1181b613c698e96aefbd0cb21a34b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sat, 6 Jul 2024 06:08:53 -0400 Subject: [PATCH 2267/2563] Translation of Ruby 3.3.2 Released (es) (#3301) --- .../_posts/2024-05-30-ruby-3-3-2-released.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 es/news/_posts/2024-05-30-ruby-3-3-2-released.md diff --git a/es/news/_posts/2024-05-30-ruby-3-3-2-released.md b/es/news/_posts/2024-05-30-ruby-3-3-2-released.md new file mode 100644 index 0000000000..805ff2b00a --- /dev/null +++ b/es/news/_posts/2024-05-30-ruby-3-3-2-released.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.2" +author: "k0kubun" +translator: vtamara +date: 2024-05-30 03:50:00 +0000 +lang: es +--- + +Ruby 3.3.2 ha sido publicado. + +Esta versión incluye muchas correcciones a fallas. +Ver más detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_2). + +## Descarga + +{% assign release = site.data.releases | where: "version", "3.3.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comntario de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a hacer esta versión. + +Gracias por sus contribuciones. From 937fbe7641366508f469ed913504d64b9fb172e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sat, 6 Jul 2024 06:11:33 -0400 Subject: [PATCH 2268/2563] Translation of Ruby 3.3.3 Released (es) (#3302) --- .../_posts/2024-06-12-ruby-3-3-3-released.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 es/news/_posts/2024-06-12-ruby-3-3-3-released.md diff --git a/es/news/_posts/2024-06-12-ruby-3-3-3-released.md b/es/news/_posts/2024-06-12-ruby-3-3-3-released.md new file mode 100644 index 0000000000..d1646ca397 --- /dev/null +++ b/es/news/_posts/2024-06-12-ruby-3-3-3-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.3" +author: "k0kubun" +translator: vtamara +date: 2024-06-12 00:30:00 +0000 +lang: es +--- + +Ruby 3.3.3 ha sido publicado. + +Esta versión incluye: + +* RubyGems 3.5.11 +* Bundler 2.5.11 +* REXML 3.2.8 +* strscan 3.0.9 +* se remplaza `--dump=prism_parsetree` por `--parser=prism --dump=parsetree` +* Los símbolos de codificación inválidos lanzan `SyntaxError` en lugar de + `EncodingError` +* Corrección a fuga de memoria al analizar con Ripper +* Correcciones a fallas para YJIT, `**{}`, `Ripper.tokenize`, `RubyVM::InstructionSequence#to_binary`, `--with-gmp`, y algunos ambientes de compilación. + +Por favor ver más detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_3). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.3.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentarios de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a hacer esta versión. + +Gracias por sus contribuciones. From 11d108b6782654d414d397d83222693be8daa755 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 8 Jul 2024 17:31:59 -0700 Subject: [PATCH 2269/2563] Release announcement for Ruby 3.3.4 --- _data/downloads.yml | 2 +- _data/releases.yml | 24 ++++++++ .../_posts/2024-07-09-ruby-3-3-4-released.md | 57 +++++++++++++++++++ 3 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2024-07-09-ruby-3-3-4-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 16c5bf3784..b83d536d43 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,7 +8,7 @@ preview: stable: - - 3.3.3 + - 3.3.4 - 3.2.4 # optional diff --git a/_data/releases.yml b/_data/releases.yml index c85fde0b54..d94d68ca65 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -52,6 +52,30 @@ # 3.3 series +- version: 3.3.4 + date: 2024-07-09 + post: /en/news/2024/07/09/ruby-3-3-4-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.xz + size: + gz: 22110179 + zip: 26995054 + xz: 16366580 + sha1: + gz: 408362dfb0413122e09d35bafdcced8922b54e71 + zip: dcd35f8d428e61807b5c95b6e2e79444fb32f214 + xz: 4fac2e1609535f71cbdbf9ab9dcea6f6e80a304a + sha256: + gz: fe6a30f97d54e029768f2ddf4923699c416cdbc3a6e96db3e2d5716c7db96a34 + zip: 3cf0ee03dd4c98e78e8ab5e191af926870415770ef4995088ed069caef639b2a + xz: 1caaee9a5a6befef54bab67da68ace8d985e4fb59cd17ce23c28d9ab04f4ddad + sha512: + gz: 56a0b88954a4efd0236626e49cc90cdb15d9bfd42b27d7fc34efae61f500058e58cb32c73fdef5f1505a36602f4632d6148bf3bd1df539cb5581ae157c78c22b + zip: c24ca2e6b1114f9c489c049c07acccb0db0916c42c68ea90eaa9acc430973de68342df19710c58130fe264a291958c89e60815c5b00f91decf5a4d1d674a0b32 + xz: b26461a13ff82a08a282f10108028bb2a2e4a28da6182a291062fc54089c6655d79c22cc69d59156f9b11cb10a17fe8c69d489343fbae123a45f03361b95c9eb + - version: 3.3.3 date: 2024-06-12 post: /en/news/2024/06/12/ruby-3-3-3-released/ diff --git a/en/news/_posts/2024-07-09-ruby-3-3-4-released.md b/en/news/_posts/2024-07-09-ruby-3-3-4-released.md new file mode 100644 index 0000000000..d1413568b6 --- /dev/null +++ b/en/news/_posts/2024-07-09-ruby-3-3-4-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Ruby 3.3.4 Released" +author: "k0kubun" +translator: +date: 2024-07-09 00:30:00 +0000 +lang: en +--- + +Ruby 3.3.4 has been released. + +This release fixes a regression in Ruby 3.3.3 that dependencies are missing in the gemspec +of some bundled gems: `net-pop`, `net-ftp`, `net-imap`, and `prime` +[[Bug #20581]](https://bugs.ruby-lang.org/issues/20581). +The fix allows Bundler to successfully install those gems on platforms like Heroku. +If your `bundle install` runs correctly now, you may not have this issue. + +Other changes are mostly minor bug fixes. +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_4) for further details. + +## Release Schedule + +Going forward, we intend to release the latest stable Ruby version (currently Ruby 3.3) every 2 months after a `.1` release. +For Ruby 3.3, 3.3.5 is supposed to be released on Sep 3rd, 3.3.6 on Nov 5th, and 3.3.7 on Jan 7th. + +If there's any change that affects a considerable amount of people, e.g. Ruby 3.3.3 users on Heroku for this release, +we may release a new version earlier than expected. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 3715270badeaf9823ff0d111c7a8ba135b4ebdf3 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 9 Jul 2024 16:51:02 +0800 Subject: [PATCH 2270/2563] Translate Ruby 3.3.4 Released (zh_tw) --- .../_posts/2024-07-09-ruby-3-3-4-released.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 zh_tw/news/_posts/2024-07-09-ruby-3-3-4-released.md diff --git a/zh_tw/news/_posts/2024-07-09-ruby-3-3-4-released.md b/zh_tw/news/_posts/2024-07-09-ruby-3-3-4-released.md new file mode 100644 index 0000000000..d5e272549e --- /dev/null +++ b/zh_tw/news/_posts/2024-07-09-ruby-3-3-4-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 3.3.4 發布" +author: "k0kubun" +translator: "Bear Su" +date: 2024-07-09 00:30:00 +0000 +lang: zh_tw +--- + +Ruby 3.3.4 已經發布了。 + +本次發佈版本修復在 Ruby 3.3.3 一些 bundled gems 的 gemspec 缺少依賴套件:`net-pop`、`net-ftp`、`net-imap`、和 `prime` [[Bug #20581]](https://bugs.ruby-lang.org/issues/20581)。 + +此修復允許 Bundler 在 Heroku 等平台上成功安裝這些 gems。 +如果您的 `bundle install` 現在運作正常,則可能不會遇到這個問題。 + +其他變更主要是修復小型錯誤。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_4)。 + +## 發布時程 + +在未來,我們打算在「.1」版本發布後每 2 個月發布一次最新的穩定 Ruby 版本(目前為 Ruby 3.3)。 +對於 Ruby 3.3,3.3.5 預計於 9 月 3 日發布,3.3.6 於 11 月 5 日發布,3.3.7 於 1 月 7 日發布。 + +如果有任何變更影響到相當多的人,例如本次發布版本提到的在 Heroku 上使用 Ruby 3.3.3 的使用者。 +我們可能會比預期更早發佈新版本。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.3.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From a0b3f99c3466b9e661af1e7d5203ebce3aa411a1 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 11 Jul 2024 07:46:58 +0900 Subject: [PATCH 2271/2563] Translate "Ruby 3.3.4 Released" (ko) (#3306) * Copy from en * Translate "Ruby 3.3.4 Released" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2024-07-09-ruby-3-3-4-released.md | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 ko/news/_posts/2024-07-09-ruby-3-3-4-released.md diff --git a/ko/news/_posts/2024-07-09-ruby-3-3-4-released.md b/ko/news/_posts/2024-07-09-ruby-3-3-4-released.md new file mode 100644 index 0000000000..5e8602c911 --- /dev/null +++ b/ko/news/_posts/2024-07-09-ruby-3-3-4-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Ruby 3.3.4 릴리스" +author: "k0kubun" +translator: "shia" +date: 2024-07-09 00:30:00 +0000 +lang: ko +--- + +Ruby 3.3.4가 릴리스되었습니다. + +이번 릴리스에는 Ruby 3.3.3의 내장 gem인 `net-pop`, `net-ftp`, `net-imap`, `prime`의 +gemspec에서 의존성이 누락된 회귀 버그를 해결했습니다 +[[Bug #20581]](https://bugs.ruby-lang.org/issues/20581). +이 수정으로 Bundler가 Heroku와 같은 플랫폼에서 해당 gem을 성공적으로 설치할 수 있습니다. +만약 `bundle install`이 정상적으로 작동한다면, 이 문제는 해결된 것입니다. + +나머지 변경 사항은 대부분 사소한 버그 수정입니다. +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_3_4)를 참조하세요. + +## 릴리스 일정 + +앞으로 최신 안정 버전의 Ruby(현재 Ruby 3.3)를 `.1` 릴리스 이후 2개월마다 릴리스할 계획입니다. +Ruby 3.3의 경우, 3.3.5는 9월 3일에, 3.3.6은 11월 5일에, 3.3.7은 1월 7일에 릴리스될 예정입니다. + +이번 릴리스는 Heroku의 Ruby 3.3.3 사용자가 영향을 받았습니다. 이와 같이 많은 사람들에게 영향을 미치는 변경 사항이 있을 경우, +예상보다 빨리 새 버전을 릴리스할 수 있습니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.3.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 9f7994a4f7a8acb8cd6f651de7e5599ab059fade Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 11 Jul 2024 09:54:08 +0900 Subject: [PATCH 2272/2563] Added patchlevel to initial minor release versions --- _data/releases.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index d94d68ca65..f2f4d6a3a6 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -2497,7 +2497,7 @@ date: 2013-02-24 post: /en/news/2013/02/24/ruby-2-0-0-p0-is-released/ url: - gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0.tar.gz + gz: https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz - version: 2.0.0-rc2 date: 2013-02-08 post: /en/news/2013/02/08/ruby-2-0-0-rc2-is-released/ @@ -2582,7 +2582,7 @@ date: 2011-10-31 post: /en/news/2011/10/31/ruby-1-9-3-p0-is-released/ url: - gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3.tar.gz + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz - version: 1.9.3-rc1 date: 2011-09-24 post: /en/news/2011/09/24/ruby-1-9-3-rc1-has-been-released/ @@ -2617,7 +2617,7 @@ date: 2010-08-18 post: /en/news/2010/08/18/ruby-1-9-2-released/ url: - gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2.tar.gz + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz - version: 1.9.2-rc2 date: 2010-07-11 post: /en/news/2010/07/11/ruby-1-9-2-rc2-is-released/ @@ -2665,7 +2665,7 @@ date: 2009-01-30 post: /en/news/2009/01/30/ruby-1-9-1-released/ url: - gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1.tar.gz + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz - version: 1.9.1-preview1 date: 2008-10-28 post: /en/news/2008/10/28/ruby-1-9-1-preview-1-released/ @@ -2675,7 +2675,7 @@ date: 2007-12-25 post: /en/news/2007/12/25/ruby-1-9-0-released/ url: - gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0.tar.gz + gz: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-0.tar.gz - version: 1.8.7-p374 date: 2013-06-27 post: /en/news/2013/06/27/ruby-1-8-7-p374-is-released/ From 66952a89ea4064905a3cbf7143e0f6506ec3a820 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 15:11:01 +0000 Subject: [PATCH 2273/2563] Bump ruby/setup-ruby from 1.183.0 to 1.185.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.183.0 to 1.185.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/1d0e911f615a112e322369596f10ee0b95b010ae...3a77c29278ae80936b4cb030fefc7d21c96c786f) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17b5327627..3f896cc461 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@1d0e911f615a112e322369596f10ee0b95b010ae # v1.183.0 + uses: ruby/setup-ruby@3a77c29278ae80936b4cb030fefc7d21c96c786f # v1.185.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 418d8d36a4..10e441b48a 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Ruby - uses: ruby/setup-ruby@1d0e911f615a112e322369596f10ee0b95b010ae # v1.183.0 + uses: ruby/setup-ruby@3a77c29278ae80936b4cb030fefc7d21c96c786f # v1.185.0 with: ruby-version: '3.2' bundler-cache: true From 743f1544afc1c3e843c04e9f7d204dac10f5b87c Mon Sep 17 00:00:00 2001 From: ANDO Yoko Date: Fri, 12 Jul 2024 15:57:30 +0900 Subject: [PATCH 2274/2563] Translate "CVE-2024-35176: DoS in REXML" (ja) (#3309) --- .../2024-05-16-dos-rexml-cve-2024-35176.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ja/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md diff --git a/ja/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/ja/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md new file mode 100644 index 0000000000..39a750ab92 --- /dev/null +++ b/ja/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-35176: REXML内のDoS脆弱性" +author: "kou" +translator: "nacl-ando" +date: 2024-05-16 05:00:00 +0000 +tags: security +lang: ja +--- + + +REXML gem内のDoS脆弱性が発見されました。この脆弱性は、[CVE-2024-35176](https://www.cve.org/CVERecord?id=CVE-2024-35176)として登録されています。REXML gem をアップグレードすることを強く推奨します。 + +## 詳細 + +REXML gem は、属性値に`<` が多く含まれているXMLドキュメントの解析に時間がかかることがあります。 +REXML gem を 3.2.7 以上にアップデートしてください。 + +## 影響を受けるバージョン + +* REXML gem 3.2.6 以前 + +## クレジット + +この脆弱性情報は、[mprogrammer](https://hackerone.com/mprogrammer) 氏によって報告されました。 + +## 更新履歴 + +* 2024-05-16 14:00:00 (JST) 初版 From 7799597c4500ac9239d05fb0a68d7d17cecb4eb9 Mon Sep 17 00:00:00 2001 From: 01hayakawa <01hayakawa@netlab.jp> Date: Fri, 12 Jul 2024 21:15:30 +0900 Subject: [PATCH 2275/2563] Translate "Ruby 3.4.0 preview1 Released" (ja) (#3310) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Translate Ruby 3.4.0 preview1 Released(ja) * 定型句を使用するよう修正 * 表現の不自然な個所を修正 --- ...2024-05-16-ruby-3-4-0-preview1-released.md | 126 ++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md diff --git a/ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md new file mode 100644 index 0000000000..913b2df832 --- /dev/null +++ b/ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -0,0 +1,126 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview1 リリース" +author: "naruse" +translator: "01hayakawa" +date: 2024-05-16 00:00:00 +0000 +lang: ja +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview1" | first %} +Ruby {{ release.version }}がリリースされました。 + +## 言語機能の変更 + +* `frozen_string_literal`のコメントがないファイルで文字列リテラルが凍結されたように振る舞うようになりました。 + 文字列リテラルが破壊的に変更された場合、非推奨の警告が表示されます。 + この警告は `-W:deprecated` または `Warning[:deprecated] = true` で有効にすることができます。 + コマンドライン引数で`--disable-frozen-string-literal` を指定してRubyを実行すると、この変更を無効にできます。 [[Feature #20205]] + +* `it`がブロックパラメータを参照するために追加されました。 [[Feature #18980]] + +* メソッド呼び出し時のnilのキーワードスプラットが使えるようになりました。 + `**nil`は`**{}`と同様に扱われ、キーワードは渡されず、変換メソッドも呼び出されません。 [[Bug #20064]] + +* インデックスにブロックを渡せなくなりました。 [[Bug #19918]] + +* インデックスにキーワード引数が使えなくなりました。 [[Bug #20218]] + +## コアクラスの更新 +注:特に重要なクラスアップデートのみを掲載しています。 + +* Exception + + * Exception#set_backtraceが`Thread::Backtrace::Location`の配列を受け付けるようになりました。 + `Kernel#raise`と`Thread#raise`、`Fiber#raise`も同様に新しいフォーマットを受け付けます。[[Feature #13557]] + +* Range + + * rangeが列挙可能でない場合、`Range#size`がTypeErrorを発生させるようになりました。[[Misc #18984]] + + + +## 互換性に関する変更 + +注:バグフィックスは掲載していません。 + +* エラーメッセージとバックトレースの表示が変更されました。 + * 冒頭の引用符にはバッククォートの代わりにシングルクォートを使用します。 [[Feature #16495]] + * メソッド名の前にクラス名を表示します(クラスが永続的な名前を持つ場合のみ)。 [[Feature #19117]] + * `Kernel#caller`、`Thread::Backtrace::Location`のメソッドなどがそれに応じて変更されました。 + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + + +## C API更新 + +* `rb_newobj`と`rb_newobj_of` (および対応するマクロ `RB_NEWOBJ`、`RB_NEWOBJ_OF`、`NEWOBJ`、`NEWOBJ_OF`)が削除されました。 [[Feature #20265]] +* 廃止予定だった関数`rb_gc_force_recycle`が削除されました。 [[Feature #18290]] + +## 実装の改善 + +* `Array#each`がRubyで書き直され、パフォーマンスが改善されました。 [[Feature #20182]]. + +## その他の変更 + +* 渡されたブロックを使用しないメソッドにブロックを渡すと、verboseモード (`-w`) で警告が表示されるようになりました。 [[Feature #15554]] + +* `String.freeze`や`Integer#+`のようなインタプリタやJITによって特別に最適化されたコアメソッドを再定義すると、パフォーマンスクラスの警告(`-W:performance`または`Warning[:performance] = true`)が出るようになりました。 [[Feature #20429]] + +default gemやbundled gemの詳細については、[Logger](https://github.com/ruby/logger/releases)などのGitHubのリリースやchangelogを参照してください。 + +詳細は[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +か[commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})を参照してください。 + +これらの変更により、Ruby 3.3.0から[{{ release.stats.files_changed }} ファイルが変更され、{{ release.stats.insertions }} 行が追加され、 {{ release.stats.deletions }} 行が削除されました!](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) + + +## ダウンロード + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby とは + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 From ddbff34c9c5d40c14072c08c8a9b29f8b0eb19a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 15:39:11 +0000 Subject: [PATCH 2276/2563] Bump ruby/setup-ruby from 1.185.0 to 1.187.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.185.0 to 1.187.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/3a77c29278ae80936b4cb030fefc7d21c96c786f...161cd54b698f1fb3ea539faab2e036d409550e3c) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f896cc461..528fbc03f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@3a77c29278ae80936b4cb030fefc7d21c96c786f # v1.185.0 + uses: ruby/setup-ruby@161cd54b698f1fb3ea539faab2e036d409550e3c # v1.187.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 10e441b48a..1d1d48a81e 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Ruby - uses: ruby/setup-ruby@3a77c29278ae80936b4cb030fefc7d21c96c786f # v1.185.0 + uses: ruby/setup-ruby@161cd54b698f1fb3ea539faab2e036d409550e3c # v1.187.0 with: ruby-version: '3.2' bundler-cache: true From a23bd213fe802c36c0e5442f0248f3fcdd02a235 Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 16 Jul 2024 11:11:21 +0900 Subject: [PATCH 2277/2563] Add CVE-2024-39908 : DoS in REXML --- .../2024-07-16-dos-rexml-cve-2024-39908.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md diff --git a/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md new file mode 100644 index 0000000000..1da55ba595 --- /dev/null +++ b/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-39908 : DoS in REXML" +author: "watson1978" +translator: +date: 2024-07-16 03:00:00 +0000 +tags: security +lang: en +--- + +There is a DoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier [CVE-2024-39908](https://www.cve.org/CVERecord?id=CVE-2024-399086). We strongly recommend upgrading the REXML gem. + +## Details + +When it parses an XML that has many specific characters such as `<`, `0` and `%>`. REXML gem may take long time. + +Please update REXML gem to version 3.3.2 or later. + +## Affected versions + +* REXML gem 3.3.2 or prior + +## Credits + +Thanks to [mprogrammer](https://hackerone.com/mprogrammer) for discovering this issue. + +## History + +* Originally published at 2024-07-16 03:00:00 (UTC) From 40003f52eb21d6d5fe814f393bd4e297a0ff00ab Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Tue, 16 Jul 2024 17:58:33 +0900 Subject: [PATCH 2278/2563] Translate CVE-2024-39908 news (ko) (#3316) * cp {en,ko}/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md * Translate CVE-2024-39908 news (ko) --- .../2024-07-16-dos-rexml-cve-2024-39908.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md diff --git a/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md new file mode 100644 index 0000000000..ac0de248d7 --- /dev/null +++ b/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-39908: REXML의 DoS 취약점" +author: "watson1978" +translator: "yous" +date: 2024-07-16 03:00:00 +0000 +tags: security +lang: ko +--- + +REXML gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2024-39908](https://www.cve.org/CVERecord?id=CVE-2024-39908)로 등록되었습니다. REXML gem 업그레이드를 강하게 추천합니다. + +## 세부 내용 + +`<`, `0`, `%>`과 같은 특정 캐릭터를 대량으로 갖고 있는 XML을 파싱할 때, REXML gem은 처리에 긴 시간이 걸립니다. + +REXML gem을 3.3.2나 그 이상으로 업데이트하세요. + +## 해당 버전 + +* REXML gem 3.3.2와 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [mprogrammer](https://hackerone.com/mprogrammer)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-07-16 03:00:00 (UTC) 최초 공개 From 5eed80f25b510d80685a9884ec3bf1c236aeb287 Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 16 Jul 2024 17:51:43 +0900 Subject: [PATCH 2279/2563] Fix typo in URL for CVE-2024-39908 Fix typos pointed out by https://github.com/ruby/www.ruby-lang.org/pull/3314#discussion_r1678946524 --- en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md index 1da55ba595..af03328df8 100644 --- a/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md +++ b/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -8,7 +8,7 @@ tags: security lang: en --- -There is a DoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier [CVE-2024-39908](https://www.cve.org/CVERecord?id=CVE-2024-399086). We strongly recommend upgrading the REXML gem. +There is a DoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier [CVE-2024-39908](https://www.cve.org/CVERecord?id=CVE-2024-39908). We strongly recommend upgrading the REXML gem. ## Details From 88c4ea9ac93417bdf3f5338a65867328cc3e14f9 Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 16 Jul 2024 18:49:04 +0900 Subject: [PATCH 2280/2563] Fix affected version --- en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md | 2 +- ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md index af03328df8..48e7c7a131 100644 --- a/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md +++ b/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -18,7 +18,7 @@ Please update REXML gem to version 3.3.2 or later. ## Affected versions -* REXML gem 3.3.2 or prior +* REXML gem 3.3.1 or prior ## Credits diff --git a/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md index ac0de248d7..5b2464f2da 100644 --- a/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md +++ b/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -18,7 +18,7 @@ REXML gem을 3.3.2나 그 이상으로 업데이트하세요. ## 해당 버전 -* REXML gem 3.3.2와 그 이하 +* REXML gem 3.3.1와 그 이하 ## 도움을 준 사람 From b72f241719602e88655f04717ffca16167d63a72 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 16 Jul 2024 16:20:49 +0800 Subject: [PATCH 2281/2563] Translate CVE 2024 39908 (zh_tw) --- .../2024-07-16-dos-rexml-cve-2024-39908.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md diff --git a/zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md new file mode 100644 index 0000000000..343734d255 --- /dev/null +++ b/zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-39908 : DoS in REXML" +author: "watson1978" +translator: "Bear Su" +date: 2024-07-16 03:00:00 +0000 +tags: security +lang: zh_tw +--- + +在 REXML gem 發現了一個 DoS 漏洞。 +該漏洞的 CVE 編號為 [CVE-2024-39908](https://www.cve.org/CVERecord?id=CVE-2024-39908)。 +我們強烈建議您升級 REXML gem。 + +## 風險細節 + +當解析包含許多特定字元如 `<`、`0` 和 `%>` 的 XML 文件時,REXML gem 可能會需要很長的處理時間。 + +請更新 REXML gem 至 3.3.2 或更新的版本。 + +## 受影響版本 + +* REXML gem 3.3.1 及更早版本 + +## 致謝 + +感謝 [mprogrammer](https://hackerone.com/mprogrammer) 發現此問題。 + +## 歷史 + +* 最初發布於 2024-07-16 03:00:00 (UTC) From ccb545730855c40eb401079830160d7e81d26de4 Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Wed, 17 Jul 2024 10:21:43 +0900 Subject: [PATCH 2282/2563] Fix affected version typo (ko) Co-authored-by: Chayoung You --- ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md index 5b2464f2da..8443590fc4 100644 --- a/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md +++ b/ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -18,7 +18,7 @@ REXML gem을 3.3.2나 그 이상으로 업데이트하세요. ## 해당 버전 -* REXML gem 3.3.1와 그 이하 +* REXML gem 3.3.1과 그 이하 ## 도움을 준 사람 From cf26200c1486e15c65dda5cb44bfd366f82721dc Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 17 Jul 2024 13:11:21 +0900 Subject: [PATCH 2283/2563] Update MailmanLists dashboard urls. https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-list.ml.ruby-lang.org/ is 404 status. It's updated with https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/ --- bg/community/mailing-lists/index.md | 2 +- de/community/mailing-lists/index.md | 4 ++-- en/community/mailing-lists/index.md | 2 +- es/community/mailing-lists/index.md | 2 +- fr/community/mailing-lists/index.md | 2 +- id/community/mailing-lists/index.md | 2 +- it/community/mailing-lists/index.md | 2 +- ja/community/mailing-lists/index.md | 8 ++++---- ko/community/mailing-lists/index.md | 4 ++-- pl/community/mailing-lists/index.md | 2 +- pt/community/mailing-lists/index.md | 2 +- ru/community/mailing-lists/index.md | 2 +- tr/community/mailing-lists/index.md | 4 ++-- vi/community/mailing-lists/index.md | 2 +- zh_cn/community/mailing-lists/index.md | 2 +- zh_tw/community/mailing-lists/index.md | 2 +- 16 files changed, 22 insertions(+), 22 deletions(-) diff --git a/bg/community/mailing-lists/index.md b/bg/community/mailing-lists/index.md index 19bd46cc71..56386a242c 100644 --- a/bg/community/mailing-lists/index.md +++ b/bg/community/mailing-lists/index.md @@ -32,7 +32,7 @@ comp.lang.ruby дискусионна група. ## Абониране -[Абониране](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[Абониране](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/de/community/mailing-lists/index.md b/de/community/mailing-lists/index.md index 23be89aa83..41d8c3f34a 100644 --- a/de/community/mailing-lists/index.md +++ b/de/community/mailing-lists/index.md @@ -38,13 +38,13 @@ comp.lang.ruby (Newsgroup) [comp.lang.ruby](news:comp.lang.ruby)-Newsgroup eine gute Anlaufstelle. ([FAQ][clrFAQ]) -Siehe [https://ml.ruby-lang.org/mailman3/postorius/lists/](https://ml.ruby-lang.org/mailman3/postorius/lists/) +Siehe [https://ml.ruby-lang.org/mailman3/lists/](https://ml.ruby-lang.org/mailman3/lists/) für weitere Informationen über alle Mailinglisten bei ruby-lang.org, einschließlich der Listen in japanischer Sprache. ## An- oder Abmelden -[An- oder Abmelden](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[An- oder Abmelden](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/en/community/mailing-lists/index.md b/en/community/mailing-lists/index.md index 8e9647067a..da3fed322f 100644 --- a/en/community/mailing-lists/index.md +++ b/en/community/mailing-lists/index.md @@ -31,7 +31,7 @@ The comp.lang.ruby Newsgroup ## Subscribe or Unsubscribe -See [https://ml.ruby-lang.org/mailman3/postorius/lists/](https://ml.ruby-lang.org/mailman3/postorius/lists/) +See [https://ml.ruby-lang.org/mailman3/lists/](https://ml.ruby-lang.org/mailman3/lists/) for more information about all mailing lists on ruby-lang.org, including the lists in Japanese language. diff --git a/es/community/mailing-lists/index.md b/es/community/mailing-lists/index.md index 0a81bd38fe..6da4ab13bd 100644 --- a/es/community/mailing-lists/index.md +++ b/es/community/mailing-lists/index.md @@ -28,7 +28,7 @@ Ruby-CVS ## Suscribirse o desuscribirse -[Suscribirse o desuscribirse](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[Suscribirse o desuscribirse](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/fr/community/mailing-lists/index.md b/fr/community/mailing-lists/index.md index e399c3cd10..d27d9037ef 100644 --- a/fr/community/mailing-lists/index.md +++ b/fr/community/mailing-lists/index.md @@ -29,7 +29,7 @@ Ruby-CVS ## S’inscrire ou résilier son inscription -[S’inscrire ou résilier son inscription](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[S’inscrire ou résilier son inscription](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/id/community/mailing-lists/index.md b/id/community/mailing-lists/index.md index 8820394a76..f782ea5280 100644 --- a/id/community/mailing-lists/index.md +++ b/id/community/mailing-lists/index.md @@ -42,7 +42,7 @@ termasuk daftar milis dalam bahasa Jepang. ## Mulai atau Berhenti Berlangganan -[Mulai atau Berhenti Berlangganan](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[Mulai atau Berhenti Berlangganan](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/it/community/mailing-lists/index.md b/it/community/mailing-lists/index.md index 5aa4c6e761..7493eef6de 100644 --- a/it/community/mailing-lists/index.md +++ b/it/community/mailing-lists/index.md @@ -28,7 +28,7 @@ Ruby-CVS ## Iscriviti o annulla la tua iscrizione -(Iscriviti o annulla la tua iscrizione)[https://ml.ruby-lang.org/mailman3/postorius/lists/] +(Iscriviti o annulla la tua iscrizione)[https://ml.ruby-lang.org/mailman3/lists/] diff --git a/ja/community/mailing-lists/index.md b/ja/community/mailing-lists/index.md index c4893fe9c8..6f5c4899bb 100644 --- a/ja/community/mailing-lists/index.md +++ b/ja/community/mailing-lists/index.md @@ -8,12 +8,12 @@ lang: ja 参加希望の方は、それぞれのリンク先のページより登録を行ってください。 -## [ruby-list](https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-list.ml.ruby-lang.org/)(日本語) +## [ruby-list](https://ml.ruby-lang.org/mailman3/lists/ruby-list.ml.ruby-lang.org/)(日本語) Rubyを使ってプログラムを書く人たちが情報交換を行うためのメーリングリストです。 Rubyを使う上での疑問点についての相談や、Rubyを利用したアプリケーションやライブラリなどのリリース情報の紹介、Rubyに関連するイベントの紹介などが行われています。 -## [ruby-dev](https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-dev.ml.ruby-lang.org/)(日本語) +## [ruby-dev](https://ml.ruby-lang.org/mailman3/lists/ruby-dev.ml.ruby-lang.org/)(日本語) Rubyの開発者向け公式メーリングリストです。 こちらではRuby自体のバグの報告とそれに対する対応や、将来の仕様拡張や実装上の問題などについての議論が行われています。 @@ -22,11 +22,11 @@ Rubyの開発者向け公式メーリングリストです。 また、セキュリティ関連のバグや脆弱性については後述する非公開メーリングリストへ報告してください。 -## [ruby-talk](https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.org/)(英語) +## [ruby-talk](https://ml.ruby-lang.org/mailman3/lists/ruby-talk.ml.ruby-lang.org/)(英語) 英語で一般的な話題を取り扱っています。 上記ruby-listの英語版という位置づけになります。 -## [ruby-core](https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/)(英語) +## [ruby-core](https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/)(英語) 英語でRubyの実装について話し合っています。 上記ruby-devの英語版という位置づけになります。 diff --git a/ko/community/mailing-lists/index.md b/ko/community/mailing-lists/index.md index 204a0c8ebc..a736eacb74 100644 --- a/ko/community/mailing-lists/index.md +++ b/ko/community/mailing-lists/index.md @@ -28,11 +28,11 @@ comp.lang.ruby 뉴스그룹 [comp.lang.ruby](news:comp.lang.ruby) 뉴스그룹에서 체크아웃하세요. ([FAQ][clrFAQ]) ruby-lang.org의 일본어 리스트를 포함한 모든 메일링 리스트에 대해 자세히 알고 -싶다면 [https://ml.ruby-lang.org/mailman3/postorius/lists/](https://ml.ruby-lang.org/mailman3/postorius/lists/)를 참조하세요. +싶다면 [https://ml.ruby-lang.org/mailman3/lists/](https://ml.ruby-lang.org/mailman3/lists/)를 참조하세요. ## 구독과 해지 -[구독과 해지](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[구독과 해지](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/pl/community/mailing-lists/index.md b/pl/community/mailing-lists/index.md index d9e1525980..c8d456005b 100644 --- a/pl/community/mailing-lists/index.md +++ b/pl/community/mailing-lists/index.md @@ -33,7 +33,7 @@ listy: ## Subscribe or Unsubscribe -[Subscribe or Unsubscribe](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[Subscribe or Unsubscribe](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/pt/community/mailing-lists/index.md b/pt/community/mailing-lists/index.md index 8c7e14ea64..39be72f00c 100644 --- a/pt/community/mailing-lists/index.md +++ b/pt/community/mailing-lists/index.md @@ -35,7 +35,7 @@ Ruby << portuguese ## Inscrever ou Desinscrever -[Inscrever ou Desinscrever](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[Inscrever ou Desinscrever](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/ru/community/mailing-lists/index.md b/ru/community/mailing-lists/index.md index 24a0fd0b37..a82fe126d4 100644 --- a/ru/community/mailing-lists/index.md +++ b/ru/community/mailing-lists/index.md @@ -32,7 +32,7 @@ Ruby-CVS ## Подписаться или не подписаться -[Подписаться или не подписаться](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[Подписаться или не подписаться](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/tr/community/mailing-lists/index.md b/tr/community/mailing-lists/index.md index fd060010a4..c88d2df8b1 100644 --- a/tr/community/mailing-lists/index.md +++ b/tr/community/mailing-lists/index.md @@ -31,11 +31,11 @@ comp.lang.ruby Haber Grubu Japonca dilindeki listeler de dahil olmak üzere ruby-lang.org'daki tüm e-posta listeleri hakkında daha fazla bilgi için -[https://ml.ruby-lang.org/mailman3/postorius/lists/](https://ml.ruby-lang.org/mailman3/postorius/lists/)'a göz atın. +[https://ml.ruby-lang.org/mailman3/lists/](https://ml.ruby-lang.org/mailman3/lists/)'a göz atın. ## Abone Olun ya da Abonelikten Ayrılın -[Abone Olun ya da Abonelikten Ayrılın](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[Abone Olun ya da Abonelikten Ayrılın](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/vi/community/mailing-lists/index.md b/vi/community/mailing-lists/index.md index 90b0878649..ef152caafb 100644 --- a/vi/community/mailing-lists/index.md +++ b/vi/community/mailing-lists/index.md @@ -32,7 +32,7 @@ The comp.lang.ruby Newsgroup ## Đăng ký theo dõi hoặc Hủy đăng ký -[Đăng ký theo dõi hoặc Hủy đăng ký](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[Đăng ký theo dõi hoặc Hủy đăng ký](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/zh_cn/community/mailing-lists/index.md b/zh_cn/community/mailing-lists/index.md index 6334f0dfd6..06e1861717 100644 --- a/zh_cn/community/mailing-lists/index.md +++ b/zh_cn/community/mailing-lists/index.md @@ -26,7 +26,7 @@ comp.lang.ruby新闻组 ## 订阅或退订 -[订阅或退订](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[订阅或退订](https://ml.ruby-lang.org/mailman3/lists/) diff --git a/zh_tw/community/mailing-lists/index.md b/zh_tw/community/mailing-lists/index.md index 3cddcab32c..198689b4d6 100644 --- a/zh_tw/community/mailing-lists/index.md +++ b/zh_tw/community/mailing-lists/index.md @@ -27,7 +27,7 @@ The comp.lang.ruby 新聞組 ## 立即訂閱或是取消訂閱 -[立即訂閱或是取消訂閱](https://ml.ruby-lang.org/mailman3/postorius/lists/) +[立即訂閱或是取消訂閱](https://ml.ruby-lang.org/mailman3/lists/) From 78187079dda01650a3149b0fcb347be28cdbab5f Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Mon, 22 Jul 2024 10:05:38 +0800 Subject: [PATCH 2284/2563] Translate CVE-2024-39908 (zh_cn) (#3320) --- .../2024-07-16-dos-rexml-cve-2024-39908.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 zh_cn/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md diff --git a/zh_cn/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/zh_cn/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md new file mode 100644 index 0000000000..6562dc0395 --- /dev/null +++ b/zh_cn/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-39908 : REXML 中的 DoS 漏洞" +author: "watson1978" +translator: "GAO Jun" +date: 2024-07-16 03:00:00 +0000 +tags: security +lang: zh_cn +--- + +REXML gem 中存在一个 DoS 漏洞。此漏洞的 CVE 编号为 [CVE-2024-39908](https://www.cve.org/CVERecord?id=CVE-2024-39908)。我们强烈建议您更新 REXML gem。 + +## 详情 + +当 XML 文档中包含很多 `<`,`0`,`%>` 之类的特殊字符时,REXML gem 在解析时可能会花费很长时间。 + +请更新 REXML gem 至 3.3.2 或后续版本。 + +## 受影响版本 + +* REXML gem 3.3.1 或更低版本 + +## 致谢 + +感谢 [mprogrammer](https://hackerone.com/mprogrammer) 发现此问题。 + +## 历史 + +* 最初发布于 2024-07-16 03:00:00 (UTC) From 740a93e38259747207a2fb8ada45e07749beb44f Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Mon, 22 Jul 2024 10:06:09 +0800 Subject: [PATCH 2285/2563] Translate 3.3.4-realsed (zh_cn) (#3315) --- .../_posts/2024-07-09-ruby-3-3-4-released.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 zh_cn/news/_posts/2024-07-09-ruby-3-3-4-released.md diff --git a/zh_cn/news/_posts/2024-07-09-ruby-3-3-4-released.md b/zh_cn/news/_posts/2024-07-09-ruby-3-3-4-released.md new file mode 100644 index 0000000000..cf23340324 --- /dev/null +++ b/zh_cn/news/_posts/2024-07-09-ruby-3-3-4-released.md @@ -0,0 +1,55 @@ +--- +layout: news_post +title: "Ruby 3.3.4 已发布" +author: "k0kubun" +translator: "GAO Jun" +date: 2024-07-09 00:30:00 +0000 +lang: zh_cn +--- + +Ruby 3.3.4 已发布。 + +此版本修复了 Ruby 3.3.3 中的一个回归问题,一些绑定 gem 的 gemspec 中缺失了依赖项,这些 gem 包括:`net-pop`,`net-ftp`,`net-imap` 和 `prime`。 +[[问题 #20581]](https://bugs.ruby-lang.org/issues/20581)。 +这个修正可以让 Bundler 在 Heroku 之类的平台上成功安装这些 gem。 +如果您能够正常运行 `bundle install` ,说明您可能不受此问题影响。 + +其他的变化大多是一些较小的问题修正。 +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_4) 获取进一步信息。 + +## 发布时间表 + +从今以后,我们打算在 `.1` 版本发布后,每 2 个月发布一次最新的 Ruby 稳定版本(目前是 Ruby 3.3)。 +对于 Ruby 3.3,计划在9月3日发布 3.3.5,在11月7日发布 3.3.6,在1月7日发布 3.3.7。 + +如果有影响大量用户的变更,例如此次发布对 Heroku 上的 Ruby 3.3.3 用户的情况,我们可能会提前发布新版本。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.3.4" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 7aaf2bf04ff88ebfdfd04b58eb4e93c0c8738967 Mon Sep 17 00:00:00 2001 From: nagachika Date: Fri, 26 Jul 2024 19:25:08 +0900 Subject: [PATCH 2286/2563] Release announcement for ruby 3.2.5. --- _data/downloads.yml | 2 +- _data/releases.yml | 24 ++++++++++ .../_posts/2024-07-26-ruby-3-2-5-released.md | 46 +++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2024-07-26-ruby-3-2-5-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index b83d536d43..6bcf6a680d 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -9,7 +9,7 @@ preview: stable: - 3.3.4 - - 3.2.4 + - 3.2.5 # optional security_maintenance: diff --git a/_data/releases.yml b/_data/releases.yml index f2f4d6a3a6..31c56a920b 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -296,6 +296,30 @@ # 3.2 series +- version: 3.2.5 + date: '2024-07-26' + post: "/en/news/2024/07/26/ruby-3-2-5-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.5.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.5.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.5.zip + size: + gz: 20619890 + xz: 15194868 + zip: 24777648 + sha1: + gz: 55bd9b68c421a04b787d721af9c72a48e79d2f21 + xz: 3276c53b48e3b1878ea0ae0ee5c3dc497babaafb + zip: e15405aecd5f6dd3d0f5cde7acc3bbc7ea7a7978 + sha256: + gz: 3bb68ec629f1ddfd435e0562462122482ab1879d6b0872895bfcb36ee1de80f5 + xz: 5a6a4c58c37f0c5e090dddbf2e6c5b0f839cf28c3e8e8d86f98e34b111218a5e + zip: 76497e8548b6a0d69544934848165d5a7988fda643814127f394a1e4def5a3f7 + sha512: + gz: c930a8f67df5978a576365fbd3e78355d5f1f60fc7cedae8de6eda56aadc0327bd50db921360d1f0722f11017a6952d144303040107f0aa22efc47aac739bef6 + xz: c488ea25dd91a10b39da97ca2bcb6e06bfb90630b88aa0d9f7adfbae0694c194a0c7b56e82c9162ef1d2e18fdde8c0e84538d9264931c9a655b2fb707c50f27c + zip: 70101138a00df7fbfcc71ff96b58c8a4f617b7c3e7d641b2c7a7247666250c00bf870a1feff316a06cca2d266b15b142c0554a5b4443c5ffd997fc61179c3cdb + - version: 3.2.4 date: 2024-04-23 post: "/en/news/2024/04/23/ruby-3-2-4-released/" diff --git a/en/news/_posts/2024-07-26-ruby-3-2-5-released.md b/en/news/_posts/2024-07-26-ruby-3-2-5-released.md new file mode 100644 index 0000000000..95cda73bdc --- /dev/null +++ b/en/news/_posts/2024-07-26-ruby-3-2-5-released.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "Ruby 3.2.5 Released" +author: "nagachika" +translator: +date: 2024-07-26 10:00:00 +0000 +lang: en +--- + +Ruby 3.2.5 has been released. + +This release include many bug-fixes. +And we updated the version of bundled gem `rexml` to include the following security fix.. +[CVE-2024-39908 : DoS in REXML](({%link en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}). + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_5) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From d457febff7d80a2d9ea82f7c5e83b20e44823932 Mon Sep 17 00:00:00 2001 From: nagachika Date: Fri, 26 Jul 2024 21:18:17 +0900 Subject: [PATCH 2287/2563] regenerate package info. --- _data/releases.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index 31c56a920b..0794b2401f 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -304,21 +304,21 @@ xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.5.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.5.zip size: - gz: 20619890 - xz: 15194868 - zip: 24777648 + gz: 20619047 + xz: 15189072 + zip: 24777979 sha1: - gz: 55bd9b68c421a04b787d721af9c72a48e79d2f21 - xz: 3276c53b48e3b1878ea0ae0ee5c3dc497babaafb - zip: e15405aecd5f6dd3d0f5cde7acc3bbc7ea7a7978 + gz: e5166c947a4d9057b1310710a2a963df12264ac9 + xz: b5f21884084077b1f684efe40144844b8b37a316 + zip: 07e7638dd5ec40f261c820be523be619fdebe4aa sha256: - gz: 3bb68ec629f1ddfd435e0562462122482ab1879d6b0872895bfcb36ee1de80f5 - xz: 5a6a4c58c37f0c5e090dddbf2e6c5b0f839cf28c3e8e8d86f98e34b111218a5e - zip: 76497e8548b6a0d69544934848165d5a7988fda643814127f394a1e4def5a3f7 + gz: ef0610b498f60fb5cfd77b51adb3c10f4ca8ed9a17cb87c61e5bea314ac34a16 + xz: 7780d91130139406d39b29ed8fe16bba350d8fa00e510c76bef9b8ec1340903c + zip: b001e6c157d79f6fb351d5be83ba389c6ca20000686bbdfc8d2b8a46d38a7183 sha512: - gz: c930a8f67df5978a576365fbd3e78355d5f1f60fc7cedae8de6eda56aadc0327bd50db921360d1f0722f11017a6952d144303040107f0aa22efc47aac739bef6 - xz: c488ea25dd91a10b39da97ca2bcb6e06bfb90630b88aa0d9f7adfbae0694c194a0c7b56e82c9162ef1d2e18fdde8c0e84538d9264931c9a655b2fb707c50f27c - zip: 70101138a00df7fbfcc71ff96b58c8a4f617b7c3e7d641b2c7a7247666250c00bf870a1feff316a06cca2d266b15b142c0554a5b4443c5ffd997fc61179c3cdb + gz: d86c0151fabf21b418b007465e3f5b3fd0b2de0a9652057fd465b1f7e91b01d00f83a737e972ea994a5d9231e8cb27e64e576852390fe6c2ad502f0d099fe5f4 + xz: '092348b84b513aec62e63ec10b326370d0e3d1fa3126c59c03c84f28e2d7741a4772c461b077ec6a7dac3964a20f434655729e1acd50a3438755d7ad64073305' + zip: f7a05c96a22bd4018c4a79ff595e62aa92dc844ebaf3e66d50c7b35041fade7608806668b5cb25c17b360a3cd98df1c3e0f97c49448a968accab59a9dac97e47 - version: 3.2.4 date: 2024-04-23 From f7dd8ac379fb5d41cbfc874742f912f41b996ead Mon Sep 17 00:00:00 2001 From: nagachika Date: Fri, 26 Jul 2024 21:38:35 +0900 Subject: [PATCH 2288/2563] fix typo. --- en/news/_posts/2024-07-26-ruby-3-2-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-07-26-ruby-3-2-5-released.md b/en/news/_posts/2024-07-26-ruby-3-2-5-released.md index 95cda73bdc..0b51079ed3 100644 --- a/en/news/_posts/2024-07-26-ruby-3-2-5-released.md +++ b/en/news/_posts/2024-07-26-ruby-3-2-5-released.md @@ -10,7 +10,7 @@ lang: en Ruby 3.2.5 has been released. This release include many bug-fixes. -And we updated the version of bundled gem `rexml` to include the following security fix.. +And we updated the version of bundled gem `rexml` to include the following security fix. [CVE-2024-39908 : DoS in REXML](({%link en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}). Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_5) for further details. From 9df77ac680d656f3bf9bc22468b8dc489e7272ce Mon Sep 17 00:00:00 2001 From: nagachika Date: Fri, 26 Jul 2024 21:52:57 +0900 Subject: [PATCH 2289/2563] fix markup. --- en/news/_posts/2024-07-26-ruby-3-2-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-07-26-ruby-3-2-5-released.md b/en/news/_posts/2024-07-26-ruby-3-2-5-released.md index 0b51079ed3..95ed0effc9 100644 --- a/en/news/_posts/2024-07-26-ruby-3-2-5-released.md +++ b/en/news/_posts/2024-07-26-ruby-3-2-5-released.md @@ -11,7 +11,7 @@ Ruby 3.2.5 has been released. This release include many bug-fixes. And we updated the version of bundled gem `rexml` to include the following security fix. -[CVE-2024-39908 : DoS in REXML](({%link en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}). +[CVE-2024-39908 : DoS in REXML]({%link en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}). Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_5) for further details. From f794c6679af6d0f8794f70e40f1c5ffbcd8349f4 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Fri, 26 Jul 2024 22:36:30 +0800 Subject: [PATCH 2290/2563] Translate Ruby 3.2.5 Released (zh_tw) --- .../_posts/2024-07-26-ruby-3-2-5-released.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 zh_tw/news/_posts/2024-07-26-ruby-3-2-5-released.md diff --git a/zh_tw/news/_posts/2024-07-26-ruby-3-2-5-released.md b/zh_tw/news/_posts/2024-07-26-ruby-3-2-5-released.md new file mode 100644 index 0000000000..60f730b4b2 --- /dev/null +++ b/zh_tw/news/_posts/2024-07-26-ruby-3-2-5-released.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "Ruby 3.2.5 發布" +author: "nagachika" +translator: "Bear Su" +date: 2024-07-26 10:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.2.5 已經發布了。 + +本次發布版本包含許多問題修正。 +我們也更新了 bundled gem `rexml` 的版本以包含下列安全性修正: +[CVE-2024-39908 : DoS in REXML]({%link zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}). + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_2_5)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.2.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From 7858f975f4a32e8ed1e29b7bf492af3809fc0ce4 Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Mon, 29 Jul 2024 19:45:53 +0800 Subject: [PATCH 2291/2563] Translate 3.2.5-realsed (zh_cn) (#3326) --- .../_posts/2024-07-26-ruby-3-2-5-released.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 zh_cn/news/_posts/2024-07-26-ruby-3-2-5-released.md diff --git a/zh_cn/news/_posts/2024-07-26-ruby-3-2-5-released.md b/zh_cn/news/_posts/2024-07-26-ruby-3-2-5-released.md new file mode 100644 index 0000000000..1ad8aa6532 --- /dev/null +++ b/zh_cn/news/_posts/2024-07-26-ruby-3-2-5-released.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Ruby 3.2.5 已发布" +author: "nagachika" +translator: "GAO Jun" +date: 2024-07-26 10:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.2.5 已发布。 + +此版本包含很多修正补丁。 +并更新了绑定 gem `rexml` 的版本,以包含下面的安全更新。 + +[CVE-2024-39908 : REXML 中的 DoS 漏洞]({%link zh_cn/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}). + +您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_2_5) 获取进一步信息。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.2.5" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From eb925535b22d01a37f982787ef0c7419d4697549 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:00:19 +0000 Subject: [PATCH 2292/2563] Bump ruby/setup-ruby from 1.187.0 to 1.190.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.187.0 to 1.190.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/161cd54b698f1fb3ea539faab2e036d409550e3c...a6e6f86333f0a2523ece813039b8b4be04560854) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/jekyll.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 528fbc03f0..4c18fa2eb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 1 - name: Setup Ruby - uses: ruby/setup-ruby@161cd54b698f1fb3ea539faab2e036d409550e3c # v1.187.0 + uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 1d1d48a81e..60593add43 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Ruby - uses: ruby/setup-ruby@161cd54b698f1fb3ea539faab2e036d409550e3c # v1.187.0 + uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.0 with: ruby-version: '3.2' bundler-cache: true From f48500d7d4652b4f4dccb43761989c8692d5f7d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 23:32:20 +0000 Subject: [PATCH 2293/2563] Bump rexml from 3.3.0 to 3.3.2 Bumps [rexml](https://github.com/ruby/rexml) from 3.3.0 to 3.3.2. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.3.0...v3.3.2) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 00e803984e..4f21b81428 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -131,7 +131,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.3.0) + rexml (3.3.2) strscan rouge (4.3.0) ruby-rc4 (0.1.5) From 408d47dc6e66a9465951aae2fd06cf49f73c2bf7 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 30 Jul 2024 13:41:57 +0900 Subject: [PATCH 2294/2563] Translate "Ruby 3.2.5 Released" (ko) (#3327) * Copy from en cp {en,ko}/news/_posts/2024-07-26-ruby-3-2-5-released.md * Translate "Ruby 3.2.5 Released" (ko) --- .../_posts/2024-07-26-ruby-3-2-5-released.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 ko/news/_posts/2024-07-26-ruby-3-2-5-released.md diff --git a/ko/news/_posts/2024-07-26-ruby-3-2-5-released.md b/ko/news/_posts/2024-07-26-ruby-3-2-5-released.md new file mode 100644 index 0000000000..363e256e87 --- /dev/null +++ b/ko/news/_posts/2024-07-26-ruby-3-2-5-released.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "Ruby 3.2.5 릴리스" +author: "nagachika" +translator: "shia" +date: 2024-07-26 10:00:00 +0000 +lang: ko +--- + +Ruby 3.2.5가 릴리스되었습니다. + +이번 릴리스에는 많은 버그 수정이 포함되어 있습니다. +그리고 내장된 `rexml` gem을 다음 보안 수정을 포함하는 버전으로 업데이트했습니다. +[CVE-2024-39908: REXML의 DoS 취약점]({%link ko/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}). + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_5)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.2.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From e95fa76e61b25b27fb19fa933983745137586c23 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Wed, 31 Jul 2024 13:10:06 +0200 Subject: [PATCH 2295/2563] Removing Works on Arm logo. See for the context and details. --- en/about/website/index.md | 5 ----- images/sponsor/works-on-arm.png | Bin 9527 -> 0 bytes ko/about/website/index.md | 5 ----- zh_tw/about/website/index.md | 5 ----- 4 files changed, 15 deletions(-) delete mode 100644 images/sponsor/works-on-arm.png diff --git a/en/about/website/index.md b/en/about/website/index.md index 759fbc6b63..d83fcfecfc 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -50,10 +50,6 @@ Also many thanks to the organizations that support us: Heroku -[Works on Arm][works-on-arm] (hosting) - -Works on Arm - [IBM][ibm] (hosting) [Fastly][fastly] (CDN) @@ -81,7 +77,6 @@ Also many thanks to the organizations that support us: [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ -[works-on-arm]: https://www.arm.com/markets/computing-infrastructure/works-on-arm [ibm]: https://www.ibm.com [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ diff --git a/images/sponsor/works-on-arm.png b/images/sponsor/works-on-arm.png deleted file mode 100644 index 4657de902df85f25aec062a37cd9351427ca7ac7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9527 zcmeHrc{H2b_jh8hc`B+^Xr?qL;>hZ@886Gha-qc_wn z=`nEBLrtn<@LG?c(D1b+a3z1%M!DZ?<%cIj%+=%9u-z|q<)reSe`lH1o8ik+3t{zS z`D_%~MT3UN|=*Ts?VTaCBngv&b1umV9A8e|Ful+Wz}@Doa}B z5nmtZ_ufy~2LJfHaAt>&am67wSdbh_i}9MLo}Rgpp5C7!(E>@k9Is{AYR-TCyj2d^ znpxwfDmLGYY{Anp!m6Lo?RDKo#Kd`**;M#0zo0=&_0&|K>tIW}y)CotY3}bpf3lw? zDV}%r94o}NVQp%8#<+?Ta>*jgDc<5HGLFXLW- zlR&4hT~(LKf05fD({EG}m$i2-_R71>b2FBm)wLPa zx28jH(`Pwl4*I37Vmdt20WI!R#;e=jrY?r$viIIq$kFc0OlLb$SAk6y@vWSji*;aMt1fAcOk?| zOKYF&v_hkJ(n`$E)I=Ra@Rdhn39dMKimxB7_5c7)9f}_sJ%;TPh54{ z^`Te+4Em`;^40>|nVN(22t*u6NnS}F3el%{lHp)&R*)tU>!xmrJo^U(?M@5qK_dC7 zD<}j71<3~~$`gq03NSS_H3cYK0S<@IG#~+&@FX+^f)5Zog!qMl#06l8o_-`x0v>dT ziFPFflC;2J+BoP>|9t&SP5*+&2mHYTjSmG1+D`!{4^{B>RrtF_07;)r1NpJZu@E&h9E*Ut!d0*s*S|p-;R8r$ zJO+0NMFW@jq~WL{)G%&pa90Qpi&dsUpfM0vC{zvNri8%aU@!y}2gUvk;ylrlR+VU< zzk78Eg*}8)RB?l$aaaff;id*rQbf2y&^R?X1Oru4bA`juO0KTTKcTP~^|J(`FPfH4 zPhYe1!c?Hj zDr#y_WhJPxvNGb=L_hItaKr#wB_3kJpz?}JKg|!*qD~8jMlAZUPH6x?<+NDT^@un$ zi9kdV2tHciLkQ5Jn-R|I$8e9+2j*lpA^m(B{ANQ}nB&tZ@Fn?tb0+c>Zi95a?%9sG~8zLI^;Ualev9 z!}>LZ@j&CBjtaq>tDM55d;57`QPgL|3(+gL^~|yeZB#v9kiHS z&lw;AKMuc{jd=+)$q_$8`v3qyUhMD(q~z$3X+ma_k*PlOJROizk%2?CP zjiQV!r-!8R4<>dr|Hw-Q8Z!Nyp>1 zeP$vWcGfjf9(-)};}5@{+0DetX!ShdRh|dlWS3Pg%{aAgEEKuZuv(IN#yEFu+1#{E zfVUhuRI}&oj%(s(1`YGV_C!3jq~$W`-{=nd+{)iheWy6j=M{ zGFS6TyFsf?z(M{~@MtZjg3a>%^aJggv0e9+Pm+f0so{~6Oq^!|-I3aimyX5Dp+Ddy zR2rHpCYEn~dujaLu}qma%6;dcldG;e(0!42F7v~eW?PGKf%qVvBF4cK6LnYrvS)7v z*u~MN$W7J$2=je9uy?pEcM3B+fsN}*h~gLD4kxD1qF?HM@NG}beqnv9#8p+%A=StB z-NY(XYl}R!$5S?xsSfVM*&4_U%~y#F+C3+%#t2<%3Uo2KbQ;y%{ z@|A$85ZimLc@v(gIrILFYsNEQz9sc+k3?8672LdVg9wTrdT|ywl&vnpQI?I5JC_BO z&F;AZ_1s|B(~zZ#sD!wQYqDNn1+9bT@87RUww%|zf9oYbW7-6nQ}`P`55H#jY={us zS!TX}m1@t@b8YR6MBY#$R)a0RAb&;REifbEfSuz?7r!J!IYSEDJN@rDdv>rOS*mqx za4-s0B-nNev<5otn+f5K9GlKogR4kt;&SbgQU6tjm1X*3 z0H?r*($Kk7jJ)(jun!-&W5VyFtmXo_vjxk*Q&e|9sZ4e=F5p9j|b_*A31I(#J}@Q z2~UJ&L$zs5<4XC#7QuMj!0D!Z0f$|k`_&qH4r|mT+jhiq?Q5fslBF9$0)FS;_-}m> zrRG+zgyV1nYqw=|-PnZ>vX#S+jx+-=-`nNiu*H30W1B1j{C>X87|YV?EyKTC{~PNZ z(5`TVwK&>g6FJig740+Cyg_jB%>{tJPOf@PoVO=_yq7hUfarIH z*2OBETYd_EwlYv@>E|n;#uq#B+%&ev4Y`65>$Y zmbK3VO(EW(Z-Uf4v>;heg&eDNUa}Sszmv@suGT#Erb(sWTZU-M(Y$Dvsg}EM>`CXk z|2RXFlX;Q6OSGbHV8i1NXaTK2&T?mJAqfE3^pFWq)t`y+6+8RaQF(pmp;B^HG0 z`fNI-W8n)hdpQNsHwUCeEP70t#9e1E+Rf*=3eZ?rk zE7rDh^Eaygxab{|I*qF*coynqD}(J=Lkbsve8a_E)x1^CF3#|rE|}7TWv+ciEB&dE zZW*DN`iP{S$9gYMNGEZgJk`0}92NN_kFL*#(I%!;yo+EWujqF%KPsaG@N%VjAo6`B zzgb^0*>4#Y%njzF7D&Bk3UhO63Lo;n0aWBbUp0NiE&^U}C?wPECA!AIo;|jeuv#$D zPImg8t9cs@PsG2TdlHMkWD8Yc*pO%)-Mo2$VeHl8$d!O%4odg}TPZLlYO#VIU=zz1 z>8>cg`9mN!{9-itJ2vxOptbxU~y^UUasmX7otwSB%#Lb1-LuRr>L!dbKTR zXM!#UxdRInhop+>;}#csKVzacaZ@=b`_3;q8mK;(bP< z;?9^)OhxHkFt6vhUD99!-ncUgs2O}g<`I8UNy})EkV{% z{~#uLpu9@${t=#(V7o%;YN_Ob!o0lBvgMclVi8Gd-A|=l?1x_EuZRqbyQaT>EOrt) zl&-Yvg!k2=Uh6r#d0*Ig(_QJifR*I~1qbd@ zi(4soN5(KIX^Yt4C4|Sd_jw;$1a!6M8i5TS_Zc2AhApM%wq(wJey*gy2B)@tq&-ex zlP}Eb>ggtz{KI!};fRHe z?^MVYw$N3tDZ6Y;0pL+Rl51)1w{b=eQ4{rr7DxVa?gZKGdb{!wT|q>#Bzx02SYqy3 zu)Qt8L}6YBmomof8*ge>qHFKP{n0sB2|4E-`6kk^ZL8}hzNn%{nMJAQ#sgJ>-wW6k zzjKdzj(8_ns@UHrHzE&ye-x7dBScJ!Zcp@e0}?y9>)tW&z@ky|%N~H%&BWQ~3 z7ieBedL{&GexQLYZE}ZQc%zZootjjy=QZ39;iC}1|(XJxap>dhM(!fT zRHjiU|HxXBwfYRWC-XkxDE0IO?(GzP+`5;-%T2H}@It<@yeWHxzBY%<7spI4ndg3eIg*WYtR!-_Z!W1xU&XITjvz%*s*$H6QRJOZm*gk_q0< zwzceYcl&|kwU>HXOC{PilYQ(-XFc( z$UZ9Iyzr%GrgVq8+Gtg?l+;b4W2$s)BIhfXj*S=dkROeDs630QnRW(&A!P8 zaAtm|qMW$YTOd$U9XP-yt?1J+9@Gray}M#P_}O5ds?mHNi45Z z52^mpMFzMdUB(M|59o6 zQCt-D{aU%XluE}O|GgcluhRIP)T`ZU;$Q4yP#+?qi(kc@jlOWfLAT3NCG#Yu>UqV& zZdj*R7qOJmfcy>GP{`Km_kLaDjGz_!jKKhODvP#T#_9rP<=7QNXEm(X92iG_C^5$m zBKFV5Zw^|&D^xZwKB=i0fyyZ%stxyVwC10!yEl3Z`jXa<;kV)2?6KdZ-%IRPtsm(T zuIzTO3U;=&cvBo@Rv`)aJT$>0zE*u~~lJ4y~Se5;z&c zzUd#;Vo*JP|NIv}f3*!Ojl|MVsy&nJLze9txrM?(4F%w!+(&~})>?v;VRNh{V&4(i z8S1m$*;wdO1L^E939q(iKeZ>{ZuM0wgi?O}0)y~}t?t&H3%PMyjYn@*>9hCxe$AmtTssE&c>b~cDP#6?*6`A6gPc&k$iZ%=O?jZnH^@2@k{ zaGv@W>NpZqxR}g@B?p#V(Sol$9*~x(xR<}jB-~}wyx1tCjrJRtS1~EL@ofJhYP|6r zD<5w5U;vctS+sGEG2W_sU$uTF8^PCDdf=ap|k+^9eqml3a%(QAhA z*%eF3kI-JnlU3MU&Kg!Rs@`ihI+okT*-?yv8Uwig|4aSta~M`dC#eNy3`GgVjn6LQ`BGTIfReg7g0x(f**vnd0LTs{?XL1)lWc)s8j@98= z5gnfYw)8BaW+wo#)=2JOecAkVO~y`#>E-vz4$f|pZHMtWXGg?85rDaQya~SFCv%kwEV7`nn*~g99ZX06r`$j6>CTm zYO57HaTnI6X3U1Q~S&GZQEq@4FS;iQ+w%IVD*Q(Fs@iQ5{`-30Pvk%xwI##e2< z6d#J#iEZD@I%TjU-*0n`aa+wqV?|GYd?Oy(q&uUqY4&!ItQTCVyPS2$+vrQP?+a+b z#e%bB>QYp1$OyN99coo++)YJUB#HE<^=`oiXU%ljAURe3=(!{dO=Dd41G>qjt)#Gt zt)Y7__%iTy(gNB?8n}mX!V|AI80X%6Ht4`T5d0j4)1rC>%c4@`ia)ZZNk3X~^l(KZ zXFIy{>y6RQqD9|ar;_f2N9hFVm%-~;n8q~Z2QSO$A=>@^Xa@!22+>j4}-ly6h7>0!}_Lp$e{G1J#FxUuueXUb3@>#~# ztY!4QAo)VExxmOy3KY+P`dB5Wf6Q^W=AgKLwSbsYr?dI|@pM>)j&D_8M&;Fy_>@=T z6I_%`?P_TjLSE{k?ruWKL8MK*{bc&X?$sVjTDYS7}2F6+wSzmkt- zyA-K@EIzN$_M&~OO?3USHKYmb3>03&Bc=eiU++zH z>@PoP&62C;7U3YbkG)D$sq@=)=l3dsF zU`|>8S3194?bKm$iCRP6R*J2fgTMT|0A;TPNhltqaO%`QdGX4TC3MxH|F`zm#@S~q z%b6X_&x0JE2d+pC1|57-5ZH5ONxPxe`PuHvmo(?@%QKjPC2AhV%emr|RlQj95&Fpo zr-e=ezB5SW#cD_&@Hk~li5-; z4$^FlbY>E`2`@5d(NGt_cHgnRUTAf*cIn)Fup}Mw;)xXF*fxrHMC1y3y3G+4{Z+bK z53G>Irr|Jmw(CCOmB3x;EtLLrDRsEVn#EzRl&6rzD$Qd)LbeCEYGikW4&HAvxBIXA`Ri~yu`%D{=uDZTGT z^aod+OJzOnYff)tO}V>9uQhOQJQ!DU)V4r(4aH8x7REeLnde5@02Rd6mF62w zyri5hhts}B?b^f`iM?6#2wq_ll+l5h&sbA5pX>*E|KPo-&~RjX^AjADGih-1*w~Bf fjh~X -[Works on Arm][works-on-arm] (호스팅) - -Works on Arm - [IBM][ibm] (호스팅) [Fastly][fastly] (CDN) @@ -83,7 +79,6 @@ lang: ko [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ -[works-on-arm]: https://www.arm.com/markets/computing-infrastructure/works-on-arm [ibm]: https://www.ibm.com [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ diff --git a/zh_tw/about/website/index.md b/zh_tw/about/website/index.md index 9960655094..789c69403c 100644 --- a/zh_tw/about/website/index.md +++ b/zh_tw/about/website/index.md @@ -47,10 +47,6 @@ lang: zh_tw Heroku -[Works on Arm][works-on-arm] (網站托管) - -Works on Arm - [IBM][ibm] (網站托管) [Fastly][fastly] (CDN) @@ -78,7 +74,6 @@ lang: zh_tw [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ -[works-on-arm]: https://www.arm.com/markets/computing-infrastructure/works-on-arm [ibm]: https://www.ibm.com [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ From 29663a8d83d1b4265f9082bab05094f6ae8cd57d Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 1 Aug 2024 11:59:59 +0900 Subject: [PATCH 2296/2563] Add missing "vulnerability" to REXML related security announces --- en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md | 2 +- en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md index 5867f1a877..7d51393eca 100644 --- a/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md +++ b/en/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-35176: DoS in REXML" +title: "CVE-2024-35176: DoS vulnerability in REXML" author: "kou" translator: date: 2024-05-16 05:00:00 +0000 diff --git a/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md index 48e7c7a131..844edd5347 100644 --- a/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md +++ b/en/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-39908 : DoS in REXML" +title: "CVE-2024-39908: DoS vulnerability in REXML" author: "watson1978" translator: date: 2024-07-16 03:00:00 +0000 From 552a3c0690001cf8ef05063dc1b9ef450bbb199d Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 1 Aug 2024 12:04:38 +0900 Subject: [PATCH 2297/2563] Add CVE-2024-41123: DoS vulnerabilities in REXML --- .../2024-08-01-dos-rexml-cve-2024-41123.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 en/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md diff --git a/en/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md b/en/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md new file mode 100644 index 0000000000..d4d5e49bd9 --- /dev/null +++ b/en/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-41123: DoS vulnerabilities in REXML" +author: "kou" +translator: +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: en +--- + +There are some DoS vulnerabilities in REXML gem. These vulnerabilities have been assigned the CVE identifier [CVE-2024-41123](https://www.cve.org/CVERecord?id=CVE-2024-41123). We strongly recommend upgrading the REXML gem. + +## Details + +When parsing an XML document that has many specific characters such as whitespace character, `>]` and `]>`, REXML gem may take long time. + +Please update REXML gem to version 3.3.3 or later. + +## Affected versions + +* REXML gem 3.3.2 or prior + +## Credits + +Thanks to [mprogrammer](https://hackerone.com/mprogrammer) and [scyoon](https://hackerone.com/scyoon) for discovering these issues. + +## History + +* Originally published at 2024-08-01 03:00:00 (UTC) From 11a15d61d86552a4775b25b18e99130f587c3f1e Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 1 Aug 2024 12:08:50 +0900 Subject: [PATCH 2298/2563] Add CVE-2024-41946: DoS vulnerability in REXML --- .../2024-08-01-dos-rexml-cve-2024-41946.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 en/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md diff --git a/en/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md b/en/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md new file mode 100644 index 0000000000..34cad88476 --- /dev/null +++ b/en/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-41946: DoS vulnerability in REXML" +author: "kou" +translator: +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: en +--- + +There is a DoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier [CVE-2024-41946](https://www.cve.org/CVERecord?id=CVE-2024-41946). We strongly recommend upgrading the REXML gem. + +## Details + +When parsing an XML that has many entity expansions with SAX2 or pull parser API, REXML gem may take long time. + +Please update REXML gem to version 3.3.3 or later. + +## Affected versions + +* REXML gem 3.3.2 or prior + +## Credits + +Thanks to [NAITOH Jun](https://github.com/naitoh) for discovering and fixing this issue. + +## History + +* Originally published at 2024-08-01 03:00:00 (UTC) From 38adbd9db447bd20cb56db1963604c1bda9d3ef3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 02:14:00 +0000 Subject: [PATCH 2299/2563] Bump rexml from 3.3.2 to 3.3.3 Bumps [rexml](https://github.com/ruby/rexml) from 3.3.2 to 3.3.3. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.3.2...v3.3.3) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4f21b81428..eeaabeb19d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -131,7 +131,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.3.2) + rexml (3.3.3) strscan rouge (4.3.0) ruby-rc4 (0.1.5) From ac9edde94905e61c2193a064644f5a8aa0ba8b93 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 1 Aug 2024 23:23:46 +0800 Subject: [PATCH 2300/2563] Translate CVE 2024 41123 (zh_tw) --- .../2024-08-01-dos-rexml-cve-2024-41123.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md diff --git a/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md b/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md new file mode 100644 index 0000000000..800cd47f56 --- /dev/null +++ b/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-41123: DoS vulnerabilities in REXML" +author: "kou" +translator: "Bear Su" +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: zh_tw +--- + +在 REXML gem 發現了一些 DoS 漏洞。 +該漏洞的 CVE 編號為 [CVE-2024-41123](https://www.cve.org/CVERecord?id=CVE-2024-41123)。 +我們強烈建議您升級 REXML gem。 + +## 風險細節 + +當解析包含許多特定字元如空白字元、`>]`、和 `]>` 的 XML 文件時,REXML gem 可能會需要很長的處理時間。 + +請更新 REXML gem 至 3.3.3 或更新的版本。 + +## 受影響版本 + +* REXML gem 3.3.2 及更早版本 + +## 致謝 + +感謝 [mprogrammer](https://hackerone.com/mprogrammer) 和 [scyoon](https://hackerone.com/scyoon) 發現這些問題。 + +## 歷史 + +* 最初發布於 2024-08-01 03:00:00 (UTC) From b799fd6e2c6c6a2dfc6c1ef541f2726815b4660b Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 1 Aug 2024 23:23:56 +0800 Subject: [PATCH 2301/2563] Translate CVE 2024 41946 (zh_tw) --- .../2024-08-01-dos-rexml-cve-2024-41946.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md diff --git a/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md b/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md new file mode 100644 index 0000000000..dc3a4281a1 --- /dev/null +++ b/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-41946: DoS vulnerability in REXML" +author: "kou" +translator: "Bear Su" +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: zh_tw +--- + +在 REXML gem 發現了一個 DoS 漏洞。 +該漏洞的 CVE 編號為 [CVE-2024-41946](https://www.cve.org/CVERecord?id=CVE-2024-41946)。 +我們強烈建議您升級 REXML gem。 + +## 風險細節 + +當使用 SAX2 或是 pull parser API 解析包含許多 entity expansion 的 XML 時,REXML gem 可能會需要很長的處理時間。 + +請更新 REXML gem 至 3.3.3 或更新的版本。 + +## 受影響版本 + +* REXML gem 3.3.2 及更早版本 + +## 致謝 + +感謝 [NAITOH Jun](https://github.com/naitoh) 發現並修復此問題。 + +## 歷史 + +* 最初發布於 2024-08-01 03:00:00 (UTC) From feaf940a2cf87980716c0202719647fd82c38dbc Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 3 Aug 2024 09:27:29 +0900 Subject: [PATCH 2302/2563] Translate "DoS vulnerabilities in REXML" (ko) (#3334) * cp from origin posts * Tranlates 2024-08-01 dos rexml (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../2024-08-01-dos-rexml-cve-2024-41123.md | 29 +++++++++++++++++++ .../2024-08-01-dos-rexml-cve-2024-41946.md | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 ko/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md create mode 100644 ko/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md diff --git a/ko/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md b/ko/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md new file mode 100644 index 0000000000..d8efca8b1e --- /dev/null +++ b/ko/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-41123: REXML의 DoS 취약점" +author: "kou" +translator: "shia" +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: ko +--- + +REXML gem에서 DoS 취약점이 몇 개 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2024-41123](https://www.cve.org/CVERecord?id=CVE-2024-41123)으로 등록되었습니다. REXML gem 업그레이드를 강하게 추천합니다. + +## 세부 내용 + +공백 문자, `>]`, `]>`와 같은 특정 문자가 많이 포함된 XML 문서를 파싱할 때, REXML gem은 처리에 긴 시간이 걸립니다. + +REXML gem을 3.3.3이나 그 이상으로 업데이트하세요. + +## 해당 버전 + +* REXML gem 3.3.2와 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [mprogrammer](https://hackerone.com/mprogrammer)와 [scyoon](https://hackerone.com/scyoon)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-08-01 03:00:00 (UTC) 최초 공개 diff --git a/ko/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md b/ko/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md new file mode 100644 index 0000000000..0ab27c73d9 --- /dev/null +++ b/ko/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-41946: REXML의 DoS 취약점" +author: "kou" +translator: "shia" +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: ko +--- + +REXML gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2024-41946](https://www.cve.org/CVERecord?id=CVE-2024-41946)으로 등록되었습니다. REXML gem 업그레이드를 강하게 추천합니다. + +## 세부 내용 + +SAX2나 풀(pull) 파서 API로 많은 엔티티 확장을 포함하는 XML을 파싱할 때, REXML gem은 처리에 긴 시간이 걸립니다. + +REXML gem을 3.3.3이나 그 이상으로 업데이트하세요. + +## 해당 버전 + +* REXML gem 3.3.2와 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [NAITOH Jun](https://github.com/naitoh)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-08-01 03:00:00 (UTC) 최초 공개 From 5e44011be3862c05ce5ec7b9f81e99c2d5e837bb Mon Sep 17 00:00:00 2001 From: Anita Hammer <166057949+anitahammer@users.noreply.github.com> Date: Sun, 14 Jul 2024 15:02:52 +0100 Subject: [PATCH 2303/2563] Fix broken link --- en/documentation/faq/3/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/documentation/faq/3/index.md b/en/documentation/faq/3/index.md index 7d740be207..377778f896 100644 --- a/en/documentation/faq/3/index.md +++ b/en/documentation/faq/3/index.md @@ -189,7 +189,7 @@ Thanks to Anders Schneiderman for the basis of this description. {% include faq-out-of-date.html %} Is Tk installed correctly on your Windows box? Go to -[http://dev.scriptics.com/software/tcltk/](http://dev.scriptics.com/software/tcltk/) +[https://wiki.tcl-lang.org/page/Binary+Distributions](https://wiki.tcl-lang.org/page/Binary+Distributions#85b8647b1ec80c2fa1698c3c7e76204a944a95db2487347c51773f26b9dad6ae) to find a precompiled binary Tcl/Tk distribution for your box. Are the environment variables `TCL_LIBRARY` and `TK_LIBRARY` pointing to the From 670d94a37d66ba69ed764b280b285212c3641c37 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 6 Aug 2024 14:49:31 +0900 Subject: [PATCH 2304/2563] Update ko/documentation/faq/3/index.md (#3338) --- ko/documentation/faq/3/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/documentation/faq/3/index.md b/ko/documentation/faq/3/index.md index e001e4456b..521d2a55ad 100644 --- a/ko/documentation/faq/3/index.md +++ b/ko/documentation/faq/3/index.md @@ -184,7 +184,7 @@ rbcw 버전을 사용하려면 Cygwin의 .dll을 별도로 설치해야 합니 {% include faq-out-of-date.html %} -Windows에 Tk가 올바르게 설치되었나요? 로 +Windows에 Tk가 올바르게 설치되었나요? [https://wiki.tcl-lang.org/page/Binary+Distributions](https://wiki.tcl-lang.org/page/Binary+Distributions#85b8647b1ec80c2fa1698c3c7e76204a944a95db2487347c51773f26b9dad6ae)로 이동하여 해당 운영 체제에 대해 미리 컴파일된 Tcl/Tk 바이너리 배포판을 찾아보세요. 환경 변수 `TCL_LIBRARY` 및 `TK_LIBRARY`가 tcl 및 tk가 포함된 디렉터리를 가리키고 From b40b11fc0d97e4f0189789680fe3d6fce65ea215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 6 Aug 2024 04:00:24 -0400 Subject: [PATCH 2305/2563] Translation of the news of July 2024 (es) (#3339) * Translation of the news of July 2024 (es) * Fix whitespace * Fix lang --- .../_posts/2024-07-09-ruby-3-3-4-released.md | 68 +++++++++++++++++++ .../2024-07-16-dos-rexml-cve-2024-39908.md | 34 ++++++++++ .../_posts/2024-07-26-ruby-3-2-5-released.md | 48 +++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 es/news/_posts/2024-07-09-ruby-3-3-4-released.md create mode 100644 es/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md create mode 100644 es/news/_posts/2024-07-26-ruby-3-2-5-released.md diff --git a/es/news/_posts/2024-07-09-ruby-3-3-4-released.md b/es/news/_posts/2024-07-09-ruby-3-3-4-released.md new file mode 100644 index 0000000000..12ace2cbba --- /dev/null +++ b/es/news/_posts/2024-07-09-ruby-3-3-4-released.md @@ -0,0 +1,68 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.4" +author: "k0kubun" +translator: vtamara +date: 2024-07-09 00:30:00 +0000 +lang: es +--- + +Ruby 3.3.4 ha sido publicado. + +Esta versión corrige una regresión en Ruby 3.3.3 de dependencias +que faltaban en el gemspec de algunas gemas incluidas: `net-pop`, +`net-ftp`, `net-imap`, y `prime` +[[Falla #20581]](https://bugs.ruby-lang.org/issues/20581). + +Esta corrección permite que Bundler instale correctamente esas gemas +en plataformas como Heroku. + +Si `bundle install` le opera correctamente, puede que no tenga +esta falla. + +Otros cambios son correcciones a fallas menores. +Por favor ver detalles en [la publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_4). + +## Calendario de publicación + +Para avanzar, queremos publicar una nueva versión de Ruby estable +(en este momento Ruby 3.3) cada 2 meses después de la versión `.1`. +En el caso de Ruby 3.3, la versión 3.3.5 se supone que debe ser +liberada el 3 de Septiembre, 3.3.6 el 5 de noviembre, y la +3.3.7 el 7 de Enero. + +Si hay algún cambio que afecte a una cantidad considerable de personas, +e.g. para esta versión, los usuarios de Ruby 3.3.3 en Heroku, +liberaremos una nueva versión antes de lo planeado. + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.3.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentario de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a hacer esta versión. + +Gracias por sus contribuciones. diff --git a/es/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/es/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md new file mode 100644 index 0000000000..f61893ce22 --- /dev/null +++ b/es/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2024-39908: Vulnerabilidad de Denegación de Servicio (DoS) en REXML" +author: "watson1978" +translator: vtamara +date: 2024-07-16 03:00:00 +0000 +tags: security +lang: es +--- + +Hay una vulnerabilidad de denegación de servicio (DoS) en la gema REXML. +A esta vulnerabilidad se le ha asignado el identificador CVE +[CVE-2024-39908](https://www.cve.org/CVERecord?id=CVE-2024-39908). +Recomendamos enfáticamente actualizar la gema REXML. + +## Detalles + +Cuando analiza un XML que tiene caracteres específicos como +`<`, `0` y `%>`, la gema REXML puede tardar mucho tiempo. + +Por favor actualice la gema REXML a la versión 3.3.2 o posterior. + +## Versiones afectadas + +* Gema REXML 3.3.1 y previas. + +## Créditos + +Agradecemos a [mprogrammer](https://hackerone.com/mprogrammer) +por descrubir este problema. + +## Historia + +* Publicado originalmente el 2024-07-16 03:00:00 (UTC) diff --git a/es/news/_posts/2024-07-26-ruby-3-2-5-released.md b/es/news/_posts/2024-07-26-ruby-3-2-5-released.md new file mode 100644 index 0000000000..cc809b0283 --- /dev/null +++ b/es/news/_posts/2024-07-26-ruby-3-2-5-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Publicado Ruby 3.2.5" +author: "nagachika" +translator: vtamara +date: 2024-07-26 10:00:00 +0000 +lang: es +--- + +Ruby 3.2.5 ha sido publicado. + +Esta versión incluye muchas correcciones a fallas. +Y actualizamos la versión de la gema incluida `rexml` para incorporar +la corrección a la falla de seguridad +[CVE-2024-39908 : Denegación de servicio (DoS) en REXML]({%link es/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}). + +Por favor vea detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_5). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.2.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentarios de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de fallas nos ayudaron a hacer esta versión. + +Gracias por sus contribuciones. From a353b11759aacd7eb1e6a74862c18aacecf85586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 6 Aug 2024 04:30:21 -0400 Subject: [PATCH 2306/2563] Translate news of 1st august 2024 (#3340) --- .../2024-08-01-dos-rexml-cve-2024-41123.md | 36 ++++++++++++++++++ .../2024-08-01-dos-rexml-cve-2024-41946.md | 38 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 es/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md create mode 100644 es/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md diff --git a/es/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md b/es/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md new file mode 100644 index 0000000000..24f6454fe2 --- /dev/null +++ b/es/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md @@ -0,0 +1,36 @@ +--- +layout: news_post +title: "CVE-2024-41123: vulnerabilidad de denegación de servicio (DoS) en REXML" +author: "kou" +translator: vtamara +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: es +--- + +Hay algunas vulnerabilidades de denegación de servicio en la gema +REXML. +A estas vulnerabilidades se les ha asignado el identificador CVE +[CVE-2024-41123](https://www.cve.org/CVERecord?id=CVE-2024-41123). +Recomendamos enfáticamente actualizar la gema REXML. + +## Detalles + +Cuando analiza un documento XML que tiene muchos caracteres específicos +como espacio en blanco, `>]` y `]>`, la gema REXML puede tardar mucho +tiempo. + +Por favor actualice la gema REXML a la versión 3.3.3 o posterior. + +## Versiones afectadas + +* Gema REXML 3.3.2 o anterior + +## Créditos + +Agradecemos a [mprogrammer](https://hackerone.com/mprogrammer) y +[scyoon](https://hackerone.com/scyoon) por descubrir estos problemas. + +## Historia + +* Publicado originalmente el 2024-08-01 03:00:00 (UTC) diff --git a/es/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md b/es/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md new file mode 100644 index 0000000000..350980ddce --- /dev/null +++ b/es/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2024-41946: Vulnerabilidad de denegación de servicio en REXML" +author: "kou" +translator: vtamara +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: es +--- + + +Hay una vulnerabilidad de denegación de servicio en la gema +REXML. +A esta vulnerabilidad se le ha asignado el identificador CVE +[CVE-2024-41946](https://www.cve.org/CVERecord?id=CVE-2024-41946). + +Recomendamos enfáticamente actualizar la gema REXML. + + +## Detalles + +Cuando analiza un XML que tiene muchas expansiones de entidades con SAX2 +o la API de analizar, la gema REXML puede tardar mucho tiempo. + +Por favor actualice la gema REXML a la version 3.3.3 o posterior. + +## Versiones afectadas + +* Gema REXML 3.3.2 y anteriores + +## Créditos + +Agradecemos a [NAITOH Jun](https://github.com/naitoh) por descubrir y +resolver este problema. + +## Historia + +* Publicado originalmente el 2024-08-01 03:00:00 (UTC) From 938b6611254dd9646a53e17a163f3c45a13e5552 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 7 Aug 2024 14:35:36 +0900 Subject: [PATCH 2307/2563] Create release draft with erb --- lib/draft-release.rb | 10 ++++++++++ lib/release-templete.erb | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 lib/draft-release.rb create mode 100644 lib/release-templete.erb diff --git a/lib/draft-release.rb b/lib/draft-release.rb new file mode 100644 index 0000000000..9760fb3a05 --- /dev/null +++ b/lib/draft-release.rb @@ -0,0 +1,10 @@ +require "erb" + +template = File.read("lib/release-template.erb") +version = ARGV[0] || "3.3.4" + +output_path = "en/news/_posts/#{Time.now.strftime("%Y-%m-%d")}-#{version.gsub(/\./, "-")}-released.md" + +File.open(output_path, "w") do |file| + file.write ERB.new(template).result(binding) +end diff --git a/lib/release-templete.erb b/lib/release-templete.erb new file mode 100644 index 0000000000..067e651799 --- /dev/null +++ b/lib/release-templete.erb @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby <%= version %> Released" +author: +translator: +date: <%= Time.now %> +lang: en +--- + +Ruby <%= version %> has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v<%= version.gsub(/\./, '_') %>) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "<%= version %>" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 8dfe5240e69e3a08b62cdbb009a9abb7569a4197 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 7 Aug 2024 14:53:51 +0900 Subject: [PATCH 2308/2563] Added GitHub Actions for release draft --- .github/workflows/draft-release.yml | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/draft-release.yml diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml new file mode 100644 index 0000000000..da662597c8 --- /dev/null +++ b/.github/workflows/draft-release.yml @@ -0,0 +1,45 @@ +name: Create draft release + +on: + repository_dispatch: + types: + - release + workflow_dispatch: + inputs: + version: + description: 'Version of the Ruby package to release' + required: true + default: '3.3.4' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.3.4 + + - name: Generate draft release entry + run: | + ruby lib/draft-release.rb ${{ github.event.client_payload.version || github.event.inputs.version }} + + - name: Create Commit + run: | + git config user.name "GitHub Actions Bot" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add . + git commit -m "Create release for ${{ github.event.client_payload.version || github.event.inputs.version }}" + env: + GITHUB_TOKEN: ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }} + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v6 + with: + token: ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }} + branch: releases/${{ github.event.client_payload.version || github.event.inputs.version }} + delete-branch: true + title: "Create release for ${{ github.event.client_payload.version || github.event.inputs.version }}" + body: "This is an automated pull request to create a release" + draft: true From 51bf0765763fb9212e237e1a32173ac292f02fcf Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 7 Aug 2024 15:53:42 +0900 Subject: [PATCH 2309/2563] typofix --- lib/{release-templete.erb => release-template.erb} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename lib/{release-templete.erb => release-template.erb} (100%) diff --git a/lib/release-templete.erb b/lib/release-template.erb similarity index 100% rename from lib/release-templete.erb rename to lib/release-template.erb From f806c6d5fb4c382ab7d4d7b2faae9b8648144992 Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Thu, 8 Aug 2024 16:57:36 +0800 Subject: [PATCH 2310/2563] Translate CVE-2024-41123, CVE-2024-41946 (zh_cn) (#3337) --- .../2024-08-01-dos-rexml-cve-2024-41123.md | 29 +++++++++++++++++++ .../2024-08-01-dos-rexml-cve-2024-41946.md | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 zh_cn/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md create mode 100644 zh_cn/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md diff --git a/zh_cn/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md b/zh_cn/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md new file mode 100644 index 0000000000..0d4dfa9dbf --- /dev/null +++ b/zh_cn/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-41123: REXML 中的 DoS 漏洞" +author: "kou" +translator: "GAO Jun" +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: zh_cn +--- + +REXML gem 中存在多个 DoS 漏洞。此漏洞的 CVE 编号为 [CVE-2024-41123](https://www.cve.org/CVERecord?id=CVE-2024-41123)。我们强烈建议您更新 REXML gem。 + +## 详情 + +当要处理的 XML 文档中存在很多特定字符时(如空格、`>]` 和 `]>`),REXML gem 可能会花费很长时间。 + +请更新 REXML gem 至 3.3.3 或更高版本。 + +## 受影响版本 + +* REXML gem 3.3.2 或更低版本 + +## 致谢 + +感谢 [mprogrammer](https://hackerone.com/mprogrammer) 和 [scyoon](https://hackerone.com/scyoon) 发现此问题 + +## 历史 + +* 最初发布于 2024-08-01 03:00:00 (UTC) diff --git a/zh_cn/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md b/zh_cn/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md new file mode 100644 index 0000000000..7ea4c504e5 --- /dev/null +++ b/zh_cn/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-41946: REXML 中的 DoS 漏洞" +author: "kou" +translator: "GAO Jun" +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: zh_cn +--- + +REXML gem 中存在 DoS 漏洞。此漏洞的 CVE 编号为 [CVE-2024-41946](https://www.cve.org/CVERecord?id=CVE-2024-41946)。我们强烈建议您更新 REXML gem。 + +## 详情 + +当使用 SAX2 或 拉取解析器 API 解析具有许多实体扩展的 XML 时,REXML gem 可能需要很长时间。 + +请更新 REXML gem 至 3.3.3 或更高版本。 + +## 受影响版本 + +* REXML gem 3.3.2 或更低版本 + +## 致谢 + +感谢 [NAITOH Jun](https://github.com/naitoh) 发现此问题。 + +## 历史 + +* 最初发布于 2024-08-01 03:00:00 (UTC) From d15fe2a56360f14878122b8d016d3c532a35c3d6 Mon Sep 17 00:00:00 2001 From: John Gallagher Date: Sat, 17 Aug 2024 18:07:52 +0100 Subject: [PATCH 2311/2563] fix: correct URL for Remote Ruby --- en/community/podcasts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/community/podcasts/index.md b/en/community/podcasts/index.md index f33dabbf85..f8b3775f06 100644 --- a/en/community/podcasts/index.md +++ b/en/community/podcasts/index.md @@ -30,6 +30,6 @@ wisdom to share, get in touch with the creators of these shows. You can also start your own Ruby podcast and get added to this list! [rooftop_ruby]: https://www.rooftopruby.com -[remote_ruby]: https://remoteruby.transistor.fm/ +[remote_ruby]: https://www.remoteruby.com [rorpodcast]: https://www.therubyonrailspodcast.com [rogues]: https://rubyrogues.com From 75fc7453dec9cf9257458e15a3cb875646f16ec3 Mon Sep 17 00:00:00 2001 From: Yoshikazu Takata Date: Thu, 8 Aug 2024 15:54:25 +0900 Subject: [PATCH 2312/2563] Translate "Ruby 3.1.6 Released" (ja) --- .../_posts/2024-05-29-ruby-3-1-6-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ja/news/_posts/2024-05-29-ruby-3-1-6-released.md diff --git a/ja/news/_posts/2024-05-29-ruby-3-1-6-released.md b/ja/news/_posts/2024-05-29-ruby-3-1-6-released.md new file mode 100644 index 0000000000..26db09db33 --- /dev/null +++ b/ja/news/_posts/2024-05-29-ruby-3-1-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.1.6 リリース" +author: "hsbt" +translator: "teeta32" +date: 2024-05-29 9:00:00 +0000 +lang: ja +--- + +Ruby 3.1.6 がリリースされました。 + +現在、Ruby 3.1 系列はセキュリティメンテナンスフェーズのため、通常は脆弱性の修正のみ行います。しかし、Ruby 3.1.5 のリリース後に Ruby のビルドに失敗する問題がいくつか生じたため、この問題を修正する Ruby 3.1.6 がリリースされました。 + +詳しくは以下の記事を参照してください。 + +* [Bug #20151: Can't build Ruby 3.1 on FreeBSD 14.0](https://bugs.ruby-lang.org/issues/20151) +* [Bug #20451: Bad Ruby 3.1.5 backport causes fiddle to fail to build](https://bugs.ruby-lang.org/issues/20451) +* [Bug #20431: Ruby 3.3.0 build fail with make: *** \[io_buffer.o\] Error 1](https://bugs.ruby-lang.org/issues/20431) + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_6) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.1.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From ae483cd4265a25fee55ae2659876c8c4beb0b366 Mon Sep 17 00:00:00 2001 From: 01hayakawa <01hayakawa@netlab.jp> Date: Fri, 9 Aug 2024 10:24:32 +0900 Subject: [PATCH 2313/2563] Translate Datadog provides OSS community support for ruby-lang.org (ja) --- .../_posts/2024-05-30-datadog-oss-program.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ja/news/_posts/2024-05-30-datadog-oss-program.md diff --git a/ja/news/_posts/2024-05-30-datadog-oss-program.md b/ja/news/_posts/2024-05-30-datadog-oss-program.md new file mode 100644 index 0000000000..55c071aaf2 --- /dev/null +++ b/ja/news/_posts/2024-05-30-datadog-oss-program.md @@ -0,0 +1,30 @@ +--- +layout: news_post +title: "Datadogがruby-lang.orgに対してOSSコミュニティサポートを提供" +author: "hsbt" +translator: "01hayakawa" +date: 2024-05-30 00:00:00 +0000 +lang: ja +--- + +Rubyの公式サイトであるruby-lang.orgが、[Datadog OSSコミュニティサポート](https://opensource.datadoghq.com/projects/oss-program/)によりモニタリングにDatadogを採用しました。 + +これにより、サイトのパフォーマンスと可用性をリアルタイムで効果的に監視することができます。Datadogを使用する主な利点は以下の通りです。 + +## CDNの可視性 + +Fastlyが提供するcache.ruby-lang.orgは、Rubyエコシステムの最も重要なインフラです。DatadogはContent Delivery Network (CDN)のパフォーマンスを監視することができます。キャッシュカバレッジ、エラー率を追跡し、ユーザ体験を向上させます。 + +## 統一されたデータビジュアライゼーション + +ruby-lang.orgにはさまざまなWebサービスが存在します。Datadogを使用することで、ログ分析データをメトリクスやアプリケーションパフォーマンス監視(APM)データと同じダッシュボードで視覚化することができます。 + +## JITトレースの可視化 + +Datadogのトレース機能を活用することで、リクエストがWebサーバーやデータベースを通過する際のトレースをキャプチャできます。 +これはボトルネックや問題のあるリクエストを特定するのに役立ちます。 + +主要なメトリクスの[公開ダッシュボード](https://p.ap1.datadoghq.com/sb/1271b83e-af90-11ee-9072-da7ad0900009-01633a8fa8c0b0c0051f1889afdf55dc)を公開しました。 +ダッシュボードは、モニタリングの改善を続けながら随時更新していきます。特に、YJITのパフォーマンスモニタリングに注力する予定です。 + +今回のDatadogの採用が、Rubyコミュニティのサイトパフォーマンスの向上に寄与することを期待しています。引き続きruby-lang.orgをご利用いただき、より快適なユーザ体験をお楽しみください。 From 6ae1fa7834eba933d5be5cabe45756322be2b70d Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 20 Aug 2024 05:38:42 +0900 Subject: [PATCH 2314/2563] Follow up "Remote Ruby podcast link is broken" on others (#3346) --- id/community/podcasts/index.md | 2 +- ko/community/podcasts/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/id/community/podcasts/index.md b/id/community/podcasts/index.md index 1fab7ea77a..5696d7ca02 100644 --- a/id/community/podcasts/index.md +++ b/id/community/podcasts/index.md @@ -31,6 +31,6 @@ Anda juga dapat memulai *podcast* Ruby sendiri and menambahkan pada daftar berikut! [rooftop_ruby]: https://www.rooftopruby.com -[remote_ruby]: https://remoteruby.transistor.fm/ +[remote_ruby]: https://www.remoteruby.com [rorpodcast]: https://www.therubyonrailspodcast.com [rogues]: https://rubyrogues.com diff --git a/ko/community/podcasts/index.md b/ko/community/podcasts/index.md index bdcbf68b67..c043abe4c5 100644 --- a/ko/community/podcasts/index.md +++ b/ko/community/podcasts/index.md @@ -30,6 +30,6 @@ Ruby와 Ruby 커뮤니티에 대한 뉴스, 인터뷰, 토론을 들어보세요 당신의 Ruby 팟캐스트를 시작하고 이 목록에 추가할 수도 있습니다! [rooftop_ruby]: https://www.rooftopruby.com -[remote_ruby]: https://remoteruby.transistor.fm/ +[remote_ruby]: https://www.remoteruby.com [rorpodcast]: https://www.therubyonrailspodcast.com [rogues]: https://rubyrogues.com From 92ea9b2821c82a5041c3abea91d3696e89e50f1f Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 22 Aug 2024 10:46:36 +0900 Subject: [PATCH 2315/2563] Add CVE-2024-43398: DoS vulnerability in REXML --- .../2024-08-22-dos-rexml-cve-2024-43398.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md diff --git a/en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md new file mode 100644 index 0000000000..c2118b4d93 --- /dev/null +++ b/en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-43398: DoS vulnerability in REXML" +author: "kou" +translator: +date: 2024-08-22 03:00:00 +0000 +tags: security +lang: en +--- + +There is a DoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier [CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398). We strongly recommend upgrading the REXML gem. + +## Details + +When parsing an XML that has many deep elements that have same local name attributes. + +It's only affected with the tree parser API. If you're using `REXML::Document.new` to parse an XML, you may be affected. + +Please update REXML gem to version 3.3.6 or later. + +## Affected versions + +* REXML gem 3.3.5 or prior + +## Credits + +Thanks to [l33thaxor](https://hackerone.com/l33thaxor) for discovering this issue. + +## History + +* Originally published at 2024-08-22 03:00:00 (UTC) From bcc7cdb4007261d0c7d8d1ce3b1f74fdd0ccb1e5 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 22 Aug 2024 16:55:04 +0800 Subject: [PATCH 2316/2563] Translate CVE 2024 43398 (zh_tw) --- .../2024-08-22-dos-rexml-cve-2024-43398.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md diff --git a/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md new file mode 100644 index 0000000000..e0f4adfd04 --- /dev/null +++ b/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -0,0 +1,33 @@ +--- +layout: news_post +title: "CVE-2024-43398: DoS vulnerability in REXML" +author: "kou" +translator: "Bear Su" +date: 2024-08-22 03:00:00 +0000 +tags: security +lang: zh_tw +--- + +在 REXML gem 發現了一個 DoS 漏洞。 +該漏洞的 CVE 編號為 [CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398)。 +我們強烈建議您升級 REXML gem。 + +## 風險細節 + +當解析的 XML 擁有許多深層級的元素,並且這些元素有相同的名稱屬性時。 + +此風險只有影響到 Tree 解析 API。如果您正在使用 `REXML::Document.new` 解析 XML,您可能會受到影響。 + +請更新 REXML gem 至 3.3.6 或更新的版本。 + +## 受影響版本 + +* REXML gem 3.3.5 及更早版本 + +## 致謝 + +感謝 [l33thaxor](https://hackerone.com/l33thaxor) 發現此問題。 + +## 歷史 + +* 最初發布於 2024-08-22 03:00:00 (UTC) From cfbdcceafcd8adabcbb009db17221bc7aa845394 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 20:50:34 +0000 Subject: [PATCH 2317/2563] Bump rexml from 3.3.3 to 3.3.6 Bumps [rexml](https://github.com/ruby/rexml) from 3.3.3 to 3.3.6. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.3.3...v3.3.6) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index eeaabeb19d..b743d2083b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -131,7 +131,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.3.3) + rexml (3.3.6) strscan rouge (4.3.0) ruby-rc4 (0.1.5) From fc28dfae615ff78b9d372612c1ef9cccba4cec4d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 23 Aug 2024 12:05:15 +0900 Subject: [PATCH 2318/2563] bundle up --bundler --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index b743d2083b..aada939bb3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -215,4 +215,4 @@ DEPENDENCIES validate-website (~> 1.6) BUNDLED WITH - 2.5.13 + 2.5.17 From 58612d9d8a8d20636c3de94a864c47cee5439e3b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 23 Aug 2024 12:05:34 +0900 Subject: [PATCH 2319/2563] update bundles --- Gemfile.lock | 90 ++++++++++++++++++++++++++-------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index aada939bb3..ea21f009ba 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,18 +2,18 @@ GEM remote: https://rubygems.org/ specs: Ascii85 (1.1.1) - addressable (2.8.6) - public_suffix (>= 2.0.2, < 6.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) afm (0.2.2) - async (2.12.0) - console (~> 1.25, >= 1.25.2) + async (2.15.3) + console (~> 1.26) fiber-annotation - io-event (~> 1.6) + io-event (~> 1.6, >= 1.6.5) base64 (0.2.0) bigdecimal (3.1.8) colorator (1.1.0) - concurrent-ruby (1.3.3) - console (1.25.2) + concurrent-ruby (1.3.4) + console (1.27.0) fiber-annotation fiber-local (~> 1.1) json @@ -38,24 +38,24 @@ GEM fiber-annotation (0.2.0) fiber-local (1.1.0) fiber-storage - fiber-storage (0.1.2) + fiber-storage (1.0.0) forwardable-extended (2.6.0) - google-protobuf (4.27.1) + google-protobuf (4.27.3) bigdecimal rake (>= 13) - google-protobuf (4.27.1-aarch64-linux) + google-protobuf (4.27.3-aarch64-linux) bigdecimal rake (>= 13) - google-protobuf (4.27.1-arm64-darwin) + google-protobuf (4.27.3-arm64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.27.1-x86-linux) + google-protobuf (4.27.3-x86-linux) bigdecimal rake (>= 13) - google-protobuf (4.27.1-x86_64-darwin) + google-protobuf (4.27.3-x86_64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.27.1-x86_64-linux) + google-protobuf (4.27.3-x86_64-linux) bigdecimal rake (>= 13) hashery (2.1.2) @@ -71,7 +71,7 @@ GEM http_parser.rb (0.8.0) i18n (1.14.5) concurrent-ruby (~> 1.0) - io-event (1.6.4) + io-event (1.6.5) jekyll (4.3.3) addressable (~> 2.4) colorator (~> 1.0) @@ -102,18 +102,18 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - minitest (5.23.1) - nokogiri (1.16.6-aarch64-linux) + minitest (5.25.1) + nokogiri (1.16.7-aarch64-linux) racc (~> 1.4) - nokogiri (1.16.6-arm-linux) + nokogiri (1.16.7-arm-linux) racc (~> 1.4) - nokogiri (1.16.6-arm64-darwin) + nokogiri (1.16.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.16.6-x86-linux) + nokogiri (1.16.7-x86-linux) racc (~> 1.4) - nokogiri (1.16.6-x86_64-darwin) + nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) - nokogiri (1.16.6-x86_64-linux) + nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) @@ -124,8 +124,8 @@ GEM hashery (~> 2.0) ruby-rc4 ttfunk - public_suffix (5.1.0) - racc (1.8.0) + public_suffix (6.0.1) + racc (1.8.1) rainbow (3.1.1) rake (13.2.1) rb-fsevent (0.11.2) @@ -136,26 +136,26 @@ GEM rouge (4.3.0) ruby-rc4 (0.1.5) safe_yaml (1.0.5) - sass-embedded (1.77.5-aarch64-linux-gnu) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-aarch64-linux-musl) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-arm-linux-gnueabihf) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-arm-linux-musleabihf) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-arm64-darwin) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-x86-linux-gnu) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-x86-linux-musl) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-x86_64-darwin) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-x86_64-linux-gnu) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.5-x86_64-linux-musl) - google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.8-aarch64-linux-gnu) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-aarch64-linux-musl) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-arm-linux-gnueabihf) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-arm-linux-musleabihf) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-arm64-darwin) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86-linux-gnu) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86-linux-musl) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86_64-darwin) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86_64-linux-gnu) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86_64-linux-musl) + google-protobuf (~> 4.26) slop (4.10.1) spidr (0.7.1) nokogiri (~> 1.3) @@ -184,7 +184,7 @@ GEM rexml (~> 3.2) webrick (1.8.1) yell (2.2.2) - zeitwerk (2.6.16) + zeitwerk (2.6.17) PLATFORMS aarch64-linux From 933bab753d114f4ec4751eac9bb81241eb1b6189 Mon Sep 17 00:00:00 2001 From: nagachika Date: Mon, 19 Aug 2024 20:32:04 +0900 Subject: [PATCH 2320/2563] Removed a CVE link that was added by mistake in ruby-3.2.4 release announces. --- en/news/_posts/2024-04-23-ruby-3-2-4-released.md | 1 - ja/news/_posts/2024-04-23-ruby-3-2-4-released.md | 1 - 2 files changed, 2 deletions(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md index cfc236f314..0b93cd45f4 100644 --- a/en/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -14,7 +14,6 @@ Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_4) for further details. diff --git a/ja/news/_posts/2024-04-23-ruby-3-2-4-released.md b/ja/news/_posts/2024-04-23-ruby-3-2-4-released.md index e82ab04b62..f9fe35204e 100644 --- a/ja/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/ja/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -14,7 +14,6 @@ Ruby 3.2.4 がリリースされました。 * [CVE-2024-27282: 正規表現検索における任意のメモリアドレス読み取りの脆弱性]({%link ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RDoc 内の .rdoc_options におけるRCE 脆弱性]({%link ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: StringIOにおけるバッファーオーバーリード脆弱性]({%link ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) 詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_4) を参照してください。 From 5ff24041faebbcc2e4f6b771945e8199c6e169a3 Mon Sep 17 00:00:00 2001 From: nagachika Date: Mon, 19 Aug 2024 20:37:54 +0900 Subject: [PATCH 2321/2563] Removed a unrelated CVE link that was added by mistake in ruby-3.2.4 release announces. --- es/news/_posts/2024-04-23-ruby-3-2-4-released.md | 1 - ko/news/_posts/2024-04-23-ruby-3-2-4-released.md | 1 - zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md | 1 - zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md | 1 - 4 files changed, 4 deletions(-) diff --git a/es/news/_posts/2024-04-23-ruby-3-2-4-released.md b/es/news/_posts/2024-04-23-ruby-3-2-4-released.md index 0a84215266..db96250759 100644 --- a/es/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/es/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -14,7 +14,6 @@ revise detalles en los temas siguientes. * [CVE-2024-27282: Lectura de direcciones de memoria arbitrarias al buscar Regex]({%link es/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: Vulnerabilidad RCE con .rdoc_options en RDoc](https://www.ruby-lang.org/es/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: Vulnerabilidad de sobre-lectura de buffer en StringIO](https://www.ruby-lang.org/es/news/2024/03/21/buffer-overread-cve-2024-27280/) Ver más detalles en la [publicación en Github](https://github.com/ruby/ruby/releases/tag/v3_2_4). diff --git a/ko/news/_posts/2024-04-23-ruby-3-2-4-released.md b/ko/news/_posts/2024-04-23-ruby-3-2-4-released.md index ef443be67c..ac30b6e203 100644 --- a/ko/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/ko/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -14,7 +14,6 @@ Ruby 3.2.4가 릴리스되었습니다. * [CVE-2024-27282: 정규표현식 검색의 임의의 메모리 주소 읽기 취약점]({%link ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RDoc에서 .rdoc_options 사용 시의 RCE 취약점]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: StringIO에서 버퍼 초과 읽기 취약점]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) 자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_4)를 참조하세요. diff --git a/zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md b/zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md index acefb845c3..dace0fbe73 100644 --- a/zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/zh_cn/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -14,7 +14,6 @@ Ruby 3.2.4 已发布。 * [CVE-2024-27282: Regex 搜索中的任意地址读取漏洞]({%link zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: StringIO 中的缓存过读漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/buffer-overread-cve-2024-27280/) 您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_2_4) 获取进一步信息。 diff --git a/zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md b/zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md index 65b0f723bf..c55e7c0866 100644 --- a/zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md +++ b/zh_tw/news/_posts/2024-04-23-ruby-3-2-4-released.md @@ -14,7 +14,6 @@ Ruby 3.2.4 已經發布了。 * [CVE-2024-27282: Regex 搜尋的任意記憶體位址讀取漏洞]({%link zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: StringIO 中的緩衝區 overread 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/buffer-overread-cve-2024-27280/) 詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_2_4)。 From 57eee1f899980fde1ee3e6be3c16089c347cf53c Mon Sep 17 00:00:00 2001 From: nagachika Date: Sun, 25 Aug 2024 12:07:47 +0900 Subject: [PATCH 2322/2563] Removed a unrelated CVE link that was added by mistake in ruby-3.3.1 release announces. --- en/news/_posts/2024-04-23-ruby-3-3-1-released.md | 1 - ja/news/_posts/2024-04-23-ruby-3-3-1-released.md | 1 - ko/news/_posts/2024-04-23-ruby-3-3-1-released.md | 1 - zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md | 1 - zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md | 1 - 5 files changed, 5 deletions(-) diff --git a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md index 3cd8cafe15..1119d572ed 100644 --- a/en/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/en/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -14,7 +14,6 @@ Please check the topics below for details. * [CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search]({%link en/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc]({%link en/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: Buffer overread vulnerability in StringIO]({%link en/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_1) for further details. diff --git a/ja/news/_posts/2024-04-23-ruby-3-3-1-released.md b/ja/news/_posts/2024-04-23-ruby-3-3-1-released.md index 94a32eddab..94ac592d00 100644 --- a/ja/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/ja/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -14,7 +14,6 @@ Ruby 3.3.1 がリリースされました。 * [CVE-2024-27282: 正規表現検索における任意のメモリアドレス読み取りの脆弱性]({%link ja/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RDoc 内の .rdoc_options におけるRCE 脆弱性]({%link ja/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: StringIOにおけるバッファーオーバーリード脆弱性]({%link ja/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) 詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_1) を参照してください。 diff --git a/ko/news/_posts/2024-04-23-ruby-3-3-1-released.md b/ko/news/_posts/2024-04-23-ruby-3-3-1-released.md index aeeec8afc6..05b4b2e137 100644 --- a/ko/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/ko/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -14,7 +14,6 @@ Ruby 3.3.1이 릴리스되었습니다. * [CVE-2024-27282: 정규표현식 검색의 임의의 메모리 주소 읽기 취약점]({%link ko/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RDoc에서 .rdoc_options 사용 시의 RCE 취약점]({%link ko/news/_posts/2024-03-21-rce-rdoc-cve-2024-27281.md %}) -* [CVE-2024-27280: StringIO에서 버퍼 초과 읽기 취약점]({%link ko/news/_posts/2024-03-21-buffer-overread-cve-2024-27280.md %}) 자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_3_1)를 참조하세요. diff --git a/zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md b/zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md index 5fbd3e8c1e..bddf2004a4 100644 --- a/zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/zh_cn/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -14,7 +14,6 @@ Ruby 3.3.1 已发布。 * [CVE-2024-27282: Regex 搜索中的任意地址读取漏洞]({%link zh_cn/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: StringIO 中的缓存过读漏洞](https://www.ruby-lang.org/zh_cn/news/2024/03/21/buffer-overread-cve-2024-27280/) 您可以通过 [发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_1) 获取进一步信息。 diff --git a/zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md b/zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md index c126baf3b1..602a74100e 100644 --- a/zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md +++ b/zh_tw/news/_posts/2024-04-23-ruby-3-3-1-released.md @@ -14,7 +14,6 @@ Ruby 3.3.1 已經發布了。 * [CVE-2024-27282: Regex 搜尋的任意記憶體位址讀取漏洞]({%link zh_tw/news/_posts/2024-04-23-arbitrary-memory-address-read-regexp-cve-2024-27282.md %}) * [CVE-2024-27281: RDoc 中 .rdoc_options 的 RCE 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/rce-rdoc-cve-2024-27281/) -* [CVE-2024-27280: StringIO 中的緩衝區 overread 漏洞](https://www.ruby-lang.org/zh_tw/news/2024/03/21/buffer-overread-cve-2024-27280/) 詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_1)。 From 7a8287cb16ddc838736c92d9b48db22f7c55ee3a Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 27 Aug 2024 18:11:32 +0900 Subject: [PATCH 2323/2563] Improve cve-2024-43398 details --- en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md index c2118b4d93..86ed5ca251 100644 --- a/en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md +++ b/en/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -12,7 +12,7 @@ There is a DoS vulnerability in REXML gem. This vulnerability has been assigned ## Details -When parsing an XML that has many deep elements that have same local name attributes. +When parsing an XML that has many deep elements that have same local name attributes, REXML gem may take long time. It's only affected with the tree parser API. If you're using `REXML::Document.new` to parse an XML, you may be affected. From c5ff9bbfb3d3f17863957de41150a0dc3f730d99 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 27 Aug 2024 17:49:23 +0100 Subject: [PATCH 2324/2563] Remove dead or outdated links - Link 13 and 15 both point to https://ruby-doc.org/3.2.2, which is not up to date and don't provide more information than the official docs. - Link 17 points to https://rubydocs.org/ which is not maintained anymore. - Link 18 points to https://apidock.com/ only has information up to Ruby 2.6, which is clearly outdated. --- en/documentation/index.md | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 1965f0706d..02716e2bef 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -55,15 +55,6 @@ the [installation guide](installation/) for help on installing Ruby. : The official Ruby API documentation for different versions including the currently unreleased (trunk) version. -[Ruby Core Reference][13] -: Pulled straight from the source code using [RDoc][14], this reference - work documents all of the core classes and modules (like String, - Array, Symbol, etc…). - -[Ruby Standard Library Reference][15] -: Also pulled from the source code using RDoc, this reference work - documents the standard library. - [Ruby C API Reference][extensions] : The official introduction to Ruby's C API. Great if you want to write C extensions @@ -73,12 +64,6 @@ the [installation guide](installation/) for help on installing Ruby. : The one-stop web site for reference documentation about Ruby gems and GitHub-hosted Ruby projects. -[Ruby & Rails Searchable API Docs][17] -: Rails and Ruby documentation with smart searching. - -[APIdock][18] -: Ruby, Rails and RSpec documentation with users’ notes. - [RubyAPI.org][rubyapi-org] : Easily find and browse Ruby classes, modules, and methods. @@ -125,8 +110,6 @@ documentation sources. If you have questions about Ruby the [mailing list](/en/community/mailing-lists/) is a great place to start. - - [1]: https://try.ruby-lang.org/ [2]: https://rubykoans.com/ [5]: https://poignant.guide @@ -135,13 +118,8 @@ If you have questions about Ruby the [9]: http://www.ruby-doc.org/docs/ProgrammingRuby/ [10]: http://pragmaticprogrammer.com/titles/ruby/index.html [12]: http://en.wikibooks.org/wiki/Ruby_programming_language -[13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc/ -[15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [16]: http://www.rubydoc.info/ -[17]: http://rubydocs.org/ -[18]: http://apidock.com/ [rubyapi-org]: https://rubyapi.org/ [19]: http://www.aptana.com/ [20]: http://www.gnu.org/software/emacs/ From 57833a4555cbd7cdec5b213db44537b107f534da Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 27 Aug 2024 17:54:03 +0100 Subject: [PATCH 2325/2563] Make the link to VS Code directly visit its Ruby doc --- en/documentation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 02716e2bef..2b2fdcb1d4 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -143,7 +143,7 @@ If you have questions about Ruby the [39]: http://kapeli.com/dash [docs-rlo-en]: https://docs.ruby-lang.org/en/ [atom]: https://atom.io/ -[vscode]: https://code.visualstudio.com/ +[vscode]: https://code.visualstudio.com/docs/languages/ruby [eric]: https://eric-ide.python-projects.org/ [kdevelop]: https://www.kdevelop.org/ [kate]: https://kate-editor.org/ From 6492b1bc5ac79b43c30f29d718e58cab0790be19 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 28 Aug 2024 06:39:46 +0900 Subject: [PATCH 2326/2563] Translate "CVE-2024-43398: DoS vulnerability in REXML" (ko) (#3353) * cp {en,ko}/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md * Translate "CVE-2024-43398: DoS vulnerability in REXML" (ko) --- .../2024-08-22-dos-rexml-cve-2024-43398.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 ko/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md diff --git a/ko/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/ko/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md new file mode 100644 index 0000000000..8daecb6fdb --- /dev/null +++ b/ko/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-43398: REXML의 DoS 취약점" +author: "kou" +translator: "shia" +date: 2024-08-22 03:00:00 +0000 +tags: security +lang: ko +--- + +REXML gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398)로 등록되었습니다. REXML gem 업그레이드를 강하게 추천합니다. + +## 세부 내용 + +동일한 지역 이름 속성을 가진 여러 깊은 요소를 포함하는 XML을 파싱할 때, REXML gem은 처리에 긴 시간이 걸립니다. + +해당 취약점은 트리 파서 API에만 영향을 줍니다. XML을 파싱하기 위해 `REXML::Document.new`를 사용한다면 영향을 받을 수 있습니다. + +REXML gem을 3.3.6이나 그 이상으로 업데이트하세요. + +## 해당 버전 + +* REXML gem 3.3.5와 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [l33thaxor](https://hackerone.com/l33thaxor)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-08-22 03:00:00 (UTC) 최초 공개 From 51a4d8cacbe28e9057bcb80e889e9734f55b3514 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sun, 1 Sep 2024 11:12:08 +0800 Subject: [PATCH 2327/2563] Improve Text CVE 2024 43398 (zh_tw) --- zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md index e0f4adfd04..b0d24e2f0d 100644 --- a/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md +++ b/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -14,7 +14,7 @@ lang: zh_tw ## 風險細節 -當解析的 XML 擁有許多深層級的元素,並且這些元素有相同的名稱屬性時。 +當解析的 XML 擁有許多深層級的元素,並且這些元素有相同的名稱屬性時,REXML gem 可能會需要很長的處理時間。 此風險只有影響到 Tree 解析 API。如果您正在使用 `REXML::Document.new` 解析 XML,您可能會受到影響。 From 5a4bda084cb33bfd77199f81b52ecbaf2f2a5c35 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Mon, 2 Sep 2024 13:45:23 +0800 Subject: [PATCH 2328/2563] Fix rbenv for Windows GitHub URL --- en/documentation/installation/index.md | 3 ++- ja/documentation/installation/index.md | 2 +- ko/documentation/installation/index.md | 3 ++- zh_cn/documentation/installation/index.md | 3 ++- zh_tw/documentation/installation/index.md | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index f87cd3103b..ba63647526 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -58,6 +58,7 @@ Here are available installation methods: * [asdf-vm](#asdf-vm) * [chruby](#chruby) * [rbenv](#rbenv) + * [rbenv for Windows](#rbenv-for-windows) * [RVM](#rvm) * [uru](#uru) * [Building from source](#building-from-source) @@ -391,7 +392,7 @@ though, because the installed Ruby won't be managed by any tools. [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv#readme -[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme +[rbenv-for-windows]: https://github.com/RubyMetric/rbenv-for-windows#readme [ruby-build]: https://github.com/rbenv/ruby-build#readme [ruby-install]: https://github.com/postmodern/ruby-install#readme [chruby]: https://github.com/postmodern/chruby#readme diff --git a/ja/documentation/installation/index.md b/ja/documentation/installation/index.md index d11169fcfc..a18e7a8b01 100644 --- a/ja/documentation/installation/index.md +++ b/ja/documentation/installation/index.md @@ -342,5 +342,5 @@ $ sudo make install [rubystack]: https://bitnami.com/stack/ruby/virtual-machine [asdf-vm]: https://asdf-vm.com/ [asdf-ruby]: https://github.com/asdf-vm/asdf-ruby -[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme +[rbenv-for-windows]: https://github.com/RubyMetric/rbenv-for-windows#readme [uru]: https://bitbucket.org/jonforums/uru/src/master/ diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index 56cd89788f..ad786cc914 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -57,6 +57,7 @@ Windows 10을 사용 중이라면 [Windows Subsystem for Linux][wsl]를 사용 * [관리자](#managers) * [chruby](#chruby) * [rbenv](#rbenv) + * [rbenv for Windows](#rbenv-for-windows) * [RVM](#rvm) * [uru](#uru) * [소스에서 빌드하기](#building-from-source) @@ -369,7 +370,7 @@ $ sudo make install [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv#readme -[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme +[rbenv-for-windows]: https://github.com/RubyMetric/rbenv-for-windows#readme [ruby-build]: https://github.com/rbenv/ruby-build#readme [ruby-install]: https://github.com/postmodern/ruby-install#readme [chruby]: https://github.com/postmodern/chruby#readme diff --git a/zh_cn/documentation/installation/index.md b/zh_cn/documentation/installation/index.md index 2b9ea57375..774fc1f8b3 100644 --- a/zh_cn/documentation/installation/index.md +++ b/zh_cn/documentation/installation/index.md @@ -35,6 +35,7 @@ lang: zh_cn * [管理工具](#managers) * [chruby](#chruby) * [rbenv](#rbenv) + * [rbenv for Windows](#rbenv-for-windows) * [RVM](#rvm) * [uru](#uru) * [通过源码编译安装](#building-from-source) @@ -214,7 +215,7 @@ $ sudo make install [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv#readme -[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme +[rbenv-for-windows]: https://github.com/RubyMetric/rbenv-for-windows#readme [ruby-build]: https://github.com/rbenv/ruby-build#readme [ruby-install]: https://github.com/postmodern/ruby-install#readme [chruby]: https://github.com/postmodern/chruby#readme diff --git a/zh_tw/documentation/installation/index.md b/zh_tw/documentation/installation/index.md index e5d50b5ca7..fd0e2bcff7 100644 --- a/zh_tw/documentation/installation/index.md +++ b/zh_tw/documentation/installation/index.md @@ -325,7 +325,7 @@ $ sudo make install [rvm]: http://rvm.io/ [rbenv]: https://github.com/rbenv/rbenv -[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme +[rbenv-for-windows]: https://github.com/RubyMetric/rbenv-for-windows#readme [ruby-build]: https://github.com/rbenv/ruby-build#readme [ruby-install]: https://github.com/postmodern/ruby-install#readme [chruby]: https://github.com/postmodern/chruby From 37cf179ec1763231af2a0c725b7efce8212794c5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 2 Sep 2024 14:52:25 +0900 Subject: [PATCH 2329/2563] Update archive url for ruby-talk and ruby-core --- bg/community/mailing-lists/index.md | 6 +++--- de/community/mailing-lists/index.md | 6 +++--- en/community/mailing-lists/index.md | 6 +++--- en/documentation/faq/1/index.md | 2 +- es/community/mailing-lists/index.md | 6 +++--- fr/community/mailing-lists/index.md | 6 +++--- id/community/mailing-lists/index.md | 6 +++--- it/community/mailing-lists/index.md | 6 +++--- ko/community/mailing-lists/index.md | 6 +++--- ko/documentation/faq/1/index.md | 2 +- pl/community/mailing-lists/index.md | 6 +++--- pt/community/mailing-lists/index.md | 6 +++--- ru/community/mailing-lists/index.md | 6 +++--- tr/community/mailing-lists/index.md | 6 +++--- vi/community/mailing-lists/index.md | 6 +++--- zh_cn/community/mailing-lists/index.md | 6 +++--- zh_tw/community/mailing-lists/index.md | 6 +++--- 17 files changed, 47 insertions(+), 47 deletions(-) diff --git a/bg/community/mailing-lists/index.md b/bg/community/mailing-lists/index.md index 56386a242c..d0ad402338 100644 --- a/bg/community/mailing-lists/index.md +++ b/bg/community/mailing-lists/index.md @@ -36,6 +36,6 @@ comp.lang.ruby дискусионна група. -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ diff --git a/de/community/mailing-lists/index.md b/de/community/mailing-lists/index.md index 41d8c3f34a..1d013d0d77 100644 --- a/de/community/mailing-lists/index.md +++ b/de/community/mailing-lists/index.md @@ -50,9 +50,9 @@ einschließlich der Listen in japanischer Sprache. [guidelines]: /en/community/mailing-lists/ruby-talk-guidelines/ [clrFAQ]: http://rubyhacker.com/clrFAQ.html -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ [6]: http://lists.ruby-lang.org/cgi-bin/mailman/listinfo/ruby-de [7]: http://lists.ruby-lang.org/pipermail/ruby-de/ [8]: http://planet.ruby-portal.de/ruby-de.html diff --git a/en/community/mailing-lists/index.md b/en/community/mailing-lists/index.md index da3fed322f..c5ad7a7dc4 100644 --- a/en/community/mailing-lists/index.md +++ b/en/community/mailing-lists/index.md @@ -39,7 +39,7 @@ including the lists in Japanese language. [guidelines]: ruby-talk-guidelines/ [clrFAQ]: http://rubyhacker.com/clrFAQ.html -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ [rubytalk]: https://rubytalk.org/ diff --git a/en/documentation/faq/1/index.md b/en/documentation/faq/1/index.md index 1d03ad67e0..c536bef63c 100644 --- a/en/documentation/faq/1/index.md +++ b/en/documentation/faq/1/index.md @@ -205,7 +205,7 @@ There are several mailing lists talking about Ruby. See the page for more information. You can search the mailing list archives using -[https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/](https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/). +[https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/](https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/). (This is the URL for the ruby-talk list, munge as required for the others). ### How can I thread the mailing list in mutt? diff --git a/es/community/mailing-lists/index.md b/es/community/mailing-lists/index.md index 6da4ab13bd..5e6f2a8649 100644 --- a/es/community/mailing-lists/index.md +++ b/es/community/mailing-lists/index.md @@ -32,6 +32,6 @@ Ruby-CVS -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[6]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[6]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ diff --git a/fr/community/mailing-lists/index.md b/fr/community/mailing-lists/index.md index d27d9037ef..9413111715 100644 --- a/fr/community/mailing-lists/index.md +++ b/fr/community/mailing-lists/index.md @@ -33,6 +33,6 @@ Ruby-CVS -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[6]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[6]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ diff --git a/id/community/mailing-lists/index.md b/id/community/mailing-lists/index.md index f782ea5280..ab284eccce 100644 --- a/id/community/mailing-lists/index.md +++ b/id/community/mailing-lists/index.md @@ -51,7 +51,7 @@ termasuk daftar milis dalam bahasa Jepang. [1]: http://id.wikipedia.org/wiki/Milis "Group diskusi di internet dimana setiap orang bisa berlangganan dan berpartisipasi didalamnya." [2]: http://groups.yahoo.com/group/id-ruby/ [3]: http://www.mail-archive.com/id-ruby@yahoogroups.com/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[6]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[6]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ [rubytalk]: https://rubytalk.org/ diff --git a/it/community/mailing-lists/index.md b/it/community/mailing-lists/index.md index 7493eef6de..f3db1cdcfe 100644 --- a/it/community/mailing-lists/index.md +++ b/it/community/mailing-lists/index.md @@ -32,6 +32,6 @@ Ruby-CVS -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[6]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[6]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ diff --git a/ko/community/mailing-lists/index.md b/ko/community/mailing-lists/index.md index a736eacb74..9ebaa99f61 100644 --- a/ko/community/mailing-lists/index.md +++ b/ko/community/mailing-lists/index.md @@ -38,7 +38,7 @@ ruby-lang.org의 일본어 리스트를 포함한 모든 메일링 리스트에 [guidelines]: /en/community/mailing-lists/ruby-talk-guidelines/ [clrFAQ]: http://rubyhacker.com/clrFAQ.html -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ [rubytalk]: https://rubytalk.org/ diff --git a/ko/documentation/faq/1/index.md b/ko/documentation/faq/1/index.md index e98913f95c..ac8cfcdd49 100644 --- a/ko/documentation/faq/1/index.md +++ b/ko/documentation/faq/1/index.md @@ -193,7 +193,7 @@ comp.lang.ruby는 2000년 5월에 설립되었습니다. Ruby에 대해 이야기하는 여러 메일링 리스트가 있습니다. 자세한 내용은 [메일링 리스트](/ko/community/mailing-lists/) 페이지를 참조하세요. -를 +를 사용하여 메일링 리스트 아카이브를 검색할 수 있습니다. (이것은 ruby-talk 메일링 리스트의 URL이며, 다른 메일링 리스트를 원하면 변경해서 사용하세요.) diff --git a/pl/community/mailing-lists/index.md b/pl/community/mailing-lists/index.md index c8d456005b..98e3eb1ccf 100644 --- a/pl/community/mailing-lists/index.md +++ b/pl/community/mailing-lists/index.md @@ -37,6 +37,6 @@ listy: -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[6]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[6]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ diff --git a/pt/community/mailing-lists/index.md b/pt/community/mailing-lists/index.md index 39be72f00c..10bab12a31 100644 --- a/pt/community/mailing-lists/index.md +++ b/pt/community/mailing-lists/index.md @@ -39,7 +39,7 @@ Ruby << portuguese -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ [ruby-pt]: http://groups.google.com/group/ruby-pt diff --git a/ru/community/mailing-lists/index.md b/ru/community/mailing-lists/index.md index a82fe126d4..1ec1770f3a 100644 --- a/ru/community/mailing-lists/index.md +++ b/ru/community/mailing-lists/index.md @@ -36,6 +36,6 @@ Ruby-CVS -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ diff --git a/tr/community/mailing-lists/index.md b/tr/community/mailing-lists/index.md index c88d2df8b1..7484f840cd 100644 --- a/tr/community/mailing-lists/index.md +++ b/tr/community/mailing-lists/index.md @@ -41,7 +41,7 @@ listeleri hakkında daha fazla bilgi için [guidelines]: ruby-talk-guidelines/ [clrFAQ]: http://rubyhacker.com/clrFAQ.html -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ [rubytalk]: https://rubytalk.org/ diff --git a/vi/community/mailing-lists/index.md b/vi/community/mailing-lists/index.md index ef152caafb..26eddc62dc 100644 --- a/vi/community/mailing-lists/index.md +++ b/vi/community/mailing-lists/index.md @@ -36,6 +36,6 @@ The comp.lang.ruby Newsgroup -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ diff --git a/zh_cn/community/mailing-lists/index.md b/zh_cn/community/mailing-lists/index.md index 06e1861717..cb6506b07f 100644 --- a/zh_cn/community/mailing-lists/index.md +++ b/zh_cn/community/mailing-lists/index.md @@ -30,6 +30,6 @@ comp.lang.ruby新闻组 -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[6]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[6]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ diff --git a/zh_tw/community/mailing-lists/index.md b/zh_tw/community/mailing-lists/index.md index 198689b4d6..3ee9c23057 100644 --- a/zh_tw/community/mailing-lists/index.md +++ b/zh_tw/community/mailing-lists/index.md @@ -32,6 +32,6 @@ The comp.lang.ruby 新聞組 [1]: https://www.ruby-forum.com/ -[3]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-talk@ml.ruby-lang.org/ -[4]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-core@ml.ruby-lang.org/ -[5]: https://ml.ruby-lang.org/mailman3/hyperkitty/list/ruby-doc@ml.ruby-lang.org/ +[3]: https://ml.ruby-lang.org/archives/list/ruby-talk@ml.ruby-lang.org/ +[4]: https://ml.ruby-lang.org/archives/list/ruby-core@ml.ruby-lang.org/ +[5]: https://ml.ruby-lang.org/archives/list/ruby-doc@ml.ruby-lang.org/ From fcc3715e44d66efb875c5f25cc5e2b8f9d13beb4 Mon Sep 17 00:00:00 2001 From: matzbot Date: Tue, 3 Sep 2024 15:55:57 +0900 Subject: [PATCH 2330/2563] Create release for 3.3.5 (#3359) * Create release for 3.3.5 * Update 2024-09-02-3-3-5-released.md * Rename 2024-09-02-3-3-5-released.md to 2024-09-03-3-3-5-released.md --------- Co-authored-by: GitHub Actions Bot Co-authored-by: Takashi Kokubun --- en/news/_posts/2024-09-03-3-3-5-released.md | 50 +++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 en/news/_posts/2024-09-03-3-3-5-released.md diff --git a/en/news/_posts/2024-09-03-3-3-5-released.md b/en/news/_posts/2024-09-03-3-3-5-released.md new file mode 100644 index 0000000000..4780be7748 --- /dev/null +++ b/en/news/_posts/2024-09-03-3-3-5-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.5 Released" +author: k0kubun +translator: +date: 2024-09-03 06:40:00 +0000 +lang: en +--- + +Ruby 3.3.5 has been released. + +This is a routine update that includes minor bug fixes. +We recommend upgrading your Ruby version at your earliest convenience. +For more details, please refer to the [GitHub release notes](https://github.com/ruby/ruby/releases/tag/v3_3_5). + +## Release Schedule + +As previously [announced](https://www.ruby-lang.org/en/news/2024/07/09/ruby-3-3-4-released/), we intend to release the latest stable Ruby version (currently Ruby 3.3) every 2 months following a `.1` release. + +We expect to release Ruby 3.3.6 on November 5th and Ruby 3.3.7 on January 7th. If any significant changes arise that impact a large number of users, we may release a new version earlier than scheduled. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 77878eadaf675e0b71681d6954dba1450ae473fc Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 3 Sep 2024 00:05:39 -0700 Subject: [PATCH 2331/2563] Fix downloads.yml and releases.yml for 3.3.5 (#3360) * Fix downloads.yml and releases.yml for 3.3.5 * Fix url --- _data/downloads.yml | 2 +- _data/releases.yml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 6bcf6a680d..8abbc92eb4 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,7 +8,7 @@ preview: stable: - - 3.3.4 + - 3.3.5 - 3.2.5 # optional diff --git a/_data/releases.yml b/_data/releases.yml index 0794b2401f..a3b23d5e63 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -52,6 +52,30 @@ # 3.3 series +- version: 3.3.5 + date: 2024-09-03 + post: /en/news/2024/09/03/3-3-5-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.5.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.5.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.5.tar.xz + size: + gz: 22129139 + zip: 27020194 + xz: 16403660 + sha1: + gz: 59444476bbe9e789fc777d8fb4dd456bc057604f + zip: ccb32746aef491ce05be42218301e2c47185e5fc + xz: 692bc3188bdb9ec30b8672543961b011d699590a + sha256: + gz: 3781a3504222c2f26cb4b9eb9c1a12dbf4944d366ce24a9ff8cf99ecbce75196 + zip: d3c13e124707494935d00ebc5c7983b0252bc13de49223fd31104ba5467a057a + xz: 51aec7ea89b46125a2c9adc6f36766b65023d47952b916b1aed300ddcc042359 + sha512: + gz: 5c482059628ef9de5d8a6ad4751f8043f2fc2b159b768265be7f3ee0574ad51d9500ee4fc9146c5978fbd51313039c3de39e7b7a4dedc9bcd5d09a41a713f1a7 + zip: bf83af835a74283aff21042538ee1f1eb70ff12dac1edd4672d787547cd29cb7b69a9299682f89c8499eb610737b10a7fc03eca038574cb4ba565205d96b0016 + xz: dd5c6a7f74854e143e0ca46b9d7c0d1983fc4886f5f733cd108345dbf4b21f61ad978ad6806e05a57b7af28fd9216dd38d7145808188bbb3695a7f3a4eda3883 + - version: 3.3.4 date: 2024-07-09 post: /en/news/2024/07/09/ruby-3-3-4-released/ From c0678be3affb03ef7b6ead6aae9d57e7f003a476 Mon Sep 17 00:00:00 2001 From: egamasa <40469431+egamasa@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:49:17 +0900 Subject: [PATCH 2332/2563] Translate Home link in site navigation (ja) --- _data/locales/ja.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/locales/ja.yml b/_data/locales/ja.yml index 351e725332..2b8667468c 100644 --- a/_data/locales/ja.yml +++ b/_data/locales/ja.yml @@ -3,7 +3,7 @@ ruby: Ruby slogan: A Programmer's Best Friend sitelinks: -- text: Home +- text: ホーム url: /ja home: true - text: ダウンロード From d6ef2da9948acd7884483cce78a669271c1bab94 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 3 Sep 2024 18:21:20 +0800 Subject: [PATCH 2333/2563] Translate Ruby 3.3.5 Released (zh_tw) --- .../news/_posts/2024-09-03-3-3-5-released.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 zh_tw/news/_posts/2024-09-03-3-3-5-released.md diff --git a/zh_tw/news/_posts/2024-09-03-3-3-5-released.md b/zh_tw/news/_posts/2024-09-03-3-3-5-released.md new file mode 100644 index 0000000000..a10fbc3aa2 --- /dev/null +++ b/zh_tw/news/_posts/2024-09-03-3-3-5-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.3.5 發布" +author: k0kubun +translator: "Bear Su" +date: 2024-09-03 06:40:00 +0000 +lang: zh_tw +--- + +Ruby 3.3.5 已經發布了。 + +這是包括修復小型錯誤的例行更新。 +我們建議您儘早升級您的 Ruby 版本。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_5)。 + +## 發布時程 + +如同之前[公布](https://www.ruby-lang.org/zh_tw/news/2024/07/09/ruby-3-3-4-released/),我們打算在「.1」版本發布後每 2 個月發布一次最新的穩定 Ruby 版本(目前為 Ruby 3.3)。 + +我們預計 Ruby 3.3.6 於 11 月 5 日發布,Ruby 3.3.7 於 1 月 7 日發布。如果有任何變更影響到相當多的人,我們可能會比預期更早發佈新版本。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.3.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From bd7cb221e99cb130cd2ee1822334c83e018adb0f Mon Sep 17 00:00:00 2001 From: egamasa <40469431+egamasa@users.noreply.github.com> Date: Tue, 3 Sep 2024 19:50:03 +0900 Subject: [PATCH 2334/2563] Translate "Ruby 3.3.3 Released" (ja) --- .../_posts/2024-06-12-ruby-3-3-3-released.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 ja/news/_posts/2024-06-12-ruby-3-3-3-released.md diff --git a/ja/news/_posts/2024-06-12-ruby-3-3-3-released.md b/ja/news/_posts/2024-06-12-ruby-3-3-3-released.md new file mode 100644 index 0000000000..ad5e9f477c --- /dev/null +++ b/ja/news/_posts/2024-06-12-ruby-3-3-3-released.md @@ -0,0 +1,53 @@ +--- +layout: news_post +title: "Ruby 3.3.3 リリース" +author: "k0kubun" +translator: "egamasa" +date: 2024-06-12 00:30:00 +0000 +lang: ja +--- + +Ruby 3.3.3 がリリースされました。 + +このリリースには、以下が含まれています。 + +* RubyGems 3.5.11 +* Bundler 2.5.11 +* REXML 3.2.8 +* strscan 3.0.9 +* `--dump=prism_parsetree` を `--parser=prism --dump=parsetree` に置き換えました。 +* シンボルのエンコーディング失敗時に、`EncodingError` の代わりに `SyntaxError` を発生させます。 +* Ripper での解析時のメモリリークを修正しました。 +* YJIT、`**{}`、`Ripper.tokenize`、`RubyVM::InstructionSequence#to_binary`、`--with-gmp` および一部のビルド環境におけるバグ修正 + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_3) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.3.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 289356d8ab806e3be64246843921c8c9eec4e03e Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 4 Sep 2024 07:09:10 +0900 Subject: [PATCH 2335/2563] Follow up "Improve documentation page" (ko) (#3363) --- ko/documentation/index.md | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 843f3ab17f..dc46f7017f 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -62,14 +62,6 @@ Ruby를 배울 수 있는 매뉴얼과 튜토리얼, 코딩할 때 도움이 되 [공식 API 문서][docs-rlo-en] : 아직 릴리스되지 않은 트렁크를 포함한 여러 Ruby 버전의 공식 API 문서입니다. -[Ruby 코어 레퍼런스][13] (영문) -: [RDoc][14]을 이용해 소스에서 추출한 레퍼런스입니다. String, Array, - Symbol 등 모든 코어 클래스와 모듈에 대한 문서를 찾아볼 수 있습니다. - -[Ruby 표준 라이브러리][15] (영문) -: 마찬가지로 RDoc을 이용해 소스에서 추출한 것으로 표준 라이브러리에 - 대한 레퍼런스입니다. - [Ruby C API 레퍼런스][extensions] (영문) : Ruby의 공식 C API 문서입니다. Ruby 개발에 참여하거나, C 확장을 개발할 때 도움이 될 것입니다. @@ -78,12 +70,6 @@ Ruby를 배울 수 있는 매뉴얼과 튜토리얼, 코딩할 때 도움이 되 : Ruby gem과 GitHub에서 호스팅 되는 Ruby 프로젝트의 레퍼런스 문서들을 모아놓은 사이트입니다. -[Ruby & Rails Searchable API Docs][17] (영문) -: 스마트 검색이 가능한 Ruby, Rails 문서입니다. - -[APIdock][18] (영문) -: 유저의 댓글이 달린 Ruby, Rails, RSpec의 문서입니다. - [Ruby API][40] (영문) : Ruby 클래스, 모듈, 메서드를 편하게 찾고 탐색하세요. @@ -138,13 +124,8 @@ Ruby를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습 [9]: http://www.ruby-doc.org/docs/ProgrammingRuby/ [10]: http://pragmaticprogrammer.com/titles/ruby/index.html [12]: http://en.wikibooks.org/wiki/Ruby_programming_language -[13]: http://www.ruby-doc.org/core -[14]: https://ruby.github.io/rdoc/ -[15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [16]: http://www.rubydoc.info/ -[17]: http://rubydocs.org/ -[18]: http://apidock.com/ [19]: http://www.aptana.com/ [20]: http://www.gnu.org/software/emacs/ [21]: http://www.emacswiki.org/emacs/RubyMode @@ -168,7 +149,7 @@ Ruby를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습 [40]: https://rubyapi.org/ [docs-rlo-en]: https://docs.ruby-lang.org/en/ [atom]: https://atom.io/ -[vscode]: https://code.visualstudio.com/ +[vscode]: https://code.visualstudio.com/docs/languages/ruby [eric]: https://eric-ide.python-projects.org/ [kdevelop]: https://www.kdevelop.org/ [kate]: https://kate-editor.org/ From d1dd39f162d06f93695f7488c174227545f81431 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 4 Sep 2024 13:35:50 +0900 Subject: [PATCH 2336/2563] Translate "Ruby 3.3.5 Released" (ko) (#3362) * cp {en,ko}/news/_posts/2024-09-03-3-3-5-released.md * Translate "Ruby 3.3.5 Released" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/news/_posts/2024-09-03-3-3-5-released.md | 50 +++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ko/news/_posts/2024-09-03-3-3-5-released.md diff --git a/ko/news/_posts/2024-09-03-3-3-5-released.md b/ko/news/_posts/2024-09-03-3-3-5-released.md new file mode 100644 index 0000000000..2e2b176920 --- /dev/null +++ b/ko/news/_posts/2024-09-03-3-3-5-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.5 릴리스" +author: k0kubun +translator: shia +date: 2024-09-03 06:40:00 +0000 +lang: ko +--- + +Ruby 3.3.5가 릴리스되었습니다. + +이번 릴리스는 일반적인 업데이트로, 사소한 버그 수정이 포함되어 있습니다. +가능한 빨리 Ruby 버전을 업그레이드하는 것을 권장합니다. +자세한 내용은 [GitHub 릴리스 노트](https://github.com/ruby/ruby/releases/tag/v3_3_5)를 참조하세요. + +## 릴리스 일정 + +이전에 [발표했던 것](https://www.ruby-lang.org/ko/news/2024/07/09/ruby-3-3-4-released/)처럼, 앞으로 최신 안정 버전의 Ruby(현재 Ruby 3.3)를 `.1` 릴리스 이후 2개월마다 릴리스할 계획입니다. + +3.3.6은 11월 5일에, 3.3.7은 1월 7일에 릴리스될 예정입니다. 많은 사람들에게 영향을 미치는 변경 사항이 있을 경우, 예상보다 빨리 새 버전을 릴리스할 수 있습니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.3.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From d141d824fe6de76f6f2064ec908c6ad2f2d3f07c Mon Sep 17 00:00:00 2001 From: egamasa <40469431+egamasa@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:11:36 +0900 Subject: [PATCH 2337/2563] Translate "Ruby 3.3.4 Released" (ja) --- .../_posts/2024-07-09-ruby-3-3-4-released.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ja/news/_posts/2024-07-09-ruby-3-3-4-released.md diff --git a/ja/news/_posts/2024-07-09-ruby-3-3-4-released.md b/ja/news/_posts/2024-07-09-ruby-3-3-4-released.md new file mode 100644 index 0000000000..3f3f787ec5 --- /dev/null +++ b/ja/news/_posts/2024-07-09-ruby-3-3-4-released.md @@ -0,0 +1,54 @@ +--- +layout: news_post +title: "Ruby 3.3.4 リリース" +author: "k0kubun" +translator: "egamasa" +date: 2024-07-09 00:30:00 +0000 +lang: ja +--- + +Ruby 3.3.4 がリリースされました。 + +このリリースでは、Ruby 3.3.3 にバンドルされているいくつかの gem (`net-pop`、`net-ftp`、`net-imap` および `prime`)において、gemspec の依存関係が欠落していたリグレッションが修正されました [[Bug #20581]](https://bugs.ruby-lang.org/issues/20581)。 +この修正により、Bundler はこれらの gem を Heroku などのプラットフォームへ正常にインストールできるようになりました。 +現在 `bundle install` を正常に実行できている場合、この問題は発生しないかもしれません。 + +そのほか、数多くの軽微なバグ修正を行っています。 +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_4) を参照してください。 + +## リリーススケジュール + +今後は、最新の安定版 Ruby(現在は Ruby 3.3)を `.1` リリース後の2ヶ月おきにリリースする予定です。 +Ruby 3.3 の場合、3.3.5 は 9 月 3 日に、3.3.6 は 11 月 5 日に、3.3.7 は 1 月 7 日にリリースされる予定です。 + +Heroku 上で Ruby 3.3.3 を使用するユーザーに影響を与える今回のリリースのように、多くのユーザーに影響を与えるような変更があった場合、予定よりも早く新しいバージョンをリリースすることがあります。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.3.4" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 698e5e4a67c0375ea141c3802a9fc180251505e4 Mon Sep 17 00:00:00 2001 From: egamasa <40469431+egamasa@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:56:24 +0900 Subject: [PATCH 2338/2563] Translate CVE-2024-39908 (ja) --- .../2024-07-16-dos-rexml-cve-2024-39908.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ja/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md diff --git a/ja/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/ja/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md new file mode 100644 index 0000000000..ca343d5448 --- /dev/null +++ b/ja/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-39908: REXML内のDoS脆弱性" +author: "watson1978" +translator: "egamasa" +date: 2024-07-16 03:00:00 +0000 +tags: security +lang: ja +--- + +REXML gem内のDoS脆弱性が発見されました。この脆弱性は、[CVE-2024-39908](https://www.cve.org/CVERecord?id=CVE-2024-39908) として登録されています。REXML gem をアップグレードすることを強く推奨します。 + +## 詳細 + +REXML gem は、 `<`、`0` および `%>` のような特定の文字が多く含まれているXMLドキュメントの解析に時間がかかることがあります。 + +REXML gem を 3.3.2 以上にアップデートしてください。 + +## 影響を受けるバージョン + +* REXML gem 3.3.1 以前 + +## クレジット + +この脆弱性情報は、[mprogrammer](https://hackerone.com/mprogrammer) 氏によって報告されました。 + +## 更新履歴 + +* 2024-07-16 12:00:00 (JST) 初版 From 4f88b27df83928737d230055987f402a0ad2a130 Mon Sep 17 00:00:00 2001 From: egamasa <40469431+egamasa@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:56:38 +0900 Subject: [PATCH 2339/2563] Translate CVE-2024-41123 (ja) --- .../2024-08-01-dos-rexml-cve-2024-41123.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ja/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md diff --git a/ja/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md b/ja/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md new file mode 100644 index 0000000000..4c4c48b689 --- /dev/null +++ b/ja/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-41123: REXML内のDoS脆弱性" +author: "kou" +translator: "egamasa" +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: ja +--- + +REXML gem内のDoS脆弱性が発見されました。この脆弱性は、[CVE-2024-41123](https://www.cve.org/CVERecord?id=CVE-2024-41123) として登録されています。REXML gem をアップグレードすることを強く推奨します。 + +## 詳細 + +REXML gem は、空白文字、`>]` および `]>` のような特定の文字が多く含まれているXMLドキュメントの解析に時間がかかることがあります。 + +REXML gem を 3.3.3 以上にアップデートしてください。 + +## 影響を受けるバージョン + +* REXML gem 3.3.2 以前 + +## クレジット + +この脆弱性情報は、[mprogrammer](https://hackerone.com/mprogrammer) 氏および [scyoon](https://hackerone.com/scyoon) 氏によって報告されました。 + +## 更新履歴 + +* 2024-08-01 12:00:00 (JST) 初版 From 607d0682ec557b70125085af8674b64cb0efde46 Mon Sep 17 00:00:00 2001 From: egamasa <40469431+egamasa@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:56:49 +0900 Subject: [PATCH 2340/2563] Translate CVE-2024-41946 (ja) --- .../2024-08-01-dos-rexml-cve-2024-41946.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ja/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md diff --git a/ja/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md b/ja/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md new file mode 100644 index 0000000000..fb940eecaf --- /dev/null +++ b/ja/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2024-41946: REXML内のDoS脆弱性" +author: "kou" +translator: "egamasa" +date: 2024-08-01 03:00:00 +0000 +tags: security +lang: ja +--- + +REXML gem内のDoS脆弱性が発見されました。この脆弱性は、[CVE-2024-41946](https://www.cve.org/CVERecord?id=CVE-2024-41946) として登録されています。REXML gem をアップグレードすることを強く推奨します。 + +## 詳細 + +REXML gem は、SAX2 またはプル方式の XML パーサを使用した場合、多数のエンティティ展開を持つ XML ドキュメントの解析に時間がかかることがあります。 + +REXML gem を 3.3.3 以上にアップデートしてください。 + +## 影響を受けるバージョン + +* REXML gem 3.3.2 以前 + +## クレジット + +この脆弱性情報は、[NAITOH Jun](https://github.com/naitoh) 氏によって報告されました。 + +## 更新履歴 + +* 2024-08-01 12:00:00 (JST) 初版 From fdf0b92ca70d00cf99c9ec1e6bcde316a0e1d1ee Mon Sep 17 00:00:00 2001 From: egamasa <40469431+egamasa@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:56:59 +0900 Subject: [PATCH 2341/2563] Translate CVE-2024-43398 (ja) --- .../2024-08-22-dos-rexml-cve-2024-43398.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 ja/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md diff --git a/ja/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/ja/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md new file mode 100644 index 0000000000..91430ad44e --- /dev/null +++ b/ja/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-43398: REXML内のDoS脆弱性" +author: "kou" +translator: "egamasa" +date: 2024-08-22 03:00:00 +0000 +tags: security +lang: ja +--- + +REXML gem内のDoS脆弱性が発見されました。この脆弱性は、[CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398) として登録されています。REXML gem をアップグレードすることを強く推奨します。 + +## 詳細 + +REXML gem は、同じローカル名の階層の深い要素を多く持つ XML ドキュメントの解析に時間がかかることがあります。 + +これは TreeParser API にのみ影響します。`REXML::Document.new` を使用して XML ドキュメントを解析する場合に影響を受ける可能性があります。 + +REXML gem を 3.3.6 以上にアップデートしてください。 + +## 影響を受けるバージョン + +* REXML gem 3.3.5 以前 + +## クレジット + +この脆弱性情報は、[l33thaxor](https://hackerone.com/l33thaxor) 氏によって報告されました。 + +## 更新履歴 + +* 2024-08-22 12:00:00 (JST) 初版 From 1513a94e0c40fa8ac376c0222f7774c704c6645f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 4 Sep 2024 14:15:38 +0900 Subject: [PATCH 2342/2563] Added misisng ruby- prefix --- lib/draft-release.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/draft-release.rb b/lib/draft-release.rb index 9760fb3a05..cc48b529e9 100644 --- a/lib/draft-release.rb +++ b/lib/draft-release.rb @@ -3,7 +3,7 @@ template = File.read("lib/release-template.erb") version = ARGV[0] || "3.3.4" -output_path = "en/news/_posts/#{Time.now.strftime("%Y-%m-%d")}-#{version.gsub(/\./, "-")}-released.md" +output_path = "en/news/_posts/ruby-#{Time.now.strftime("%Y-%m-%d")}-#{version.gsub(/\./, "-")}-released.md" File.open(output_path, "w") do |file| file.write ERB.new(template).result(binding) From 2e5580871a28aa724b818e9d9a731cdacac279bb Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 4 Sep 2024 14:28:50 +0900 Subject: [PATCH 2343/2563] Use format-release for yaml update --- .github/workflows/draft-release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index da662597c8..917964daa7 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -16,6 +16,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + path: www + + - uses: actions/checkout@v4 + with: + repository: ruby/ruby + path: ruby - uses: ruby/setup-ruby@v1 with: @@ -25,6 +32,11 @@ jobs: run: | ruby lib/draft-release.rb ${{ github.event.client_payload.version || github.event.inputs.version }} + - name: Update data files + run: | + tool/format-release ../www ${{ github.event.client_payload.version || github.event.inputs.version }} . + working-directory: ruby + - name: Create Commit run: | git config user.name "GitHub Actions Bot" @@ -43,3 +55,5 @@ jobs: title: "Create release for ${{ github.event.client_payload.version || github.event.inputs.version }}" body: "This is an automated pull request to create a release" draft: true + + working-directory: www From 2dc97b9db823708ec35c5b56bf9992914f726de4 Mon Sep 17 00:00:00 2001 From: egamasa <40469431+egamasa@users.noreply.github.com> Date: Wed, 18 Sep 2024 21:46:15 +0900 Subject: [PATCH 2344/2563] Translate "Ruby 3.2.5 Released" (ja) --- .../_posts/2024-07-26-ruby-3-2-5-released.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 ja/news/_posts/2024-07-26-ruby-3-2-5-released.md diff --git a/ja/news/_posts/2024-07-26-ruby-3-2-5-released.md b/ja/news/_posts/2024-07-26-ruby-3-2-5-released.md new file mode 100644 index 0000000000..50b86899bd --- /dev/null +++ b/ja/news/_posts/2024-07-26-ruby-3-2-5-released.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "Ruby 3.2.5 リリース" +author: "nagachika" +translator: "egamasa" +date: 2024-07-26 10:00:00 +0000 +lang: ja +--- + +Ruby 3.2.5 がリリースされました。 + +このリリースでは多くの不具合修正を行っています。 +また、バンドルされている `rexml` gem のバージョンが更新されました。これには、[CVE-2024-39908: REXML内のDoS脆弱性]({%link ja/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md %}) の脆弱性修正が含まれています。 + + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_5) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.2.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 5295136bb850cf991a428249a29091ffa8a33588 Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Wed, 18 Sep 2024 20:53:31 +0800 Subject: [PATCH 2345/2563] Translate Ruby 3.3.5 Released (zh_cn) (#3369) --- .../news/_posts/2024-09-03-3-3-5-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 zh_cn/news/_posts/2024-09-03-3-3-5-released.md diff --git a/zh_cn/news/_posts/2024-09-03-3-3-5-released.md b/zh_cn/news/_posts/2024-09-03-3-3-5-released.md new file mode 100644 index 0000000000..f013b30446 --- /dev/null +++ b/zh_cn/news/_posts/2024-09-03-3-3-5-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.5 已发布" +author: k0kubun +translator: "GAO Jun" +date: 2024-09-03 06:40:00 +0000 +lang: zh_cn +--- + +Ruby 3.3.5 已发布。 + +这是包含了一些小补丁的计划更新。 +我们建议您在方便的时候尽早更新您的 Ruby 版本。 +更多信息,可以参考 [GitHub 发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_5). + +## 发布计划 + +正如此前的 [公告](https://www.ruby-lang.org/zh_cn/news/2024/07/09/ruby-3-3-4-released/),我们打算在 `.1` 版本发布后,每 2 个月发布一次最新的 Ruby 稳定版本(目前是 Ruby 3.3)。 + +我们期望在11月5日发布 Ruby 3.3.6,在1月7日发布 3.3.7。如果有影响大量用户的变更,我们可能会提前发布新版本。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.3.5" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 1b3c54459c83b07134bb3f4281a77cd37977149a Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Wed, 18 Sep 2024 20:57:17 +0800 Subject: [PATCH 2346/2563] Translate CVE-2024-43398 (zh_cn) (#3351) Co-authored-by: Alex Shi --- .../2024-08-22-dos-rexml-cve-2024-43398.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 zh_cn/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md diff --git a/zh_cn/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/zh_cn/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md new file mode 100644 index 0000000000..6123f6fda2 --- /dev/null +++ b/zh_cn/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-43398: REXML 中的 DoS 漏洞" +author: "kou" +translator: "GAO Jun" +date: 2024-08-22 03:00:00 +0000 +tags: security +lang: zh_cn +--- + +REXML gem 中存在 DoS 漏洞。此漏洞的 CVE 编号为 [CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398)。我们强烈建议您更新 REXML gem。 + +## 详情 + +问题触发场景:当解析的 XML 中存在很多深层元素,且这些元素有同名本地属性时。 + +此问题仅影响树解析 API。如果您使用 `REXML::Document.new` 来解析 XML,就有可能受到影响。 + +请更新 REXML gem 至 3.3.6 或更高版本。 + +## 受影响版本 + +* REXML gem 3.3.5 或更低版本 + +## 致谢 + +感谢 [l33thaxor](https://hackerone.com/l33thaxor) 发现此问题。 + +## 历史 + +* 最初发布于 2024-08-22 03:00:00 (UTC) From 21ab317ed1e1639734669ac3d90b8cdb3ac8877a Mon Sep 17 00:00:00 2001 From: Alex S Date: Wed, 18 Sep 2024 22:15:00 +0800 Subject: [PATCH 2347/2563] Move working directory directive to defaults --- .github/workflows/draft-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 917964daa7..3f5d1abe2c 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -14,6 +14,9 @@ on: jobs: release: runs-on: ubuntu-latest + defaults: + run: + working-directory: www steps: - uses: actions/checkout@v4 with: @@ -56,4 +59,3 @@ jobs: body: "This is an automated pull request to create a release" draft: true - working-directory: www From 0ea6de7ac224d861f62cb6cfcaca5698d8b23a12 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:18:59 +0000 Subject: [PATCH 2348/2563] Bump google-protobuf from 4.27.3 to 4.27.5 Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf) from 4.27.3 to 4.27.5. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/commits) --- updated-dependencies: - dependency-name: google-protobuf dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ea21f009ba..70b3e4585c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -40,22 +40,22 @@ GEM fiber-storage fiber-storage (1.0.0) forwardable-extended (2.6.0) - google-protobuf (4.27.3) + google-protobuf (4.27.5) bigdecimal rake (>= 13) - google-protobuf (4.27.3-aarch64-linux) + google-protobuf (4.27.5-aarch64-linux) bigdecimal rake (>= 13) - google-protobuf (4.27.3-arm64-darwin) + google-protobuf (4.27.5-arm64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.27.3-x86-linux) + google-protobuf (4.27.5-x86-linux) bigdecimal rake (>= 13) - google-protobuf (4.27.3-x86_64-darwin) + google-protobuf (4.27.5-x86_64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.27.3-x86_64-linux) + google-protobuf (4.27.5-x86_64-linux) bigdecimal rake (>= 13) hashery (2.1.2) From 535e39842fdad9ac878155ec687d39f292ef1d74 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 15:56:19 +0000 Subject: [PATCH 2349/2563] Bump peter-evans/create-pull-request from 6 to 7 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/draft-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 3f5d1abe2c..b23dd829e4 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -50,7 +50,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }} - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }} branch: releases/${{ github.event.client_payload.version || github.event.inputs.version }} From 941b5fc49c2e8565b3a839d3244a82c6029d3044 Mon Sep 17 00:00:00 2001 From: Tommaso Barbato Date: Tue, 24 Sep 2024 11:52:50 +0200 Subject: [PATCH 2350/2563] Normalize all dates to Date instead of String --- _data/releases.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_data/releases.yml b/_data/releases.yml index a3b23d5e63..81b64bac4f 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -321,7 +321,7 @@ # 3.2 series - version: 3.2.5 - date: '2024-07-26' + date: 2024-07-26 post: "/en/news/2024/07/26/ruby-3-2-5-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.5.tar.gz @@ -588,7 +588,7 @@ # 3.1 series - version: 3.1.6 - date: '2024-05-29' + date: 2024-05-29 post: "/en/news/2024/05/29/ruby-3-1-6-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz @@ -612,7 +612,7 @@ zip: f8b5a0fda8dc0248f29796a0b5b67f93a825a013b92b0db437ecf0a5ffaf06a800285999a0e9a61e890a8000dd2e2c081a6ecb5dae62b1045761a13fd87c397b - version: 3.1.5 - date: '2024-04-23' + date: 2024-04-23 post: "/en/news/2024/04/23/ruby-3-1-5-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.5.tar.gz @@ -792,7 +792,7 @@ # 3.0 series - version: 3.0.7 - date: '2024-04-23' + date: 2024-04-23 post: "/en/news/2024/04/23/ruby-3-0-7-released/" url: gz: https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.7.tar.gz From 20aa4056858b149b4240f84b737ac6e4361dbe33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Fri, 27 Sep 2024 06:39:14 -0400 Subject: [PATCH 2351/2563] Translate CVE-2024-43398 (es) (#3376) * Translate CVE-2024-43398 (es) --- .../2024-08-22-dos-rexml-cve-2024-43398.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 es/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md diff --git a/es/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/es/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md new file mode 100644 index 0000000000..6b9aa87686 --- /dev/null +++ b/es/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "CVE-2024-43398: Vulnerabilidad de denegación de servicio (DoS) en REXML" +author: "kou" +translator: vtamara +date: 2024-08-22 03:00:00 +0000 +tags: security +lang: es +--- + +Hay una vulnerabilidad de denegación de servicio en la gema REXML. +A esta vulnerabilidad le ha sido asignado el identificador +[CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398). +Recomendamos enfáticamente actualizar la gema REXML. + +## Detalles + +Cuando analiza un XML que tiene muchos elementos profundos con los +mismos nombres de atributos locales, la gema REXML puede tardar +largo tiempo. + +Esta vulnerabilidad sola afecta la API para analizar árboles. +Si está usando `REXML::Document.new` para analizar un XML, puede +resultar afectado. + +Por favor actualice la gema REXML a la versión 3.3.6 o posterior. + +## Versiones afectadas + +* Gema REXML 3.3.5 y anteriores + +## Créditos + +Agradecemos a [l33thaxor](https://hackerone.com/l33thaxor) por descubrir +este problema. + +## Historia + +* Publicado originalmente el 2024-08-22 03:00:00 (UTC) From 5cad87f8a217583a6db86778efb4ec182c0b78d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Fri, 27 Sep 2024 07:21:40 -0400 Subject: [PATCH 2352/2563] Translation of Ruby 3.3.5 released (es) (#3377) --- es/news/_posts/2024-09-03-3-3-5-released.md | 57 +++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 es/news/_posts/2024-09-03-3-3-5-released.md diff --git a/es/news/_posts/2024-09-03-3-3-5-released.md b/es/news/_posts/2024-09-03-3-3-5-released.md new file mode 100644 index 0000000000..bcac7f7058 --- /dev/null +++ b/es/news/_posts/2024-09-03-3-3-5-released.md @@ -0,0 +1,57 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.5" +author: k0kubun +translator: vtamara +date: 2024-09-03 06:40:00 +0000 +lang: es +--- + +Ruby 3.3.5 ha sido publicado. + +Esta es una actualización rutinaria que incluye solución a fallas menores. +Recomendamos actualizar su versión de Ruby tan pronto le convenga. +Para ver más detalles, por favor refiérase a +[las notas de la publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_5). + +## Calendario de versiones + +Como previamente se [había anunciado](https://www.ruby-lang.org/en/news/2024/07/09/ruby-3-3-4-released/), +pretendemos publicar la versión estable más reciente de Ruby (en el momento +Ruby 3.3) cada 2 meses tras una versión `.1`. + +Esperamos publicar Ruby 3.3.6 el 5 de Noviembre y Ruby 3.3.7 el 7 de Enero. +Si aparecen algunos cambios significativos que impacten a un gran número +de usuarios, podríamos publicar una nueva versión antes de lo programado. + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.3.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentarios de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. From c58f2557ddbc44294e7a000923ea4a3421d68d83 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Wed, 11 Sep 2024 13:16:38 +0900 Subject: [PATCH 2353/2563] Translate "Ruby 3.3.5 Released" (ja) Translated [Ruby 3.3.5 release](https://www.ruby-lang.org/en/news/2024/09/03/3-3-5-released/) into Japanese. refs: #3359 and #3360 --- ja/news/_posts/2024-09-03-3-3-5-released.md | 50 +++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ja/news/_posts/2024-09-03-3-3-5-released.md diff --git a/ja/news/_posts/2024-09-03-3-3-5-released.md b/ja/news/_posts/2024-09-03-3-3-5-released.md new file mode 100644 index 0000000000..cdd61a34e9 --- /dev/null +++ b/ja/news/_posts/2024-09-03-3-3-5-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.5 リリース" +author: "k0kubun" +translator: "koic" +date: 2024-09-03 06:40:00 +0000 +lang: ja +--- + +Ruby 3.3.5がリリースされました。 + +これは定期的なアップデートであり、マイナーなバグ修正を含みます。できるだけ早くRubyのバージョンをアップグレードすることを推奨します。 + +詳しくは[GitHub release notes](https://github.com/ruby/ruby/releases/tag/v3_3_5)を参照してください。 + +## Release Schedule + +以前[お知らせ](https://www.ruby-lang.org/ja/news/2024/07/09/ruby-3-3-4-released/)したとおり、最新の安定版Ruby(現在はRuby 3.3)を `.1` リリース後の2ヶ月おきにリリースする予定です。 + +Ruby 3.3.6は11月5日に、Ruby 3.3.7は1月7日にリリースされる予定です。多くのユーザーに影響を与えるような変更があった場合、予定よりも早く新しいバージョンをリリースすることがあります。 + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.5" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From d1f672fd8b2f4cfd1219ecbdb26edaf8198bb4f8 Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Tue, 1 Oct 2024 23:42:08 +0900 Subject: [PATCH 2354/2563] Translate h2 in 3.3.5 post (ja) closes #3370 --- ja/news/_posts/2024-09-03-3-3-5-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ja/news/_posts/2024-09-03-3-3-5-released.md b/ja/news/_posts/2024-09-03-3-3-5-released.md index cdd61a34e9..1f82b63f81 100644 --- a/ja/news/_posts/2024-09-03-3-3-5-released.md +++ b/ja/news/_posts/2024-09-03-3-3-5-released.md @@ -13,13 +13,13 @@ Ruby 3.3.5がリリースされました。 詳しくは[GitHub release notes](https://github.com/ruby/ruby/releases/tag/v3_3_5)を参照してください。 -## Release Schedule +## リリーススケジュール 以前[お知らせ](https://www.ruby-lang.org/ja/news/2024/07/09/ruby-3-3-4-released/)したとおり、最新の安定版Ruby(現在はRuby 3.3)を `.1` リリース後の2ヶ月おきにリリースする予定です。 Ruby 3.3.6は11月5日に、Ruby 3.3.7は1月7日にリリースされる予定です。多くのユーザーに影響を与えるような変更があった場合、予定よりも早く新しいバージョンをリリースすることがあります。 -## Download +## ダウンロード {% assign release = site.data.releases | where: "version", "3.3.5" | first %} From 2fefef19c972b9cf9e1c49cb0692f7fc079c0409 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Mon, 7 Oct 2024 22:28:05 +0900 Subject: [PATCH 2355/2563] Ruby 3.4.0 Preview 2 Released (#3379) --- _data/downloads.yml | 2 +- _data/releases.yml | 29 ++++ ...2024-10-07-ruby-3-4-0-preview2-released.md | 144 ++++++++++++++++++ 3 files changed, 174 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 8abbc92eb4..f8bec70dbb 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 3.4.0-preview1 + - 3.4.0-preview2 stable: diff --git a/_data/releases.yml b/_data/releases.yml index 81b64bac4f..b43179020c 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,35 @@ # 3.4 series +- version: 3.4.0-preview2 + date: 2024-10-07 + post: /en/news/2024/10/07/ruby-3-4-0-preview2-released/ + tag: v3_4_0_preview2 + stats: + files_changed: 4422 + insertions: 163889 + deletions: 243380 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview2.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview2.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview2.tar.xz + size: + gz: 22722332 + zip: 28101194 + xz: 16878876 + sha1: + gz: c23265acf6c07b4c1df1e41eebf8b4cf2f25b97b + zip: 479bd223bca3225fb3a15984e3eae4efb9a40189 + xz: dbff404b969012702dc500cac72f4d6b3822068e + sha256: + gz: 443cd7ec54ade4786bc974ce9f5d49f172a60f8edc84b597b7fe2bd2a94b8371 + zip: e00a6fbf6f9e25a725711a8aac7e38be6bed61de4db9862a405172b96bf38b5b + xz: 626bf4fe952323c15ec9a8999f470ec136ef91c0fc34c484646aaaa9a0b62ca7 + sha512: + gz: 0946d256587597bdf13437a50f7a3298c151133edea161a1c4806a04dcbd8c2e8a7fd617f3eda16c5c05f6e6346317562cc30ba67698f1fdd92237c03bdbd23e + zip: 0d9ee1c41920e4d594b0f2c40d02339b4e9a2cd5232f5ee914cab5a685cb4a2279fbbfd8fbad40ef0a53866db4e1de96068c62580ede6d8fab02550393bcbe81 + xz: f23257896a35d3a581cbf5e8c94fe28e45725e39608a7669f47f31085338b1b4929a4db40d826d8fee628afb97b0c25b2f9e7bda4cd42e80c1208c46caf54265 + - version: 3.4.0-preview1 date: 2024-05-16 post: /en/news/2024/05/16/ruby-3-4-0-preview1-released/ diff --git a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md new file mode 100644 index 0000000000..0ef5b99d42 --- /dev/null +++ b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -0,0 +1,144 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview2 Released" +author: "naruse" +translator: +date: 2024-10-07 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview2" | first %} +We are pleased to announce the release of Ruby {{ release.version }}. +In + +## Prism + +Switch the default parser from parse.y to Prism. [[Feature #20564]] + +## Language changes + +* String literals in files without a `frozen_string_literal` comment now behave + as if they were frozen. If they are mutated a deprecation warning is emitted. + These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`. + To disable this change, you can run Ruby with the `--disable-frozen-string-literal` + command line argument. [[Feature #20205]] + +* `it` is added to reference a block parameter. [[Feature #18980]] + +* Keyword splatting `nil` when calling methods is now supported. + `**nil` is treated similarly to `**{}`, passing no keywords, + and not calling any conversion methods. [[Bug #20064]] + +* Block passing is no longer allowed in index. [[Bug #19918]] + +* Keyword arguments are no longer allowed in index. [[Bug #20218]] + +## Core classes updates + +Note: We're only listing outstanding class updates. + +* Exception + + * `Exception#set_backtrace` now accepts an array of `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` and `Fiber#raise` also accept this new format. [[Feature #13557]] + +* Range + + * `Range#size` now raises `TypeError` if the range is not iterable. [[Misc #18984]] + + + +## Compatibility issues + +Note: Excluding feature bug fixes. + +* Error messages and backtrace displays have been changed. + * Use a single quote instead of a backtick as a opening quote. [[Feature #16495]] + * Display a class name before a method name (only when the class has a permanent name). [[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location`'s methods, etc. are also changed accordingly. + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + + +## C API updates + +* `rb_newobj` and `rb_newobj_of` (and corresponding macros `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) have been removed. [[Feature #20265]] +* Removed deprecated function `rb_gc_force_recycle`. [[Feature #18290]] + +## Implementation improvements + +* `Array#each` is rewritten in Ruby for better performance [[Feature #20182]]. + +## Miscellaneous changes + +* Passing a block to a method which doesn't use the passed block will show + a warning on verbose mode (`-w`). + [[Feature #15554]] + +* Redefining some core methods that are specially optimized by the interpeter + and JIT like `String.freeze` or `Integer#+` now emits a performance class + warning (`-W:performance` or `Warning[:performance] = true`). + [[Feature #20429]] + +See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or +changelog for details of the default gems or bundled gems. + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +since Ruby 3.3.0! + + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 From ad9eb92219070c1d7727a4d409659d679ec08561 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 7 Oct 2024 10:05:45 -0700 Subject: [PATCH 2356/2563] Remove unneeded "In" (#3381) --- en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md | 1 - 1 file changed, 1 deletion(-) diff --git a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md index 0ef5b99d42..36ee22ae46 100644 --- a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md +++ b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -9,7 +9,6 @@ lang: en {% assign release = site.data.releases | where: "version", "3.4.0-preview2" | first %} We are pleased to announce the release of Ruby {{ release.version }}. -In ## Prism From 3e7096cd2e5e5202b2e46c75c8c503f9eb85c2f4 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 7 Oct 2024 20:11:32 +0200 Subject: [PATCH 2357/2563] Fix quoting of backtraces (#3382) --- en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md index 36ee22ae46..2e5c85df95 100644 --- a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md +++ b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -55,6 +55,7 @@ Note: Excluding feature bug fixes. * Use a single quote instead of a backtick as a opening quote. [[Feature #16495]] * Display a class name before a method name (only when the class has a permanent name). [[Feature #19117]] * `Kernel#caller`, `Thread::Backtrace::Location`'s methods, etc. are also changed accordingly. + ``` Old: test.rb:1:in `foo': undefined method `time' for an instance of Integer From 235860a7fdc3f0a6ac8fb191a3e220e671281e7b Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Mon, 7 Oct 2024 14:19:56 -0400 Subject: [PATCH 2358/2563] Clarify 3-4-0-preview2 release notes (#3380) The part about chilled string has changed since preview1. And I also think we should call out the Hash#inspect change. --- en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md index 2e5c85df95..a6a062c394 100644 --- a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md +++ b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -16,8 +16,8 @@ Switch the default parser from parse.y to Prism. [[Feature #20564]] ## Language changes -* String literals in files without a `frozen_string_literal` comment now behave - as if they were frozen. If they are mutated a deprecation warning is emitted. +* String literals in files without a `frozen_string_literal` comment now emit a deprecation warning + when they are mutated. These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`. To disable this change, you can run Ruby with the `--disable-frozen-string-literal` command line argument. [[Feature #20205]] @@ -66,6 +66,9 @@ Note: Excluding feature bug fixes. from test.rb:2:in `
' ``` +* `Hash#inspect` rendering has changed. [[Bug #20433]] + * Symbol keys are displayed using the modern symbol key syntax: `"{user: 1}"` + * Other keys now have spaces around `=>`: `'{"user" => 1}'`, while previously they didn't: `'{"user"=>1}'` ## C API updates @@ -142,3 +145,4 @@ and is used all over the world especially for web development. [Feature #20265]: https://bugs.ruby-lang.org/issues/20265 [Feature #20429]: https://bugs.ruby-lang.org/issues/20429 [Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 From 271361ddf5b238a9a56787058c3ae2b7e34edd24 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Tue, 8 Oct 2024 10:39:44 +0900 Subject: [PATCH 2359/2563] Fix quotes of
This changed since 3.4.0-preview1. ``` % docker run --platform linux/amd64 --rm -it ghcr.io/ruby/all-ruby env LANG=C.UTF-8 ALL_RUBY_SINCE=ruby-3.3 ./all-ruby -e 'def foo; time; end; foo' ruby-3.3.0 -e:1:in `foo': undefined local variable or method `time' for main (NameError) def foo; time; end; foo ^^^^ from -e:1:in `
' exit 1 ... ruby-3.3.4 -e:1:in `foo': undefined local variable or method `time' for main (NameError) def foo; time; end; foo ^^^^ from -e:1:in `
' exit 1 ruby-3.4.0-preview1 -e:1:in 'Object#foo': undefined local variable or method 'time' for main (NameError) def foo; time; end; foo ^^^^ from -e:1:in '
' exit 1 ``` --- en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md | 2 +- en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md | 2 +- es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md | 2 +- ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md | 2 +- ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md | 2 +- zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md | 2 +- zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md index 633636e3a4..c8048b4950 100644 --- a/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md +++ b/en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -59,7 +59,7 @@ Note: Excluding feature bug fixes. New: test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer - from test.rb:2:in `
' + from test.rb:2:in '
' ``` diff --git a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md index a6a062c394..4f32eb934a 100644 --- a/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md +++ b/en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -63,7 +63,7 @@ Note: Excluding feature bug fixes. New: test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer - from test.rb:2:in `
' + from test.rb:2:in '
' ``` * `Hash#inspect` rendering has changed. [[Bug #20433]] diff --git a/es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md index 73c3e46515..01abcd258b 100644 --- a/es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md +++ b/es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -70,7 +70,7 @@ Nota: Excluyendo correcciones a problemas en características. Ahora: test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer - from test.rb:2:in `
' + from test.rb:2:in '
' ``` diff --git a/ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md index 913b2df832..69cd4d00ef 100644 --- a/ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md +++ b/ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -56,7 +56,7 @@ Ruby {{ release.version }}がリリースされました。 New: test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer - from test.rb:2:in `
' + from test.rb:2:in '
' ``` diff --git a/ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md index 19d92c5efe..d93cc972c3 100644 --- a/ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md +++ b/ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -60,7 +60,7 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. New: test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer - from test.rb:2:in `
' + from test.rb:2:in '
' ``` diff --git a/zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md index cbd12e8f32..0d2a4d1480 100644 --- a/zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md +++ b/zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -55,7 +55,7 @@ lang: zh_cn 现在: test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer - from test.rb:2:in `
' + from test.rb:2:in '
' ``` ## C API 更新 diff --git a/zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md b/zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md index 5f96cefe79..8d9ccb0b1f 100644 --- a/zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md +++ b/zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md @@ -54,7 +54,7 @@ lang: zh_tw 新: test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer - from test.rb:2:in `
' + from test.rb:2:in '
' ``` From 26ba60ebd2544a600687eb4f191d3da016deb01c Mon Sep 17 00:00:00 2001 From: Andy Waite <13400+andyw8@users.noreply.github.com> Date: Mon, 7 Oct 2024 21:50:57 -0400 Subject: [PATCH 2360/2563] Update link for Programming Ruby book --- en/documentation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 2b2fdcb1d4..e6c3d83be7 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -116,7 +116,7 @@ If you have questions about Ruby the [7]: http://www.techotopia.com/index.php/Ruby_Essentials [8]: http://pine.fm/LearnToProgram/ [9]: http://www.ruby-doc.org/docs/ProgrammingRuby/ -[10]: http://pragmaticprogrammer.com/titles/ruby/index.html +[10]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [16]: http://www.rubydoc.info/ From bea21219192e0c021954d5fdd5285edddbfda4c5 Mon Sep 17 00:00:00 2001 From: motohiro-mm Date: Tue, 8 Oct 2024 20:43:26 +0900 Subject: [PATCH 2361/2563] Translate Ruby 3.4.0 preview2 Released(ja) --- ...2024-10-07-ruby-3-4-0-preview2-released.md | 136 ++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md diff --git a/ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md new file mode 100644 index 0000000000..424639f64c --- /dev/null +++ b/ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -0,0 +1,136 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview2 リリース" +author: "naruse" +translator: "motohiro-mm" +date: 2024-10-07 00:00:00 +0000 +lang: ja +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview2" | first %} +Ruby {{ release.version }}がリリースされました。 + +## Prism + +デフォルトのパーサーを parse.y から Prism に変更しました。 [[Feature #20564]] + +## 言語機能の変更 + +* `frozen_string_literal`のコメントがないファイルで文字列リテラルが凍結されたように振る舞うようになりました。 + 文字列リテラルが破壊的に変更された場合、非推奨の警告が表示されます。 + この警告は `-W:deprecated` または `Warning[:deprecated] = true` で有効にすることができます。 + コマンドライン引数で`--disable-frozen-string-literal` を指定してRubyを実行すると、この変更を無効にできます。 [[Feature #20205]] + +* `it`がブロックパラメータを参照するために追加されました。 [[Feature #18980]] + +* メソッド呼び出し時のnilのキーワードスプラットが使えるようになりました。 + `**nil`は`**{}`と同様に扱われ、キーワードは渡されず、変換メソッドも呼び出されません。 [[Bug #20064]] + +* インデックスにブロックを渡せなくなりました。 [[Bug #19918]] + +* インデックスにキーワード引数が使えなくなりました。 [[Bug #20218]] + +## コアクラスの更新 +注:特に重要なクラスアップデートのみを掲載しています。 + +* Exception + + * Exception#set_backtraceが`Thread::Backtrace::Location`の配列を受け付けるようになりました。 + `Kernel#raise`と`Thread#raise`、`Fiber#raise`も同様に新しいフォーマットを受け付けます。[[Feature #13557]] + +* Range + + * rangeが列挙可能でない場合、`Range#size`がTypeErrorを発生させるようになりました。[[Misc #18984]] + + +## 互換性に関する変更 + +注:バグフィックスは掲載していません。 + +* エラーメッセージとバックトレースの表示が変更されました。 + * 冒頭の引用符にはバッククォートの代わりにシングルクォートを使用します。 [[Feature #16495]] + * メソッド名の前にクラス名を表示します(クラスが永続的な名前を持つ場合のみ)。 [[Feature #19117]] + * `Kernel#caller`、`Thread::Backtrace::Location`のメソッドなどがそれに応じて変更されました。 + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + +* `Hash#inspect`の出力を変更しました。 [[Bug #20433]] + * キーがシンボルの場合は、コロン形式を使用するようになりました。`"{user: 1}"` + * キーがシンボルでない場合は、`=>`の前後にスペースを追加します。`'{"user" => 1}'` + 以前:`'{"user"=>1}'` + + +## C API更新 + +* `rb_newobj`と`rb_newobj_of` (および対応するマクロ `RB_NEWOBJ`、`RB_NEWOBJ_OF`、`NEWOBJ`、`NEWOBJ_OF`)が削除されました。 [[Feature #20265]] +* 廃止予定だった関数`rb_gc_force_recycle`が削除されました。 [[Feature #18290]] + +## 実装の改善 + +* `Array#each`がRubyで書き直され、パフォーマンスが改善されました。 [[Feature #20182]]. + +## その他の変更 + +* 渡されたブロックを使用しないメソッドにブロックを渡すと、verboseモード (`-w`) で警告が表示されるようになりました。 [[Feature #15554]] + +* `String.freeze`や`Integer#+`のようなインタプリタやJITによって特別に最適化されたコアメソッドを再定義すると、パフォーマンスクラスの警告(`-W:performance`または`Warning[:performance] = true`)が出るようになりました。 [[Feature #20429]] + +default gemやbundled gemの詳細については、[Logger](https://github.com/ruby/logger/releases)などのGitHubのリリースやchangelogを参照してください。 + +詳細は[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +か[commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})を参照してください。 + +これらの変更により、Ruby 3.3.0から[{{ release.stats.files_changed }} ファイルが変更され、{{ release.stats.insertions }} 行が追加され、 {{ release.stats.deletions }} 行が削除されました!](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) + + +## ダウンロード + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + + +## Ruby とは + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 From de09474d35372e76c003967ca3c030a990298769 Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Tue, 8 Oct 2024 22:35:40 +0800 Subject: [PATCH 2362/2563] Translate "Ruby 3.4.0 preview2 Released" (zh_CN) (#3383) --- ...2024-10-07-ruby-3-4-0-preview2-released.md | 134 ++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 zh_cn/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md diff --git a/zh_cn/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/zh_cn/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md new file mode 100644 index 0000000000..7c47b47d56 --- /dev/null +++ b/zh_cn/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -0,0 +1,134 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview2 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2024-10-07 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview2" | first %} +我们很高兴地宣布 Ruby {{ release.version }} 发布。 + +## Prism + +默认解析器由 parse.y 切换到 Prism。 [[Feature #20564]] + +## 语言变化 + +* 在没有 `frozen_string_literal` 注释的文件中,当字符串字面量被修改时会发出警告。 + 这些警告可以使用 `-W:deprecated` 或者通过设置 `Warning[:deprecated] = true` 来启用。 + 如要禁用此变化,您可以在运行 Ruby 时,使用 `--disable-frozen-string-literal` 命令行参数。 [[Feature #20205]] + +* 增加了 `it` 来引用块参数。 [[Feature #18980]] + +* 支持在调用方法时使用 `nil` 作为关键字展开参数。 + `**nil` 类似于 `**{}`,不传递关键字参数,也不调用任何转换方法。 [[Bug #20064]] + +* 索引不再接受块传递。 [[Bug #19918]] + +* 索引不再接受关键字参数。 [[Bug #20218]] + +## 核心类更新 + +注意:我们只列出了重要的类更新。 + +* Exception + + * Exception#set_backtrace 现在接受 `Thread::Backtrace::Location` 数组。 + `Kernel#raise`,`Thread#raise` 和 `Fiber#raise` 也接受这个新格式。 [[Feature #13557]] + +* Range + + * 当 range 不可枚举时,Range#size 将抛出 TypeError。 [[Misc #18984]] + + + +## 兼容性问题 + +注意:不包括问题补丁。 + +* 修改了错误信息和错误栈的显示。 + * 使用单引号(`'`)代替反勾号(`` ` ``)作为错误消息的起始引号。 [[Feature #16495]] + * 在方法名前显示类名(仅当类具有永久名称时)。 [[Feature #19117]] + * `Kernel#caller`,`Thread::Backtrace::Location` 等的方法也进行了相应更改。 + + ``` + 此前: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + 现在: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + +* `Hash#inspect` 显示格式发生变化 [[Bug #20433]] + * 使用现代的表达语法来显示符号类型键值的情况: `"{user: 1}"` + * 其他类型的键值在显示时,在 `=>` 前后增加空格: `'{"user" => 1}'`,此前的显示为: `'{"user"=>1}'` + +## C API 更新 + +* 移除 `rb_newobj` 和 `rb_newobj_of` (以及相关的宏 `RB_NEWOBJ`,`RB_NEWOBJ_OF`,`NEWOBJ`,`NEWOBJ_OF`)。 [[Feature #20265]] +* 移除废除的函数 `rb_gc_force_recycle`。 [[Feature #18290]] + +## 实现改进 + +* `Array#each` 用 Ruby 重写,以提供更好的性能 [[Feature #20182]]。 + +## 其他变化 + +* 如果传递了一个块给不使用块的方法时,在详细模式(`-w`)中将显示警告。 [[Feature #15554]] + +* Ruby 对一些核心方法通过解释器和 JIT 进行了优化,诸如 `String.freeze`,`Integer#+`。 + 当这些方法被重定义时,解释器将发出性能警告(`-W:performance` 或 `Warning[:performance] = true`)。 [[Feature #20429]] + +有关默认 gems 和 绑定 gems 的细节,可以参考 GitHub 上的发布,例如 [logger gem](https://github.com/ruby/logger/releases) 或相应的变更日志。 +或 [提交日志](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})。 + +自 Ruby 3.3.0 以来,这些变化共导致 [{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+),删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)! + + +## 下载 + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什么 + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发,现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是 Web 开发领域。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 From a697d0af4f58d8a05a87a6c0e8aab38c7e44baba Mon Sep 17 00:00:00 2001 From: Nithin Bekal Date: Tue, 8 Oct 2024 23:07:39 -0400 Subject: [PATCH 2363/2563] Remove obsolete editor links --- en/documentation/index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 2b2fdcb1d4..edfea7262e 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -95,8 +95,6 @@ Here is a list of popular tools used by Rubyists: * On Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * On macOS: * [TextMate][32] @@ -132,8 +130,6 @@ If you have questions about Ruby the [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org From 81a366e8bdd158f0900d528682951a882db66d77 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 8 Oct 2024 16:32:07 +0800 Subject: [PATCH 2364/2563] Translate Ruby 3.4.0 preview2 news (zh_tw) --- ...2024-10-07-ruby-3-4-0-preview2-released.md | 136 ++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 zh_tw/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md diff --git a/zh_tw/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/zh_tw/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md new file mode 100644 index 0000000000..92ef60440c --- /dev/null +++ b/zh_tw/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -0,0 +1,136 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview2 發布" +author: "naruse" +translator: "Bear Su" +date: 2024-10-07 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview2" | first %} +我們很高興宣布 Ruby {{ release.version }} 發布了。 + +## Prism + +預設的解析器從 parse.y 切換為 Prism。 [[Feature #20564]] + +## 語法變更 + +* 沒有 `frozen_string_literal` 註解的檔案中的字串文字,現在行為會跟被凍結一樣。如果它們被修改則會發出棄用警告。 + 這些警告可以透過 `-W:deprecated` 或 `Warning[:deprecated] = true` 啟用。 + 若要停用此變更,您可以在執行 Ruby 時加上參數 `--disable-frozen-string-literal`。 [[Feature #20205]] + +* 新增 `it` 來引用 block 的傳入參數。 [[Feature #18980]] + +* 現在呼叫方法支援使用 Keyword splatting `nil`。 + `**nil` 的處理方式與 `**{}` 類似,不會傳遞 keywords,也不會呼叫任何轉換方法。 [[Bug #20064]] + +* Block passing 不再允許作為索引。 [[Bug #19918]] + +* 不定長度參數不再允許作為索引。 [[Bug #20218]] + +## 核心類別更新 + +注意:我們只列出特別的類別更新。 + +* Exception + + * Exception#set_backtrace 現在可接受 `Thread::Backtrace::Location` 陣列。 + `Kernel#raise`、`Thread#raise` 和 `Fiber#raise` 也接受同樣的新格式。 [[Feature #13557]] + +* Range + + * Range#size 如果 range 無法迭代的話,現在會拋出 TypeError。 [[Misc #18984]] + +## 相容性問題 + +注意:不包含功能問題的修正。 + +* 錯誤訊息與 backtrace 的顯示改變。 + * 使用單引號 (`'`) 取代反引號 (`` ` ``) 作為起始引號。 [[Feature #16495]] + * 在方法名稱前顯示類別名稱 (僅當類別有固定名稱時)。 [[Feature #19117]] + * `Kernel#caller`、`Thread::Backtrace::Location` 的方法等等,也做了對應的改變。 + + ``` + 舊: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + 新: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* `Hash#inspect` 渲染變更。 [[Bug #20433]] + * Symbol keys 會使用現代 symbol key 語法顯示: `"{user: 1}"` + * 其他 keys 現在會在 `=>` 前後加上空白: `'{"user" => 1}'`,在之前不會添加: `'{"user"=>1}'` + +## C API 更新 + +* `rb_newobj` 和 `rb_newobj_of` (和相對應的巨集 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) 已經被移除。 [[Feature #20265]] +* 移除已廢棄的函式 `rb_gc_force_recycle`。 [[Feature #18290]] + +## 實作改善 + +* `Array#each` 用 Ruby 重寫並有更好的效能 [[Feature #20182]]。 + +## 其他變更 + +* 將 block 傳遞給不使用傳入 block 的方法,會在 verbose 模式 (`-w`) 下顯示警告。 + [[Feature #15554]] + +* 當重新定義一些由直譯器與 JIT 特別最佳化的核心方法,例如 `String.freeze` 和 `Integer#+`,現在會發出效能類型警告 (`-W:performance` or `Warning[:performance] = true`)。 + [[Feature #20429]] + +請參閱 GitHub 發布如 [Logger](https://github.com/ruby/logger/releases) 和變更紀錄來了解更多關於預設 gems 與 bundled gems 的資訊。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +來了解更多。 + +自 Ruby 3.3.0 以來,計 [{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)。 + + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 From 54751d8667d891102ddcd28a0420a145c7036318 Mon Sep 17 00:00:00 2001 From: motohiro-mm Date: Wed, 9 Oct 2024 19:17:21 +0900 Subject: [PATCH 2365/2563] fixed a backquote to a singlequote --- ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md index 424639f64c..8002c6e967 100644 --- a/ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md +++ b/ja/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -58,7 +58,7 @@ Ruby {{ release.version }}がリリースされました。 from test.rb:2:in `
' New: test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer - from test.rb:2:in `
' + from test.rb:2:in '
' ``` * `Hash#inspect`の出力を変更しました。 [[Bug #20433]] From 9c4d9707dcdda642a4511d404676038df7142e4a Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 9 Oct 2024 20:00:05 +0900 Subject: [PATCH 2366/2563] Follow up "Update link for Programming Ruby book" (ko) --- ko/documentation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index dc46f7017f..71c5463c79 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -122,7 +122,7 @@ Ruby를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습 [7]: http://www.techotopia.com/index.php/Ruby_Essentials [8]: http://pine.fm/LearnToProgram/ [9]: http://www.ruby-doc.org/docs/ProgrammingRuby/ -[10]: http://pragmaticprogrammer.com/titles/ruby/index.html +[10]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [16]: http://www.rubydoc.info/ From 0acf718d856e81d23f8878bef7cb970419d2b0ce Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 9 Oct 2024 20:04:08 +0900 Subject: [PATCH 2367/2563] Follow up "Remove obsolete editor links" (ko) --- ko/documentation/index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index dc46f7017f..bcba62a8c7 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -100,8 +100,6 @@ Ruby를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습 * Windows * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * macOS * [TextMate][32] @@ -137,8 +135,6 @@ Ruby를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습 [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org From 4365c5e2526049d1626246fa5f2ad060b48b5932 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 9 Oct 2024 22:21:30 +0800 Subject: [PATCH 2368/2563] Follow up "Remove obsolete editor links" (zh_tw) --- zh_tw/documentation/index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 8a4ec1553b..3e8f0df3f8 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -88,8 +88,6 @@ lang: zh_tw * Windows 作業系統: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * macOS 作業系統: * [TextMate][32] @@ -129,8 +127,6 @@ lang: zh_tw [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org From 65fbbc19b38d61d6d5219688cb7366bd5f3e10f8 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 9 Oct 2024 22:25:58 +0800 Subject: [PATCH 2369/2563] Follow up "Update link for Programming Ruby book" (zh_tw) --- zh_tw/documentation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 8a4ec1553b..26adcf9610 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -108,7 +108,7 @@ lang: zh_tw [7]: http://www.techotopia.com/index.php/Ruby_Essentials [8]: http://pine.fm/LearnToProgram/ [9]: http://www.ruby-doc.org/docs/ProgrammingRuby/ -[10]: http://pragmaticprogrammer.com/titles/ruby/index.html +[10]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core [14]: https://ruby.github.io/rdoc/ From 1ba90c38d6bd1d5a072f0145f0634f7417cf5ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madis=20N=C3=B5mme?= Date: Wed, 9 Oct 2024 21:11:53 +0300 Subject: [PATCH 2370/2563] Fix orthography in hello_world.md --- es/examples/hello_world.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/es/examples/hello_world.md b/es/examples/hello_world.md index ff82caf3e2..d41be1e654 100644 --- a/es/examples/hello_world.md +++ b/es/examples/hello_world.md @@ -9,10 +9,10 @@ layout: null # Son superfluos: # # * Un método "main" -# * Nueva linea +# * Nueva línea # * Punto y coma # -# Aqui esta el código: +# Aquí está el código: puts "¡Hola Mundo!" {% endhighlight %} From 0fbc6423307bb9c347835797a8ea6c0a1472a614 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 11 Oct 2024 06:27:30 +0900 Subject: [PATCH 2371/2563] Translate "Ruby 3.4.0 preview2 Released" (ko) (#3392) * cp {en,ko}/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md * Translate "Ruby 3.4.0 preview2 Released" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ...2024-10-07-ruby-3-4-0-preview2-released.md | 148 ++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 ko/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md diff --git a/ko/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/ko/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md new file mode 100644 index 0000000000..070b8dea8e --- /dev/null +++ b/ko/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -0,0 +1,148 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview2 릴리스" +author: "naruse" +translator: "shia" +date: 2024-10-07 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview2" | first %} +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. + +## Prism + +parse.y에서 Prism으로 기본 파서를 변경했습니다. [[Feature #20564]] + +## 언어 변경 + +* 파일에 `frozen_string_literal` 주석이 없을 때, 문자열 리터럴이 변경되면 + 폐기 예정 경고를 출력합니다. + 이 경고는 `-W:deprecated`나 `Warning[:deprecated] = true` 설정을 통해 활성화할 수 있습니다. + 이 변경을 무효화하고 싶다면 Ruby를 실행할 때 `--disable-frozen-string-literal` 커맨드라인 인수를 + 사용하세요. [[Feature #20205]] + +* 블록 인자를 가리키는 `it`이 추가됩니다. [[Feature #18980]] + +* 메서드 호출 시에 `nil`에 키워드 스플랫을 지원합니다. + `**nil`은 `**{}`와 비슷하게 동작하며, 키워드를 넘기지 않으며, + 어떤 변환 메서드도 호출하지 않습니다. [[Bug #20064]] + +* 블록을 인덱스로 사용할 수 없게 됩니다. [[Bug #19918]] + +* 키워드 인수를 인덱스로 사용할 수 없게 됩니다. [[Bug #20218]] + +## 코어 클래스 변경 + +주의: 눈에 띄는 클래스 변경만을 포함합니다. + +* Exception + + * `Exception#set_backtrace`는 이제 `Thread::Backtrace::Location`의 배열을 입력으로 받을 수 있습니다. + `Kernel#raise`, `Thread#raise`와 `Fiber#raise`도 같은 형식의 입력을 받습니다. [[Feature #13557]] + +* Range + + * `Range#size`는 이제 범위가 순회 가능하지 않다면 `TypeError`를 던집니다. [[Misc #18984]] + + + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +* 에러 메시지와 백트레이스의 출력 결과가 변경됩니다. + * 여는 따옴표로 백틱 대신 작은 따옴표를 사용합니다. [[Feature #16495]] + * 메서드 이름 앞에 클래스 이름을 출력합니다(클래스가 불변하는 이름을 가지고 있는 경우만). [[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location`의 메서드 등도 마찬가지로 변경됩니다. + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* `Hash#inspect` 결과가 변경되었습니다. [[Bug #20433]] + * 심볼 키는 최신 심볼 키 구문을 사용하여 표시됩니다. 예시: `"{user: 1}"` + * 다른 키는 `=>` 주변에 공백이 추가되었습니다. 예시: `'{"user" => 1}'`. 이전에는 그렇지 않았습니다. 예시: `'{"user"=>1}'`. + +## C API 변경 + +* `rb_newobj`와 `rb_newobj_of`(그리고 대응하는 매크로인 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`)가 삭제됩니다. [[Feature #20265]] +* 폐기 예정인 `rb_gc_force_recycle` 함수가 삭제됩니다. [[Feature #18290]] + +## 구현 개선 + +* 더 나은 성능을 위해 `Array#each`를 Ruby로 재작성했습니다. [[Feature #20182]] + +## 그 이외의 변경 + +* 상세 모드(`-w`)에서 메서드에 넘긴 블록이 사용되지 않았을 때 + 경고를 출력합니다. + [[Feature #15554]] + +* `String.freeze`나 `Integer#+`처럼 인터프리터와 JIT이 특별히 최적화하는 + 몇몇 코어 메서드를 재정의하면 성능 클래스 + 경고(`-W:performance`나 `Warning[:performance] = true`)를 출력합니다. + [[Feature #20429]] + +기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은 +GitHub 릴리스 또는 변경 로그에서 확인하세요. + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.3.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 From e2f2675d5b274a326996ace654335cd20d8369a6 Mon Sep 17 00:00:00 2001 From: "Italo A." Date: Thu, 10 Oct 2024 21:21:11 -0300 Subject: [PATCH 2372/2563] Update tiobe index link into pt-BR --- pt/about/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt/about/index.md b/pt/about/index.md index 2c14fa521f..27ec4f4840 100644 --- a/pt/about/index.md +++ b/pt/about/index.md @@ -240,7 +240,7 @@ Nov. 2001. [ror]: http://rubyonrails.org/ [linuxdevcenter]: http://www.linuxdevcenter.com/pub/a/linux/2001/11/29/ruby.html [artima]: http://www.artima.com/intv/closures2.html -[tiobe]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html +[tiobe]: https://www.tiobe.com/tiobe-index/ [jruby]: http://jruby.org [rubinius]: http://rubini.us [mruby]: http://www.mruby.org/ From 809dc3e5382d53a7d27c4ce831965d3beecd6e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 23 Oct 2024 11:15:15 -0400 Subject: [PATCH 2373/2563] Translation of Ruby 3.4.0.preview2 (es) (#3397) --- ...2024-10-07-ruby-3-4-0-preview2-released.md | 169 ++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md diff --git a/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md new file mode 100644 index 0000000000..6b1b774c29 --- /dev/null +++ b/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -0,0 +1,169 @@ +--- +layout: news_post +title: "Ruby 3.4.0 preview2 Released" +author: "naruse" +translator: vtamara +date: 2024-10-07 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-preview2" | first %} +Nos complace anunciar la publicación de Ruby {{ release.version }}. + +## Prism + +Cambió el analizador sintáctico predeterminado de parse.y a Prism. +[[Característica #20564]] + +## Cambios en el lenguaje + +* Las cadenas literales en archivos sin un comentario `frozen_string_literal` + ahora producen una advertencia de obsolescencia cuando se mutan. + Estas advertencias pueden habilitarse con `-W:deprecated` + o estableciendo `Warning[:deprecated] = true`. + Para deshabilitar este cambio, puede ejecutar Ruby con el argumento + `--disable-frozen-string-literal` en la línea de ordenes. + [[Característica #20205]] + +* Se añade `it` para referenciar un parámetro de bloque. + [[Característica #18980]] + +* Ahora soporta splat de palabra clave `nil` + cuando se llaman métodos. + `**nil` se trata de manera similar a `**{}`, al no pasar + palabras clave, ni llamar método de conversión alguno [[Falla #20064]] + +* Ya no se permite pasar bloques como índices. [[Falla #19918]] + +* Argumentos de palabra clave ya no son permitidos como índices. + [[Falla #20218]] + + +## Actualización a clases fundamentales + +Nota: Listamos sólo actualizaciones a clases muy importantes. + +* Excepción + + * `Exception#set_backtrace` ahora acepta un arreglo de + `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` y `Fiber#raise` también aceptan + este nuevo formato. [[Característica #13557]] + +* Rangos + + * `Range#size` ahora lanza `TypeError` si el rango no es iterable. + [[Varios #18984]] + + + +## Problemas de compatibilidad + +Nota: Excluyendo correcciones a fallas. + +* Se han cambiado mensajes de error y presentación de trazas. + * Se usa un sólo apostrofe en lugar de un acento grave para iniciar + citas. [[Característica #16495]] + * Presentar el nombre de la clase antes del nombre del método (sólo + cuando la clase tiene un nombre permanente). [[Característica #19117]] + * Los métodos de `Kernel#caller`, `Thread::Backtrace::Location` se + han cambiado análogamente. + + ``` + Antiguo: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + Nuevo: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* La presentación de `Hash#inspect` ha cambiado. [[Falla #20433]] + * Las llaves que son símbolos se presentan con la sintaxis moderna + para llaves que son símbolos: `"{user: 1}"` + * Otras llaves ahora tiene espacios alrededor de `=>`: + `'{"user" => 1}'`, mientras que antes no tenían: `'{"user"=>1}'` + +## Actualizaciones al API en C + +* Se han eliminado `rb_newobj` y `rb_newobj_of` (y los respectivos macros + `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`). [[Característica #20265]] +* Se eliminó la función obsoleta `rb_gc_force_recycle`. [[Característica #18290]] + +## Mejoras a la implementación + +* `Array#each` se ha reescrito en Ruby para mejorar desempeño + [[Característica #20182]]. + +## Cambios varios + +* Al pasar un bloque a un método que no usa el bloque pasado ahora presentará + una advertencia en modo verboso (`-w`). + [[Característica #15554]] + +* Al redefinir algunos métodos fundamentales que son optimizados de manera + especial por el interprete y el JIT como `String.freeze` o `Integer#+` + ahora se emite una advertencia de desempeño + (`-W:performance` o `Warning[:performance] = true`). + [[Característica #20429]] + +En la publicación en Github como [Logger](https://github.com/ruby/logger/releases) o en la bitácora de cambios pueden verse detalles de las gemas +predeterminadas y las gemas incluidas. + +Ver más detalles en +[NOTICIAS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +o en [la bitácora de contribuciones](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}). + +Con estos cambios, [{{ release.stats.files_changed }} archivos modificados, +{{ release.stats.insertions }} inserciones(+), +{{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +desde Ruby 3.3.0! + + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Lo que es Ruby + +Ruby fue desarrolladoa primero por Matz (Yukihiro Matsumoto) en 1993, +y ahora es desarrollado como Fuentes Abiertas. +Opera en múltiples platformas y es usado en todo el mundo +especialmente para desarrollo web. + +[Característica #13557]: https://bugs.ruby-lang.org/issues/13557 +[Característica #15554]: https://bugs.ruby-lang.org/issues/15554 +[Característica #16495]: https://bugs.ruby-lang.org/issues/16495 +[Característica #18290]: https://bugs.ruby-lang.org/issues/18290 +[Característica #18980]: https://bugs.ruby-lang.org/issues/18980 +[Varios #18984]: https://bugs.ruby-lang.org/issues/18984 +[Característica #19117]: https://bugs.ruby-lang.org/issues/19117 +[Falla #19918]: https://bugs.ruby-lang.org/issues/19918 +[Falla #20064]: https://bugs.ruby-lang.org/issues/20064 +[Característica #20182]: https://bugs.ruby-lang.org/issues/20182 +[Característica #20205]: https://bugs.ruby-lang.org/issues/20205 +[Falla #20218]: https://bugs.ruby-lang.org/issues/20218 +[Característica #20265]: https://bugs.ruby-lang.org/issues/20265 +[Característica #20429]: https://bugs.ruby-lang.org/issues/20429 +[Característica #20564]: https://bugs.ruby-lang.org/issues/20564 +[Falla #20433]: https://bugs.ruby-lang.org/issues/20433 From 9f8b8cc2c4910b09cd3bfe292b9b1938733af1b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 23 Oct 2024 11:27:12 -0400 Subject: [PATCH 2374/2563] Improves title and use of Logger (#3398) --- es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md index 6b1b774c29..ec2bf6c721 100644 --- a/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md +++ b/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.4.0 preview2 Released" +title: "Publicado Ruby 3.4.0 preview2" author: "naruse" translator: vtamara date: 2024-10-07 00:00:00 +0000 @@ -108,8 +108,9 @@ Nota: Excluyendo correcciones a fallas. (`-W:performance` o `Warning[:performance] = true`). [[Característica #20429]] -En la publicación en Github como [Logger](https://github.com/ruby/logger/releases) o en la bitácora de cambios pueden verse detalles de las gemas -predeterminadas y las gemas incluidas. +Ver publicaciones de nuevas versiones en Github de +[Logger](https://github.com/ruby/logger/releases) o la bitácora de cambios +para ver detalles de las gemas predeterminadas y las gemas incluidas. Ver más detalles en [NOTICIAS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) From a8c73512484ceeeebcdc875639523087566a348d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 23 Oct 2024 11:31:00 -0400 Subject: [PATCH 2375/2563] =?UTF-8?q?Changes=20in=C3=ADciate=20for=20comie?= =?UTF-8?q?nza=20(#3399)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _data/locales/es.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/locales/es.yml b/_data/locales/es.yml index 94995797e3..3459a8b840 100644 --- a/_data/locales/es.yml +++ b/_data/locales/es.yml @@ -27,7 +27,7 @@ search: sidebar: get_started: - text: Iníciate, ¡es fácil! + text: Comienza, ¡es fácil! try_ruby: text: ¡Prueba Ruby! (en tu navegador) url: https://try.ruby-lang.org/ From 8937e6ecaae7d81e4d04d9e705019842f019e28a Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Mon, 28 Oct 2024 11:51:56 +0900 Subject: [PATCH 2376/2563] es: Fix CI https://github.com/ruby/www.ruby-lang.org/actions/runs/11483155303/job/31957924695#step:6:26 Checking markdown files... es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md trailing whitespace --- es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md b/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md index ec2bf6c721..edfb244bf1 100644 --- a/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md +++ b/es/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md @@ -108,8 +108,8 @@ Nota: Excluyendo correcciones a fallas. (`-W:performance` o `Warning[:performance] = true`). [[Característica #20429]] -Ver publicaciones de nuevas versiones en Github de -[Logger](https://github.com/ruby/logger/releases) o la bitácora de cambios +Ver publicaciones de nuevas versiones en Github de +[Logger](https://github.com/ruby/logger/releases) o la bitácora de cambios para ver detalles de las gemas predeterminadas y las gemas incluidas. Ver más detalles en From 9862c90c4aa78b7757b0b5bda8a157ede87dc1a0 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Mon, 28 Oct 2024 11:44:27 +0900 Subject: [PATCH 2377/2563] Add CVE-2024-49761: ReDoS vulnerability in REXML --- .../2024-10-28-redos-rexml-cve-2024-49761.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md diff --git a/en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md new file mode 100644 index 0000000000..39f181f9a2 --- /dev/null +++ b/en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-49761: ReDoS vulnerability in REXML" +author: "kou" +translator: +date: 2024-10-28 03:00:00 +0000 +tags: security +lang: en +--- + +There is a ReDoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier [CVE-2024-49761](https://www.cve.org/CVERecord?id=CVE-2024-49761). We strongly recommend upgrading the REXML gem. + +This is not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. Note that Ruby 3.1 will reach EOL on 2025-03. + +## Details + +When parsing an XML that has many digits between `&#` and `x...;` in a hex numeric character reference (`&#x...;`). + +Please update REXML gem to version 3.3.9 or later. + +## Affected versions + +* REXML gem 3.3.8 or prior with Ruby 3.1 or prior + +## Credits + +Thanks to [manun](https://hackerone.com/manun) for discovering this issue. + +## History + +* Originally published at 2024-10-28 03:00:00 (UTC) From cfccbcd00a2871dc351d851daba9048e565584c1 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Mon, 28 Oct 2024 12:08:25 +0900 Subject: [PATCH 2378/2563] Fix a typo Co-authored-by: Yusuke Endoh --- en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md index 39f181f9a2..a62f14e4eb 100644 --- a/en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md +++ b/en/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -10,7 +10,7 @@ lang: en There is a ReDoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier [CVE-2024-49761](https://www.cve.org/CVERecord?id=CVE-2024-49761). We strongly recommend upgrading the REXML gem. -This is not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. Note that Ruby 3.1 will reach EOL on 2025-03. +This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. Note that Ruby 3.1 will reach EOL on 2025-03. ## Details From dfefda03c8cff232a1615590aa25f602c0ab016c Mon Sep 17 00:00:00 2001 From: Bear Su Date: Mon, 28 Oct 2024 20:56:33 +0800 Subject: [PATCH 2379/2563] Translate 2024-10-28 ReDoS Rexml CVE news (zh_tw) --- .../2024-10-28-redos-rexml-cve-2024-49761.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md diff --git a/zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md new file mode 100644 index 0000000000..13ae80e452 --- /dev/null +++ b/zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -0,0 +1,34 @@ +--- +layout: news_post +title: "CVE-2024-49761: ReDoS vulnerability in REXML" +author: "kou" +translator: "Bear Su" +date: 2024-10-28 03:00:00 +0000 +tags: security +lang: zh_tw +--- + +在 REXML gem 發現了一個 DoS 漏洞。 +該漏洞的 CVE 編號為 [CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398)。 +我們強烈建議您升級 REXML gem。 + +該漏洞不會在 Ruby 3.2 或之後發生。Ruby 3.1 是唯一受到影響的版本。 +注意 Ruby 3.1 將會在 2025-03 結束生命週期。 + +## 風險細節 + +當解析的 XML 裡十六進位數字字元參考 (`&#x...;`) 中的 `&#` 和 `x...;` 之間有許多數字。 + +請更新 REXML gem 至 3.3.9 或更新的版本。 + +## 受影響版本 + +* REXML gem 3.3.8 或 Ruby 3.1 較早的版本或更早的版本。 + +## 致謝 + +感謝 [manun](https://hackerone.com/manun) 發現此問題。 + +## 歷史 + +* 最初發布於 2024-10-28 03:00:00 (UTC) From a459d9825424273f3c9cec42c985dc9d65d3567f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:40:34 +0000 Subject: [PATCH 2380/2563] Bump rexml from 3.3.6 to 3.3.9 Bumps [rexml](https://github.com/ruby/rexml) from 3.3.6 to 3.3.9. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.3.6...v3.3.9) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 70b3e4585c..7352f70cbe 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -131,8 +131,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.3.6) - strscan + rexml (3.3.9) rouge (4.3.0) ruby-rc4 (0.1.5) safe_yaml (1.0.5) @@ -159,7 +158,6 @@ GEM slop (4.10.1) spidr (0.7.1) nokogiri (~> 1.3) - strscan (3.1.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) tidy_ffi (1.0.1) From 2672c45aa4c0c8ad5642dafd0ff747e4907b6ae8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:47:37 +0000 Subject: [PATCH 2381/2563] Bump webrick from 1.8.1 to 1.8.2 Bumps [webrick](https://github.com/ruby/webrick) from 1.8.1 to 1.8.2. - [Release notes](https://github.com/ruby/webrick/releases) - [Commits](https://github.com/ruby/webrick/compare/v1.8.1...v1.8.2) --- updated-dependencies: - dependency-name: webrick dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7352f70cbe..0819310148 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -180,7 +180,7 @@ GEM json (>= 1.8) nokogiri (~> 1.6) rexml (~> 3.2) - webrick (1.8.1) + webrick (1.8.2) yell (2.2.2) zeitwerk (2.6.17) From 9cd603ac5e8ac0391a2472e80c16238b1753a2e5 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 29 Oct 2024 16:16:51 +0900 Subject: [PATCH 2382/2563] Translate "CVE-2024-49761: ReDoS vulnerability in REXML" (ko) (#3402) * cp {en,ko}/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md * Translate "CVE-2024-49761: ReDoS vulnerability in REXML" (ko) --- .../2024-10-28-redos-rexml-cve-2024-49761.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 ko/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md diff --git a/ko/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/ko/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md new file mode 100644 index 0000000000..9e621d2b99 --- /dev/null +++ b/ko/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-49761: REXML의 ReDoS 취약점" +author: "kou" +translator: "shia" +date: 2024-10-28 03:00:00 +0000 +tags: security +lang: ko +--- + +REXML gem에서 ReDoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2024-49761](https://www.cve.org/CVERecord?id=CVE-2024-49761)로 등록되었습니다. REXML gem 업그레이드를 강하게 추천합니다. + +Ruby 3.2나 그 이상에서는 이 문제가 발생하지 않습니다. 유지 관리 중인 Ruby 중 유일하게 영향을 받는 버전은 Ruby 3.1입니다. Ruby 3.1은 2025년 3월에 EOL이 예정되어 있습니다. + +## 세부 내용 + +16진수 숫자 문자 참조(`&#x...;`)에서 `&#`과 `x...;` 사이에 많은 숫자가 있는 XML을 파싱할 때 발생합니다. + +REXML gem을 3.3.9나 그 이상으로 업데이트하세요. + +## 해당 버전 + +* Ruby 3.1과 그 이하 버전에서 REXML gem 3.3.8과 그 이하 + +## 도움을 준 사람 + +이 문제를 발견해 준 [manun](https://hackerone.com/manun)에게 감사를 표합니다. + +## 수정 이력 + +* 2024-10-28 03:00:00 (UTC) 최초 공개 From acc5519a2726522ef5d1eb9d2a798e5ec9ef3184 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 29 Oct 2024 18:42:57 +0800 Subject: [PATCH 2383/2563] Translate DoS REXML CVE Title (zh_tw) --- zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md | 2 +- zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md | 2 +- zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md | 2 +- zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md | 2 +- zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md | 2 +- zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md b/zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md index 79c4133036..18f1afaade 100644 --- a/zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md +++ b/zh_tw/news/_posts/2024-05-16-dos-rexml-cve-2024-35176.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-35176: DoS in REXML" +title: "CVE-2024-35176: REXML DoS 漏洞" author: "kou" translator: "Bear Su" date: 2024-05-16 05:00:00 +0000 diff --git a/zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md b/zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md index 343734d255..2fbb84fe4d 100644 --- a/zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md +++ b/zh_tw/news/_posts/2024-07-16-dos-rexml-cve-2024-39908.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-39908 : DoS in REXML" +title: "CVE-2024-39908: REXML DoS 漏洞" author: "watson1978" translator: "Bear Su" date: 2024-07-16 03:00:00 +0000 diff --git a/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md b/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md index 800cd47f56..5812649f1d 100644 --- a/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md +++ b/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41123.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-41123: DoS vulnerabilities in REXML" +title: "CVE-2024-41123: REXML DoS 漏洞" author: "kou" translator: "Bear Su" date: 2024-08-01 03:00:00 +0000 diff --git a/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md b/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md index dc3a4281a1..d95af5701c 100644 --- a/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md +++ b/zh_tw/news/_posts/2024-08-01-dos-rexml-cve-2024-41946.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-41946: DoS vulnerability in REXML" +title: "CVE-2024-41946: REXML DoS 漏洞" author: "kou" translator: "Bear Su" date: 2024-08-01 03:00:00 +0000 diff --git a/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md b/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md index b0d24e2f0d..ba8679272b 100644 --- a/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md +++ b/zh_tw/news/_posts/2024-08-22-dos-rexml-cve-2024-43398.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-43398: DoS vulnerability in REXML" +title: "CVE-2024-43398: REXML DoS 漏洞" author: "kou" translator: "Bear Su" date: 2024-08-22 03:00:00 +0000 diff --git a/zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md index 13ae80e452..847aad7890 100644 --- a/zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md +++ b/zh_tw/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "CVE-2024-49761: ReDoS vulnerability in REXML" +title: "CVE-2024-49761: REXML ReDoS 漏洞" author: "kou" translator: "Bear Su" date: 2024-10-28 03:00:00 +0000 @@ -8,7 +8,7 @@ tags: security lang: zh_tw --- -在 REXML gem 發現了一個 DoS 漏洞。 +在 REXML gem 發現了一個 ReDoS 漏洞。 該漏洞的 CVE 編號為 [CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398)。 我們強烈建議您升級 REXML gem。 From 0a9b57451260e419ea229a7efb97557f0bd1f883 Mon Sep 17 00:00:00 2001 From: nagachika Date: Wed, 30 Oct 2024 19:39:24 +0900 Subject: [PATCH 2384/2563] Release ruby-3.2.6 --- _data/downloads.yml | 2 +- _data/releases.yml | 24 +++++++++++ .../_posts/2024-10-30-ruby-3-2-6-released.md | 42 +++++++++++++++++++ 3 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2024-10-30-ruby-3-2-6-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index f8bec70dbb..d7d93ae5b2 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -9,7 +9,7 @@ preview: stable: - 3.3.5 - - 3.2.5 + - 3.2.6 # optional security_maintenance: diff --git a/_data/releases.yml b/_data/releases.yml index b43179020c..50e6cba5a2 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -349,6 +349,30 @@ # 3.2 series +- version: 3.2.6 + date: 2024-10-30 + post: /en/news/2024/10/30/ruby-3-2-6-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.6.tar.xz + size: + gz: 20521981 + zip: 24653808 + xz: 15126888 + sha1: + gz: bbf265f5e7a3f480056dc2fa6d600a97cba00713 + zip: efbcfc2c2e238a7201366fdefdcf0dc16e4072af + xz: eabbe230df704e7141d53d8221314bb33b5f0dea + sha256: + gz: d9cb65ecdf3f18669639f2638b63379ed6fbb17d93ae4e726d4eb2bf68a48370 + zip: 36ca2292b48d8f6a0281d6c772dc47c358cb838774addc0344e38d4d2735704f + xz: 671134022238c2c4a9d79dc7d1e58c909634197617901d25863642f735a27ecb + sha512: + gz: 26ae9439043cf40e5eddde6b92ae51c9e1fa4e89c8ec6da36732c59c14873b022c683fb3007950d372f35de9b62a4fabbbc3ef1f4ef58cd53058bd56e1552cbe + zip: 8474829ebe13b3357f962571e8114e47634b5ed1f3e2dbfdf4ecb2ece1a3ed354f3506e8526a6768457e980ea4f056d77cd5b547419f2d8f9bea07348f64edc2 + xz: 78f7fc76d47c772b9bc313cbcb57a2c0f1a975e09cfe46a3083f6f603d62b0031bd4c55896c8353c1c343974d45077e06e310111198d870883e06a0cf6fd03ce + - version: 3.2.5 date: 2024-07-26 post: "/en/news/2024/07/26/ruby-3-2-5-released/" diff --git a/en/news/_posts/2024-10-30-ruby-3-2-6-released.md b/en/news/_posts/2024-10-30-ruby-3-2-6-released.md new file mode 100644 index 0000000000..8358698421 --- /dev/null +++ b/en/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.6 Released" +author: nagachika +translator: +date: 2024-10-30 19:27:22 +0900 +lang: en +--- + +Ruby 3.2.6 has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_6) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From a3d51cbeb936259c241b0d8b8e8d7924fcd58d8e Mon Sep 17 00:00:00 2001 From: nagachika Date: Wed, 30 Oct 2024 19:42:07 +0900 Subject: [PATCH 2385/2563] Fix date header timezone. --- en/news/_posts/2024-10-30-ruby-3-2-6-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-10-30-ruby-3-2-6-released.md b/en/news/_posts/2024-10-30-ruby-3-2-6-released.md index 8358698421..fe1a34e9dd 100644 --- a/en/news/_posts/2024-10-30-ruby-3-2-6-released.md +++ b/en/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 3.2.6 Released" author: nagachika translator: -date: 2024-10-30 19:27:22 +0900 +date: 2024-10-30 10:00:00 +0000 lang: en --- From 5b7219e5d3506fd8edd72b92206c3768974ec87f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 31 Oct 2024 11:11:40 +0900 Subject: [PATCH 2386/2563] Rename ruby-yy-mm-dd to yy-mm-dd-ruby --- lib/draft-release.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/draft-release.rb b/lib/draft-release.rb index cc48b529e9..09c411f1cd 100644 --- a/lib/draft-release.rb +++ b/lib/draft-release.rb @@ -3,7 +3,7 @@ template = File.read("lib/release-template.erb") version = ARGV[0] || "3.3.4" -output_path = "en/news/_posts/ruby-#{Time.now.strftime("%Y-%m-%d")}-#{version.gsub(/\./, "-")}-released.md" +output_path = "en/news/_posts/#{Time.now.strftime("%Y-%m-%d")}-ruby-#{version.gsub(/\./, "-")}-released.md" File.open(output_path, "w") do |file| file.write ERB.new(template).result(binding) From 88701069566120275f603b7cff01adffff93d810 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 31 Oct 2024 12:53:10 +0900 Subject: [PATCH 2387/2563] peter-evans/create-pull-request@v7 is now working with multiple checkouts --- .github/workflows/draft-release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index b23dd829e4..64424169f3 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -14,13 +14,8 @@ on: jobs: release: runs-on: ubuntu-latest - defaults: - run: - working-directory: www steps: - uses: actions/checkout@v4 - with: - path: www - uses: actions/checkout@v4 with: @@ -40,6 +35,10 @@ jobs: tool/format-release ../www ${{ github.event.client_payload.version || github.event.inputs.version }} . working-directory: ruby + - name: Cleanup ruby directory + run: | + rm -rf ruby + - name: Create Commit run: | git config user.name "GitHub Actions Bot" @@ -58,4 +57,3 @@ jobs: title: "Create release for ${{ github.event.client_payload.version || github.event.inputs.version }}" body: "This is an automated pull request to create a release" draft: true - From a046ff3fb61e0d3d12d768e07d0849922c902b7c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 31 Oct 2024 13:09:47 +0900 Subject: [PATCH 2388/2563] Fixed working directory path --- .github/workflows/draft-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 64424169f3..5557325a66 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -32,7 +32,7 @@ jobs: - name: Update data files run: | - tool/format-release ../www ${{ github.event.client_payload.version || github.event.inputs.version }} . + tool/format-release .. ${{ github.event.client_payload.version || github.event.inputs.version }} . working-directory: ruby - name: Cleanup ruby directory From 2162e1cce87fc8cf81139a19ed393ca99fc6f69b Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 31 Oct 2024 20:09:11 +0900 Subject: [PATCH 2389/2563] Translate "Ruby 3.2.6 Released" (ko) (#3408) * cp {en,ko}/news/_posts/2024-10-30-ruby-3-2-6-released.md * Translate "Ruby 3.2.6 Released" (ko) * Update ko/news/_posts/2024-10-30-ruby-3-2-6-released.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2024-10-30-ruby-3-2-6-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ko/news/_posts/2024-10-30-ruby-3-2-6-released.md diff --git a/ko/news/_posts/2024-10-30-ruby-3-2-6-released.md b/ko/news/_posts/2024-10-30-ruby-3-2-6-released.md new file mode 100644 index 0000000000..ffa12569d2 --- /dev/null +++ b/ko/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.6 릴리스" +author: nagachika +translator: shia +date: 2024-10-30 10:00:00 +0000 +lang: ko +--- + +Ruby 3.2.6이 릴리스되었습니다. + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_6)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.2.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 9e332b2b2a8e22441a0c5c14c0cd00db1bef1d46 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 31 Oct 2024 20:56:48 +0800 Subject: [PATCH 2390/2563] Translate Ruby 3.2.6 Released (zh_tw) --- .../_posts/2024-10-30-ruby-3-2-6-released.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 zh_tw/news/_posts/2024-10-30-ruby-3-2-6-released.md diff --git a/zh_tw/news/_posts/2024-10-30-ruby-3-2-6-released.md b/zh_tw/news/_posts/2024-10-30-ruby-3-2-6-released.md new file mode 100644 index 0000000000..5131652d3b --- /dev/null +++ b/zh_tw/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "Ruby 3.2.6 發布" +author: nagachika +translator: "Bear Su" +date: 2024-10-30 10:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.2.6 已經發布了。 + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_2_6)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.2.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From 13a4b62af01174ff3ef9fd1038ef3b5d9b7092b4 Mon Sep 17 00:00:00 2001 From: Yoshikazu Takata Date: Mon, 4 Nov 2024 17:25:33 +0900 Subject: [PATCH 2391/2563] Translate 2024-10-28 ReDoS Rexml CVE news (ja) --- .../2024-10-28-redos-rexml-cve-2024-49761.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ja/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md diff --git a/ja/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/ja/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md new file mode 100644 index 0000000000..79fd0880b7 --- /dev/null +++ b/ja/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -0,0 +1,33 @@ +--- +layout: news_post +title: "CVE-2024-49761: REXML の ReDoS 脆弱性" +author: "kou" +translator: "teeta32" +date: 2024-10-28 03:00:00 +0000 +tags: security +lang: ja +--- + +REXML gem に ReDoS 脆弱性が発見されました。この脆弱性は [CVE-2024-49761](https://www.cve.org/CVERecord?id=CVE-2024-49761) として登録されています。REXML gem のアップグレードを強く推奨します。 + +この脆弱性は Ruby 3.2 以降では発生しません。メンテナンスされている Ruby では Ruby 3.1 だけが本脆弱性の影響を受けます。Ruby 3.1 は 2025 年 3 月に EOL となることに注意してください。 + +## 詳細 + +以下のような XML※をパースするときに ReDoS 脆弱性が存在します。 + +※16 進数の数値文字参照 (&#x...;) の &# と x...; の間に多くの数字を含む XML + +REXML gem を 3.3.9 以上にアップデートしてください。 + +## 影響を受けるバージョン + +* Ruby 3.1 以前で REXML gem 3.3.8 以前を利用する場合 + +## クレジット + +* この脆弱性情報は、[manun](https://hackerone.com/manun) 氏によって報告されました。 + +## 更新履歴 + +* 2024-10-28 12:00:00 (JST) 初版 From 1e5bd5512d1a2146de398476ddffb732da6a81e2 Mon Sep 17 00:00:00 2001 From: Yoshikazu Takata Date: Mon, 4 Nov 2024 19:01:25 +0900 Subject: [PATCH 2392/2563] Translate "Ruby 3.2.6 Released" (ja) --- .../_posts/2024-10-30-ruby-3-2-6-released.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 ja/news/_posts/2024-10-30-ruby-3-2-6-released.md diff --git a/ja/news/_posts/2024-10-30-ruby-3-2-6-released.md b/ja/news/_posts/2024-10-30-ruby-3-2-6-released.md new file mode 100644 index 0000000000..b5b38e959b --- /dev/null +++ b/ja/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "Ruby 3.2.6 リリース" +author: nagachika +translator: teeta32 +date: 2024-10-30 10:00:00 +0000 +lang: ja +--- + +Ruby 3.2.6 がリリースされました。 + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_6) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.2.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 皆様のご協力に感謝します。 From 7303cbcd9f908793ed45ccad84e3a37f38adb3a6 Mon Sep 17 00:00:00 2001 From: matzbot Date: Tue, 5 Nov 2024 13:27:58 +0900 Subject: [PATCH 2393/2563] Create release for 3.3.6 (#3416) * Create release for 3.3.6 * Update downloads.yml and releases.yml * Write up "Ruby 3.3.6 Released" * Add Release Schedule --------- Co-authored-by: GitHub Actions Bot Co-authored-by: Takashi Kokubun --- _data/downloads.yml | 2 +- _data/releases.yml | 24 +++++++++ .../_posts/2024-11-05-ruby-3-3-6-released.md | 50 +++++++++++++++++++ 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2024-11-05-ruby-3-3-6-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index d7d93ae5b2..1640381631 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,7 +8,7 @@ preview: stable: - - 3.3.5 + - 3.3.6 - 3.2.6 # optional diff --git a/_data/releases.yml b/_data/releases.yml index 50e6cba5a2..6dc219c066 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -81,6 +81,30 @@ # 3.3 series +- version: 3.3.6 + date: 2024-11-05 + post: /en/news/2024/11/05/ruby-3-3-6-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.xz + size: + gz: 22153657 + zip: 27048656 + xz: 16398228 + sha1: + gz: 0106171cd1801fb5663e8e709f3d6c935d683c9b + zip: 88239456249cd80cadd1cbf98a317ae700ccd9df + xz: 25391e9bd8547cd07e09afcfc472777520a3178a + sha256: + gz: 8dc48fffaf270f86f1019053f28e51e4da4cce32a36760a0603a9aee67d7fd8d + zip: a60240a6f9bcc8db6c07d40ad29c7dceb21430debe3ebc39bf339207818132f6 + xz: 540975969d1af42190d26ff629bc93b1c3f4bffff4ab253e245e125085e66266 + sha512: + gz: 4ae22f5c2a1f7ed84aab7587ff04ce4d9933cffe4347deaef0ab88d22c9780f274c1664a4ee1dd8235bc3cc749be828ffa8db7cb5f5002339a59a599acf3c729 + zip: c010c7d3e2b373b41a18bcadfb6dba276afabe479d75624569b5bdc605f3575bced2aff511708e25ceca43c7c918400222329e55e599c54154f203957f119ad2 + xz: c4b86188bf539fa737932e1ba5b746bc295e7c43b2f8cca2668eb7c88aa7228e2ce9032bbcd244a7d558a11bc842445b5fbeac3503ca7d223b63c53e08dba4ab + - version: 3.3.5 date: 2024-09-03 post: /en/news/2024/09/03/3-3-5-released/ diff --git a/en/news/_posts/2024-11-05-ruby-3-3-6-released.md b/en/news/_posts/2024-11-05-ruby-3-3-6-released.md new file mode 100644 index 0000000000..2311dfde64 --- /dev/null +++ b/en/news/_posts/2024-11-05-ruby-3-3-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.6 Released" +author: k0kubun +translator: +date: 2024-11-05 04:25:00 +0000 +lang: en +--- + +Ruby 3.3.6 has been released. + +This is a routine update that includes minor bug fixes. +It also stops warning missing default gem dependencies that will be bundled gems in Ruby 3.5. +For more details, please refer to [the release notes on GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_6). + +## Release Schedule + +As previously [announced](https://www.ruby-lang.org/en/news/2024/07/09/ruby-3-3-4-released/), we intend to release the latest stable Ruby version (currently Ruby 3.3) every 2 months following a `.1` release. + +We expect to release Ruby 3.3.7 on January 7th. If any significant changes arise that impact a large number of users, we may release a new version earlier than scheduled. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 1a3fc0c989d12b55494e9f4fdcd4d0cee923534c Mon Sep 17 00:00:00 2001 From: yokomaru Date: Thu, 7 Nov 2024 20:19:50 +0900 Subject: [PATCH 2394/2563] Translate "Ruby 3.3.6 Released" (ja) --- .../_posts/2024-11-05-ruby-3-3-6-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ja/news/_posts/2024-11-05-ruby-3-3-6-released.md diff --git a/ja/news/_posts/2024-11-05-ruby-3-3-6-released.md b/ja/news/_posts/2024-11-05-ruby-3-3-6-released.md new file mode 100644 index 0000000000..938f254bab --- /dev/null +++ b/ja/news/_posts/2024-11-05-ruby-3-3-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.6 リリース" +author: k0kubun +translator: yokomaru +date: 2024-11-05 04:25:00 +0000 +lang: ja +--- + +Ruby 3.3.6がリリースされました。 + +これは定期的なアップデートであり、マイナーなバグ修正を含みます。 +また、Ruby 3.5でバンドルされるデフォルトの gem の依存関係の警告が表示されなくなります。 +詳しくは[GitHub release notes](https://github.com/ruby/ruby/releases/tag/v3_3_6)を参照してください。 + +## リリーススケジュール + +以前[お知らせ](https://www.ruby-lang.org/ja/news/2024/07/09/ruby-3-3-4-released/)したとおり、最新の安定版Ruby(現在は Ruby 3.3)を `.1` リリース後の2ヶ月おきにリリースする予定です。 + +Ruby 3.3.7は1月7日にリリースされる予定です。多くのユーザーに影響を与えるような変更があった場合、予定よりも早く新しいバージョンをリリースすることがあります。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.3.6" | first %} + +- <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +- <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +- <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 0e3d422a8b8c49045b024017ab5c5b92d2b86b2a Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 8 Nov 2024 07:27:04 +0900 Subject: [PATCH 2395/2563] Translate "Ruby 3.3.6 Released" (ko) (#3417) * cp {en,ko}/news/_posts/2024-11-05-ruby-3-3-6-released.md * Translate "Ruby 3.3.6 Released" (ko) --- .../_posts/2024-11-05-ruby-3-3-6-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ko/news/_posts/2024-11-05-ruby-3-3-6-released.md diff --git a/ko/news/_posts/2024-11-05-ruby-3-3-6-released.md b/ko/news/_posts/2024-11-05-ruby-3-3-6-released.md new file mode 100644 index 0000000000..941a95b0e5 --- /dev/null +++ b/ko/news/_posts/2024-11-05-ruby-3-3-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.6 릴리스" +author: k0kubun +translator: shia +date: 2024-11-05 04:25:00 +0000 +lang: ko +--- + +Ruby 3.3.6이 릴리스되었습니다. + +이번 릴리스는 일반적인 업데이트로, 사소한 버그 수정이 포함되어 있습니다. +또한 Ruby 3.5에서 번들된 gem으로 제공될 기본 gem 의존성이 누락되었다는 경고를 중지합니다. +자세한 내용은 [GitHub 릴리스 노트](https://github.com/ruby/ruby/releases/tag/v3_3_6)를 참조하세요. + +## 릴리스 일정 + +이전에 [발표했던 것](https://www.ruby-lang.org/ko/news/2024/07/09/ruby-3-3-4-released/)처럼, 앞으로 최신 안정 버전의 Ruby(현재 Ruby 3.3)를 `.1` 릴리스 이후 2개월마다 릴리스할 계획입니다. + +3.3.7은 1월 7일에 릴리스될 예정입니다. 많은 사람들에게 영향을 미치는 변경 사항이 있을 경우, 예상보다 빨리 새 버전을 릴리스할 수 있습니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.3.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 0e76663d7355609885b07ac01e62d49ff5b0b9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 11 Nov 2024 11:40:52 -0500 Subject: [PATCH 2396/2563] Translates CVE 2024-49761 (es) (#3421) --- .../2024-10-28-redos-rexml-cve-2024-49761.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 es/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md diff --git a/es/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/es/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md new file mode 100644 index 0000000000..e8e5f8d14c --- /dev/null +++ b/es/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "CVE-2024-49761: Vulnerabilidad ReDoS en REXML" +author: "kou" +translator: vtamara +date: 2024-10-28 03:00:00 +0000 +tags: security +lang: es +--- + +Hay una vulnerabilidad en la gema REXML. A esta vulnerabilidad se le ha +asignado el identificador CVE +[CVE-2024-49761](https://www.cve.org/CVERecord?id=CVE-2024-49761). +Recomendamos enfáticamente actualizar la gema REXML. + +Esto no ocurre con Ruby 3.2 o posteriores. Ruby 3.1 es el único Ruby +con mantenimiento que resulta afectado. +Note que Ruby 3.1 llegará a su Fin de Vida en 2025-03. + +## Detalles + +Cuando se analiza un XML que tiene mucho dígitos entre +`&#` y `x...;`, en una referencia a caracteres de un numero +hexadecimal (`&#x...;`). + +Por favor actualice la gema REXML a la versión 3.3.9 o posterior. + +## Versiones afectadas + +* Gema REXML 3.3.8 y anteriores con Ruby 3.1 o anteriores. + +## Créditos + +Agradecemos a [manun](https://hackerone.com/manun) por descubrir +este problema. + +## Historia + +* Publicado originalmente el 2024-10-28 03:00:00 (UTC) From 91fc434ae209b1feb9ebfbd230bcc52927d8e5ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 11 Nov 2024 12:45:03 -0500 Subject: [PATCH 2397/2563] Translates release of Ruby 3.2.6 (es) (#3422) * Translates release of Ruby 3.2.6 (es) * Remove space at end of line --- .../_posts/2024-10-30-ruby-3-2-6-released.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 es/news/_posts/2024-10-30-ruby-3-2-6-released.md diff --git a/es/news/_posts/2024-10-30-ruby-3-2-6-released.md b/es/news/_posts/2024-10-30-ruby-3-2-6-released.md new file mode 100644 index 0000000000..71671811ac --- /dev/null +++ b/es/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "Publicado Ruby 3.2.6" +author: nagachika +translator: vtamara +date: 2024-10-30 10:00:00 +0000 +lang: es +--- + +Ruby 3.2.6 ha sido publicado. + +Por favor vea detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_6). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.2.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentario de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. From 40f7849caec281cc9f9ec8db71d1704261efd29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 11 Nov 2024 12:45:19 -0500 Subject: [PATCH 2398/2563] Tranlsation of release 3.3.6 (es) (#3423) * Tranlsation of release 3.3.6 (es) * Remove trailing whitespace --- .../_posts/2024-11-05-ruby-3-3-6-released.md | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 es/news/_posts/2024-11-05-ruby-3-3-6-released.md diff --git a/es/news/_posts/2024-11-05-ruby-3-3-6-released.md b/es/news/_posts/2024-11-05-ruby-3-3-6-released.md new file mode 100644 index 0000000000..285eb9d906 --- /dev/null +++ b/es/news/_posts/2024-11-05-ruby-3-3-6-released.md @@ -0,0 +1,59 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.6" +author: k0kubun +translator: vtamara +date: 2024-11-05 04:25:00 +0000 +lang: es +--- + +Ruby 3.3.6 ha sido publicado. + +Esta es una actualización de rutina que incluye soluciones a fallas menores. +También detiene las advertencias sobre dependencias faltantes de gemas +predeterminadas que serán gemas incluidas en Ruby 3.5. + +Para ver más detalles, por favor refiérase a +[las notas de la publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_6). + +## Calendario de versiones + +Como se [anunció anteriormente](https://www.ruby-lang.org/es/news/2024/07/09/ruby-3-3-4-released/), +queremos publicar la versión de Ruby más estable (Ruby 3.3 al momento de este +escrito) cada 2 meses después de una versión `.1`. + +Esperamos publicar Ruby 3.3.7 en Enero 7. Si ocurre algún cambio significativo +que impacte un gran número de usuario, podríamos publicar una nueva versión +antes de lo programado. + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.3.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentario de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. From ed6d9cf1c6b3d0b87783c29bbf6b3820fc28bbc4 Mon Sep 17 00:00:00 2001 From: Lucian Ghinda <1407869+lucianghinda@users.noreply.github.com> Date: Sun, 25 Aug 2024 18:11:38 +0300 Subject: [PATCH 2399/2563] Add section about official Ruby Language Documentation The purpose of this commit is to: - Introduce new section highlighting docs.ruby-lang.org as the authoritative source for Ruby language documentation - Clarify that this should be the first reference for learning Ruby or when having the need to understand how Ruby works - Explain that other resources are complementary or present documentation in different styles - Try to help quickly identify for the reader what is the official Ruby language documentation. --- en/documentation/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 30d9be0bf9..b0ded8f30c 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -12,6 +12,10 @@ Guides, tutorials, and reference material to help you learn more about Ruby Although you can easily [try Ruby in your browser][1], you can also read the [installation guide](installation/) for help on installing Ruby. +### Ruby Language Documentation + +The authoritative Ruby language documentation at [docs.ruby-lang.org][docs-rlo-en] is the place to start if you want to understand Ruby. It covers all aspects of the language and should be the first place you look when learning or referencing Ruby programming language. Other resources listed below are complementary to the official language documentation or they present Ruby documentation in a different format/style/flavor. + ### Getting Started [Official FAQ](/en/documentation/faq/) @@ -52,7 +56,7 @@ the [installation guide](installation/) for help on installing Ruby. ### Reference Documentation [Official API Documentation][docs-rlo-en] -: The official Ruby API documentation for different versions including +: The official Ruby language documentation for different versions including the currently unreleased (trunk) version. [Ruby C API Reference][extensions] From cf99f41cdd72fc233fdf17cf6a21cfb1cecaa68d Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Wed, 13 Nov 2024 18:22:28 -0600 Subject: [PATCH 2400/2563] Mention rubyvideo.dev --- en/community/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/community/index.md b/en/community/index.md index 053df6f70b..628ba71616 100644 --- a/en/community/index.md +++ b/en/community/index.md @@ -47,6 +47,8 @@ to start: work-in-progress, discuss the future of Ruby, and welcome newcomers to the Ruby community. + Additionally, you can visit [rubyvideo.dev](https://www.rubyvideo.dev/) to find videos of Ruby conferences and talks. + [Podcasts](podcasts/) : If you prefer to listen to discussions about Ruby rather than read, you can tune into one of these awesome Ruby podcasts. These Rubyists From 4665684a36f119fb8e8723f1dd315a3676358c62 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Wed, 13 Nov 2024 18:35:40 -0600 Subject: [PATCH 2401/2563] Add newsletters to community content --- _data/locales/en.yml | 2 +- en/community/index.md | 6 ++---- en/community/weblogs/index.md | 19 +++++++++++-------- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/_data/locales/en.yml b/_data/locales/en.yml index 60dcafc273..f078c09800 100644 --- a/_data/locales/en.yml +++ b/_data/locales/en.yml @@ -65,7 +65,7 @@ sidebar: url: /en/community/user-groups/ description: Get in contact with Rubyists in your area. weblogs: - text: Blogs + text: Blogs and Newsletters url: /en/community/weblogs/ description: Read about what’s happening right now in the Ruby community. ruby_core: diff --git a/en/community/index.md b/en/community/index.md index 628ba71616..a17b293f5f 100644 --- a/en/community/index.md +++ b/en/community/index.md @@ -36,10 +36,8 @@ to start: : Now is a fantastic time to follow Ruby’s development. If you are interested in helping with Ruby, start here. -[Ruby Blogs](weblogs/) -: Very little happens in the Ruby community that is not talked about on - the blogs. We’ve got a nice list of suggestions for you here for - getting plugged in. +[Ruby Blogs and Newsletters](weblogs/) +: Most activities and updates in the Ruby community are discussed through blogs and newsletters. Here’s a curated list to help you stay connected and informed. [Ruby Conferences](conferences/) : Ruby programmers around the world are getting involved in more and diff --git a/en/community/weblogs/index.md b/en/community/weblogs/index.md index 5048495b70..84ffda821d 100644 --- a/en/community/weblogs/index.md +++ b/en/community/weblogs/index.md @@ -1,14 +1,19 @@ --- layout: page -title: "Blogs" +title: "Blogs and Newsletters" lang: en --- -Ruby blogs have exploded over the past years and given sufficient -hunting, you can unearth hundreds of blogs sharing bits of Ruby code, -describing new techniques, or speculating on Ruby’s future. +Ruby blogs and newsletters have exploded over the past years and given +sufficient hunting, you can unearth hundreds of blogs sharing bits of +Ruby code, describing new techniques, or speculating on Ruby’s future. {: .summary} +### Newsletters + +* [**Ruby Weekly**][ruby-weekly]: A newsletter that curates the most interesting Ruby articles and news each week. +* [**Short Ruby Newsletter**][short-ruby-newsletter]: A weekly summary of the articles, discussions, and news from the Ruby community. + ### Mining for Ruby Blogs * [**RubyFlow**][rubyflow], “the Ruby and Rails community linklog”, @@ -22,9 +27,6 @@ describing new techniques, or speculating on Ruby’s future. A few notable blogs stand out for the frequency and immediacy of their updates. -* [**Ruby Weekly**][ruby-weekly]: Although more of a newsletter than a - blog, Ruby Weekly is a distillation of the most interesting Ruby - articles and news each week. * [**DEV Ruby Tag**][dev-ruby-tag] is the collection of all posts tagged Ruby within the DEV Community. DEV is a network of thousands of software developers who blog about and discuss code. @@ -47,6 +49,7 @@ out there, be sure to share! [rubyland]: http://rubyland.news/ [ruby-weekly]: https://rubyweekly.com/ [dev-ruby-tag]: https://dev.to/t/ruby -[riding-rails]: http://weblog.rubyonrails.org/ +[riding-rails]: https://rubyonrails.org/blog/ [reddit]: http://www.reddit.com/r/ruby [hn]: http://news.ycombinator.com/ +[short-ruby-newsletter]: https://newsletter.shortruby.com/ From 8653ec8f554c5e86ca41e02934f0990ac31a6fdb Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Wed, 13 Nov 2024 18:43:02 -0600 Subject: [PATCH 2402/2563] Remove deadlinks from the community page --- en/community/index.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/en/community/index.md b/en/community/index.md index a17b293f5f..d7119954c2 100644 --- a/en/community/index.md +++ b/en/community/index.md @@ -53,14 +53,8 @@ to start: use their podcasts to cover new releases, community news, and interview their fellow Ruby developers. -General Ruby Information -: * [Ruby Central][ruby-central] - * [Ruby at Open Directory Project][ruby-opendir] - * [Rails at Open Directory Project][rails-opendir] - - +[Ruby Central][ruby-central] +: Ruby Central is a non-profit organization dedicated to supporting the worldwide Ruby community. [ruby-central]: http://rubycentral.org/ [ruby-discord]: https://discord.gg/ad2acQFtkh -[ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ -[rails-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ From 21d56e209e5c018bacdd57565e2cf1ec82b9e72e Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Wed, 13 Nov 2024 23:59:59 -0600 Subject: [PATCH 2403/2563] Update names to Rails blog --- en/community/weblogs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/community/weblogs/index.md b/en/community/weblogs/index.md index 84ffda821d..ebb5f23ca0 100644 --- a/en/community/weblogs/index.md +++ b/en/community/weblogs/index.md @@ -30,7 +30,7 @@ updates. * [**DEV Ruby Tag**][dev-ruby-tag] is the collection of all posts tagged Ruby within the DEV Community. DEV is a network of thousands of software developers who blog about and discuss code. -* [**Riding Rails**][riding-rails] is the official group blog of the +* [**Ruby on Rails Blog**][ruby-on-rails-blog] is the official group blog of the Ruby on Rails team. If you are running Rails, this blog is essential for notification of security updates and an overall view of the wide Rails community. @@ -49,7 +49,7 @@ out there, be sure to share! [rubyland]: http://rubyland.news/ [ruby-weekly]: https://rubyweekly.com/ [dev-ruby-tag]: https://dev.to/t/ruby -[riding-rails]: https://rubyonrails.org/blog/ +[ruby-on-rails-blog]: https://rubyonrails.org/blog/ [reddit]: http://www.reddit.com/r/ruby [hn]: http://news.ycombinator.com/ [short-ruby-newsletter]: https://newsletter.shortruby.com/ From f697ab7090b747992c16938a084280be2cb9ba20 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Fri, 15 Nov 2024 15:03:51 +0800 Subject: [PATCH 2404/2563] Translate Ruby 3.3.6 Released (zh_tw) (#3418) * Translate Ruby 3.3.6 Released (zh_tw) * Refine translation --- .../_posts/2024-11-05-ruby-3-3-6-released.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 zh_tw/news/_posts/2024-11-05-ruby-3-3-6-released.md diff --git a/zh_tw/news/_posts/2024-11-05-ruby-3-3-6-released.md b/zh_tw/news/_posts/2024-11-05-ruby-3-3-6-released.md new file mode 100644 index 0000000000..b200155d0f --- /dev/null +++ b/zh_tw/news/_posts/2024-11-05-ruby-3-3-6-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.3.6 發布" +author: k0kubun +translator: "Bear Su" +date: 2024-11-05 04:25:00 +0000 +lang: zh_tw +--- + +Ruby 3.3.6 已經發布了。 + +這是包括修復小型錯誤的例行更新。 +此版本也停止有關缺少預設 gem 依賴項目的警告,這些 gems 將在 Ruby 3.5 成為 bundled gems。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_6)。 + +## 發布時程 + +如同之前[公布](https://www.ruby-lang.org/zh_tw/news/2024/07/09/ruby-3-3-4-released/),我們打算在「.1」版本發布後每 2 個月發布一次最新的穩定 Ruby 版本(目前為 Ruby 3.3)。 + +我們預計 Ruby 3.3.7 於 1 月 7 日發布。如果有任何變更影響到相當多的人,我們可能會比預期更早發佈新版本。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.3.6" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From d3aef6d13e2c2d77f9ba92bf05fc11d004a38052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20J=2E=20N=2E=20Beyrle?= <14541962+magynhard@users.noreply.github.com> Date: Sat, 16 Nov 2024 18:24:24 +0100 Subject: [PATCH 2405/2563] add rvm-windows to installation doc --- en/documentation/installation/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index ba63647526..94d07ab4b7 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -361,6 +361,15 @@ Ruby on your system. It can also manage different gemsets. It is available for macOS, Linux, or other UNIX-like operating systems. +### RVM 4 Windows +{: #rvm-windows} + +[RVM 4 Windows][rvm-windows] allows you to install and manage multiple +installations of Ruby on Windows. It is a clone of the original RVM and +supports the classic command line as well as Powershell by providing +the same command line interface as the original RVM. + + ### uru {: #uru} @@ -391,6 +400,7 @@ though, because the installed Ruby won't be managed by any tools. [rvm]: http://rvm.io/ +[rvm-windows]: https://github.com/magynhard/rvm-windows#readme [rbenv]: https://github.com/rbenv/rbenv#readme [rbenv-for-windows]: https://github.com/RubyMetric/rbenv-for-windows#readme [ruby-build]: https://github.com/rbenv/ruby-build#readme From 1862c2d75f185c71ef54469dff3740229588b2fc Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 20 Nov 2024 23:29:19 +0800 Subject: [PATCH 2406/2563] Improve community page (zh_tw) --- _data/locales/zh_tw.yml | 2 +- zh_tw/community/index.md | 18 ++++++++++-------- zh_tw/community/weblogs/index.md | 30 ++++++++++++++++++++++++++++-- 3 files changed, 39 insertions(+), 11 deletions(-) diff --git a/_data/locales/zh_tw.yml b/_data/locales/zh_tw.yml index 719a3e016e..320817ece8 100644 --- a/_data/locales/zh_tw.yml +++ b/_data/locales/zh_tw.yml @@ -63,7 +63,7 @@ sidebar: url: /zh_tw/community/user-groups/ description: 與身旁的 Ruby 使用者接觸 weblogs: - text: 部落格 + text: 部落格與電子報 url: /zh_tw/community/weblogs/ description: 了解 Ruby 社群中的最新消息 ruby_core: diff --git a/zh_tw/community/index.md b/zh_tw/community/index.md index 579cc8b191..d45d0da282 100644 --- a/zh_tw/community/index.md +++ b/zh_tw/community/index.md @@ -21,14 +21,18 @@ lang: zh_tw : Ruby 擁有各種不同主題及語言的郵件論壇。如果你有 Ruby 的問題,透過論壇發問是個不錯的方式。台灣的 Ruby 論壇則有 [RailsFun][railsfun] 以及 [PTT](telnet://ptt.cc) Ruby 版。 +[Ruby Discord 伺服器 (邀請連結)][ruby-discord] +: Ruby 語言 Discord 伺服器是一個你可以與其他 Rubyists 聊天、互助的地方。 + Discord 對於新開發者是一個很好的進入點,而且很容易加入。 + [Ruby 的 IRC (#ruby)](https://web.libera.chat/#ruby) : 您可以在 Ruby 的 IRC 頻道上與其他 Ruby 愛好者聊天。 [Ruby 核心](/zh_tw/community/ruby-core) : 現在正是加入開發 Ruby 行列的好時機。如果您有興趣幫忙,可以從這裡開始。 -[關於 Ruby 的部落格](/zh_tw/community/weblogs/) -: Ruby 社群中有著各式各樣的部落格。這裡是一份推薦清單。 +[關於 Ruby 的部落格與電子報](/zh_tw/community/weblogs/) +: Ruby 社群中的大多數活動和更新都是透過部落格和電子報進行討論。這裡是一份推薦清單可協助你了解最新情況。 [Ruby 研討會](/zh_tw/community/conferences/) : 全世界有越來越多的研討會讓 Ruby 程式設計師可以參與,分享他們的工作經驗、討論 Ruby 的未來,同時也歡迎新成員的加入。台灣的 @@ -38,14 +42,12 @@ lang: zh_tw : 比起閱讀,如果你更喜歡用聆聽的方式接收 Ruby 的資訊,你可以收聽這些 Podcasts。 內容包括 Ruby 或是 gem 的新發佈消息,還有 Ruby 使用者、貢獻者和維護者之間的討論與訪談。 -Ruby 的一般消息 -: * [Ruby Central][ruby-central] - * [Ruby at Open Directory Project][ruby-opendir] - * [Rails at Open Directory Project][rails-opendir] + +[Ruby Central][ruby-central] +: Ruby Central 是一個非營利組織,致力於支持全球 Ruby 社群。 [1]: http://ruby.tw [railsfun]: http://railsfun.tw/index.php [ruby-central]: http://rubycentral.org/ -[ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ -[rails-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ +[ruby-discord]: https://discord.gg/ad2acQFtkh diff --git a/zh_tw/community/weblogs/index.md b/zh_tw/community/weblogs/index.md index 1935fcb279..4d71d146e6 100644 --- a/zh_tw/community/weblogs/index.md +++ b/zh_tw/community/weblogs/index.md @@ -1,7 +1,33 @@ --- layout: page -title: "部落格" +title: "部落格與電子報" lang: zh_tw --- -{% include out-of-date.html %} +Ruby 部落格與電子報在過去幾年成爆炸性成長,你可以在網路上搜索到數百個部落格分享 Ruby 程式碼、描述新技術、或是推測 Ruby 的未來。 + +{: .summary} + +### 電子報 + +* [**Ruby Weekly**][ruby-weekly]: 每週精選最有趣的 Ruby 文章和新聞的電子報。 +* [**Short Ruby Newsletter**][short-ruby-newsletter]: 每週摘要 Ruby 社群的文章、討論、和新聞。 + +### 挖掘 Ruby 部落格 + +* [**RubyFlow**][rubyflow]: Ruby 與 Rails 社群的連結日誌。包含函式庫、部落格文章、教學、和其他 Ruby 資源的新聞網站。 +* [**Rubyland**][rubyland]: 從 RSS 整合關於 Ruby 的新聞與部落格文章。 + +### 著名的部落格 + +一些因為更新頻率與即時性的著名部落格 + +* [**DEV Ruby Tag**][dev-ruby-tag]: 在 DEV 社群中標記為 Ruby 的文章列表。 DEV 有上千名軟體開發人員發布與討論程式碼文章。 +* [**Ruby on Rails Blog**][ruby-on-rails-blog]: Ruby on Rails 團隊的官方部落格。如果你正在使用 Rails,這個部落格可以獲得安全更新通知與 Rails 社群的發展願景。 + +[short-ruby-newsletter]: https://newsletter.shortruby.com/ +[ruby-weekly]: https://rubyweekly.com/ +[rubyflow]: https://rubyflow.com/ +[rubyland]: http://rubyland.news/ +[dev-ruby-tag]: https://dev.to/t/ruby +[ruby-on-rails-blog]: https://rubyonrails.org/blog/ From c1dc87c9241f14b7ef064bd887b6ea1e8cfba78c Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 20 Nov 2024 23:44:34 +0800 Subject: [PATCH 2407/2563] Update community links --- zh_tw/community/index.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/zh_tw/community/index.md b/zh_tw/community/index.md index d45d0da282..f573333160 100644 --- a/zh_tw/community/index.md +++ b/zh_tw/community/index.md @@ -9,7 +9,7 @@ lang: zh_tw 如果你有興趣參與,可以從這幾個地方開始: -[Ruby Taiwan 社群][1] +[Ruby Taiwan Discord 伺服器 (邀請連結)][ruby-tw-discord] : Ruby Taiwan 社群成立於 2008 年 10 月,主要是針對 Ruby 程式語言及軟體開發,進行業界的交流及分享,提昇開發人員的技術深度與廣度。 @@ -18,14 +18,13 @@ lang: zh_tw 使用者群組都是自發性的,通常會有每月的聚會、郵件論壇以及一個社群網站。運氣好的話,也許還會有編程節 (codefests)。 [Ruby 郵件論壇和新聞群組](/zh_tw/community/mailing-lists/) -: Ruby 擁有各種不同主題及語言的郵件論壇。如果你有 Ruby 的問題,透過論壇發問是個不錯的方式。台灣的 Ruby 論壇則有 - [RailsFun][railsfun] 以及 [PTT](telnet://ptt.cc) Ruby 版。 +: Ruby 擁有各種不同主題及語言的郵件論壇。如果你有 Ruby 的問題,透過論壇發問是個不錯的方式。 [Ruby Discord 伺服器 (邀請連結)][ruby-discord] : Ruby 語言 Discord 伺服器是一個你可以與其他 Rubyists 聊天、互助的地方。 Discord 對於新開發者是一個很好的進入點,而且很容易加入。 -[Ruby 的 IRC (#ruby)](https://web.libera.chat/#ruby) +[Ruby 的 IRC (#ruby)][ruby-irc] : 您可以在 Ruby 的 IRC 頻道上與其他 Ruby 愛好者聊天。 [Ruby 核心](/zh_tw/community/ruby-core) @@ -42,12 +41,10 @@ lang: zh_tw : 比起閱讀,如果你更喜歡用聆聽的方式接收 Ruby 的資訊,你可以收聽這些 Podcasts。 內容包括 Ruby 或是 gem 的新發佈消息,還有 Ruby 使用者、貢獻者和維護者之間的討論與訪談。 - [Ruby Central][ruby-central] : Ruby Central 是一個非營利組織,致力於支持全球 Ruby 社群。 -[1]: http://ruby.tw -[railsfun]: http://railsfun.tw/index.php - +[ruby-tw-discord]: https://discord.gg/yaYHWQsmcz +[ruby-irc]: https://web.libera.chat/#ruby [ruby-central]: http://rubycentral.org/ [ruby-discord]: https://discord.gg/ad2acQFtkh From 67ab7a5c4ee168636edf876af6a6566068c85b40 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 21 Nov 2024 00:06:03 +0800 Subject: [PATCH 2408/2563] Refine wording --- zh_tw/community/weblogs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh_tw/community/weblogs/index.md b/zh_tw/community/weblogs/index.md index 4d71d146e6..46a774a5b9 100644 --- a/zh_tw/community/weblogs/index.md +++ b/zh_tw/community/weblogs/index.md @@ -20,7 +20,7 @@ Ruby 部落格與電子報在過去幾年成爆炸性成長,你可以在網路 ### 著名的部落格 -一些因為更新頻率與即時性的著名部落格 +時常更新的著名部落格 * [**DEV Ruby Tag**][dev-ruby-tag]: 在 DEV 社群中標記為 Ruby 的文章列表。 DEV 有上千名軟體開發人員發布與討論程式碼文章。 * [**Ruby on Rails Blog**][ruby-on-rails-blog]: Ruby on Rails 團隊的官方部落格。如果你正在使用 Rails,這個部落格可以獲得安全更新通知與 Rails 社群的發展願景。 From 1a2ddb20a8a7ff14ed53b6155c43cffa5ee602bf Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 21 Nov 2024 13:16:31 +0800 Subject: [PATCH 2409/2563] Add rubyvideo.dev --- zh_tw/community/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zh_tw/community/index.md b/zh_tw/community/index.md index f573333160..00cbbb8392 100644 --- a/zh_tw/community/index.md +++ b/zh_tw/community/index.md @@ -37,6 +37,8 @@ lang: zh_tw : 全世界有越來越多的研討會讓 Ruby 程式設計師可以參與,分享他們的工作經驗、討論 Ruby 的未來,同時也歡迎新成員的加入。台灣的 Ruby 年度研討會為 [RubyConf Taiwan](http://rubyconf.tw)。 + 你也可以在 [rubyvideo.dev][rubyvideo] 找到 Ruby 研討會與演講的影片。 + [Podcasts](/zh_tw/community/podcasts/) : 比起閱讀,如果你更喜歡用聆聽的方式接收 Ruby 的資訊,你可以收聽這些 Podcasts。 內容包括 Ruby 或是 gem 的新發佈消息,還有 Ruby 使用者、貢獻者和維護者之間的討論與訪談。 @@ -48,3 +50,4 @@ lang: zh_tw [ruby-irc]: https://web.libera.chat/#ruby [ruby-central]: http://rubycentral.org/ [ruby-discord]: https://discord.gg/ad2acQFtkh +[rubyvideo]: https://rubyvideo.dev From 5199d3e9da611ccb9585a9d2b7416041b8d4790f Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 21 Nov 2024 15:43:50 +0900 Subject: [PATCH 2410/2563] Translate "Add section about official Ruby Language Documentation" (ko) (#3428) * Import "Add section about official Ruby Language Documentation" * Translate to ko --- ko/documentation/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 35d7ae1a59..1e22137ac7 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -16,6 +16,10 @@ Ruby를 배울 수 있는 매뉴얼과 튜토리얼, 코딩할 때 도움이 되 [Ruby를 브라우저에서 시험해 볼 수도 있지만][1], Ruby를 설치하기 위해서 [설치 설명서](installation/)를 읽어보아도 좋습니다. +### Ruby 언어 문서 + +Ruby를 이해하고 싶다면, [docs.ruby-lang.org][docs-rlo-en]의 권위 있는 Ruby 언어 문서가 출발점입니다. 이 문서는 언어의 모든 측면을 다루며, Ruby 프로그래밍 언어를 배우거나 참조할 때 처음으로 찾아봐야 하는 곳입니다. 아래 나열된 다른 자료들은 공식 언어 문서를 보완하거나 다른 형식/스타일/맛으로 Ruby 문서를 제공합니다. + ### 초보자용 문서 [공식 FAQ](faq/) @@ -60,7 +64,7 @@ Ruby를 배울 수 있는 매뉴얼과 튜토리얼, 코딩할 때 도움이 되 ### 참조 [공식 API 문서][docs-rlo-en] -: 아직 릴리스되지 않은 트렁크를 포함한 여러 Ruby 버전의 공식 API 문서입니다. +: 아직 릴리스되지 않은 트렁크를 포함한 여러 Ruby 버전의 공식 언어 문서입니다. [Ruby C API 레퍼런스][extensions] (영문) : Ruby의 공식 C API 문서입니다. From 73e8c42d3503fc9358ccb06ba1187833c384e987 Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 21 Nov 2024 15:46:32 +0900 Subject: [PATCH 2411/2563] Translate "Improve community related content" (ko) (#3429) * Import "Improve community related content" * Tranlate to ko * Update ko/community/index.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- _data/locales/ko.yml | 2 +- ko/community/index.md | 15 ++++++--------- ko/community/weblogs/index.md | 23 +++++++++++++---------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/_data/locales/ko.yml b/_data/locales/ko.yml index 9c88845b75..a8fc93c5ca 100644 --- a/_data/locales/ko.yml +++ b/_data/locales/ko.yml @@ -63,7 +63,7 @@ sidebar: url: /ko/community/user-groups/ description: 근처의 루비스트와 연락하기 weblogs: - text: 웹로그 + text: 블로그와 뉴스레터 url: /ko/community/weblogs/ description: Ruby 커뮤니티에서 지금 무슨 일이 일어나는지 읽기 ruby_core: diff --git a/ko/community/index.md b/ko/community/index.md index 51a59d1b7e..1e3702fe61 100644 --- a/ko/community/index.md +++ b/ko/community/index.md @@ -39,26 +39,23 @@ Ruby의 장점, 특징에 대한 설명에서 빠지지 않고 등장하는 것 : Ruby 개발 과정에 참여하고 싶다면 바로 지금이 최고의 타이밍입니다. Ruby를 도와주는데 관심이 있으시다면 여기서 시작하세요. -[Ruby에 관한 블로그](weblogs/) -: Ruby 커뮤니티에서 블로그에 관한 이야기를 빼놓을 수 없죠. 여기에 - 구독할 만한 추천 블로그 목록이 있습니다. +[Ruby 블로그와 뉴스레터](weblogs/) +: Ruby 커뮤니티의 대부분의 활동과 업데이트는 블로그와 뉴스레터를 통해 논의됩니다. 다음은 연결 상태를 유지하고 정보를 얻는 데 도움이 되는 엄선된 목록입니다. [Ruby 콘퍼런스](conferences/) : 세계의 Ruby 개발자들은 더욱더 활발하게 콘퍼런스에 참여하고 있습니다. 콘퍼런스에서는 Ruby에서 작업 중인 내용의 공유, Ruby의 미래에 대한 토론, Ruby 커뮤니티의 뉴비의 환영 등을 함께합니다. + 또한 [rubyvideo.dev](https://www.rubyvideo.dev/)를 방문하면 Ruby 컨퍼런스 및 강연 동영상을 확인할 수 있습니다. + [팟캐스트](podcasts/) : Ruby에 대해 듣고 싶다면 다음 Ruby 팟캐스트 중 하나를 들어보세요. 루비스트들이 팟캐스트를 통해 새 릴리스, 커뮤니티 소식, 동료 Ruby 개발자와의 인터뷰를 다룹니다. -일반적인 Ruby 정보(영문) -: * [Ruby Central][ruby-central] - * [Ruby at Open Directory Project][ruby-opendir] - * [Rails at Open Directory Project][rails-opendir] +[Ruby Central][ruby-central] +: Ruby Central은 전 세계의 Ruby 커뮤니티를 지원하는 비영리 단체입니다. [ruby-central]: http://rubycentral.org/ [ruby-discord]: https://discord.gg/ad2acQFtkh -[ruby-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/ -[rails-opendir]: https://dmoztools.net/Computers/Programming/Languages/Ruby/Software/Frameworks/Rails/ diff --git a/ko/community/weblogs/index.md b/ko/community/weblogs/index.md index 8f28c6b32a..cfc03ff4bb 100644 --- a/ko/community/weblogs/index.md +++ b/ko/community/weblogs/index.md @@ -1,15 +1,19 @@ --- layout: page -title: "블로그" +title: "블로그와 뉴스레터" lang: ko --- -Ruby 블로그들은 지난 몇 년간 폭발적으로 많아졌고, 풍부한 읽을거리를 +Ruby 블로그와 뉴스레터는 지난 몇 년간 폭발적으로 많아졌고, 풍부한 읽을거리를 제공합니다. 당신은 수백 개의 블로그에서 제공하는 Ruby 코드조각, -새로운 기술에 대한 설명, Ruby의 미래에 대한 추측 등을 발굴할 수 -있습니다. +새로운 기술에 대한 설명, Ruby의 미래에 대한 추측 등을 발굴할 수 있습니다. {: .summary} +### 뉴스레터 + +* [**Ruby Weekly**][ruby-weekly]는 매주 흥미로운 Ruby 기사나 뉴스를 엄선해 제공하는 뉴스레터입니다. +* [**Short Ruby Newsletter**][short-ruby-newsletter]는 Ruby 커뮤니티의 기사, 토론 및 뉴스를 주간 요약입니다. + ### Ruby 블로그 발굴하기 * [**RubyFlow**][rubyflow]는 'Ruby와 Rails 커뮤니티의 링크 목록'으로 @@ -22,14 +26,12 @@ Ruby 블로그들은 지난 몇 년간 폭발적으로 많아졌고, 풍부한 업데이트 빈도나 속도에 주목할 만한 블로그들 -* [**Ruby Weekly**][ruby-weekly]는 블로그라기보다는 뉴스레터에 가까움에도 - 불구하고, Ruby Weekly는 매주 흥미로운 Ruby 기사나 뉴스를 제공합니다. * [**DEV Ruby Tag**][dev-ruby-tag]는 DEV 커뮤니티에서 Ruby 태그가 붙어있는 모든 글의 모음입니다. DEV는 코드에 대해서 글을 쓰거나 토론하는 수천 명의 개발자들의 모임입니다. -* [**Riding Rails**][riding-rails]는 Ruby on Rails 팀의 공식 그룹 블로그입니다. - Rails를 이용하고 있다면, 이 블로그는 보안 업데이트를 받아 보거나 넓은 Rails 커뮤니티를 - 전망하기에 필수입니다. +* [**Ruby on Rails Blog**][ruby-on-rails-blog]는 Ruby on Rails 팀의 공식 그룹 + 블로그입니다. Rails를 이용하고 있다면 이 블로그는 보안 업데이트 알림과 + 광범위한 Rails 커뮤니티에 대한 전반적인 정보를 얻는 데 필수입니다. ### 널리 알리기 @@ -43,6 +45,7 @@ Ruby는 [reddit][reddit], [Hacker News][hn]의 프로그래밍 뉴스에서도 [rubyland]: http://rubyland.news/ [ruby-weekly]: https://rubyweekly.com/ [dev-ruby-tag]: https://dev.to/t/ruby -[riding-rails]: http://weblog.rubyonrails.org/ +[ruby-on-rails-blog]: https://rubyonrails.org/blog/ [reddit]: http://www.reddit.com/r/ruby [hn]: http://news.ycombinator.com/ +[short-ruby-newsletter]: https://newsletter.shortruby.com/ From 0d9a8561b34b3dccfa417aa415ee28e86e228b38 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 6 Dec 2024 22:39:18 +0900 Subject: [PATCH 2412/2563] Translate "add rvm-windows to installation doc" (ko) (#3433) * Copy diff from en * Translate "add rvm-windows to installation doc" (ko) --- ko/documentation/installation/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index ad786cc914..994c51c327 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -339,6 +339,15 @@ RVM은 다른 gemset도 관리해 줍니다. macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. +### RVM 4 Windows +{: #rvm-windows} + +[RVM 4 Windows][rvm-windows]는 Windows에서 여러 종류의 Ruby를 설치하고 +관리할 수 있게 해줍니다. 이는 오리지널 RVM의 복제로, 오리지널 RVM과 +동일한 커맨드 라인 인터페이스를 제공하며, 기존 커맨드 라인 인터페이스와 +PowerShell을 모두 지원합니다. + + ### uru {: #uru} @@ -369,6 +378,7 @@ $ sudo make install [rvm]: http://rvm.io/ +[rvm-windows]: https://github.com/magynhard/rvm-windows#readme [rbenv]: https://github.com/rbenv/rbenv#readme [rbenv-for-windows]: https://github.com/RubyMetric/rbenv-for-windows#readme [ruby-build]: https://github.com/rbenv/ruby-build#readme From 113d80e7a49af847a53fe0170c2c50f191cd34a4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 9 Dec 2024 11:10:34 +0900 Subject: [PATCH 2413/2563] Use pub/ruby/X.Y directory instead of pub/ruby directly --- de/news/_posts/2002-03-01-167-is-released.md | 2 +- .../2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md | 4 ++-- de/news/_posts/2004-12-26-ruby-182-released.md | 4 ++-- de/news/_posts/2005-09-21-ruby-183-released.md | 2 +- de/news/_posts/2005-12-24-ruby-184-released.md | 4 ++-- de/news/_posts/2006-08-29-ruby-1-8-5-released.md | 4 ++-- .../2009-05-21-ruby-1-9-1-p129-verffentlicht.md | 12 ++++++------ .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- en/news/_posts/2002-03-01-167-is-released.md | 2 +- .../2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md | 4 ++-- en/news/_posts/2004-12-26-ruby-182-released.md | 4 ++-- en/news/_posts/2005-09-21-ruby-183-released.md | 2 +- en/news/_posts/2005-12-24-ruby-184-released.md | 4 ++-- en/news/_posts/2006-08-29-ruby-1-8-5-released.md | 4 ++-- .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- es/news/_posts/2009-05-21-ruby-1-9-1-p129.md | 12 ++++++------ .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- .../_posts/2009-05-14-sortie-de-ruby-1-9-1-p129.md | 12 ++++++------ .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- ja/news/_posts/2002-12-24-20021224.md | 4 ++-- ja/news/_posts/2004-12-25-20041225.md | 4 ++-- ja/news/_posts/2005-09-21-20050921.md | 8 ++++---- ja/news/_posts/2005-12-24-20051224.md | 4 ++-- ja/news/_posts/2006-08-25-ruby-1-8-5.md | 4 ++-- ja/news/_posts/2006-12-05-ruby-1-8-5-p2.md | 4 ++-- ja/news/_posts/2006-12-25-ruby-1-8-5-p12.md | 4 ++-- ja/news/_posts/2008-12-31-ruby-1-9-1-rc1-released.md | 12 ++++++------ .../_posts/2009-05-12-ruby-1-9-1-p129-released.md | 12 ++++++------ .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- ko/news/_posts/2002-03-01-167-is-released.md | 2 +- .../2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md | 4 ++-- ko/news/_posts/2004-12-26-ruby-182-released.md | 4 ++-- ko/news/_posts/2005-09-21-ruby-183-released.md | 2 +- ko/news/_posts/2005-12-24-ruby-184-released.md | 4 ++-- ko/news/_posts/2006-09-17-ruby-1-8-5-released.md | 4 ++-- ko/news/_posts/2007-01-01-ruby-1-8-5-p12.md | 4 ++-- .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- ...5-15-ruby-1-9-1-p129-j-disponvel-para-download.md | 12 ++++++------ .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- .../_posts/2014-08-19-ruby-1-9-2-p330-released.md | 6 +++--- 42 files changed, 114 insertions(+), 114 deletions(-) diff --git a/de/news/_posts/2002-03-01-167-is-released.md b/de/news/_posts/2002-03-01-167-is-released.md index 5e0c47bf55..31dd7cff3d 100644 --- a/de/news/_posts/2002-03-01-167-is-released.md +++ b/de/news/_posts/2002-03-01-167-is-released.md @@ -9,4 +9,4 @@ Die neue stabile Version [1.6.7][1] wurde veröffentlicht. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.6.7.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.7.tar.gz diff --git a/de/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md b/de/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md index e7ca2ffbb6..966950c084 100644 --- a/de/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md +++ b/de/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md @@ -8,7 +8,7 @@ lang: de I just put the 1.6.8 release package on the ftp. 1.6.8 should be the last release in the 1.6.x series. Check out -* [https://cache.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gz][1] +* [https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.8.tar.gz][1] I also put the first preview of 1.8.0 at @@ -19,6 +19,6 @@ Merry Christmas! -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.8.tar.gz [2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview1.tar.gz [3]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview1-errata.diff diff --git a/de/news/_posts/2004-12-26-ruby-182-released.md b/de/news/_posts/2004-12-26-ruby-182-released.md index 5bbdf50e53..c2aca111f9 100644 --- a/de/news/_posts/2004-12-26-ruby-182-released.md +++ b/de/news/_posts/2004-12-26-ruby-182-released.md @@ -11,7 +11,7 @@ Matz announced that ruby 1.8.2 was released This is mainly a bug fix release. You can download it at: -* [https://cache.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz][1] +* [https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz][1] md5sum is 8ffc79d96f336b80f2690a17601dea9b @@ -19,4 +19,4 @@ Merry Christmas! -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz diff --git a/de/news/_posts/2005-09-21-ruby-183-released.md b/de/news/_posts/2005-09-21-ruby-183-released.md index b8748bbe0c..2fe5808054 100644 --- a/de/news/_posts/2005-09-21-ruby-183-released.md +++ b/de/news/_posts/2005-09-21-ruby-183-released.md @@ -10,4 +10,4 @@ Ruby 1.8.3 has been released. The source is [here][1], and the md5sum is -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.3.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.3.tar.gz diff --git a/de/news/_posts/2005-12-24-ruby-184-released.md b/de/news/_posts/2005-12-24-ruby-184-released.md index d8ea655294..71e8340fc7 100644 --- a/de/news/_posts/2005-12-24-ruby-184-released.md +++ b/de/news/_posts/2005-12-24-ruby-184-released.md @@ -6,9 +6,9 @@ lang: de --- Ruby 1.8.4 has been released. The source is -[https://cache.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz][1], the md5sum is +[https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz][1], the md5sum is bd8c2e593e1fa4b01fd98eaf016329bb, and filesize is 4,312,965 bytes. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz diff --git a/de/news/_posts/2006-08-29-ruby-1-8-5-released.md b/de/news/_posts/2006-08-29-ruby-1-8-5-released.md index 3a38109435..d03a7a8052 100644 --- a/de/news/_posts/2006-08-29-ruby-1-8-5-released.md +++ b/de/news/_posts/2006-08-29-ruby-1-8-5-released.md @@ -7,7 +7,7 @@ lang: de Ruby 1.8.5 has been released. -The source is [https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz][1], +The source is [https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz][1], the md5sum is 3fbb02294a8ca33d4684055adba5ed6f, and filesize is 4,438,603 bytes. @@ -15,5 +15,5 @@ Mauricio Fernandez wrote [a summary of changes][2]. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz [2]: http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog diff --git a/de/news/_posts/2009-05-21-ruby-1-9-1-p129-verffentlicht.md b/de/news/_posts/2009-05-21-ruby-1-9-1-p129-verffentlicht.md index 6131ead83b..66b3ab12df 100644 --- a/de/news/_posts/2009-05-21-ruby-1-9-1-p129-verffentlicht.md +++ b/de/news/_posts/2009-05-21-ruby-1-9-1-p129-verffentlicht.md @@ -13,19 +13,19 @@ allen 1.9.1 Benutzern auf diese Version umzusteigen. #### Download -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2>][1] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2>][1] Größe: 7183891 bytes MD5: 6fa62b20f72da471195830dec4eb2013 SHA256: cb730f035aec0e3ac104d23d27a79aa9625fdeb115dae2295de65355f449ce27 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz>][2] Größe: 9034947 bytes MD5: c71f413514ee6341c627be2957023a5c SHA256: 27b7a8ace1d17cec237020ae9355230b53f8c3875f8d942de903e7d58d14253b -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip>][3] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip>][3] Größe: 10299369 bytes MD5: 156305e9633758eb60b419fabc33b6e4 @@ -40,6 +40,6 @@ allen 1.9.1 Benutzern auf diese Version umzusteigen. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz -[3]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip +[1]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2 +[2]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz +[3]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip diff --git a/de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 50d6598bb0..2bbb8f1388 100644 --- a/de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/de/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -32,19 +32,19 @@ Sie können den ursprünglichen Fehlerbericht im Ticketsystem nachlesen: ## Download -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/en/news/_posts/2002-03-01-167-is-released.md b/en/news/_posts/2002-03-01-167-is-released.md index 022939daaa..0e88ff721f 100644 --- a/en/news/_posts/2002-03-01-167-is-released.md +++ b/en/news/_posts/2002-03-01-167-is-released.md @@ -9,4 +9,4 @@ The new stable version [1.6.7][1] is released. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.6.7.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.7.tar.gz diff --git a/en/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md b/en/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md index c72e99a6d4..846ac5d091 100644 --- a/en/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md +++ b/en/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md @@ -8,7 +8,7 @@ lang: en I just put the 1.6.8 release package on the ftp. 1.6.8 should be the last release in the 1.6.x series. Check out -* [https://cache.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gz][1] +* [https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.8.tar.gz][1] I also put the first preview of 1.8.0 at @@ -19,6 +19,6 @@ Merry Christmas! -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.8.tar.gz [2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview1.tar.gz [3]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview1-errata.diff diff --git a/en/news/_posts/2004-12-26-ruby-182-released.md b/en/news/_posts/2004-12-26-ruby-182-released.md index 9b81083456..175da8cfc6 100644 --- a/en/news/_posts/2004-12-26-ruby-182-released.md +++ b/en/news/_posts/2004-12-26-ruby-182-released.md @@ -11,7 +11,7 @@ Matz announced that ruby 1.8.2 was released This is mainly a bug fix release. You can download it at: -* [https://cache.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz][1] +* [https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz][1] md5sum is 8ffc79d96f336b80f2690a17601dea9b @@ -19,4 +19,4 @@ Merry Christmas! -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz diff --git a/en/news/_posts/2005-09-21-ruby-183-released.md b/en/news/_posts/2005-09-21-ruby-183-released.md index 23158fd514..1efce87220 100644 --- a/en/news/_posts/2005-09-21-ruby-183-released.md +++ b/en/news/_posts/2005-09-21-ruby-183-released.md @@ -10,4 +10,4 @@ Ruby 1.8.3 has been released. The source is [here][1], and the md5sum is -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.3.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.3.tar.gz diff --git a/en/news/_posts/2005-12-24-ruby-184-released.md b/en/news/_posts/2005-12-24-ruby-184-released.md index 1f0de990fb..41be4548e5 100644 --- a/en/news/_posts/2005-12-24-ruby-184-released.md +++ b/en/news/_posts/2005-12-24-ruby-184-released.md @@ -6,9 +6,9 @@ lang: en --- Ruby 1.8.4 has been released. The source is -[https://cache.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz][1], the md5sum is +[https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz][1], the md5sum is bd8c2e593e1fa4b01fd98eaf016329bb, and filesize is 4,312,965 bytes. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz diff --git a/en/news/_posts/2006-08-29-ruby-1-8-5-released.md b/en/news/_posts/2006-08-29-ruby-1-8-5-released.md index 02f0f913db..0032176864 100644 --- a/en/news/_posts/2006-08-29-ruby-1-8-5-released.md +++ b/en/news/_posts/2006-08-29-ruby-1-8-5-released.md @@ -7,7 +7,7 @@ lang: en Ruby 1.8.5 has been released. -The source is [https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz][1], +The source is [https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz][1], the md5sum is 3fbb02294a8ca33d4684055adba5ed6f, and filesize is 4,438,603 bytes. @@ -15,5 +15,5 @@ Mauricio Fernandez wrote [a summary of changes][2]. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz [2]: http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog diff --git a/en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 7b85206fa7..7e52abcdc2 100644 --- a/en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/en/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -31,19 +31,19 @@ You can read the original report on the bug tracker: ## Download -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/es/news/_posts/2009-05-21-ruby-1-9-1-p129.md b/es/news/_posts/2009-05-21-ruby-1-9-1-p129.md index 9a123705ac..c7d39a5186 100644 --- a/es/news/_posts/2009-05-21-ruby-1-9-1-p129.md +++ b/es/news/_posts/2009-05-21-ruby-1-9-1-p129.md @@ -11,19 +11,19 @@ Ruby 1.9.1 que lo instalen. #### Ubicación -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2>][1] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2>][1] SIZE: 7183891 bytes MD5: 6fa62b20f72da471195830dec4eb2013 SHA256: cb730f035aec0e3ac104d23d27a79aa9625fdeb115dae2295de65355f449ce27 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz>][2] SIZE: 9034947 bytes MD5: c71f413514ee6341c627be2957023a5c SHA256: 27b7a8ace1d17cec237020ae9355230b53f8c3875f8d942de903e7d58d14253b -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip>][3] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip>][3] SIZE: 10299369 bytes MD5: 156305e9633758eb60b419fabc33b6e4 @@ -41,6 +41,6 @@ $SAFE > 0 -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz -[3]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip +[1]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2 +[2]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz +[3]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip diff --git a/es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 80f77aa902..5858047414 100644 --- a/es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/es/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -32,19 +32,19 @@ Puedes leer el reporte original de el problema en el tracker: ## Descarga -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/fr/news/_posts/2009-05-14-sortie-de-ruby-1-9-1-p129.md b/fr/news/_posts/2009-05-14-sortie-de-ruby-1-9-1-p129.md index c36ba10856..511af6d5b8 100644 --- a/fr/news/_posts/2009-05-14-sortie-de-ruby-1-9-1-p129.md +++ b/fr/news/_posts/2009-05-14-sortie-de-ruby-1-9-1-p129.md @@ -13,19 +13,19 @@ d\'installer cette mise-à-jour. #### Téléchargement -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2>][1] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2>][1] SIZE: 7183891 bytes MD5: 6fa62b20f72da471195830dec4eb2013 SHA256: cb730f035aec0e3ac104d23d27a79aa9625fdeb115dae2295de65355f449ce27 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz>][2] SIZE: 9034947 bytes MD5: c71f413514ee6341c627be2957023a5c SHA256: 27b7a8ace1d17cec237020ae9355230b53f8c3875f8d942de903e7d58d14253b -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip>][3] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip>][3] SIZE: 10299369 bytes MD5: 156305e9633758eb60b419fabc33b6e4 @@ -43,6 +43,6 @@ $SAFE > 0 -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz -[3]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip +[1]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2 +[2]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz +[3]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip diff --git a/it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 0486dffd8e..b54e3f6515 100644 --- a/it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/it/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -31,19 +31,19 @@ Potete leggere la segnalazione originale sul bug tracker: ## Download -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/ja/news/_posts/2002-12-24-20021224.md b/ja/news/_posts/2002-12-24-20021224.md index d5a5756b32..1380bdb811 100644 --- a/ja/news/_posts/2002-12-24-20021224.md +++ b/ja/news/_posts/2002-12-24-20021224.md @@ -7,7 +7,7 @@ lang: ja 1\.6.8リリースパッケージがftp上に公開されました。1.6.8は1.6系最後のリリースになる予定です。以下からダウンロードできます。 -* [https://cache.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gz][1] +* [https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.8.tar.gz][1] また、1.8.0の最初のプレビューも公開されました。 @@ -18,6 +18,6 @@ lang: ja -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.8.tar.gz [2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview1.tar.gz [3]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview1-errata.diff diff --git a/ja/news/_posts/2004-12-25-20041225.md b/ja/news/_posts/2004-12-25-20041225.md index 18682687d1..f510390202 100644 --- a/ja/news/_posts/2004-12-25-20041225.md +++ b/ja/news/_posts/2004-12-25-20041225.md @@ -9,7 +9,7 @@ Ruby安定版の最新版、Ruby 1.8.2がリリースされました( [\[ruby-list:40458\]][1]、[\[ruby-talk:124413\]][2] )。ソースコードは下記URLよりダウンロードできます。 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz>][3] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz>][3] MD5チェックサムは 8ffc79d96f336b80f2690a17601dea9b です。 @@ -21,4 +21,4 @@ MD5チェックサムは 8ffc79d96f336b80f2690a17601dea9b です。 [1]: https://blade.ruby-lang.org/ruby-list/40458 [2]: https://blade.ruby-lang.org/ruby-talk/124413 -[3]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz +[3]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz diff --git a/ja/news/_posts/2005-09-21-20050921.md b/ja/news/_posts/2005-09-21-20050921.md index b3181d2639..76d0b8c68d 100644 --- a/ja/news/_posts/2005-09-21-20050921.md +++ b/ja/news/_posts/2005-09-21-20050921.md @@ -6,7 +6,7 @@ lang: ja --- Ruby 1.8.3がリリースされました。ソースコードは -[https://cache.ruby-lang.org/pub/ruby/ruby-1.8.3.tar.gz][1]から入手できます。md5sumは63d6c2bddd6af86664e338b31f3189a6です。 +[https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.3.tar.gz][1]から入手できます。md5sumは63d6c2bddd6af86664e338b31f3189a6です。 近日中にミラーからも入手可能になると思います。 @@ -15,10 +15,10 @@ Ruby 1.8.3がリリースされました。ソースコードは ミラーサイト * [http://rubyforge.org/frs/?group\_id=426][2] -* [http://www.garbagecollect.jp/ruby/ruby-1.8.3.tar.gz][3] +* [http://www.garbagecollect.jp/ruby/1.8/ruby-1.8.3.tar.gz][3] -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.3.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.3.tar.gz [2]: http://rubyforge.org/frs/?group_id=426 -[3]: http://www.garbagecollect.jp/ruby/ruby-1.8.3.tar.gz +[3]: http://www.garbagecollect.jp/ruby/1.8/ruby-1.8.3.tar.gz diff --git a/ja/news/_posts/2005-12-24-20051224.md b/ja/news/_posts/2005-12-24-20051224.md index 4d45ac89cf..cab1c34ff2 100644 --- a/ja/news/_posts/2005-12-24-20051224.md +++ b/ja/news/_posts/2005-12-24-20051224.md @@ -9,7 +9,7 @@ lang: ja 1\.8.4 のソースコードは以下のURLから入手可能です。 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz>][2] md5sumは bd8c2e593e1fa4b01fd98eaf016329bb です。 また、サイズは 4312965 バイトです。 @@ -22,5 +22,5 @@ Merry Christmas! そして、Happy Hacking! [1]: https://blade.ruby-lang.org/ruby-list/41728 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz +[2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz [3]: {{ site.url }}/ja/man/?cmd=view;name=ruby+1.8.4+feature diff --git a/ja/news/_posts/2006-08-25-ruby-1-8-5.md b/ja/news/_posts/2006-08-25-ruby-1-8-5.md index e723cf351c..4b1cff7e5e 100644 --- a/ja/news/_posts/2006-08-25-ruby-1-8-5.md +++ b/ja/news/_posts/2006-08-25-ruby-1-8-5.md @@ -9,7 +9,7 @@ lang: ja ソースコードは以下のURLから入手できます。 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz>][2] md5sumは 3fbb02294a8ca33d4684055adba5ed6f です。また、サイズは 4,438,603 バイトです。 @@ -24,5 +24,5 @@ Ruby [1]: https://blade.ruby-lang.org/ruby-list/42751 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz +[2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz [3]: {{ site.url }}/ja/man/?cmd=view;name=ruby+1.8.5+feature diff --git a/ja/news/_posts/2006-12-05-ruby-1-8-5-p2.md b/ja/news/_posts/2006-12-05-ruby-1-8-5-p2.md index 6260815106..b20cc1c5a1 100644 --- a/ja/news/_posts/2006-12-05-ruby-1-8-5-p2.md +++ b/ja/news/_posts/2006-12-05-ruby-1-8-5-p2.md @@ -9,7 +9,7 @@ Ruby 1.8.5-p2がリリースされました。(リリースについてのアナ ソースコードは以下のURLから入手できます。 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5-p2.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p2.tar.gz>][2] md5sumは a3517a224716f79b14196adda3e88057 です。また、サイズは 4,519,151 バイトです。 @@ -33,4 +33,4 @@ Ruby [1]: https://blade.ruby-lang.org/ruby-list/43017 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5-p2.tar.gz +[2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p2.tar.gz diff --git a/ja/news/_posts/2006-12-25-ruby-1-8-5-p12.md b/ja/news/_posts/2006-12-25-ruby-1-8-5-p12.md index 5c277311c8..bc90931495 100644 --- a/ja/news/_posts/2006-12-25-ruby-1-8-5-p12.md +++ b/ja/news/_posts/2006-12-25-ruby-1-8-5-p12.md @@ -9,7 +9,7 @@ ruby 1.8.5-p12がリリースされました。(リリースについてのア ソースコードは以下のURLから入手できます。 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p12.tar.gz>][2] md5sumは d7d12dd9124c9b7d55cdbbee313e3931です。また、サイズは 4,526,961 バイトです。 @@ -19,4 +19,4 @@ md5sumは d7d12dd9124c9b7d55cdbbee313e3931です。また、サイズは 4,526,9 [1]: https://blade.ruby-lang.org/ruby-list/43074 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz +[2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p12.tar.gz diff --git a/ja/news/_posts/2008-12-31-ruby-1-9-1-rc1-released.md b/ja/news/_posts/2008-12-31-ruby-1-9-1-rc1-released.md index e875656ed8..20b8e56839 100644 --- a/ja/news/_posts/2008-12-31-ruby-1-9-1-rc1-released.md +++ b/ja/news/_posts/2008-12-31-ruby-1-9-1-rc1-released.md @@ -15,19 +15,19 @@ RC1のリリースのアナウンスがありました。 ソースコードは以下のURLよりダウンロードできます。 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-rc1.tar.bz2>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-rc1.tar.bz2>][2] SIZE: 6181532 bytes MD5: d440c030131903e72a6152149a097af3 SHA256: 35acfb6b8d9dd9159ef308ac763c629092cda2e8c9f41254e72a7b9fa454c27f -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-rc1.tar.gz>][3] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-rc1.tar.gz>][3] SIZE: 7425278 bytes MD5: b145bc39667f27c018b188c812f07ca6 SHA256: a5d41b58bb9a379b3a98713c07a17757c853413104694036d9885559163f5518 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-rc1.zip>][4] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-rc1.zip>][4] SIZE: 8695438 bytes MD5: 91ca7ebd3fe4ad577d08963e81e79c82 @@ -57,9 +57,9 @@ RC1ではまだ対応が行われていない課題は、以下のURLです。 [1]: https://blade.ruby-lang.org/ruby-list/45758 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-rc1.tar.bz2 -[3]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-rc1.tar.gz -[4]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-rc1.zip +[2]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-rc1.tar.bz2 +[3]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-rc1.tar.gz +[4]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-rc1.zip [5]: https://blade.ruby-lang.org/ruby-list/45759 [6]: http://arton.no-ip.info/data/asr/Ruby-1.9.1.msi [7]: https://bugs.ruby-lang.org/projects/ruby-19/issues?query_id=9 diff --git a/ja/news/_posts/2009-05-12-ruby-1-9-1-p129-released.md b/ja/news/_posts/2009-05-12-ruby-1-9-1-p129-released.md index 3cd384cbbb..fcf6e92e46 100644 --- a/ja/news/_posts/2009-05-12-ruby-1-9-1-p129-released.md +++ b/ja/news/_posts/2009-05-12-ruby-1-9-1-p129-released.md @@ -12,19 +12,19 @@ Ruby 1.9.1-p129がリリースされました。 #### 所在 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2>][1] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2>][1] SIZE: 7183891 bytes MD5: 6fa62b20f72da471195830dec4eb2013 SHA256: cb730f035aec0e3ac104d23d27a79aa9625fdeb115dae2295de65355f449ce27 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz>][2] SIZE: 9034947 bytes MD5: c71f413514ee6341c627be2957023a5c SHA256: 27b7a8ace1d17cec237020ae9355230b53f8c3875f8d942de903e7d58d14253b -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip>][3] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip>][3] SIZE: 10299369 bytes MD5: 156305e9633758eb60b419fabc33b6e4 @@ -37,6 +37,6 @@ Ruby 1.9.1-p129がリリースされました。 -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz -[3]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip +[1]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2 +[2]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz +[3]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip diff --git a/ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 60cd7528d5..8360cefc7b 100644 --- a/ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/ja/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -26,19 +26,19 @@ ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophi ## ダウンロード -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/ko/news/_posts/2002-03-01-167-is-released.md b/ko/news/_posts/2002-03-01-167-is-released.md index 878cc3b5b2..eccd3f850e 100644 --- a/ko/news/_posts/2002-03-01-167-is-released.md +++ b/ko/news/_posts/2002-03-01-167-is-released.md @@ -9,4 +9,4 @@ The new stable version [1.6.7][1] is released. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.6.7.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.7.tar.gz diff --git a/ko/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md b/ko/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md index 9d2579b2b9..1b95b4b2d0 100644 --- a/ko/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md +++ b/ko/news/_posts/2002-12-24-ruby-1-6-8-and-1-8-0-preview-1.md @@ -8,7 +8,7 @@ lang: ko I just put the 1.6.8 release package on the ftp. 1.6.8 should be the last release in the 1.6.x series. Check out -* [https://cache.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gz][1] +* [https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.8.tar.gz][1] I also put the first preview of 1.8.0 at @@ -19,6 +19,6 @@ Merry Christmas! -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.6/ruby-1.6.8.tar.gz [2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview1.tar.gz [3]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview1-errata.diff diff --git a/ko/news/_posts/2004-12-26-ruby-182-released.md b/ko/news/_posts/2004-12-26-ruby-182-released.md index 56753b5847..ef315a32af 100644 --- a/ko/news/_posts/2004-12-26-ruby-182-released.md +++ b/ko/news/_posts/2004-12-26-ruby-182-released.md @@ -11,7 +11,7 @@ Matz announced that ruby 1.8.2 was released This is mainly a bug fix release. You can download it at: -* [https://cache.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz][1] +* [https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz][1] md5sum is 8ffc79d96f336b80f2690a17601dea9b @@ -19,4 +19,4 @@ Merry Christmas! -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2.tar.gz diff --git a/ko/news/_posts/2005-09-21-ruby-183-released.md b/ko/news/_posts/2005-09-21-ruby-183-released.md index e6d638121f..b086ee3c28 100644 --- a/ko/news/_posts/2005-09-21-ruby-183-released.md +++ b/ko/news/_posts/2005-09-21-ruby-183-released.md @@ -10,4 +10,4 @@ Ruby 1.8.3 has been released. The source is [here][1], and the md5sum is -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.3.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.3.tar.gz diff --git a/ko/news/_posts/2005-12-24-ruby-184-released.md b/ko/news/_posts/2005-12-24-ruby-184-released.md index 7e35b0fb8e..ce13c3a2de 100644 --- a/ko/news/_posts/2005-12-24-ruby-184-released.md +++ b/ko/news/_posts/2005-12-24-ruby-184-released.md @@ -6,9 +6,9 @@ lang: ko --- Ruby 1.8.4 has been released. The source is -[https://cache.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz][1], the md5sum is +[https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz][1], the md5sum is bd8c2e593e1fa4b01fd98eaf016329bb, and filesize is 4,312,965 bytes. -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz diff --git a/ko/news/_posts/2006-09-17-ruby-1-8-5-released.md b/ko/news/_posts/2006-09-17-ruby-1-8-5-released.md index 7cd55656f3..404f853daa 100644 --- a/ko/news/_posts/2006-09-17-ruby-1-8-5-released.md +++ b/ko/news/_posts/2006-09-17-ruby-1-8-5-released.md @@ -7,7 +7,7 @@ lang: ko 루비 1.8.5 버전이 배포되었습니다. -소스 코드는 [https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz][1]에서 다운로드할 +소스 코드는 [https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz][1]에서 다운로드할 수 있고, md5sum은 3fbb02294a8ca33d4684055adba5ed6f입니다. 용량은 4,438,603 바이트입니다. @@ -15,5 +15,5 @@ lang: ko -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz +[1]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5.tar.gz [2]: http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog diff --git a/ko/news/_posts/2007-01-01-ruby-1-8-5-p12.md b/ko/news/_posts/2007-01-01-ruby-1-8-5-p12.md index 7e880e60cc..b237ed9226 100644 --- a/ko/news/_posts/2007-01-01-ruby-1-8-5-p12.md +++ b/ko/news/_posts/2007-01-01-ruby-1-8-5-p12.md @@ -9,7 +9,7 @@ lang: ko 아래 주소에서 소스 코드를 내려 받을 수 있습니다. -* [https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz][2] +* [https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p12.tar.gz][2] md5sum은 d7d12dd9124c9b7d55cdbbee313e3931이고 파일 크기는 4,526,961 바이트입니다. @@ -19,4 +19,4 @@ md5sum은 d7d12dd9124c9b7d55cdbbee313e3931이고 파일 크기는 4,526,961 바 [1]: https://blade.ruby-lang.org/ruby-list/43074 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz +[2]: https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p12.tar.gz diff --git a/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index 825e224e6f..0f99458afc 100644 --- a/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/ko/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -29,19 +29,19 @@ ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophi ## 다운로드 -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index c0e133d565..00a6dcb073 100644 --- a/pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/pl/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -31,19 +31,19 @@ Możesz przeczytać oryginalny raport o błędzie: ## Pobieranie -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/pt/news/_posts/2009-05-15-ruby-1-9-1-p129-j-disponvel-para-download.md b/pt/news/_posts/2009-05-15-ruby-1-9-1-p129-j-disponvel-para-download.md index c603e77628..9fcf68303e 100644 --- a/pt/news/_posts/2009-05-15-ruby-1-9-1-p129-j-disponvel-para-download.md +++ b/pt/news/_posts/2009-05-15-ruby-1-9-1-p129-j-disponvel-para-download.md @@ -14,19 +14,19 @@ façam esta actualização. #### Disponível a partir de -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2>][1] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2>][1] SIZE: 7183891 bytes MD5: 6fa62b20f72da471195830dec4eb2013 SHA256: cb730f035aec0e3ac104d23d27a79aa9625fdeb115dae2295de65355f449ce27 -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz>][2] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz>][2] SIZE: 9034947 bytes MD5: c71f413514ee6341c627be2957023a5c SHA256: 27b7a8ace1d17cec237020ae9355230b53f8c3875f8d942de903e7d58d14253b -* [<URL:https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip>][3] +* [<URL:https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip>][3] SIZE: 10299369 bytes MD5: 156305e9633758eb60b419fabc33b6e4 @@ -44,6 +44,6 @@ $SAFE > 0 -[1]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.bz2 -[2]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.tar.gz -[3]: https://cache.ruby-lang.org/pub/ruby/ruby-1.9.1-p129.zip +[1]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.bz2 +[2]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz +[3]: https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.zip diff --git a/vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index d859aeb9e2..38739670a4 100644 --- a/vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/vi/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -32,19 +32,19 @@ Bạn có thể đọc bản báo cáo gốc trên bug tracker: ## Download -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index b974d6c5c4..624f6b0e85 100644 --- a/zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/zh_cn/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -26,19 +26,19 @@ ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophi ## 下载 -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 diff --git a/zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md b/zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md index e884233201..ec023a2b3b 100644 --- a/zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md +++ b/zh_tw/news/_posts/2014-08-19-ruby-1-9-2-p330-released.md @@ -24,19 +24,19 @@ ruby -v -ruri -e'URI.decode_www_form_component "A string that causes catastrophi ## 下載 -* +* SIZE: 9081661 bytes MD5: 8ba4aaf707023e76f80fc8f455c99858 SHA256: 6d3487ea8a86ad0fa78a8535078ff3c7a91ca9f99eff0a6a08e66c6e6bf2040f -* +* SIZE: 11416473 bytes MD5: 4b9330730491f96b402adc4a561e859a SHA256: 23ef45fdaecc5d6c7b4e9e2d51b23817fc6aa8225a20f123f7fa98760e8b5ca9 -* +* SIZE: 12732739 bytes MD5: 42d261b28d1b7e500dd3bdbdbfba7fa5 From 2cc47271a0dd9a6d3a20746342a631360b24d88b Mon Sep 17 00:00:00 2001 From: BrotherShort <129957860+BrotherShort@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:44:21 +0800 Subject: [PATCH 2414/2563] Remove "E-TextEditor" And "Ruby In Stee"l's broken links. --- bg/documentation/index.md | 4 ---- es/documentation/index.md | 4 ---- id/documentation/index.md | 4 ---- it/documentation/index.md | 4 ---- ja/documentation/index.md | 4 ---- pl/documentation/index.md | 4 ---- pt/documentation/index.md | 4 ---- ru/documentation/index.md | 4 ---- tr/documentation/index.md | 4 ---- vi/documentation/index.md | 4 ---- zh_cn/documentation/index.md | 4 ---- 11 files changed, 44 deletions(-) diff --git a/bg/documentation/index.md b/bg/documentation/index.md index 2cba7b0134..55677a858d 100644 --- a/bg/documentation/index.md +++ b/bg/documentation/index.md @@ -111,8 +111,6 @@ ruby -v * За Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * За macOS: * [TextMate][32] @@ -151,8 +149,6 @@ ruby -v [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/es/documentation/index.md b/es/documentation/index.md index fbc4a8ef72..dfc6ef17e3 100644 --- a/es/documentation/index.md +++ b/es/documentation/index.md @@ -118,8 +118,6 @@ Rubiceros: * En Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * En macOS: * [TextMate][32] @@ -165,8 +163,6 @@ comenzar. [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/id/documentation/index.md b/id/documentation/index.md index 6eb137a7ac..8e059ba9fc 100644 --- a/id/documentation/index.md +++ b/id/documentation/index.md @@ -112,8 +112,6 @@ Berikut adalah daftar kakas populer yang digunakan oleh para pengguna Ruby: * Pada Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * Pada macOS: * [TextMate][32] @@ -156,8 +154,6 @@ adalah tempat yang baik untuk memulai. [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/it/documentation/index.md b/it/documentation/index.md index 19995e888b..e0024b6c67 100644 --- a/it/documentation/index.md +++ b/it/documentation/index.md @@ -107,8 +107,6 @@ Questa è una lista dei tool più comunemente usati dagli sviluppatori Ruby: * Per Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * Per macOS: * [TextMate][32] @@ -149,8 +147,6 @@ iniziare. [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/ja/documentation/index.md b/ja/documentation/index.md index 785f038ad4..8c34614174 100644 --- a/ja/documentation/index.md +++ b/ja/documentation/index.md @@ -96,8 +96,6 @@ Rubyistに人気のあるソフトウェアには次のようなものがあり * Windows * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * macOS * [TextMate][32] @@ -153,8 +151,6 @@ Posted by Shugo Maeda on 26 May 2006 [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [36]: https://netbeans.org/ diff --git a/pl/documentation/index.md b/pl/documentation/index.md index 454d600b8d..f26be3c6c8 100644 --- a/pl/documentation/index.md +++ b/pl/documentation/index.md @@ -111,8 +111,6 @@ Oto lista popularnych narzędzi używanych przez rubistów: * Dla Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * Dla macOS: * [TextMate][32] @@ -153,8 +151,6 @@ Jeśli szukasz pomocy w języku polskim, zajrzyj na [forum][pl-2]. [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/pt/documentation/index.md b/pt/documentation/index.md index d91cb26830..4e1d9d9947 100644 --- a/pt/documentation/index.md +++ b/pt/documentation/index.md @@ -118,8 +118,6 @@ programadores Ruby: * No Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * No macOS: * [TextMate][32] @@ -160,8 +158,6 @@ perguntas sobre Ruby, a [lista de e-mails](/pt/community/mailing-lists/) [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/ru/documentation/index.md b/ru/documentation/index.md index 1f1749e8aa..463192d7db 100644 --- a/ru/documentation/index.md +++ b/ru/documentation/index.md @@ -120,8 +120,6 @@ ruby -v * На Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * На macOS: * [TextMate][32] @@ -161,8 +159,6 @@ ruby -v [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/tr/documentation/index.md b/tr/documentation/index.md index 865ba4c30c..7c826b92fd 100644 --- a/tr/documentation/index.md +++ b/tr/documentation/index.md @@ -119,8 +119,6 @@ bir tümleşik geliştirme ortamı seçmeniz daha iyi olur. * Windows'ta: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * macOS'ta: * [TextMate][32] @@ -163,8 +161,6 @@ olacaktır. [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/vi/documentation/index.md b/vi/documentation/index.md index 8939879124..5a7a50f082 100644 --- a/vi/documentation/index.md +++ b/vi/documentation/index.md @@ -117,8 +117,6 @@ tính năng nâng cao (ví dụ: tự động hoàn thiện, tái cấu trúc, h * Trên Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * Trên macOS: * [TextMate][32] @@ -159,8 +157,6 @@ là một nơi tuyệt vời. [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org diff --git a/zh_cn/documentation/index.md b/zh_cn/documentation/index.md index abb6107be6..c56ce1615e 100644 --- a/zh_cn/documentation/index.md +++ b/zh_cn/documentation/index.md @@ -93,8 +93,6 @@ ruby -v * Windows: * [Notepad++][29] - * [E-TextEditor][30] - * [Ruby In Steel][31] * macOS: * [TextMate][32] @@ -133,8 +131,6 @@ ruby -v [27]: http://www.jetbrains.com/ruby/ [28]: http://www.scintilla.org/SciTE.html [29]: http://notepad-plus-plus.org/ -[30]: http://www.e-texteditor.com/ -[31]: http://www.sapphiresteel.com/ [32]: http://macromates.com/ [33]: https://www.barebones.com/products/bbedit/ [34]: http://ruby-doc.org From 94aa8dbe85492a214c36105862ffa7a815e63310 Mon Sep 17 00:00:00 2001 From: gaojun Date: Thu, 7 Nov 2024 14:14:01 +0800 Subject: [PATCH 2415/2563] Translate Ruby 3.3.6 Released (zh_cn) --- .../_posts/2024-11-05-ruby-3-3-6-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 zh_cn/news/_posts/2024-11-05-ruby-3-3-6-released.md diff --git a/zh_cn/news/_posts/2024-11-05-ruby-3-3-6-released.md b/zh_cn/news/_posts/2024-11-05-ruby-3-3-6-released.md new file mode 100644 index 0000000000..7f3cee118e --- /dev/null +++ b/zh_cn/news/_posts/2024-11-05-ruby-3-3-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.6 已发布" +author: k0kubun +translator: "GAO Jun" +date: 2024-11-05 04:25:00 +0000 +lang: zh_cn +--- + +Ruby 3.3.6 已发布。 + +这是包含了一些小补丁的计划更新。 +此版本同时停止了对 Ruby 3.5 中即将作为绑定 gems 的依赖警告。 +更多信息可以参考 [GitHub 发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_6)。 + +## 发布计划 + +正如此前的 [公告](https://www.ruby-lang.org/zh_cn/news/2024/07/09/ruby-3-3-4-released/) 中所规划的,我们打算在 `.1` 版本发布后,每 2 个月发布一次最新的 Ruby 稳定版本(目前是 Ruby 3.3)。 + +我们预期在1月7日发布 Ruby 3.3.7。 如果有影响大量用户的变更,我们可能会提前发布新版本。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.3.6" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From ee08563990009ef079adbc9d6e97d74a6a92589f Mon Sep 17 00:00:00 2001 From: gaojun Date: Mon, 4 Nov 2024 16:53:23 +0800 Subject: [PATCH 2416/2563] Translate CVE-2024-49761 & Ruby 3.2.6 Released (zh_cn) --- .../2024-10-28-redos-rexml-cve-2024-49761.md | 31 ++++++++++++++ .../_posts/2024-10-30-ruby-3-2-6-released.md | 42 +++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 zh_cn/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md create mode 100644 zh_cn/news/_posts/2024-10-30-ruby-3-2-6-released.md diff --git a/zh_cn/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/zh_cn/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md new file mode 100644 index 0000000000..915fe538a1 --- /dev/null +++ b/zh_cn/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-49761: REXML 中的 ReDoS 漏洞" +author: "kou" +translator: "GAO Jun" +date: 2024-10-28 03:00:00 +0000 +tags: security +lang: zh_cn +--- + +在 REXML gem 中存在 ReDoS 漏洞。此漏洞的 CVE 编号为 [CVE-2024-49761](https://www.cve.org/CVERecord?id=CVE-2024-49761)。我们强烈建议您更新 REXML gem. + +此漏洞不影响 Ruby 3.2 及后续版本。Ruby 3.1 是唯一受影响的维护版本。请注意 Ruby 3.1 将在 2025-03 结束生命周期。 + +## 详情 + +触发场景:当解析 XML 时,如果在十六进制表达式 (`&#x...;`) 的 `&#` 和 `x` 中间存在大量数字时。 + +请更新 REXML gem 至 3.3.9 或更高版本。 + +## 受影响版本 + +* Ruby 3.1 且 REXML gem 是 3.3.8 或更低版本 + +## 致谢 + +感谢 [manun](https://hackerone.com/manun) 发现此问题。 + +## 历史 + +* 最初发布于 2024-10-28 03:00:00 (UTC) diff --git a/zh_cn/news/_posts/2024-10-30-ruby-3-2-6-released.md b/zh_cn/news/_posts/2024-10-30-ruby-3-2-6-released.md new file mode 100644 index 0000000000..ee7c65e675 --- /dev/null +++ b/zh_cn/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.6 已发布" +author: nagachika +translator: "GAO Jun" +date: 2024-10-30 10:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.2.6 已发布。 + +您可以通过 [GitHub 发布页](https://github.com/ruby/ruby/releases/tag/v3_2_6) 了解详情。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.2.6" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From cc3df742a6fe965e7025262b28ade21643eb087e Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Thu, 12 Dec 2024 23:09:00 +0900 Subject: [PATCH 2417/2563] Ruby 3.4.0 RC 1 Released (#3435) --- _data/downloads.yml | 2 +- _data/releases.yml | 29 +++ .../2024-12-12-ruby-3-4-0-rc1-released.md | 195 ++++++++++++++++++ 3 files changed, 225 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 1640381631..1d4cdf7edd 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,7 +4,7 @@ # optional preview: - - 3.4.0-preview2 + - 3.4.0-rc1 stable: diff --git a/_data/releases.yml b/_data/releases.yml index 6dc219c066..a6eb1d3601 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,35 @@ # 3.4 series +- version: 3.4.0-rc1 + date: 2024-12-12 + post: /en/news/2024/12/12/ruby-3-4-0-rc1-released/ + tag: v3_4_0_rc1 + stats: + files_changed: 4820 + insertions: 196907 + deletions: 253488 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-rc1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-rc1.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-rc1.tar.xz + size: + gz: 23055998 + zip: 28323595 + xz: 17116016 + sha1: + gz: 216e3085ab8b886b9f74943ee5b62bd2e3d86671 + zip: 4ae8ce4b15ccc3f0c6f42e408c44aa287a1ccc14 + xz: 1424671cdc9c4bfe3778ac159d917c8bfe6107bd + sha256: + gz: 1f3187d3366e90af6d760994f8bfe1fe8999a8ba3553ea4dcfae63e548236e2a + zip: 653162a2db627e8e5feee22a00b20acf215509d88b06ffb281bc8788ed12c74c + xz: 9c54225747f7a786727aa6213503083d5d8ff7097505d4b7456ff60880ee4a17 + sha512: + gz: 0b0420a39c0bf3b38600d4e28805a581c4b5a6cf2abe41be8c8164276a8044a19e676de74eea5dd5b4d7d667d821a6144119795fea510fd4ba6e34865a2ae172 + zip: c6c6b9a0e61308e3f3303cd148613feabb2ee12d8e2fefc1f4aa1403237310f7c9be5e2031248ea89ff01cdc0bca1a66ff60f9f1f19ed9c9fccef3d7a3bbebb8 + xz: 5b92a2b5829ab23735617945839e45df984b319b8932e790a8e0c6f681b9bd74249511a76345516cc216c002ed7887bdd27151501491d5ecedc20acd3fb57cc5 + - version: 3.4.0-preview2 date: 2024-10-07 post: /en/news/2024/10/07/ruby-3-4-0-preview2-released/ diff --git a/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md new file mode 100644 index 0000000000..cef20bbb07 --- /dev/null +++ b/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -0,0 +1,195 @@ +--- +layout: news_post +title: "Ruby 3.4.0 rc1 Released" +author: "naruse" +translator: +date: 2024-12-12 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-rc1" | first %} +We are pleased to announce the release of Ruby {{ release.version }}. +In + +## Prism + +Switch the default parser from parse.y to Prism. [[Feature #20564]] + +## Modular GC + +* Alternative garbage collector (GC) implementations can be loaded dynamically + through the modular garbage collector feature. To enable this feature, + configure Ruby with `--with-modular-gc` at build time. GC libraries can be + loaded at runtime using the environment variable `RUBY_GC_LIBRARY`. + [[Feature #20351]] + +* Ruby's built-in garbage collector has been split into a separate file at + `gc/default/default.c` and interacts with Ruby using an API defined in + `gc/gc_impl.h`. The built-in garbage collector can now also be built as a + library using `make modular-gc MODULAR_GC=default` and enabled using the + environment variable `RUBY_GC_LIBRARY=default`. [[Feature #20470]] + +* An experimental GC library is provided based on [MMTk](https://www.mmtk.io/). + This GC library can be built using `make modular-gc MODULAR_GC=mmtk` and + enabled using the environment variable `RUBY_GC_LIBRARY=mmtk`. This requires + the Rust toolchain on the build machine. [[Feature #20860]] + + +## Language changes + +* String literals in files without a `frozen_string_literal` comment now behave + as if they were frozen. If they are mutated a deprecation warning is emitted. + These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`. + To disable this change, you can run Ruby with the `--disable-frozen-string-literal` + command line argument. [[Feature #20205]] + +* `it` is added to reference a block parameter. [[Feature #18980]] + +* Keyword splatting `nil` when calling methods is now supported. + `**nil` is treated similarly to `**{}`, passing no keywords, + and not calling any conversion methods. [[Bug #20064]] + +* Block passing is no longer allowed in index. [[Bug #19918]] + +* Keyword arguments are no longer allowed in index. [[Bug #20218]] + +## YJIT + +TL;DR: +* Better performance on most benchmarks on both x86-64 and arm64 platforms. +* Reduced memory usage of compilation metadata +* Multiple bug fixes. YJIT is now even more robust and better tested. + +New features: +* Add unified memory limit via `--yjit-mem-size` command-line option (default 128MiB) + which tracks total YJIT memory usage and is more intuitive than the + old `--yjit-exec-mem-size`. +* More statistics now always available via `RubyVM::YJIT.runtime_stats` +* Add compilation log to track what gets compiled via `--yjit-log` + * Tail of the log also available at run-time via `RubyVM::YJIT.log` +* Add support for shareable consts in multi-ractor mode +* Can now trace counted exits with `--yjit-trace-exits=COUNTER` + +New optimizations: +* Compressed context reduces memory needed to store YJIT metadata +* Improved allocator with ability to allocate registers for local variables +* When YJIT is enabled, use more Core primitives written in Ruby: + * `Array#each`, `Array#select`, `Array#map` rewritten in Ruby for better performance [[Feature #20182]]. +* Ability to inline small/trivial methods such as: + * Empty methods + * Methods returning a constant + * Methods returning `self` + * Methods directly returning an argument +* Specialized codegen for many more runtime methods +* Optimize `String#getbyte`, `String#setbyte` and other string methods +* Optimize bitwise operations to speed up low-level bit/byte manipulation +* Various other incremental optimizations + +## Core classes updates + +Note: We're only listing outstanding class updates. + +* Exception + + * `Exception#set_backtrace` now accepts an array of `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` and `Fiber#raise` also accept this new format. [[Feature #13557]] + +* Range + + * `Range#size` now raises `TypeError` if the range is not iterable. [[Misc #18984]] + + + +## Compatibility issues + +Note: Excluding feature bug fixes. + +* Error messages and backtrace displays have been changed. + * Use a single quote instead of a backtick as a opening quote. [[Feature #16495]] + * Display a class name before a method name (only when the class has a permanent name). [[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location`'s methods, etc. are also changed accordingly. + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +## C API updates + +* `rb_newobj` and `rb_newobj_of` (and corresponding macros `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) have been removed. [[Feature #20265]] +* Removed deprecated function `rb_gc_force_recycle`. [[Feature #18290]] + +## Miscellaneous changes + +* Passing a block to a method which doesn't use the passed block will show + a warning on verbose mode (`-w`). + [[Feature #15554]] + +* Redefining some core methods that are specially optimized by the interpeter + and JIT like `String.freeze` or `Integer#+` now emits a performance class + warning (`-W:performance` or `Warning[:performance] = true`). + [[Feature #20429]] + +See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or +changelog for details of the default gems or bundled gems. + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +since Ruby 3.3.0! + + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 From d17ca1c3d05f6f1ad13a1532014f24335c90275f Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 12 Dec 2024 14:16:16 -0500 Subject: [PATCH 2418/2563] Remove stray "in" (#3436) --- en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md | 1 - 1 file changed, 1 deletion(-) diff --git a/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md index cef20bbb07..339f52d1a9 100644 --- a/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md +++ b/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -9,7 +9,6 @@ lang: en {% assign release = site.data.releases | where: "version", "3.4.0-rc1" | first %} We are pleased to announce the release of Ruby {{ release.version }}. -In ## Prism From bd6c300525af1e6d59f17f0e13d92a20bc8e46ab Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Fri, 13 Dec 2024 09:32:37 +0100 Subject: [PATCH 2419/2563] Clarify chilled stirng behavior in 3.4.0-rc1 release announcement Identical to the preview2 release: https://github.com/ruby/www.ruby-lang.org/pull/3380 --- en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md index 339f52d1a9..bbbce49821 100644 --- a/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md +++ b/en/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -36,8 +36,8 @@ Switch the default parser from parse.y to Prism. [[Feature #20564]] ## Language changes -* String literals in files without a `frozen_string_literal` comment now behave - as if they were frozen. If they are mutated a deprecation warning is emitted. +* String literals in files without a `frozen_string_literal` comment now emit a deprecation warning + when they are mutated. These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`. To disable this change, you can run Ruby with the `--disable-frozen-string-literal` command line argument. [[Feature #20205]] From 444a3f134116505d7511f60a64ee405e87a73a1e Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 14 Dec 2024 18:16:30 +0800 Subject: [PATCH 2420/2563] Translate Ruby 3.4.0 rc1 Released (zh_tw) --- .../2024-12-12-ruby-3-4-0-rc1-released.md | 176 ++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 zh_tw/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md diff --git a/zh_tw/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/zh_tw/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md new file mode 100644 index 0000000000..17583feb5a --- /dev/null +++ b/zh_tw/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -0,0 +1,176 @@ +--- +layout: news_post +title: "Ruby 3.4.0 rc1 發布" +author: "naruse" +translator: "Bear Su" +date: 2024-12-12 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-rc1" | first %} +我們很高興宣布 Ruby {{ release.version }} 發佈了。 + +## Prism + +預設的解析器從 parse.y 切換為 Prism。 [[Feature #20564]] + +## 模組化垃圾收集器 + +* 模組化垃圾收集器功能可以動態載入替代垃圾收集器實作。 + 要啟用該功能,在建置 Ruby 時設定 `--with-modular-gc`。 + 垃圾收集器函式庫可以在運行環境使用環境變數 `RUBY_GC_LIBRARY` 載入。 + [[Feature #20351]] + +* Ruby 內建的垃圾收集器已經切分成不同的檔案 `gc/default/default.c`,並使用在 `gc/gc_impl.h` 定義的 API 與 Ruby 互動。 + 內建的垃圾收集器現在也可以用 `make modular-gc MODULAR_GC=default` 建置為函式庫,並使用環境變數 `RUBY_GC_LIBRARY=default` 啟用。[[Feature #20470]] + +* 基於 [MMTk](https://www.mmtk.io/) 提供了一個實驗性的垃圾收集器函式庫。 + 該垃圾收集器函式庫可以使用 `make modular-gc MODULAR_GC=mmtk` 建置,並使用環境變數 `RUBY_GC_LIBRARY=mmtk` 啟用。 + 建置主機上需要有 Rust 工具鏈。[[Feature #20860]] + +## 語法變更 + +* 沒有 `frozen_string_literal` 註解的檔案中的字串文字,現在行為會跟被凍結一樣。如果它們被修改則會發出棄用警告。 + 這些警告可以透過 `-W:deprecated` 或 `Warning[:deprecated] = true` 啟用。 + 若要停用此變更,您可以在執行 Ruby 時加上參數 `--disable-frozen-string-literal`。 [[Feature #20205]] + +* 新增 `it` 來引用 block 的傳入參數。 [[Feature #18980]] + +* 現在呼叫方法支援使用 Keyword splatting `nil`。 + `**nil` 的處理方式與 `**{}` 類似,不會傳遞 keywords,也不會呼叫任何轉換方法。 [[Bug #20064]] + +* Block passing 不再允許作為索引。 [[Bug #19918]] + +* 不定長度參數不再允許作為索引。 [[Bug #20218]] + +## YJIT + +TL;DR: +* 在 x86-64 與 arn64 平台上的大多數基準測試都有更好的效能 +* 減少編輯後設資料的的記憶體用量 +* 修復多個錯誤。YJIT 現在更加勇健且有更好的測試。 + +新功能: +* 透過 `--yjit-mem-size` 指令選項新增統一記憶體限制 (預設 128MiB),該功能追蹤總 YJIT 記憶體用量,而且比舊的 `--yjit-exec-mem-size` 更為直觀 +* 現在總是可以透過 `RubyVM::YJIT.runtime_stats` 取得更多統計數據 +* 透過 `--yjit-log` 加入編譯紀錄來追蹤哪些被編譯 + * 可以在運行環境透過 `RubyVM::YJIT.log` 取得紀錄結尾 +* 在 multi-ractor 模式中支援分享常數 +* 現在可以使用 `--yjit-trace-exits=COUNTER` 來追蹤已計數的 exits + +新的改善: +* 透過壓縮上下文來減少儲存 YJIT 後設資料所需的記憶體空間 +* 改善後的分配器能為本地變數分配暫存器 +* 當啟用 YJIT 時,使用更多用 Ruby 邊寫的核心程式: + * 使用 Ruby 改寫`Array#each`、`Array#select`、`Array#map` 提高效能 [[Feature #20182]]. +* 能夠內聯小型/簡單的方法,例如: + * 空方法 + * 回傳常數的方法 + * 回傳 `self` 的方法 + * 直接回傳參數的方法 +* 適用於更多執行環境方法的程式碼產生器 +* 改善 `String#getbyte`、`String#setbyte` 和其他字串方法 +* 改善位元計算來加速低階位元/位元組操作 +* 各種其他的增量改善 + +## 核心類別更新 + +注意:我們只列出特別的類別更新。 + +* Exception + + * `Exception#set_backtrace` 現在可接受 `Thread::Backtrace::Location` 陣列。 + `Kernel#raise`、`Thread#raise` 和 `Fiber#raise` 也接受同樣的新格式。 [[Feature #13557]] + +* Range + + * `Range#size` 如果 range 無法迭代的話,現在會拋出 `TypeError`。 [[Misc #18984]] + + + +## 相容性問題 + +注意:不包含功能問題的修正。 + +* 錯誤訊息與 backtrace 的顯示改變。 + * 使用單引號 (`'`) 取代反引號 (`` ` ``) 作為起始引號。 [[Feature #16495]] + * 在方法名稱前顯示類別名稱 (僅當類別有固定名稱時)。 [[Feature #19117]] + * `Kernel#caller`、`Thread::Backtrace::Location` 的方法等等,也做了對應的改變。 + + ``` + 舊: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + 新: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +## 更新的 C API + +* `rb_newobj` 和 `rb_newobj_of` (和相對應的巨集 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) 已經被移除。 [[Feature #20265]] +* 移除已廢棄的函式 `rb_gc_force_recycle`。 [[Feature #18290]] + +## 其他變更 + +* 將 block 傳遞給不使用傳入 block 的方法,會在 verbose 模式 (`-w`) 下顯示警告。 + [[Feature #15554]] + +* 當重新定義一些由直譯器與 JIT 特別最佳化的核心方法,例如 `String.freeze` 和 `Integer#+`,現在會發出效能類型警告 (`-W:performance` or `Warning[:performance] = true`)。 + [[Feature #20429]] + +請參閱 GitHub 發布如 [Logger](https://github.com/ruby/logger/releases) 和變更紀錄來了解更多關於預設 gems 與 bundled gems 的資訊。 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +來了解更多。 + +自 Ruby 3.3.0 以來,計 [{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)。 + + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 From 206659e60e08904ebd688d94ffd3c781298e4aa6 Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 16 Dec 2024 07:36:31 +0900 Subject: [PATCH 2421/2563] Translate "Ruby 3.4.0 RC 1 Released" (ko) (#3438) * cp 2024-12-12-ruby-3-4-0-rc1-released.md * Translate "Ruby 3.4.0 RC 1 Released" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../2024-12-12-ruby-3-4-0-rc1-released.md | 193 ++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 ko/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md diff --git a/ko/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/ko/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md new file mode 100644 index 0000000000..5ccbf80507 --- /dev/null +++ b/ko/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -0,0 +1,193 @@ +--- +layout: news_post +title: "Ruby 3.4.0 rc1 릴리스" +author: "naruse" +translator: "shia" +date: 2024-12-12 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-rc1" | first %} +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. + +## Prism + +parse.y에서 Prism으로 기본 파서를 변경했습니다. [[Feature #20564]] + +## 모듈러 GC + +* 다른 가비지 컬렉터(GC) 구현을 모듈러 가비지 컬렉터 기능을 통해 동적으로 로드할 수 있습니다. + 이 기능을 활성화하려면 Ruby 빌드 시에 `--with-modular-gc`를 설정하세요. GC 라이브러리는 + 환경 변수 `RUBY_GC_LIBRARY`를 사용하여 런타임에 로드할 수 있습니다. + [[Feature #20351]] + +* Ruby의 내장 가비지 컬렉터는 `gc/default/default.c`에 분리되어 있으며, + `gc/gc_impl.h`에 정의된 API를 사용하여 Ruby와 상호 작용합니다. + 내장 가비지 컬렉터는 `make modular-gc MODULAR_GC=default`를 사용하여 + 라이브러리로서 빌드하고 환경 변수 `RUBY_GC_LIBRARY=default`를 + 사용하여 활성화할 수 있습니다. [[Feature #20470]] + +* [MMTk](https://www.mmtk.io/)를 기반으로 한 실험적인 GC 라이브러리가 제공됩니다. + 이 GC 라이브러리는 `make modular-gc MODULAR_GC=mmtk`를 사용하여 빌드하고 + 환경 변수 `RUBY_GC_LIBRARY=mmtk`를 사용하여 활성화할 수 있습니다. + 이는 빌드 머신에 Rust 툴체인이 필요합니다. [[Feature #20860]] + + +## 언어 변경 + +* 파일에 `frozen_string_literal` 주석이 없을 때, 문자열 리터럴이 변경되면 + 폐기 예정 경고를 출력합니다. + 이 경고는 `-W:deprecated`나 `Warning[:deprecated] = true` 설정을 통해 활성화할 수 있습니다. + 이 변경을 무효화하고 싶다면 Ruby를 실행할 때 `--disable-frozen-string-literal` 커맨드 라인 인수를 + 사용하세요. [[Feature #20205]] + +* 블록 인자를 가리키는 `it`이 추가됩니다. [[Feature #18980]] + +* 메서드 호출 시에 `nil`에 키워드 스플랫을 지원합니다. + `**nil`은 `**{}`와 비슷하게 동작하며, 키워드를 넘기지 않으며, + 어떤 변환 메서드도 호출하지 않습니다. [[Bug #20064]] + +* 블록을 인덱스로 사용할 수 없게 됩니다. [[Bug #19918]] + +* 키워드 인수를 인덱스로 사용할 수 없게 됩니다. [[Bug #20218]] + +## YJIT + +TL;DR: +* x86-64와 arm64 플랫폼에서 대부분의 벤치마크에서 성능이 향상되었습니다. +* YJIT 메타 데이터 컴파일의 메모리 사용량이 줄었습니다. +* 여러 버그가 수정되었습니다. YJIT는 이제 더 견고하고 잘 테스트되었습니다. + +새 기능: +* `--yjit-mem-size` 커맨드 라인 옵션(기본값 128 MiB)을 통해 + YJIT의 통합 메모리 제한을 추가했습니다. + 이는 이전 `--yjit-exec-mem-size`보다 직관적이며, YJIT의 전체 메모리 사용량을 추적합니다. +* 이제 `RubyVM::YJIT.runtime_stats`를 통해 항상 더 많은 통계가 사용 가능합니다. +* `--yjit-log`를 통해 무엇이 컴파일되었는지 추적하는 컴파일 로그를 추가했습니다. + * 런타임에서도 로그의 마지막 부분을 `RubyVM::YJIT.log`로 확인할 수 있습니다. +* 멀티 Ractor 모드에서 공유 가능한 상수를 지원합니다. +* `--yjit-track-exits=COUNTER`로 종료한 횟수를 추적할 수 있습니다. + +새 최적화: +* YJIT 메타 데이터를 저장하는 데 필요한 메모리를 줄이는 콘텍스트 압축. +* 로컬 변수를 위한 레지스터를 할당할 수 있는 개선된 할당기. +* YJIT을 사용할 때 Ruby로 작성된 더 많은 코어 프리미티브를 사용합니다. + * 성능을 높이기 위해 Ruby로 다시 작성된 `Array#each`, `Array#select`, `Array#map` [[Feature #20182]]. +* 작고 사소한 메서드를 인라인으로 변환하는 능력. + * 빈 메서드 + * 상수를 반환하는 메서드 + * `self`를 반환하는 메서드 + * 인수를 직접 반환하는 메서드 +* 더 많은 런타임 메서드에 대한 특별한 코드 생성 +* `String#getbyte`, `String#setbyte` 및 다른 문자열 메서드를 최적화 +* 저레벨 비트/바이트 조작을 빠르게 하기 위한 비트 연산 최적화 +* 다양한 다른 점진적 최적화 + +## 코어 클래스 변경 + +주의: 눈에 띄는 클래스 변경만을 포함합니다. + +* Exception + + * `Exception#set_backtrace`는 이제 `Thread::Backtrace::Location`의 배열을 입력으로 받을 수 있습니다. + `Kernel#raise`, `Thread#raise`와 `Fiber#raise`도 같은 형식의 입력을 받습니다. [[Feature #13557]] + +* Range + + * `Range#size`는 이제 범위가 순회 가능하지 않다면 `TypeError`를 던집니다. [[Misc #18984]] + + + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +* 에러 메시지와 백트레이스의 출력 결과가 변경됩니다. + * 여는 따옴표로 백틱 대신 작은따옴표를 사용합니다. [[Feature #16495]] + * 메서드 이름 앞에 클래스 이름을 출력합니다(클래스가 불변하는 이름을 가지고 있는 경우만). [[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location`의 메서드 등도 마찬가지로 변경됩니다. + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +## C API 변경 + +* `rb_newobj`와 `rb_newobj_of`(그리고 대응하는 매크로인 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`)가 삭제됩니다. [[Feature #20265]] +* 폐기 예정인 `rb_gc_force_recycle` 함수가 삭제됩니다. [[Feature #18290]] + +## 그 이외의 변경 + +* 상세 모드(`-w`)에서 메서드에 넘긴 블록이 사용되지 않았을 때 + 경고를 출력합니다. + [[Feature #15554]] + +* `String.freeze`나 `Integer#+`처럼 인터프리터와 JIT이 특별히 최적화하는 + 몇몇 코어 메서드를 재정의하면 성능 클래스 + 경고(`-W:performance`나 `Warning[:performance] = true`)를 출력합니다. + [[Feature #20429]] + +기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은 +GitHub 릴리스 또는 변경 로그에서 확인하세요. + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.3.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 From 7a73905d0dafe011303f9d248ce4cbf0249dd128 Mon Sep 17 00:00:00 2001 From: Andrias Meisyal Date: Wed, 1 May 2024 16:38:25 +0700 Subject: [PATCH 2422/2563] Translate Ruby 3.3.0-preview3 released news post (id) --- ...2023-11-12-ruby-3-3-0-preview3-released.md | 308 ++++++++++++++++++ 1 file changed, 308 insertions(+) create mode 100644 id/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md diff --git a/id/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md b/id/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md new file mode 100644 index 0000000000..6c69e4cd83 --- /dev/null +++ b/id/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md @@ -0,0 +1,308 @@ +--- +layout: news_post +title: "Ruby 3.3.0-preview3 Dirilis" +author: "naruse" +translator: "meisyal" +date: 2023-11-12 00:00:00 +0000 +lang: id +--- + +{% assign release = site.data.releases | where: "version", "3.3.0-preview3" | first %} +Kami dengan senang hati mengumumkan rilis dari Ruby {{ release.version }}. +Ruby 3.3 menambahkan sebuah *parser* baru yang bernama Prism, menggunakan Lrama +sebagai *parser generator*, menambahkan *pure-Ruby* JIT *compiler* baru +yang bernama RJIT, dan memperbaiki performa khususnya YJIT. + +## Prism + +* Memperkenalkan [the Prism parser](https://github.com/ruby/prism) sebagai *default gem* + * Prism adalah sebuah *parser* yang *portable*, *error tolerant*, dan *maintainable recursive descent* untuk Ruby +* Prism siap digunakan di *production* dan aktif dirawat, Anda dapat menggunakannya sebagai pengganti Ripper + * Ada [extensive documentation](https://ruby.github.io/prism/) untuk menggunakan Prism + * Prism adalah sebuah pustaka bahasa C yang digunakan secara internal oleh CRuby dan sebuah Ruby *gem* yang digunakan untuk mem-*parse* kode Ruby + * Beberapa *method* penting pada Prism API: + * `Prism.parse(source)` yang mengembalikan AST sebagai bagian dari ParseResult + * `Prism.dump(source)` yang mengembalikan *serialized* AST sebagai sebuah String + * `Prism.parse_comments(source)` yang mengembalikan komentar pada kode +* Anda dapat membuat *pull request* atau melaporkan isu secara langsung pada [the Prism repository](https://github.com/ruby/prism) jika Anda tertarik untuk berkontribusi + +## Menggunakan Lrama ketimbang Bison + +* Mengganti Bison dengan [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637) + * Jika Anda tertarik, silakan lihat [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html) + * Internal *parser* dari Lrama digantikan dengan LR yang dihasilkan oleh Racc untuk *maintainability* + * *Parameterizing Rule* `(?, *, +)` didukung, ini akan digunakan di Ruby parse.y + +## RJIT + +* Memperkenalkan sebuah *pure-Ruby* JIT *compiler* dan menggantikan MJIT. + * RJIT hanya mendukung arsitektur x86-64 pada *platform Unix*. + * Berbeda dengan MJIT, RJIT tidak memerlukan sebuah *compiler* C saat *runtime*. +* RJIT ada hanya untuk tujuan eksperimen. + * Anda seharusnya tetap menggunakan YJIT pada *production*. +* Jika Anda tertarik untuk mengembangkan JIT pada Ruby, silakan cek [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3). + +## YJIT + +* Peningkatan performa yang signifikan dibanding Ruby 3.2 + * Dukungan *splat* dan *rest argument* telah ditingkatkan. + * *Register* dialokasikan untuk operasi *stack* dari *virtual machine*. + * Pemanggilan dengan *optional argument* dikompilasi. + * *Exception handler* juga dikompilasi. + * *Instant variable* tidak lagi keluar ke *intepreter* dengan *Object Shapes* + yang sangat besar. + * *Call type* yang tidak didukung tidak lagi keluar ke *interpreter*. + * `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`, + `Kernel#instance_of?`, `Module#===` dioptimisasi. + * Sekarang 3x lebih cepat dibanding *interpreter* pada optcarrot! +* Peningkatan penggunakan *memory* secara signifikan + * *Metadata* dari kode yang dikompilasi menggunakan *memory* lebih sedikit. + * Peningkatan *code generation* pada ARM64 +* Kecepatan kompilasi sedikit lebih cepat dibanding Ruby 3.2 +* Menambahkan `RubyVM::YJIT.enable` untuk mengaktifkan YJIT saat *run-time* + * Anda dapat menjalankan YJIT tanpa memodifikasi argumen *command-line* atau *environment variable* + * Ini dapat digunakan untuk mengaktifkan YJIT saat aplikasi Anda selesai *booting*. + `--yjit-disable` dapat digunakan jika Anda tidak ingin mengaktifkan YJIT + ketika aplikasi *booting*. +* Opsi untuk menonaktifkan kode GC dan memperlakukan `--yjit-exec-mem-size` sebagai sebuah batas keras + * Dapat menghasilkan perilaku *copy-on-write* lebih baik pada *server* yang menggunakan unicorn dan *forking* +* `ratio_in_yjit` yang dihasilkan oleh `--yjit-stats` sekarang tersedia pada + rilis *build*, data khusus atau dev *build* tidak lagi diperlukan. +* Opsi *exit tracing* sekarang mendukung *sampling* + * `--trace-exits-sample-rate=N` +* `--yjit-perf` ditambahkan untuk memfasilitasi *profiling* dengan Linux perf. +* Pengujian lebih saksama dan perbaikan beberapa *bug* + +### M:N thread scheduler + +* M:N *thread scheduler* diperkenalkan. [[Feature #19842]](https://bugs.ruby-lang.org/issues/19842) + * M Ruby *thread* diatur oleh N *native thread* (OS *thread*) sehingga pembuatan *thread* dan + manajemen berkurang. + * Ini dapat merusak kompatibilitas dengan C-*extension* sehingga M:N *thread* dinonaktifkan + pada *main* dari Ractor secara *default*. + * *Environment variable* `RUBY_MN_THREADS=1` mengaktifkan M:N *thread* pada *main* dari Ractor. + * M:N *thread* diaktifkan pada selain *main* dari Ractor. + * *Environment variable* `RUBY_MAX_CPU=n` menetapkan jumlah maksimum dari `N` (jumlah maksimum dari *native thread*). Nilai *default* adalah 8. + * Karena hanya ada satu Ruby *thread* untuk setiap Ractor yang dapat berjalan bersamaan, + jumlah *native thread* yang digunakan, yang mana lebih kecil dari jumlah yang dispesifikasikan pada + `RUBY_MAX_CPU` dan jumlah dari Ractor yang sedang berjalan. Sehingga, aplikasi Ractor tunggal (mayoritas aplikasi) + akan menggunakan satu *native thread*. + * Untuk mendukung operasi *blocking*, lebih dari `N` *native thread* dapat digunakan. + +## Fitur Penting Lainnya + + + +### Bahasa + + + +## Perbaikan performa + +* `defined?(@ivar)` dioptimisasi dengan *Object Shapes*. +* *Name resolution* seperti `Socket.getaddrinfo` sekarang dapat diinterupsi (pada *environment* di mana pthread tersedia). [Feature #19965](https://bugs.ruby-lang.org/issues/19965) + * Untuk tujuan ini, sebuah pthread sekarang dibuat setiap kali ada pemanggilan getaddrinfo atau getnameinfo. + Ini menimbulkan *overhead* pada *name resolution* (sekitar 2.5x pada eksperimen kami). + Kami tidak mengharapkan *overhead* menjadi sebuah masalah pada kebanyakan aplikasi, namun jika Anda menemui atau + melihat hasil yang tidak diharapkan karena perubahan tersebut, mohon laporkan. +* *Environment variable* `RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO` telah ditambahkan. [Feature #19571](https://bugs.ruby-lang.org/issues/19571) +* *Children* dari *object* lama tidak lagi dipromosikan ke generasi lama pada *garbage collector*. [Feature #19678](https://bugs.ruby-lang.org/issues/19678) +* Dukungan untuk *weak reference* telah ditambahkan pada *garbage collector*. [Feature #19783](https://bugs.ruby-lang.org/issues/19783) + +## Perubahan penting lainnya sejak 3.2 + +### IRB + +IRB mendapatkan beberapa peningkatan berikut, namun tidak terbatas pada: + +- Integrasi `irb:rdbg` yang menyediakan pengalaman *deugging* setara dengan `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)). +- Dukungan *pager* untuk perintah, seperti `ls`, `show_source`, dan `show_cmds`. +- Menyediakan informasi yang lebih akurat dan membantu dengan perintah `ls` dan `show_source`. +- Eksperimen *autocompletion* menggunakan *type analysis* ([doc](https://github.com/ruby/irb#type-based-completion)). +- Sekarang memungkinkan untuk mengubah warna dan gaya *font* pada *completion dialog* dengan mengenalkan *class* Reline::Face ([doc](https://github.com/ruby/ruby/blob/master/doc/reline/face.md)) + +Sebagai tambahan, IRB telah menjalani *refactoring* yang ekstensif dan menerima +perbaikan *bug* untuk memfasilitasi peningkatan ke depan dengan lebih mudah. + +## Isu kompatibilitas + +Catatan: Tidak termasuk perbaikan *bug* dari fitur. + +### Constant terhapus + +Berikut ini adalah *constant* yang telah dihapus. + + + +### Method terhapus + +Berikut ini adalah *method* yang telah dihapus. + +### Environment variable terhapus + +Berikut adalah *environment variable* yang telah dihapus. + +* *Environment variable* `RUBY_GC_HEAP_INIT_SLOTS` tidak digunakan lagi. Mohon gunakan `RUBY_GC_HEAP_{0,1,2,3,4}_INIT_SLOTS`. [Feature #19785](https://bugs.ruby-lang.org/issues/19785) + +## Isu kompatibilitas Stdlib + +### `ext/readline` dipensiunkan + +* Kami memiliki `reline` yang merupakan implementasi Ruby murni dan kompatibel + dengan `ext/readline` API. Kami bergantung pada `reline` di masa depan. Jika + Anda perlu untuk menggunakan `ext/readline`, Anda dapat memasang `ext/readline` + melalui rubygems.org dengan `gem install readline-ext`. +* Kami tidak lagi memasang pustaka, seperti `libreadline` atau `libedit`. + +## Pembaruan C API + +### C API diperbarui + +Berikut adalah API yang telah diperbarui. + + + +### C API terhapus + +Berikut adalah API yang telah dihapus. + + + +## Pembaruan pustaka standar + +RubyGems dan Bundler memperingatkan jika pengguna membutuhkan *gem* yang dijadwalkan +akan menjadi *bundled gem* pada Ruby versi berikutnya. + +Pustaka yang ditargetkan: + * abbrev + * base64 + * bigdecimal + * csv + * drb + * getoptlong + * mutex_m + * nkf + * observer + * racc + * resolv-replace + * rinda + * syslog + +Berikut adalah *default gem* yang telah ditambahkan. + +* prism 0.15.1 + +Berikut adalah *default gem* yang telah diperbarui. + +* RubyGems 3.5.0.dev +* base64 0.2.0 +* benchmark 0.3.0 +* bigdecimal 3.1.5 +* bundler 2.5.0.dev +* cgi 0.4.0 +* csv 3.2.8 +* date 3.3.4 +* delegate 0.3.1 +* drb 2.2.0 +* english 0.8.0 +* erb 4.0.3 +* etc 1.4.3.dev.1 +* fcntl 1.1.0 +* fiddle 1.1.2 +* fileutils 1.7.2 +* find 0.2.0 +* getoptlong 0.2.1 +* io-console 0.6.1.dev +* irb 1.8.3 +* logger 1.6.0 +* mutex_m 0.2.0 +* net-http 0.4.0 +* net-protocol 0.2.2 +* nkf 0.1.3 +* observer 0.1.2 +* open-uri 0.4.0 +* open3 0.2.0 +* openssl 3.2.0 +* optparse 0.4.0 +* ostruct 0.6.0 +* pathname 0.3.0 +* pp 0.5.0 +* prettyprint 0.2.0 +* pstore 0.1.3 +* psych 5.1.1.1 +* rdoc 6.6.0 +* reline 0.3.9 +* rinda 0.2.0 +* securerandom 0.3.0 +* shellwords 0.2.0 +* singleton 0.2.0 +* stringio 3.0.9 +* strscan 3.0.7 +* syntax_suggest 1.1.0 +* tempfile 0.2.0 +* time 0.3.0 +* timeout 0.4.1 +* tmpdir 0.2.0 +* tsort 0.2.0 +* un 0.3.0 +* uri 0.13.0 +* weakref 0.1.3 +* win32ole 1.8.10 +* yaml 0.3.0 +* zlib 3.1.0 + +Berikut adalah *bundled gem* yang dipromosikan dari *default gem*. + +* racc 1.7.3 + +Berikut adalah *bundled gem* yang telah diperbarui. + +* minitest 5.20.0 +* rake 13.1.0 +* test-unit 3.6.1 +* rexml 3.2.6 +* rss 0.3.0 +* net-imap 0.4.4 +* net-smtp 0.4.0 +* rbs 3.2.2 +* typeprof 0.21.8 +* debug 1.8.0 + +Lihat rilis GitHub, seperti [Logger](https://github.com/ruby/logger/releases) +atau *changelog* untuk detail dari *default gem* atau *bundled gem*. + +Lihat [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +atau [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}) +untuk lebih detail. + +Dengan perubahan tersebut, [{{ release.stats.files_changed }} berkas berubah, {{ release.stats.insertions }} sisipan(+), {{ release.stats.deletions }} terhapus(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket) +sejak Ruby 3.2.0! + +## Unduh + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Apa itu Ruby + +Ruby pertama kali dikembangkan oleh Matz (Yukihiro Matsumoto) pada 1993 +dan sekarang dikembangkan sebagai *Open Source*. Ruby berjalan pada berbagai +*platform* dan digunakan di seluruh dunia, khususnya pengembangan *web*. From 10e9f1fa181f5556ffa23cbc1d4ca001369145af Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Mon, 16 Dec 2024 23:44:52 +0800 Subject: [PATCH 2423/2563] Translate Ruby 3.4.0 rc-1 released(zh_cn) (#3440) --- .../2024-12-12-ruby-3-4-0-rc1-released.md | 173 ++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 zh_cn/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md diff --git a/zh_cn/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/zh_cn/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md new file mode 100644 index 0000000000..394e9be043 --- /dev/null +++ b/zh_cn/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -0,0 +1,173 @@ +--- +layout: news_post +title: "Ruby 3.4.0 rc1 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2024-12-12 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-rc1" | first %} +我们很高兴地宣布 Ruby {{ release.version }} 发布。 + +## Prism + +默认解析器由 parse.y 切换到 Prism。 [[Feature #20564]] + +## 模块化垃圾收集器 + +* 通过模块化垃圾收集功能,可以动态加载具体的垃圾收集器(GC)实现。 + 若要启用此功能,可以在构建 Ruby 时,使用 `--with-modular-gc` 参数。 + 运行时可以通过环境变量 `RUBY_GC_LIBRARY` 加载 GC 库。 + [[Feature #20351]] + +* Ruby 内置的垃圾收集器已被拆分到单独的文件 `gc/default/default.c` 并通过 `gc/gc_impl.h` 中定义的 API 与 Ruby 进行交互。 + 现在,内置的垃圾收集器也可以作为库进行构建:通过 `make modular-gc MODULAR_GC=default` 进行构建, + 并通过环境变量 `RUBY_GC_LIBRARY=default` 启用。 [[Feature #20470]] + +* 提供了一个基于 [MMTk](https://www.mmtk.io/) 的实验性 GC 库。此库可以通过 `make modular-gc MODULAR_GC=mmtk` 进行构建, + 并通过环境变量 `RUBY_GC_LIBRARY=mmtk` 启用。构建的计算机需要 Rust 工具链。 [[Feature #20860]] + + +## 语言变化 + +* 在没有 `frozen_string_literal` 注释的文件中,当字符串字面量被修改时会发出警告。 + 这些警告可以使用 `-W:deprecated` 或者通过设置 `Warning[:deprecated] = true` 来启用。 + 如要禁用此变化,您可以在运行 Ruby 时,使用 `--disable-frozen-string-literal` 命令行参数。 [[Feature #20205]] + +* 增加了 `it` 来引用块参数。 [[Feature #18980]] + +* 支持在调用方法时使用 `nil` 作为关键字展开参数。 + `**nil` 类似于 `**{}`,不传递关键字参数,也不调用任何转换方法。 [[Bug #20064]] + +* 索引不再接受块传递。 [[Bug #19918]] + +* 索引不再接受关键字参数。 [[Bug #20218]] + +## YJIT + +摘要: +* 在 x86-64 和 arm64 平台上的大多数基准测试中,都获得了更好的性能表现 +* 减少了编译元数据的内存使用 +* 修复了多个错误。YJIT 现在更健壮了,并被更好地测试 + +新功能: +* 新增命令行选项 `--yjit-mem-size` (默认值为 128 MiB),用于设置统一的内存选项,并跟踪 YJIT 总的内存使用情况, + 这比旧的 `--yjit-exec-mem-size` 更直观 +* 通过 `RubyVM::YJIT.runtime_stats` 可以获取更多的统计信息 +* 通过 `--yjit-log` 可以跟踪编译日志 + * 通过 `RubyVM::YJIT.log` 可以在运行时获取日志尾部信息 +* 在多 reactor 模式下,支持共享常量 +* 通过 `--yjit-trace-exits=COUNTER` 可以跟踪退出计数 + +新优化: +* 通过压缩上下文减少了存储 YJIT 元数据所需的内存 +* 改进分配器功能,允许为局部变量分配寄存器 +* 当 YJIT 启用时,使用更多 Ruby 编写的核心原型类型: + * 使用 Ruby 重写 `Array#each`, `Array#select`, `Array#map` 以提升性能 [[Feature #20182]]. +* 能够内联小型方法,诸如: + * 空方法 + * 返回常量的方法 + * 返回 `self` 的方法 + * 直接返回某个参数的方法 +* 为更多运行时方法生成专用代码 +* 优化 `String#getbyte`, `String#setbyte` 等字符串方法 +* 优化位运算,加速低级 位/字节 操作 +* 各种其他增量优化 + +## 核心类更新 + +注意:我们只列出了重要的类更新。 + +* Exception + + * Exception#set_backtrace 现在接受 `Thread::Backtrace::Location` 数组。 + `Kernel#raise`,`Thread#raise` 和 `Fiber#raise` 也接受这个新格式。 [[Feature #13557]] + +* Range + + * 当 range 不可枚举时,Range#size 将抛出 TypeError。 [[Misc #18984]] + + +## 兼容性问题 + +注意:不包括问题补丁。 + +* 修改了错误信息和错误栈的显示。 + * 使用单引号(`'`)代替反勾号(`` ` ``)作为错误消息的起始引号。 [[Feature #16495]] + * 在方法名前显示类名(仅当类具有永久名称时)。 [[Feature #19117]] + * `Kernel#caller`,`Thread::Backtrace::Location` 等的方法也进行了相应更改。 + + ``` + 此前: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + 现在: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + +## C API 更新 + +* 移除 `rb_newobj` 和 `rb_newobj_of` (以及相关的宏 `RB_NEWOBJ`,`RB_NEWOBJ_OF`,`NEWOBJ`,`NEWOBJ_OF`)。 [[Feature #20265]] +* 移除废除的函数 `rb_gc_force_recycle`。 [[Feature #18290]] + +## 其他变化 + +* 如果传递了一个块给不使用块的方法时,在详细模式(`-w`)中将显示警告。 [[Feature #15554]] + +* Ruby 对一些核心方法通过解释器和 JIT 进行了优化,诸如 `String.freeze`,`Integer#+`。 + 当这些方法被重定义时,解释器将发出性能警告(`-W:performance` 或 `Warning[:performance] = true`)。 [[Feature #20429]] + +有关默认 gems 和 绑定 gems 的细节,可以参考 GitHub 上的发布,例如 [logger gem](https://github.com/ruby/logger/releases) 或相应的变更日志。 +或 [提交日志](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})。 + +自 Ruby 3.3.0 以来,这些变化共导致 [{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+),删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)! + + +## 下载 + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什么 + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发,现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是 Web 开发领域。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 From 7fb2fd2fd2a4b91f1c45742c4cf9291907118a73 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Wed, 25 Dec 2024 15:35:01 +0900 Subject: [PATCH 2424/2563] Ruby 3.4.0 Released (#3442) --- _data/branches.yml | 4 +- _data/downloads.yml | 2 +- _data/releases.yml | 29 ++ .../_posts/2024-12-25-ruby-3-4-0-released.md | 345 ++++++++++++++++++ .../_posts/2024-12-25-ruby-3-4-0-released.md | 314 ++++++++++++++++ 5 files changed, 691 insertions(+), 3 deletions(-) create mode 100644 en/news/_posts/2024-12-25-ruby-3-4-0-released.md create mode 100644 ja/news/_posts/2024-12-25-ruby-3-4-0-released.md diff --git a/_data/branches.yml b/_data/branches.yml index 98aea5868d..864193a135 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -9,8 +9,8 @@ # eol_date: date of EOL (YYYY-MM-DD) - name: 3.4 - status: preview - date: + status: normal maintenance + date: 2024-12-25 eol_date: - name: 3.3 diff --git a/_data/downloads.yml b/_data/downloads.yml index 1d4cdf7edd..509c63fdf1 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,10 +4,10 @@ # optional preview: - - 3.4.0-rc1 stable: + - 3.4.0 - 3.3.6 - 3.2.6 diff --git a/_data/releases.yml b/_data/releases.yml index a6eb1d3601..cfa94406fb 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,35 @@ # 3.4 series +- version: 3.4.0 + date: 2024-12-25 + post: /en/news/2024/12/25/ruby-3-4-0-released/ + tag: v3_4_0 + stats: + files_changed: 4942 + insertions: 202244 + deletions: 255528 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0.tar.xz + size: + gz: 23153022 + zip: 28310193 + xz: 17215572 + sha1: + gz: 8ccb561848a7c460ae08e1a120a47c4a88a79335 + zip: 26254ca5d3decc28a4e5faec255995265e5270b5 + xz: eb25447cc404e8d2e177c62550d0224ebd410e68 + sha256: + gz: 068c8523442174bd3400e786f4a6952352c82b1b9f6210fd17fb4823086d3379 + zip: c120228038af04554f6363e716b0a32cbf53cf63c6adf9f2c22a24f43dc8b555 + xz: 0081930db22121eb997207f56c0e22720d4f5d21264b5907693f516c32f233ca + sha512: + gz: bc70ecba27d1cdea00879f03487cad137a7d9ab2ad376cfb7a65780ad14da637fa3944eeeede2c04ab31eeafb970c64ccfeeb854c99c1093937ecc1165731562 + zip: 4d535ed10db76a6aa74f8a025df319deb28483a7a781c24045906ee7663f1cff9d9f9e71dbc993c9e050113a34b37c7fa2143c355a0a6e1e1029bf2c92213ecc + xz: 776a2cf3e9ccc77c27500240f168aa3e996b0c7c1ee1ef5a7afc291a06c118444016fde38b5b139c0b800496b8eb1b5456562d833f0edc0658917164763b1af7 + - version: 3.4.0-rc1 date: 2024-12-12 post: /en/news/2024/12/12/ruby-3-4-0-rc1-released/ diff --git a/en/news/_posts/2024-12-25-ruby-3-4-0-released.md b/en/news/_posts/2024-12-25-ruby-3-4-0-released.md new file mode 100644 index 0000000000..a92cf18257 --- /dev/null +++ b/en/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -0,0 +1,345 @@ +--- +layout: news_post +title: "Ruby 3.4.0 Released" +author: "naruse" +translator: +date: 2024-12-25 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.4.0" | first %} +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.4 adds `it` block parameter reference, +change Prism as default parser, adds Happy Eyeballs Version 2 support to socket library, improves YJIT, +adds Modular GC, and so on. + +## `it` is introduced + +`it` is added to reference a block parameter with no variable name. [[Feature #18980]] + +```ruby +ary = ["foo", "bar", "baz"] + +p ary.map { it.upcase } #=> ["FOO", "BAR", "BAZ"] +``` + +`it` very much behaves the same as `_1`. When the intention is to only use `_1` in a block, the potential for other numbered parameters such as `_2` to also appear imposes an extra cognitive load onto readers. So `it` was introduced as a handy alias. Use `it` in simple cases where `it` speaks for itself, such as in one-line blocks. + +## Prism is now the default parser + +Switch the default parser from parse.y to Prism. [[Feature #20564]] + +This is an internal improvement and there should be little change visible to the user. If you notice any compatibility issues, please report them to us. + +To use the conventional parser, use the command-line argument `--parser=parse.y`. + +## The socket library now features Happy Eyeballs Version 2 (RFC 8305) + +The socket library now features [Happy Eyeballs Version 2 (RFC 8305)](https://datatracker.ietf.org/doc/html/rfc8305), the latest standardized version of a widely adopted approach for better connectivity in many programming languages, in `TCPSocket.new` (`TCPSocket.open`) and `Socket.tcp`. +This improvement enables Ruby to provide efficient and reliable network connections, adapted to modern internet environments. + +Until Ruby 3.3, these methods performed name resolution and connection attempts serially. With this algorithm, they now operate as follows: + +1. Performs IPv6 and IPv4 name resolution concurrently +2. Attempt connections to the resolved IP addresses, prioritizing IPv6, with parallel attempts staggered at 250ms intervals +3. Return the first successful connection while canceling any others + +This ensures minimized connection delays, even if a specific protocol or IP address is delayed or unavailable. +This feature is enabled by default, so additional configuration is not required to use it. To disable it globally, set the environment variable `RUBY_TCP_NO_FAST_FALLBACK=1` or call `Socket.tcp_fast_fallback=false`. Or to disable it on a per-method basis, use the keyword argument `fast_fallback: false`. + +## YJIT + +### TL;DR + +* Better performance across most benchmarks on both x86-64 and arm64 platforms. +* Reduced memory usage through compressed metadata and a unified memory limit. +* Various bug fixes: YJIT is now more robust and thoroughly tested. + +### New features + +* Command-line options + * `--yjit-mem-size` introduces a unified memory limit (default 128MiB) to track total YJIT memory usage, + providing a more intuitive alternative to the old `--yjit-exec-mem-size` option. + * `--yjit-log` enables a compilation log to track what gets compiled. +* Ruby API + * `RubyVM::YJIT.log` provides access to the tail of the compilation log at run-time. +* YJIT stats + * `RubyVM::YJIT.runtime_stats` now always provides additional statistics on + invalidation, inlining, and metadata encoding. + +### New optimizations + +* Compressed context reduces memory needed to store YJIT metadata +* Allocate registers for local variables and Ruby method arguments +* When YJIT is enabled, use more Core primitives written in Ruby: + * `Array#each`, `Array#select`, `Array#map` rewritten in Ruby for better performance [[Feature #20182]]. +* Ability to inline small/trivial methods such as: + * Empty methods + * Methods returning a constant + * Methods returning `self` + * Methods directly returning an argument +* Specialized codegen for many more runtime methods +* Optimize `String#getbyte`, `String#setbyte` and other string methods +* Optimize bitwise operations to speed up low-level bit/byte manipulation +* Support shareable constants in multi-ractor mode +* Various other incremental optimizations + +## Modular GC + +* Alternative garbage collector (GC) implementations can be loaded dynamically + through the modular garbage collector feature. To enable this feature, + configure Ruby with `--with-modular-gc` at build time. GC libraries can be + loaded at runtime using the environment variable `RUBY_GC_LIBRARY`. + [[Feature #20351]] + +* Ruby's built-in garbage collector has been split into a separate file at + `gc/default/default.c` and interacts with Ruby using an API defined in + `gc/gc_impl.h`. The built-in garbage collector can now also be built as a + library using `make modular-gc MODULAR_GC=default` and enabled using the + environment variable `RUBY_GC_LIBRARY=default`. [[Feature #20470]] + +* An experimental GC library is provided based on [MMTk](https://www.mmtk.io/). + This GC library can be built using `make modular-gc MODULAR_GC=mmtk` and + enabled using the environment variable `RUBY_GC_LIBRARY=mmtk`. This requires + the Rust toolchain on the build machine. [[Feature #20860]] + +## Language changes + +* String literals in files without a `frozen_string_literal` comment now emit a deprecation warning + when they are mutated. + These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`. + To disable this change, you can run Ruby with the `--disable-frozen-string-literal` + command line argument. [[Feature #20205]] + +* Keyword splatting `nil` when calling methods is now supported. + `**nil` is treated similarly to `**{}`, passing no keywords, + and not calling any conversion methods. [[Bug #20064]] + +* Block passing is no longer allowed in index. [[Bug #19918]] + +* Keyword arguments are no longer allowed in index. [[Bug #20218]] + +* The toplevel name `::Ruby` is reserved now, and the definition will be warned when `Warning[:deprecated]`. [[Feature #20884]] + +## Core classes updates + +Note: We're only listing notable updates of Core class. + +* Exception + + * `Exception#set_backtrace` now accepts an array of `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` and `Fiber#raise` also accept this new format. [[Feature #13557]] + +* GC + + * `GC.config` added to allow setting configuration variables on the Garbage + Collector. [[Feature #20443]] + + * GC configuration parameter `rgengc_allow_full_mark` introduced. When `false` + GC will only mark young objects. Default is `true`. [[Feature #20443]] + +* Ractor + + * `require` in Ractor is allowed. The requiring process will be run on + the main Ractor. + `Ractor._require(feature)` is added to run requiring process on the + main Ractor. + [[Feature #20627]] + + * `Ractor.main?` is added. [[Feature #20627]] + + * `Ractor.[]` and `Ractor.[]=` are added to access the ractor local storage + of the current Ractor. [[Feature #20715]] + + * `Ractor.store_if_absent(key){ init }` is added to initialize ractor local + variables in thread-safty. [[Feature #20875]] + +* Range + + * `Range#size` now raises `TypeError` if the range is not iterable. [[Misc #18984]] + + +## Standard Library updates + +Note: We're only listing notable updates of Standard librarires. + +* RubyGems + * Add `--attestation` option to gem push. It enabled to store signature to [sigstore.dev] + +* Bundler + * Add a `lockfile_checksums` configuration to include checksums in fresh lockfiles + * Add bundle lock `--add-checksums` to add checksums to an existing lockfile + +* JSON + + * Performance improvements of `JSON.parse` about 1.5 times faster than json-2.7.x. + +* Tempfile + + * The keyword argument `anonymous: true` is implemented for Tempfile.create. + `Tempfile.create(anonymous: true)` removes the created temporary file immediately. + So applications don't need to remove the file. + [[Feature #20497]] + +* win32/sspi.rb + + * This library is now extracted from the Ruby repository to [ruby/net-http-sspi]. + [[Feature #20775]] + +## Compatibility issues + +Note: Excluding feature bug fixes. + +* Error messages and backtrace displays have been changed. + * Use a single quote instead of a backtick as a opening quote. [[Feature #16495]] + * Display a class name before a method name (only when the class has a permanent name). [[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location`'s methods, etc. are also changed accordingly. + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* Hash#inspect rendering have been changed. [[Bug #20433]] + + * Symbol keys are displayed using the modern symbol key syntax: `"{user: 1}"` + * Other keys now have spaces around `=>`: `'{"user" => 1}'`, while previously they didn't: `'{"user"=>1}'` + +* Kernel#Float() now accepts a decimal string with decimal part omitted. [[Feature #20705]] + + ```rb + Float("1.") #=> 1.0 (previously, an ArgumentError was raised) + Float("1.E-1") #=> 0.1 (previously, an ArgumentError was raised) + ``` + +* String#to_f now accepts a decimal string with decimal part omitted. Note that the result changes when an exponent is specified. [[Feature #20705]] + + ```rb + "1.".to_f #=> 1.0 + "1.E-1".to_f #=> 0.1 (previously, 1.0 was returned) + ``` + +* Refinement#refined_class has been removed. [[Feature #19714]] + +## Standard library compatibility issues + +* DidYouMean + + * `DidYouMean::SPELL_CHECKERS[]=` and `DidYouMean::SPELL_CHECKERS.merge!` are removed. + +* Net::HTTP + + * Removed the following deprecated constants: + * `Net::HTTP::ProxyMod` + * `Net::NetPrivate::HTTPRequest` + * `Net::HTTPInformationCode` + * `Net::HTTPSuccessCode` + * `Net::HTTPRedirectionCode` + * `Net::HTTPRetriableCode` + * `Net::HTTPClientErrorCode` + * `Net::HTTPFatalErrorCode` + * `Net::HTTPServerErrorCode` + * `Net::HTTPResponseReceiver` + * `Net::HTTPResponceReceiver` + + These constants were deprecated from 2012. + +* Timeout + + * Reject negative values for Timeout.timeout. [[Bug #20795]] + +* URI + + * Switched default parser to RFC 3986 compliant from RFC 2396 compliant. + [[Bug #19266]] + +## C API updates + +* `rb_newobj` and `rb_newobj_of` (and corresponding macros `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) have been removed. [[Feature #20265]] +* Removed deprecated function `rb_gc_force_recycle`. [[Feature #18290]] + +## Miscellaneous changes + +* Passing a block to a method which doesn't use the passed block will show + a warning on verbose mode (`-w`). + [[Feature #15554]] + +* Redefining some core methods that are specially optimized by the interpeter + and JIT like `String.freeze` or `Integer#+` now emits a performance class + warning (`-W:performance` or `Warning[:performance] = true`). + [[Feature #20429]] + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +since Ruby 3.3.0! + +Merry Christmas, Happy Holidays, and enjoy programming with Ruby 3.4! + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19266]: https://bugs.ruby-lang.org/issues/19266 +[Feature #19714]: https://bugs.ruby-lang.org/issues/19714 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20443]: https://bugs.ruby-lang.org/issues/20443 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20497]: https://bugs.ruby-lang.org/issues/20497 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20620]: https://bugs.ruby-lang.org/issues/20620 +[Feature #20627]: https://bugs.ruby-lang.org/issues/20627 +[Feature #20705]: https://bugs.ruby-lang.org/issues/20705 +[Feature #20715]: https://bugs.ruby-lang.org/issues/20715 +[Feature #20775]: https://bugs.ruby-lang.org/issues/20775 +[Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 +[Feature #20875]: https://bugs.ruby-lang.org/issues/20875 +[Feature #20884]: https://bugs.ruby-lang.org/issues/20884 +[sigstore.dev]: sigstore.dev +[ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi diff --git a/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md b/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md new file mode 100644 index 0000000000..32f50a690c --- /dev/null +++ b/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -0,0 +1,314 @@ +--- +layout: news_post +title: "Ruby 3.4.0 リリース" +author: "naruse" +translator: +date: 2024-12-25 00:00:00 +0000 +lang: ja +--- + +{% assign release = site.data.releases | where: "version", "3.4.0" | first %} +Ruby {{ release.version }} が公開されました。Ruby 3.4では、ブロックパラメータ参照の `it` の追加、 +デフォルトパーサーのPrismへの変更、Socket ライブラリの Happy Eyeballs Version 2 (RFC 8305) 対応、YJITの改善、 +Modular GCの導入など様々な改善が行われています。 + +## `it` の追加 + +ブロックパラメータに名前をつけずに参照する `it` が追加されました。 [[Feature #18980]] + +```ruby +ary = ["foo", "bar", "baz"] + +p ary.map { it.upcase } #=> ["FOO", "BAR", "BAZ"] +``` + +`it` は `_1` とほとんど同じように動作します。ブロック内で `_1` のみを使用する意図がある場合に `_1` を使うと、`_2` や `_3` などの他の番号付きパラメータが現れる可能性が示唆され、認知的負荷が高い問題がありました。そのため、`it` は便利なエイリアスとして導入されました。一行ブロックなど、`it`の意味が一目でわかる簡単なケースにご利用ください。 + +## デフォルトのパーサをPrismに変更 + +デフォルトで使用するパーサーを parse.y から生成するパーサーから Prism へと変更しました。 [[Feature #20564]] + +これは内部的な改善であり、ユーザーにはほとんど変化が見られないはずです。互換性の問題にお気づきの場合は、ご報告ください。 + +従来のパーサーを使用するにはコマンドライン引数 `--parser=parse.y` を使用してください。 + +## Socket ライブラリの Happy Eyeballs Version 2 (RFC 8305) 対応 + +Socket ライブラリの `TCPSocket.new` (`TCPSocket.open`) と `Socket.tcp` が多数のプログラミング言語で、より良いネットワーク接続の方法として広く標準採用されている [Happy Eyeballs Version 2 (RFC 8305)](https://datatracker.ietf.org/doc/html/rfc8305) に対応しました。この改善により、Ruby は IPv6 と IPv4 が混在するような最新のインターネット環境においても、効率的で信頼性の高いネットワーク接続が可能となりました。 + +Ruby 3.3 までは上記の2つのメソッドは名前解決と接続試行をシリアルに実行していました。Happy Eyeballs Version 2 のアルゴリズムでは以下のように実行します。 + +1. IPv6とIPv4の名前解決を同時実行する。 +2. 解決されたIPアドレスへの接続を、IPv6を優先して、250ミリ秒間隔で並行して試みる。 +3. 最初に成功した接続を返し、他の接続はキャンセルする。 + +このアルゴリズムによって、特定のプロトコルや IP アドレスが遅延したり利用できない場合でも、接続遅延を最小限に抑えることが可能となります。 + +この機能は標準で有効になるため、追加の設定は必要ありません。Ruby 全体で無効にしたい場合は環境変数として `RUBY_TCP_NO_FAST_FALLBACK=1` を設定するか、`Socket.tcp_fast_fallback=false` を Ruby プログラムの中で呼び出してください。またはメソッド単位で無効化する場合、`TCPSocket.new` (`TCPSocket.open`) と `Socket.tcp` のキーワード引数として `fast_fallback: false` を利用してください。 + +## YJIT + +### TL;DR + +* x86-64 と arm64 の両方のプラットフォームにおいて、ほとんどのベンチマークのパフォーマンスが向上しました。 +* メタデータの圧縮と統一的なメモリ使用量制限によりメモリ使用量を削減しました。 +* 様々な不具合修正: YJIT はより堅牢になり、より多くの環境でテストされました。 + +### 新機能 + +* コマンドラインオプション + * `--yjit-mem-size` による統一的なメモリ制限が指定可能になりました(デフォルトは 128MiB)。 + このオプションはすべての YJIT のメモリ使用量を監視し、従来の `--yjit-exec-mem-size` オプションよりも直感的に使用できます。 + * `--yjit-log` オプションを用いて、コンパイルログを監視できるようになりました。 +* Ruby API + * `RubyVM::YJIT.log` を用いてコンパイルログの末尾を取得することができるようになりました。 +* YJIT の統計情報 + * `RubyVM::YJIT.runtime_stats` からインバリデーション、インライン化、メタデータエンコーディングに関する追加の統計情報をいつでも取得できるようになりました。 + +### 新しい最適化 + +* コンテキストの圧縮化により YJIT のメタデータ保管に必要なメモリを削減しました。 +* ローカル変数やRubyのメソッドの引数のためにレジスタを割り当てるようになりました。 +* YJIT が有効な場合に Ruby で実装されたコアクラスを使うようになりました。 + * Ruby で書き直された `Array#each`, `Array#select`, `Array#map` はより良いパフォーマンスを提供します。 [[Feature #20182]]. +* 以下のような小さいメソッドをインライン化できるようになりました: + * 空メソッド + * 定数を返すメソッド + * `self` を返すメソッド + * 引数を直接返すメソッド +* 組み込みメソッドに特化したコード生成の対象を広げました +* `String#getbyte`, `String#setbyte` など、String のメソッドの最適化を行いました。 +* 低レベルの bit/byte 操作を高速化するためにビット演算を最適化しました +* マルチ Ractor モードにおける定数共有をサポートしました。 +* その他、様々な段階的な最適化を行いました。 + +## Modular GC + +* Modular GC 機能により Ruby 標準とは異なる ガベージ・コレクタ (GC) の実装を動的にロードすることができるようになりました。この機能を使うには Ruby をビルドする時に `--with-modular-gc` を指定してください。GC ライブラリは環境変数 `RUBY_GC_LIBRARY` を用いて Ruby のランタイムにロードすることができます。[[Feature #20351]] + +* Ruby 組み込みのガベージ・コレクタは `gc/default/default.c` ファイルに分割され、 Ruby ランタイムとのやりとりは `gc/gc_impl.h` に定義される API を用いて行われます。組み込みのガベージコレクタは `make modular-gc MODULAR_GC=default` というコマンドを用いてライブラリとしてもビルドすることができ、環境変数として `RUBY_GC_LIBRARY=default` を定義することで有効にすることができます。 [[Feature #20470]] + +* [MMTk](https://www.mmtk.io/) をベースとした実験的な GC ライブラリが提供されました。このライブラリは`make modular-gc MODULAR_GC=mmtk` コマンドによってビルドし、環境変数 `RUBY_GC_LIBRARY=mmtk` によって有効化します。この機能を使うにはビルドを行うマシンに Rust のビルドツールを必要とします。 [[Feature #20860]] + +## 言語機能の変更 + +* マジックコメント `frozen_string_literal` のないファイル中の文字列リテラルは、freeze されているかのように振る舞うようになり、破壊的な変更時に警告を表示するようになりました。これらの警告はコマンドラインオプション `-W:deprecated` か Ruby プログラムで `Warning[:deprecated] = true` を指定すると表示されます。 +これら無効にするにはコマンドラインオプション `--disable-frozen-string-literal` を追加して Ruby を実行してください。 [[Feature #20205]] + +* メソッド呼び出し時の `nil` 展開キーワードがサポートされました。 + `**nil` は `**{}` と同様に扱われ、キーワードは渡せません。 + また、あらゆる変換のためのメソッドも呼ばれません。[[Bug #20064]] + +* インデックスにブロックを渡せなくなりました。[[Bug #19918]] + +* インデックスにキーワード引数を渡せなくなりました。[[Bug #20218]] + +* トップレベルに `::Ruby` を予約しました。 + `Warning[:deprecated]` が有効な場合、既に定義済みの場合は警告されます。[[Feature #20884]] + +## コアクラスのアップデート + +注: 複数のアップデートの中から注目すべきアップデートのみを掲載しています。 + +* Exception + + * `Exception#set_backtrace` は `Thread::Backtrace::Location` の配列を受け取れる様になりました。. + `Kernel#raise`, `Thread#raise` や `Fiber#raise` も同じ配列を受け取れます。[[Feature #13557]] + +* GC + + * `GC.config` がガベージ・コレクタの設定変更を可能とするために追加されました。[[Feature #20443]] + + * GC の設定用のパラメータとして `rgengc_allow_full_mark` が追加されました。このパラメータを `false` + とすると、GC は young オブジェクトのみを GC 用にマークします。デフォルト値は `true` です。 + [[Feature #20443]] + +* Ractor + + * Ractor の中で `require` が可能となりました。この `require` の処理はメインの Ractor で行われます。 + また、メインの Ractor には `require` 処理のために `Ractor._require(feature)` が追加されました。 + [[Feature #20627]] + + * `Ractor.main?` が追加されました。[[Feature #20627]] + + * 現在実行中の Ractor の Ractor ローカルストレージにアクセスするためのメソッドとして `Ractor.[]` and `Ractor.[]=` が追加されました。 [[Feature #20715]] + + * スレッドセーフに Ractor ローカル変数を初期化するためのメソッド `Ractor.store_if_absent(key){ init }` が追加されました。 [[Feature #20875]] + +* Range + + * `Range#size` は範囲オブジェクトが反復可能ではない場合は `TypeError` 例外を出すようになりました。[[Misc #18984]] + + +## 標準ライブラリのアップデート + +注: 複数のアップデートの中から注目すべき標準ライブラリのアップデートのみを掲載しています。 + +* RubyGems + * `gem push` コマンドに `--attestation` オプションが追加されました。このオプションをつけると [sigstore](https://www.sigstore.dev/) に gem の署名情報が保存されます。 + +* Bundler + * ロックファイルの新規作成時に gem の checksum を保存する `lockfile_checksums` オプションが `bundle config` に設定可能になりました。 + * 既存のロックファイルに使用している gem の checksum を付与するためのコマンドとして `bundle lock --add-checksums` が追加されました。 + +* JSON + + * `JSON.parse` が Ruby 3.3 シリーズに添付されている json-2.7.x と比較して 1.5 倍程度高速になりました。 + +* Tempfile + + * `Tempfile.create` に `anonymous: true` キーワードが追加されました。is implemented for . + `Tempfile.create(anonymous: true)` は作成した一時ファイルを即座に削除します。この機能を用いることで、アプリケーションは独自にファイル削除を行う必要がなくなります。 [[Feature #20497]] + +* win32/sspi.rb + + * Windows で SSPI 機能を提供するライブラリは Ruby のリポジトリから [ruby/net-http-sspi] に移動しました。 [[Feature #20775]] + +## 互換性に関する変更 + +注: 不具合修正を除きます。 + +* エラーメッセージとして表示するバックトレースを変更しました。 + * 開始の引用符は backtick の代わりにシングルクォートを用いるようになりました。[[Feature #16495]] + * クラス名が変更しないような場合、メソッド名の前にクラス名を表示するようになりました。[[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location` などのメソッドはそれらに応じて変更されました。 + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* `Hash#inspect` の表示が変わりました。[[Bug #20433]] + + * Symbol キーはコロンを用いたモダンな表示になりました: `"{user: 1}"` + * 他のキーは従来の `'{"user"=>1}'` とは異なり、 `=>` の前後にスペースを含む表示になりました: `'{"user" => 1}'`。 + +* `Kernel#Float()` は 10 進表記の小数部がなくても受け付けるようになりました。 [[Feature #20705]] + + ```rb + Float("1.") #=> 1.0 (previously, an ArgumentError was raised) + Float("1.E-1") #=> 0.1 (previously, an ArgumentError was raised) + ``` + +* `String#to_f` は 10 進表記の小数部がなくても受け付けるようになりました。指数を指定すると従来とは結果が変わることに注意してください。 [[Feature #20705]] + + ```rb + "1.".to_f #=> 1.0 + "1.E-1".to_f #=> 0.1 (previously, 1.0 was returned) + ``` + +* `Refinement#refined_class` は削除されました。[[Feature #19714]] + +## 標準ライブラリの互換性の変更 + +* DidYouMean + + * `DidYouMean::SPELL_CHECKERS[]=` と `DidYouMean::SPELL_CHECKERS.merge!` は削除されました。 + +* Net::HTTP + + * 2012 年から非推奨とされている以下の定数が削除されました。 + * `Net::HTTP::ProxyMod` + * `Net::NetPrivate::HTTPRequest` + * `Net::HTTPInformationCode` + * `Net::HTTPSuccessCode` + * `Net::HTTPRedirectionCode` + * `Net::HTTPRetriableCode` + * `Net::HTTPClientErrorCode` + * `Net::HTTPFatalErrorCode` + * `Net::HTTPServerErrorCode` + * `Net::HTTPResponseReceiver` + * `Net::HTTPResponceReceiver` + +* Timeout + + * `Timeout.timeout` が負の値を受け付けなくなりました。[[Bug #20795]] + +* URI + + * デフォルトのパーサーが RFC 2396 準拠のものから RFC 3986 準拠のものに変わりました。 [[Bug #19266]] + +## C API のアップデート + +* `rb_newobj` と `rb_newobj_of` (と対応するマクロの `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) は削除されました。 [[Feature #20265]] +* 非推奨とされていた `rb_gc_force_recycle` は削除されました。 [[Feature #18290]] + +## その他の変更点 + +* 渡されたブロックを使用しないメソッドにブロックを渡すと、verboseモード(`-w`) で警告が表示されるようになりました。[[Feature #15554]] + +* `String.freeze` や `Integer#+` のような JIT とインタプリタによって特別に最適化されたメソッドを再定義すると、performance 警告(`-W:performance` または`Warning[:performance] = true` で有効化)が表示されるようになりました。 [[Feature #20429]] + +より詳細な情報は [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +か [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) を参照してください。 + + +これらの変更により、Ruby 3.3.0から [{{ release.stats.files_changed }} ファイルが変更され、 {{ release.stats.insertions }} 行が追加され、 {{ release.stats.deletions }} 行が削除されました!deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) + +メリークリスマス、Ruby 3.4 とともによいお年をお迎えください! + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 + + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19266]: https://bugs.ruby-lang.org/issues/19266 +[Feature #19714]: https://bugs.ruby-lang.org/issues/19714 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20443]: https://bugs.ruby-lang.org/issues/20443 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20497]: https://bugs.ruby-lang.org/issues/20497 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20620]: https://bugs.ruby-lang.org/issues/20620 +[Feature #20627]: https://bugs.ruby-lang.org/issues/20627 +[Feature #20705]: https://bugs.ruby-lang.org/issues/20705 +[Feature #20715]: https://bugs.ruby-lang.org/issues/20715 +[Feature #20775]: https://bugs.ruby-lang.org/issues/20775 +[Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 +[Feature #20875]: https://bugs.ruby-lang.org/issues/20875 +[Feature #20884]: https://bugs.ruby-lang.org/issues/20884 +[sigstore.dev]: sigstore.dev +[ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi From 4c09528e52e66a91bf11b1bdc6547ffb41f5a268 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Wed, 25 Dec 2024 17:29:07 +0900 Subject: [PATCH 2425/2563] Ruby 3.4.1 Released (#3445) --- _data/downloads.yml | 2 +- _data/releases.yml | 24 ++++++++++++ .../_posts/2024-12-25-ruby-3-4-1-released.md | 39 +++++++++++++++++++ .../_posts/2024-12-25-ruby-3-4-1-released.md | 39 +++++++++++++++++++ 4 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2024-12-25-ruby-3-4-1-released.md create mode 100644 ja/news/_posts/2024-12-25-ruby-3-4-1-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index 509c63fdf1..090681cb2f 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -7,7 +7,7 @@ preview: stable: - - 3.4.0 + - 3.4.1 - 3.3.6 - 3.2.6 diff --git a/_data/releases.yml b/_data/releases.yml index cfa94406fb..5dccb4a35a 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,30 @@ # 3.4 series +- version: 3.4.1 + date: 2024-12-25 + post: /en/news/2024/12/25/ruby-3-4-1-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.1.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.1.tar.xz + size: + gz: 23152739 + zip: 28310267 + xz: 17222800 + sha1: + gz: dc42fe22bcdfbd30f63cd93296d893c53b1dadcc + zip: a7145041a0178f2423dbad5d1dd67ba0862b9ee7 + xz: 61783f85c57da9f05201e491029889d71742a83f + sha256: + gz: 3d385e5d22d368b064c817a13ed8e3cc3f71a7705d7ed1bae78013c33aa7c87f + zip: a0c62089fb75c47e392bc96778dd76bd7ad1baa40a7ed040372c805de20bccc8 + xz: 018d59ffb52be3c0a6d847e22d3fd7a2c52d0ddfee249d3517a0c8c6dbfa70af + sha512: + gz: 93acc262e3b7cf86aeddebdad5b8938c187b9c44a73b0c252b6f873745964001459ae45ece7376745916e317c24895596a42b4544e836670fc6e90058e6f0de4 + zip: 4f96c56b0a26c0d4d554cf47764f4acdc2e59545da0b85fe4d5235a17d26ac47f0c609af66099173056e3405849a9f847c32e7aaaa3a057c7d46007968aa4c73 + xz: 8d2e34117696f9debf463ae1eed288fdbb5c1a12e32800e901b69218e3b7302a0066052077e2ebca851e3a635296199bd5a10437eea1d6f787f69a77bb865680 + - version: 3.4.0 date: 2024-12-25 post: /en/news/2024/12/25/ruby-3-4-0-released/ diff --git a/en/news/_posts/2024-12-25-ruby-3-4-1-released.md b/en/news/_posts/2024-12-25-ruby-3-4-1-released.md new file mode 100644 index 0000000000..c14a009f57 --- /dev/null +++ b/en/news/_posts/2024-12-25-ruby-3-4-1-released.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "Ruby 3.4.1 Released" +author: "naruse" +translator: +date: 2024-12-25 10:00:00 +0000 +lang: en +--- + +Ruby 3.4.1 has been released. + +This fixes the version description. + +See the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_4_1) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.4.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} diff --git a/ja/news/_posts/2024-12-25-ruby-3-4-1-released.md b/ja/news/_posts/2024-12-25-ruby-3-4-1-released.md new file mode 100644 index 0000000000..2ec93cbb89 --- /dev/null +++ b/ja/news/_posts/2024-12-25-ruby-3-4-1-released.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "Ruby 3.4.1 リリース" +author: "naruse" +translator: +date: 2024-12-25 00:00:00 +0000 +lang: ja +--- + +Ruby 3.4.1 がリリースされました。 + +このリリースではバージョン表記を修正しています。 + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_4_1) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.4.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} From ced8733207718d383eacb62fabddc2a8c448a32b Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Wed, 25 Dec 2024 17:35:51 +0900 Subject: [PATCH 2426/2563] fix date --- en/news/_posts/2024-12-25-ruby-3-4-1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-12-25-ruby-3-4-1-released.md b/en/news/_posts/2024-12-25-ruby-3-4-1-released.md index c14a009f57..92b6f4a18c 100644 --- a/en/news/_posts/2024-12-25-ruby-3-4-1-released.md +++ b/en/news/_posts/2024-12-25-ruby-3-4-1-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 3.4.1 Released" author: "naruse" translator: -date: 2024-12-25 10:00:00 +0000 +date: 2024-12-25 00:00:00 +0000 lang: en --- From 88a606e9d22e5ff51c55a07f3cd9ac2eaacdc323 Mon Sep 17 00:00:00 2001 From: mitsubosh Date: Wed, 25 Dec 2024 20:59:01 +0900 Subject: [PATCH 2427/2563] Remove needless english words from Tempfile explanation in ja --- ja/news/_posts/2024-12-25-ruby-3-4-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md b/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md index 32f50a690c..4513284779 100644 --- a/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -157,7 +157,7 @@ Ruby 3.3 までは上記の2つのメソッドは名前解決と接続試行を * Tempfile - * `Tempfile.create` に `anonymous: true` キーワードが追加されました。is implemented for . + * `Tempfile.create` に `anonymous: true` キーワードが追加されました。 `Tempfile.create(anonymous: true)` は作成した一時ファイルを即座に削除します。この機能を用いることで、アプリケーションは独自にファイル削除を行う必要がなくなります。 [[Feature #20497]] * win32/sspi.rb From bf45cf0719888c58f8b2305a259e024a84116f85 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Thu, 26 Dec 2024 10:49:13 +0000 Subject: [PATCH 2428/2563] Use docs.ruby-lang.org for 3.4 release news --- en/news/_posts/2024-12-25-ruby-3-4-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2024-12-25-ruby-3-4-0-released.md b/en/news/_posts/2024-12-25-ruby-3-4-0-released.md index a92cf18257..2961df95c9 100644 --- a/en/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/en/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -273,7 +273,7 @@ Note: Excluding feature bug fixes. warning (`-W:performance` or `Warning[:performance] = true`). [[Feature #20429]] -See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +See [NEWS](https://docs.ruby-lang.org/en/3.4/NEWS_md.html) or [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) for more details. From e6e39bc5495a930a953083430bc48ef7df55e7ea Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Wed, 25 Dec 2024 18:36:26 +0900 Subject: [PATCH 2429/2563] Add snapshot-ruby_3_4 --- _data/downloads.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 090681cb2f..6e8ceeeef2 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -23,6 +23,13 @@ eol: stable_snapshots: + - branch: ruby_3_4 + url: + gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_4.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_4.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_4.zip + version: '3.4' + - branch: ruby_3_3 url: gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_3.tar.gz @@ -50,4 +57,4 @@ nightly_snapshot: gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-master.tar.gz xz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-master.tar.xz zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-master.zip - version: '3.4' + version: '3.5' From 610045acf7bf4df1aed58dde4e14ab6704e05cd3 Mon Sep 17 00:00:00 2001 From: Lorenzo Zabot Date: Fri, 27 Dec 2024 10:24:59 +0100 Subject: [PATCH 2430/2563] Fix typos on English Ruby 3.4.0 release notes --- en/news/_posts/2024-12-25-ruby-3-4-0-released.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/news/_posts/2024-12-25-ruby-3-4-0-released.md b/en/news/_posts/2024-12-25-ruby-3-4-0-released.md index 2961df95c9..1a057f439f 100644 --- a/en/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/en/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -9,7 +9,7 @@ lang: en {% assign release = site.data.releases | where: "version", "3.4.0" | first %} We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.4 adds `it` block parameter reference, -change Prism as default parser, adds Happy Eyeballs Version 2 support to socket library, improves YJIT, +changes Prism as default parser, adds Happy Eyeballs Version 2 support to socket library, improves YJIT, adds Modular GC, and so on. ## `it` is introduced @@ -160,7 +160,7 @@ Note: We're only listing notable updates of Core class. ## Standard Library updates -Note: We're only listing notable updates of Standard librarires. +Note: We're only listing notable updates of Standard libraries. * RubyGems * Add `--attestation` option to gem push. It enabled to store signature to [sigstore.dev] @@ -268,7 +268,7 @@ Note: Excluding feature bug fixes. a warning on verbose mode (`-w`). [[Feature #15554]] -* Redefining some core methods that are specially optimized by the interpeter +* Redefining some core methods that are specially optimized by the interpreter and JIT like `String.freeze` or `Integer#+` now emits a performance class warning (`-W:performance` or `Warning[:performance] = true`). [[Feature #20429]] From c425ba338aa923c1bd3dd7f1cf1caaf277e34a13 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 27 Dec 2024 20:15:55 +0900 Subject: [PATCH 2431/2563] Translate "Ruby 3.4.0 released" (ko) (#3443) Co-authored-by: Chayoung You --- .../_posts/2024-12-25-ruby-3-4-0-released.md | 344 ++++++++++++++++++ 1 file changed, 344 insertions(+) create mode 100644 ko/news/_posts/2024-12-25-ruby-3-4-0-released.md diff --git a/ko/news/_posts/2024-12-25-ruby-3-4-0-released.md b/ko/news/_posts/2024-12-25-ruby-3-4-0-released.md new file mode 100644 index 0000000000..b1125bdfc9 --- /dev/null +++ b/ko/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -0,0 +1,344 @@ +--- +layout: news_post +title: "Ruby 3.4.0 릴리스" +author: "naruse" +translator: "shia" +date: 2024-12-25 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.4.0" | first %} +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. +Ruby 3.4는 `it` 블록 파라미터 참조, Prism을 기본 파서로 변경, 소켓 라이브러리에 +Happy Eyeballs Version 2 지원 추가, YJIT 개선, 모듈러 GC 추가 등을 포함하고 있습니다. + +## `it` 추가 + +`it`은 변수 이름 없이 블록 파라미터를 참조하기 위해 추가되었습니다. [[Feature #18980]] + +```ruby +ary = ["foo", "bar", "baz"] + +p ary.map { it.upcase } #=> ["FOO", "BAR", "BAZ"] +``` + +`it`은 `_1`과 거의 동일하게 동작합니다. 블록에서 `_1`만 사용할 때 다른 번호 파라미터인 `_2` 등이 나타날 가능성이 읽는 사람에게 추가적인 인지 부담을 주게 됩니다. 따라서 `it`은 편리한 별칭으로 추가되었습니다. `it`은 `it` 자체로 충분히 명확한 경우에 사용하세요. 예를 들어, 한 줄짜리 블록에서 사용하세요. + +## 기본 파서를 Prism으로 변경 + +parse.y에서 Prism으로 기본 파서를 변경했습니다. [[Feature #20564]] + +이는 내부적인 개선이며 사용자에게는 거의 변화가 없어야 합니다. 호환성 문제가 발생하면 보고해 주세요. + +기존 파서를 사용하려면 `--parser=parse.y` 커맨드 라인 인수를 사용하세요. + +## 소켓 라이브러리가 Happy Eyeballs Version 2 (RFC 8305) 대응 + +소켓 라이브러리는 이제 [Happy Eyeballs Version 2(RFC 8305)](https://datatracker.ietf.org/doc/html/rfc8305)를 지원합니다. 이는 `TCPSocket.new`(`TCPSocket.open`)와 `Socket.tcp`에서 네트워크 연결을 효율적이고 안정적으로 제공하기 위해 많은 언어에서 널리 사용되는 방법의 최신 표준화 버전입니다. +이 개선 사항은 Ruby가 현대적인 인터넷 환경에 적응된 효율적이고 신뢰할 수 있는 네트워크 연결을 제공할 수 있도록 합니다. + +Ruby 3.3까지 이러한 메서드는 이름 해석과 연결 시도를 직렬로 수행했습니다. 해당 알고리즘 도입으로 이제 다음과 같이 작동합니다. + +1. IPv6와 IPv4 이름 해석을 동시에 수행 +2. IPv6를 우선하며 병렬로 연결을 시도하되 250ms 간격으로 떨어뜨려 시도 +3. 성공한 연결을 반환하고 다른 연결을 취소 + +이는 특정 프로토콜이나 IP 주소가 지연되거나 사용할 수 없는 경우에도 연결 지연을 최소화합니다. +이 기능은 기본적으로 활성화되어 있으므로 추가 구성은 필요하지 않습니다. 전역으로 비활성화하려면 환경 변수 `RUBY_TCP_NO_FAST_FALLBACK=1`을 설정하거나 `Socket.tcp_fast_fallback=false`를 호출하세요. 또는 메서드별로 비활성화하려면 키워드 인수 `fast_fallback: false`를 사용하세요. + +## YJIT + +### TL;DR + +* x86-64와 arm64 플랫폼에서 대부분의 벤치마크에서 성능이 향상되었습니다. +* 메타 데이터 압축과 통합 메모리 제한을 통해 메모리 사용량이 줄었습니다. +* 여러 버그가 수정되었습니다. YJIT는 이제 더 견고하고 잘 테스트되었습니다. + +### 새 기능 + +* 커맨드 라인 옵션 + * `--yjit-mem-size` 커맨드 라인 옵션(기본값 128MiB)을 통해 YJIT의 통합 메모리 제한을 추가했습니다. + 이는 이전 `--yjit-exec-mem-size`보다 직관적이며, YJIT의 전체 메모리 사용량을 추적합니다. + * `--yjit-log`를 통해 무엇이 컴파일되었는지 추적하는 컴파일 로그를 추가했습니다. +* Ruby API + * `RubyVM::YJIT.log`로 런타임에서 컴파일 로그의 마지막 부분을 확인할 수 있습니다. +* YJIT 통계 정보 + * `RubyVM::YJIT.runtime_stats`는 이제 언제나 무효화, 인라인, 메타 정보 인코딩에 대한 + 추가 통계 정보를 제공합니다. + +### 새 최적화 + +* YJIT 메타 데이터를 저장하는 데 필요한 메모리를 줄이는 콘텍스트 압축 +* 로컬 변수와 Ruby 메서드 인수를 위한 레지스터를 할당합니다. +* YJIT을 사용할 때 Ruby로 작성된 더 많은 코어 프리미티브를 사용합니다. + * 성능을 높이기 위해 Ruby로 다시 작성된 `Array#each`, `Array#select`, `Array#map` [[Feature #20182]] +* 작고 사소한 메서드를 인라인으로 변환하는 능력 + * 빈 메서드 + * 상수를 반환하는 메서드 + * `self`를 반환하는 메서드 + * 인수를 직접 반환하는 메서드 +* 더 많은 런타임 메서드에 대한 특별한 코드 생성 +* `String#getbyte`, `String#setbyte` 및 다른 문자열 메서드를 최적화 +* 저레벨 비트/바이트 조작을 빠르게 하기 위한 비트 연산 최적화 +* 멀티 Ractor 모드에서 공유 가능한 상수 지원 +* 다양한 다른 점진적 최적화 + +## 모듈러 GC + +* 다른 가비지 컬렉터(GC) 구현을 모듈러 가비지 컬렉터 기능을 통해 동적으로 + 로드할 수 있습니다. 이 기능을 활성화하려면 Ruby 빌드 시에 + `--with-modular-gc`를 설정하세요. GC 라이브러리는 환경 변수 `RUBY_GC_LIBRARY`를 + 사용하여 런타임에 로드할 수 있습니다. + [[Feature #20351]] + +* Ruby의 내장 가비지 컬렉터는 `gc/default/default.c`에 분리되어 있으며, + `gc/gc_impl.h`에 정의된 API를 사용하여 Ruby와 상호 작용합니다. + 내장 가비지 컬렉터는 `make modular-gc MODULAR_GC=default`를 사용하여 + 라이브러리로서 빌드하고 환경 변수 `RUBY_GC_LIBRARY=default`를 + 사용하여 활성화할 수 있습니다. [[Feature #20470]] + +* [MMTk](https://www.mmtk.io/)를 기반으로 한 실험적인 GC 라이브러리가 제공됩니다. + 이 GC 라이브러리는 `make modular-gc MODULAR_GC=mmtk`를 사용하여 빌드하고 + 환경 변수 `RUBY_GC_LIBRARY=mmtk`를 사용하여 활성화할 수 있습니다. + 이는 빌드 머신에 Rust 툴체인이 필요합니다. [[Feature #20860]] + +## 언어 변경 + +* 파일에 `frozen_string_literal` 주석이 없을 때, 문자열 리터럴이 변경되면 + 폐기 예정 경고를 출력합니다. + 이 경고는 `-W:deprecated`나 `Warning[:deprecated] = true` 설정을 통해 활성화할 수 있습니다. + 이 변경을 무효화하고 싶다면 Ruby를 실행할 때 `--disable-frozen-string-literal` + 커맨드 라인 인수를 사용하세요. [[Feature #20205]] + +* 메서드 호출 시에 `nil`에 키워드 스플랫을 지원합니다. + `**nil`은 `**{}`와 비슷하게 동작하며, 키워드를 넘기지 않으며, + 어떤 변환 메서드도 호출하지 않습니다. [[Bug #20064]] + +* 블록을 인덱스로 사용할 수 없게 됩니다. [[Bug #19918]] + +* 키워드 인수를 인덱스로 사용할 수 없게 됩니다. [[Bug #20218]] + +* 최상위 이름 `::Ruby`은 예약되었으며, 이를 정의할 경우 `Warning[:deprecated]`가 발생합니다. [[Feature #20884]] + +## 코어 클래스 변경 + +주의: 눈에 띄는 코어 클래스 변경만을 포함합니다. + +* Exception + + * `Exception#set_backtrace`는 이제 `Thread::Backtrace::Location`의 배열을 입력으로 받을 수 있습니다. + `Kernel#raise`, `Thread#raise`와 `Fiber#raise`도 같은 형식의 입력을 받습니다. [[Feature #13557]] + +* GC + + * `GC.config`가 추가되어 가비지 컬렉터(GC)의 설정을 변경할 수 있습니다. + [[Feature #20443]] + + * GC 설정 파라미터 `rgengc_allow_full_mark`가 추가되었습니다. `false`일 때 + GC는 젊은 객체만 마킹합니다. 기본값은 `true`입니다. [[Feature #20443]] + +* Ractor + + * Ractor 내부에서 `require`가 허용됩니다. 해당 처리는 주 Ractor에서 + 실행됩니다. 불러오는 처리를 주 Ractor에서 실행하는 + `Ractor._require(feature)`가 추가되었습니다. + [[Feature #20627]] + + * `Ractor.main?`이 추가되었습니다. [[Feature #20627]] + + * 현재 Ractor의 Ractor 로컬 저장소에 접근하는 `Ractor.[]`와 `Ractor.[]=`가 추가되었습니다. + [[Feature #20715]] + + * Ractor 로컬 변수를 스레드 안전하게 초기화하는 `Ractor.store_if_absent(key){ init }`가 + 추가되었습니다. [[Feature #20875]] + +* Range + + * `Range#size`는 이제 범위가 순회 가능하지 않다면 `TypeError`를 던집니다. [[Misc #18984]] + + +## 표준 라이브러리 변경 + +주의: 눈에 띄는 표준 라이브러리 변경만을 포함합니다. + +* RubyGems + * `--attestation` 옵션을 gem push에 추가했습니다. [sigstore.dev]에 서명을 저장할 수 있습니다. + +* Bundler + * 새 lockfile 생성 시에 체크섬을 포함하는 `lockfile_checksums` 설정을 추가합니다. + * 기존 lockfile에 체크섬을 추가하는 `--add-checksums`를 추가합니다. + +* JSON + + * `JSON.parse`의 성능이 json-2.7.x보다 약 1.5배 빨라졌습니다. + +* Tempfile + + * `Tempfile.create`에 `anonymous: true` 키워드 인수가 구현되었습니다. + `Tempfile.create(anonymous: true)`는 즉시 생성된 임시 파일을 제거합니다. + 따라서 애플리케이션에서 파일을 제거할 필요가 없습니다. + [[Feature #20497]] + +* win32/sspi.rb + + * 이 라이브러리는 이제 Ruby 저장소에서 [ruby/net-http-sspi]로 추출되었습니다. + [[Feature #20775]] + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + +* 에러 메시지와 백트레이스의 출력 결과가 변경됩니다. + * 여는 따옴표로 백틱 대신 작은따옴표를 사용합니다. [[Feature #16495]] + * 메서드 이름 앞에 클래스 이름을 출력합니다(클래스가 불변하는 이름을 가지고 있는 경우만). [[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location`의 메서드 등도 마찬가지로 변경됩니다. + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* `Hash#inspect` 렌더링이 변경되었습니다. [[Bug #20433]] + + * 심볼 키는 최신 심볼 키 구문을 사용하여 표시됩니다. 예시: `"{user: 1}"` + * 다른 키는 `=>` 주변에 공백이 표시됩니다. 예시: `'{"user" => 1}'`. 이전에는 없었습니다. 예시: `'{"user"=>1}'` + +* `Kernel#Float()`는 이제 소수 부분이 생략된 소수 문자열을 허용합니다. [[Feature #20705]] + + ```rb + Float("1.") #=> 1.0 (이전에는 ArgumentError가 발생했습니다) + Float("1.E-1") #=> 0.1 (이전에는 ArgumentError가 발생했습니다) + ``` + +* `String#to_f`는 이제 소수 부분이 생략된 소수 문자열을 허용합니다. 지수가 지정된 경우 결과가 변경됩니다. [[Feature #20705]] + + ```rb + "1.".to_f #=> 1.0 + "1.E-1".to_f #=> 0.1 (이전에는 1.0이 반환되었습니다) + ``` + +* `Refinement#refined_class`가 삭제되었습니다. [[Feature #19714]] + +## 표준 라이브러리 호환성 문제 + +* DidYouMean + + * `DidYouMean::SPELL_CHECKERS[]=`과 `DidYouMean::SPELL_CHECKERS.merge!`가 삭제됩니다. + +* Net::HTTP + + * 폐기 예정이었던 상수가 삭제됩니다. + * `Net::HTTP::ProxyMod` + * `Net::NetPrivate::HTTPRequest` + * `Net::HTTPInformationCode` + * `Net::HTTPSuccessCode` + * `Net::HTTPRedirectionCode` + * `Net::HTTPRetriableCode` + * `Net::HTTPClientErrorCode` + * `Net::HTTPFatalErrorCode` + * `Net::HTTPServerErrorCode` + * `Net::HTTPResponseReceiver` + * `Net::HTTPResponceReceiver` + + 이 상수들은 2012년부터 폐기 예정이었습니다. + +* Timeout + + * `Timeout.timeout`은 음수 값을 거부합니다. [[Bug #20795]] + +* URI + + * 기본 파서를 RFC 2396 호환에서 RFC 3986 호환으로 변경했습니다. + [[Bug #19266]] + +## C API 변경 + +* `rb_newobj`와 `rb_newobj_of`(그리고 대응하는 매크로인 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`)가 삭제됩니다. [[Feature #20265]] +* 폐기 예정이던 `rb_gc_force_recycle` 함수를 삭제했습니다. [[Feature #18290]] + +## 그 이외의 변경 + +* 상세 모드(`-w`)에서 메서드에 넘긴 블록이 사용되지 않았을 때 + 경고를 출력합니다. + [[Feature #15554]] + +* `String.freeze`나 `Integer#+`처럼 인터프리터와 JIT이 특별히 최적화하는 + 몇몇 코어 메서드를 재정의하면 성능 클래스 + 경고(`-W:performance`나 `Warning[:performance] = true`)를 출력합니다. + [[Feature #20429]] + +더 자세한 내용은 [NEWS](https://docs.ruby-lang.org/en/3.4/NEWS_md.html)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.3.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + +메리 크리스마스, 해피 홀리데이, 그리고 Ruby 3.4와 함께 프로그래밍을 즐겨보세요! + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19266]: https://bugs.ruby-lang.org/issues/19266 +[Feature #19714]: https://bugs.ruby-lang.org/issues/19714 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20443]: https://bugs.ruby-lang.org/issues/20443 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20497]: https://bugs.ruby-lang.org/issues/20497 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20620]: https://bugs.ruby-lang.org/issues/20620 +[Feature #20627]: https://bugs.ruby-lang.org/issues/20627 +[Feature #20705]: https://bugs.ruby-lang.org/issues/20705 +[Feature #20715]: https://bugs.ruby-lang.org/issues/20715 +[Feature #20775]: https://bugs.ruby-lang.org/issues/20775 +[Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 +[Feature #20875]: https://bugs.ruby-lang.org/issues/20875 +[Feature #20884]: https://bugs.ruby-lang.org/issues/20884 +[sigstore.dev]: sigstore.dev +[ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi From 359a6a952fd98ca595c1824033408dabd98a908b Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 27 Dec 2024 20:16:18 +0900 Subject: [PATCH 2432/2563] Translate "Ruby 3.4.1 released" (ko) (#3446) Co-authored-by: Chayoung You --- .../_posts/2024-12-25-ruby-3-4-1-released.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ko/news/_posts/2024-12-25-ruby-3-4-1-released.md diff --git a/ko/news/_posts/2024-12-25-ruby-3-4-1-released.md b/ko/news/_posts/2024-12-25-ruby-3-4-1-released.md new file mode 100644 index 0000000000..80b09d4ae1 --- /dev/null +++ b/ko/news/_posts/2024-12-25-ruby-3-4-1-released.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "Ruby 3.4.1 릴리스" +author: "naruse" +translator: "shia" +date: 2024-12-25 00:00:00 +0000 +lang: ko +--- + +Ruby 3.4.1이 릴리스되었습니다. + +이번 릴리스는 버전 설명을 수정합니다. + +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_4_1)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.4.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} From 2c177eeb972025f00bc45a7203f908f97b2aa3ce Mon Sep 17 00:00:00 2001 From: Thomas Ritter Date: Fri, 27 Dec 2024 13:35:57 +0100 Subject: [PATCH 2433/2563] Add German version of Ruby 3.4 release announcement --- .../_posts/2024-12-25-ruby-3-4-0-released.md | 318 ++++++++++++++++++ 1 file changed, 318 insertions(+) create mode 100644 de/news/_posts/2024-12-25-ruby-3-4-0-released.md diff --git a/de/news/_posts/2024-12-25-ruby-3-4-0-released.md b/de/news/_posts/2024-12-25-ruby-3-4-0-released.md new file mode 100644 index 0000000000..ad10c2f8e1 --- /dev/null +++ b/de/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -0,0 +1,318 @@ +--- +layout: news_post +title: "Ruby 3.4.0 veröffentlicht" +author: "naruse" +translator: "Thomas Ritter" +date: 2024-12-25 00:00:00 +0000 +lang: de +--- + +{% assign release = site.data.releases | where: "version", "3.4.0" | first %} +Wir freuen uns, die Veröffentlichung von Ruby {{ release.version }} bekannt zu geben. Ruby 3.4 führt den `it`-Blockparameter ein, ändert Prism zum Standardparser, bietet Happy Eyeballs Version 2-Unterstützung in der Socket-Bibliothek, verbessert YJIT, integriert Modular GC und mehr. + +## `it` wird eingeführt + +`it` wurde hinzugefügt, um auf einen Blockparameter ohne Variablennamen zu verweisen. [[Feature #18980]] + +```ruby +ary = ["foo", "bar", "baz"] + +p ary.map { it.upcase } #=> ["FOO", "BAR", "BAZ"] +``` + +`it` verhält sich weitgehend wie `_1`. Wenn die Absicht besteht, nur `_1` in einem Block zu verwenden, sind andere nummerierte Parameter wie `_2` eine zusätzliche kognitive Belastung für Leser. Daher wurde `it` als praktische Alternative eingeführt. Verwenden Sie `it` in einfachen Fällen, in denen es sich von selbst erklärt, z. B. in Einzeilern. + +## Prism ist jetzt der Standardparser + +Der Standardparser wurde von parse.y auf Prism umgestellt. [[Feature #20564]] + +Dies ist eine interne Verbesserung, und für den Benutzer sollte es kaum sichtbare Änderungen geben. Wenn Sie Kompatibilitätsprobleme bemerken, melden Sie diese bitte. + +Um den konventionellen Parser zu verwenden, nutzen Sie das Kommandozeilenargument `--parser=parse.y`. + +## Die Socket-Bibliothek unterstützt jetzt Happy Eyeballs Version 2 (RFC 8305) + +Die Socket-Bibliothek unterstützt jetzt [Happy Eyeballs Version 2 (RFC 8305)](https://datatracker.ietf.org/doc/html/rfc8305), die neueste standardisierte Version eines weit verbreiteten Ansatzes für bessere Konnektivität in vielen Programmiersprachen, in `TCPSocket.new` (`TCPSocket.open`) und `Socket.tcp`. + +Diese Verbesserung ermöglicht Ruby, effiziente und zuverlässige Netzwerkverbindungen anzubieten, die an moderne Internetumgebungen angepasst sind. + +Bis Ruby 3.3 wurden Namensauflösung und Verbindungsversuche seriell durchgeführt. Mit diesem Algorithmus funktionieren sie nun wie folgt: + +1. Gleichzeitige Ausführung von IPv6- und IPv4-Namensauflösung +2. Verbindungsversuche mit den aufgelösten IP-Adressen, wobei IPv6 priorisiert wird, mit parallelen Versuchen im Abstand von 250ms +3. Rückgabe der ersten erfolgreichen Verbindung, während alle anderen abgebrochen werden + +Dies minimiert Verbindungsverzögerungen, selbst wenn ein bestimmtes Protokoll oder eine bestimmte IP-Adresse verzögert oder nicht verfügbar ist. + +Diese Funktion ist standardmäßig aktiviert, sodass keine zusätzliche Konfiguration erforderlich ist. Um sie global zu deaktivieren, setzen Sie die Umgebungsvariable `RUBY_TCP_NO_FAST_FALLBACK=1` oder rufen Sie `Socket.tcp_fast_fallback=false` auf. Um sie auf Methodenebene zu deaktivieren, verwenden Sie das Schlüsselwortargument `fast_fallback: false`. + +## YJIT + +### TL;DR + +- Bessere Leistung bei den meisten Benchmarks auf den Plattformen x86-64 und arm64. +- Reduzierter Speicherverbrauch durch komprimierte Metadaten und ein einheitliches Speicherlimit. +- Verschiedene Fehlerbehebungen: YJIT ist jetzt robuster und gründlicher getestet. + +### Neue Funktionen + +- Kommandozeilenoptionen + - `--yjit-mem-size` führt ein einheitliches Speicherlimit ein (Standard 128 MiB), um die gesamte YJIT-Speichernutzung zu verfolgen, und bietet eine intuitivere Alternative zur alten Option `--yjit-exec-mem-size`. + - `--yjit-log` aktiviert ein Kompilierungsprotokoll, um nachzuverfolgen, was kompiliert wird. +- Ruby-API + - `RubyVM::YJIT.log` bietet Zugriff auf das Ende des Kompilierungsprotokolls zur Laufzeit. +- YJIT-Statistiken + - `RubyVM::YJIT.runtime_stats` liefert jetzt immer zusätzliche Statistiken zu Invalidierung, Inline-Verarbeitung und Metadaten-Codierung. + +### Neue Optimierungen + +- Komprimierter Kontext reduziert den Speicherbedarf für die Speicherung von YJIT-Metadaten +- Register für lokale Variablen und Ruby-Methodenargumente zuweisen +- Wenn YJIT aktiviert ist, werden mehr in Ruby geschriebene Kernprimitive verwendet: + - `Array#each`, `Array#select`, `Array#map` wurden in Ruby neu geschrieben, um die Leistung zu verbessern [[Feature #20182]]. +- Möglichkeit, kleine/triviale Methoden zu inlinen, wie z. B.: + - Leere Methoden + - Methoden, die eine Konstante zurückgeben + - Methoden, die `self` zurückgeben + - Methoden, die direkt ein Argument zurückgeben +- Spezialisiertes Codegen für viele weitere Laufzeitmethoden +- Optimierung von `String#getbyte`, `String#setbyte` und anderen String-Methoden +- Optimierung von bitweisen Operationen zur Beschleunigung der Low-Level-Bit/Byte-Manipulation +- Unterstützung von teilbaren Konstanten im Multi-Ractor-Modus +- Verschiedene andere inkrementelle Optimierungen + +## Modularer GC + +- Alternative Implementierungen für den Garbage Collector (GC) können durch die modulare Garbage-Collector-Funktion dynamisch geladen werden. Um diese Funktion zu aktivieren, konfigurieren Sie Ruby zur Build-Zeit mit `--with-modular-gc`. GC-Bibliotheken können zur Laufzeit mithilfe der Umgebungsvariable `RUBY_GC_LIBRARY` geladen werden. [[Feature #20351]] + +- Der eingebaute Garbage Collector von Ruby wurde in eine separate Datei unter `gc/default/default.c` ausgelagert und interagiert über eine in `gc/gc_impl.h` definierte API mit Ruby. Der eingebaute Garbage Collector kann jetzt auch als Bibliothek gebaut werden, indem `make modular-gc MODULAR_GC=default` verwendet wird, und kann mit der Umgebungsvariable `RUBY_GC_LIBRARY=default` aktiviert werden. [[Feature #20470]] + +- Eine experimentelle GC-Bibliothek basierend auf [MMTk](https://www.mmtk.io/) wird bereitgestellt. Diese GC-Bibliothek kann mit `make modular-gc MODULAR_GC=mmtk` gebaut und mit der Umgebungsvariable `RUBY_GC_LIBRARY=mmtk` aktiviert werden. Dies erfordert die Rust-Toolchain auf der Build-Maschine. [[Feature #20860]] + +## Sprachänderungen + +- String-Literale in Dateien ohne einen `frozen_string_literal`-Kommentar geben jetzt eine Deprecation-Warnung aus, wenn sie mutiert werden. Diese Warnungen können mit `-W:deprecated` oder durch Setzen von `Warning[:deprecated] = true` aktiviert werden. Um diese Änderung zu deaktivieren, können Sie Ruby mit dem Kommandozeilenargument `--disable-frozen-string-literal` ausführen. [[Feature #20205]] + +- Keyword-Splatting von `nil` beim Aufrufen von Methoden wird jetzt unterstützt. `**nil` wird ähnlich wie `**{}` behandelt, übergibt keine Schlüsselwörter und ruft keine Konvertierungsmethoden auf. [[Bug #20064]] + +- Die Blockübergabe ist im Index nicht mehr erlaubt. [[Bug #19918]] + +- Keyword-Argumente sind im Index nicht mehr erlaubt. [[Bug #20218]] + +- Der Toplevel-Name `::Ruby` ist jetzt reserviert, und die Definition wird vewarnt, wenn `Warning[:deprecated]` aktiviert ist. [[Feature #20884]] + +## Updates für Kernklassen + +Hinweis: Es werden nur bemerkenswerte Updates der Kernklassen aufgeführt. + +- Exception + + - `Exception#set_backtrace` akzeptiert jetzt ein Array von `Thread::Backtrace::Location`. + Auch `Kernel#raise`, `Thread#raise` und `Fiber#raise` akzeptieren dieses neue Format. [[Feature #13557]] + +- GC + + - `GC.config` hinzugefügt, um Konfigurationsvariablen für den Garbage Collector zu setzen. [[Feature #20443]] + + - Der GC-Konfigurationsparameter `rgengc_allow_full_mark` wird eingeführt. Wenn `false`, markiert GC nur junge Objekte. Standardwert ist `true`. [[Feature #20443]] + +- Ractor + + - `require` in einem Ractor ist erlaubt. Der Ladeprozess wird im Haupt-Ractor ausgeführt. + `Ractor._require(feature)` wurde hinzugefügt, um den Ladeprozess im Haupt-Ractor auszuführen. [[Feature #20627]] + + - `Ractor.main?` wurde hinzugefügt. [[Feature #20627]] + + - `Ractor.[]` und `Ractor.[]=` wurden hinzugefügt, um auf den ractor-lokalen Speicher des aktuellen Ractors zuzugreifen. [[Feature #20715]] + + - `Ractor.store_if_absent(key){ init }` wurde hinzugefügt, um ractor-lokale Variablen threadsicher zu initialisieren. [[Feature #20875]] + +- Range + + - `Range#size` löst jetzt `TypeError` aus, wenn der Bereich nicht iterierbar ist. [[Misc #18984]] + +## Updates der Standardbibliothek + +Hinweis: Es werden nur erwähnenswerte Updates der Standardbibliotheken aufgeführt. + +- RubyGems + + - Option `--attestation` zu `gem push` hinzugefügt. Sie ermöglicht das Speichern von Signaturen bei [sigstore.dev]. + +- Bundler + + - Eine `lockfile_checksums`-Konfiguration wurde hinzugefügt, um Prüfsummen in neue Lockfiles einzuschließen. + - `bundle lock --add-checksums` wurde hinzugefügt, um Prüfsummen zu einem bestehenden Lockfile hinzuzufügen. + +- JSON + + - Leistungsverbesserungen von `JSON.parse`, etwa 1,5-mal schneller als json in Version 2.7.x. + +- Tempfile + + - Das Schlüsselwortargument `anonymous: true` wurde für `Tempfile.create` implementiert. + `Tempfile.create(anonymous: true)` entfernt die erstellte temporäre Datei sofort. + Anwendungen müssen die Datei daher nicht mehr entfernen. [[Feature #20497]] + +- win32/sspi.rb + + - Diese Bibliothek wurde aus dem Ruby-Repository nach [ruby/net-http-sspi] extrahiert. [[Feature #20775]] + +## Kompatibilitätsprobleme + +Hinweis: Ausgenommen Fehlerbehebungen bei Funktionen. + +- Fehlermeldungen und Backtrace-Anzeigen wurden geändert. + + - Ein einfacher Anführungsstrich wird anstelle eines Backticks als öffnendes Anführungszeichen verwendet. [[Feature #16495]] + - Ein Klassenname wird vor einem Methodennamen angezeigt (nur wenn die Klasse einen permanenten Namen hat). [[Feature #19117]] + - Methoden von `Kernel#caller`, `Thread::Backtrace::Location` usw. wurden entsprechend geändert. + + ``` + Alt: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + Neu: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +- Die Darstellung von Hash#inspect wurde geändert. [[Bug #20433]] + + - Symbolschlüssel werden im modernen Symbolschlüssel-Syntax angezeigt: `"{user: 1}"` + - Andere Schlüssel haben jetzt Leerzeichen um `=>`: `'{"user" => 1}'`, während vorher keine da waren: `'{"user"=>1}'` + +- Kernel#Float() akzeptiert jetzt Dezimalzeichenketten ohne Dezimalteil. [[Feature #20705]] + + ```rb + Float("1.") #=> 1.0 (zuvor wurde ein ArgumentError ausgelöst) + Float("1.E-1") #=> 0.1 (zuvor wurde ein ArgumentError ausgelöst) + ``` + +- String#to_f akzeptiert jetzt Dezimalzeichenketten ohne Dezimalteil. Beachten Sie, dass sich das Ergebnis ändert, wenn ein Exponent angegeben wird. [[Feature #20705]] + + ```rb + "1.".to_f #=> 1.0 + "1.E-1".to_f #=> 0.1 (zuvor wurde 1.0 zurückgegeben) + ``` + +- Refinement#refined_class wurde entfernt. [[Feature #19714]] + +## Kompatibilitätsprobleme in der Standardbibliothek + +- DidYouMean + + - `DidYouMean::SPELL_CHECKERS[]=` und `DidYouMean::SPELL_CHECKERS.merge!` wurden entfernt. + +- Net::HTTP + + - Die folgenden veralteten Konstanten wurden entfernt: + + - `Net::HTTP::ProxyMod` + - `Net::NetPrivate::HTTPRequest` + - `Net::HTTPInformationCode` + - `Net::HTTPSuccessCode` + - `Net::HTTPRedirectionCode` + - `Net::HTTPRetriableCode` + - `Net::HTTPClientErrorCode` + - `Net::HTTPFatalErrorCode` + - `Net::HTTPServerErrorCode` + - `Net::HTTPResponseReceiver` + - `Net::HTTPResponceReceiver` + + Diese Konstanten wurden seit 2012 als veraltet markiert. + +- Timeout + + - Negative Werte für Timeout.timeout werden abgelehnt. [[Bug #20795]] + +- URI + + - Standardparser wurde von RFC 2396-konform auf RFC 3986-konform umgestellt. + [[Bug #19266]] + +## C-API-Updates + +- `rb_newobj` und `rb_newobj_of` (sowie die entsprechenden Makros `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) wurden entfernt. [[Feature #20265]] +- Die veraltete Funktion `rb_gc_force_recycle` wurde entfernt. [[Feature #18290]] + +## Sonstige Änderungen + +- Wenn ein Block an eine Methode übergeben wird, die den Block nicht nutzt, wird im verbosen Modus (`-w`) eine Warnung angezeigt. + [[Feature #15554]] + +- Die Neudefinition einiger Kernmethoden, die speziell durch den Interpreter + und JIT optimiert wurden, wie `String.freeze` oder `Integer#+`, gibt jetzt eine Performance-Warnung aus (`-W:performance` oder `Warning[:performance] = true`). + [[Feature #20429]] + +Siehe [NEWS](https://docs.ruby-lang.org/en/3.4/NEWS_md.html) +oder [Commit-Logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +für weitere Details. + +Mit diesen Änderungen wurden [{{ release.stats.files_changed }} Dateien geändert, {{ release.stats.insertions }} Einfügungen(+), {{ release.stats.deletions }} Löschungen(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +seit Ruby 3.3.0! + +Frohe Weihnachten, schöne Feiertage und viel Spaß beim Programmieren mit Ruby 3.4! + +## Download + +- <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +- <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +- <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby wurde erstmals 1993 von Matz (Yukihiro Matsumoto) entwickelt +und wird jetzt als Open Source entwickelt. Es läuft auf mehreren Plattformen +und wird weltweit vor allem für die Webentwicklung verwendet. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19266]: https://bugs.ruby-lang.org/issues/19266 +[Feature #19714]: https://bugs.ruby-lang.org/issues/19714 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20443]: https://bugs.ruby-lang.org/issues/20443 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20497]: https://bugs.ruby-lang.org/issues/20497 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20620]: https://bugs.ruby-lang.org/issues/20620 +[Feature #20627]: https://bugs.ruby-lang.org/issues/20627 +[Feature #20705]: https://bugs.ruby-lang.org/issues/20705 +[Feature #20715]: https://bugs.ruby-lang.org/issues/20715 +[Feature #20775]: https://bugs.ruby-lang.org/issues/20775 +[Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 +[Feature #20875]: https://bugs.ruby-lang.org/issues/20875 +[Feature #20884]: https://bugs.ruby-lang.org/issues/20884 +[sigstore.dev]: sigstore.dev +[ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi From 4a1346abf55b1f68e997f46b327561b2b2ac6d6f Mon Sep 17 00:00:00 2001 From: Thomas Ritter Date: Sun, 29 Dec 2024 22:47:34 +0100 Subject: [PATCH 2434/2563] Review --- de/news/_posts/2024-12-25-ruby-3-4-0-released.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/de/news/_posts/2024-12-25-ruby-3-4-0-released.md b/de/news/_posts/2024-12-25-ruby-3-4-0-released.md index ad10c2f8e1..e1abbff391 100644 --- a/de/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/de/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -99,7 +99,7 @@ Diese Funktion ist standardmäßig aktiviert, sodass keine zusätzliche Konfigur - Keyword-Argumente sind im Index nicht mehr erlaubt. [[Bug #20218]] -- Der Toplevel-Name `::Ruby` ist jetzt reserviert, und die Definition wird vewarnt, wenn `Warning[:deprecated]` aktiviert ist. [[Feature #20884]] +- Der Toplevel-Name `::Ruby` ist jetzt reserviert, und die Definition wird verwarnt, wenn `Warning[:deprecated]` aktiviert ist. [[Feature #20884]] ## Updates für Kernklassen @@ -129,7 +129,7 @@ Hinweis: Es werden nur bemerkenswerte Updates der Kernklassen aufgeführt. - Range - - `Range#size` löst jetzt `TypeError` aus, wenn der Bereich nicht iterierbar ist. [[Misc #18984]] + - `Range#size` löst jetzt einen `TypeError` aus, wenn der Bereich nicht iterierbar ist. [[Misc #18984]] ## Updates der Standardbibliothek @@ -180,7 +180,7 @@ Hinweis: Ausgenommen Fehlerbehebungen bei Funktionen. - Die Darstellung von Hash#inspect wurde geändert. [[Bug #20433]] - - Symbolschlüssel werden im modernen Symbolschlüssel-Syntax angezeigt: `"{user: 1}"` + - Symbolschlüssel werden in der modernen Symbolschlüssel-Syntax angezeigt: `"{user: 1}"` - Andere Schlüssel haben jetzt Leerzeichen um `=>`: `'{"user" => 1}'`, während vorher keine da waren: `'{"user"=>1}'` - Kernel#Float() akzeptiert jetzt Dezimalzeichenketten ohne Dezimalteil. [[Feature #20705]] @@ -255,7 +255,7 @@ seit Ruby 3.3.0! Frohe Weihnachten, schöne Feiertage und viel Spaß beim Programmieren mit Ruby 3.4! -## Download +## Herunterladen - <{{ release.url.gz }}> @@ -278,7 +278,7 @@ Frohe Weihnachten, schöne Feiertage und viel Spaß beim Programmieren mit Ruby SHA256: {{ release.sha256.zip }} SHA512: {{ release.sha512.zip }} -## What is Ruby +## Was ist Ruby Ruby wurde erstmals 1993 von Matz (Yukihiro Matsumoto) entwickelt und wird jetzt als Open Source entwickelt. Es läuft auf mehreren Plattformen From a17c89bff1e821457dbf1a8a23f32d0d46b7d432 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Tue, 19 Nov 2024 20:17:15 -0800 Subject: [PATCH 2435/2563] Updated en/documentation/index.md LOTS of bitrot on this page. Most has been removed but some have been moved down to an "older" section. Added new sections: Manuals / Books, Style Guides, Tools, and revamped the editors section. --- en/documentation/index.md | 264 ++++++++++++++++++++++++++------------ 1 file changed, 181 insertions(+), 83 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index b0ded8f30c..9a400be6d9 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -18,48 +18,56 @@ The authoritative Ruby language documentation at [docs.ruby-lang.org][docs-rlo-e ### Getting Started -[Official FAQ](/en/documentation/faq/) -: The official frequently asked questions. - -[Ruby Koans][2] -: The Koans walk you along the path to enlightenment in order to learn - Ruby. The goal is to learn the Ruby language, syntax, structure, and - some common functions and libraries. We also teach you culture. - -[Why’s (Poignant) Guide to Ruby][5] -: An unconventional but interesting book that will teach you Ruby - through stories, wit, and comics. Originally created by *why the lucky - stiff*, this guide remains a classic for Ruby learners. - -[Ruby Essentials][7] -: A free on-line book designed to provide a concise - and easy to follow guide to learning Ruby. +[Try Ruby][1] +: You can try Ruby right in your browser. [Learn to Program][8] : A wonderful little tutorial by Chris Pine for programming newbies. If you don’t know how to program, start here. -[Learn Ruby the Hard Way][38] -: A very good set of exercises with explanations that guide you from - the absolute basics of Ruby all the way to OOP and web development. +[Ruby in Twenty Minutes][rubyin20] +: A small Ruby tutorial that should take no more than 20 minutes to + complete. -### Manuals +[The Odin Project][odin] +: An open source full stack curriculum -[Programming Ruby][9] -: The seminal work on Ruby in English, this first edition of the - [Pragmatic Programmers’ book][10] is available for free online. +[excercism][exercism] +: 120 exercises with automatic analysis and personal mentoring. -[The Ruby Programming Wikibook][12] -: A free online manual with beginner and intermediate content plus a - thorough language reference. +[Codecademy][codecademy] +: Online code bootcamp with a variety of topics. Freeish. + +### Manuals / Books + +#### Beginner + +[Programming Ruby 3.3][pickaxe] +: The seminal work on Ruby in English. Recently updated to Ruby 3.3. + +[The Well-Grounded Rubyist][grounded] +: A tutorial that begins with your first Ruby program and takes you all the way to sophisticated topics like reflection, threading, and recursion. + +#### Intermediate + +[Practical OOD in Ruby (POODR)][poodr] +: A programmer's tale about how to write object-oriented code. + +#### Expert + +[Metaprogramming][meta] +: Explains metaprogramming in a down-to-earth style. + +[Ruby Under a Microscope (RUM)][microscope] +: An illustrated guide to Ruby internals. ### Reference Documentation -[Official API Documentation][docs-rlo-en] +[Official API Documentation][docs-rlo-en] [(JP)][docs-rlo-jp] : The official Ruby language documentation for different versions including the currently unreleased (trunk) version. -[Ruby C API Reference][extensions] +[Ruby C API Reference][extensions] [(JP)][extensions-jp] : The official introduction to Ruby's C API. Great if you want to write C extensions or contribute to Ruby’s development. @@ -71,6 +79,61 @@ The authoritative Ruby language documentation at [docs.ruby-lang.org][docs-rlo-e [RubyAPI.org][rubyapi-org] : Easily find and browse Ruby classes, modules, and methods. +[ruby-doc.org][39] +: Online API documentation + +[DevDocs.io][40] +: Online API documentation + +[Ruby QuickRef][42] +: The Ruby quick reference + +[rubyreferences][43] +: A full language reference + detailed language changelog. Fantastic. + +### Style Guides + +[rubystyle.guide][44] +: RuboCop's Ruby style guide + +[RuboCop][45] +: Automated enforcement of their style guide. + +[Shopify][46] +: Shopify's Ruby style guide + +[GitLab][47] +: Gitlab's Ruby style guide + +[Airbnb][48] +: Airbnb's Ruby style guide + +[w3resource][49] +: W3's Ruby style guide + +# Tools + +[IRB][50] +: The interactive Ruby Read-Eval-Print-Loop (REPL) + +[Pry][51] +: An alternative Ruby REPL + +[Rake][52] +: A make-like build utility for Ruby. + +[RI][53] +: (Ruby Information) is the Ruby command-line utility that gives fast and easy on-line access to Ruby documentation. + +[RBS][54] +: Type Signature for Ruby + +[TypeProf][55] +: An experimental type-level Ruby interpreter for testing and understanding Ruby code. + +[Steep][56] +: Static type checker for Ruby. + ### Editors and IDEs For coding in Ruby, you can use the default editor of your operating @@ -79,71 +142,106 @@ syntax-highlighting, file browsing) or an integrated development environment with advanced features (e.g. code completion, refactoring, testing support). -Here is a list of popular tools used by Rubyists: - -* Linux and cross-platform tools: - * [Aptana Studio][19] - * [Atom][atom] - * [Emacs][20] with [Ruby mode][21] and [Rsense][22] - * [Eric][eric] - * [Geany][23] - * [gedit][24] - * [Kate][kate] - * [KDevelop][kdevelop] - * [NetBeans][36] - * [RubyMine][27] - * [SciTe][28] - * [Sublime Text][37] - * [Vim][25] with [vim-ruby][26] plugin and [Rsense][22] +Here is a list of popular editors used by Rubyists, broken up by +learning curve: + +* Days + * [Sublime Text][37] (paid) * [Visual Studio Code][vscode] + * [Zed][zed] +* Months + * [RubyMine][27] (paid) +* "Years" (as in, you'll spend years still learning things about it) + * [Emacs][20] with [Ruby mode][21] or [Enhanced Ruby mode][enh-ruby-mode] + * [Vim][25] with [vim-ruby][26] plugin + * [NeoVim][neovim] + +All of these editors support the Language Server Protocol (LSP), +either by default or through their LSP plugins. Shopify's +[ruby-lsp][ruby-lsp] is one of the most popular language servers for +Ruby and [supports all of the above editors][shopify_lsp]. + +### Older Reading / Resources + +These links were more prominent but haven't been updated in ages. + +[Ruby Koans][2] +: The Koans walk you along the path to enlightenment in order to learn + Ruby. The goal is to learn the Ruby language, syntax, structure, and + some common functions and libraries. We also teach you culture. + +[Ruby Essentials][7] +: A free on-line book designed to provide a concise + and easy to follow guide to learning Ruby. -* On Windows: - * [Notepad++][29] +[Why’s (Poignant) Guide to Ruby][5] +: An unconventional but interesting book that will teach you Ruby + through stories, wit, and comics. Originally created by *why the lucky + stiff*, this guide remains a classic for Ruby learners. -* On macOS: - * [TextMate][32] - * [BBEdit][33] - * [Dash][39] (documentation browser) +[Learn Ruby the Hard Way][38] +: A very good set of exercises with explanations that guide you from + the absolute basics of Ruby all the way to OOP and web development. -### Further Reading +[Programming Ruby][9] +: The seminal work on Ruby in English, this first edition of the + [Pragmatic Programmers’ book][10] is available for free online. -[Ruby-doc.org][34] maintains a comprehensive list of English -documentation sources. -If you have questions about Ruby the -[mailing list](/en/community/mailing-lists/) is a great place to start. +[The Ruby Programming Wikibook][12] +: A free online manual with beginner and intermediate content plus a + thorough language reference. [1]: https://try.ruby-lang.org/ [2]: https://rubykoans.com/ [5]: https://poignant.guide -[7]: http://www.techotopia.com/index.php/Ruby_Essentials -[8]: http://pine.fm/LearnToProgram/ -[9]: http://www.ruby-doc.org/docs/ProgrammingRuby/ +[7]: https://www.techotopia.com/index.php/Ruby_Essentials +[8]: https://pine.fm/LearnToProgram/ +[9]: https://www.ruby-doc.org/docs/ProgrammingRuby/ [10]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ -[12]: http://en.wikibooks.org/wiki/Ruby_programming_language -[extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html -[16]: http://www.rubydoc.info/ -[rubyapi-org]: https://rubyapi.org/ -[19]: http://www.aptana.com/ -[20]: http://www.gnu.org/software/emacs/ -[21]: http://www.emacswiki.org/emacs/RubyMode -[22]: http://rsense.github.io/ -[23]: http://www.geany.org/ -[24]: http://projects.gnome.org/gedit/screenshots.html -[25]: http://www.vim.org/ +[12]: https://en.wikibooks.org/wiki/Ruby_programming_language +[16]: https://www.rubydoc.info/ +[20]: https://www.gnu.org/software/emacs/ +[21]: https://www.emacswiki.org/emacs/RubyMode +[25]: https://www.vim.org/ [26]: https://github.com/vim-ruby/vim-ruby -[27]: http://www.jetbrains.com/ruby/ -[28]: http://www.scintilla.org/SciTE.html -[29]: http://notepad-plus-plus.org/ -[32]: http://macromates.com/ -[33]: https://www.barebones.com/products/bbedit/ -[34]: http://ruby-doc.org -[36]: https://netbeans.org/ -[37]: http://www.sublimetext.com/ +[27]: https://www.jetbrains.com/ruby/ +[34]: https://ruby-doc.org/ +[37]: https://www.sublimetext.com/ [38]: https://learncodethehardway.org/ruby/ -[39]: http://kapeli.com/dash -[docs-rlo-en]: https://docs.ruby-lang.org/en/ -[atom]: https://atom.io/ +[39]: https://www.ruby-doc.org/ +[40]: https://devdocs.io/ruby/ +[42]: https://www.zenspider.com/ruby/quickref.html +[43]: https://rubyreferences.github.io/ +[44]: https://rubystyle.guide/ +[45]: https://github.com/rubocop/ruby-style-guide +[46]: https://ruby-style-guide.shopify.dev/ +[47]: https://docs.gitlab.com/ee/development/backend/ruby_style_guide.html +[48]: https://github.com/airbnb/ruby +[49]: https://www.w3resource.com/ruby/ruby-style-guide.php +[50]: https://github.com/ruby/irb +[51]: https://github.com/pry/pry +[52]: https://github.com/ruby/rake +[53]: https://ruby.github.io/rdoc/RI_md.html +[54]: https://github.com/ruby/rbs +[55]: https://github.com/ruby/typeprof +[56]: https://github.com/soutaro/steep +[codecademy]: https://www.codecademy.com/learn/learn-ruby +[docs-rlo-en]: https://docs.ruby-lang.org/en/latest +[docs-rlo-jp]: https://docs.ruby-lang.org/ja/latest +[enh-ruby-mode]: https://github.com/zenspider/enhanced-ruby-mode/ +[exercism]: https://exercism.org/tracks/ruby +[extensions-jp]: https://docs.ruby-lang.org/jp/master/extension_rdoc.html +[extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html +[grounded]: https://www.manning.com/books/the-well-grounded-rubyist-third-edition +[meta]: https://pragprog.com/titles/ppmetr2/metaprogramming-ruby-2/ +[microscope]: https://patshaughnessy.net/ruby-under-a-microscope +[neovim]: https://neovim.io/ +[odin]: https://www.theodinproject.com/paths/full-stack-ruby-on-rails/courses/ruby +[pickaxe]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ +[poodr]: https://www.poodr.com/ +[ruby-lsp]: https://github.com/Shopify/ruby-lsp +[rubyapi-org]: https://rubyapi.org/ +[rubyin20]: https://www.ruby-lang.org/en/documentation/quickstart/ +[shopify_lsp]: https://shopify.github.io/ruby-lsp/editors.html) [vscode]: https://code.visualstudio.com/docs/languages/ruby -[eric]: https://eric-ide.python-projects.org/ -[kdevelop]: https://www.kdevelop.org/ -[kate]: https://kate-editor.org/ +[zed]: https://zed.dev/ From 8269e75f6c25e714a9b009e394b6547ecfd39539 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 26 Dec 2024 23:17:41 +0800 Subject: [PATCH 2436/2563] Translate Ruby 3.4.0 and 3.4.1 Released (zh_tw) --- .../_posts/2024-12-25-ruby-3-4-0-released.md | 323 ++++++++++++++++++ .../_posts/2024-12-25-ruby-3-4-1-released.md | 39 +++ 2 files changed, 362 insertions(+) create mode 100644 zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md create mode 100644 zh_tw/news/_posts/2024-12-25-ruby-3-4-1-released.md diff --git a/zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md b/zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md new file mode 100644 index 0000000000..5ce56cbe79 --- /dev/null +++ b/zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -0,0 +1,323 @@ +--- +layout: news_post +title: "Ruby 3.4.0 發布" +author: "naruse" +translator: "Bear Su" +date: 2024-12-25 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.4.0" | first %} +我們很高興宣布 Ruby {{ release.version }} 發佈了。 Ruby 3.4 加入了 `it` 區塊參數參考變數, +將 Prism 作為預設的解析氣,為 socket 函式庫加入 Happy Eyeballs Version 2 支援,改進 YJIT,加入 Modular GC,與其他更多. + +## 導入 `it` + +加入 `it` 參考沒有變數名稱的區塊參數。 [[Feature #18980]] + +```ruby +ary = ["foo", "bar", "baz"] + +p ary.map { it.upcase } #=> ["FOO", "BAR", "BAZ"] +``` + +`it` 行為與 `_1` 類似。當意圖在區塊中只想使用 `_1` 時,其他編號的參數例如 `_2` 也可能會出現,這會對讀者造成額外的認知負擔。因此 `it` 被導入作為一個方便的別名。在使用 `it` 能表示自身的簡單情境下使用 `it`,例如在單行區塊中。 + +## Prism 先在是預設解析器 + +預設的解析器從 parse.y 切換為 Prism。 [[Feature #20564]] + +這是一項內部改進,使用者應該看不到什麼變化。如果您發現任何相容性問題,請向我們回報。 + +若要使用傳統的解析器,請使用指令列參數 `--parser=parse.y`。 + +## socket 函式庫新功能 Happy Eyeballs Version 2 (RFC 8305) + +socket 函式庫引入新功能[Happy Eyeballs 版本2 (RFC 8305)](https://datatracker.ietf.org/doc/html/rfc8305),這是在許多程式語言廣泛採用實現更好連接的最新標準化版本,在 `TCPSocket.new`(`TCPSocket.open`)和 `Socket.tcp`。 +這項改進使 Ruby 能夠提供高效、可靠的網路連接,適應現代網路環境。 + +在 Ruby 3.3 之前,這些方法會連續執行名稱解析和連接。透過該演算法,它們現在的運作方式如下: + +1. 同時執行 IPv6 和 IPv4 名稱解析 +2. 嘗試連接已解析的 IP 位址,優先考慮 IPv6,並以 250 毫秒間隔錯開平行連線嘗試。 +3. 回傳第一個成功的連接,同時取消任何其他連接 + +這樣可確保即使特定協定或 IP 位址發生延遲或不可用,也能將連線延遲降至最低。 + +此功能預設為啟用,因此無需額外設定即可使用。若要全域停用此功能,請設定環境變數 `RUBY_TCP_NO_FAST_FALLBACK=1` 或呼叫 `Socket.tcp_fast_fallback=false`。或者,若要針對單一方法停用此功能,請使用關鍵字引數 `fast_fallback: false`。 + +## YJIT + +### TL;DR + +* 在 x86-64 與 arn64 平台上的大多數基準測試都有更好的效能 +* 減少編輯後設資料的的記憶體用量 +* 修復多個錯誤。YJIT 現在更加勇健且有更好的測試。 + +### 新功能 + +* 指令列選項 + * 透過 `--yjit-mem-size` 指令選項新增統一記憶體限制 (預設 128MiB),該功能追蹤總 YJIT 記憶體用量,而且比舊的 `--yjit-exec-mem-size` 更為直觀 + * 透過 `--yjit-log` 加入編譯紀錄來追蹤哪些被編譯 +* Ruby API + * 可以在運行環境透過 `RubyVM::YJIT.log` 取得紀錄結尾 +* YJIT stats + * 現在總是可以透過 `RubyVM::YJIT.runtime_stats` 取得更多統計數據: + invalidation、inlining、和 metadata encoding。 + +### 新的改善 + +* 透過壓縮上下文來減少儲存 YJIT 後設資料所需的記憶體空間 +* 改善後的分配器能為本地變數分配暫存器 +* 當啟用 YJIT 時,使用更多用 Ruby 邊寫的核心程式: + * 使用 Ruby 改寫`Array#each`、`Array#select`、`Array#map` 提高效能 [[Feature #20182]]. +* 能夠內聯小型/簡單的方法,例如: + * 空方法 + * 回傳常數的方法 + * 回傳 `self` 的方法 + * 直接回傳參數的方法 +* 適用於更多執行環境方法的程式碼產生器 +* 改善 `String#getbyte`、`String#setbyte` 和其他字串方法 +* 改善位元計算來加速低階位元/位元組操作 +* 各種其他的增量改善 + +## 模組化垃圾收集器 + +* 模組化垃圾收集器功能可以動態載入替代垃圾收集器實作。 + 要啟用該功能,在建置 Ruby 時設定 `--with-modular-gc`。 + 垃圾收集器函式庫可以在運行環境使用環境變數 `RUBY_GC_LIBRARY` 載入。 + [[Feature #20351]] + +* Ruby 內建的垃圾收集器已經切分成不同的檔案 `gc/default/default.c`,並使用在 `gc/gc_impl.h` 定義的 API 與 Ruby 互動。 + 內建的垃圾收集器現在也可以用 `make modular-gc MODULAR_GC=default` 建置為函式庫,並使用環境變數 `RUBY_GC_LIBRARY=default` 啟用。[[Feature #20470]] + +* 基於 [MMTk](https://www.mmtk.io/) 提供了一個實驗性的垃圾收集器函式庫。 + 該垃圾收集器函式庫可以使用 `make modular-gc MODULAR_GC=mmtk` 建置,並使用環境變數 `RUBY_GC_LIBRARY=mmtk` 啟用。 + 建置主機上需要有 Rust 工具鏈。[[Feature #20860]] + +## 語法變更 + +* 沒有 `frozen_string_literal` 註解的檔案中的字串文字,現在行為會跟被凍結一樣。如果它們被修改則會發出棄用警告。 + 這些警告可以透過 `-W:deprecated` 或 `Warning[:deprecated] = true` 啟用。 + 若要停用此變更,您可以在執行 Ruby 時加上參數 `--disable-frozen-string-literal`。 [[Feature #20205]] + +* 現在呼叫方法支援使用 Keyword splatting `nil`。 + `**nil` 的處理方式與 `**{}` 類似,不會傳遞 keywords,也不會呼叫任何轉換方法。 [[Bug #20064]] + +* Block passing 不再允許作為索引。 [[Bug #19918]] + +* 不定長度參數不再允許作為索引。 [[Bug #20218]] + +* 頂級名稱 `::Ruby` 現在被保留,且會在 `Warning[:deprecated]` 時警告。 [[Feature #20884]] + +## 核心類別更新 + +注意:我們只列出特別的類別更新。 + +* Exception + + * `Exception#set_backtrace` 現在可接受 `Thread::Backtrace::Location` 陣列。 + `Kernel#raise`、`Thread#raise` 和 `Fiber#raise` 也接受同樣的新格式。 [[Feature #13557]] + +* GC + + * 加入 `GC.config` 允許在垃圾收集器中指定設定變數。[[Feature #20443]] + + * 引入 GC 設定參數 `rgengc_allow_full_mark`。當 `false` GC 只會標記年輕的物件。預設為 `true`。[[Feature #20443]] + +* Ractor + + * 在 Ractor 中允許使用 `require`。該 requiring 程序會在主要 Ractor 執行。 + 加入 `Ractor._require(feature)` 在主要 Ractor 執行 requiring 程序。[[Feature #20627]] + + * 加入 `Ractor.main?`。 [[Feature #20627]] + + * 加入 `Ractor.[]` 和 `Ractor.[]=` 存取目前 Ractor 的 ractor local storage。[[Feature #20715]] + + * 加入 `Ractor.store_if_absent(key){ init }` 在執行緒安全下初始化 ractor 本地變數。[[Feature #20875]] + +* Range + + * `Range#size` 如果 range 無法迭代的話,現在會拋出 `TypeError`。 [[Misc #18984]] + + +## 標準函式庫更新 + +注意:我們只列出特別的標準函式庫更新。 + +* RubyGems + * gem push 新增 `--attestation` 選項。它允許將簽章儲存到 [sigstore.dev] + +* Bundler + * 新增 `lockfile_checksums` 設定,可以在新的 lockfiles 包含 checksums。 + * bundle lock 新增 `--add-checksums` 選項將 checksums 加入到現有的 lockfile + +* JSON + + * `JSON.parse` 比 json-2.7.x 相比效能提升約 1.5 倍。 + +* Tempfile + + * Tempfile.create 實作了關鍵字參數 `anonymous: true`。 + `Tempfile.create(anonymous: true)` 會立即刪除該建立的暫存檔案。 + 因此應用程式不需要自行刪除該檔案。 + [[Feature #20497]] + +* win32/sspi.rb + + * 這個函式庫已從 Ruby 儲存庫分離至 [ruby/net-http-sspi]。 + [[Feature #20775]] + +## 相容性問題 + +注意:不包含功能問題的修正。 + +* 錯誤訊息與 backtrace 的顯示改變。 + * 使用單引號 (`'`) 取代反引號 (`` ` ``) 作為起始引號。 [[Feature #16495]] + * 在方法名稱前顯示類別名稱 (僅當類別有固定名稱時)。 [[Feature #19117]] + * `Kernel#caller`、`Thread::Backtrace::Location` 的方法等等,也做了對應的改變。 + + ``` + 舊: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + 新: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* Hash#inspect 渲染變更。 [[Bug #20433]] + + * 符號鍵將會以現代符號鍵語法顯示: `"{user: 1}"` + * 其他鍵現在會在 `=>` 周圍加上空白:`'{"user" => 1}'`,之前沒有將上空白:`'{"user"=>1}'` + +* Kernel#Float() 現在接受忽略小數位數的數值字串。 [[Feature #20705]] + + ```rb + Float("1.") #=> 1.0 (之前,拋出 ArgumentError) + Float("1.E-1") #=> 0.1 (之前,拋出 ArgumentError) + ``` + +* String#to_f 現在接受忽略小數位數的數值字串。注意指定指數後結果將會改變。[[Feature #20705]] + + ```rb + "1.".to_f #=> 1.0 + "1.E-1".to_f #=> 0.1 (之前,回傳 1.0) + ``` + +* Refinement#refined_class 已被移除。 [[Feature #19714]] + +## 標準函式庫相容性問題 + +* DidYouMean + + * `DidYouMean::SPELL_CHECKERS[]=` 和 `DidYouMean::SPELL_CHECKERS.merge!` 已被移除。 + +* Net::HTTP + + * 移除以下已廢棄的常數: + * `Net::HTTP::ProxyMod` + * `Net::NetPrivate::HTTPRequest` + * `Net::HTTPInformationCode` + * `Net::HTTPSuccessCode` + * `Net::HTTPRedirectionCode` + * `Net::HTTPRetriableCode` + * `Net::HTTPClientErrorCode` + * `Net::HTTPFatalErrorCode` + * `Net::HTTPServerErrorCode` + * `Net::HTTPResponseReceiver` + * `Net::HTTPResponceReceiver` + + 這些常數在 2012 年被廢棄。 + +* Timeout + + * Timeout.timeout 拒絕負數值。 [[Bug #20795]] + +* URI + + * 將預設解析器從 RFC 2396 標準改成 RFC 3986 標準。 + [[Bug #19266]] + +## 更新的 C API + +* `rb_newobj` 和 `rb_newobj_of` (和相對應的巨集 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) 已經被移除。 [[Feature #20265]] +* 移除已廢棄的函式 `rb_gc_force_recycle`。 [[Feature #18290]] + +## 其他變更 + +* 將 block 傳遞給不使用傳入 block 的方法,會在 verbose 模式 (`-w`) 下顯示警告。 + [[Feature #15554]] + +* 當重新定義一些由直譯器與 JIT 特別最佳化的核心方法,例如 `String.freeze` 和 `Integer#+`,現在會發出效能類型警告 (`-W:performance` or `Warning[:performance] = true`)。 + [[Feature #20429]] + +參見 [NEWS](https://docs.ruby-lang.org/en/3.4/NEWS_md.html) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +來了解更多。 + +自 Ruby 3.3.0 以來,計 [{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)。 + +耶誕快樂、佳節愉快,享受與 Ruby 3.4 一起寫程式的時光! + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19266]: https://bugs.ruby-lang.org/issues/19266 +[Feature #19714]: https://bugs.ruby-lang.org/issues/19714 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20443]: https://bugs.ruby-lang.org/issues/20443 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20497]: https://bugs.ruby-lang.org/issues/20497 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20620]: https://bugs.ruby-lang.org/issues/20620 +[Feature #20627]: https://bugs.ruby-lang.org/issues/20627 +[Feature #20705]: https://bugs.ruby-lang.org/issues/20705 +[Feature #20715]: https://bugs.ruby-lang.org/issues/20715 +[Feature #20775]: https://bugs.ruby-lang.org/issues/20775 +[Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 +[Feature #20875]: https://bugs.ruby-lang.org/issues/20875 +[Feature #20884]: https://bugs.ruby-lang.org/issues/20884 +[sigstore.dev]: https://www.sigstore.dev +[ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi diff --git a/zh_tw/news/_posts/2024-12-25-ruby-3-4-1-released.md b/zh_tw/news/_posts/2024-12-25-ruby-3-4-1-released.md new file mode 100644 index 0000000000..541c09fd16 --- /dev/null +++ b/zh_tw/news/_posts/2024-12-25-ruby-3-4-1-released.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "Ruby 3.4.1 發布" +author: "naruse" +translator: "Bear Su" +date: 2024-12-25 00:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.4.1 已經發布了。 + +修復了版本描述。 + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_4_1)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.4.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} From 58e4e3f8b79061d6e416e110365525d9f3c685aa Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 31 Dec 2024 09:56:04 +0800 Subject: [PATCH 2437/2563] Fix typo --- zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md b/zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md index 5ce56cbe79..cc3d72b5e5 100644 --- a/zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/zh_tw/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -9,7 +9,7 @@ lang: zh_tw {% assign release = site.data.releases | where: "version", "3.4.0" | first %} 我們很高興宣布 Ruby {{ release.version }} 發佈了。 Ruby 3.4 加入了 `it` 區塊參數參考變數, -將 Prism 作為預設的解析氣,為 socket 函式庫加入 Happy Eyeballs Version 2 支援,改進 YJIT,加入 Modular GC,與其他更多. +將 Prism 作為預設的解析器,為 socket 函式庫加入 Happy Eyeballs Version 2 支援,改進 YJIT,加入 Modular GC,與其他更多。 ## 導入 `it` From c8d18b9bad775f718752ccda7a51fa99966b9a1c Mon Sep 17 00:00:00 2001 From: Vinicius Stock Date: Tue, 26 Nov 2024 16:28:12 -0500 Subject: [PATCH 2438/2563] Add Rails at scale to the list of blogs Co-authored-by: Stan Lo --- en/community/weblogs/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/en/community/weblogs/index.md b/en/community/weblogs/index.md index ebb5f23ca0..b38a7cb94c 100644 --- a/en/community/weblogs/index.md +++ b/en/community/weblogs/index.md @@ -34,6 +34,8 @@ updates. Ruby on Rails team. If you are running Rails, this blog is essential for notification of security updates and an overall view of the wide Rails community. +* [**Rails at Scale**][rails-at-scale] contains posts discussing much + of the recent work being done to advance both Ruby and Rails. ### Spreading the Word @@ -53,3 +55,4 @@ out there, be sure to share! [reddit]: http://www.reddit.com/r/ruby [hn]: http://news.ycombinator.com/ [short-ruby-newsletter]: https://newsletter.shortruby.com/ +[rails-at-scale]: https://railsatscale.com/ From 4717aa8d54e57032979ba2dfcb11869085868c9d Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Wed, 1 Jan 2025 10:40:41 +0800 Subject: [PATCH 2439/2563] Improve documentation page * Remove unnecessary adjectives * Rework EN documentation section 1. Since ruby-lang.org supports internationalization and has an actively maintained `/ja` version, we don't need to list JA documentation. 2. All official documentation links should be placed in the same section. 3. Fix broken links. Co-authored-by: Jeremy Evans --- en/documentation/index.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 9a400be6d9..0ac929e5db 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -12,9 +12,15 @@ Guides, tutorials, and reference material to help you learn more about Ruby Although you can easily [try Ruby in your browser][1], you can also read the [installation guide](installation/) for help on installing Ruby. -### Ruby Language Documentation +### Official Ruby Documentation -The authoritative Ruby language documentation at [docs.ruby-lang.org][docs-rlo-en] is the place to start if you want to understand Ruby. It covers all aspects of the language and should be the first place you look when learning or referencing Ruby programming language. Other resources listed below are complementary to the official language documentation or they present Ruby documentation in a different format/style/flavor. +[docs.ruby-lang.org/en][docs-rlo]: List of documentation for all Ruby versions released after 2.1. + +[docs.ruby-lang.org/en/3.4][docs-rlo-3.4]: Documentation for Ruby 3.4. + +[docs.ruby-lang.org/en/master][docs-rlo-master]: Documentation for Ruby's master branch. + +[C Extension Guide][docs-rlo-extension]: In-depth guide for creating C extensions for Ruby. ### Getting Started @@ -36,7 +42,7 @@ The authoritative Ruby language documentation at [docs.ruby-lang.org][docs-rlo-e : 120 exercises with automatic analysis and personal mentoring. [Codecademy][codecademy] -: Online code bootcamp with a variety of topics. Freeish. +: Online code bootcamp with a variety of topics. ### Manuals / Books @@ -61,16 +67,9 @@ The authoritative Ruby language documentation at [docs.ruby-lang.org][docs-rlo-e [Ruby Under a Microscope (RUM)][microscope] : An illustrated guide to Ruby internals. -### Reference Documentation - -[Official API Documentation][docs-rlo-en] [(JP)][docs-rlo-jp] -: The official Ruby language documentation for different versions including - the currently unreleased (trunk) version. +### Community Documentation -[Ruby C API Reference][extensions] [(JP)][extensions-jp] -: The official introduction to Ruby's C API. - Great if you want to write C extensions - or contribute to Ruby’s development. +These documentation sites are maintained by the Ruby community. [RubyDoc.info][16] : The one-stop web site for reference documentation about Ruby gems and @@ -89,7 +88,7 @@ The authoritative Ruby language documentation at [docs.ruby-lang.org][docs-rlo-e : The Ruby quick reference [rubyreferences][43] -: A full language reference + detailed language changelog. Fantastic. +: A full language reference + detailed language changelog. ### Style Guides @@ -226,12 +225,12 @@ These links were more prominent but haven't been updated in ages. [55]: https://github.com/ruby/typeprof [56]: https://github.com/soutaro/steep [codecademy]: https://www.codecademy.com/learn/learn-ruby -[docs-rlo-en]: https://docs.ruby-lang.org/en/latest -[docs-rlo-jp]: https://docs.ruby-lang.org/ja/latest +[docs-rlo]: https://docs.ruby-lang.org/en +[docs-rlo-3.4]: https://docs.ruby-lang.org/en/3.4 +[docs-rlo-master]: https://docs.ruby-lang.org/en/master +[docs-rlo-extension]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [enh-ruby-mode]: https://github.com/zenspider/enhanced-ruby-mode/ [exercism]: https://exercism.org/tracks/ruby -[extensions-jp]: https://docs.ruby-lang.org/jp/master/extension_rdoc.html -[extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [grounded]: https://www.manning.com/books/the-well-grounded-rubyist-third-edition [meta]: https://pragprog.com/titles/ppmetr2/metaprogramming-ruby-2/ [microscope]: https://patshaughnessy.net/ruby-under-a-microscope From d9ec129edc8cb40bb1375cc80f4eee2350878cae Mon Sep 17 00:00:00 2001 From: Petr Sabanov Date: Wed, 1 Jan 2025 22:37:05 +0300 Subject: [PATCH 2440/2563] Updated code blocks and Russian text to match newer versions of Ruby. (#3312) Also made stylistic and punctuation corrections for the Russian translation. --- bg/documentation/quickstart/3/index.md | 2 +- de/documentation/quickstart/3/index.md | 2 +- en/documentation/quickstart/3/index.md | 2 +- es/documentation/quickstart/3/index.md | 2 +- fr/documentation/quickstart/3/index.md | 2 +- id/documentation/quickstart/3/index.md | 2 +- it/documentation/quickstart/3/index.md | 2 +- ja/documentation/quickstart/3/index.md | 2 +- ko/documentation/quickstart/3/index.md | 2 +- pl/documentation/quickstart/3/index.md | 2 +- pt/documentation/quickstart/3/index.md | 2 +- ru/documentation/quickstart/2/index.md | 35 +++++++------ ru/documentation/quickstart/3/index.md | 29 +++++----- ru/documentation/quickstart/4/index.md | 64 +++++++++++------------ tr/documentation/quickstart/3/index.md | 2 +- vi/documentation/quickstart/3/index.md | 2 +- zh_cn/documentation/quickstart/3/index.md | 2 +- zh_tw/documentation/quickstart/3/index.md | 2 +- 18 files changed, 80 insertions(+), 78 deletions(-) diff --git a/bg/documentation/quickstart/3/index.md b/bg/documentation/quickstart/3/index.md index e141e02c46..8db142707a 100644 --- a/bg/documentation/quickstart/3/index.md +++ b/bg/documentation/quickstart/3/index.md @@ -97,7 +97,7 @@ irb(main):043:0> g.respond_to?("to_s") irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} В Ruby лесно може да отворим класа отново за модификация. Промените ще diff --git a/de/documentation/quickstart/3/index.md b/de/documentation/quickstart/3/index.md index 436f2fbedd..57c328b987 100644 --- a/de/documentation/quickstart/3/index.md +++ b/de/documentation/quickstart/3/index.md @@ -104,7 +104,7 @@ die Variablen eines Objekts zu gewähren. irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} In Ruby kann man eine Klasse jederzeit verändern. Die Änderungen werden diff --git a/en/documentation/quickstart/3/index.md b/en/documentation/quickstart/3/index.md index 9cdd7a0396..0460376fcb 100644 --- a/en/documentation/quickstart/3/index.md +++ b/en/documentation/quickstart/3/index.md @@ -102,7 +102,7 @@ provides an easy way of providing access to an object’s variables. irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} In Ruby, you can reopen a class and modify it. The changes will diff --git a/es/documentation/quickstart/3/index.md b/es/documentation/quickstart/3/index.md index 550e84b49d..6f0dbbdd80 100644 --- a/es/documentation/quickstart/3/index.md +++ b/es/documentation/quickstart/3/index.md @@ -104,7 +104,7 @@ una forma fácil para permitir acceder a las variables de un objeto. irb(main):044:0> class Anfitrion irb(main):045:1> attr_accessor :nombre irb(main):046:1> end -=> nil +=> [:nombre, :nombre=] {% endhighlight %} En Ruby, puedes volver a abrir una clase y modificarla. Eso no cambia diff --git a/fr/documentation/quickstart/3/index.md b/fr/documentation/quickstart/3/index.md index b9d2d5a791..9c4c3f68dc 100644 --- a/fr/documentation/quickstart/3/index.md +++ b/fr/documentation/quickstart/3/index.md @@ -111,7 +111,7 @@ pour accéder aux variables d’instances : irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} Il semblerait que nous ayons défini une seconde fois la classe diff --git a/id/documentation/quickstart/3/index.md b/id/documentation/quickstart/3/index.md index 6d671adca3..45720828e4 100644 --- a/id/documentation/quickstart/3/index.md +++ b/id/documentation/quickstart/3/index.md @@ -106,7 +106,7 @@ Ruby menyediakan cara yang mudah untuk mengakses variabel objek. irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} Di Ruby, Anda dapat membuka lagi sebuah kelas dan memodifikasi kelas tersebut. diff --git a/it/documentation/quickstart/3/index.md b/it/documentation/quickstart/3/index.md index ce29706244..3f7b14d29d 100644 --- a/it/documentation/quickstart/3/index.md +++ b/it/documentation/quickstart/3/index.md @@ -101,7 +101,7 @@ per permetterci di accedere alle variabili di un oggetto. irb(main):044:0> class PersonaCordiale irb(main):045:1> attr_accessor :nome irb(main):046:1> end -=> nil +=> [:nome, :nome=] {% endhighlight %} In Ruby, puoi aprire una classe e modificarla. I cambiamenti vengono diff --git a/ja/documentation/quickstart/3/index.md b/ja/documentation/quickstart/3/index.md index 127310bf60..00a8b6088a 100644 --- a/ja/documentation/quickstart/3/index.md +++ b/ja/documentation/quickstart/3/index.md @@ -104,7 +104,7 @@ Rubyはオブジェクトの変数にアクセスできる簡単な方法を用 irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} Rubyでは、定義されたクラスをさらに変更できます。 diff --git a/ko/documentation/quickstart/3/index.md b/ko/documentation/quickstart/3/index.md index 0b63154ba3..2c25561c55 100644 --- a/ko/documentation/quickstart/3/index.md +++ b/ko/documentation/quickstart/3/index.md @@ -94,7 +94,7 @@ Ruby는 객체 변수를 접근하게 해주는 편리한 방법을 제공하고 irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} Ruby에서는 클래스를 언제나 열어서 정의를 변경할 수 있습니다. diff --git a/pl/documentation/quickstart/3/index.md b/pl/documentation/quickstart/3/index.md index 78f03b2b72..2cc18c953a 100644 --- a/pl/documentation/quickstart/3/index.md +++ b/pl/documentation/quickstart/3/index.md @@ -101,7 +101,7 @@ nam łatwy dostępn do zmiennych obiektu. irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} W Rubim możesz ponownie otworzyć klasę i zmodyfikować ją. To nie zmienia diff --git a/pt/documentation/quickstart/3/index.md b/pt/documentation/quickstart/3/index.md index dda2230763..bf68c804fc 100644 --- a/pt/documentation/quickstart/3/index.md +++ b/pt/documentation/quickstart/3/index.md @@ -105,7 +105,7 @@ de fornecer acesso às variáveis de um objeto. irb(main):044:0> class Anfitriao irb(main):045:1> attr_accessor :nome irb(main):046:1> end -=> nil +=> [:nome, :nome=] {% endhighlight %} Em Ruby, podemos abrir uma classe novamente e alterá-la. As mudanças estarão diff --git a/ru/documentation/quickstart/2/index.md b/ru/documentation/quickstart/2/index.md index 3607052698..851d7f00a7 100644 --- a/ru/documentation/quickstart/2/index.md +++ b/ru/documentation/quickstart/2/index.md @@ -21,28 +21,29 @@ header: | создать метод! {% highlight irb %} -irb(main):010:0> def h +irb(main):010:0> def hi irb(main):011:1> puts "Hello World!" irb(main):012:1> end -=> nil +=> :hi {% endhighlight %} -Код `def h` означает начало объявление метода. Он говорит Ruby, что мы -определяем метод, имя которого `h`. Следующая строка – тело метода, та +Код `def hi` означает начало объявление метода. Он говорит Ruby, что мы +определяем метод, имя которого `hi`. Следующая строка – тело метода, та же строка, что мы видели раньше: `puts "Hello World"`. И, наконец, последняя строка, `end`, говорит Ruby, что мы завершили объявление -метода. Ответ от Ruby, `=> nil`, говорит нам, что он понял, что мы -завершили объявление метода. +метода. Ответ от Ruby, `=> :hi`, говорит нам, что он понял, что мы +завершили объявление метода. Ответ может быть таким: `=> nil`, в Ruby +версии 2.0 и ниже, но это здесь не важно, поэтому двинемся дальше. ## Кратко о повторяющихся жизнях метода Теперь давайте попробуем вызвать метод несколько раз: {% highlight irb %} -irb(main):013:0> h +irb(main):013:0> hi Hello World! => nil -irb(main):014:0> h() +irb(main):014:0> hi() Hello World! => nil {% endhighlight %} @@ -53,14 +54,14 @@ Hello World! нравится, но это не обязательно. Что если мы хотим сказать hello одному человеку, а не всему миру? -Просто переопределим метод `h`, чтобы он принимал имя как параметр. +Просто переопределим метод `hi`, чтобы он принимал имя как параметр. {% highlight irb %} -irb(main):015:0> def h(name) +irb(main):015:0> def hi(name) irb(main):016:1> puts "Hello #{name}!" irb(main):017:1> end -=> nil -irb(main):018:0> h("Matz") +=> :hi +irb(main):018:0> hi("Matz") Hello Matz! => nil {% endhighlight %} @@ -77,14 +78,14 @@ Hello Matz! большой буквы: {% highlight irb %} -irb(main):019:0> def h(name = "World") +irb(main):019:0> def hi(name = "World") irb(main):020:1> puts "Hello #{name.capitalize}!" irb(main):021:1> end -=> nil -irb(main):022:0> h "chris" +=> :hi +irb(main):022:0> hi "chris" Hello Chris! => nil -irb(main):023:0> h +irb(main):023:0> hi Hello World! => nil {% endhighlight %} @@ -114,7 +115,7 @@ irb(main):031:1> def say_bye irb(main):032:2> puts "Bye #{@name}, come back soon." irb(main):033:2> end irb(main):034:1> end -=> nil +=> :say_bye {% endhighlight %} Новое ключевое слово здесь - `class`. Оно служит для объявления нового diff --git a/ru/documentation/quickstart/3/index.md b/ru/documentation/quickstart/3/index.md index 6bddccc79e..3c741c549f 100644 --- a/ru/documentation/quickstart/3/index.md +++ b/ru/documentation/quickstart/3/index.md @@ -35,9 +35,7 @@ Bye Pat, come back soon. {% highlight irb %} irb(main):038:0> g.@name -SyntaxError: compile error -(irb):52: syntax error - from (irb):52 +SyntaxError: (irb):38: syntax error, unexpected tIVAR, expecting '(' {% endhighlight %} Неа, не можем этого сделать. @@ -53,16 +51,19 @@ SyntaxError: compile error {% highlight irb %} irb(main):039:0> Greeter.instance_methods -=> ["method", "send", "object_id", "singleton_methods", - "__send__", "equal?", "taint", "frozen?", - "instance_variable_get", "kind_of?", "to_a", - "instance_eval", "type", "protected_methods", "extend", - "eql?", "display", "instance_variable_set", "hash", - "is_a?", "to_s", "class", "tainted?", "private_methods", - "untaint", "say_hi", "id", "inspect", "==", "===", - "clone", "public_methods", "respond_to?", "freeze", - "say_bye", "__id__", "=~", "methods", "nil?", "dup", - "instance_variables", "instance_of?"] +=> [:say_hi, :say_bye, :instance_of?, :public_send, + :instance_variable_get, :instance_variable_set, + :instance_variable_defined?, :remove_instance_variable, + :private_methods, :kind_of?, :instance_variables, :tap, + :is_a?, :extend, :define_singleton_method, :to_enum, + :enum_for, :<=>, :===, :=~, :!~, :eql?, :respond_to?, + :freeze, :inspect, :display, :send, :object_id, :to_s, + :method, :public_method, :singleton_method, :nil?, :hash, + :class, :singleton_class, :clone, :dup, :itself, :taint, + :tainted?, :untaint, :untrust, :trust, :untrusted?, :methods, + :protected_methods, :frozen?, :public_methods, + :singleton_methods, :!, :==, :!=, :__send__, :equal?, + :instance_eval, :instance_exec, :__id__] {% endhighlight %} Ого! Это куча методов. А мы объявили всего два. Что здесь происходит? @@ -102,7 +103,7 @@ irb(main):043:0> g.respond_to?("to_s") irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} В Ruby вы можете открыть класс снова и изменить его. Изменения будут diff --git a/ru/documentation/quickstart/4/index.md b/ru/documentation/quickstart/4/index.md index 64cef847e8..8a3bd40ad5 100644 --- a/ru/documentation/quickstart/4/index.md +++ b/ru/documentation/quickstart/4/index.md @@ -47,13 +47,13 @@ end ее значение nil, он просто печатает три точки. Нет смысла приветствовать несуществующее, верно? -## Циклы и повторы – так же известные как итерации +## Циклы и повторы – также известные как итерации -Если объект, записанный в переменной `@names` откликается на метод -`each`, значит он является объектом на котором вы можете итерировать. И -итерируя по нему вы можете приветствовать каждого человека за раз. И -наконец, если `@names` является чем-то совсем другим, просто превратим -ее в строку автоматически и поприветствуем. +Если объект, записанный в переменной `@names`, откликается на метод +`each`, значит он является объектом, на котором вы можете итерировать. +И, итерируя по нему, вы можете приветствовать каждого человека за раз. +И, наконец, если переменная `@names` является чем-то совсем другим, +просто превратим её в строку автоматически и поприветствуем. Давайте взглянем на итератор повнимательнее: @@ -64,14 +64,14 @@ end {% endhighlight %} `each` – это метод, который принимает блок кода и запускает этот блок -кода для каждого элемента в списке. И в примере выше, код между `do` и -`end`, это просто некий блок. Блок это что-то вроде анонимной функции +кода для каждого элемента в списке. И в примере выше код между `do` и +`end` – это просто некий блок. Блок – это что-то вроде анонимной функции или `лямбды`. Переменная между знаками (|) – это параметр для данного блока, как раз тот самый элемент списка, на которым будет производится действие в блоке кода. -Что происходит здесь, это то, что каждая запись в списке, `name`, -привязана к элементу в списке, и таким образом выражение `puts "Hello +Что происходит здесь, это то, что каждая запись в списке – `name` – +привязана к элементу в списке, и, таким образом, выражение `puts "Hello #{name}!"` будет выполнено с этим элементом. Большинство других языков программирования поддерживают прохождение по @@ -86,17 +86,17 @@ for (i=0; i class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} Ruby’de bir sınıfı açıp değiştirebilirsiniz. Yapılan değişiklikler diff --git a/vi/documentation/quickstart/3/index.md b/vi/documentation/quickstart/3/index.md index a1758b39ee..72daba846b 100644 --- a/vi/documentation/quickstart/3/index.md +++ b/vi/documentation/quickstart/3/index.md @@ -101,7 +101,7 @@ truy xuất dữ liệu tới các biến của một đối tượng. irb(main):044:0> class ChàoMừng irb(main):045:1> attr_accessor :tên irb(main):046:1> end -=> nil +=> [:tên, :tên=] {% endhighlight %} Trong Ruby, bạn có thể mở một lớp ở phía trên và sửa nó. Sự thay đổi sẽ xuất diff --git a/zh_cn/documentation/quickstart/3/index.md b/zh_cn/documentation/quickstart/3/index.md index 02f0b446e0..2ab127eb63 100644 --- a/zh_cn/documentation/quickstart/3/index.md +++ b/zh_cn/documentation/quickstart/3/index.md @@ -92,7 +92,7 @@ irb(main):043:0> g.respond_to?("to_s") irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} 在 Ruby 里,您可以把一个类打开然后改变它。这些改变会对以后生成的甚至是已经生成的对象产生即时效果。 下面我们来建一个新的 Greeter diff --git a/zh_tw/documentation/quickstart/3/index.md b/zh_tw/documentation/quickstart/3/index.md index 76715bfe28..55260f7df3 100644 --- a/zh_tw/documentation/quickstart/3/index.md +++ b/zh_tw/documentation/quickstart/3/index.md @@ -92,7 +92,7 @@ irb(main):043:0> g.respond_to?("to_s") irb(main):044:0> class Greeter irb(main):045:1> attr_accessor :name irb(main):046:1> end -=> nil +=> [:name, :name=] {% endhighlight %} 在 Ruby From 5dfae1c611e4c15fa143b8c6ded992d2d0c11162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 1 Jan 2025 15:10:13 -0500 Subject: [PATCH 2441/2563] Translate Ruby 3.4.0 rc1 Released (es) (#3457) --- .../2024-12-12-ruby-3-4-0-rc1-released.md | 224 ++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md diff --git a/es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md new file mode 100644 index 0000000000..5500d098a4 --- /dev/null +++ b/es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -0,0 +1,224 @@ +--- +layout: news_post +title: "Publicado Ruby 3.4.0 rc1" +author: "naruse" +translator: vtamara +date: 2024-12-12 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-rc" | first %} +Nos complace anunciar la publicación de Ruby {{ release.version }}. + +## Prism + +Cambia el analizador sintáctico predeterminado de parse.y a Prism. +[[Característica #20564]] + +## Recolector de basura modular + +* Pueden cargarse dinámicamente implementaciones alternativas del recolector + de basura (__Garbage Collector__ o __GC__) mediante la característica + recolector de basura modular. Para habilitar esta característica + configure Ruby con `--with-modular-gc` durante la compilación. + Las librerías del GC pueden cargarse en tiempo de ejecución con la + variable de ambiente `RUBY_GC_LIBRARY`. [[Característica #20351]] + +* El recolector de basura incorporado en Ruby se ha dividido en un archivo + `gc/default/default.c` que interacuta con Ruby usando la API definida en + `gc/gc_impl.h`. El recolector de basura incorporado ahora puede ser compilado + como librería usando `make modular-gc MODULAR_GC=default` y se habilita + con la variable de ambiente `RUBY_GC_LIBRARY=default`. [[Característica#20470]] + +* Se provee una librería de GC experimental en [MMTk](https://www.mmtk.io/). + Esta librería de GC puede compilarse usando `make modular-gc MODULAR_GC=mmtk` + y se habiita usando la variable de ambiente `RUBY_GC_LIBRARY=mmtk`. + Esto requiere las herramientas de Rust en el computador donde se compila. + [[Característica#20860]] + + +## Cambios en el lenguaje + +* Las cadenas literales en archivos sin el comentario `frozen_string_literal` + ahora emiten una advertencia de deprecación cuando se mutan. + Estas advertencia pueden ser habilitadas con `-W:deprecated` + o estableciendo `Warning[:deprecated] = true`. + Para deshabilitar este cambio, puede ejecutar Ruby con el argumento + `--disable-frozen-string-literal` desde la línea de ordenes. + [[Característica #20205]] + +* `it` se agrega para referenciar un parámetro de bloque. + [[Característica #18980]] + +* Ahora se soporta hacer splat de palabras clave con `nil` cuando se + llaman métodos. + `**nil` se trata de manera similar a `**{}`, no pasar palabras clave, + y no llamar método de conversión alguno. [[Falla #20064]] + +* Ya no se permite pasar bloques como índices. [[Falla #19918]] + +* Ya no se permiten argumentos de palabra clave como índices. [[Falla #20218]] + +## YJIT + +TL;DR: +* Mejor resultado en la mayoría de pruebas de desempeño tanto en plataformas + x86-64 como en arm64. +* Uso de memoria reducido en los meta-datos de compilación. +* Se corrigen diversas fallas. YJIT es ahora más robusto y mejor probado. + +Nuevas características: +* Agrega un límite de memoria unificado mediante la opción en la línea + de ordenes `--yjit-mem-size` (128MiB de manera predeterminada) + que hace seguimiento al uso total de memoria de YJIT y que es más + intuitivo que el anterior `--yjit-exec-mem-size`. +* Ahora hay más estadísticas disponible con `RubyVM::YJIT.runtime_stats` +* Añade a la bitácora de compilación seguimiento de lo que + se ha compilado con `--yjit-log` +* La cola de la bitácora también está disponible en tiempo de ejecución + con `RubyVM::YJIT.log` +* Añade soporte para constantes compartidas en modo multi-ractor. +* Ahora puede hacer seguimiento a la cuenta de salidas con `--yjit-trace-exits=COUNTER` + +Nuevas optimizaciones: +* El contexto comprimido reduce la memoria requerida para almacenar los + metadatos de YJIT. +* Localizador mejorado con la habilidad de localizar registros para + variables locales. +* Cuando YJIT está habilitado, usa más primitivas fundamentales escritas + en Ruby: + * `Array#each`, `Array#select`, `Array#map` reescritas en Ruby para dar + mejor desempeño [[Caracteristica #20182]]. +* Habilidad de ejecutar en línea métodos pequeños/triviales tales como: + * Métodos vacios. + * Métodos que retornan una constante. + * Métodos que retornan self. + * Métodos que retornan directamente un argumento. +* codegen especializado para muchos más métodos en tiempo de ejecución. +* Optimiza `String#getbyte`, `String#setbyte` y otros métodos de string. +* Optimiza operaciones entre bits para hacer más rápidas las manipulaciones de + bits/bytes a bajo nivel. +* Otra optimizaciones incrementales diversas. + +## Clases fundamentales actualizadas + +Nota: Listamos sólo actualizaciones mayores de clases. + +* Exception + + * `Exception#set_backtrace` ahora acepta arreglos de + `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` y `Fiber#raise` también aceptan + este nuevo formato. [[Característica #13557]] + +* Range + + * `Range#size` ahora lanza `TypeError` si el rango no es iterable. + [[Varios #18984]] + + + +## Problemas de compatibilidad + +Nota: Excluyendo correcciones a problemas en características. + +* Los mensajes de error y la presentación de trazas han sido cambiadas. + * Se usa un sólo apóstrofe en lugar de un apostrofe invertido para + iniciar una cita. [[Característica #16495]] + * Se presenta un nombre de clase antes del nombre de un método + (sólo cuando la clase tiene un nombre permanente). [[Característica #19117]] + * También se cambiaron de la manera análoga los métodos `Kernel#caller`, + `Thread::Backtrace::Location`, etc. + + ``` + Antes: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + Ahora: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + + +## Actualizaciones del API en C + +* Se han eliminado `rb_newobj` y `rb_newobj_of` (y los respectivos macros + `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`). + [[Característica #20265]] +* Se eliminó la función despreciada `rb_gc_force_recycle`. + [[Característica #18290]] + +## Cambios diversos + +* Al pasar un bloque a un método que no use el bloque recibido se + presentará una advertencia en modo verboso (`-w`). + [[Característica #15554]] + +* Al redefinir algunos métodos fundamentales que se han optimizado + de manera especial por el interprete y por JIT como `String.freeze` o + `Integer#+` ahora produce una advertencia en la clase de + desempeño (`-W:performance` o `Warning[:performance] = true`). + [[Característica #20429]] + +Vea notas de publicación como las de +[Logger](https://github.com/ruby/logger/releases) o +archivos de cambios (changelog) con detalles de las gemas +predeterminadas y las gemas incluidas. + +Ver más detalles en +[NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +o en la [bitácora de contribuciones](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}). + +Con estas novedades, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +desde Ruby 3.3.0! + + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Qué es Ruby + +Ruby fu desarrollado inicialmente por Matz (Yukihiro Matsumoto) en 1993, +y ahora se desarrolla como Fuentes Abiertas. Corre en múltiples +plataformas y se usa en todo el mundo especialmente para +de desarrollo de aplicaciones web. + +[Característica #13557]: https://bugs.ruby-lang.org/issues/13557 +[Característica #15554]: https://bugs.ruby-lang.org/issues/15554 +[Característica #16495]: https://bugs.ruby-lang.org/issues/16495 +[Característica #18290]: https://bugs.ruby-lang.org/issues/18290 +[Característica #18980]: https://bugs.ruby-lang.org/issues/18980 +[Varios #18984]: https://bugs.ruby-lang.org/issues/18984 +[Característica #19117]: https://bugs.ruby-lang.org/issues/19117 +[Falla #19918]: https://bugs.ruby-lang.org/issues/19918 +[Falla #20064]: https://bugs.ruby-lang.org/issues/20064 +[Característica #20182]: https://bugs.ruby-lang.org/issues/20182 +[Característica #20205]: https://bugs.ruby-lang.org/issues/20205 +[Falla #20218]: https://bugs.ruby-lang.org/issues/20218 +[Característica #20265]: https://bugs.ruby-lang.org/issues/20265 +[Característica #20351]: https://bugs.ruby-lang.org/issues/20351 +[Característica #20429]: https://bugs.ruby-lang.org/issues/20429 +[Característica #20470]: https://bugs.ruby-lang.org/issues/20470 +[Característica #20564]: https://bugs.ruby-lang.org/issues/20564 +[Característica #20860]: https://bugs.ruby-lang.org/issues/20860 From 5feee001a7f0d1169d10d05635f3fd600bedd0fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 1 Jan 2025 15:13:31 -0500 Subject: [PATCH 2442/2563] release (#3458) --- es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md index 5500d098a4..e7112448bf 100644 --- a/es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md +++ b/es/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -7,7 +7,7 @@ date: 2024-12-12 00:00:00 +0000 lang: es --- -{% assign release = site.data.releases | where: "version", "3.4.0-rc" | first %} +{% assign release = site.data.releases | where: "version", "3.4.0-rc1" | first %} Nos complace anunciar la publicación de Ruby {{ release.version }}. ## Prism From 0cb2dd796b79e9640bf893e60c290226ec26a558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 1 Jan 2025 16:44:51 -0500 Subject: [PATCH 2443/2563] Translate Ruby 3.4.0 Released (es) (#3459) --- .../_posts/2024-12-25-ruby-3-4-0-released.md | 427 ++++++++++++++++++ 1 file changed, 427 insertions(+) create mode 100644 es/news/_posts/2024-12-25-ruby-3-4-0-released.md diff --git a/es/news/_posts/2024-12-25-ruby-3-4-0-released.md b/es/news/_posts/2024-12-25-ruby-3-4-0-released.md new file mode 100644 index 0000000000..c995dacd83 --- /dev/null +++ b/es/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -0,0 +1,427 @@ +--- +layout: news_post +title: "Publicado Ruby 3.4.0" +author: "naruse" +translator: vtamara +date: 2024-12-25 00:00:00 +0000 +lang: es +--- + +{% assign release = site.data.releases | where: "version", "3.4.0" | first %} +Nos complace anunciar la publicación de Ruby {{ release.version }}. +Ruby 3.4 añade la referencia a parámetros de bloque `it`, cambia Prism +como analizador sintáctico predeterminado, agrega soporte para +Happy Eyeballs Version 2 a la librería de zócales, mejora YJIT, +agrega recolector de basura modular, y otros cambios. + +## Se introduce `it` + +`it` se agrega para referenciar un parámetro de bloque sin un nombre de +variable. [[Característica #18980]] + +```ruby +ary = ["foo", "bar", "baz"] + +p ary.map { it.upcase } #=> ["FOO", "BAR", "BAZ"] +``` + +`it` se comporta de manera muy similar a `_1`. Cuando la intención es usar +sólo `_1` en un bloque, el potencial de otros parámetros numerados tales +como `_2` aparece para imponer una carga cognitiva extra para los lectores. +Así que `it` se introdujo como un sobrenombre práctico. Use `it` en casos +simples donde `it` hable por si mismo, tales como bloques de una sola linea. + +## Prism es ahora el analizador sintáctico predeterminado + +Cambia el analizador sintáctico predeterminado de parse.y a Prism. +[[Característica #20564]] + +Esta es una mejora interna y debería corresponder a un cambio mínimo +visible al usuario. Si nota algún problema de compatibilidad, por favor +reportelo. + +Para usar el analizador convencional, use el argumento para la línea de +ordenes `--parser=parse.y`. + +## La librería de sockets ahora incluye la característica Happy Eyeballs Version 2 (RFC 8305) + +La librería de sockets ahora incluye [Happy Eyeballs Version 2 (RFC 8305)](https://datatracker.ietf.org/doc/html/rfc8305), +la última versión estandarizada de una aproximación ampliamente adoptada para +mejorar la conectividad en muchos lenguajes de programación, en +`TCPSocket.new` (`TCPSocket.open`) y `Socket.tcp`. +Esta mejora le permite a Ruby proveer conexiones de red eficientes y robustas, +adaptadas a los ambientes de internet modernos. + +Hasta Ruby 3.3, estos métodos efectuaban resolución den nombres e intentos de +conexión de manera serial. Con este algoritmo, estos ahora operan así: + +1. Efectuar la resolución de nombres IPv6 e IPv4 concurrentemente +2. Intentar la conexión con las direcciones IP resueltas, priorizando IPv6, + con intentos en paralelo escalonados en intervalos de 250ms +3. Retornar la primera conexión exitosa mientras cancela cualquier otra + +Esto asegura que se minimizan demoras en la conexión, aún si el protocolo +especificado o la dirección IP se demoran o no están disponible. +Esta característica esta habilita de manera predeterminada, así que no +se requiere configuración adicional para usarla. Para deshabilitarla, +establezca la variable de ambiente `RUBY_TCP_NO_FAST_FALLBACK=1` o llame +`Socket.tcp_fast_fallback=false`. +O deshabilitarlas por método, usando el argumento de palabra clave +`fast_fallback: false`. + +## YJIT + +### TL;DR + +* Mejor resultado en la mayoría de pruebas de desempeño tanto en plataformas + x86-64 como en arm64. +* Uso de memoria reducido mediante meta-datos comprimidos y un límite + de memoria unificado. +* Se corrigen diversas fallas: YJIT es ahora más robusto y mejor probado. + +### Nuevas características + +* Opciones en la línea de ordenes + * `--yjit-mem-size` introudce un límite de memoria unificado + (128MiB predeterminado) para hacer seguimiento al uso total de + memoria de YJIT, siendo una alternativa más intuitiva respecto + a la opción anterior `--yjit-exec-mem-size`. + * `--yjit-log` permite que la bitácora de compilación haga seguimiento + a lo que se compila. +* API de Ruby + * `RubyVM::YJIT.log` da acceso a la cola de la bitácora de compilación + en tiempo de ejecución. +* Estadísticas YJIT + * `RubyVM::YJIT.runtime_stats` ahora da estadísticas adicionales de + invalidación, compilación en línea y codificación de meta-datos. + +### Nuevas optimizaciones + +* Añade soporte para constantes compartidas en modo multi-ractor. +* Ahora puede hacer seguimiento a la cuenta de salidas con + `--yjit-trace-exits=COUNTER` + +### Nuevas optimizaciones: +* El contexto comprimido reduce la memoria requerida para almacenar los + metadatos de YJIT. +* Localiza registros para variables locales y para argumentos de métodos. +* Cuando YJIT está habilitado, usa más primitivas fundamentales escritas + en Ruby: + * `Array#each`, `Array#select`, `Array#map` reescritas en Ruby para dar + mejor desempeño [[Caracteristica #20182]]. +* Habilidad de ejecutar en línea métodos pequeños/triviales tales como: + * Métodos vacios. + * Métodos que retornan una constante. + * Métodos que retornan self. + * Métodos que retornan directamente un argumento. +* Codegen especializado para muchos más métodos en tiempo de ejecución. +* Optimiza `String#getbyte`, `String#setbyte` y otros métodos de string. +* Optimiza operaciones entre bits para acelerar las manipulaciones de + bits/bytes a bajo nivel. +* Otra optimizaciones incrementales diversas. + + +## Recolector de basura modular + +* Pueden cargarse dinámicamente implementaciones alternativas del recolector + de basura (__Garbage Collector__ o __GC__) mediante la característica + recolector de basura modular. Para habilitar esta característica + configure Ruby con `--with-modular-gc` durante la compilación. + Las librerías del GC pueden cargarse en tiempo de ejecución con la + variable de ambiente `RUBY_GC_LIBRARY`. [[Característica #20351]] + +* El recolector de basura incorporado en Ruby se ha dividido en un archivo + `gc/default/default.c` que interacuta con Ruby usando la API definida en + `gc/gc_impl.h`. El recolector de basura incorporado ahora puede ser compilado + como librería usando `make modular-gc MODULAR_GC=default` y se habilita + con la variable de ambiente `RUBY_GC_LIBRARY=default`. [[Característica#20470]] + +* Se provee una librería de GC experimental en [MMTk](https://www.mmtk.io/). + Esta librería de GC puede compilarse usando `make modular-gc MODULAR_GC=mmtk` + y se habiita usando la variable de ambiente `RUBY_GC_LIBRARY=mmtk`. + Esto requiere las herramientas de Rust en el computador donde se compila. + [[Característica#20860]] + + +## Cambios en el lenguaje + +* Las cadenas literales en archivos sin el comentario `frozen_string_literal` + ahora emiten una advertencia de deprecación cuando se mutan. + Estas advertencia pueden ser habilitadas con `-W:deprecated` + o estableciendo `Warning[:deprecated] = true`. + Para deshabilitar este cambio, puede ejecutar Ruby con el argumento + `--disable-frozen-string-literal` desde la línea de ordenes. + [[Característica #20205]] + +* Ahora se soporta hacer splat de palabras clave con `nil` cuando se + llaman métodos. + `**nil` se trata de manera similar a `**{}`, no pasar palabras clave, + y no llamar método de conversión alguno. [[Falla #20064]] + +* Ya no se permite pasar bloques como índices. [[Falla #19918]] + +* Ya no se permiten argumentos de palabra clave como índices. [[Falla #20218]] + +* El nombre de nivel superior `::Ruby` ahora es reservao, y su definición + producirá una adverencia `Warning[:deprecated]`. [[Característica #20884]] + +## Clases fundamentales actualizadas + +Nota: Listamos sólo actualizaciones notables a las clases fundamentales. + +* Exception + + * `Exception#set_backtrace` ahora acepta arreglos de + `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` y `Fiber#raise` también aceptan + este nuevo formato. [[Característica #13557]] + +* GC + + * `GC.config` agregado para establecer variables de configuración del + recolector de basura. [[Característica #20443]] + + * Se introdujo el parámetro de configuración del GC + `rgengc_allow_full_mark`. Cuando es `false` + el GC sólo marcará objetos jóvenes. + De manera predeterminada es `true`. [[Característica #20443]] + +* Ractor + + * Se permite `require` en un Ractor. El proceso requerido se ejecutará + en el Ractor principal. + Se añade `Ractor._require(feature)` para ejecutar procesos requeridos + en el Ractor principal. [[Característica #20627]] + + * Se agrega `Ractor.main?`. [[Característica #20627]] + + * `Ractor.[]` y `Ractor.[]=` se agregan para acceder al almacenamiento + local del Ractor acutual. [[Característica #20715]] + + * `Ractor.store_if_absent(key){ init }` se añade para inicializar las + variables locales del ractor de manera segura entre hilos. + [[Característica #20875]] + +* Range + + * `Range#size` ahora lanza `TypeError` si el rango no es iterable. + [[Varios #18984]] + + +## Actualizaciones a la librería estándar + +Nota: Listamos sólo actualizaciones notables a las librerías estándar. + +* RubyGems + * Se agrega la opción `--attestation` a gem push. + Permite almacenar la firma a [sigstore.dev] + +* Bundler + * Se añade la configuración `lockfile_checksums` para incluir sumas de + chequeo en archivos de bloqueo frescos + * Se añade bundle lock `--add-checksums` para agregar sumas de chequeo + a archivos de bloqueo existentes. + +* JSON + + * Mejoras de desempeño a `JSON.parse` que resulta 1.5 veces más rápido + que json-2.7.x. + +* Tempfile + + * El argumento de palabra clave `anonymous: true` se implementa en + `Tempfile.create`. + `Tempfile.create(anonymous: true)` elimina inmediatamente el archivo + temporal creado. + Así que las aplicaciones no necesitan eliminarlo. + [[Característica #20497]] + +* win32/sspi.rb + + * Se extrajo esta librería del repositorio Ruby a [ruby/net-http-sspi]. + [[Característica #20775]] + +## Problemas de compatibilidad + +Nota: Excluyendo correcciones a problemas en características. + +* Los mensajes de error y la presentación de trazas han sido cambiadas. + * Se usa un sólo apóstrofe en lugar de un apostrofe invertido para + iniciar una cita. [[Característica #16495]] + * Se presenta un nombre de clase antes del nombre de un método + (sólo cuando la clase tiene un nombre permanente). [[Característica #19117]] + * También se cambiaron de la manera análoga los métodos `Kernel#caller`, + `Thread::Backtrace::Location`, etc. + + ``` + Antes: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + Ahora: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* Hash#inspect ha cambiado la forma de presentar información. [[Falla #20433]] + + * Las llaves símbolo se presentan usando la sintaxis moderna para + llaves símbolo: `"{usuario: 1}"` + * Otras llaves ahora tienen espacio alrededor de `=>`: + `'{"usuario" => 1}'`, aunque antes no lo tenían: `'{"usuario"=>1}'` + +* Kernel#Float() ahora acepta una cadena en decimal omitiendo la parte decimal. [[Característica #20705]] + + ```rb + Float("1.") #=> 1.0 (antes lanzaba ArgumentError) + Float("1.E-1") #=> 0.1 (antes lanzaba ArgumentError) + ``` + +* String#to_f ahora acepta una cadena decimal que omite la parte decimal. + Note que el resultado cambia cuando se especifica un exponente. + [[Característica #20705]] + + ```rb + "1.".to_f #=> 1.0 + "1.E-1".to_f #=> 0.1 (antes retornaba 1.0) + ``` + +* Refinement#refined_class ha sido eliminada. [[Característica #19714]] + +## Problemas de compatibilidad de la Librería Estándar + +* DidYouMean + + * `DidYouMean::SPELL_CHECKERS[]=` y `DidYouMean::SPELL_CHECKERS.merge!` + eliminadas. + +* Net::HTTP + + * Se eliminaron las siguientes contantes despreciadas: + * `Net::HTTP::ProxyMod` + * `Net::NetPrivate::HTTPRequest` + * `Net::HTTPInformationCode` + * `Net::HTTPSuccessCode` + * `Net::HTTPRedirectionCode` + * `Net::HTTPRetriableCode` + * `Net::HTTPClientErrorCode` + * `Net::HTTPFatalErrorCode` + * `Net::HTTPServerErrorCode` + * `Net::HTTPResponseReceiver` + * `Net::HTTPResponceReceiver` + + Estas constantes fueron despreciadas desde el 2012. + +* Timeout + + * Rechaza valores negativos para Timeout.timeout. [[Falla #20795]] + +* URI + + * Se cambió el analizador predeterminado compatible con el RFC 3986 por + otro compatible con le con el RFC 2396. [[Falla #19266]] + + +## Actualizaciones del API en C + +* Se han eliminado `rb_newobj` y `rb_newobj_of` (y los respectivos macros + `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`). + [[Característica #20265]] +* Se eliminó la función despreciada `rb_gc_force_recycle`. + [[Característica #18290]] + +## Cambios diversos + +* Al pasar un bloque a un método que no use el bloque recibido se + presentará una advertencia en modo verboso (`-w`). + [[Característica #15554]] + +* Al redefinir algunos métodos fundamentales que se han optimizado + de manera especial por el interprete y por JIT como `String.freeze` o + `Integer#+` ahora produce una advertencia en la clase de + desempeño (`-W:performance` o `Warning[:performance] = true`). + [[Característica #20429]] + + +Ver más detalles en +[NEWS]([NEWS](https://docs.ruby-lang.org/en/3.4/NEWS_md.html) +o en la [bitácora de contribuciones](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}). + +Con estas novedades, [{{ release.stats.files_changed }} archivos cambiados, {{ release.stats.insertions }} inserciones(+), {{ release.stats.deletions }} eliminaciones(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +desde Ruby 3.3.0! + +¡Feliz navidad, felices fiestas, y disfrute programando con Ruby 3.4! + +## Descargas + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Qué es Ruby + +Ruby fu desarrollado inicialmente por Matz (Yukihiro Matsumoto) en 1993, +y ahora se desarrolla como Fuentes Abiertas. Corre en múltiples +plataformas y se usa en todo el mundo especialmente para +de desarrollo de aplicaciones web. + +[Característica #13557]: https://bugs.ruby-lang.org/issues/13557 +[Característica #15554]: https://bugs.ruby-lang.org/issues/15554 +[Característica #16495]: https://bugs.ruby-lang.org/issues/16495 +[Característica #18290]: https://bugs.ruby-lang.org/issues/18290 +[Característica #18980]: https://bugs.ruby-lang.org/issues/18980 +[Varios #18984]: https://bugs.ruby-lang.org/issues/18984 +[Característica #19117]: https://bugs.ruby-lang.org/issues/19117 +[Falla #19918]: https://bugs.ruby-lang.org/issues/19918 +[Falla #20064]: https://bugs.ruby-lang.org/issues/20064 +[Característica #20182]: https://bugs.ruby-lang.org/issues/20182 +[Característica #20205]: https://bugs.ruby-lang.org/issues/20205 +[Falla #20218]: https://bugs.ruby-lang.org/issues/20218 +[Característica #20265]: https://bugs.ruby-lang.org/issues/20265 +[Característica #20351]: https://bugs.ruby-lang.org/issues/20351 +[Característica #20429]: https://bugs.ruby-lang.org/issues/20429 +[Característica #20470]: https://bugs.ruby-lang.org/issues/20470 +[Característica #20564]: https://bugs.ruby-lang.org/issues/20564 +[Característica #20860]: https://bugs.ruby-lang.org/issues/20860 +[Falla #19266]: https://bugs.ruby-lang.org/issues/19266 +[Característica #19714]: https://bugs.ruby-lang.org/issues/19714 +[Falla #19918]: https://bugs.ruby-lang.org/issues/19918 +[Falla #20064]: https://bugs.ruby-lang.org/issues/20064 +[Característica #20182]: https://bugs.ruby-lang.org/issues/20182 +[Característica #20205]: https://bugs.ruby-lang.org/issues/20205 +[Falla #20218]: https://bugs.ruby-lang.org/issues/20218 +[Característica #20265]: https://bugs.ruby-lang.org/issues/20265 +[Característica #20351]: https://bugs.ruby-lang.org/issues/20351 +[Característica #20429]: https://bugs.ruby-lang.org/issues/20429 +[Característica #20443]: https://bugs.ruby-lang.org/issues/20443 +[Característica #20470]: https://bugs.ruby-lang.org/issues/20470 +[Característica #20497]: https://bugs.ruby-lang.org/issues/20497 +[Característica #20564]: https://bugs.ruby-lang.org/issues/20564 +[Falla #20620]: https://bugs.ruby-lang.org/issues/20620 +[Característica #20627]: https://bugs.ruby-lang.org/issues/20627 +[Característica #20705]: https://bugs.ruby-lang.org/issues/20705 +[Característica #20715]: https://bugs.ruby-lang.org/issues/20715 +[Característica #20775]: https://bugs.ruby-lang.org/issues/20775 +[Falla #20795]: https://bugs.ruby-lang.org/issues/20795 +[Característica #20860]: https://bugs.ruby-lang.org/issues/20860 +[Característica #20875]: https://bugs.ruby-lang.org/issues/20875 +[Característica #20884]: https://bugs.ruby-lang.org/issues/20884 +[sigstore.dev]: sigstore.dev +[ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi From 02011282dc3b14768a1fb095eb23cbdab38cb775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Wed, 1 Jan 2025 17:10:50 -0500 Subject: [PATCH 2444/2563] Translate Ruby 3.4.1 Released (es) (#3460) --- .../_posts/2024-12-25-ruby-3-4-1-released.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 es/news/_posts/2024-12-25-ruby-3-4-1-released.md diff --git a/es/news/_posts/2024-12-25-ruby-3-4-1-released.md b/es/news/_posts/2024-12-25-ruby-3-4-1-released.md new file mode 100644 index 0000000000..eebebe8a17 --- /dev/null +++ b/es/news/_posts/2024-12-25-ruby-3-4-1-released.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "Publicado Ruby 3.4.1" +author: "naruse" +translator: vtamara +date: 2024-12-25 00:00:00 +0000 +lang: es +--- + +Se ha publicado Ruby 3.4.1. + +Este corrige la descripción de la versión. + +Ver más detalles en la [publicación de GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_1). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.4.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} From 0b0569424289734bff4e925363d0480cb5225cbc Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Li Date: Thu, 2 Jan 2025 12:23:02 +0000 Subject: [PATCH 2445/2563] doc(de): improve documentation --- de/documentation/quickstart/2/index.md | 32 +++++++++++++------------- de/documentation/quickstart/3/index.md | 29 ++++++++++++----------- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/de/documentation/quickstart/2/index.md b/de/documentation/quickstart/2/index.md index 529ed1a156..e3b6a82992 100644 --- a/de/documentation/quickstart/2/index.md +++ b/de/documentation/quickstart/2/index.md @@ -21,18 +21,18 @@ Was machen wir, wenn wir ganz oft “Hallo” sagen wollen, ohne uns die Finger wund zu tippen? Wir definieren eine Methode! {% highlight irb %} -irb(main):010:0> def h +irb(main):010:0> def hi irb(main):011:1> puts "Hallo, Welt!" irb(main):012:1> end -=> nil +=> :hi {% endhighlight %} -Mit dem Code `def h` beginnt man die Methodendefinition. Er teilt Ruby -mit, dass wir eine Methode definieren, deren Name `h` ist. Die nächste +Mit dem Code `def hi` beginnt man die Methodendefinition. Er teilt Ruby +mit, dass wir eine Methode definieren, deren Name `hi` ist. Die nächste Zeile nennt man Rumpf (“Body”) der Methode. Sie ist identisch zu der Zeile, die wir schon von vorhin kennen: `puts "Hallo, Welt!"`. Und schließlich teilt die letzte Zeile `end` Ruby mit, dass wir fertig mit -der Methodendefinition sind. Rubys Antwort `=> nil` sagt uns, dass Ruby +der Methodendefinition sind. Rubys Antwort `=> :hi` sagt uns, dass Ruby das nun weiß. ## Die kurzen, immer wiederkehrenden Lebenszyklen einer Methode @@ -40,10 +40,10 @@ das nun weiß. Rufen wir nun die Methode ein paar Mal auf: {% highlight irb %} -irb(main):013:0> h +irb(main):013:0> hi Hallo, Welt! => nil -irb(main):014:0> h() +irb(main):014:0> hi() Hallo, Welt! => nil {% endhighlight %} @@ -55,15 +55,15 @@ Klammer-Paar ans Ende des Methodennamens setzen, aber das ist nicht notwendig. Was, wenn wir nun Hallo zu einer ganz bestimmten Person statt zur ganzen -Welt sagen möchten? Dann definieren wir `h` einfach neu, so dass ein +Welt sagen möchten? Dann definieren wir `hi` einfach neu, so dass ein Name als Parameter akzeptiert wird: {% highlight irb %} -irb(main):015:0> def h(name) +irb(main):015:0> def hi(name) irb(main):016:1> puts "Hallo, #{name}!" irb(main):017:1> end -=> nil -irb(main):018:0> h("Matz") +=> :hi +irb(main):018:0> hi("Matz") Hallo, Matz! => nil {% endhighlight %} @@ -81,14 +81,14 @@ man auch dazu benutzen, um sicherzugehen, dass der Name einer Person mit einem Großbuchstaben anfängt: {% highlight irb %} -irb(main):019:0> def h(name = "Welt") +irb(main):019:0> def hi(name = "Welt") irb(main):020:1> puts "Hallo, #{name.capitalize}!" irb(main):021:1> end -=> nil -irb(main):022:0> h "chris" +=> :hi +irb(main):022:0> hi "chris" Hallo, Chris! => nil -irb(main):023:0> h +irb(main):023:0> hi Hallo, Welt! => nil {% endhighlight %} @@ -119,7 +119,7 @@ irb(main):031:1> def sag_tschuess irb(main):032:2> puts "Tschuess, #{@name}, bis bald!" irb(main):033:2> end irb(main):034:1> end -=> nil +=> :sag_tschuess {% endhighlight %} Das neue Schlüsselwort hier ist `class`. Damit definieren wir eine neue diff --git a/de/documentation/quickstart/3/index.md b/de/documentation/quickstart/3/index.md index 57c328b987..f0ff49b252 100644 --- a/de/documentation/quickstart/3/index.md +++ b/de/documentation/quickstart/3/index.md @@ -35,9 +35,7 @@ Hmm, und wenn wir direkt auf den Namen im Objekt zugreifen wollen? {% highlight irb %} irb(main):038:0> g.@name -SyntaxError: compile error -(irb):52: syntax error - from (irb):52 +:187:in `loop': (irb):52: syntax error, unexpected instance variable (SyntaxError) {% endhighlight %} Nö, das geht offensichtlich nicht. @@ -53,16 +51,21 @@ Welche Methoden existieren nun für Greeter-Objekte? {% highlight irb %} irb(main):039:0> Greeter.instance_methods -=> ["method", "send", "object_id", "singleton_methods", - "__send__", "equal?", "taint", "frozen?", - "instance_variable_get", "kind_of?", "to_a", - "instance_eval", "type", "protected_methods", "extend", - "eql?", "display", "instance_variable_set", "hash", - "is_a?", "to_s", "class", "tainted?", "private_methods", - "untaint", "sag_hallo", "id", "inspect", "==", "===", - "clone", "public_methods", "respond_to?", "freeze", - "sag_tschuess", "__id__", "=~", "methods", "nil?", "dup", - "instance_variables", "instance_of?"] +=> +[:sag_hallo, :sag_tschuess, :to_yaml, :to_json, + :pretty_print, :pretty_print_inspect, :pretty_print_cycle, + :pretty_print_instance_variables, :Namespace, + :singleton_class, :dup, :itself, :methods, + :singleton_methods, :protected_methods, :private_methods, + :public_methods, :instance_variables, :instance_variable_get, + :instance_variable_set, :instance_variable_defined?, + :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, + :display, :TypeName, :public_send, :extend, :clone, :<=>, + :===, :class, :!~, :tap, :frozen?, :yield_self, :then, :nil?, + :eql?, :respond_to?, :method, :public_method, :singleton_method, + :define_singleton_method, :hash, :freeze, :inspect, :object_id, + :send, :to_s, :pretty_inspect, :to_enum, :enum_for, :equal?, :!, + :__send__, :==, :!=, :instance_eval, :instance_exec, :__id__] {% endhighlight %} Hoppla, das sind aber ganz schön viele! Wir haben doch nur zwei Methoden From 6f821c4659dc21cc8d225675f28ef3b338f046dc Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 5 Jan 2025 14:07:20 +0900 Subject: [PATCH 2446/2563] Translate "Add Rails at scale to the list of blogs" (ko) (#3462) * Translate "Add Rails at scale to the list of blogs" (ko) * Update ko/community/weblogs/index.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/community/weblogs/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ko/community/weblogs/index.md b/ko/community/weblogs/index.md index cfc03ff4bb..c2b88ca4f8 100644 --- a/ko/community/weblogs/index.md +++ b/ko/community/weblogs/index.md @@ -32,6 +32,8 @@ Ruby 블로그와 뉴스레터는 지난 몇 년간 폭발적으로 많아졌고 * [**Ruby on Rails Blog**][ruby-on-rails-blog]는 Ruby on Rails 팀의 공식 그룹 블로그입니다. Rails를 이용하고 있다면 이 블로그는 보안 업데이트 알림과 광범위한 Rails 커뮤니티에 대한 전반적인 정보를 얻는 데 필수입니다. +* [**Rails at Scale**][rails-at-scale]에는 Ruby와 Rails의 발전을 위해 + 이루어진 최근 작업에 대해 논의한 게시물이 있습니다. ### 널리 알리기 @@ -49,3 +51,4 @@ Ruby는 [reddit][reddit], [Hacker News][hn]의 프로그래밍 뉴스에서도 [reddit]: http://www.reddit.com/r/ruby [hn]: http://news.ycombinator.com/ [short-ruby-newsletter]: https://newsletter.shortruby.com/ +[rails-at-scale]: https://railsatscale.com/ From cac8903c5970ba64a9b7e747233311e10d18dc67 Mon Sep 17 00:00:00 2001 From: gaojun Date: Fri, 27 Dec 2024 15:36:21 +0800 Subject: [PATCH 2447/2563] Fix broken link of 3.4.0 release news 1. Add missing [Bug #20433] link 2. Fix sigstore.dev link. Previous link points to a relative link --- en/news/_posts/2024-12-25-ruby-3-4-0-released.md | 3 ++- ja/news/_posts/2024-12-25-ruby-3-4-0-released.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/en/news/_posts/2024-12-25-ruby-3-4-0-released.md b/en/news/_posts/2024-12-25-ruby-3-4-0-released.md index 2961df95c9..5a8d734455 100644 --- a/en/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/en/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -338,8 +338,9 @@ and is used all over the world especially for web development. [Feature #20715]: https://bugs.ruby-lang.org/issues/20715 [Feature #20775]: https://bugs.ruby-lang.org/issues/20775 [Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 [Feature #20860]: https://bugs.ruby-lang.org/issues/20860 [Feature #20875]: https://bugs.ruby-lang.org/issues/20875 [Feature #20884]: https://bugs.ruby-lang.org/issues/20884 -[sigstore.dev]: sigstore.dev +[sigstore.dev]: https://www.sigstore.dev [ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi diff --git a/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md b/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md index 4513284779..07bd85c495 100644 --- a/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/ja/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -307,6 +307,7 @@ Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始めら [Feature #20715]: https://bugs.ruby-lang.org/issues/20715 [Feature #20775]: https://bugs.ruby-lang.org/issues/20775 [Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 [Feature #20860]: https://bugs.ruby-lang.org/issues/20860 [Feature #20875]: https://bugs.ruby-lang.org/issues/20875 [Feature #20884]: https://bugs.ruby-lang.org/issues/20884 From 913ce68eaf7ded4fb7d26880919efa4fd23ef686 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 7 Jan 2025 09:44:46 +0900 Subject: [PATCH 2448/2563] Fix broken link of 3.4.0 release news (ko) --- ko/news/_posts/2024-12-25-ruby-3-4-0-released.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ko/news/_posts/2024-12-25-ruby-3-4-0-released.md b/ko/news/_posts/2024-12-25-ruby-3-4-0-released.md index b1125bdfc9..5c9f8b0d78 100644 --- a/ko/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/ko/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -337,8 +337,9 @@ Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, [Feature #20715]: https://bugs.ruby-lang.org/issues/20715 [Feature #20775]: https://bugs.ruby-lang.org/issues/20775 [Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 [Feature #20860]: https://bugs.ruby-lang.org/issues/20860 [Feature #20875]: https://bugs.ruby-lang.org/issues/20875 [Feature #20884]: https://bugs.ruby-lang.org/issues/20884 -[sigstore.dev]: sigstore.dev +[sigstore.dev]: https://www.sigstore.dev [ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi From add9baa10bed308b0bc057f3dbf4b815ed59dce8 Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Li Date: Tue, 7 Jan 2025 11:48:12 +0000 Subject: [PATCH 2449/2563] doc(de): fix links --- de/news/_posts/2024-12-25-ruby-3-4-0-released.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/de/news/_posts/2024-12-25-ruby-3-4-0-released.md b/de/news/_posts/2024-12-25-ruby-3-4-0-released.md index e1abbff391..a30d6c7e7d 100644 --- a/de/news/_posts/2024-12-25-ruby-3-4-0-released.md +++ b/de/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -311,8 +311,9 @@ und wird weltweit vor allem für die Webentwicklung verwendet. [Feature #20715]: https://bugs.ruby-lang.org/issues/20715 [Feature #20775]: https://bugs.ruby-lang.org/issues/20775 [Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 [Feature #20860]: https://bugs.ruby-lang.org/issues/20860 [Feature #20875]: https://bugs.ruby-lang.org/issues/20875 [Feature #20884]: https://bugs.ruby-lang.org/issues/20884 -[sigstore.dev]: sigstore.dev +[sigstore.dev]: https://www.sigstore.dev [ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi From f6302b91afce0351d2cf0f5645c03e6bc0d1d60d Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sun, 12 Jan 2025 20:34:44 +0800 Subject: [PATCH 2450/2563] Update document index page (zh_tw) --- zh_tw/documentation/index.md | 214 +++++++++++++++++++++++++++-------- 1 file changed, 167 insertions(+), 47 deletions(-) diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index f25d180b11..664e710769 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -11,62 +11,127 @@ lang: zh_tw 儘管可以輕鬆的[在瀏覽器試玩 Ruby ][1],你還是可以閱讀[安裝指南](installation/)來幫助你安裝 Ruby。 +### 官方 Ruby 文件 + +[docs.ruby-lang.org/en][docs-rlo]: 包含所有 Ruby 2.1 版本之後的文件。 + +[docs.ruby-lang.org/en/3.4][docs-rlo-3.4]: Ruby 3.4 版本文件。 + +[docs.ruby-lang.org/en/master][docs-rlo-master]: Ruby master 分支版本文件。 + +[C Extension Guide][docs-rlo-extension]: 為 Ruby 建立 C 延伸套件的深度指南。 + ### 入門 [官方 FAQ](/en/documentation/faq/) : 官方常見問題與解答。 -[Ruby Koans][2] -: Ruby Koans 導引你走上學習 Ruby 的啟蒙之路。可以學到 Ruby 語言、語法、結構、常用函數與函式庫。 - 當然也少不了 Ruby 的文化。 - -[Why’s (Poignant) Guide to Ruby][5] -: 非比尋常但玩味無窮的書,透過故事、幽默與漫畫來教會你 Ruby。由 *why the lucky - stiff* 創作,本書是學習 Ruby 的經典大作。 - -[Ruby Essentials][7] -: 免費的線上電子書,讓你可以一步步地學習 Ruby。 +[Try Ruby][1] +: 您可以在您的瀏覽器上體驗 Ruby。 [Learn to Program][8] : 由 Chris Pine 撰寫的程式語言入門。適合完全沒有程式設計經驗的朋友。 -[Learn Ruby the Hard Way][38] -: 一系列說明完善的練習,導引你從完全零基礎一直介紹到物件導向程式設計與 Web 開發, +[Ruby in Twenty Minutes][rubyin20] +: 少於 20 分鐘就能完成的Ruby 小型教學。 -### 學習手冊 +[The Odin Project][odin] +: 開源的全端課程。 -[Programming Ruby][9] -: 這是 Ruby 的第一本英文書,第一版開放線上免費閱讀 [Pragmatic Programmers' book][10] 。 +[excercism][exercism] +: 包含 120 個題目、自動分析與個人指導。 -[The Ruby Programming Wikibook][12] -: 給初學者到中等程度的線上手冊以及語言參考。 +[Codecademy][codecademy] +: 包含多種主題的線上教學網站。 -### 參考文件 +### 手冊 / 書籍 -[Official API Documentation][docs-rlo-en] -: 各種版本的 Ruby 官方 API 文件,包含當前未釋出的版本(trunk)。 +#### 初學者 -[Ruby Core Reference][13] -: 直接從原始碼拉出來的 [RDoc][14] 文件,包括所有的核心類別和模組(例如 String、Array、Symbol 等)。 +[Programming Ruby 3.3][pickaxe] +: 這是 Ruby 的第一本英文書,最近更新到了 Ruby 3.3 。 -[Ruby Standard Library Reference][15] -: 也是從從原始碼拉出來的 RDoc 文件,記載了 Ruby 的標準函式庫。 +[The Well-Grounded Rubyist][grounded] +: 本教學從您的第一個 Ruby 程式開始,並帶您逐步了解反射、執行緒和遞迴等複雜主題。 -[Ruby C API Reference][extensions] -: 官方 Ruby 的 C API 介紹文件,有助於你撰寫 C 擴充程式或是貢獻到 Ruby 的開發。 +#### 進階者 -[RubyDoc.info][16] -: 一站式站點,擁有 RubyGems 與 GitHub 上托管的 Ruby 專案的文件。 +[Practical OOD in Ruby (POODR)][poodr] +: 關於一個程式設計師如何撰寫物件導向程式碼的故事。 -[Ruby & Rails Searchable API Docs][17] -: 可以聰明搜索 Ruby 與 Rails 的文件。 +#### 專家 -[APIdock][18] -: Ruby、Rails 與 RSpec 的文件,具有使用者的評論。 +[Metaprogramming][meta] +: 用簡單易懂的方式解釋 metaprogramming。 + +[Ruby Under a Microscope (RUM)][microscope] +: Ruby 內部結構的圖解指南。 + +### 社群文件 + +這些文件網站由 Ruby 社群維護。 + +[RubyDoc.info][16] +: 一站式站點,擁有 RubyGems 與 GitHub 上托管的 Ruby 專案的文件。 [RubyAPI.org][rubyapi-org] : 簡單搜尋瀏覽 Ruby 類別、模組及方法。 +[ruby-doc.org][39] +: 線上 API 文件。 + +[DevDocs.io][40] +: 線上 API 文件。 + +[Ruby QuickRef][42] +: Ruby 快速參考文件。 + +[rubyreferences][43] +: 參考文件 + 版本變更細節。 + +### 程式碼風格指南 + +[rubystyle.guide][44] +: RuboCop 的 Ruby 程式碼風格指南。 + +[RuboCop][45] +: 自動化檢查與執行程式碼風格指南。 + +[Shopify][46] +: Shopify 的 Ruby 程式碼風格指南。 + +[GitLab][47] +: GitLab 的 Ruby 程式碼風格指南。 + +[Airbnb][48] +: Airbnb 的 Ruby 程式碼風格指南。 + +[w3resource][49] +: W3 的 Ruby 程式碼風格指南。 + +# 工具 + +[IRB][50] +: 互動式 Ruby Read-Eval-Print-Loop (REPL)。 + +[Pry][51] +: Ruby REPL 的替代方案。 + +[Rake][52] +: make-like 的 Ruby 建置工具。 + +[RI][53] +: (Ruby Information) 是 Ruby 命令列工具,可以快速、輕鬆地線上存取 Ruby 文件。 + +[RBS][54] +: Ruby 的類型簽名。 + +[TypeProf][55] +: 一種實驗性的類型級 Ruby 解釋器,用於測試和理解 Ruby 程式碼。 + +[Steep][56] +: Ruby 靜態類型檢查器。 + ### 編輯器與整合開發環境 您可以用操作系統內建的編輯器來撰寫 Ruby。為了更有效的寫程式,值得選個 Ruby 基本特性支援良好的編輯器(如:語法高亮、檔案瀏覽)或是有更進階功能的整合開發環境(如:程式碼補全、重構、支持測試等。) @@ -75,16 +140,17 @@ lang: zh_tw * Linux 與跨平台: * [Aptana Studio][19] - * [Emacs][20] 用 [Ruby mode][21] 配 [Rsense][22] + * [Emacs][20] 用 [Ruby mode][21] 或 [Enhanced Ruby mode][enh-ruby-mode] * [Geany][23] * [gedit][24] - * [Vim][25] 用 [vim-ruby][26] 插件與 [Rsense][22] + * [Vim][25] 用 [vim-ruby][26] 插件 + * [NeoVim][neovim] * [RubyMine][27] * [SciTe][28] * [NetBeans][36] * [Sublime Text][37] - * [Atom][atom] * [Visual Studio Code][vscode] + * [Zed][zed] * Windows 作業系統: * [Notepad++][29] @@ -92,20 +158,44 @@ lang: zh_tw * macOS 作業系統: * [TextMate][32] * [BBEdit][33] - * [Dash][39] (瀏覽文件用) + * [Dash][dash] (瀏覽文件用) + +部分編輯器支援 Language Server Protocol (LSP),Shopify 的 [ruby-lsp][ruby-lsp] 是最受歡的的 Ruby LSP 之一。 ### 進階閱讀 [Ruby-Doc.org][34] 維護了一份簡單易懂的英文文件列表。如有任何 Ruby 相關的問題,[郵件論壇](/en/community/mailing-lists/)是個問問題的好地方。 +### 較舊的閱讀資源 +這些連結內容也很突出,但已經很久沒有更新了。 + +[Ruby Koans][2] +: Ruby Koans 導引你走上學習 Ruby 的啟蒙之路。可以學到 Ruby 語言、語法、結構、常用函數與函式庫。 + 當然也少不了 Ruby 的文化。 + +[Ruby Essentials][7] +: 免費的線上電子書,讓你可以一步步地學習 Ruby。 + +[Why’s (Poignant) Guide to Ruby][5] +: 非比尋常但玩味無窮的書,透過故事、幽默與漫畫來教會你 Ruby。由 *why the lucky + stiff* 創作,本書是學習 Ruby 的經典大作。 + +[Learn Ruby the Hard Way][38] +: 一系列說明完善的練習,導引你從完全零基礎一直介紹到物件導向程式設計與 Web 開發, + +[Programming Ruby][9] +: 這是 Ruby 的第一本英文書,第一版開放線上免費閱讀 [Pragmatic Programmers' book][10] 。 + +[The Ruby Programming Wikibook][12] +: 給初學者到中等程度的線上手冊以及語言參考。 [1]: https://try.ruby-lang.org/ [2]: https://rubykoans.com/ [5]: https://poignant.guide [7]: http://www.techotopia.com/index.php/Ruby_Essentials [8]: http://pine.fm/LearnToProgram/ -[9]: http://www.ruby-doc.org/docs/ProgrammingRuby/ +[9]: https://www.ruby-doc.org/docs/ProgrammingRuby/ [10]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ [12]: http://en.wikibooks.org/wiki/Ruby_programming_language [13]: http://www.ruby-doc.org/core @@ -113,15 +203,12 @@ lang: zh_tw [15]: http://www.ruby-doc.org/stdlib [extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [16]: http://www.rubydoc.info/ -[17]: http://rubydocs.org/ -[18]: http://apidock.com/ [rubyapi-org]: https://rubyapi.org/ [19]: http://www.aptana.com/ [20]: http://www.gnu.org/software/emacs/ [21]: http://www.emacswiki.org/emacs/RubyMode -[22]: http://rsense.github.io/ [23]: http://www.geany.org/ -[24]: http://projects.gnome.org/gedit/screenshots.html +[24]: https://gedit-text-editor.org/ [25]: http://www.vim.org/ [26]: https://github.com/vim-ruby/vim-ruby [27]: http://www.jetbrains.com/ruby/ @@ -133,10 +220,43 @@ lang: zh_tw [36]: https://netbeans.org/ [37]: http://www.sublimetext.com/ [38]: https://learncodethehardway.org/ruby/ -[39]: http://kapeli.com/dash -[docs-rlo-en]: https://docs.ruby-lang.org/en/ -[atom]: https://atom.io/ +[39]: https://www.ruby-doc.org/ +[40]: https://devdocs.io/ruby/ +[42]: https://www.zenspider.com/ruby/quickref.html +[43]: https://rubyreferences.github.io/ +[44]: https://rubystyle.guide/ +[45]: https://github.com/rubocop/ruby-style-guide +[46]: https://ruby-style-guide.shopify.dev/ +[47]: https://docs.gitlab.com/ee/development/backend/ruby_style_guide.html +[48]: https://github.com/airbnb/ruby +[49]: https://www.w3resource.com/ruby/ruby-style-guide.php +[50]: https://github.com/ruby/irb +[51]: https://github.com/pry/pry +[52]: https://github.com/ruby/rake +[53]: https://ruby.github.io/rdoc/RI_md.html +[54]: https://github.com/ruby/rbs +[55]: https://github.com/ruby/typeprof +[56]: https://github.com/soutaro/steep + +[docs-rlo]: https://docs.ruby-lang.org/en/ +[docs-rlo-3.4]: https://docs.ruby-lang.org/en/3.4 +[docs-rlo-master]: https://docs.ruby-lang.org/en/master +[docs-rlo-extension]: https://docs.ruby-lang.org/en/master/extension_rdoc.html + +[rubyin20]: https://www.ruby-lang.org/en/documentation/quickstart/ +[odin]: https://www.theodinproject.com/paths/full-stack-ruby-on-rails/courses/ruby +[exercism]: https://exercism.org/tracks/ruby +[codecademy]: https://www.codecademy.com/learn/learn-ruby + +[pickaxe]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ +[grounded]: https://www.manning.com/books/the-well-grounded-rubyist-third-edition +[poodr]: https://www.poodr.com/ +[meta]: https://pragprog.com/titles/ppmetr2/metaprogramming-ruby-2/ +[microscope]: https://patshaughnessy.net/ruby-under-a-microscope + +[enh-ruby-mode]: https://github.com/zenspider/enhanced-ruby-mode/ +[neovim]: https://neovim.io/ [vscode]: https://code.visualstudio.com/ - -[rubytw]: http://ruby.tw -[ruby-user-guide-zh_tw]: http://guides.ruby.tw/ruby/ +[zed]: https://zed.dev/ +[dash]: http://kapeli.com/dash +[ruby-lsp]: https://github.com/Shopify/ruby-lsp From 5d974178d81837454852090dcf76c7b1b95b2890 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 14 Jan 2025 10:00:58 +0800 Subject: [PATCH 2451/2563] Refine wording (zh_tw) --- zh_tw/documentation/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh_tw/documentation/index.md b/zh_tw/documentation/index.md index 664e710769..7300b3df55 100644 --- a/zh_tw/documentation/index.md +++ b/zh_tw/documentation/index.md @@ -33,7 +33,7 @@ lang: zh_tw : 由 Chris Pine 撰寫的程式語言入門。適合完全沒有程式設計經驗的朋友。 [Ruby in Twenty Minutes][rubyin20] -: 少於 20 分鐘就能完成的Ruby 小型教學。 +: 少於 20 分鐘就能完成的 Ruby 小型教學。 [The Odin Project][odin] : 開源的全端課程。 @@ -134,7 +134,7 @@ lang: zh_tw ### 編輯器與整合開發環境 -您可以用操作系統內建的編輯器來撰寫 Ruby。為了更有效的寫程式,值得選個 Ruby 基本特性支援良好的編輯器(如:語法高亮、檔案瀏覽)或是有更進階功能的整合開發環境(如:程式碼補全、重構、支持測試等。) +您可以用作業系統內建的編輯器來撰寫 Ruby。為了更有效的寫程式,值得選個 Ruby 基本特性支援良好的編輯器(如:語法高亮、檔案瀏覽)或是有更進階功能的整合開發環境(如:程式碼補齊、重構、支持測試等。) 以下是 Ruby 程式設計師(Rubyist)間流行使用的開發工具清單: From ca198e44ce9e3b0d67f484bd6f2f5b03a65612d0 Mon Sep 17 00:00:00 2001 From: matzbot Date: Wed, 15 Jan 2025 17:23:59 +0900 Subject: [PATCH 2452/2563] Create release for 3.3.7 (#3471) * Create release for 3.3.7 * Fill out release notes --------- Co-authored-by: GitHub Actions Bot Co-authored-by: Takashi Kokubun --- .../_posts/2025-01-15-ruby-3-3-7-released.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 en/news/_posts/2025-01-15-ruby-3-3-7-released.md diff --git a/en/news/_posts/2025-01-15-ruby-3-3-7-released.md b/en/news/_posts/2025-01-15-ruby-3-3-7-released.md new file mode 100644 index 0000000000..1a57e67d7a --- /dev/null +++ b/en/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.7 Released" +author: k0kubun +translator: +date: 2025-01-15 07:51:59 +0000 +lang: en +--- + +Ruby 3.3.7 has been released. + +This is a routine update that includes minor bug fixes. +Please refer to [the release notes on GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_7) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From dc679db42039415ce30e93952501b93884c326f8 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 15 Jan 2025 00:27:49 -0800 Subject: [PATCH 2453/2563] Update _data for Ruby 3.3.7 (#3472) --- _data/downloads.yml | 2 +- _data/releases.yml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 6e8ceeeef2..87a5ad0fd9 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,7 +8,7 @@ preview: stable: - 3.4.1 - - 3.3.6 + - 3.3.7 - 3.2.6 # optional diff --git a/_data/releases.yml b/_data/releases.yml index 5dccb4a35a..b13a98f070 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -163,6 +163,30 @@ # 3.3 series +- version: 3.3.7 + date: 2025-01-15 + post: /en/news/2025/01/15/ruby-3-3-7-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.7.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.7.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.7.tar.xz + size: + gz: 22163173 + zip: 27589557 + xz: 16379504 + sha1: + gz: aaa94abd1a5676dd24e927876935597a505e2a4d + zip: afe9800b8711aba57df5e11005a1710b48c9377e + xz: b5498e7174328fe0af0d93ee9667d39dda36621b + sha256: + gz: 9c37c3b12288c7aec20ca121ce76845be5bb5d77662a24919651aaf1d12c8628 + zip: 9c6b1d13a03d8423391e070e324b1380a597d3ac9eb5d8ea40bc4fd5226556a5 + xz: 5dbcbc605e0ed4b09c52703241577eb7edc3a2dc747e184c72b5285719b6ad72 + sha512: + gz: 9b48be05d1210e9194c8a6d77dfc3227599bff2b55fc9bb2049b11547927deef530ece9a2a505600cdc492c8517b1bef7ab5f2520ebd79ffcf76f0a734fa763d + zip: 20f0ad9e80528c5c5d42c0be8e85cf3f120a20a973a7d8303785f4201263d7896c9a7462d8b862330c2d4039ab8d47616fa13ef487a2ed05490ca4e731c97ef2 + xz: 4082a7684c1b0d53a0ce493f79568e851d37a864f59c58b2e0c273b2659e0ca75318ddff939fdf5e9d0a3eeba1b6d8f03bf88afb49a5ffd77714f1c8a7dfdd55 + - version: 3.3.6 date: 2024-11-05 post: /en/news/2024/11/05/ruby-3-3-6-released/ From 4ca03e53e890265559563c260e5daa365f194bf3 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 15 Jan 2025 18:51:33 +0900 Subject: [PATCH 2454/2563] Translate "Ruby 3.3.7 Released" (ko) (#3473) * cp {en,ko}/news/_posts/2025-01-15-ruby-3-3-7-released.md * Translate "Ruby 3.3.7 Released" (ko) --- .../_posts/2025-01-15-ruby-3-3-7-released.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ko/news/_posts/2025-01-15-ruby-3-3-7-released.md diff --git a/ko/news/_posts/2025-01-15-ruby-3-3-7-released.md b/ko/news/_posts/2025-01-15-ruby-3-3-7-released.md new file mode 100644 index 0000000000..1a501ed3a9 --- /dev/null +++ b/ko/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.7 릴리스" +author: k0kubun +translator: shia +date: 2025-01-15 07:51:59 +0000 +lang: ko +--- + +Ruby 3.3.7이 릴리스되었습니다. + +이번 릴리스는 일반적인 업데이트로, 사소한 버그 수정이 포함되어 있습니다. +자세한 내용은 [GitHub 릴리스 노트](https://github.com/ruby/ruby/releases/tag/v3_3_7)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.3.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From d3e0f0f392645587bc987dcada72a2fe0adea056 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 17 Jan 2025 01:45:50 +0900 Subject: [PATCH 2455/2563] Fix ruby-lsp url on documentation index --- en/documentation/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/documentation/index.md b/en/documentation/index.md index 0ac929e5db..504958458c 100644 --- a/en/documentation/index.md +++ b/en/documentation/index.md @@ -158,7 +158,7 @@ learning curve: All of these editors support the Language Server Protocol (LSP), either by default or through their LSP plugins. Shopify's [ruby-lsp][ruby-lsp] is one of the most popular language servers for -Ruby and [supports all of the above editors][shopify_lsp]. +Ruby and [supports all of the above editors][ruby-lsp-supported-editors]. ### Older Reading / Resources @@ -239,8 +239,8 @@ These links were more prominent but haven't been updated in ages. [pickaxe]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ [poodr]: https://www.poodr.com/ [ruby-lsp]: https://github.com/Shopify/ruby-lsp +[ruby-lsp-supported-editors]: https://shopify.github.io/ruby-lsp/editors.html [rubyapi-org]: https://rubyapi.org/ [rubyin20]: https://www.ruby-lang.org/en/documentation/quickstart/ -[shopify_lsp]: https://shopify.github.io/ruby-lsp/editors.html) [vscode]: https://code.visualstudio.com/docs/languages/ruby [zed]: https://zed.dev/ From 59ca2c7d686ccab2fdc7c3d2ef603e5c45fe734f Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 17 Jan 2025 09:25:25 +0900 Subject: [PATCH 2456/2563] Translate "First pass at updating en/documentation/index.md" (ko) (#3464) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add diff from a17c89bff1e821457dbf1a8a23f32d0d46b7d432 Ref: https://github.com/ruby/www.ruby-lang.org/pull/3427 * Translate "First pass at updating en/documentation/index.md" (ko) * Restore first section * Remove old "Learn Ruby the Hard Way" which is moved to "오래된 문서" * Apply suggestions from code review Co-authored-by: Chayoung You * Update ko/documentation/index.md Co-authored-by: Chayoung You * Remove all "(영문)" * Small update about ruby lsp supported editor link --------- Co-authored-by: Chayoung You --- ko/documentation/index.md | 268 +++++++++++++++++++++++++------------- 1 file changed, 181 insertions(+), 87 deletions(-) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index 1e22137ac7..c8e3b95394 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -22,29 +22,24 @@ Ruby를 이해하고 싶다면, [docs.ruby-lang.org][docs-rlo-en]의 권위 있 ### 초보자용 문서 -[공식 FAQ](faq/) -: 자주 묻는 질문들을 모았습니다. +[Try Ruby][1] +: 브라우저에서 Ruby를 시험해 볼 수 있습니다. -[Ruby Koans][2] (영문) -: Koans는 Ruby를 배우는 깨달음의 길로 여러분을 안내합니다. Koans의 목표는 - Ruby 언어, 문법, 구조, 일반적인 함수들과 라이브러리를 배우는 것입니다. - Koans에서는 문화도 가르칩니다. +[Learn to Program][8] +: Chris Pine 님이 작성한 초보자를 위한 작고 멋진 튜토리얼입니다. + 프로그래밍을 모르신다면 여기서 시작하세요. -[Why’s (Poignant) Guide to Ruby][5] (영문) -: 이야기, 재치, 만화를 통해 Ruby를 가르쳐주는 틀에 얽매이지 않는 재미있는 - 책입니다. *Why the Lucky Stiff*의 저작물로 Ruby를 배우는 사람을 위한 - 고전입니다. +[Ruby in Twenty Minutes][rubyin20] +: 20분 이내에 끝낼 수 있는 작은 Ruby 튜토리얼입니다. -[Ruby Essentials][7] (영문) -: 간결하고 따라 하기 쉬운 Ruby 가이드를 제공하는 무료 온라인 책입니다. +[The Odin Project][odin] +: 오픈소스 풀스택 커리큘럼입니다. -[Learn to Program][8] (영문) -: Chris Pine 님이 작성한 초보자를 위한 작고 멋진 튜토리얼입니다. - 프로그래밍을 모르신다면 여기서 시작하세요. +[excercism][exercism] +: 자동 분석과 개인 멘토링이 포함된 120개의 연습문제가 제공됩니다. -[Learn Ruby the Hard Way][38] (영문) -: 아주 기초적인 내용부터 OOP에서 웹 개발까지 다루는 매우 좋은 설명이 - 달린 예제들입니다. +[Codecademy][codecademy] +: 다양한 주제를 다루는 온라인 코드 부트캠프입니다. 무료입니다. [Ruby For Impatient Nuby][ko-1] : 서민구 님이 작성하신 Ruby 초보자를 위한 튜토리얼입니다. @@ -52,31 +47,100 @@ Ruby를 이해하고 싶다면, [docs.ruby-lang.org][docs-rlo-en]의 권위 있 [루비 프로그래밍 언어 FAQ][ko-2] : 황대산 님이 정리하신 FAQ입니다. -### 매뉴얼 +### 매뉴얼 / 책 -[Programming Ruby][9] (영문) -: 영어로 된 독창적인 Ruby 책입니다. [Pragmatic Programmers의 책][10] - 1판이 무료로 온라인에 공개되어 있습니다. +#### 초보자 -[The Ruby Programming Wikibook][12] (영문) -: 초보자와 중급자를 위한 무료 온라인 매뉴얼과 전 언어 레퍼런스입니다. +[Programming Ruby 3.3][pickaxe] +: 영어로 된 독창적인 Ruby 책입니다. 최근에 Ruby 3.3으로 업데이트되었습니다. + +[The Well-Grounded Rubyist][grounded] +: 첫 Ruby 프로그램부터 리플렉션, 스레딩, 재귀 등과 같은 고급 주제까지 다루는 튜토리얼입니다. + +#### 중급자 + +[Practical OOD in Ruby (POODR)][poodr] +: 객체지향 코드를 작성하는 방법에 대한 프로그래머의 이야기입니다. + +#### 전문가 + +[Metaprogramming][meta] +: 메타 프로그래밍을 실용적인 방식으로 설명합니다. + +[Ruby Under a Microscope (RUM)][microscope] +: Ruby 내부를 설명하는 그림이 포함된 가이드입니다. ### 참조 -[공식 API 문서][docs-rlo-en] +[공식 API 문서][docs-rlo-en] [(JP)][docs-rlo-jp] : 아직 릴리스되지 않은 트렁크를 포함한 여러 Ruby 버전의 공식 언어 문서입니다. -[Ruby C API 레퍼런스][extensions] (영문) +[Ruby C API 레퍼런스][extensions] [(JP)][extensions-jp] : Ruby의 공식 C API 문서입니다. Ruby 개발에 참여하거나, C 확장을 개발할 때 도움이 될 것입니다. -[RubyDoc.info][16] (영문) +[RubyDoc.info][16] : Ruby gem과 GitHub에서 호스팅 되는 Ruby 프로젝트의 레퍼런스 문서들을 모아놓은 사이트입니다. -[Ruby API][40] (영문) +[Ruby API][40] : Ruby 클래스, 모듈, 메서드를 편하게 찾고 탐색하세요. +[ruby-doc.org][39] +: 온라인 API 문서입니다. + +[DevDocs.io][40] +: 온라인 API 문서입니다. + +[Ruby QuickRef][42] +: 빠른 Ruby 참조 문서입니다. + +[rubyreferences][43] +: 완전한 언어 레퍼런스와 상세한 언어 변경 로그입니다. 훌륭합니다. + +### 스타일 가이드 + +[rubystyle.guide][44] +: RuboCop의 Ruby 스타일 가이드 + +[RuboCop][45] +: RuboCop의 스타일 가이드를 자동으로 적용합니다. + +[Shopify][46] +: Shopify의 Ruby 스타일 가이드 + +[GitLab][47] +: GitLab의 Ruby 스타일 가이드 + +[Airbnb][48] +: Airbnb의 Ruby 스타일 가이드 + +[w3resource][49] +: W3의 Ruby 스타일 가이드 + +# 도구 + +[IRB][50] +: 대화형 Ruby 셸(Read-Eval-Print-Loop, REPL)입니다. + +[Pry][51] +: 또 다른 Ruby REPL입니다. + +[Rake][52] +: Ruby의 make와 비슷한 빌드 유틸리티입니다. + +[RI][53] +: RI(Ruby Information)는 Ruby의 명령줄 유틸리티로 Ruby 문서에 빠르고 쉽게 접근할 수 있습니다. + +[RBS][54] +: Ruby의 타입 시그니처입니다. + +[TypeProf][55] +: Ruby 코드를 테스트하고 이해하기 위한 실험적인 타입 수준의 Ruby 인터프리터입니다. + +[Steep][56] +: Ruby의 정적 타입 검사기입니다. + ### 편집기와 IDE Ruby를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습니다. 하지만, @@ -84,78 +148,108 @@ Ruby를 코딩할 때 운영체제의 기본 편집기를 사용할 수 있습 파일 브라우징 등등) 편집기나 고급 기능(자동완성, 리팩토링, 테스트 지원 등등)이 있는 통합 개발 환경도 생각해 볼 만합니다. -루비스트들이 주로 사용하는 도구들의 목록입니다. - -* Linux, 크로스 플랫폼 - * [Aptana Studio][19] - * [Atom][atom] - * [Emacs][20], [Ruby mode][21], [Rsense][22] - * [Eric][eric] - * [Geany][23] - * [gedit][24] - * [Kate][kate] - * [KDevelop][kdevelop] - * [NetBeans][36] - * [RubyMine][27] - * [SciTe][28] - * [Sublime Text][37] - * [Vim][25], [vim-ruby][26] 플러그인, [Rsense][22] +루비스트가 사용하는 인기 있는 편집기 목록을 +학습 곡선에 따라 나누어 놓았습니다. +* 며칠 안에 익힐 수 있는 편집기 + * [Sublime Text][37] (유료) * [Visual Studio Code][vscode] + * [Zed][zed] +* 몇 개월 정도 걸리는 편집기 + * [RubyMine][27] (유료) +* "몇 년" (즉, 몇 년 동안 새로운 것을 계속 배울 수 있는 에디터) + * [Ruby 모드][21]나 [향상된 Ruby 모드][enh-ruby-mode]를 사용하는 [Emacs][20] + * [vim-ruby][26] 플러그인을 사용하는 [Vim][25] + * [NeoVim][neovim] + +위에서 언급한 모든 편집기는 기본으로 또는 LSP 플러그인을 통해 +언어 서버 프로토콜(LSP)을 지원합니다. Shopify의 [ruby-lsp][ruby-lsp]는 +Ruby를 위한 가장 인기 있는 언어 서버 중 하나이며, +[위에서 언급한 모든 편집기를 지원합니다][ruby-lsp-supported-editors]. + +### 오래된 문서 / 리소스 + +다음 링크들은 한때 더 주목받았지만 오랫동안 업데이트되지 않았습니다. -* Windows - * [Notepad++][29] +[Ruby Koans][2] +: Koans는 Ruby를 배우는 깨달음의 길로 여러분을 안내합니다. Koans의 목표는 + Ruby 언어, 문법, 구조, 일반적인 함수들과 라이브러리를 배우는 것입니다. + Koans에서는 문화도 가르칩니다. + +[Ruby Essentials][7] +: 간결하고 따라 하기 쉬운 Ruby 가이드를 제공하는 + 무료 온라인 책입니다. + +[Why’s (Poignant) Guide to Ruby][5] +: 이야기, 재치, 만화를 통해 Ruby를 가르쳐주는 틀에 얽매이지 않는 재미있는 + 책입니다. *Why the Lucky Stiff*의 저작물로 Ruby를 배우는 사람을 위한 + 고전입니다. -* macOS - * [TextMate][32] - * [BBEdit][33] - * [Dash][39] (문서 브라우저) +[Learn Ruby the Hard Way][38] +: 아주 기초적인 내용부터 OOP에서 웹 개발까지 다루는 매우 좋은 설명이 + 달린 예제들입니다. -### 더 읽을거리 +[Programming Ruby][9] +: 영어로 된 독창적인 Ruby 책입니다. [Pragmatic Programmers의 책][10] + 1판이 무료로 온라인에 공개되어 있습니다. -[Ruby-Doc.org][34]는 Ruby 영문 문서를 포괄적으로 관리하는 사이트입니다. Ruby -[책들][ko-5]도 출판되어 있습니다. Ruby에 -관한 질문이 있다면, [유저 그룹][ko-3]이나 [페이스북 그룹][ko-4]에서 하실 수 있고 -영어가 되신다면 [메일링 리스트](/ko/community/mailing-lists/)를 사용하실 수도 -있습니다. +[The Ruby Programming Wikibook][12] +: 초보자와 중급자를 위한 무료 온라인 매뉴얼과 + 언어 전체 레퍼런스입니다. [1]: https://try.ruby-lang.org/ [2]: https://rubykoans.com/ [5]: https://poignant.guide -[7]: http://www.techotopia.com/index.php/Ruby_Essentials -[8]: http://pine.fm/LearnToProgram/ -[9]: http://www.ruby-doc.org/docs/ProgrammingRuby/ +[7]: https://www.techotopia.com/index.php/Ruby_Essentials +[8]: https://pine.fm/LearnToProgram/ +[9]: https://www.ruby-doc.org/docs/ProgrammingRuby/ [10]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ -[12]: http://en.wikibooks.org/wiki/Ruby_programming_language -[extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html -[16]: http://www.rubydoc.info/ -[19]: http://www.aptana.com/ -[20]: http://www.gnu.org/software/emacs/ -[21]: http://www.emacswiki.org/emacs/RubyMode -[22]: http://rsense.github.io/ -[23]: http://www.geany.org/ -[24]: http://projects.gnome.org/gedit/screenshots.html -[25]: http://www.vim.org/ +[12]: https://en.wikibooks.org/wiki/Ruby_programming_language +[16]: https://www.rubydoc.info/ +[20]: https://www.gnu.org/software/emacs/ +[21]: https://www.emacswiki.org/emacs/RubyMode +[25]: https://www.vim.org/ [26]: https://github.com/vim-ruby/vim-ruby -[27]: http://www.jetbrains.com/ruby/ -[28]: http://www.scintilla.org/SciTE.html -[29]: http://notepad-plus-plus.org/ -[32]: http://macromates.com/ -[33]: https://www.barebones.com/products/bbedit/ -[34]: http://ruby-doc.org -[36]: https://netbeans.org/ -[37]: http://www.sublimetext.com/ +[27]: https://www.jetbrains.com/ruby/ +[34]: https://ruby-doc.org/ +[37]: https://www.sublimetext.com/ [38]: https://learncodethehardway.org/ruby/ -[39]: http://kapeli.com/dash -[40]: https://rubyapi.org/ -[docs-rlo-en]: https://docs.ruby-lang.org/en/ -[atom]: https://atom.io/ +[39]: https://www.ruby-doc.org/ +[40]: https://devdocs.io/ruby/ +[42]: https://www.zenspider.com/ruby/quickref.html +[43]: https://rubyreferences.github.io/ +[44]: https://rubystyle.guide/ +[45]: https://github.com/rubocop/ruby-style-guide +[46]: https://ruby-style-guide.shopify.dev/ +[47]: https://docs.gitlab.com/ee/development/backend/ruby_style_guide.html +[48]: https://github.com/airbnb/ruby +[49]: https://www.w3resource.com/ruby/ruby-style-guide.php +[50]: https://github.com/ruby/irb +[51]: https://github.com/pry/pry +[52]: https://github.com/ruby/rake +[53]: https://ruby.github.io/rdoc/RI_md.html +[54]: https://github.com/ruby/rbs +[55]: https://github.com/ruby/typeprof +[56]: https://github.com/soutaro/steep +[codecademy]: https://www.codecademy.com/learn/learn-ruby +[docs-rlo-en]: https://docs.ruby-lang.org/en/latest +[docs-rlo-jp]: https://docs.ruby-lang.org/ja/latest +[enh-ruby-mode]: https://github.com/zenspider/enhanced-ruby-mode/ +[exercism]: https://exercism.org/tracks/ruby +[extensions-jp]: https://docs.ruby-lang.org/jp/master/extension_rdoc.html +[extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html +[grounded]: https://www.manning.com/books/the-well-grounded-rubyist-third-edition +[meta]: https://pragprog.com/titles/ppmetr2/metaprogramming-ruby-2/ +[microscope]: https://patshaughnessy.net/ruby-under-a-microscope +[neovim]: https://neovim.io/ +[odin]: https://www.theodinproject.com/paths/full-stack-ruby-on-rails/courses/ruby +[pickaxe]: https://pragprog.com/titles/ruby5/programming-ruby-3-3-5th-edition/ +[poodr]: https://www.poodr.com/ +[ruby-lsp]: https://github.com/Shopify/ruby-lsp +[ruby-lsp-supported-editors]: https://shopify.github.io/ruby-lsp/editors.html +[rubyapi-org]: https://rubyapi.org/ +[rubyin20]: https://www.ruby-lang.org/ko/documentation/quickstart/ [vscode]: https://code.visualstudio.com/docs/languages/ruby -[eric]: https://eric-ide.python-projects.org/ -[kdevelop]: https://www.kdevelop.org/ -[kate]: https://kate-editor.org/ +[zed]: https://zed.dev/ [ko-1]: https://docs.google.com/document/d/15yEpi2ZMB2Lld5lA1TANt13SJ_cKygP314cqyKhELwQ/preview [ko-2]: https://web.archive.org/web/20190521035426/http://beyond.daesan.com/pages/ruby-faq -[ko-3]: https://groups.google.com/forum/#!forum/rubykr -[ko-4]: https://www.facebook.com/groups/rubykr/ -[ko-5]: http://ruby-korea.github.io/#book From 6900a5a3e5b10c8429c18f192fdb666f080d7199 Mon Sep 17 00:00:00 2001 From: Yoshikazu Takata Date: Sat, 18 Jan 2025 16:05:36 +0900 Subject: [PATCH 2457/2563] Translate "Ruby 3.3.7 Released" (ja) --- .../_posts/2025-01-15-ruby-3-3-7-released.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ja/news/_posts/2025-01-15-ruby-3-3-7-released.md diff --git a/ja/news/_posts/2025-01-15-ruby-3-3-7-released.md b/ja/news/_posts/2025-01-15-ruby-3-3-7-released.md new file mode 100644 index 0000000000..c2fc2f7647 --- /dev/null +++ b/ja/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.7 リリース" +author: k0kubun +translator: teeta32 +date: 2025-01-15 07:51:59 +0000 +lang: ja +--- + +Ruby 3.3.7 がリリースされました。 + +本リリースはマイナーなバグ修正を含む定期的なアップデートです。 + +詳しくは [GitHub release notes](https://github.com/ruby/ruby/releases/tag/v3_3_7) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.3.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 皆様のご協力に感謝します。 From 5f582faf6dd4c5bdde13f79584744a7175afff27 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 18 Jan 2025 16:05:42 +0800 Subject: [PATCH 2458/2563] Translate Ruby 3.3.7 Released (zh_tw) --- .../_posts/2025-01-15-ruby-3-3-7-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 zh_tw/news/_posts/2025-01-15-ruby-3-3-7-released.md diff --git a/zh_tw/news/_posts/2025-01-15-ruby-3-3-7-released.md b/zh_tw/news/_posts/2025-01-15-ruby-3-3-7-released.md new file mode 100644 index 0000000000..5124edc500 --- /dev/null +++ b/zh_tw/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.3.7 發布" +author: k0kubun +translator: "Bear Su" +date: 2025-01-15 07:51:59 +0000 +lang: zh_tw +--- + +Ruby 3.3.7 已經發布了。 + +這是包括修復小型錯誤的例行更新。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_7)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.3.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From c9892d7d4ad44cec7f3728a8b7f1b54b57bb3197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sat, 18 Jan 2025 19:23:16 -0500 Subject: [PATCH 2459/2563] Translation of release of ruby 3.3.7 (es) (#3479) --- .../_posts/2025-01-15-ruby-3-3-7-released.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 es/news/_posts/2025-01-15-ruby-3-3-7-released.md diff --git a/es/news/_posts/2025-01-15-ruby-3-3-7-released.md b/es/news/_posts/2025-01-15-ruby-3-3-7-released.md new file mode 100644 index 0000000000..1fe6a4f205 --- /dev/null +++ b/es/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.7" +author: k0kubun +translator: vtamara +date: 2025-01-15 07:51:59 +0000 +lang: es +--- + +Ruby 3.3.7 ha sido publicado. + +Esta es una actualización de rutina que incluye corrección a fallas menores. +Por favor revise más detalles en las +[notas de publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_7). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.3.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentario de la versión + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 07e5abd8b811918d9435bff261211923ed0ee6ca Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 21 Jan 2025 15:25:54 +0900 Subject: [PATCH 2460/2563] Translate "Improve documentation page" (ko) (#3474) * Import changes of #3456 * Translate "Improve documentation page" (ko) * Update ko/documentation/index.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/documentation/index.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/ko/documentation/index.md b/ko/documentation/index.md index c8e3b95394..eb7345463a 100644 --- a/ko/documentation/index.md +++ b/ko/documentation/index.md @@ -16,9 +16,15 @@ Ruby를 배울 수 있는 매뉴얼과 튜토리얼, 코딩할 때 도움이 되 [Ruby를 브라우저에서 시험해 볼 수도 있지만][1], Ruby를 설치하기 위해서 [설치 설명서](installation/)를 읽어보아도 좋습니다. -### Ruby 언어 문서 +### 공식 Ruby 문서 -Ruby를 이해하고 싶다면, [docs.ruby-lang.org][docs-rlo-en]의 권위 있는 Ruby 언어 문서가 출발점입니다. 이 문서는 언어의 모든 측면을 다루며, Ruby 프로그래밍 언어를 배우거나 참조할 때 처음으로 찾아봐야 하는 곳입니다. 아래 나열된 다른 자료들은 공식 언어 문서를 보완하거나 다른 형식/스타일/맛으로 Ruby 문서를 제공합니다. +[docs.ruby-lang.org/en][docs-rlo]: Ruby 2.1 이후의 모든 버전에 대한 문서 목록입니다. + +[docs.ruby-lang.org/en/3.4][docs-rlo-3.4]: Ruby 3.4 버전에 대한 문서입니다. + +[docs.ruby-lang.org/en/master][docs-rlo-master]: Ruby의 master 브랜치의 문서입니다. + +[C Extension Guide][docs-rlo-extension]: Ruby의 C 확장을 만드는 방법에 대한 상세 가이드입니다. ### 초보자용 문서 @@ -39,7 +45,7 @@ Ruby를 이해하고 싶다면, [docs.ruby-lang.org][docs-rlo-en]의 권위 있 : 자동 분석과 개인 멘토링이 포함된 120개의 연습문제가 제공됩니다. [Codecademy][codecademy] -: 다양한 주제를 다루는 온라인 코드 부트캠프입니다. 무료입니다. +: 다양한 주제를 다루는 온라인 코드 부트캠프입니다. [Ruby For Impatient Nuby][ko-1] : 서민구 님이 작성하신 Ruby 초보자를 위한 튜토리얼입니다. @@ -70,14 +76,9 @@ Ruby를 이해하고 싶다면, [docs.ruby-lang.org][docs-rlo-en]의 권위 있 [Ruby Under a Microscope (RUM)][microscope] : Ruby 내부를 설명하는 그림이 포함된 가이드입니다. -### 참조 - -[공식 API 문서][docs-rlo-en] [(JP)][docs-rlo-jp] -: 아직 릴리스되지 않은 트렁크를 포함한 여러 Ruby 버전의 공식 언어 문서입니다. +### 커뮤니티 문서 -[Ruby C API 레퍼런스][extensions] [(JP)][extensions-jp] -: Ruby의 공식 C API 문서입니다. - Ruby 개발에 참여하거나, C 확장을 개발할 때 도움이 될 것입니다. +다음은 Ruby 커뮤니티에 의해 유지되고 있는 문서입니다. [RubyDoc.info][16] : Ruby gem과 GitHub에서 호스팅 되는 Ruby 프로젝트의 레퍼런스 문서들을 @@ -96,7 +97,7 @@ Ruby를 이해하고 싶다면, [docs.ruby-lang.org][docs-rlo-en]의 권위 있 : 빠른 Ruby 참조 문서입니다. [rubyreferences][43] -: 완전한 언어 레퍼런스와 상세한 언어 변경 로그입니다. 훌륭합니다. +: 완전한 언어 레퍼런스와 상세한 언어 변경 로그입니다. ### 스타일 가이드 @@ -231,12 +232,12 @@ Ruby를 위한 가장 인기 있는 언어 서버 중 하나이며, [55]: https://github.com/ruby/typeprof [56]: https://github.com/soutaro/steep [codecademy]: https://www.codecademy.com/learn/learn-ruby -[docs-rlo-en]: https://docs.ruby-lang.org/en/latest -[docs-rlo-jp]: https://docs.ruby-lang.org/ja/latest +[docs-rlo]: https://docs.ruby-lang.org/en +[docs-rlo-3.4]: https://docs.ruby-lang.org/en/3.4 +[docs-rlo-master]: https://docs.ruby-lang.org/en/master +[docs-rlo-extension]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [enh-ruby-mode]: https://github.com/zenspider/enhanced-ruby-mode/ [exercism]: https://exercism.org/tracks/ruby -[extensions-jp]: https://docs.ruby-lang.org/jp/master/extension_rdoc.html -[extensions]: https://docs.ruby-lang.org/en/master/extension_rdoc.html [grounded]: https://www.manning.com/books/the-well-grounded-rubyist-third-edition [meta]: https://pragprog.com/titles/ppmetr2/metaprogramming-ruby-2/ [microscope]: https://patshaughnessy.net/ruby-under-a-microscope From c6900a313bb167800df6ebe7ad16da2ee1ff9891 Mon Sep 17 00:00:00 2001 From: npakk Date: Thu, 23 Jan 2025 21:16:36 +0900 Subject: [PATCH 2461/2563] translate-3.4.0-rc1-released-ja --- .../2024-12-12-ruby-3-4-0-rc1-released.md | 168 ++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 ja/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md diff --git a/ja/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/ja/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md new file mode 100644 index 0000000000..33a1598180 --- /dev/null +++ b/ja/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -0,0 +1,168 @@ +--- +layout: news_post +title: "Ruby 3.4.0-rc1 リリース" +author: "naruse" +translator: "npakk" +date: 2024-12-12 00:00:00 +0000 +lang: ja +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-rc1" | first %} +Ruby {{ release.version }} が公開されました。 + +## デフォルトのパーサをPrismに変更 + +デフォルトで使用するパーサーを parse.y から生成するパーサーから Prism へと変更しました。 [[Feature #20564]] + +## Modular GC + +* Modular GC 機能により Ruby 標準とは異なる ガベージ・コレクタ (GC) の実装を動的にロードすることができるようになりました。この機能を使うには Ruby をビルドする時に `--with-modular-gc` を指定してください。GC ライブラリは環境変数 `RUBY_GC_LIBRARY` を用いて Ruby のランタイムにロードすることができます。[[Feature #20351]] + +* Ruby 組み込みのガベージ・コレクタは `gc/default/default.c` ファイルに分割され、 Ruby ランタイムとのやりとりは `gc/gc_impl.h` に定義される API を用いて行われます。組み込みのガベージコレクタは `make modular-gc MODULAR_GC=default` というコマンドを用いてライブラリとしてもビルドすることができ、環境変数として `RUBY_GC_LIBRARY=default` を定義することで有効にすることができます。 [[Feature #20470]] + +* [MMTk](https://www.mmtk.io/) をベースとした実験的な GC ライブラリが提供されました。このライブラリは`make modular-gc MODULAR_GC=mmtk` コマンドによってビルドし、環境変数 `RUBY_GC_LIBRARY=mmtk` によって有効化します。この機能を使うにはビルドを行うマシンに Rust のビルドツールを必要とします。 [[Feature #20860]] + +## 言語機能の変更 + +* マジックコメント `frozen_string_literal` のないファイル中の文字列リテラルは、freeze されているかのように振る舞うようになり、破壊的な変更時に警告を表示するようになりました。これらの警告はコマンドラインオプション `-W:deprecated` か Ruby プログラムで `Warning[:deprecated] = true` を指定すると表示されます。 +これら無効にするにはコマンドラインオプション `--disable-frozen-string-literal` を追加して Ruby を実行してください。 [[Feature #20205]] + +* ブロックパラメータに名前をつけずに参照する `it` が追加されました。 [[Feature #18980]] + +* メソッド呼び出し時の `nil` 展開キーワードがサポートされました。 + `**nil` は `**{}` と同様に扱われ、キーワードは渡せません。 + また、あらゆる変換のためのメソッドも呼ばれません。[[Bug #20064]] + +* インデックスにブロックを渡せなくなりました。[[Bug #19918]] + +* インデックスにキーワード引数を渡せなくなりました。[[Bug #20218]] + +## YJIT + +### TL;DR + +* x86-64 と arm64 の両方のプラットフォームにおいて、ほとんどのベンチマークのパフォーマンスが向上しました。 +* コンパイルメタデータのメモリ使用量を削減しました。 +* 様々な不具合修正: YJIT はより堅牢になり、より多くの環境でテストされました。 + +### 新機能 + +* `--yjit-mem-size` による統一的なメモリ制限が指定可能になりました(デフォルトは 128MiB)。 + このオプションはすべての YJIT のメモリ使用量を監視し、従来の `--yjit-exec-mem-size` オプションよりも直感的に使用できます。 +* `RubyVM::YJIT.runtime_stats` からより多くの統計情報を取得できるようになりました。 +* `--yjit-log` オプションを用いて、コンパイルログを監視できるようになりました。 + * `RubyVM::YJIT.log` を用いてコンパイルログの末尾を取得することができるようになりました。 +* マルチ Ractor モードにおける定数共有をサポートしました。 +* `--yjit-trace-exits=COUNTER`オプションを用いて、カウントされたexitを監視できるようになりました。 + +### 新しい最適化 + +* コンテキストの圧縮化により YJIT のメタデータ保管に必要なメモリを削減しました。 +* ローカル変数やRubyのメソッドの引数のためにレジスタを割り当てるようになりました。 +* YJIT が有効な場合に Ruby で実装されたコアクラスを使うようになりました。 + * Ruby で書き直された `Array#each`, `Array#select`, `Array#map` はより良いパフォーマンスを提供します。 [[Feature #20182]]. +* 以下のような小さいメソッドをインライン化できるようになりました: + * 空メソッド + * 定数を返すメソッド + * `self` を返すメソッド + * 引数を直接返すメソッド +* 組み込みメソッドに特化したコード生成の対象を広げました +* `String#getbyte`, `String#setbyte` など、String のメソッドの最適化を行いました。 +* 低レベルの bit/byte 操作を高速化するためにビット演算を最適化しました +* その他、様々な段階的な最適化を行いました。 + +## コアクラスのアップデート + +注: 複数のアップデートの中から注目すべきアップデートのみを掲載しています。 + +* Exception + + * `Exception#set_backtrace` は `Thread::Backtrace::Location` の配列を受け取れる様になりました。. + `Kernel#raise`, `Thread#raise` や `Fiber#raise` も同じ配列を受け取れます。[[Feature #13557]] + +* Range + + * `Range#size` は範囲オブジェクトが反復可能ではない場合は `TypeError` 例外を出すようになりました。[[Misc #18984]] + +## 互換性に関する変更 + +注: 不具合修正を除きます。 + +* エラーメッセージとして表示するバックトレースを変更しました。 + * 開始の引用符は backtick の代わりにシングルクォートを用いるようになりました。[[Feature #16495]] + * クラス名が変更しないような場合、メソッド名の前にクラス名を表示するようになりました。[[Feature #19117]] + * `Kernel#caller`, `Thread::Backtrace::Location` などのメソッドはそれらに応じて変更されました。 + + ``` + Old: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + New: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +## C API のアップデート + +* `rb_newobj` と `rb_newobj_of` (と対応するマクロの `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) は削除されました。 [[Feature #20265]] +* 非推奨とされていた `rb_gc_force_recycle` は削除されました。 [[Feature #18290]] + +## その他の変更 + +* 渡されたブロックを使用しないメソッドにブロックを渡すと、verboseモード(`-w`) で警告が表示されるようになりました。[[Feature #15554]] + +* `String.freeze` や `Integer#+` のような JIT とインタプリタによって特別に最適化されたメソッドを再定義すると、performance 警告(`-W:performance` または`Warning[:performance] = true` で有効化)が表示されるようになりました。 [[Feature #20429]] + +default gemsやbundled gemsの詳細については[Logger](https://github.com/ruby/logger/releases)などのChangeLogを参照してください。 + +より詳細な情報は [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +か [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) を参照してください。 + +これらの変更により、Ruby 3.3.0から [{{ release.stats.files_changed }} ファイルが変更され、 {{ release.stats.insertions }} 行が追加され、 {{ release.stats.deletions }} 行が削除されました!](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) + +## ダウンロード + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby とは + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 From e10103bb9b6e1a6c8d547462f983acf47d13287d Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Thu, 30 Jan 2025 08:37:17 +0800 Subject: [PATCH 2462/2563] Translate Ruby 3.4.[01] released(zh_cn) (#3451) --- .../_posts/2024-12-25-ruby-3-4-0-released.md | 323 ++++++++++++++++++ .../_posts/2024-12-25-ruby-3-4-1-released.md | 39 +++ 2 files changed, 362 insertions(+) create mode 100644 zh_cn/news/_posts/2024-12-25-ruby-3-4-0-released.md create mode 100644 zh_cn/news/_posts/2024-12-25-ruby-3-4-1-released.md diff --git a/zh_cn/news/_posts/2024-12-25-ruby-3-4-0-released.md b/zh_cn/news/_posts/2024-12-25-ruby-3-4-0-released.md new file mode 100644 index 0000000000..5a9c123d34 --- /dev/null +++ b/zh_cn/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -0,0 +1,323 @@ +--- +layout: news_post +title: "Ruby 3.4.0 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2024-12-25 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.4.0" | first %} +我们很高兴地宣布 Ruby {{ release.version }} 发布。 +Ruby 3.4 增加了块参数引用变量 `it`,使用 Prism 作为默认解析器,为 socket 库提供了 Happy Eyeballs Version 2 支持, +改进了 YJIT,添加了模块化垃圾回收功能,及其他改进。 + +## 块中的 `it` 引用 + +当没有定义块参数名时,可以使用 `it` 引用块参数. [[Feature #18980]] + +```ruby +ary = ["foo", "bar", "baz"] + +p ary.map { it.upcase } #=> ["FOO", "BAR", "BAZ"] +``` + +`it` 与 `_1` 的功能类似。在块中使用 `_1` 时,读者可能会以为其他编号参数(`_2` 等)也会出现,这会给读者带来额外的阅读负担。 +因此,我们引入 `it` 作为一个便捷的别名。在简单的情况下(例如单行块),使用 `it` 可以显著提升可读性。 + +## Prism 现在是默认解析器 + +默认解析器从 parse.y 切换到 Prism。 [[Feature #20564]] + +这是一项内部改进,用户应该不会注意到任何变化。如果您发现了任何兼容性问题,请报告给我们。 + +如果需要使用原来的解析器,可以使用命令行参数 `--parser=parse.y`。 + +## socket 库现在支持 Happy Eyeballs Version 2 (RFC 8305) + +socket 库现在支持 [Happy Eyeballs Version 2 (RFC 8305)](https://datatracker.ietf.org/doc/html/rfc8305),许多编程语言都提供这个最新版本的支持来优化网络连接。 +socket 库在 `TCPSocket.new` (`TCPSocket.open`) 和 `Socket.tcp` 中添加了支持。 +此项改进使得 Ruby 能够提供更高效可靠的网络连接,更适应现代互联网环境。 + +直至 Ruby 3.3,上述的方法会依次执行域名解析和尝试连接。通过现在的算法,将按下面的方式执行: + +1. 并行执行 IPv6 和 IPv4 域名解析 +2. 尝试连接解析到的 IP 地址(IPv6 优先),以 250ms 的间隔进行并行尝试 +3. 返回第一个成功的连接,并取消其他连接 + +这样就保证了最小化网络延迟,即使特定的 IP 协议地址延迟或不可用。 +此功能默认启用,不需要额外的配置。如果要全局禁用此功能,可以设置环境变量 `RUBY_TCP_NO_FAST_FALLBACK=1` +或者调用 `Socket.tcp_fast_fallback=false`。如果要在特定连接中禁用此功能,可以使用关键字参数 `fast_fallback: false`。 + +## YJIT + +### 摘要 + +* 在 x86-64 和 arm64 平台上的大多数基准测试中,都获得了更好的性能表现。 +* 减少了编译元数据的内存使用并提供了统一的内存限制。 +* 修复了多个错误。YJIT 现在更健壮了,并被更好地测试。 + +### 新功能 + +* 命令行参数 + * `--yjit-mem-size` (默认值为 128 MiB),用于设置统一的内存限制选项,并跟踪 YJIT 总的内存使用情况, + 这比旧的 `--yjit-exec-mem-size` 更直观。 + * `--yjit-log` 可以启用编译日志来跟踪被编译的内容。 +* Ruby API + * `RubyVM::YJIT.log` 可以在运行时获取编译日志的尾部信息。 +* YJIT 统计信息 + * `RubyVM::YJIT.runtime_stats` 现在总是能在无效化、内联和元数据编码时提供额外的统计信息。 + +### 新优化 + +* 通过压缩上下文减少了存储 YJIT 元数据所需的内存 +* 为局部变量和方法参数分配寄存器 +* 当 YJIT 启用时,使用更多 Ruby 编写的核心原型类型: + * 使用 Ruby 重写 `Array#each`, `Array#select`, `Array#map` 以提升性能 [[Feature #20182]]。 +* 能够内联小型方法,诸如: + * 空方法 + * 返回常量的方法 + * 返回 `self` 的方法 + * 直接返回某个参数的方法 +* 为更多运行时方法生成专用代码 +* 优化 `String#getbyte`, `String#setbyte` 等字符串方法 +* 优化位运算,加速低级 位/字节 操作 +* 在 multi-ractor 模式中,支持共享常量 +* 各种其他增量优化 + +## 模块化垃圾收集器 + +* 通过模块化垃圾收集功能,可以动态加载具体的垃圾收集器(GC)实现。 + 若要启用此功能,可以在构建 Ruby 时,使用 `--with-modular-gc` 参数。 + 运行时可以通过环境变量 `RUBY_GC_LIBRARY` 加载 GC 库。 + [[Feature #20351]] + +* Ruby 内置的垃圾收集器已被拆分到单独的文件 `gc/default/default.c` 并通过 `gc/gc_impl.h` 中定义的 API 与 Ruby 进行交互。 + 现在,内置的垃圾收集器也可以作为库进行构建:通过 `make modular-gc MODULAR_GC=default` 进行构建, + 并通过环境变量 `RUBY_GC_LIBRARY=default` 启用。 [[Feature #20470]] + +* 提供了一个基于 [MMTk](https://www.mmtk.io/) 的实验性 GC 库。此库可以通过 `make modular-gc MODULAR_GC=mmtk` 进行构建, + 并通过环境变量 `RUBY_GC_LIBRARY=mmtk` 启用。构建的计算机需要 Rust 工具链。 [[Feature #20860]] + +## 语言变化 + +* 在没有 `frozen_string_literal` 注释的文件中,当字符串字面量被修改时会发出警告。 + 这些警告可以使用 `-W:deprecated` 或者通过设置 `Warning[:deprecated] = true` 来启用。 + 如要禁用此变化,您可以在运行 Ruby 时,使用 `--disable-frozen-string-literal` 命令行参数。 [[Feature #20205]] + +* 支持在调用方法时使用 `nil` 作为关键字展开参数。 + `**nil` 类似于 `**{}`,不传递关键字参数,也不调用任何转换方法。 [[Bug #20064]] + +* 索引不再接受块传递。 [[Bug #19918]] + +* 索引不再接受关键字参数。 [[Bug #20218]] + +* 顶级名 `::Ruby` 现在是保留的,当启用 `Warning[:deprecated]` 时,如果对其进行定义将会被警告。 [[Feature #20884]] + +## 核心类更新 + +注意:我们仅列出了核心类中值得注意的更新。 + +* Exception + + * `Exception#set_backtrace` 现在接受 `Thread::Backtrace::Location` 数组。 + `Kernel#raise`,`Thread#raise` 和 `Fiber#raise` 也接受这个新格式。 [[Feature #13557]] + +* GC + + * 新增 `GC.config`,可以为垃圾收集器设置配置变量。 [[Feature #20443]] + + * 新增 GC 配置参数 `rgengc_allow_full_mark` 。如果值为 `false`,GC 仅标记年轻对象。默认值为 `true`。 [[Feature #20443]] + +* Ractor + + * 允许在 Ractor 中使用 `require`。引入过程将在主 Ractor 中执行。 + 可以通过 `Ractor._require(feature)` 在主 Ractor 中执行引入过程。 [[Feature #20627]] + + * 新增 `Ractor.main?`。 [[Feature #20627]] + + * 新增 `Ractor.[]` 和 `Ractor.[]=` 来访问当前 Ractor 关联存储的内容。 [[Feature #20715]] + + * 新增 `Ractor.store_if_absent(key){ init }`,可以在进程安全的环境下初始化 ractor 关联的本地变量。 [[Feature #20875]] + +* Range + + * 当 range 不可枚举时,`Range#size` 将抛出 `TypeError`。 [[Misc #18984]] + + +## 标准库更新 + +注意:我们仅列出了标准库中值得注意的更新。 + +* RubyGems + * gem push 增加 `--attestation` 参数。此参数允许保存签名到 [sigstore.dev] + +* Bundler + * 新增 `lockfile_checksums` 参数,将校验和包含到新的 lockfiles 中 + * 新增 `--add-checksums` 向既有 lockfile 中增加校验和 + +* JSON + + * 性能改进,`JSON.parse` 现在比 json-2.7.x 快约 1.5 倍。 + +* Tempfile + + * `Tempfile.create` 新增关键字参数 `anonymous: true`。 + `Tempfile.create(anonymous: true)` 会立即移除创建的临时文件。应用程序无需显式地移除临时文件。 + [[Feature #20497]] + +* win32/sspi.rb + + * 此库现在从 Ruby 代码仓库抽取到独立的代码仓库 [ruby/net-http-sspi]。[[Feature #20775]] + +## 兼容性问题 + +注意:不包括问题补丁。 + +* 修改了错误信息和错误栈的显示。 + * 使用单引号(`'`)代替反勾号(`` ` ``)作为错误消息的起始引号。 [[Feature #16495]] + * 在方法名前显示类名(仅当类具有永久名称时)。 [[Feature #19117]] + * `Kernel#caller`,`Thread::Backtrace::Location` 等处也进行了相应更改。 + + ``` + 此前: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + 现在: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in `
' + ``` + +* Hash#inspect 的展示形式发生变化。 [[Bug #20433]] + + * 键是 Symbol 时,使用现代的语法形式: `"{user: 1}"` + * 其他类型的键值对在显示时,在 `=>` 前后加入空格:`'{"user" => 1}'`,此前显示时没有空格: `'{"user"=>1}'` + +* Kernel#Float() 现在接受省略小数部分的数字字符串。 [[Feature #20705]] + + ```rb + Float("1.") #=> 1.0 (此前会导致 ArgumentError) + Float("1.E-1") #=> 0.1 (此前会导致 ArgumentError) + ``` + +* String#to_f 现在接受省略小数部分的数字字符串。注意,当指定指数时,返回结果与此前不同。 [[Feature #20705]] + + ```rb + "1.".to_f #=> 1.0 + "1.E-1".to_f #=> 0.1 (此前会返回 1.0) + ``` + +* 移除 `Refinement#refined_class`。 [[Feature #19714]] + +## 标准库兼容性问题 + +* DidYouMean + + * 移除 `DidYouMean::SPELL_CHECKERS[]=` 和 `DidYouMean::SPELL_CHECKERS.merge!`。 + +* Net::HTTP + + * 移除下列已废弃常量: + * `Net::HTTP::ProxyMod` + * `Net::NetPrivate::HTTPRequest` + * `Net::HTTPInformationCode` + * `Net::HTTPSuccessCode` + * `Net::HTTPRedirectionCode` + * `Net::HTTPRetriableCode` + * `Net::HTTPClientErrorCode` + * `Net::HTTPFatalErrorCode` + * `Net::HTTPServerErrorCode` + * `Net::HTTPResponseReceiver` + * `Net::HTTPResponceReceiver` + + 这些变量从 2012 年起已废弃。 + +* Timeout + + * `Timeout.timeout` 的参数不允许负值。 [[Bug #20795]] + +* URI + + * 默认解析器从 RFC 2396 兼容切换到 RFC 3986 兼容。 [[Bug #19266]] + +## C API 更新 + +* 移除 `rb_newobj` 和 `rb_newobj_of` (以及相关的宏 `RB_NEWOBJ`,`RB_NEWOBJ_OF`,`NEWOBJ`,`NEWOBJ_OF`)。 [[Feature #20265]] +* 移除已废弃的函数 `rb_gc_force_recycle`。 [[Feature #18290]] + +## 其他变化 + +* 如果传递了一个块给不使用块的方法时,在详细模式(`-w`)中将显示警告。 [[Feature #15554]] + +* Ruby 对一些核心方法通过解释器和 JIT 进行了优化,诸如 `String.freeze`,`Integer#+`。 + 当这些方法被重定义时,解释器将发出性能警告(`-W:performance` 或 `Warning[:performance] = true`)。 [[Feature #20429]] + +更多详情,可参见 [NEWS](https://docs.ruby-lang.org/en/3.4/NEWS_md.html) +或 [提交日志](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})。 + +自 Ruby 3.3.0 以来,这些变化共导致 [{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+),删除 {{ release.stats.deletions }} 行(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)! + +圣诞快乐,节日快乐,享受 Ruby 3.4 的编程乐趣! + +## 下载 + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什么 + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发, +现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是 Web 开发领域。 + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19266]: https://bugs.ruby-lang.org/issues/19266 +[Feature #19714]: https://bugs.ruby-lang.org/issues/19714 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20443]: https://bugs.ruby-lang.org/issues/20443 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20497]: https://bugs.ruby-lang.org/issues/20497 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20620]: https://bugs.ruby-lang.org/issues/20620 +[Feature #20627]: https://bugs.ruby-lang.org/issues/20627 +[Feature #20705]: https://bugs.ruby-lang.org/issues/20705 +[Feature #20715]: https://bugs.ruby-lang.org/issues/20715 +[Feature #20775]: https://bugs.ruby-lang.org/issues/20775 +[Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 +[Feature #20875]: https://bugs.ruby-lang.org/issues/20875 +[Feature #20884]: https://bugs.ruby-lang.org/issues/20884 +[sigstore.dev]: https://www.sigstore.dev/ +[ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi diff --git a/zh_cn/news/_posts/2024-12-25-ruby-3-4-1-released.md b/zh_cn/news/_posts/2024-12-25-ruby-3-4-1-released.md new file mode 100644 index 0000000000..ab82e2a565 --- /dev/null +++ b/zh_cn/news/_posts/2024-12-25-ruby-3-4-1-released.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "Ruby 3.4.1 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2024-12-25 00:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.4.1 已发布。 + +此版本修正了版本的描述。 + +更多信息可以参考 [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_4_1)。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.4.1" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} From fc250d15ce3214438d2fe6f2c585aeecee276b69 Mon Sep 17 00:00:00 2001 From: Gao Jun Date: Thu, 30 Jan 2025 08:41:47 +0800 Subject: [PATCH 2463/2563] Translate Ruby 3.3.7 released(zh_cn) (#3476) --- .../_posts/2025-01-15-ruby-3-3-7-released.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 zh_cn/news/_posts/2025-01-15-ruby-3-3-7-released.md diff --git a/zh_cn/news/_posts/2025-01-15-ruby-3-3-7-released.md b/zh_cn/news/_posts/2025-01-15-ruby-3-3-7-released.md new file mode 100644 index 0000000000..3ad19507df --- /dev/null +++ b/zh_cn/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.7 已发布" +author: k0kubun +translator: "GAO Jun" +date: 2025-01-15 07:51:59 +0000 +lang: zh_cn +--- + +Ruby 3.3.7 已发布。 + +这是例行更新,修正了一些较小的程序问题。 +更多信息可以参考 [GitHub 发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_7)。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.3.7" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 52a0eacbd3111f38122f5d46ca3c730a50ce2776 Mon Sep 17 00:00:00 2001 From: Eduardo Bohrer Date: Sun, 2 Feb 2025 19:43:26 -0300 Subject: [PATCH 2464/2563] Add some missing news translations to pt website --- .../2024-10-28-redos-rexml-cve-2024-49761.md | 31 ++ .../_posts/2024-10-30-ruby-3-2-6-released.md | 42 +++ .../_posts/2024-11-05-ruby-3-3-6-released.md | 50 +++ .../2024-12-12-ruby-3-4-0-rc1-released.md | 189 ++++++++++ .../_posts/2024-12-25-ruby-3-4-0-released.md | 343 ++++++++++++++++++ .../_posts/2024-12-25-ruby-3-4-1-released.md | 39 ++ .../_posts/2025-01-15-ruby-3-3-7-released.md | 43 +++ 7 files changed, 737 insertions(+) create mode 100644 pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md create mode 100644 pt/news/_posts/2024-10-30-ruby-3-2-6-released.md create mode 100644 pt/news/_posts/2024-11-05-ruby-3-3-6-released.md create mode 100644 pt/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md create mode 100644 pt/news/_posts/2024-12-25-ruby-3-4-0-released.md create mode 100644 pt/news/_posts/2024-12-25-ruby-3-4-1-released.md create mode 100644 pt/news/_posts/2025-01-15-ruby-3-3-7-released.md diff --git a/pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md new file mode 100644 index 0000000000..373a37d5fb --- /dev/null +++ b/pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -0,0 +1,31 @@ +--- +layout: news_post +title: "CVE-2024-49761: Vulnerabilidade ReDoS na REXML" +author: "kou" +translator: nbluis +date: 2024-10-28 03:00:00 +0000 +tags: security +lang: pt +--- + +Existe uma vulnerabilidade ReDoS na gem REXML. Esta vulnerabilidade foi atribuída ao identificador CVE [CVE-2024-49761](https://www.cve.org/CVERecord?id=CVE-2024-49761). Recomendamos fortemente a atualização da gem REXML. + +Isso não acontece com Ruby 3.2 ou posterior. Ruby 3.1 é a única versão mantida afetada. Note que Ruby 3.1 atingirá EOL em 2025-03. + +## Detalhes + +Ao analisar um XML que possui muitos dígitos entre `&#` e `x...;` em uma referência de caractere numérico hexadecimal (`&#x...;`). + +Por favor, atualize a gem REXML para a versão 3.3.9 ou posterior. + +## Versões afetadas + +* Gem REXML 3.3.8 ou anterior com Ruby 3.1 ou anterior + +## Créditos + +Agradecimentos a [manun](https://hackerone.com/manun) por descobrir este problema. + +## Histórico + +* Publicado originalmente em 2024-10-28 03:00:00 (UTC) \ No newline at end of file diff --git a/pt/news/_posts/2024-10-30-ruby-3-2-6-released.md b/pt/news/_posts/2024-10-30-ruby-3-2-6-released.md new file mode 100644 index 0000000000..b2b14c644d --- /dev/null +++ b/pt/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.6 Lançado" +author: nagachika +translator: nbluis +date: 2024-10-30 10:00:00 +0000 +lang: pt +--- + +Ruby 3.2.6 foi lançado. + +Por favor, consulte os [lançamentos no GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_6) para mais detalhes. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.6" | first %} + +* <{{ release.url.gz }}> + + TAMANHO: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + TAMANHO: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + TAMANHO: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentário do Lançamento + +Muitos committers, desenvolvedores e usuários que forneceram relatórios de bugs nos ajudaram a fazer este lançamento. +Obrigado pelas suas contribuições. \ No newline at end of file diff --git a/pt/news/_posts/2024-11-05-ruby-3-3-6-released.md b/pt/news/_posts/2024-11-05-ruby-3-3-6-released.md new file mode 100644 index 0000000000..ee224d4719 --- /dev/null +++ b/pt/news/_posts/2024-11-05-ruby-3-3-6-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.3.6 Lançado" +author: k0kubun +translator: nbluis +date: 2024-11-05 04:25:00 +0000 +lang: pt +--- + +Ruby 3.3.6 foi lançado. + +Esta é uma atualização de rotina que inclui correções de bugs menores. +Esta versão também para de notificar sobre a ausência de dependências de gems padrões que serão incorporadas no Ruby 3.5. +Para mais detalhes, por favor, consulte [as notas de lançamento no GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_6). + +## Cronograma de Lançamento + +Conforme [anunciado](https://www.ruby-lang.org/en/news/2024/07/09/ruby-3-3-4-released/) anteriormente, pretendemos lançar a versão estável mais recente do Ruby (atualmente Ruby 3.3) a cada 2 meses após um lançamento `.1`. + +Esperamos lançar o Ruby 3.3.7 em 7 de janeiro. Se surgirem mudanças significativas que impactem um grande número de usuários, podemos lançar uma nova versão antes do previsto. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.6" | first %} + +* <{{ release.url.gz }}> + + TAMANHO: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + TAMANHO: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + TAMANHO: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentário sobre o Lançamento + +Muitos committers, desenvolvedores e usuários que forneceram relatórios de bugs nos ajudaram a fazer este lançamento. +Obrigado pelas suas contribuições. \ No newline at end of file diff --git a/pt/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md b/pt/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md new file mode 100644 index 0000000000..45c8277a4e --- /dev/null +++ b/pt/news/_posts/2024-12-12-ruby-3-4-0-rc1-released.md @@ -0,0 +1,189 @@ +--- +layout: news_post +title: "Ruby 3.4.0 rc1 Lançado" +author: "naruse" +translator: nbluis +date: 2024-12-12 00:00:00 +0000 +lang: pt +--- + +{% assign release = site.data.releases | where: "version", "3.4.0-rc1" | first %} +Estamos felizes em anunciar o lançamento do Ruby {{ release.version }}. + +## Prism + +Alterado o parser padrão de parse.y para Prism. [[Feature #20564]] + +## GC Modular + +* Implementações alternativas de garbage collector (GC) podem ser carregadas dinamicamente + através do recurso de garbage collector modular. Para habilitar este recurso, + configure o Ruby com `--with-modular-gc` no momento da compilação. Bibliotecas de GC podem ser + carregadas em tempo de execução usando a variável de ambiente `RUBY_GC_LIBRARY`. + [[Feature #20351]] + +* O garbage collector embutido do Ruby foi dividido em um arquivo separado em + `gc/default/default.c` e interage com o Ruby usando uma API definida em + `gc/gc_impl.h`. O garbage collector embutido agora também pode ser compilado como uma + biblioteca usando `make modular-gc MODULAR_GC=default` e habilitado usando a + variável de ambiente `RUBY_GC_LIBRARY=default`. [[Feature #20470]] + +* Uma biblioteca experimental de GC é fornecida com base no [MMTk](https://www.mmtk.io/). + Esta biblioteca de GC pode ser compilada usando `make modular-gc MODULAR_GC=mmtk` e + habilitada usando a variável de ambiente `RUBY_GC_LIBRARY=mmtk`. Isso requer + a ferramenta Rust na máquina de compilação. [[Feature #20860]] + +## Mudanças na linguagem + +* Literais de string em arquivos sem um comentário `frozen_string_literal` agora emitem um aviso de descontinuação + quando são mutados. + Esses avisos podem ser habilitados com `-W:deprecated` ou configurando `Warning[:deprecated] = true`. + Para desativar essa mudança, você pode executar o Ruby com o argumento de linha de comando `--disable-frozen-string-literal`. [[Feature #20205]] + +* `it` foi adicionado para referenciar um parâmetro de bloco. [[Feature #18980]] + +* O splatting de palavra-chave `nil` ao chamar métodos agora é suportado. + `**nil` é tratado de maneira semelhante a `**{}`, não passando palavras-chave, + e não chamando nenhum método de conversão. [[Bug #20064]] + +* Passagem de bloco não é mais permitida em índice. [[Bug #19918]] + +* Argumentos de palavra-chave não são mais permitidos em índice. [[Bug #20218]] + +## YJIT + +TL;DR: +* Melhor desempenho na maioria dos benchmarks em plataformas x86-64 e arm64. +* Uso reduzido de memória de metadados de compilação +* Várias correções de bugs. YJIT agora é ainda mais robusto e melhor testado. + +Novos recursos: +* Adiciona limite de memória unificado via opção de linha de comando `--yjit-mem-size` (padrão 128MiB) + que rastreia o uso total de memória do YJIT e é mais intuitivo do que o + antigo `--yjit-exec-mem-size`. +* Mais estatísticas agora sempre disponíveis via `RubyVM::YJIT.runtime_stats` +* Adiciona log de compilação para rastrear o que é compilado via `--yjit-log` + * Final do log também disponível em tempo de execução via `RubyVM::YJIT.log` +* Adiciona suporte para constantes compartilháveis em modo multi-ractor +* Agora pode rastrear saídas contadas com `--yjit-trace-exits=COUNTER` + +Novas otimizações: +* Contexto comprimido reduz a memória necessária para armazenar metadados do YJIT +* Alocador aprimorado com capacidade de alocar registradores para variáveis locais +* Quando o YJIT está habilitado, use mais primitivas Core escritas em Ruby: + * `Array#each`, `Array#select`, `Array#map` reescritos em Ruby para melhor desempenho [[Feature #20182]]. +* Capacidade de inline de métodos pequenos/triviais, como: + * Métodos vazios + * Métodos que retornam uma constante + * Métodos que retornam `self` + * Métodos que retornam diretamente um argumento +* Geração de código especializada para muitos mais métodos em tempo de execução +* Otimiza `String#getbyte`, `String#setbyte` e outros métodos de string +* Otimiza operações bitwise para acelerar a manipulação de bits/bytes de baixo nível +* Várias outras otimizações incrementais + +## Atualizações das classes principais + +Nota: Estamos listando apenas atualizações notáveis das classes principais. + +* Exception + + * `Exception#set_backtrace` agora aceita um array de `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` e `Fiber#raise` também aceitam este novo formato. [[Feature #13557]] + +* Range + + * `Range#size` agora levanta `TypeError` se o intervalo não for iterável. [[Misc #18984]] + +## Problemas de compatibilidade + +Nota: Excluindo correções de bugs. + +* As mensagens de erro e exibições de backtrace foram alteradas. + * Usa uma aspa simples em vez de um acento grave como uma aspa de abertura. [[Feature #16495]] + * Exibe o nome de classe antes de um nome de método (somente quando a classe tiver um nome permanente). [[Feature #19117]] + * `Kernel#caller`, métodos de `Thread::Backtrace::Location`, etc. também foram alterados de acordo. + + ``` + Antes: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + Agora: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +## Atualizações da C API + +* `rb_newobj` e `rb_newobj_of` (e macros correspondentes `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) foram removidos. [[Feature #20265]] +* Removida a função obsoleta `rb_gc_force_recycle`. [[Feature #18290]] + +## Mudanças diversas + +* Passar um bloco para um método que não usa o bloco passado mostrará + um aviso no modo verbose (`-w`). + [[Feature #15554]] + +* Redefinir alguns métodos principais que são especialmente otimizados pelo interpretador + e JIT como `String.freeze` ou `Integer#+` agora emite um aviso de classe de desempenho + (`-W:performance` ou `Warning[:performance] = true`). + [[Feature #20429]] + +Veja lançamentos no GitHub como [Logger](https://github.com/ruby/logger/releases) ou +changelog para detalhes das gems padrão ou gems incluídas. + +Veja [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +ou [logs de commits](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +para mais detalhes. + +Com essas mudanças, [{{ release.stats.files_changed }} arquivos alterados, {{ release.stats.insertions }} inserções(+), {{ release.stats.deletions }} deleções(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +desde Ruby 3.3.0! + +## Download + +* <{{ release.url.gz }}> + + TAMANHO: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + TAMANHO: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + TAMANHO: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## O que é Ruby + +Ruby foi desenvolvido pela primeira vez por Matz (Yukihiro Matsumoto) em 1993, +e agora é desenvolvido como Open Source. Ele roda em várias plataformas +e é usado em todo o mundo, especialmente para desenvolvimento web. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 diff --git a/pt/news/_posts/2024-12-25-ruby-3-4-0-released.md b/pt/news/_posts/2024-12-25-ruby-3-4-0-released.md new file mode 100644 index 0000000000..4baff89108 --- /dev/null +++ b/pt/news/_posts/2024-12-25-ruby-3-4-0-released.md @@ -0,0 +1,343 @@ +--- +layout: news_post +title: "Ruby 3.4.0 Lançado" +author: "naruse" +translator: nbluis +date: 2024-12-25 00:00:00 +0000 +lang: pt +--- + +{% assign release = site.data.releases | where: "version", "3.4.0" | first %} +Estamos felizes em anunciar o lançamento do Ruby {{ release.version }}. Ruby 3.4 adiciona a referência de parâmetro de bloco `it`, +altera o Prism como parser padrão, adiciona suporte ao Happy Eyeballs Versão 2 na biblioteca de socket, melhora o YJIT, +adiciona GC Modular, e muito mais. + +## `it` é introduzido + +`it` foi adicionado para referenciar um parâmetro de bloco sem nome de variável. [[Feature #18980]] + +```ruby +ary = ["foo", "bar", "baz"] + +p ary.map { it.upcase } #=> ["FOO", "BAR", "BAZ"] +``` + +`it` se comporta de maneira muito semelhante a `_1`. Quando a intenção é usar apenas `_1` em um bloco, a possibilidade de outros parâmetros numerados como `_2` aparecer impõe uma carga cognitiva extra aos leitores. Então `it` foi introduzido como um alias prático. Use `it` em casos simples onde `it` representa itself, como em blocos de uma linha. + +## Prism agora é o parser padrão + +Alteração do parser padrão de parse.y para Prism. [[Feature #20564]] + +Esta é uma melhoria interna e deve haver pouca mudança visível para o usuário. Se você notar algum problema de compatibilidade, por favor, reporte para nós. + +Para usar o parser convencional, use o argumento de linha de comando `--parser=parse.y`. + +## A biblioteca de socket agora possui Happy Eyeballs Versão 2 (RFC 8305) + +A biblioteca de socket agora possui [Happy Eyeballs Version 2 (RFC 8305)](https://datatracker.ietf.org/doc/html/rfc8305), a versão padronizada mais recente de uma abordagem amplamente adotada para melhor conectividade em muitas linguagens de programação, em `TCPSocket.new` (`TCPSocket.open`) e `Socket.tcp`. +Esta melhoria permite que o Ruby forneça conexões de rede eficientes e confiáveis, adaptadas aos ambientes modernos da internet. + +Até o Ruby 3.3, esses métodos realizavam a resolução de nomes e tentativas de conexão de forma serial. Com este algoritmo, eles agora operam da seguinte forma: + +1. Realiza a resolução de nomes IPv6 e IPv4 simultaneamente +2. Tenta conexões com os endereços IP resolvidos, priorizando IPv6, com tentativas paralelas escalonadas em intervalos de 250ms +3. Retorna a primeira conexão bem-sucedida enquanto cancela quaisquer outras + +Isso garante atrasos mínimos de conexão, mesmo se um protocolo específico ou endereço IP estiver atrasado ou indisponível. +Este recurso é habilitado por padrão, portanto, configuração adicional não é necessária para usá-lo. Para desativá-lo globalmente, defina a variável de ambiente `RUBY_TCP_NO_FAST_FALLBACK=1` ou chame `Socket.tcp_fast_fallback=false`. Ou para desativá-lo em um método específico, use o argumento `fast_fallback: false`. + +## YJIT + +### TL;DR + +* Melhor desempenho na maioria dos benchmarks em plataformas x86-64 e arm64. +* Uso reduzido de memória através de metadados comprimidos e um limite de memória unificado. +* Várias correções de bugs: YJIT agora é mais robusto e testado exaustivamente. + +### Novos recursos + +* Opções de linha de comando + * `--yjit-mem-size` introduz um limite de memória unificado (padrão 128MiB) para rastrear o uso total de memória do YJIT, + fornecendo uma alternativa mais intuitiva à antiga opção `--yjit-exec-mem-size`. + * `--yjit-log` habilita um log de compilação para rastrear o que é compilado. +* API Ruby + * `RubyVM::YJIT.log` fornece acesso ao final do log de compilação em tempo de execução. +* Estatísticas do YJIT + * `RubyVM::YJIT.runtime_stats` agora sempre fornece estatísticas adicionais sobre + invalidação, inlining e codificação de metadados. + +### Novas otimizações + +* Contexto comprimido reduz a memória necessária para armazenar metadados do YJIT +* Alocar registradores para variáveis locais e argumentos de métodos Ruby +* Quando o YJIT está habilitado, usa mais primitivas Core escritas em Ruby: + * `Array#each`, `Array#select`, `Array#map` reescritos em Ruby para melhor desempenho [[Feature #20182]]. +* Capacidade de inline de métodos pequenos/triviais, como: + * Métodos vazios + * Métodos que retornam uma constante + * Métodos que retornam `self` + * Métodos que retornam diretamente um argumento +* Geração de código especializada para muitos mais métodos em tempo de execução +* Otimiza `String#getbyte`, `String#setbyte` e outros métodos de string +* Otimiza operações bitwise para acelerar a manipulação de bits/bytes de baixo nível +* Suporte a constantes compartilháveis em modo multi-ractor +* Várias outras otimizações incrementais + +## Modular GC + +* Implementações alternativas de garbage collector (GC) podem ser carregadas dinamicamente + através do recurso de garbage collector modular. Para habilitar este recurso, + configure o Ruby com `--with-modular-gc` no momento da compilação. Bibliotecas de GC podem ser + carregadas em tempo de execução usando a variável de ambiente `RUBY_GC_LIBRARY`. + [[Feature #20351]] + +* O garbage collector embutido do Ruby foi dividido em um arquivo separado em + `gc/default/default.c` e interage com o Ruby usando uma API definida em + `gc/gc_impl.h`. O garbage collector embutido agora também pode ser compilado como uma + biblioteca usando `make modular-gc MODULAR_GC=default` e habilitado usando a + variável de ambiente `RUBY_GC_LIBRARY=default`. [[Feature #20470]] + +* Uma biblioteca experimental de GC é fornecida com base no [MMTk](https://www.mmtk.io/). + Esta biblioteca de GC pode ser compilada usando `make modular-gc MODULAR_GC=mmtk` e + habilitada usando a variável de ambiente `RUBY_GC_LIBRARY=mmtk`. Isso requer + a ferramenta Rust na máquina de compilação. [[Feature #20860]] + +## Mudanças na linguagem + +* Literais de string em arquivos sem um comentário `frozen_string_literal` agora emitem um aviso de descontinuação + quando são mutados. + Esses avisos podem ser habilitados com `-W:deprecated` ou configurando `Warning[:deprecated] = true`. + Para desativar essa mudança, você pode executar o Ruby com o argumento de linha de comando `--disable-frozen-string-literal`. [[Feature #20205]] + +* O splatting de palavra-chave `nil` ao chamar métodos agora é suportado. + `**nil` é tratado de maneira semelhante a `**{}`, não passando palavras-chave, + e não chamando nenhum método de conversão. [[Bug #20064]] + +* Passagem de bloco não é mais permitida em índice. [[Bug #19918]] + +* Argumentos de palavra-chave não são mais permitidos em índice. [[Bug #20218]] + +* O nome de nível superior `::Ruby` agora está reservado, e a definição será avisada quando `Warning[:deprecated]`. [[Feature #20884]] + +## Atualizações de classes principais + +Nota: Estamos listando apenas atualizações notáveis das classes principais. + +* Exception + + * `Exception#set_backtrace` agora aceita um array de `Thread::Backtrace::Location`. + `Kernel#raise`, `Thread#raise` e `Fiber#raise` também aceitam este novo formato. [[Feature #13557]] + +* GC + + * `GC.config` adicionado para permitir a configuração de variáveis no Garbage + Collector. [[Feature #20443]] + + * Parâmetro de configuração do GC `rgengc_allow_full_mark` introduzido. Quando `false` + o GC marcará apenas objetos jovens. O padrão é `true`. [[Feature #20443]] + +* Ractor + + * `require` em Ractor é permitido. O processo de requisição será executado no + Ractor principal. + `Ractor._require(feature)` é adicionado para executar o processo de requisição no + Ractor principal. [[Feature #20627]] + + * `Ractor.main?` é adicionado. [[Feature #20627]] + + * `Ractor.[]` e `Ractor.[]=` são adicionados para acessar o armazenamento local + do Ractor atual. [[Feature #20715]] + + * `Ractor.store_if_absent(key){ init }` é adicionado para inicializar variáveis locais do ractor + de forma segura para threads. [[Feature #20875]] + +* Range + + * `Range#size` agora levanta `TypeError` se o intervalo não for iterável. [[Misc #18984]] + +## Atualizações da Biblioteca Padrão + +Nota: Estamos listando apenas atualizações notáveis das bibliotecas padrão. + +* RubyGems + * Adicionada a opção `--attestation` ao gem push. Ela permite armazenar a assinatura no [sigstore.dev] + +* Bundler + * Adicionada uma configuração `lockfile_checksums` para incluir checksums em novos arquivos lockfile. + * Adicionado bundle lock `--add-checksums` para adicionar checksums a um arquivo lockfile existente + +* JSON + + * Melhorias de desempenho do `JSON.parse` cerca de 1,5 vezes mais rápido que json-2.7.x. + +* Tempfile + + * O argumento de palavra-chave `anonymous: true` foi implementado para Tempfile.create. + `Tempfile.create(anonymous: true)` remove o arquivo temporário criado imediatamente. + Assim, as aplicações não precisam remover o arquivo. + [[Feature #20497]] + +* win32/sspi.rb + + * Esta biblioteca agora foi extraída do repositório Ruby para [ruby/net-http-sspi]. + [[Feature #20775]] + +## Problemas de compatibilidade + +Nota: Excluindo correções de bugs. + +* As mensagens de erro e exibições de backtrace foram alteradas. + * Usa uma aspa simples em vez de um acento grave como uma aspa de abertura. [[Feature #16495]] + * Exibe o nome de classe antes de um nome de método (somente quando a classe tiver um nome permanente). [[Feature #19117]] + * `Kernel#caller`, métodos de `Thread::Backtrace::Location`, etc. também foram alterados de acordo. + + ``` + Antes: + test.rb:1:in `foo': undefined method `time' for an instance of Integer + from test.rb:2:in `
' + + Agora: + test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer + from test.rb:2:in '
' + ``` + +* A renderização de Hash#inspect foi alterada. [[Bug #20433]] + + * Chaves de símbolo são exibidas usando a sintaxe moderna de chave de símbolo: `"{user: 1}"` + * Outras chaves agora têm espaços ao redor de `=>`: `'{"user" => 1}'`, enquanto anteriormente não tinham: `'{"user"=>1}'` + +* Kernel#Float() agora aceita uma string decimal com a parte decimal omitida. [[Feature #20705]] + + ```rb + Float("1.") #=> 1.0 (anteriormente, um ArgumentError era levantado) + Float("1.E-1") #=> 0.1 (anteriormente, um ArgumentError era levantado) + ``` + +* String#to_f agora aceita uma string decimal com a parte decimal omitida. Note que o resultado muda quando um expoente é especificado. [[Feature #20705]] + + ```rb + "1.".to_f #=> 1.0 + "1.E-1".to_f #=> 0.1 (anteriormente, 1.0 era retornado) + ``` + +* Refinement#refined_class foi removido. [[Feature #19714]] + +## Problemas de compatibilidade da biblioteca padrão + +* DidYouMean + + * `DidYouMean::SPELL_CHECKERS[]=` e `DidYouMean::SPELL_CHECKERS.merge!` foram removidos. + +* Net::HTTP + + * Removidas as seguintes constantes obsoletas: + * `Net::HTTP::ProxyMod` + * `Net::NetPrivate::HTTPRequest` + * `Net::HTTPInformationCode` + * `Net::HTTPSuccessCode` + * `Net::HTTPRedirectionCode` + * `Net::HTTPRetriableCode` + * `Net::HTTPClientErrorCode` + * `Net::HTTPFatalErrorCode` + * `Net::HTTPServerErrorCode` + * `Net::HTTPResponseReceiver` + * `Net::HTTPResponceReceiver` + + Essas constantes foram obsoletas desde 2012. + +* Timeout + + * Rejeita valores negativos para Timeout.timeout. [[Bug #20795]] + +* URI + + * Alterado o parser padrão para compatível com RFC 3986 em vez de RFC 2396. + [[Bug #19266]] + +## Atualizações da C API + +* `rb_newobj` e `rb_newobj_of` (e macros correspondentes `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) foram removidos. [[Feature #20265]] +* Removida a função obsoleta `rb_gc_force_recycle`. [[Feature #18290]] + +## Mudanças diversas + +* Passar um bloco para um método que não usa o bloco passado mostrará + um aviso no modo verbose (`-w`). + [[Feature #15554]] + +* Redefinir alguns métodos principais que são especialmente otimizados pelo interpretador + e JIT como `String.freeze` ou `Integer#+` agora emite um aviso de classe de desempenho + (`-W:performance` ou `Warning[:performance] = true`). + [[Feature #20429]] + +Veja [NEWS](https://docs.ruby-lang.org/en/3.4/NEWS_md.html) +ou [logs de commits](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}) +para mais detalhes. + +Com essas mudanças, [{{ release.stats.files_changed }} arquivos alterados, {{ release.stats.insertions }} inserções(+), {{ release.stats.deletions }} deleções(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +desde Ruby 3.3.0! + +Feliz Natal, Boas Festas e aproveite a programação com Ruby 3.4! + +## Download + +* <{{ release.url.gz }}> + + TAMANHO: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + TAMANHO: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + TAMANHO: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## O que é Ruby + +Ruby foi desenvolvido pela primeira vez por Matz (Yukihiro Matsumoto) em 1993, +e agora é desenvolvido como Open Source. Ele roda em várias plataformas +e é usado em todo o mundo, especialmente para desenvolvimento web. + +[Feature #13557]: https://bugs.ruby-lang.org/issues/13557 +[Feature #15554]: https://bugs.ruby-lang.org/issues/15554 +[Feature #16495]: https://bugs.ruby-lang.org/issues/16495 +[Feature #18290]: https://bugs.ruby-lang.org/issues/18290 +[Feature #18980]: https://bugs.ruby-lang.org/issues/18980 +[Misc #18984]: https://bugs.ruby-lang.org/issues/18984 +[Feature #19117]: https://bugs.ruby-lang.org/issues/19117 +[Bug #19266]: https://bugs.ruby-lang.org/issues/19266 +[Feature #19714]: https://bugs.ruby-lang.org/issues/19714 +[Bug #19918]: https://bugs.ruby-lang.org/issues/19918 +[Bug #20064]: https://bugs.ruby-lang.org/issues/20064 +[Feature #20182]: https://bugs.ruby-lang.org/issues/20182 +[Feature #20205]: https://bugs.ruby-lang.org/issues/20205 +[Bug #20218]: https://bugs.ruby-lang.org/issues/20218 +[Feature #20265]: https://bugs.ruby-lang.org/issues/20265 +[Feature #20351]: https://bugs.ruby-lang.org/issues/20351 +[Feature #20429]: https://bugs.ruby-lang.org/issues/20429 +[Feature #20443]: https://bugs.ruby-lang.org/issues/20443 +[Feature #20470]: https://bugs.ruby-lang.org/issues/20470 +[Feature #20497]: https://bugs.ruby-lang.org/issues/20497 +[Feature #20564]: https://bugs.ruby-lang.org/issues/20564 +[Bug #20620]: https://bugs.ruby-lang.org/issues/20620 +[Feature #20627]: https://bugs.ruby-lang.org/issues/20627 +[Feature #20705]: https://bugs.ruby-lang.org/issues/20705 +[Feature #20715]: https://bugs.ruby-lang.org/issues/20715 +[Feature #20775]: https://bugs.ruby-lang.org/issues/20775 +[Bug #20795]: https://bugs.ruby-lang.org/issues/20795 +[Bug #20433]: https://bugs.ruby-lang.org/issues/20433 +[Feature #20860]: https://bugs.ruby-lang.org/issues/20860 +[Feature #20875]: https://bugs.ruby-lang.org/issues/20875 +[Feature #20884]: https://bugs.ruby-lang.org/issues/20884 +[sigstore.dev]: https://www.sigstore.dev +[ruby/net-http-sspi]: https://github.com/ruby/net-http-sspi diff --git a/pt/news/_posts/2024-12-25-ruby-3-4-1-released.md b/pt/news/_posts/2024-12-25-ruby-3-4-1-released.md new file mode 100644 index 0000000000..1ef49837b7 --- /dev/null +++ b/pt/news/_posts/2024-12-25-ruby-3-4-1-released.md @@ -0,0 +1,39 @@ +--- +layout: news_post +title: "Ruby 3.4.1 Lançado" +author: "naruse" +translator: nbluis +date: 2024-12-25 00:00:00 +0000 +lang: pt +--- + +Ruby 3.4.1 foi lançado. + +Isso corrige a descrição da versão. + +Veja os [lançamentos no GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_1) para mais detalhes. + +## Download + +{% assign release = site.data.releases | where: "version", "3.4.1" | first %} + +* <{{ release.url.gz }}> + + TAMANHO: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + TAMANHO: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + TAMANHO: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} diff --git a/pt/news/_posts/2025-01-15-ruby-3-3-7-released.md b/pt/news/_posts/2025-01-15-ruby-3-3-7-released.md new file mode 100644 index 0000000000..8d450c94fd --- /dev/null +++ b/pt/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.7 Lançado" +author: k0kubun +translator: nbluis +date: 2025-01-15 07:51:59 +0000 +lang: pt +--- + +Ruby 3.3.7 foi lançado. + +Esta é uma atualização de rotina que inclui correções de bugs menores. +Por favor, consulte [as notas de lançamento no GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_7) para mais detalhes. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.7" | first %} + +* <{{ release.url.gz }}> + + TAMANHO: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + TAMANHO: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + TAMANHO: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentário sobre o Lançamento + +Muitos committers, desenvolvedores e usuários que forneceram relatórios de bugs nos ajudaram a fazer este lançamento. +Obrigado pelas suas contribuições. From 1ee0f08f94f04a6b2705cf8fa140ffa48ef2c8e2 Mon Sep 17 00:00:00 2001 From: Eduardo Bohrer Date: Sun, 2 Feb 2025 19:55:35 -0300 Subject: [PATCH 2465/2563] Add missing newline to the end of news articles --- pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md | 2 +- pt/news/_posts/2024-10-30-ruby-3-2-6-released.md | 2 +- pt/news/_posts/2024-11-05-ruby-3-3-6-released.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md b/pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md index 373a37d5fb..34cfce30b4 100644 --- a/pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md +++ b/pt/news/_posts/2024-10-28-redos-rexml-cve-2024-49761.md @@ -28,4 +28,4 @@ Agradecimentos a [manun](https://hackerone.com/manun) por descobrir este problem ## Histórico -* Publicado originalmente em 2024-10-28 03:00:00 (UTC) \ No newline at end of file +* Publicado originalmente em 2024-10-28 03:00:00 (UTC) diff --git a/pt/news/_posts/2024-10-30-ruby-3-2-6-released.md b/pt/news/_posts/2024-10-30-ruby-3-2-6-released.md index b2b14c644d..6e07ffd96e 100644 --- a/pt/news/_posts/2024-10-30-ruby-3-2-6-released.md +++ b/pt/news/_posts/2024-10-30-ruby-3-2-6-released.md @@ -39,4 +39,4 @@ Por favor, consulte os [lançamentos no GitHub](https://github.com/ruby/ruby/rel ## Comentário do Lançamento Muitos committers, desenvolvedores e usuários que forneceram relatórios de bugs nos ajudaram a fazer este lançamento. -Obrigado pelas suas contribuições. \ No newline at end of file +Obrigado pelas suas contribuições. diff --git a/pt/news/_posts/2024-11-05-ruby-3-3-6-released.md b/pt/news/_posts/2024-11-05-ruby-3-3-6-released.md index ee224d4719..f3191cd0d9 100644 --- a/pt/news/_posts/2024-11-05-ruby-3-3-6-released.md +++ b/pt/news/_posts/2024-11-05-ruby-3-3-6-released.md @@ -47,4 +47,4 @@ Esperamos lançar o Ruby 3.3.7 em 7 de janeiro. Se surgirem mudanças significat ## Comentário sobre o Lançamento Muitos committers, desenvolvedores e usuários que forneceram relatórios de bugs nos ajudaram a fazer este lançamento. -Obrigado pelas suas contribuições. \ No newline at end of file +Obrigado pelas suas contribuições. From a9d731d0407a43f323555c1317f4d2395ca47e7f Mon Sep 17 00:00:00 2001 From: Daisuke Aritomo Date: Sun, 2 Feb 2025 15:21:11 +0900 Subject: [PATCH 2466/2563] Add link to 3.4 docs (ja) --- ja/documentation/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ja/documentation/index.md b/ja/documentation/index.md index 8c34614174..437ba5dceb 100644 --- a/ja/documentation/index.md +++ b/ja/documentation/index.md @@ -15,6 +15,7 @@ Rubyでプログラミングする際に役立つドキュメントを紹介し また、現在有志の手により[リファレンスマニュアルの整備][rurema-wiki]が進行中です。 成果物を[<URL:https://docs.ruby-lang.org/ja/>][doc-r-l-o]から閲覧できます。 +* [Rubyリファレンスマニュアル Ruby 3.4版][man-34] * [Rubyリファレンスマニュアル Ruby 3.3版][man-33] * [Rubyリファレンスマニュアル Ruby 3.2版][man-32] * [Rubyリファレンスマニュアル Ruby 3.1版][man-31] @@ -123,6 +124,7 @@ Posted by Shugo Maeda on 26 May 2006 [man-31]: https://docs.ruby-lang.org/ja/3.1/doc/index.html [man-32]: https://docs.ruby-lang.org/ja/3.2/doc/index.html [man-33]: https://docs.ruby-lang.org/ja/3.3/doc/index.html +[man-34]: https://docs.ruby-lang.org/ja/3.4/doc/index.html [man-search]: https://docs.ruby-lang.org/ja/search/ [man-xz]: https://cache.ruby-lang.org/pub/ruby/doc/ruby-refm-1.9.3-dynamic-20120829.tar.xz [man-gz]: https://cache.ruby-lang.org/pub/ruby/doc/ruby-refm-1.9.3-dynamic-20120829.tar.gz From 018d91e87451c7305602af44e61a03f4d59add3b Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Tue, 4 Feb 2025 11:57:16 +0000 Subject: [PATCH 2467/2563] Create release for 3.2.7 --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 en/news/_posts/2025-02-04-ruby-3-2-7-released.md diff --git a/en/news/_posts/2025-02-04-ruby-3-2-7-released.md b/en/news/_posts/2025-02-04-ruby-3-2-7-released.md new file mode 100644 index 0000000000..7514717d67 --- /dev/null +++ b/en/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.7 Released" +author: +translator: +date: 2025-02-04 11:57:14 +0000 +lang: en +--- + +Ruby 3.2.7 has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_7) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 896af14218744ac66ce253407c8d6cf26cfa1d8e Mon Sep 17 00:00:00 2001 From: nagachika Date: Tue, 4 Feb 2025 21:09:46 +0900 Subject: [PATCH 2468/2563] add 3.2.7 entries in _data/downloads.yml and _data/releases.yml --- _data/downloads.yml | 2 +- _data/releases.yml | 24 +++++++++++++++++++ .../_posts/2025-02-04-ruby-3-2-7-released.md | 4 ++-- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 87a5ad0fd9..007b69505d 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -9,7 +9,7 @@ stable: - 3.4.1 - 3.3.7 - - 3.2.6 + - 3.2.7 # optional security_maintenance: diff --git a/_data/releases.yml b/_data/releases.yml index b13a98f070..25376ee174 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -479,6 +479,30 @@ # 3.2 series +- version: 3.2.7 + date: 2025-02-04 + post: /en/news/2025/02/04/ruby-3-2-7-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.7.tar.xz + size: + gz: 20548416 + zip: 25129063 + xz: 15128228 + sha1: + gz: c45aa881a7ea1175212d385fe5c8b6e9ff14b2e5 + zip: d18fbf11004fdc98bc2c221b167b0d62bfc98dd2 + xz: 54e07b3adf1e948f5a35fc4ef9b24dd5976f1740 + sha256: + gz: 8488fa620ff0333c16d437f2b890bba3b67f8745fdecb1472568a6114aad9741 + zip: e4efb7d9e8f8fee6c717917760796c3e29d6c644f9777e4a46bd0a69ed21d5fd + xz: fc159b0d4a8ce412948fb69e61493839a0b3e1d5c919180f27036f1c948cfbe2 + sha512: + gz: 174e70ac20a21ea77e2c5055a9123a6812109fd7b54c0f7b948312b8159eedbfb11c06120390c158430ca8543e36893da6c809883c82757082d22e08004c5055 + zip: 5f57fb8b2d44187a8f900095cbe7bc90d9439c6436e3e361241b83102b85f665e3d7ed64fe1f6150dfb94eb289467f375ef24b46d5ac9b5f03b01ef31ed39606 + xz: c10b6fd27fad3bbd33d780c0a3eccb5df2a8465a89d2294ea6f14c7e5e8f7c8ea30b8a8b68bf8903c76f9133c5d984d5d66052ec4eb413153c739e6eea24beed + - version: 3.2.6 date: 2024-10-30 post: /en/news/2024/10/30/ruby-3-2-6-released/ diff --git a/en/news/_posts/2025-02-04-ruby-3-2-7-released.md b/en/news/_posts/2025-02-04-ruby-3-2-7-released.md index 7514717d67..a10c86dec4 100644 --- a/en/news/_posts/2025-02-04-ruby-3-2-7-released.md +++ b/en/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -1,9 +1,9 @@ --- layout: news_post title: "Ruby 3.2.7 Released" -author: +author: nagachika translator: -date: 2025-02-04 11:57:14 +0000 +date: 2025-02-04 12:00:00 +0000 lang: en --- From 0bd5ef01607be2318c6b5b7b327f181931750786 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 5 Feb 2025 18:40:47 +0900 Subject: [PATCH 2469/2563] Copy {en,ko}/news/_posts/2025-02-04-ruby-3-2-7-released.md --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ko/news/_posts/2025-02-04-ruby-3-2-7-released.md diff --git a/ko/news/_posts/2025-02-04-ruby-3-2-7-released.md b/ko/news/_posts/2025-02-04-ruby-3-2-7-released.md new file mode 100644 index 0000000000..a10c86dec4 --- /dev/null +++ b/ko/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.7 Released" +author: nagachika +translator: +date: 2025-02-04 12:00:00 +0000 +lang: en +--- + +Ruby 3.2.7 has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_7) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From ca83511bd8dadf5d1afa94afd6cc1b5e0d904180 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 5 Feb 2025 18:42:36 +0900 Subject: [PATCH 2470/2563] Translate "Ruby 3.2.7 released" (ko) --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ko/news/_posts/2025-02-04-ruby-3-2-7-released.md b/ko/news/_posts/2025-02-04-ruby-3-2-7-released.md index a10c86dec4..bb10f69369 100644 --- a/ko/news/_posts/2025-02-04-ruby-3-2-7-released.md +++ b/ko/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -1,17 +1,17 @@ --- layout: news_post -title: "Ruby 3.2.7 Released" +title: "Ruby 3.2.7 릴리스" author: nagachika -translator: +translator: shia date: 2025-02-04 12:00:00 +0000 -lang: en +lang: ko --- -Ruby 3.2.7 has been released. +Ruby 3.2.7이 릴리스되었습니다. -Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_7) for further details. +자세한 내용은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_7)를 참조하세요. -## Download +## 다운로드 {% assign release = site.data.releases | where: "version", "3.2.7" | first %} @@ -36,7 +36,7 @@ Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_ SHA256: {{ release.sha256.zip }} SHA512: {{ release.sha512.zip }} -## Release Comment +## 릴리스 코멘트 -Many committers, developers, and users who provided bug reports helped us make this release. -Thanks for their contributions. +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From ca3f9e44fdfb81d39807fdd46b195e7174b076af Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 5 Feb 2025 20:38:33 +0800 Subject: [PATCH 2471/2563] Translate Ruby 3.2.7 Released (zh_tw) --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 zh_tw/news/_posts/2025-02-04-ruby-3-2-7-released.md diff --git a/zh_tw/news/_posts/2025-02-04-ruby-3-2-7-released.md b/zh_tw/news/_posts/2025-02-04-ruby-3-2-7-released.md new file mode 100644 index 0000000000..30ad3d5add --- /dev/null +++ b/zh_tw/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "Ruby 3.2.7 發布" +author: nagachika +translator: "Bear Su" +date: 2025-02-04 12:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.2.7 已經發布了。 + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_2_7)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.2.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From 02420553f67e241f71f89e860322589c2cece9a1 Mon Sep 17 00:00:00 2001 From: Eduardo Bohrer Date: Wed, 5 Feb 2025 22:30:41 -0300 Subject: [PATCH 2472/2563] Translate 3.2.7 release to pt --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pt/news/_posts/2025-02-04-ruby-3-2-7-released.md diff --git a/pt/news/_posts/2025-02-04-ruby-3-2-7-released.md b/pt/news/_posts/2025-02-04-ruby-3-2-7-released.md new file mode 100644 index 0000000000..ef0cfcef67 --- /dev/null +++ b/pt/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.7 Lançado" +author: nagachika +translator: nbluis +date: 2025-02-04 12:00:00 +0000 +lang: pt +--- + +Ruby 3.2.7 foi lançado. + +Por favor, consulte os [lançamentos no GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_7) para mais detalhes. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.7" | first %} + +* <{{ release.url.gz }}> + + TAMANHO: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + TAMANHO: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + TAMANHO: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentário do Lançamento + +Muitos committers, desenvolvedores e usuários que forneceram relatórios de bugs nos ajudaram a fazer este lançamento. +Obrigado pelas contribuições. From 28d5640fb168bb40dfdd47ece6fe67e08ce6bfb1 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Thu, 6 Feb 2025 17:44:52 -0600 Subject: [PATCH 2473/2563] Added mise-en-place to installation (en) Co-authored-by: Juanito Fatas --- en/documentation/installation/index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/en/documentation/installation/index.md b/en/documentation/installation/index.md index 94d07ab4b7..e4852a3e40 100644 --- a/en/documentation/installation/index.md +++ b/en/documentation/installation/index.md @@ -57,6 +57,7 @@ Here are available installation methods: * [Managers](#managers) * [asdf-vm](#asdf-vm) * [chruby](#chruby) + * [mise-en-place](#mise-en-place) * [rbenv](#rbenv) * [rbenv for Windows](#rbenv-for-windows) * [RVM](#rvm) @@ -334,6 +335,14 @@ manage Rubies installed by [ruby-install](#ruby-install) or even built from source. +### mise-en-place +{: #mise-en-place} + +[mise-en-place][mise-en-place] allows you to switch between multiple Rubies without requiring additional tools. +It manages installations automatically and includes a [gem backend](https://mise.jdx.dev/dev-tools/backends/gem.html) to manage versions of CLIs written in Ruby. +It supports UNIX-like and Windows operating systems. + + ### rbenv {: #rbenv} @@ -421,4 +430,6 @@ though, because the installed Ruby won't be managed by any tools. [wsl]: https://docs.microsoft.com/en-us/windows/wsl/about [asdf-vm]: https://asdf-vm.com/ [asdf-ruby]: https://github.com/asdf-vm/asdf-ruby +[mise-en-place]: https://mise.jdx.dev +[mise-en-place-ruby]: https://mise.jdx.dev/lang/ruby.html [openbsd-current-ruby-ports]: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/ruby/?only_with_tag=HEAD From e3d5083197e3d143a9b03e5679eff4619002d25f Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 8 Feb 2025 10:38:05 +0900 Subject: [PATCH 2474/2563] Translate "Added mise-in-place" (ko) (#3488) * Align & fill up missed text * Copy "added mise-en-place" * Tranlate "mise-in-place" * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/documentation/installation/index.md | 93 +++++++++++++++++--------- 1 file changed, 63 insertions(+), 30 deletions(-) diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index 994c51c327..60998f0a07 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -4,8 +4,8 @@ title: "Ruby 설치하기" lang: ko --- -Ruby를 설치하고 관리할 수 있는 다양한 패키지 관리 시스템들과 서드파티 도구들이 있습니다. - +Ruby를 설치하고 관리할 수 있는 다양한 패키지 관리 시스템들과 +서드파티 도구들이 있습니다. {: .summary} 컴퓨터에 이미 Ruby가 설치되어 있을 수도 있습니다. @@ -55,7 +55,9 @@ Windows 10을 사용 중이라면 [Windows Subsystem for Linux][wsl]를 사용 * [RubyInstaller](#rubyinstaller) (Windows) * [Ruby Stack](#rubystack) * [관리자](#managers) + * [asdf-vm](#asdf-vm) * [chruby](#chruby) + * [mise-en-place](#mise-en-place) * [rbenv](#rbenv) * [rbenv for Windows](#rbenv-for-windows) * [RVM](#rvm) @@ -72,10 +74,12 @@ Ruby를 설치하기 위해 자신의 시스템의 패키지 관리자를 사용 Ruby 커뮤니티의 일부 회원들은 Ruby를 설치할 때 패키지 관리자를 사용하지 말아야 하고, 대신 도구를 사용해야 한다고 느끼고 있습니다. -대부분의 패키지 관리자들은 오래된 버전의 Ruby를 설치합니다. -최신의 Ruby를 사용하고자 한다면, 패키지의 버전 번호가 올바른지 확인하거나 +대부분의 패키지 관리자들은 최근 릴리스 대신 +오래된 버전의 Ruby를 설치합니다. 최신 버전의 Ruby를 사용하고자 한다면, +패키지의 버전 번호가 올바른지 확인하거나 특정 [인스톨러][installers]를 사용하세요. + ### apt (Debian이나 Ubuntu) {: #apt} @@ -86,6 +90,7 @@ Debian GNU/Linux와 Ubuntu는 apt 패키지 관리 시스템을 사용합니다. $ sudo apt-get install ruby-full {% endhighlight %} + ### yum (CentOS, Fedora, RHEL) {: #yum} @@ -96,20 +101,24 @@ CentOS, Fedora, RHEL은 yum 패키지 관리 시스템을 사용합니다. $ sudo yum install ruby {% endhighlight %} -설치된 버전은 보통 그 특정 배포 버전 릴리스 시기의 최신 버전의 Ruby입니다. +설치된 버전은 보통 그 특정 배포 버전 릴리스 시기의 +최신 버전의 Ruby입니다. ### snap (Ubuntu나 다른 리눅스 배포판) {: #snap} -Snap은 Canonical에 의해 개발된 패키지 매니저입니다. 이는 Ubuntu에서 바로 사용 가능합니다만, 다른 리눅스 배포판에서도 동작합니다. +Snap은 Canonical에 의해 개발된 패키지 매니저입니다. +이는 Ubuntu에서 바로 사용 가능합니다만, +다른 리눅스 배포판에서도 동작합니다. 다음과 같이 사용할 수 있습니다. {% highlight sh %} $ sudo snap install ruby --classic {% endhighlight %} -Ruby의 마이너 시리즈를 위한 채널을 제공합니다. 예를 들어, 다음 명령은 Ruby 2.3으로 변경할 수 있게 해줍니다. +Ruby의 마이너 시리즈를 위한 채널을 제공합니다. +예를 들어, 다음 명령은 Ruby 2.3으로 변경할 수 있게 해줍니다. {% highlight sh %} $ sudo snap switch ruby --channel=2.3/stable @@ -146,7 +155,8 @@ $ sudo pacman -S ruby ### Homebrew (macOS) {: #homebrew} -엘 캐피탄(10.11)부터 모하비(10.14)까지의 macOS 릴리스에서는 Ruby 2.0 이상이 포함되어 있습니다. +엘 캐피탄(10.11)부터 macOS 릴리스에서는 +Ruby 2.0 이상이 포함되어 있습니다. [Homebrew][homebrew]는 macOS에서 일반적으로 사용되는 패키지 관리자입니다. Homebrew를 사용해 새로운 버전의 Ruby를 설치하는 것은 쉽습니다. @@ -168,8 +178,9 @@ pkg를 이용하여 패키지를 설치할 수 있습니다: $ pkg install ruby {% endhighlight %} -[포트 컬렉션][freebsd-ports-collection]을 사용하여 Ruby를 소스로부터 설치 -할 수 있습니다. 이는 설치 설정을 변경하고 싶을 때 유용합니다. +[포트 컬렉션][freebsd-ports-collection]을 사용하여 Ruby를 소스로부터 +설치 할 수 있습니다. 이는 설치 설정을 변경하고 싶을 때 +유용합니다. FreeBSD 상의 Ruby와 그 환경에 대해서 더 자세한 정보는 [FreeBSD Ruby Project 웹사이트][freebsd-ruby]에서 얻을 수 있습니다. @@ -178,8 +189,9 @@ FreeBSD 상의 Ruby와 그 환경에 대해서 더 자세한 정보는 ### OpenBSD {: #openbsd} -OpenBSD와 그 배포판인 adJ에는 3개의 Ruby 메이저 버전의 패키지가 있습니다. -다음 명령을 통해 설치 가능한 버전을 확인하고 설치할 수 있습니다. +OpenBSD와 그 배포판인 adJ에는 3개의 Ruby 메이저 버전의 패키지가 +있습니다. 다음 명령을 통해 설치 가능한 버전을 확인하고 +설치할 수 있습니다. {% highlight sh %} $ doas pkg_add ruby @@ -190,7 +202,8 @@ $ doas pkg_add ruby 가장 최신의 Ruby 버전이 릴리스된 며칠 후면 OpenBSD 포트 컬렉션의 `HEAD` 브랜치에 이 플랫폼을 위한 Ruby 버전이 추가되어 있을 것입니다. -[가장 최신의 포트 컬렉션의 lang/ruby 디렉터리][openbsd-current-ruby-ports]를 확인하세요. +[가장 최신의 포트 컬렉션의 lang/ruby 디렉터리][openbsd-current-ruby-ports]를 +확인하세요. ### OpenIndiana에서의 Ruby @@ -205,7 +218,8 @@ Ruby 바이너리와 RubyGems를 직접 받아 설치합니다. 아주 쉽습니 $ pkg install runtime/ruby {% endhighlight %} -하지만, 서드파티 도구를 사용하는 것이 최신 버전의 Ruby를 얻는 더 좋은 방법입니다. +하지만, 서드파티 도구를 사용하는 것이 최신 버전의 Ruby를 얻는 +더 좋은 방법입니다. ### Windows 패키지 관리자 {: #winget} @@ -233,13 +247,14 @@ Windows에서 [Windows 패키지 관리자 CLI](https://github.com/microsoft/win > choco install ruby {% endhighlight %} -`msys2`가 이미 설치되어 있다면 이를 그대로 사용하고, 아니면 완전한 Ruby 개발 -환경을 위해서 새로 설치합니다. +`msys2`가 이미 설치되어 있다면 이를 그대로 사용하고, 아니면 완전한 Ruby 개발 환경을 위해서 새로 설치합니다. ### 다른 배포판 +{: #other-systems} -다른 시스템에서는 자신의 Linux 배포 관리자를 위한 패키지 저장소를 검색할 수 있습니다. -아니면 [서드파티 인스톨러][installers]를 사용할 수도 있습니다. +다른 시스템에서는 자신의 Linux 배포 관리자를 위한 패키지 저장소를 +검색할 수 있습니다. 아니면 [서드파티 인스톨러][installers]를 +사용할 수도 있습니다. ## 인스톨러 @@ -248,8 +263,9 @@ Windows에서 [Windows 패키지 관리자 CLI](https://github.com/microsoft/win 시스템이나 패키지 관리자에서 제공하는 Ruby가 구 버전이라면, 서드 파티 인스톨러를 사용해 새로운 버전의 Ruby를 설치할 수 있습니다. -어떤 인스톨러는 여러 버전의 Ruby를 같은 시스템에 설치하게 합니다. -관련된 관리자는 다른 Ruby 간의 전환을 도와줍니다. +어떤 인스톨러는 여러 버전의 Ruby를 같은 시스템에 설치하게 +합니다. 관련된 관리자는 다른 Ruby 간의 전환을 +도와줍니다. [RVM](#rvm)을 버전 관리자로 사용할 계획이라면 포함되어 있으므로 별도의 인스톨러는 필요 없습니다. @@ -285,26 +301,30 @@ Windows에서는 [RubyInstaller][rubyinstaller]는 전체 Ruby 개발 환경을 ### Ruby Stack {: #rubystack} -Ruby on Rails를 사용하기 위해 Ruby를 설치하신다면 다음 인스톨러를 사용할 수 있습니다. +Ruby on Rails를 사용하기 위해 Ruby를 설치하신다면 다음 인스톨러를 +사용할 수 있습니다. -* [Bitnami Ruby Stack][rubystack]는 Ruby on Rails를 위한 완전한 개발환경을 제공합니다. +* [Bitnami Ruby Stack][rubystack]는 Ruby on Rails를 위한 + 완전한 개발환경을 제공합니다. macOS, Linux, Windows, 가상 머신, 클라우드 이미지를 지원합니다. ## 관리자 +{: #managers} 많은 루비스트들이 여러 버전의 Ruby를 관리하기 위해 Ruby 관리자를 사용합니다. 각 프로젝트에서 서로 다른 Ruby 버전을 사용할 수 있도록 간단하게 또는 자동으로 버전을 변경해주며 그 이외의 장점들이 있지만, 공식적으로 지원되는 것은 아닙니다. 하지만, 각각의 커뮤니티에서 도움을 구할 수 있습니다. -### asdf-vm +### asdf-vm {: #asdf-vm} -[asdf-vm][asdf-vm]은 프로젝트 단위로 여러 언어 런타임 버전을 관리할 수 있는 -확장 가능한 버전 관리자입니다. Ruby를 설치하려면 [asdf-ruby][asdf-ruby] -플러그인이 필요합니다(이는 [ruby-build](#ruby-build)를 사용합니다). +[asdf-vm][asdf-vm]은 프로젝트 단위로 여러 언어 런타임 버전을 +관리할 수 있는 확장 가능한 버전 관리자입니다. Ruby를 설치하려면 +[asdf-ruby][asdf-ruby] 플러그인이 필요합니다(이는 [ruby-build](#ruby-build)를 +사용합니다). ### chruby @@ -315,6 +335,14 @@ chruby는 [ruby-install](#ruby-install)로 설치된 Ruby뿐만 아니라 소스에서 빌드 된 Ruby도 관리할 수 있습니다. +### mise-en-place +{: #mise-en-place} + +[mise-en-place][mise-en-place]는 추가 도구 없이 여러 Ruby 간의 전환을 할 수 있게 합니다. +설치를 자동으로 관리하며 Ruby로 작성된 CLI의 버전을 관리하기 위한 [gem 백엔드](https://mise.jdx.dev/dev-tools/backends/gem.html)를 포함합니다. +UNIX 계열 운영체제와 Windows를 지원합니다. + + ### rbenv {: #rbenv} @@ -323,13 +351,16 @@ rbenv 자체는 Ruby 설치를 지원하지 않습니다만, [ruby-build](#ruby- 유명한 플러그인에서 Ruby를 설치할 수 있습니다. rbenv, ruby-build 모두 macOS, Linux나 다른 UNIX-계열 운영체제에서 사용가능합니다. + ### rbenv for Windows {: #rbenv-for-windows} -[rbenv for Windows][rbenv-for-windows]는 Windows에서 여러 종류의 Ruby를 설치하고 -관리할 수 있도록 합니다. 이는 PowerShell로 작성되었으므로 Windows에서 Ruby를 -이용하는 사용자들에게 자연스러운 수단을 제공합니다. 또한 커맨드 라인 인터페이스는 -UNIX-계열 운영체제의 [rbenv][rbenv]와 호환됩니다. +[rbenv for Windows][rbenv-for-windows]는 Windows에서 여러 종류의 Ruby를 +설치하고 관리할 수 있도록 합니다. 이는 PowerShell로 작성되었으므로 +Windows에서 Ruby를 이용하는 사용자들에게 자연스러운 수단을 제공합니다. +또한 커맨드 라인 인터페이스는 UNIX 계열 +운영체제의 [rbenv][rbenv]와 호환됩니다. + ### RVM ("Ruby Version Manager") {: #rvm} @@ -399,4 +430,6 @@ $ sudo make install [wsl]: https://docs.microsoft.com/ko-kr/windows/wsl/about [asdf-vm]: https://asdf-vm.com/ [asdf-ruby]: https://github.com/asdf-vm/asdf-ruby +[mise-en-place]: https://mise.jdx.dev +[mise-en-place-ruby]: https://mise.jdx.dev/lang/ruby.html [openbsd-current-ruby-ports]: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/ruby/?only_with_tag=HEAD From 5f1559c822843b1840751962cac0bc2abb839f30 Mon Sep 17 00:00:00 2001 From: gaojun Date: Mon, 10 Feb 2025 09:46:55 +0800 Subject: [PATCH 2475/2563] Translate Ruby 3.2.7 released(zh_cn) --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 zh_cn/news/_posts/2025-02-04-ruby-3-2-7-released.md diff --git a/zh_cn/news/_posts/2025-02-04-ruby-3-2-7-released.md b/zh_cn/news/_posts/2025-02-04-ruby-3-2-7-released.md new file mode 100644 index 0000000000..2ad8034460 --- /dev/null +++ b/zh_cn/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.7 已发布" +author: nagachika +translator: "GAO Jun" +date: 2025-02-04 12:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.2.7 已发布。 + +更多信息可以参考 [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_7)。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.2.7" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 10f07e63b0ae267c93674bad1e645c01b085f8bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sun, 9 Feb 2025 21:34:41 -0500 Subject: [PATCH 2476/2563] Translate 3.2.7 release (es) (#3491) --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 es/news/_posts/2025-02-04-ruby-3-2-7-released.md diff --git a/es/news/_posts/2025-02-04-ruby-3-2-7-released.md b/es/news/_posts/2025-02-04-ruby-3-2-7-released.md new file mode 100644 index 0000000000..50e3c59227 --- /dev/null +++ b/es/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "Publicado Ruby 3.2.7" +author: nagachika +translator: vtamara +date: 2025-02-04 12:00:00 +0000 +lang: es +--- + +Ruby 3.2.7 ha sido publicado. + +Por favor vea detalles en la +[publiación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_7). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.2.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentarios de la versión + +Muchas contribuyentes, desarrolladores y usuarios que proveyeron +reportes de fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. From edc4e7e842919a494ac22b606803353ede680f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Sun, 9 Feb 2025 21:37:20 -0500 Subject: [PATCH 2477/2563] Fix comments of 3.3.7 (#3492) --- es/news/_posts/2025-01-15-ruby-3-3-7-released.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/es/news/_posts/2025-01-15-ruby-3-3-7-released.md b/es/news/_posts/2025-01-15-ruby-3-3-7-released.md index 1fe6a4f205..40bcdac186 100644 --- a/es/news/_posts/2025-01-15-ruby-3-3-7-released.md +++ b/es/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -40,5 +40,8 @@ Por favor revise más detalles en las ## Comentario de la versión -Many committers, developers, and users who provided bug reports helped us make this release. -Thanks for their contributions. + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. From da025131a3ad53a87bbe90b89fb781946a210b64 Mon Sep 17 00:00:00 2001 From: nick evans Date: Sat, 8 Feb 2025 14:53:03 -0500 Subject: [PATCH 2478/2563] Add CVE-2025-25186: DoS vulnerability in net-imap --- .../2025-02-11-dos-net-imap-cve-2025-25186.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md diff --git a/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md new file mode 100644 index 0000000000..66b0d9a4fa --- /dev/null +++ b/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2025-25186: DoS vulnerability in net-imap" +author: "nevans" +translator: +date: 2025-02-11 03:00:00 +0000 +tags: security +lang: en +--- + +There is a possibility for DoS by in the net-imap gem. This vulnerability has been assigned the CVE identifier [CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186). We recommend upgrading the net-imap gem. + +## Details + +A malicious server can send highly compressed uid-set data which is automatically read by the client's receiver thread. The response parser uses Range#to_a to convert the uid-set data into arrays of integers, with no limitation on the expanded size of the ranges. + +Please update net-imap gem to version 0.3.8, 0.4.19, 0.5.6, or later. + +## Affected versions + +* net-imap gem between 0.3.2 and 0.3.8, 0.4.0 and 0.4.19, or 0.5.0 and 0.5.6 + +## Credits + +Thanks to [manun](https://hackerone.com/manun) for discovering this issue. + +## History + +* Originally published at 2025-02-11 03:00:00 (UTC) From 2a557d640fe2f4ffd9b1adac3dc23b86afe4acaa Mon Sep 17 00:00:00 2001 From: Bear Su Date: Mon, 10 Feb 2025 20:58:18 +0800 Subject: [PATCH 2479/2563] Translate 2025-02-11 DoS net-imap CVE news (zh_tw) --- .../2025-02-11-dos-net-imap-cve-2025-25186.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md diff --git a/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md new file mode 100644 index 0000000000..53df9b3bd7 --- /dev/null +++ b/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md @@ -0,0 +1,33 @@ +--- +layout: news_post +title: "CVE-2025-25186: net-imap DoS 漏洞" +author: "nevans" +translator: "Bear Su" +date: 2025-02-11 03:00:00 +0000 +tags: security +lang: zh_tw +--- + +在 net-imap gem 發現可能會造成 DoS 的漏洞。 +該漏洞的 CVE 編號為 [CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186)。 + +我們建議您升級 net-imap gem。 + +## 風險細節 + +惡意伺服器可以發送高度壓縮的 uid-set 資料,該資料會自動被客戶端的接收者執行緒讀取。 +回應解析器使用 Range#to_a 會將 uid-set 資料轉換為整數陣列,但對範圍的擴展大小沒有限制。 + +請更新 net-imap gem 至 0.3.8、0.4.19、0.5.6、或更新版本。 + +## 受影響版本 + +* net-imap gem 版本介於 0.3.2 至 0.3.8、0.4.0 至 0.4.19、或 0.5.0 至 0.5.6 + +## 致謝 + +感謝 [manun](https://hackerone.com/manun) 發現此問題。 + +## 歷史 + +* 最初發布於 2025-02-11 03:00:00 (UTC) From e544f9cd663b37b1a648a853c7bce0c885b24a3d Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Mon, 10 Feb 2025 23:52:20 +0900 Subject: [PATCH 2480/2563] Fix affected versions for CVE-2025-25186 (en, zh_tw) --- en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md | 2 +- zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md index 66b0d9a4fa..1bba67bd7d 100644 --- a/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md +++ b/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md @@ -18,7 +18,7 @@ Please update net-imap gem to version 0.3.8, 0.4.19, 0.5.6, or later. ## Affected versions -* net-imap gem between 0.3.2 and 0.3.8, 0.4.0 and 0.4.19, or 0.5.0 and 0.5.6 +* net-imap gem versions 0.3.2 to 0.3.7, 0.4.0 to 0.4.18, and 0.5.0 to 0.5.5 (inclusive). ## Credits diff --git a/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md index 53df9b3bd7..af6d9cbee9 100644 --- a/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md +++ b/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md @@ -22,7 +22,7 @@ lang: zh_tw ## 受影響版本 -* net-imap gem 版本介於 0.3.2 至 0.3.8、0.4.0 至 0.4.19、或 0.5.0 至 0.5.6 +* net-imap gem 版本介於 0.3.2 至 0.3.7、0.4.0 至 0.4.18、或 0.5.0 至 0.5.5 ## 致謝 From 2b6890fd3e52ab65dbe0828648bfbf8028f65edd Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 11 Feb 2025 10:52:04 +0900 Subject: [PATCH 2481/2563] Translate "CVE-2025-25186" (ko) (#3493) * cp {en,ko}/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md * Translate "CVE-2025-25186" (ko) Co-authored-by: Juanito Fatas --- .../2025-02-11-dos-net-imap-cve-2025-25186.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ko/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md diff --git a/ko/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/ko/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md new file mode 100644 index 0000000000..15c847df5e --- /dev/null +++ b/ko/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2025-25186: net-imap의 DoS 취약점" +author: "nevans" +translator: "shia" +date: 2025-02-11 03:00:00 +0000 +tags: security +lang: ko +--- + +net-imap gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186)로 등록되었습니다. net-imap gem을 업그레이드하기를 추천합니다. + +## 세부 내용 + +악의적인 서버가 고도로 압축된 uid-set 데이터를 보낼 수 있으며, 클라이언트의 수신 스레드는 이 데이터를 자동으로 읽습니다. 응답 파서는 uid-set 데이터를 정수 배열로 변환하기 위해 Range#to_a를 사용하며, 이때 범위의 확장 크기에 대한 제한이 없습니다. + +net-imap gem을 0.3.8, 0.4.19, 또는 0.5.6으로 업데이트하세요. + +## 해당 버전 + +* net-imap gem 0.3.2부터 0.3.7까지, 0.4.0부터 0.4.18까지, 또는 0.5.0부터 0.5.5까지 + +## 도움을 준 사람 + +이 문제를 발견해 준 [manun](https://hackerone.com/manun)에게 감사를 표합니다. + +## 수정 이력 + +* 2025-02-11 03:00:00 (UTC) 최초 공개 From e6be1bf22ff5a1ee57fe12b4d4160676580b1d26 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 11 Feb 2025 10:52:47 +0900 Subject: [PATCH 2482/2563] Translate "CVE-2025-25186" (ja) (#3494) * cp {en,ja}/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md * Translate "CVE-2025-25186" (ja) Co-authored-by: Juanito Fatas --- .../2025-02-11-dos-net-imap-cve-2025-25186.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ja/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md diff --git a/ja/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/ja/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md new file mode 100644 index 0000000000..d25570b8bc --- /dev/null +++ b/ja/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2025-25186: net-imap gem の DoS の脆弱性" +author: "nevans" +translator: "shia" +date: 2025-02-11 03:00:00 +0000 +tags: security +lang: ja +--- + +net-imap gem に DoS の脆弱性が発見されました。この脆弱性は [CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186) として登録されています。net-imap gem のアップグレードを推奨します。 + +## 詳細 + +悪意のあるサーバーはクライアントの受信スレッドによって自動的に読み取られる高度に圧縮された uid-set データを送信することができます。応答パーサーは、uid-set データを整数の配列に変換するために Range#to_a を使用しますが、範囲の展開サイズに制限がありません。 + +net-imap gem を 0.3.8、0.4.19、0.5.6 またはそれ以降にアップデートしてください。 + +## 影響を受けるバージョン + +* net-imap gem 0.3.2 から 0.3.7 まで、0.4.0 から 0.4.18 まで、または 0.5.0 から 0.5.5 まで + +## クレジット + +* この脆弱性情報は、[manun](https://hackerone.com/manun) 氏によって報告されました。 + +## 更新履歴 + +* 2025-02-11 12:00:00 (JST) 初版 From 290546b19f3590aa37b3c3eb27a75c783a5178a7 Mon Sep 17 00:00:00 2001 From: Eduardo Bohrer Date: Mon, 10 Feb 2025 22:53:18 -0300 Subject: [PATCH 2483/2563] Translate CVE-2025-25186: DoS vulnerability in net-imap (pt) (#3497) * Translate CVE-2025-25186: Vulnerabilidade de DoS em net-imap (pt) --- .../2025-02-11-dos-net-imap-cve-2025-25186.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pt/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md diff --git a/pt/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/pt/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md new file mode 100644 index 0000000000..7e4284f528 --- /dev/null +++ b/pt/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md @@ -0,0 +1,29 @@ +--- +layout: news_post +title: "CVE-2025-25186: Vulnerabilidade de DoS em net-imap" +author: "nevans" +translator: nbluis +date: 2025-02-11 03:00:00 +0000 +tags: security +lang: pt +--- + +Existe uma possibilidade de DoS na gem net-imap. Esta vulnerabilidade foi atribuída ao identificador CVE [CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186). Recomendamos atualizar a gem net-imap. + +## Detalhes + +Um servidor malicioso pode enviar dados uid-set altamente compactados, que são lidos automaticamente pelo thread receptor do cliente. O parser de resposta usa Range#to_a para converter os dados uid-set em arrays de inteiros, sem limitação no tamanho expandido dos intervalos. + +Atualize a gem net-imap para a versão 0.3.8, 0.4.19, 0.5.6 ou posterior. + +## Versões afetadas + +* gem net-imap entre 0.3.2 e 0.3.7, 0.4.0 e 0.4.18, ou 0.5.0 e 0.5.5 + +## Créditos + +Obrigado a [manun](https://hackerone.com/manun) por descobrir este problema. + +## Histórico + +* Publicado originalmente em 2025-02-11 03:00:00 (UTC) From 5e55eb6a0b199e448e7b9579cd64b53e41e57481 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 11 Feb 2025 10:53:47 +0900 Subject: [PATCH 2484/2563] Translate "Ruby 3.2.7 Released" (ja) (#3495) --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ja/news/_posts/2025-02-04-ruby-3-2-7-released.md diff --git a/ja/news/_posts/2025-02-04-ruby-3-2-7-released.md b/ja/news/_posts/2025-02-04-ruby-3-2-7-released.md new file mode 100644 index 0000000000..a52bd5db0e --- /dev/null +++ b/ja/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.7 リリース" +author: nagachika +translator: shia +date: 2025-02-04 12:00:00 +0000 +lang: ja +--- + +Ruby 3.2.7 がリリースされました。 + +詳しくは [GitHub release notes](https://github.com/ruby/ruby/releases/tag/v3_2_7) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.2.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 31922302c65437bf37ed59e370232d0e126f9071 Mon Sep 17 00:00:00 2001 From: manunio Date: Tue, 11 Feb 2025 10:26:46 +0530 Subject: [PATCH 2485/2563] CVE-2025-25186: Update publish date --- ...025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} | 4 ++-- ...025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} | 4 ++-- ...025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} | 4 ++-- ...025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} | 4 ++-- ...025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) rename en/news/_posts/{2025-02-11-dos-net-imap-cve-2025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} (91%) rename ja/news/_posts/{2025-02-11-dos-net-imap-cve-2025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} (94%) rename ko/news/_posts/{2025-02-11-dos-net-imap-cve-2025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} (93%) rename pt/news/_posts/{2025-02-11-dos-net-imap-cve-2025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} (91%) rename zh_tw/news/_posts/{2025-02-11-dos-net-imap-cve-2025-25186.md => 2025-02-10-dos-net-imap-cve-2025-25186.md} (91%) diff --git a/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/en/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md similarity index 91% rename from en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md rename to en/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md index 1bba67bd7d..8b39b12ed5 100644 --- a/en/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md +++ b/en/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2025-25186: DoS vulnerability in net-imap" author: "nevans" translator: -date: 2025-02-11 03:00:00 +0000 +date: 2025-02-10 03:00:00 +0000 tags: security lang: en --- @@ -26,4 +26,4 @@ Thanks to [manun](https://hackerone.com/manun) for discovering this issue. ## History -* Originally published at 2025-02-11 03:00:00 (UTC) +* Originally published at 2025-02-10 03:00:00 (UTC) diff --git a/ja/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/ja/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md similarity index 94% rename from ja/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md rename to ja/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md index d25570b8bc..d58d494a85 100644 --- a/ja/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md +++ b/ja/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2025-25186: net-imap gem の DoS の脆弱性" author: "nevans" translator: "shia" -date: 2025-02-11 03:00:00 +0000 +date: 2025-02-10 03:00:00 +0000 tags: security lang: ja --- @@ -26,4 +26,4 @@ net-imap gem を 0.3.8、0.4.19、0.5.6 またはそれ以降にアップデー ## 更新履歴 -* 2025-02-11 12:00:00 (JST) 初版 +* 2025-02-10 12:00:00 (JST) 初版 diff --git a/ko/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/ko/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md similarity index 93% rename from ko/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md rename to ko/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md index 15c847df5e..16f68c3621 100644 --- a/ko/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md +++ b/ko/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2025-25186: net-imap의 DoS 취약점" author: "nevans" translator: "shia" -date: 2025-02-11 03:00:00 +0000 +date: 2025-02-10 03:00:00 +0000 tags: security lang: ko --- @@ -26,4 +26,4 @@ net-imap gem을 0.3.8, 0.4.19, 또는 0.5.6으로 업데이트하세요. ## 수정 이력 -* 2025-02-11 03:00:00 (UTC) 최초 공개 +* 2025-02-10 03:00:00 (UTC) 최초 공개 diff --git a/pt/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/pt/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md similarity index 91% rename from pt/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md rename to pt/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md index 7e4284f528..09e8701462 100644 --- a/pt/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md +++ b/pt/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2025-25186: Vulnerabilidade de DoS em net-imap" author: "nevans" translator: nbluis -date: 2025-02-11 03:00:00 +0000 +date: 2025-02-10 03:00:00 +0000 tags: security lang: pt --- @@ -26,4 +26,4 @@ Obrigado a [manun](https://hackerone.com/manun) por descobrir este problema. ## Histórico -* Publicado originalmente em 2025-02-11 03:00:00 (UTC) +* Publicado originalmente em 2025-02-10 03:00:00 (UTC) diff --git a/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md b/zh_tw/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md similarity index 91% rename from zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md rename to zh_tw/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md index af6d9cbee9..2c019ba8db 100644 --- a/zh_tw/news/_posts/2025-02-11-dos-net-imap-cve-2025-25186.md +++ b/zh_tw/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -3,7 +3,7 @@ layout: news_post title: "CVE-2025-25186: net-imap DoS 漏洞" author: "nevans" translator: "Bear Su" -date: 2025-02-11 03:00:00 +0000 +date: 2025-02-10 03:00:00 +0000 tags: security lang: zh_tw --- @@ -30,4 +30,4 @@ lang: zh_tw ## 歷史 -* 最初發布於 2025-02-11 03:00:00 (UTC) +* 最初發布於 2025-02-10 03:00:00 (UTC) From 6f9298148c49c6309495af45359a8d480bfa9673 Mon Sep 17 00:00:00 2001 From: gaojun Date: Tue, 11 Feb 2025 16:31:20 +0800 Subject: [PATCH 2486/2563] Translate CVE-2025-25186 (zh_cn) --- .../2025-02-10-dos-net-imap-cve-2025-25186.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 zh_cn/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md diff --git a/zh_cn/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md b/zh_cn/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md new file mode 100644 index 0000000000..f07bf86f31 --- /dev/null +++ b/zh_cn/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -0,0 +1,30 @@ +--- +layout: news_post +title: "CVE-2025-25186: net-imap 中的 DoS 漏洞" +author: "nevans" +translator: "GAO Jun" +date: 2025-02-10 03:00:00 +0000 +tags: security +lang: zh_cn +--- + +在 net-imap gem 中存在一个可能造成 DoS 的漏洞。此漏洞的 CVE 编号为[CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186)。 +我们建议您更新 net-imap gem。 + +## 详情 + +恶意服务器可以发送高度压缩的 uid-set 数据,这些数据会由客户端的接收线程自动读取。响应解析器会使用 Range#to_a 将 uid-set 数据转换为整数数组,但不会对 Range 实例展开后的大小进行任何限制。 + +请更新 net-imap gem 至 0.3.8,0.4.19,0.5.6,或更高版本。 + +## 受影响版本 + +* net-imap gem 版本 0.3.2 至 0.3.7, 0.4.0 至 0.4.18,以及 0.5.0 至 0.5.5。 + +## 致谢 + +感谢 [manun](https://hackerone.com/manun) 发现此问题。 + +## 历史 + +* 最初发布于 2025-02-10 03:00:00 (UTC) From 5ddf1a18a85c1219a428a2ff5156a7e1b1cc7b62 Mon Sep 17 00:00:00 2001 From: Chayoung You Date: Thu, 13 Feb 2025 16:49:07 +0900 Subject: [PATCH 2487/2563] Fix typos of CVE-2025-25186 (ko) (#3501) --- ko/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ko/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md b/ko/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md index 16f68c3621..58c493cbb7 100644 --- a/ko/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md +++ b/ko/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -8,11 +8,11 @@ tags: security lang: ko --- -net-imap gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186)로 등록되었습니다. net-imap gem을 업그레이드하기를 추천합니다. +net-imap gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186)으로 등록되었습니다. net-imap gem을 업그레이드하기를 추천합니다. ## 세부 내용 -악의적인 서버가 고도로 압축된 uid-set 데이터를 보낼 수 있으며, 클라이언트의 수신 스레드는 이 데이터를 자동으로 읽습니다. 응답 파서는 uid-set 데이터를 정수 배열로 변환하기 위해 Range#to_a를 사용하며, 이때 범위의 확장 크기에 대한 제한이 없습니다. +악의적인 서버가 고도로 압축된 uid-set 데이터를 보낼 수 있으며, 클라이언트의 수신 스레드는 이 데이터를 자동으로 읽습니다. 응답 파서는 uid-set 데이터를 정수 배열로 변환하기 위해 Range#to_a를 사용하며, 이때 확장된 범위의 크기에 대한 제한이 없습니다. net-imap gem을 0.3.8, 0.4.19, 또는 0.5.6으로 업데이트하세요. From b5a8f1b044d6f81a45684715500d3d04c1822019 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Fri, 14 Feb 2025 21:55:18 +0000 Subject: [PATCH 2488/2563] Create release for 3.4.2 --- .../_posts/2025-02-14-ruby-3-4-2-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 en/news/_posts/2025-02-14-ruby-3-4-2-released.md diff --git a/en/news/_posts/2025-02-14-ruby-3-4-2-released.md b/en/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..b8d41af61f --- /dev/null +++ b/en/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.4.2 Released" +author: +translator: +date: 2025-02-14 21:55:17 +0000 +lang: en +--- + +Ruby 3.4.2 has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_4_2) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 2a03e202291f01158da69e77e6841826034b5a75 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 14 Feb 2025 14:20:23 -0800 Subject: [PATCH 2489/2563] Write up the release notes --- en/news/_posts/2025-02-14-ruby-3-4-2-released.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2025-02-14-ruby-3-4-2-released.md b/en/news/_posts/2025-02-14-ruby-3-4-2-released.md index b8d41af61f..2a97f81000 100644 --- a/en/news/_posts/2025-02-14-ruby-3-4-2-released.md +++ b/en/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -1,7 +1,7 @@ --- layout: news_post title: "Ruby 3.4.2 Released" -author: +author: k0kubun translator: date: 2025-02-14 21:55:17 +0000 lang: en @@ -9,7 +9,14 @@ lang: en Ruby 3.4.2 has been released. -Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_4_2) for further details. +This is a routine update that includes bug fixes. Please refer to the +[release notes on GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_2) for further details. + +## Release Schedule + +We intend to release the latest stable Ruby version (currently Ruby 3.4) every 2 months. +Ruby 3.4.3 will be released in April, 3.4.4 in June, 3.4.5 in August, 3.4.6 in October, and 3.4.7 in December. +If there's any change that affects a considerable amount of people, those versions may be released earlier than expected. ## Download From b0e6e53a2480969de54b9522001e4c635f36cec4 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 14 Feb 2025 14:21:27 -0800 Subject: [PATCH 2490/2563] Update _data --- _data/downloads.yml | 2 +- _data/releases.yml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index 007b69505d..36a817ddd9 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -7,7 +7,7 @@ preview: stable: - - 3.4.1 + - 3.4.2 - 3.3.7 - 3.2.7 diff --git a/_data/releases.yml b/_data/releases.yml index 25376ee174..8274b32d57 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,30 @@ # 3.4 series +- version: 3.4.2 + date: 2025-02-14 + post: /en/news/2025/02/14/ruby-3-4-2-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.2.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.2.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.2.tar.xz + size: + gz: 23174066 + zip: 28336243 + xz: 17218200 + sha1: + gz: 1537911b4a47940f11c309898e04187344a43167 + zip: 5a790b8a5aa662df6512f865bb042e93b8520864 + xz: b169f9e0d35cf85085c5f23d774485ba6c00ebac + sha256: + gz: 41328ac21f2bfdd7de6b3565ef4f0dd7543354d37e96f157a1552a6bd0eb364b + zip: e14b850e831bf046cf78d66f14207782da13e76777610596666a74fd6c786021 + xz: ebf1c2eb58f5da17c23e965d658dd7e6202c5c50f5179154c5574452bef4b3e0 + sha512: + gz: edc3aede0aadcaa62343f38ea6cab7adacedba810d883f1d9c3e6e24e28e24e0e27a7df2c8e517cc2aab940168fc4872ab8cad000598aab5940aa79072ac190b + zip: ac897cdc013b71ac3f76d1f70e9b79155a08197e458ddb7bfb638d1168d166b08fbc022aae95953bdade19ccd68989d666b76b6d681ee3480bb5936fb475959d + xz: cb8b5023bce316393716548c5f0a44c7d0240724ff79b995517641266af30bedc6f402c1c8fa27368ea607e2aa6d36bbb201e00c6e9dd2a80d837431d32343b5 + - version: 3.4.1 date: 2024-12-25 post: /en/news/2024/12/25/ruby-3-4-1-released/ From 2e4da5f5a4d9403ab0f8c50608043bd864f06a5d Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 14 Feb 2025 14:27:21 -0800 Subject: [PATCH 2491/2563] Insert a line for readability --- en/news/_posts/2025-02-14-ruby-3-4-2-released.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/news/_posts/2025-02-14-ruby-3-4-2-released.md b/en/news/_posts/2025-02-14-ruby-3-4-2-released.md index 2a97f81000..b176f52814 100644 --- a/en/news/_posts/2025-02-14-ruby-3-4-2-released.md +++ b/en/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -16,6 +16,7 @@ This is a routine update that includes bug fixes. Please refer to the We intend to release the latest stable Ruby version (currently Ruby 3.4) every 2 months. Ruby 3.4.3 will be released in April, 3.4.4 in June, 3.4.5 in August, 3.4.6 in October, and 3.4.7 in December. + If there's any change that affects a considerable amount of people, those versions may be released earlier than expected. ## Download From d984c0bce810173bd51448a929f1a48e920e549e Mon Sep 17 00:00:00 2001 From: Eduardo Bohrer Date: Fri, 14 Feb 2025 22:54:43 -0300 Subject: [PATCH 2492/2563] Translate "Ruby 3.4.2 Released" (pt) --- .../_posts/2025-02-14-ruby-3-4-2-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pt/news/_posts/2025-02-14-ruby-3-4-2-released.md diff --git a/pt/news/_posts/2025-02-14-ruby-3-4-2-released.md b/pt/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..821129f910 --- /dev/null +++ b/pt/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.2 Lançado" +author: k0kubun +translator: nbluis +date: 2025-02-14 21:55:17 +0000 +lang: pt +--- + +Ruby 3.4.2 foi lançado. + +Esta é uma atualização de rotina que inclui correções de bugs. Por favor consulte as +[notas de lançamento no GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_2) para maiores detalhes. + +## Cronograma de Lançamento + +Nosso objetivo é lançar a versão estável mais recente do Ruby (atualmente Ruby 3.4) a cada 2 meses. +O Ruby 3.4.3 será lançado em abril, 3.4.4 em junho, 3.4.5 em agosto, 3.4.6 em outubro e 3.4.7 em dezembro. + +Caso haja alguma alteração que afete um número considerável de pessoas, essas versões podem ser lançadas antes do esperado. + +## Download + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + TAMANHO: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + TAMANHO: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + TAMANHO: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentário sobre o Lançamento + +Muitos committers, desenvolvedores e usuários que forneceram relatórios de bugs nos ajudaram a fazer este lançamento. +Obrigado pelas contribuições. From cb8cb3196bc2720814c9c183f2f48daaef6fa5ac Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sat, 15 Feb 2025 09:59:41 +0800 Subject: [PATCH 2493/2563] Translate Ruby 3.4.2 Released (zh_tw) --- .../_posts/2025-02-14-ruby-3-4-2-released.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 zh_tw/news/_posts/2025-02-14-ruby-3-4-2-released.md diff --git a/zh_tw/news/_posts/2025-02-14-ruby-3-4-2-released.md b/zh_tw/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..24c84e54f4 --- /dev/null +++ b/zh_tw/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,48 @@ +--- +layout: news_post +title: "Ruby 3.4.2 發布" +author: k0kubun +translator: "Bear Su" +date: 2025-02-14 21:55:17 +0000 +lang: zh_tw +--- + +Ruby 3.4.2 已經發布了。 + +這是包括修復小型錯誤的例行更新。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_4_2)。 + +## 發布時程 + +我們打算每 2 個月發布一次最新的穩定 Ruby 版本(目前為 Ruby 3.4)。 + +我們預計 Ruby 3.4.3 於 4 月發布、Ruby 3.4.4 於 6 月發布、Ruby 3.4.5 於 8 月發布、Ruby 3.4.6 於 10 月發布、Ruby 3.4.7 於 12 月發布。如果有任何變更影響到相當多的人,我們可能會比預期更早發布新版本。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From 9f6e8513056413cf504dab86f27801931dd7d5df Mon Sep 17 00:00:00 2001 From: Shia Date: Sun, 16 Feb 2025 09:31:16 +0900 Subject: [PATCH 2494/2563] Translate "Ruby 3.4.2 Released" (ko) (#3503) * cp {en,ko}/news/_posts/2025-02-14-ruby-3-4-2-released.md * Translate "Ruby 3.4.2 Released" (ko) * Update ko/news/_posts/2025-02-14-ruby-3-4-2-released.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2025-02-14-ruby-3-4-2-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ko/news/_posts/2025-02-14-ruby-3-4-2-released.md diff --git a/ko/news/_posts/2025-02-14-ruby-3-4-2-released.md b/ko/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..b29480454c --- /dev/null +++ b/ko/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.2 릴리스" +author: k0kubun +translator: "shia" +date: 2025-02-14 21:55:17 +0000 +lang: ko +--- + +Ruby 3.4.2가 릴리스되었습니다. + +이번 릴리스는 일반적인 업데이트로, 사소한 버그 수정이 포함되어 있습니다. +자세한 내용은 [GitHub 릴리스 노트](https://github.com/ruby/ruby/releases/tag/v3_4_2)를 참조하세요. + +## 릴리스 일정 + +Ruby의 최신 안정 버전(현재 Ruby 3.4)을 2개월마다 릴리스할 계획입니다. +Ruby 3.4.3은 4월에 릴리스될 예정이며, 3.4.4는 6월, 3.4.5는 8월, 3.4.6은 10월, 3.4.7은 12월에 릴리스될 예정입니다. + +만약 많은 사람들에게 영향을 미치는 변경 사항이 있을 경우, 해당 버전은 예상보다 빨리 릴리스될 수 있습니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 1daa1f3aac4c488caf0583c559dc62ea2a37da8d Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Li Date: Mon, 17 Feb 2025 14:53:16 +0000 Subject: [PATCH 2495/2563] Add German translation for Ruby 3.3.7 release announcement --- .../_posts/2025-01-15-ruby-3-3-7-released.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 de/news/_posts/2025-01-15-ruby-3-3-7-released.md diff --git a/de/news/_posts/2025-01-15-ruby-3-3-7-released.md b/de/news/_posts/2025-01-15-ruby-3-3-7-released.md new file mode 100644 index 0000000000..ce0b4c7854 --- /dev/null +++ b/de/news/_posts/2025-01-15-ruby-3-3-7-released.md @@ -0,0 +1,43 @@ +--- +layout: news_post +title: "Ruby 3.3.7 veröffentlicht" +author: k0kubun +translator: "Daniel Bovensiepen" +date: 2025-01-15 07:51:59 +0000 +lang: de +--- + +Ruby 3.3.7 wurde veröffentlicht. + +Dies ist ein Routine-Update, welches Fehlerbehebungen enthält. +Bitte beachten Sie die [Release Notes auf GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_7) für weitere Details. + +## Herunterladen + +{% assign release = site.data.releases | where: "version", "3.3.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Veröffentlichungskommentar + +Viele Committer, Entwickler und Benutzer, die Fehlerberichte eingereicht haben, haben uns geholfen, diese Version zu erstellen. +Vielen Dank für Ihre Beiträge. From a7d5d57868565eba9cd727ed209b1397d356dc12 Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Li Date: Mon, 17 Feb 2025 14:56:13 +0000 Subject: [PATCH 2496/2563] Add German translation for Ruby 3.2.7 release announcement --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 de/news/_posts/2025-02-04-ruby-3-2-7-released.md diff --git a/de/news/_posts/2025-02-04-ruby-3-2-7-released.md b/de/news/_posts/2025-02-04-ruby-3-2-7-released.md new file mode 100644 index 0000000000..b6f8d07b6c --- /dev/null +++ b/de/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.7 veröffentlicht" +author: nagachika +translator: "Daniel Bovensiepen" +date: 2025-02-04 12:00:00 +0000 +lang: de +--- + +Ruby 3.2.7 wurde veröffentlicht. + +Bitte beachten Sie die [Release Notes auf GitHub]((https://github.com/ruby/ruby/releases/tag/v3_2_7) für weitere Details. + +## Herunterladen + +{% assign release = site.data.releases | where: "version", "3.2.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Veröffentlichungskommentar + +Viele Committer, Entwickler und Benutzer, die Fehlerberichte eingereicht haben, haben uns geholfen, diese Version zu erstellen. +Vielen Dank für Ihre Beiträge. From 1e2d7b765efd0db1b72db2d31e6e8e96fba902e9 Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Li Date: Mon, 17 Feb 2025 14:57:31 +0000 Subject: [PATCH 2497/2563] Add German translation for CVE-2025-25186: DoS vulnerability in net-imap --- .../2025-02-10-dos-net-imap-cve-2025-25186.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md diff --git a/de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md b/de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md new file mode 100644 index 0000000000..598907b2a8 --- /dev/null +++ b/de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -0,0 +1,33 @@ +--- +layout: news_post +title: "CVE-2025-25186: DoS Sicherheitslücke in net-imap" +author: "nevans" +translator: "Daniel Bovensiepen" +date: 2025-02-10 03:00:00 +0000 +tags: security +lang: de +--- + +Es besteht die Möglichkeit eines DoS Angriffes auf das net-imap Gem. Diese Sicherheitslücke wurde mit der CVE-Kennung [CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186) versehen. Wir empfehlen, das net-imap Gem zu aktualisieren. + +## Details + +A malicious server can send highly compressed uid-set data which is automatically read by the client's receiver thread. The response parser uses Range#to_a to convert the uid-set data into arrays of integers, with no limitation on the expanded size of the ranges. + +## Details + +Ein bösartiger Server kann hochkomprimierte uid-set Daten versenden, welche automatisch vom Empfangsthread des Clients gelesen werden. Der Antwortparser verwendet Range#to_a, um die uid-set Daten in Listen von Ganzzahlen umzuwandeln, dabei gibt es keine Begrenzung der Größe der Range. + +Bitte aktualisieren Sie das net-imap-Gem auf Version 0.3.8, 0.4.19, 0.5.6 oder höher.. + +## Betroffene Versionen + +* net-imap gem Versionen 0.3.2 to 0.3.7, 0.4.0 to 0.4.18, und 0.5.0 bis 0.5.5 (inklusive). + +## Danksagung + +Danke an [manun](https://hackerone.com/manun) für das Entdecken dieses Problems. + +## Veröffentlichungsgeschichte + +* Ursprünglich veröffentlicht am 2025-02-10 03:00:00 (UTC) \ No newline at end of file From 3883c6cb088a9f00e5a504caaa7a81927cc565c5 Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Li Date: Mon, 17 Feb 2025 14:58:52 +0000 Subject: [PATCH 2498/2563] Translate "Ruby 3.4.2 Released" to German --- .../_posts/2025-02-14-ruby-3-4-2-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 de/news/_posts/2025-02-14-ruby-3-4-2-released.md diff --git a/de/news/_posts/2025-02-14-ruby-3-4-2-released.md b/de/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..569340e9f8 --- /dev/null +++ b/de/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.2 veröffentlicht" +author: k0kubun +translator: "Daniel Bovensiepen" +date: 2025-02-14 21:55:17 +0000 +lang: de +--- + +Ruby 3.4.2 wurde veröffentlicht. + +Dies ist ein Routine-Update, welches Fehlerbehebungen enthält. Bitte beachten Sie die +[Release Notes auf GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_2) für weitere Details. + +## Veröffentlichungsplan + +Wir beabsichtigen, eine neue stabile Ruby-Version (derzeit Ruby 3.4) alle 2 Monate zu veröffentlichen. +Ruby 3.4.3 wird im April veröffentlicht, 3.4.4 im Juni, 3.4.5 im August, 3.4.6 im Oktober und 3.4.7 im Dezember. + +Wenn es Änderungen gibt, die eine beträchtliche Anzahl von Menschen betreffen, können diese Versionen früher als erwartet veröffentlicht werden. + +## Herunterladen + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Veröffentlichungskommentar + +Viele Committer, Entwickler und Benutzer, die Fehlerberichte eingereicht haben, haben uns geholfen, diese Version zu erstellen. +Vielen Dank für Ihre Beiträge. From 3e40ccd35fe6d711462152f5135c81ba47776335 Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Li Date: Mon, 17 Feb 2025 15:00:51 +0000 Subject: [PATCH 2499/2563] Fix formatting issue in German translation of CVE-2025-25186 post --- de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md b/de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md index 598907b2a8..7cfdad3f49 100644 --- a/de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md +++ b/de/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -30,4 +30,4 @@ Danke an [manun](https://hackerone.com/manun) für das Entdecken dieses Problems ## Veröffentlichungsgeschichte -* Ursprünglich veröffentlicht am 2025-02-10 03:00:00 (UTC) \ No newline at end of file +* Ursprünglich veröffentlicht am 2025-02-10 03:00:00 (UTC) From 3eb366b68b7eb3f997681cd31bc376a802d358bc Mon Sep 17 00:00:00 2001 From: gaojun Date: Mon, 17 Feb 2025 09:20:44 +0800 Subject: [PATCH 2500/2563] Translate "Ruby 3.4.2 Released" (zh_cn) --- .../_posts/2025-02-14-ruby-3-4-2-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 zh_cn/news/_posts/2025-02-14-ruby-3-4-2-released.md diff --git a/zh_cn/news/_posts/2025-02-14-ruby-3-4-2-released.md b/zh_cn/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..19b2830ded --- /dev/null +++ b/zh_cn/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.2 已发布" +author: k0kubun +translator: "GAO Jun" +date: 2025-02-14 21:55:17 +0000 +lang: zh_cn +--- + +Ruby 3.4.2 已发布。 + +此版本是包含了若干问题修正的定期更新版本。 +详细信息可参考 [GitHub 发布说明](https://github.com/ruby/ruby/releases/tag/v3_4_2) 。 + +## Release Schedule + +我们计划每2个月发布最新的 Ruby 版本(目前是 Ruby 3.4)。 +Ruby 3.4.3 将发布于四月,3.4.4 将发布于六月,3.4.5 将发布于八月,3.4.6 将发布于十月,3.4.7 将发布于十二月。 + +如果存在会影响到大量用户的更改,我们可能会提前发布一个版本。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 426e7e5984e10436b7887c579a7638b0ec48d60a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Feb 2025 14:38:57 +0900 Subject: [PATCH 2501/2563] bundle up --bundler --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 0819310148..d5b4e966c7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -213,4 +213,4 @@ DEPENDENCIES validate-website (~> 1.6) BUNDLED WITH - 2.5.17 + 2.6.4 From 236f5dd4d07d99886f32371cd8431b7cfa1c56a7 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Feb 2025 14:39:19 +0900 Subject: [PATCH 2502/2563] bundle up nokogiri --- Gemfile.lock | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index d5b4e966c7..e54f35de54 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -102,18 +102,26 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) + mini_portile2 (2.8.8) minitest (5.25.1) - nokogiri (1.16.7-aarch64-linux) + nokogiri (1.18.2) + mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.7-arm-linux) + nokogiri (1.18.2-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.16.7-arm64-darwin) + nokogiri (1.18.2-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.16.7-x86-linux) + nokogiri (1.18.2-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.16.7-x86_64-darwin) + nokogiri (1.18.2-arm-linux-musl) racc (~> 1.4) - nokogiri (1.16.7-x86_64-linux) + nokogiri (1.18.2-arm64-darwin) + racc (~> 1.4) + nokogiri (1.18.2-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.2-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.2-x86_64-linux-musl) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) From e88ed13798a2400680aa1b95b499d6080a9e7828 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Feb 2025 14:39:39 +0900 Subject: [PATCH 2503/2563] bundle lock --normalize-platforms --- Gemfile.lock | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index e54f35de54..c753ee0c39 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -25,6 +25,7 @@ GEM ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) + ffi (1.17.0) ffi (1.17.0-aarch64-linux-gnu) ffi (1.17.0-aarch64-linux-musl) ffi (1.17.0-arm-linux-gnu) @@ -143,22 +144,43 @@ GEM rouge (4.3.0) ruby-rc4 (0.1.5) safe_yaml (1.0.5) + sass-embedded (1.77.8) + google-protobuf (~> 4.26) + rake (>= 13) + sass-embedded (1.77.8-aarch64-linux-android) + google-protobuf (~> 4.26) sass-embedded (1.77.8-aarch64-linux-gnu) google-protobuf (~> 4.26) sass-embedded (1.77.8-aarch64-linux-musl) google-protobuf (~> 4.26) + sass-embedded (1.77.8-arm-linux-androideabi) + google-protobuf (~> 4.26) sass-embedded (1.77.8-arm-linux-gnueabihf) google-protobuf (~> 4.26) sass-embedded (1.77.8-arm-linux-musleabihf) google-protobuf (~> 4.26) sass-embedded (1.77.8-arm64-darwin) google-protobuf (~> 4.26) + sass-embedded (1.77.8-riscv64-linux-android) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-riscv64-linux-gnu) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-riscv64-linux-musl) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86-cygwin) + google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86-linux-android) + google-protobuf (~> 4.26) sass-embedded (1.77.8-x86-linux-gnu) google-protobuf (~> 4.26) sass-embedded (1.77.8-x86-linux-musl) google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86_64-cygwin) + google-protobuf (~> 4.26) sass-embedded (1.77.8-x86_64-darwin) google-protobuf (~> 4.26) + sass-embedded (1.77.8-x86_64-linux-android) + google-protobuf (~> 4.26) sass-embedded (1.77.8-x86_64-linux-gnu) google-protobuf (~> 4.26) sass-embedded (1.77.8-x86_64-linux-musl) @@ -194,19 +216,29 @@ GEM PLATFORMS aarch64-linux + aarch64-linux-android aarch64-linux-gnu aarch64-linux-musl arm-linux + arm-linux-androideabi arm-linux-gnu arm-linux-gnueabihf arm-linux-musl arm-linux-musleabihf arm64-darwin + riscv64-linux-android + riscv64-linux-gnu + riscv64-linux-musl + ruby + x86-cygwin x86-linux + x86-linux-android x86-linux-gnu x86-linux-musl + x86_64-cygwin x86_64-darwin x86_64-linux + x86_64-linux-android x86_64-linux-gnu x86_64-linux-musl From 7a61f9a34eb60f2243b982b722eaa14251624d71 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Feb 2025 14:40:16 +0900 Subject: [PATCH 2504/2563] bundle up --- Gemfile.lock | 166 +++++++++++++++++++++++++-------------------------- 1 file changed, 83 insertions(+), 83 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c753ee0c39..f7d8e0c9dd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,62 +1,64 @@ GEM remote: https://rubygems.org/ specs: - Ascii85 (1.1.1) + Ascii85 (2.0.1) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) afm (0.2.2) - async (2.15.3) - console (~> 1.26) + async (2.23.0) + console (~> 1.29) fiber-annotation - io-event (~> 1.6, >= 1.6.5) + io-event (~> 1.9) + metrics (~> 0.12) + traces (~> 0.15) base64 (0.2.0) - bigdecimal (3.1.8) + bigdecimal (3.1.9) colorator (1.1.0) - concurrent-ruby (1.3.4) - console (1.27.0) + concurrent-ruby (1.3.5) + console (1.29.2) fiber-annotation fiber-local (~> 1.1) json crass (1.0.6) - csv (3.3.0) + csv (3.3.2) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) - ffi (1.17.0) - ffi (1.17.0-aarch64-linux-gnu) - ffi (1.17.0-aarch64-linux-musl) - ffi (1.17.0-arm-linux-gnu) - ffi (1.17.0-arm-linux-musl) - ffi (1.17.0-arm64-darwin) - ffi (1.17.0-x86-linux-gnu) - ffi (1.17.0-x86-linux-musl) - ffi (1.17.0-x86_64-darwin) - ffi (1.17.0-x86_64-linux-gnu) - ffi (1.17.0-x86_64-linux-musl) + ffi (1.17.1) + ffi (1.17.1-aarch64-linux-gnu) + ffi (1.17.1-aarch64-linux-musl) + ffi (1.17.1-arm-linux-gnu) + ffi (1.17.1-arm-linux-musl) + ffi (1.17.1-arm64-darwin) + ffi (1.17.1-x86-linux-gnu) + ffi (1.17.1-x86-linux-musl) + ffi (1.17.1-x86_64-darwin) + ffi (1.17.1-x86_64-linux-gnu) + ffi (1.17.1-x86_64-linux-musl) fiber-annotation (0.2.0) fiber-local (1.1.0) fiber-storage fiber-storage (1.0.0) forwardable-extended (2.6.0) - google-protobuf (4.27.5) + google-protobuf (4.29.3) bigdecimal rake (>= 13) - google-protobuf (4.27.5-aarch64-linux) + google-protobuf (4.29.3-aarch64-linux) bigdecimal rake (>= 13) - google-protobuf (4.27.5-arm64-darwin) + google-protobuf (4.29.3-arm64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.27.5-x86-linux) + google-protobuf (4.29.3-x86-linux) bigdecimal rake (>= 13) - google-protobuf (4.27.5-x86_64-darwin) + google-protobuf (4.29.3-x86_64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.27.5-x86_64-linux) + google-protobuf (4.29.3-x86_64-linux) bigdecimal rake (>= 13) hashery (2.1.2) @@ -70,32 +72,35 @@ GEM yell (~> 2.0) zeitwerk (~> 2.5) http_parser.rb (0.8.0) - i18n (1.14.5) + i18n (1.14.7) concurrent-ruby (~> 1.0) - io-event (1.6.5) - jekyll (4.3.3) + io-event (1.9.0) + jekyll (4.4.1) addressable (~> 2.4) + base64 (~> 0.2) colorator (~> 1.0) + csv (~> 3.0) em-websocket (~> 0.5) i18n (~> 1.0) jekyll-sass-converter (>= 2.0, < 4.0) jekyll-watch (~> 2.0) + json (~> 2.6) kramdown (~> 2.3, >= 2.3.1) kramdown-parser-gfm (~> 1.0) liquid (~> 4.0) - mercenary (>= 0.3.6, < 0.5) + mercenary (~> 0.3, >= 0.3.6) pathutil (~> 0.9) rouge (>= 3.0, < 5.0) safe_yaml (~> 1.0) terminal-table (>= 1.8, < 4.0) webrick (~> 1.7) - jekyll-sass-converter (3.0.0) - sass-embedded (~> 1.54) + jekyll-sass-converter (3.1.0) + sass-embedded (~> 1.75) jekyll-watch (2.2.1) listen (~> 3.0) - json (2.7.2) - kramdown (2.4.0) - rexml + json (2.10.1) + kramdown (2.5.1) + rexml (>= 3.3.9) kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.4) @@ -103,8 +108,9 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) + metrics (0.12.1) mini_portile2 (2.8.8) - minitest (5.25.1) + minitest (5.25.4) nokogiri (1.18.2) mini_portile2 (~> 2.8.2) racc (~> 1.4) @@ -127,8 +133,8 @@ GEM paint (2.3.0) pathutil (0.16.2) forwardable-extended (~> 2.6) - pdf-reader (2.12.0) - Ascii85 (~> 1.0) + pdf-reader (2.14.1) + Ascii85 (>= 1.0, < 3.0, != 2.0.0) afm (~> 0.2.1) hashery (~> 2.0) ruby-rc4 @@ -140,63 +146,57 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.3.9) - rouge (4.3.0) + rexml (3.4.1) + rouge (4.5.1) ruby-rc4 (0.1.5) safe_yaml (1.0.5) - sass-embedded (1.77.8) - google-protobuf (~> 4.26) + sass-embedded (1.85.0) + google-protobuf (~> 4.29) rake (>= 13) - sass-embedded (1.77.8-aarch64-linux-android) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-aarch64-linux-gnu) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-aarch64-linux-musl) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-arm-linux-androideabi) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-arm-linux-gnueabihf) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-arm-linux-musleabihf) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-arm64-darwin) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-riscv64-linux-android) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-riscv64-linux-gnu) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-riscv64-linux-musl) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86-cygwin) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86-linux-android) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86-linux-gnu) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86-linux-musl) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86_64-cygwin) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86_64-darwin) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86_64-linux-android) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86_64-linux-gnu) - google-protobuf (~> 4.26) - sass-embedded (1.77.8-x86_64-linux-musl) - google-protobuf (~> 4.26) + sass-embedded (1.85.0-aarch64-linux-android) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-aarch64-linux-gnu) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-aarch64-linux-musl) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-arm-linux-androideabi) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-arm-linux-gnueabihf) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-arm-linux-musleabihf) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-arm64-darwin) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-riscv64-linux-android) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-riscv64-linux-gnu) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-riscv64-linux-musl) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-x86_64-cygwin) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-x86_64-darwin) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-x86_64-linux-android) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-x86_64-linux-gnu) + google-protobuf (~> 4.29) + sass-embedded (1.85.0-x86_64-linux-musl) + google-protobuf (~> 4.29) slop (4.10.1) - spidr (0.7.1) + spidr (0.7.2) + base64 (~> 0.1) nokogiri (~> 1.3) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) tidy_ffi (1.0.1) ffi (~> 1.2) + traces (0.15.2) ttfunk (1.8.0) bigdecimal (~> 3.1) typhoeus (1.4.1) ethon (>= 0.9.0) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) validate-website (1.12.0) crass (~> 1) nokogiri (~> 1.12) @@ -210,9 +210,9 @@ GEM json (>= 1.8) nokogiri (~> 1.6) rexml (~> 3.2) - webrick (1.8.2) + webrick (1.9.1) yell (2.2.2) - zeitwerk (2.6.17) + zeitwerk (2.7.1) PLATFORMS aarch64-linux From f43577d935206b569812310c9967457aefadda4e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Feb 2025 14:40:56 +0900 Subject: [PATCH 2505/2563] Removed development group for cloudlare pages --- Gemfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index b902f08e2e..f7b84d1345 100644 --- a/Gemfile +++ b/Gemfile @@ -4,11 +4,12 @@ gem "rake" gem "jekyll" gem "rouge" -group :development do - gem "minitest" - gem "html-proofer" - gem "validate-website", "~> 1.6" -end +# We didn't use development group for them +# Because lockfile is generated without `BUNDLE_WITHOUT` env variable +# so, some environment couldn't install them +gem "minitest" +gem "html-proofer" +gem "validate-website", "~> 1.6" # Jekyll need them for Ruby 3.4+ gem "csv" From d4a48b1c6208e208a92c42a0c3c0fd50fbc87f7f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2025 13:31:48 +0000 Subject: [PATCH 2506/2563] Bump nokogiri from 1.18.2 to 1.18.3 Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.2 to 1.18.3. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.18.3/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.18.2...v1.18.3) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f7d8e0c9dd..8a3c17ccaa 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -111,24 +111,24 @@ GEM metrics (0.12.1) mini_portile2 (2.8.8) minitest (5.25.4) - nokogiri (1.18.2) + nokogiri (1.18.3) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.2-aarch64-linux-gnu) + nokogiri (1.18.3-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.2-aarch64-linux-musl) + nokogiri (1.18.3-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.18.2-arm-linux-gnu) + nokogiri (1.18.3-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.18.2-arm-linux-musl) + nokogiri (1.18.3-arm-linux-musl) racc (~> 1.4) - nokogiri (1.18.2-arm64-darwin) + nokogiri (1.18.3-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.2-x86_64-darwin) + nokogiri (1.18.3-x86_64-darwin) racc (~> 1.4) - nokogiri (1.18.2-x86_64-linux-gnu) + nokogiri (1.18.3-x86_64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.2-x86_64-linux-musl) + nokogiri (1.18.3-x86_64-linux-musl) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) From e3c9f3b2a4c2df29e7620977fad734a4a3e532a5 Mon Sep 17 00:00:00 2001 From: Florent Drousset <45320122+florentdrousset@users.noreply.github.com> Date: Tue, 25 Feb 2025 12:19:32 +0100 Subject: [PATCH 2507/2563] Translation of Ruby 3.4.2 release post to french (fr) --- .../_posts/2025-02-14-ruby-3-4-2-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 fr/news/_posts/2025-02-14-ruby-3-4-2-released.md diff --git a/fr/news/_posts/2025-02-14-ruby-3-4-2-released.md b/fr/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..dd439e7001 --- /dev/null +++ b/fr/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.2 est disponible" +author: k0kubun +translator: "Florent Drousset" +date: 2025-02-14 21:55:17 +0000 +lang: fr +--- + +Ruby 3.4.2 est disponible. + +Ceci est une mise à jour de routine incluant des corrections de bugs. +Veuillez vous référer aux [release notes sur GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_2) pour plus de détails. + +## Calendrier de publication + +Nous prévoyons de publier la version stable la plus récente de Ruby (actuellement la 3.4) tous les deux mois. +Ruby 3.4.3 sortira en avril, 3.4.4 en juin, 3.4.5 en août, 3.4.6 en octobre et 3.4.7 en décembre. + +Si un changement affecte un grand nombre d’utilisateurs, certaines de ces versions pourraient être publiées plus tôt que prévu. + +## Téléchargement + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Commentaire sur la version + +Grâce aux nombreux contributeurs, développeurs et utilisateurs qui ont fourni des rapports de bugs, nous avons pu réaliser cette version. +Merci à tous pour leurs contributions. From e070b3a56eddc86d320bca207f68d17906604471 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 26 Feb 2025 16:43:49 +0900 Subject: [PATCH 2508/2563] Security advisories: CVE-2025-27219, CVE-2025-27220 and CVE-2025-2722 --- .../_posts/2025-02-26-security-advisories.md | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 en/news/_posts/2025-02-26-security-advisories.md diff --git a/en/news/_posts/2025-02-26-security-advisories.md b/en/news/_posts/2025-02-26-security-advisories.md new file mode 100644 index 0000000000..25ae9f4250 --- /dev/null +++ b/en/news/_posts/2025-02-26-security-advisories.md @@ -0,0 +1,70 @@ +--- +layout: news_post +title: "Security advisories: CVE-2025-27219, CVE-2025-27220 and CVE-2025-27221" +author: "hsbt" +translator: +date: 2025-02-26 07:00:00 +0000 +tags: security +lang: en +--- + +We published security advisories for CVE-2025-27219, CVE-2025-27220 and CVE-2025-27221. Please read the details below. + +## CVE-2025-27219: Denial of Service in `CGI::Cookie.parse`. + +There is a possibility for DoS by in the cgi gem. This vulnerability has been assigned the CVE identifier [CVE-2025-27219](https://www.cve.org/CVERecord?id=CVE-2025-27219). We recommend upgrading the cgi gem. + +### Details + +`CGI::Cookie.parse` took super-linear time to parse a cookie string in some cases. Feeding a maliciously crafted cookie string into the method could lead to a Denial of Service. + +Please update CGI gem to version 0.3.5.1, 0.3.7, 0.4.2 or later. + +### Affected versions + +* cgi gem versions <= 0.3.5, 0.3.6, 0.4.0 and 0.4.1. + +### Credits + +Thanks to [lio346](https://hackerone.com/lio346) for discovering this issue. Also thanks to [mame](https://github.com/mame) for fixing this vulnerability. + +## CVE-2025-27220: ReDoS in `CGI::Util#escapeElement`. + +There is a possibility for Regular expression Denial of Service(ReDoS) by in the cgi gem. This vulnerability has been assigned the CVE identifier [CVE-2025-27220](https://www.cve.org/CVERecord?id=CVE-2025-27220). We recommend upgrading the cgi gem. + +### Details + +The regular expression used in `CGI::Util#escapeElement` is vulnerable to ReDoS. The crafted input could lead to a high CPU consumption. + +This vulnerability only affects Ruby 3.1 and 3.2. If you are using these versions, please update CGI gem to version 0.3.5.1, 0.3.7, 0.4.2 or later. + +### Affected versions + +* cgi gem versions <= 0.3.5, 0.3.6, 0.4.0 and 0.4.1. + +### Credits + +Thanks to [svalkanov](https://hackerone.com/svalkanov) for discovering this issue. Also thanks to [nobu](https://github.com/nobu) for fixing this vulnerability. + + +## CVE-2025-27221: userinfo leakage in `URI#join`, `URI#merge` and `URI#+`. + +There is a possibility for userinfo leakage by in the uri gem. This vulnerability has been assigned the CVE identifier [CVE-2025-27221](https://www.cve.org/CVERecord?id=CVE-2025-27221). We recommend upgrading the uri gem. + +### Details + +The methods `URI#join`, `URI#merge`, and `URI#+` retained userinfo, such as `user:password`, even after the host is replaced. When generating a URL to a malicious host from a URL containing secret userinfo using these methods, and having someone access that URL, an unintended userinfo leak could occur. + +Please update URI gem to version 0.11.3, 0.12.4, 0.13.2, 1.0.3 or later. + +### Affected versions + +* uri gem versions < 0.11.3, 0.12.0 to 0.12.3, 0.13.0, 0.13.1 and 1.0.0 to 1.0.2. + +### Credits + +Thanks to [Tsubasa Irisawa (lambdasawa)](https://hackerone.com/lambdasawa) for discovering this issue. Also thanks to [nobu](https://github.com/nobu) for additional fixes of this vulnerability. + +## History + +* Originally published at 2025-02-26 7:00:00 (UTC) From 6dd2bd29ae3a7153d95d979af50f866d58c454d7 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 26 Feb 2025 19:57:54 +0900 Subject: [PATCH 2509/2563] Translate "Ruby 3.4.2 Released" (ja) (#3505) * cp {en,ja}/news/_posts/2025-02-14-ruby-3-4-2-released.md * Translate "Ruby 3.4.2 Released" (ja) --- .../_posts/2025-02-14-ruby-3-4-2-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ja/news/_posts/2025-02-14-ruby-3-4-2-released.md diff --git a/ja/news/_posts/2025-02-14-ruby-3-4-2-released.md b/ja/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..d9000906f4 --- /dev/null +++ b/ja/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.2 リリース" +author: k0kubun +translator: shia +date: 2025-02-14 21:55:17 +0000 +lang: ja +--- + +Ruby 3.4.2がリリースされました。 + +これは定期的なアップデートであり、バグ修正を含みます。 +詳しくは[GitHub release notes](https://github.com/ruby/ruby/releases/tag/v3_4_2)を参照してください。 + +## リリーススケジュール + +最新の安定版Ruby(現在はRuby 3.4)を2ヶ月おきにリリースする予定です。 +Ruby 3.4.3は4月にリリースされ、3.4.4は6月、3.4.5は8月、3.4.6は10月、3.4.7は12月にリリースされます。 + +多くのユーザーに影響を与えるような変更があった場合、予定よりも早く新しいバージョンをリリースすることがあります。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From b959f90036c1538dc0e48b0177b0be7a183ebf72 Mon Sep 17 00:00:00 2001 From: Shia Date: Wed, 26 Feb 2025 21:58:02 +0900 Subject: [PATCH 2510/2563] Translate "Security advisories: CVE-2025-27219, CVE-2025-27220 and CVE-2025-27221" (ko) (#3517) * cp {en,ko}/news/_posts/2025-02-26-security-advisories.md * Translate "Security advisories: CVE-2025-27219, CVE-2025-27220 and CVE-2025-27221" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2025-02-26-security-advisories.md | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 ko/news/_posts/2025-02-26-security-advisories.md diff --git a/ko/news/_posts/2025-02-26-security-advisories.md b/ko/news/_posts/2025-02-26-security-advisories.md new file mode 100644 index 0000000000..fe24d760da --- /dev/null +++ b/ko/news/_posts/2025-02-26-security-advisories.md @@ -0,0 +1,70 @@ +--- +layout: news_post +title: "보안 권고: CVE-2025-27219, CVE-2025-27220, CVE-2025-27221" +author: "hsbt" +translator: "shia" +date: 2025-02-26 07:00:00 +0000 +tags: security +lang: ko +--- + +CVE-2025-27219, CVE-2025-27220 및 CVE-2025-27221에 대한 보안 권고를 발표했습니다. 아래 내용을 확인해 주세요. + +## CVE-2025-27219: `CGI::Cookie.parse`에서의 서비스 거부 + +cgi gem에서 DoS가 발생할 수 있습니다. 이 취약점은 CVE 식별자 [CVE-2025-27219](https://www.cve.org/CVERecord?id=CVE-2025-27219)가 할당되었습니다. cgi gem을 업그레이드하기를 추천합니다. + +### 세부 내용 + +`CGI::Cookie.parse`는 특정 쿠키 문자열을 구문 분석할 때 초선형(super-linear) 시간이 걸렸습니다. 이 메서드에 악의적으로 조작된 쿠키 문자열을 넘기면 서비스 거부가 발생할 수 있습니다. + +CGI gem의 버전을 0.3.5.1, 0.3.7, 0.4.2 또는 그 이상으로 업데이트하세요. + +### 해당 버전 + +* cgi gem 버전 <= 0.3.5, 0.3.6, 0.4.0 및 0.4.1 + +### 도움을 준 사람 + +이 문제를 발견해 준 [lio346](https://hackerone.com/lio346)에게 감사를 표합니다. 또한 이 취약점을 수정한 [mame](https://github.com/mame)에게도 감사를 표합니다. + +## CVE-2025-27220: `CGI::Util#escapeElement`에서의 ReDoS + +cgi gem에서 정규 표현식 서비스 거부(ReDoS)가 발생할 수 있습니다. 이 취약점은 CVE 식별자 [CVE-2025-27220](https://www.cve.org/CVERecord?id=CVE-2025-27220)이 할당되었습니다. cgi gem을 업그레이드하기를 추천합니다. + +### 세부 내용 + +`CGI::Util#escapeElement`에서 사용된 정규 표현식이 ReDoS에 취약합니다. 정교하게 만들어진 입력은 높은 CPU 사용으로 이어질 수 있습니다. + +이 취약점은 Ruby 3.1 및 3.2에서만 영향을 미칩니다. 이러한 버전을 사용 중이라면 CGI gem을 버전을 0.3.5.1, 0.3.7, 0.4.2 또는 그 이상으로 업데이트하세요. + +### 해당 버전 + +* cgi gem 버전 <= 0.3.5, 0.3.6, 0.4.0 및 0.4.1 + +### 도움을 준 사람 + +이 문제를 발견해 준 [svalkanov](https://hackerone.com/svalkanov)에게 감사를 표합니다. 또한 이 취약점을 수정한 [nobu](https://github.com/nobu)에게도 감사를 표합니다. + + +## CVE-2025-27221: `URI#join`, `URI#merge` 및 `URI#+`에서의 사용자 정보 유출 + +uri gem에서 사용자 정보 유출이 발생할 수 있습니다. 이 취약점은 CVE 식별자 [CVE-2025-27221](https://www.cve.org/CVERecord?id=CVE-2025-27221)이 할당되었습니다. uri gem을 업그레이드하기를 추천합니다. + +### 세부 내용 + +`URI#join`, `URI#merge`, `URI#+` 메서드는 호스트 정보를 교체하더라도 `user:password`와 같은 사용자 정보를 유지합니다. 이러한 메서드를 사용하여 비밀인 사용자 정보를 포함하는 URL에서 악의적인 호스트로 URL을 생성하고, 누군가가 해당 URL에 액세스하면 의도하지 않은 사용자 정보 유출이 발생할 수 있습니다. + +URI gem을 버전 0.11.3, 0.12.4, 0.13.2, 1.0.3 또는 그 이상으로 업데이트하세요. + +### 해당 버전 + +* uri gem 버전 < 0.11.3, 0.12.0부터 0.12.3까지, 0.13.0, 0.13.1 및 1.0.0부터 1.0.2까지 + +### 도움을 준 사람 + +이 문제를 발견해 준 [Tsubasa Irisawa(lambdasawa)](https://hackerone.com/lambdasawa)에게 감사를 표합니다. 또한 이 취약점을 수정한 [nobu](https://github.com/nobu)에게도 감사를 표합니다. + +## 수정 이력 + +* 2025-02-26 7:00:00 (UTC) 최초 공개 From 99abcb84b6ef6cb5258f75e0f3e396191d928332 Mon Sep 17 00:00:00 2001 From: Eduardo Bohrer Date: Wed, 26 Feb 2025 20:54:44 -0300 Subject: [PATCH 2511/2563] Translate 2025-02-26 security advisories (pt) --- .../_posts/2025-02-26-security-advisories.md | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 pt/news/_posts/2025-02-26-security-advisories.md diff --git a/pt/news/_posts/2025-02-26-security-advisories.md b/pt/news/_posts/2025-02-26-security-advisories.md new file mode 100644 index 0000000000..8e7c9c9646 --- /dev/null +++ b/pt/news/_posts/2025-02-26-security-advisories.md @@ -0,0 +1,69 @@ +--- +layout: news_post +title: "Avisos de segurança: CVE-2025-27219, CVE-2025-27220 e CVE-2025-27221" +author: "hsbt" +translator: nbluis +date: 2025-02-26 07:00:00 +0000 +tags: security +lang: pt +--- + +Publicamos avisos de segurança para CVE-2025-27219, CVE-2025-27220 e CVE-2025-27221. Por favor, leia os detalhes abaixo. + +## CVE-2025-27219: Negação de Serviço em `CGI::Cookie.parse`. + +Há uma possibilidade de DoS na gem cgi. Esta vulnerabilidade foi identificada com o CVE [CVE-2025-27219](https://www.cve.org/CVERecord?id=CVE-2025-27219). Recomendamos atualizar a gem cgi. + +### Detalhes + +`CGI::Cookie.parse` levava tempo super-linear para analisar uma string de cookie em alguns casos. Alimentar uma string de cookie maliciosamente criada no método poderia levar a uma Negação de Serviço. + +Por favor, atualize a gem CGI para a versão 0.3.5.1, 0.3.7, 0.4.2 ou posterior. + +### Versões afetadas + +* Versões da gem cgi <= 0.3.5, 0.3.6, 0.4.0 e 0.4.1. + +### Créditos + +Obrigado a [lio346](https://hackerone.com/lio346) por descobrir este problema. Também agradecemos a [mame](https://github.com/mame) por corrigir esta vulnerabilidade. + +## CVE-2025-27220: ReDoS em `CGI::Util#escapeElement`. + +Há uma possibilidade de Negação de Serviço por expressão regular (ReDoS) na gem cgi. Esta vulnerabilidade foi identificada com o CVE [CVE-2025-27220](https://www.cve.org/CVERecord?id=CVE-2025-27220). Recomendamos atualizar a gem cgi. + +### Detalhes + +A expressão regular usada em `CGI::Util#escapeElement` é vulnerável a ReDoS. A entrada criada poderia levar a um alto consumo de CPU. + +Esta vulnerabilidade afeta apenas Ruby 3.1 e 3.2. Se você estiver usando essas versões, por favor, atualize a gem CGI para a versão 0.3.5.1, 0.3.7, 0.4.2 ou posterior. + +### Versões afetadas + +* Versões da gem cgi <= 0.3.5, 0.3.6, 0.4.0 e 0.4.1. + +### Créditos + +Obrigado a [svalkanov](https://hackerone.com/svalkanov) por descobrir este problema. Também agradecemos a [nobu](https://github.com/nobu) por corrigir esta vulnerabilidade. + +## CVE-2025-27221: vazamento de informações de usuário em `URI#join`, `URI#merge` e `URI#+`. + +Há uma possibilidade de vazamento de informações de usuário na gem uri. Esta vulnerabilidade foi identificada com o CVE [CVE-2025-27221](https://www.cve.org/CVERecord?id=CVE-2025-27221). Recomendamos atualizar a gem uri. + +### Detalhes + +Os métodos `URI#join`, `URI#merge` e `URI#+` mantinham informações de usuário, como `user:password`, mesmo após o host ser substituído. Ao gerar uma URL para um host malicioso a partir de uma URL contendo informações de usuário secretas usando esses métodos, e fazer alguém acessar essa URL, poderia ocorrer um vazamento não intencional de informações de usuário. + +Por favor, atualize a gem URI para a versão 0.11.3, 0.12.4, 0.13.2, 1.0.3 ou posterior. + +### Versões afetadas + +* Versões da gem uri < 0.11.3, 0.12.0 a 0.12.3, 0.13.0, 0.13.1 e 1.0.0 a 1.0.2. + +### Créditos + +Obrigado a [Tsubasa Irisawa (lambdasawa)](https://hackerone.com/lambdasawa) por descobrir este problema. Também agradecemos a [nobu](https://github.com/nobu) por correções adicionais desta vulnerabilidade. + +## Histórico + +* Publicado originalmente em 2025-02-26 7:00:00 (UTC) From 276153e120d467b32b97dce1e9197e56a4cf5187 Mon Sep 17 00:00:00 2001 From: gaojun Date: Fri, 28 Feb 2025 15:14:32 +0800 Subject: [PATCH 2512/2563] Translate "2025-02-26-security-advisories"(zh_cn) --- .../_posts/2025-02-26-security-advisories.md | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 zh_cn/news/_posts/2025-02-26-security-advisories.md diff --git a/zh_cn/news/_posts/2025-02-26-security-advisories.md b/zh_cn/news/_posts/2025-02-26-security-advisories.md new file mode 100644 index 0000000000..f9422f9da0 --- /dev/null +++ b/zh_cn/news/_posts/2025-02-26-security-advisories.md @@ -0,0 +1,71 @@ +--- +layout: news_post +title: "安全建议: CVE-2025-27219,CVE-2025-27220 和 CVE-2025-27221" +author: "hsbt" +translator: "GAO Jun" +date: 2025-02-26 07:00:00 +0000 +tags: security +lang: zh_cn +--- + +针对 CVE-2025-27219,CVE-2025-27220 和 CVE-2025-27221,我们发布下列安全建议。 + +## CVE-2025-27219: `CGI::Cookie.parse` 中的拒绝服务(Denial of Service,DoS)。 + +`cgi` gem 中存在 DoS 可能。此漏洞的 CVE 编号为 [CVE-2025-27219](https://www.cve.org/CVERecord?id=CVE-2025-27219)。我们建议您更新 `cgi` gem。 + +### 详情 + +在某些情况下,`CGI::Cookie.parse` 解析 cookie 字符串的时间超过线性增长。向该方法传入恶意构造的 cookie 字符串可能会导致拒绝服务(DoS)。 + +请更新 `cgi` gem 至 0.3.5.1,0.3.7,0.4.2 或更新版本。 + +### 受影响版本 + +* `cgi` gem 版本 <= 0.3.5,0.3.6,0.4.0 和 0.4.1。 + +### 致谢 + +感谢 [lio346](https://hackerone.com/lio346) 发现此漏洞。同样感谢 [mame](https://github.com/mame) 修补此漏洞。 + +## CVE-2025-27220: `CGI::Util#escapeElement` 中的正则表达式拒绝服务(Regular Expression Denail of Service, ReDoS)漏洞。 + +`cgi` gem 中存在 ReDoS 可能。此漏洞的 CVE 编号为 [CVE-2025-27220](https://www.cve.org/CVERecord?id=CVE-2025-27220)。我们建议您更新 `cgi` gem。 + +### 详情 + +`CGI::Util#escapeElement` 中使用的正则表达式可能受到 ReDoS 攻击。特定的输入可能会导致 CPU 高负载。 + +此漏洞仅影响 Ruby 3.1 和 3.2。如果您正在使用这些版本,请更新 `cgi` gem 至 0.3.5.1,0.3.7,0.4.2 或更新版本。 + +### 受影响版本 + +* `cgi` gem 版本 <= 0.3.5,0.3.6,0.4.0 和 0.4.1。 + +### 致谢 + +感谢 [svalkanov](https://hackerone.com/svalkanov) 发现此漏洞。同样感谢 [nobu](https://github.com/nobu) 修补此漏洞。 + + +## CVE-2025-27221: `URI#join`, `URI#merge` 和 `URI#+` 中的用户信息泄漏。 + +`uri` gem 可能会泄漏用户信息。此漏洞的 CVE 编号为 [CVE-2025-27221](https://www.cve.org/CVERecord?id=CVE-2025-27221)。我们建议您更新 `uri` gem。 + +### 详情 + +`URI#join`,`URI#merge` 和 `URI#+` 方法会保留用户信息,如 `user:password`。即使替换了主机也会保留。 +当基于用户隐私信息,使用了这些方法生成了一个指向恶意主机的 URL 后,如果有人访问了该 URL,可能会发生用户信息泄漏。 + +请更新 `uri` gem 至 0.11.3,0.12.4,0.13.2,1.0.3 或更新版本。 + +### 受影响版本 + +* `uri` gem 版本 < 0.11.3,0.12.0 至 0.12.3,0.13.0,0.13.1,1.0.0 至 1.0.2。 + +### 致谢 + +感谢 [Tsubasa Irisawa (lambdasawa)](https://hackerone.com/lambdasawa) 发现此漏洞。同样感谢 [nobu](https://github.com/nobu) 修补此漏洞。 + +## 历史 + +* 最初发布于 2025-02-26 7:00:00 (UTC) From 5052c46727a553e98e5d5c4c9deb698f15169c2f Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 4 Mar 2025 19:57:59 +0800 Subject: [PATCH 2513/2563] Translate 2025-02-26 security advisories (zh_tw) (#3519) --- .../_posts/2025-02-26-security-advisories.md | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 zh_tw/news/_posts/2025-02-26-security-advisories.md diff --git a/zh_tw/news/_posts/2025-02-26-security-advisories.md b/zh_tw/news/_posts/2025-02-26-security-advisories.md new file mode 100644 index 0000000000..9a19bc83bc --- /dev/null +++ b/zh_tw/news/_posts/2025-02-26-security-advisories.md @@ -0,0 +1,79 @@ +--- +layout: news_post +title: "安全性公告:CVE-2025-27219、CVE-2025-27220 和 CVE-2025-27221" +author: "hsbt" +translator: "Bear Su" +date: 2025-02-26 07:00:00 +0000 +tags: security +lang: zh_tw +--- + +我們發布了安全性公告 CVE-2025-27219、CVE-2025-27220 和 CVE-2025-27221。 +請閱讀以下風險細節。 + +## CVE-2025-27219:`CGI::Cookie.parse` 中發生服務阻斷。 + +在 cgi gem 中可能會發生服務阻斷。該漏洞的 CVE 編號為 [CVE-2025-27219](https://www.cve.org/CVERecord?id=CVE-2025-27219)。 +我們強烈建議您升級 cgi gem。 + +### 風險細節 + +在某些情況下 `CGI::Cookie.parse` 解析 cookie 字串會花費超級線性時間。 +將刻意的 cookie 字串傳入該方法可能會導致服務阻斷。 + +請更新 CGI gem 至 0.3.5.1、0.3.7、0.4.2 或較新版本。 + +### 受影響版本 + +* cgi gem 版本 <= 0.3.5、0.3.6、0.4.0 和 0.4.1。 + +### 致謝 + +感謝 [lio346](https://hackerone.com/lio346) 發現此問題。同樣感謝 [mame](https://github.com/mame) 修復此漏洞。 + +## CVE-2025-27220:`CGI::Util#escapeElement` 中發生正規表示式服務阻斷(ReDoS)。 + +在 cgi gem 中可能會發生正規表示式服務阻斷(ReDoS)。 +該漏洞的 CVE 編號為 [CVE-2025-27220](https://www.cve.org/CVERecord?id=CVE-2025-27220)。 +我們強烈建議您升級 cgi gem。 + +### 風險細節 + +`CGI::Util#escapeElement` 使用的正規表示式容易受到 ReDos 的攻擊。 +特別設計的輸入資料可能會導致高 CPU 用量。 + +此漏洞只影響 Ruby 3.1 和 3.2。如果您使用這些版本,請更新 CGI gem 至 0.3.5.1、0.3.7、0.4.2 或較新版本。 + +### 受影響版本 + +* cgi gem 版本 <= 0.3.5、0.3.6、0.4.0 和 0.4.1。 + +### 致謝 + +感謝 [svalkanov](https://hackerone.com/svalkanov) 發現此問題。同樣感謝 [nobu](https://github.com/nobu) 修復此漏洞。 + + +## CVE-2025-27221:`URI#join`、`URI#merge` 和 `URI#+` 中發生使用者資訊外洩。 + +在 uri gem 中可能會發生使用者資訊外洩。 +該漏洞的 CVE 編號為 [CVE-2025-27221](https://www.cve.org/CVERecord?id=CVE-2025-27221)。 +我們強烈建議您升級 uri gem。 + +### 風險細節 + +`URI#join`、`URI#merge`、和 `URI#+` 方法會保留使用者資訊,例如 `user:password`,即使替換掉主機位址也仍保留著。 +當使用這些方法從包含機敏使用者資訊的 URL 產生指向惡意主機的 URL 時,並讓某些使用者存取該 URL,就會導致非預期的使用者資訊外洩。 + +請更新 URI gem 至 0.11.3、0.12.4、0.13.2、1.0.3 或較新版本。 + +### 受影響版本 + +* uri gem 版本 < 0.11.3、0.12.0 至 0.12.3、0.13.0、0.13.1 和 1.0.0 至 1.0.2。 + +### 致謝 + +感謝 [Tsubasa Irisawa (lambdasawa)](https://hackerone.com/lambdasawa) 發現此問題。同樣感謝 [nobu](https://github.com/nobu) 修復此漏洞。 + +## 歷史 + +* 最初發布於 2025-02-26 7:00:00 (UTC) From 303d02d0905a6dbce52e4cc5b5c5235144c0d8b2 Mon Sep 17 00:00:00 2001 From: myanch200 <78023091+myanch200@users.noreply.github.com> Date: Tue, 4 Mar 2025 13:58:43 +0200 Subject: [PATCH 2514/2563] Translate "Home" link in site navigation (bg) (#3522) --- _data/locales/bg.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/locales/bg.yml b/_data/locales/bg.yml index 0020ebd753..431df55eca 100644 --- a/_data/locales/bg.yml +++ b/_data/locales/bg.yml @@ -3,7 +3,7 @@ ruby: Ruby slogan: най-добрият приятел на програмиста sitelinks: -- text: Home +- text: Начало url: /bg home: true - text: За сваляне From 25f865385815f7e63d4fb672d95d039a2339a65d Mon Sep 17 00:00:00 2001 From: Yudai Takada Date: Tue, 4 Mar 2025 21:05:07 +0900 Subject: [PATCH 2515/2563] Add news post for KansaiRubyKaigi08 registration opening (#3513) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit References: https://github.com/ruby/www.ruby-lang.org/pull/1176 and https://scrapbox.io/ruby-no-kai/Regional_RubyKaigi >## 参加申し込みを開始したら > ruby-listにアナウンスしましょう > https://ruby-lang.org のnewsに載せよう > https://github.com//ruby/www.ruby-lang.org/ から PR を送れば news に載せることができます --- ...8-kansai-rubykaigi-registration-is-open.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ja/news/_posts/2025-02-18-kansai-rubykaigi-registration-is-open.md diff --git a/ja/news/_posts/2025-02-18-kansai-rubykaigi-registration-is-open.md b/ja/news/_posts/2025-02-18-kansai-rubykaigi-registration-is-open.md new file mode 100644 index 0000000000..3993a0ab20 --- /dev/null +++ b/ja/news/_posts/2025-02-18-kansai-rubykaigi-registration-is-open.md @@ -0,0 +1,26 @@ +--- +layout: news_post +title: "関西Ruby会議08の参加登録が開始されました" +author: "Yudai Takada(@ydah)" +translator: +date: 2025-02-18 14:30:00 +0000 +lang: ja +--- + +日本Rubyの会が後援する、[地域Ruby会議(RegionalRubyKaigi)][1]の1つである[関西Ruby会議08](https://regional.rubykaigi.org/kansai08/)の参加登録が開始されました。 + +* 開催日: 2025年6月28日(土) 10:00 〜 18:00(時刻は変更となる場合があります) +* 会場: [先斗町 歌舞練場](https://maps.app.goo.gl/tf7ucg1ijkSjVjTr9) +* 主催: Ruby関西(るびーかんさい)、Kyoto.rb(きょうとあーるびー)、Kobe.rb(こうべあーるびー)、Kyobashi.rb(きょうばしあーるびー)、Ruby Tuesday(るびーちゅーずでー)、Ruby舞鶴(るびーまいづる)、AKASHI.rb(あかしあーるびー)、Shinosaka.rb(しんおおさかあーるびー)、naniwa.rb(なにわあーるびー) +* 参加費: 無料 +* 公式タグ: [#kanrk08](https://twitter.com/search?q=kanrk08&src=typd&f=realtime) + +## 参加登録 + +Tito にて申し込みを受け付けています。 + +* [イベントサイト](https://regional.rubykaigi.org/kansai08/) +* [参加受付](https://ti.to/kansairubykaigi/08) +* [発表者募集](https://forms.gle/ijBZ6WM63XJ4rdc58) + +[1]: http://regional.rubykaigi.org/ From 0e79cacd3eaee3c2f42bf559beb534d3ca719e9a Mon Sep 17 00:00:00 2001 From: Christopher Sahnwaldt Date: Tue, 4 Mar 2025 13:14:14 +0100 Subject: [PATCH 2516/2563] faq/2/index.md: fix incorrect wording (#3212) A def statement defines a function or method. It's not correct to say a def statement "is a function" or "is a method call". --- en/documentation/faq/2/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/documentation/faq/2/index.md b/en/documentation/faq/2/index.md index c1efec2c51..04577bdc1f 100644 --- a/en/documentation/faq/2/index.md +++ b/en/documentation/faq/2/index.md @@ -56,7 +56,7 @@ argument automagically becomes a reference to the receiver. Ruby is a pure OO language that can masquerade as a procedural one. It has no functions, only method calls. In a Ruby method the receiver, also called `self`, is a hidden argument like `this` in C++. A `def` statement outside of -a class definition, which is a function in Python, is actually a method call +a class definition, which defines a function in Python, actually defines a method in Ruby. These ersatz functions become private methods of class Object, the root of the Ruby class hierarchy. Procedural programming is neatly solved from the other direction---everything is an object. If the user doesn't grok From 37b75b68e94b649e5963eec168cce01935e0aa94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 4 Mar 2025 16:32:05 -0500 Subject: [PATCH 2517/2563] Translate news of februeray (es) (#3523) --- .../2025-02-10-dos-net-imap-cve-2025-25186.md | 38 +++++++ .../_posts/2025-02-14-ruby-3-4-2-released.md | 56 ++++++++++ .../_posts/2025-02-26-security-advisories.md | 102 ++++++++++++++++++ 3 files changed, 196 insertions(+) create mode 100644 es/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md create mode 100644 es/news/_posts/2025-02-14-ruby-3-4-2-released.md create mode 100644 es/news/_posts/2025-02-26-security-advisories.md diff --git a/es/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md b/es/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md new file mode 100644 index 0000000000..eb51e46abf --- /dev/null +++ b/es/news/_posts/2025-02-10-dos-net-imap-cve-2025-25186.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2025-25186: vulnerabilidad de dengación de servicio en net-imap" +author: "nevans" +translator: vtamara +date: 2025-02-10 03:00:00 +0000 +tags: security +lang: es +--- + +Hay posibilidad de un ataque de denegación de servicio (DoS) en la +gema net-imap. A esta vulnerabilidad se la ha asignado el identificador +[CVE-2025-25186](https://www.cve.org/CVERecord?id=CVE-2025-25186). +Recomendamos actualizar la gema net-imap. + +## Detalles + +Un servidor malicioso puede enviar un conjunto de datos uid altamente +comprimido que es leído automáticamente por el hilo receptor del cliente. +El analizador de la respuesta usa Range#to_a para convertir el conjunto +de datos uid a un arreglo de enteros, sin limite en el tamaño de los +rangos expandidos. + +Por favor actualizar la gema net-imap a la versión 0.3.8, 0.4.19, 0.5.6 +o posterior. + +## Versiones afectadas + +* Gema net-imap versiones 0.3.2 to 0.3.7, 0.4.0 to 0.4.18, y + 0.5.0 a 0.5.5 (incluida). + +## Créditos + +Gracias a [manun](https://hackerone.com/manun) por descubrir este problema. + +## Historia + +* Publicado originalmente el 2025-02-10 03:00:00 (UTC) diff --git a/es/news/_posts/2025-02-14-ruby-3-4-2-released.md b/es/news/_posts/2025-02-14-ruby-3-4-2-released.md new file mode 100644 index 0000000000..0e0d41714c --- /dev/null +++ b/es/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -0,0 +1,56 @@ +--- +layout: news_post +title: "Ruby 3.4.2 Publicado" +author: k0kubun +translator: vtamara +date: 2025-02-14 21:55:17 +0000 +lang: es +--- + +Ruby 3.4.2 ha sido publicado + +Esta es una actualización rutinaria que incluye correciones a fallas. +Por favor vea detalles en las +[notas de publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_2) + +## Calendario de publicaciones + +Queremos publicar la versión de Ruby estable más recieente (acutalmente +Ruby 3.4) cada 2 meses. +Ruby 3.4.3 será publicado en Abril, 3.4.4 en Junio, 3.4.5 en Agosto, +3.4.6 en Octubre, y 3.4.7 en Diciembre. + +Si hay algún cambio que afecte a un número considerabl de personas, +esas versiones sera publicadas más pronto de lo esperado. + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.4.2" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentario de la versión + +Muchos contribuidores, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. diff --git a/es/news/_posts/2025-02-26-security-advisories.md b/es/news/_posts/2025-02-26-security-advisories.md new file mode 100644 index 0000000000..6371bc0367 --- /dev/null +++ b/es/news/_posts/2025-02-26-security-advisories.md @@ -0,0 +1,102 @@ +--- +layout: news_post +title: "Avisos de seguridad: CVE-2025-27219, CVE-2025-27220 y CVE-2025-27221" +author: "hsbt" +translator: vtamara +date: 2025-02-26 07:00:00 +0000 +tags: security +lang: es +--- + +Publicamos avisos de seguridad para CVE-2025-27219, CVE-2025-27220 y +CVE-2025-27221. Por favor vea detalles a continuación. + +## CVE-2025-27219: Denegación de Servicio en `CGI::Cookie.parse`. + +Hay posibilidad de una DoS por la gema cgi. A esta vulnerabilidad se +le ha asignado el identificador +[CVE-2025-27219](https://www.cve.org/CVERecord?id=CVE-2025-27219). +Recomendamos actualizar la gema cgi. + +### Detalles + +`CGI::Cookie.parse` tomaba tiempo super-lineal para analizar una +cadena con una cookie en algunos casos. +Suministrar una cadena de cookie manipulada a ese método podría +conducir a una Denegación de Servicio. + +Por favor actualice la gema CGI a la versión 0.3.5.1, 0.3.7, 0.4.2 o +posterior. + +### Versiones afectadas + +* Gema cgi versiones <= 0.3.5, 0.3.6, 0.4.0 y 0.4.1. + +### Créditos + +Agradecemos a [lio346](https://hackerone.com/lio346) por descubrir +este problema. También agradecemos a +[mame](https://github.com/mame) por corregirlo. + +## CVE-2025-27220: ReDoS en `CGI::Util#escapeElement`. + +Hay posibilidad de una Denegación de Servicio por Expresión Regular (ReDoS) +por parte de la gema cgi. +A esta vulnerabilidad se le ha asignado el identificador +[CVE-2025-27220](https://www.cve.org/CVERecord?id=CVE-2025-27220). +Recomendamos actualizar la gema cgi. + +### Detalles + +La expresión regular usada en `CGI::Util#escapeElement` es +vulnerable a ReDoS. Una entrada diseñada podría conducir a un alto +consumo de CPU. + +Esta vulnerabilidad sólo afecta a Ruby 3.1 y 3.2. Si usa estas versiones, +por favor actualice la gema CGI a la versión 0.3.5.1, 0.3.7, 0.4.2 o posterior. + +### Versiones afectadas + +* Gema cgi versiones <= 0.3.5, 0.3.6, 0.4.0 y 0.4.1. + +### Créditos + +Gracias a [svalkanov](https://hackerone.com/svalkanov) por descubrir +el problma. También gracias a [nobu](https://github.com/nobu) por +corregir esta vulnerabilidad. + +## CVE-2025-27221: fuga de información del usuario en `URI#join`, +`URI#merge` y `URI#+`. + +Hay posibilidad de que se fugue información con la gema uri. A esta +vulnerabilidad se le ha asignado el identificador +[CVE-2025-27221](https://www.cve.org/CVERecord?id=CVE-2025-27221). +Recomendamos actualizar la gema uri. + +### Detalles + +Los métodos `URI#join`, `URI#merge`, y `URI#+` retienen información +del usuario, tales como `user:password`, incluso aún después de que +la máquina es reemplazada. Cuando genera un URL para una máquina +maliciosa a partir de una URL que contenga información de usuario +secreta usando este método, y teniendo que alguien accede a la URL, +podría ocurrir una fuga de datos no intencionada. + +Por favor actualizar la gema URI a las versiones 0.11.3, 0.12.4, 0.13.2, 1.0.3 +o posterior. + +### Versiones Afectadas + +* Gema uri versions < 0.11.3, 0.12.0 to 0.12.3, 0.13.0, 0.13.1 y + 1.0.0 a 1.0.2. + +### Créditos + +Agradecemos a [Tsubasa Irisawa (lambdasawa)](https://hackerone.com/lambdasawa) +por descubrir este problema. También agradecemos a +[nobu](https://github.com/nobu) por correcciones adicionales +para esta vulnerabilidad. + +## Historia + +* Publicado originalmente el 2025-02-26 7:00:00 (UTC) From 01dbd5a53772d1ea5a28a8e9b74ca1e068865df6 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 8 Mar 2025 21:41:37 +0900 Subject: [PATCH 2518/2563] Follow up "faq/2/index.md: fix incorrect wording" (ko) (#3524) --- ko/documentation/faq/2/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/documentation/faq/2/index.md b/ko/documentation/faq/2/index.md index e8b5e322be..3f204b4dbe 100644 --- a/ko/documentation/faq/2/index.md +++ b/ko/documentation/faq/2/index.md @@ -55,7 +55,7 @@ Python은 하이브리드 언어입니다. 절차적 프로그래밍을 위한 Ruby는 절차적 언어로 가장할 수 있는 순수한 객체 지향 언어입니다. 함수는 없고 메서드 호출만 있습니다. Ruby 메서드에서 `self`라고도 하는 수신자는 C++의 `this`와 같은 숨겨진 인수입니다. 클래스 정의 밖의 `def` 문은 Python에서는 -함수지만 Ruby에서 실제로는 메서드 호출입니다. 이러한 가짜 함수는 Ruby 클래스 +함수 정의이지만 Ruby에서 실제로는 메서드 정의입니다. 이러한 가짜 함수는 Ruby 클래스 계층 구조의 루트인 Object 클래스의 private 메서드가 됩니다. 절차적 프로그래밍은 다른 방향에서 깔끔하게 해결됩니다. 모든 것이 객체입니다. 사용자가 아직 객체를 이해하지 못했어도 `def`가 함수 정의인 것처럼 동작해서 문제없이 사용할 수 있습니다. From 34b16ad8018fd4be9d795068a248a84bf85a45ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Mar 2025 15:44:53 +0000 Subject: [PATCH 2519/2563] Bump json from 2.10.1 to 2.10.2 Bumps [json](https://github.com/ruby/json) from 2.10.1 to 2.10.2. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.10.1...v2.10.2) --- updated-dependencies: - dependency-name: json dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8a3c17ccaa..f88b844103 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -98,7 +98,7 @@ GEM sass-embedded (~> 1.75) jekyll-watch (2.2.1) listen (~> 3.0) - json (2.10.1) + json (2.10.2) kramdown (2.5.1) rexml (>= 3.3.9) kramdown-parser-gfm (1.1.0) From 7cf93bad00463ee1f45539361fe51c91c1ce7bd0 Mon Sep 17 00:00:00 2001 From: Jae Youp Kim Date: Sun, 16 Mar 2025 10:28:35 +0900 Subject: [PATCH 2520/2563] fix: correct awkward translations (#3526) --- ko/documentation/installation/index.md | 8 ++++---- ko/documentation/quickstart/2/index.md | 2 +- ko/documentation/quickstart/4/index.md | 2 +- ko/libraries/index.md | 14 +++++++------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ko/documentation/installation/index.md b/ko/documentation/installation/index.md index 60998f0a07..8c4982926e 100644 --- a/ko/documentation/installation/index.md +++ b/ko/documentation/installation/index.md @@ -346,7 +346,7 @@ UNIX 계열 운영체제와 Windows를 지원합니다. ### rbenv {: #rbenv} -[rbenv][rbenv]는 여러 종류의 Ruby를 설치할 수 있게 합니다. +[rbenv][rbenv]는 여러 버전의 Ruby를 설치할 수 있게 합니다. rbenv 자체는 Ruby 설치를 지원하지 않습니다만, [ruby-build](#ruby-build)라는 유명한 플러그인에서 Ruby를 설치할 수 있습니다. rbenv, ruby-build 모두 macOS, Linux나 다른 UNIX-계열 운영체제에서 사용가능합니다. @@ -355,7 +355,7 @@ rbenv, ruby-build 모두 macOS, Linux나 다른 UNIX-계열 운영체제에서 ### rbenv for Windows {: #rbenv-for-windows} -[rbenv for Windows][rbenv-for-windows]는 Windows에서 여러 종류의 Ruby를 +[rbenv for Windows][rbenv-for-windows]는 Windows에서 여러 버전의 Ruby를 설치하고 관리할 수 있도록 합니다. 이는 PowerShell로 작성되었으므로 Windows에서 Ruby를 이용하는 사용자들에게 자연스러운 수단을 제공합니다. 또한 커맨드 라인 인터페이스는 UNIX 계열 @@ -365,7 +365,7 @@ Windows에서 Ruby를 이용하는 사용자들에게 자연스러운 수단을 ### RVM ("Ruby Version Manager") {: #rvm} -[RVM][rvm]은 시스템에 여러 종류의 Ruby를 설치하고 관리할 수 있게 해줍니다. +[RVM][rvm]은 시스템에 여러 버전의 Ruby를 설치하고 관리할 수 있게 해줍니다. RVM은 다른 gemset도 관리해 줍니다. macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. @@ -373,7 +373,7 @@ macOS, Linux나 다른 UNIX-계열 운영체제에서만 사용 가능합니다. ### RVM 4 Windows {: #rvm-windows} -[RVM 4 Windows][rvm-windows]는 Windows에서 여러 종류의 Ruby를 설치하고 +[RVM 4 Windows][rvm-windows]는 Windows에서 여러 버전의 Ruby를 설치하고 관리할 수 있게 해줍니다. 이는 오리지널 RVM의 복제로, 오리지널 RVM과 동일한 커맨드 라인 인터페이스를 제공하며, 기존 커맨드 라인 인터페이스와 PowerShell을 모두 지원합니다. diff --git a/ko/documentation/quickstart/2/index.md b/ko/documentation/quickstart/2/index.md index 434771da22..a8b304bd20 100644 --- a/ko/documentation/quickstart/2/index.md +++ b/ko/documentation/quickstart/2/index.md @@ -65,7 +65,7 @@ Hello Matz! ## 문자열의 중간에 자리를 잡아두기 -`#\{name}` 부분은 무엇이냐구요? Ruby에서 문자열 중간에 무엇을 삽입하는 방법입니다. +`#{name}` 부분은 무엇이냐구요? Ruby에서 문자열 중간에 무엇을 삽입하는 방법입니다. 중괄호 사이의 부분이 문자열로 변환되어 (이미 문자열이 아니라면) 전체 문자열의 그 지점에 삽입되는 것이지요. 사람 이름의 첫 글자를 대문자로 만들어주는 것도 가능합니다. diff --git a/ko/documentation/quickstart/4/index.md b/ko/documentation/quickstart/4/index.md index f951d5bdaf..6295c7ad73 100644 --- a/ko/documentation/quickstart/4/index.md +++ b/ko/documentation/quickstart/4/index.md @@ -64,7 +64,7 @@ end 매개 변수입니다. 여기서 일어나고 있는 것은 리스트의 각 원소가 `name` 변수에 넘겨져서, 그 `name`을 -가지고 `puts “Hello#\{name}!”` 코드가 실행되고 있는 거랍니다. +가지고 `puts "Hello #{name}!"` 코드가 실행되고 있는 거랍니다. 대부분의 다른 프로그래밍 언어에서는 보통 `for` 반복문을 사용해서 리스트의 내용물을 처리하게 되지요. C 코드로는 다음과 같겠죠. diff --git a/ko/libraries/index.md b/ko/libraries/index.md index 2e6b7eacf5..c63d0cab53 100644 --- a/ko/libraries/index.md +++ b/ko/libraries/index.md @@ -35,15 +35,15 @@ list`를 사용합니다. 좀 더 정보가 필요하시면 아래 내용을 좀 소스코드는 GitHub에서 볼 수 있습니다. [**The Ruby Toolbox**][6]는 오픈소스이며 Ruby 프로젝트를 검색하기 쉽게 하기 위한 -프로젝트입니다. 다양한 종류의 일반적인 개발 작업을 카테고리로 릴리스나 커밋의 -활발함, 라이브러리의 의존관계 등 각 프로젝트의 다양한 정보를 모았습니다. 또 RubyGems.org와 -GitHub의 인기를 바탕으로 프로젝트의 순위를 매깁니다. 검색을 하면 원하는 것을 쉽게 찾으실 -수 있을 것입니다. +프로젝트입니다. 다양한 개발 작업을 위한 카테고리를 가지고 있으며, +릴리스, 커밋 활동 혹은 의존성과 같이 프로젝트에 관한 많은 정보를 수집합니다. +또한 RubyGems.org와 GitHub에서의 인기도를 기반으로 프로젝트를 평가합니다. +검색을 통해 웹 프레임워크, 문서화 도구, 코드 품질 라이브러리 등 문제 해결을 위한 gem을 쉽게 찾으실 수 있을 것입니다. ### RubyGems에 대한 보충 설명 -많이 쓰이는 `gem` 명령어를 가볍게 보시려면, 이 패키지 관리시스템의 전반에 -대한 [좀 더 자세한 문서][7]도 있습니다. +다음은 일상적인 사용을 위한 `gem` 명령어에 대한 간략한 리뷰입니다. +이 패키징 시스템의 모든 기능을 다루는 [더 상세한 문서][7]도 있습니다. #### gem 찾기 @@ -71,7 +71,7 @@ gem을 설치하려면 **install** 명령을 사용하면 됩니다. 예를 들 $ gem install rails {% endhighlight %} -`--version` / `-v` 플래그를 이용하면 특정 버전을 지칭해서 설치할 수도 있습니다. +`--version` / `-v` 플래그를 이용하면 특정 버전을 지정해서 설치할 수도 있습니다. {% highlight sh %} $ gem install rails --version 5.0 From 805066249639375e7cbdf3348cae7fe524ccb05e Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 20 Mar 2025 03:42:52 +0900 Subject: [PATCH 2521/2563] Fix missing links for CVE-2015-3900 in ko version (#3527) * Fix missing links for CVE-2015-3900 in ko version * Update ko/news/_posts/2015-08-18-ruby-2-0-0-p647-released.md Co-authored-by: Chayoung You * Update ko/news/_posts/2015-08-18-ruby-2-1-7-released.md Co-authored-by: Chayoung You * Update ko/news/_posts/2015-08-18-ruby-2-2-3-released.md Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- ko/news/_posts/2015-08-18-ruby-2-0-0-p647-released.md | 2 +- ko/news/_posts/2015-08-18-ruby-2-1-7-released.md | 2 +- ko/news/_posts/2015-08-18-ruby-2-2-3-released.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ko/news/_posts/2015-08-18-ruby-2-0-0-p647-released.md b/ko/news/_posts/2015-08-18-ruby-2-0-0-p647-released.md index 7e7e284e1b..ebd1eb0e64 100644 --- a/ko/news/_posts/2015-08-18-ruby-2-0-0-p647-released.md +++ b/ko/news/_posts/2015-08-18-ruby-2-0-0-p647-released.md @@ -12,7 +12,7 @@ lang: ko 이 릴리스에는 RubyGems 도메인 이름 확인 취약점에 관한 보안 수정이 포함됩니다. 더 자세한 내용은 밑의 내용을 보세요. -* [CVE-2015-3900 RubyGems 2.4.6 이전의 요청 가로채기 취약점](http://ruby-korea.github.io/rubygems-blog/2015/05/14/CVE-2015-3900.html) +* [CVE-2015-3900 RubyGems 2.4.6 이전의 요청 가로채기 취약점](https://rubykr.github.io/rubygems-blog/2015/05/14/CVE-2015-3900.html) 그리고 이 릴리스에는 lib/resolv.rb의 회귀에 대한 수정도 포함됩니다. diff --git a/ko/news/_posts/2015-08-18-ruby-2-1-7-released.md b/ko/news/_posts/2015-08-18-ruby-2-1-7-released.md index 42356aa7e6..afbc8e4421 100644 --- a/ko/news/_posts/2015-08-18-ruby-2-1-7-released.md +++ b/ko/news/_posts/2015-08-18-ruby-2-1-7-released.md @@ -12,7 +12,7 @@ lang: ko 이 릴리스에는 RubyGems 도메인 이름 확인 취약점에 관한 보안 수정이 포함됩니다. 더 자세한 내용은 밑의 내용을 보세요. -* [CVE-2015-3900 RubyGems 2.4.6 이전의 요청 가로채기 취약점](http://ruby-korea.github.io/rubygems-blog/2015/05/14/CVE-2015-3900.html) +* [CVE-2015-3900 RubyGems 2.4.6 이전의 요청 가로채기 취약점](https://rubykr.github.io/rubygems-blog/2015/05/14/CVE-2015-3900.html) 또한 많은 버그가 수정되었습니다. 자세한 내용은 [티켓](https://bugs.ruby-lang.org/projects/ruby-21/issues?set_filter=1&status_id=5)과 diff --git a/ko/news/_posts/2015-08-18-ruby-2-2-3-released.md b/ko/news/_posts/2015-08-18-ruby-2-2-3-released.md index c1c8f7959d..4d71bcfbba 100644 --- a/ko/news/_posts/2015-08-18-ruby-2-2-3-released.md +++ b/ko/news/_posts/2015-08-18-ruby-2-2-3-released.md @@ -12,7 +12,7 @@ lang: ko 이 릴리스에는 RubyGems 도메인 이름 확인 취약점에 관한 보안 수정이 포함됩니다. -* [CVE-2015-3900 RubyGems 2.4.6 이전의 요청 가로채기 취약점](http://ruby-korea.github.io/rubygems-blog/2015/05/14/CVE-2015-3900.html) +* [CVE-2015-3900 RubyGems 2.4.6 이전의 요청 가로채기 취약점](https://rubykr.github.io/rubygems-blog/2015/05/14/CVE-2015-3900.html) 버그 수정도 조금 있었습니다. 자세한 내용은 From 15c414940a1a7abc802b6a848ddcc5772a89b7ae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Mar 2025 23:47:30 +0000 Subject: [PATCH 2522/2563] Bump nokogiri from 1.18.3 to 1.18.4 Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.3 to 1.18.4. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.18.3...v1.18.4) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f88b844103..05a5961647 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -111,24 +111,24 @@ GEM metrics (0.12.1) mini_portile2 (2.8.8) minitest (5.25.4) - nokogiri (1.18.3) + nokogiri (1.18.4) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.3-aarch64-linux-gnu) + nokogiri (1.18.4-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.3-aarch64-linux-musl) + nokogiri (1.18.4-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.18.3-arm-linux-gnu) + nokogiri (1.18.4-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.18.3-arm-linux-musl) + nokogiri (1.18.4-arm-linux-musl) racc (~> 1.4) - nokogiri (1.18.3-arm64-darwin) + nokogiri (1.18.4-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.3-x86_64-darwin) + nokogiri (1.18.4-x86_64-darwin) racc (~> 1.4) - nokogiri (1.18.3-x86_64-linux-gnu) + nokogiri (1.18.4-x86_64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.3-x86_64-linux-musl) + nokogiri (1.18.4-x86_64-linux-musl) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) From 50a3b16ae093833f6d0ffe937cf57230eadb3f04 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Wed, 26 Mar 2025 04:44:29 +0000 Subject: [PATCH 2523/2563] Create release for 3.1.7 --- .../_posts/2025-03-26-ruby-3-1-7-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 en/news/_posts/2025-03-26-ruby-3-1-7-released.md diff --git a/en/news/_posts/2025-03-26-ruby-3-1-7-released.md b/en/news/_posts/2025-03-26-ruby-3-1-7-released.md new file mode 100644 index 0000000000..e12058f917 --- /dev/null +++ b/en/news/_posts/2025-03-26-ruby-3-1-7-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.1.7 Released" +author: +translator: +date: 2025-03-26 04:44:27 +0000 +lang: en +--- + +Ruby 3.1.7 has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_7) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.1.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 6d9015803007344bd2d34efecab12ebcdd5b7d87 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 26 Mar 2025 13:58:30 +0900 Subject: [PATCH 2524/2563] Added 3.1.7 to releases.yml --- _data/releases.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/_data/releases.yml b/_data/releases.yml index 8274b32d57..46bd420ae2 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -818,6 +818,29 @@ # 3.1 series +- version: 3.1.7 + date: '2025-03-26' + post: "/en/news/2025/03/26/ruby-3-1-7-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.7.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.7.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.7.zip + size: + gz: 20811481 + xz: 15196628 + zip: 25555673 + sha1: + gz: c2023f05989241d1f21409b980ffbda83b1cbe7b + xz: 1437e9ec92f2c166f5b04dbb0c21ac299aca0542 + zip: c2eeaba7ebdabc84ca7b77a14a1f83b16397c87e + sha256: + gz: 0556acd69f141ddace03fa5dd8d76e7ea0d8f5232edf012429579bcdaab30e7b + xz: 658acc455b6bda87ac6cc1380e86552b9c1af87055e7a127589c5bf7ed80b035 + zip: ab91106d0686cd30c375c309c58a5b96e68ac56e96c453c1d4f3fbb6c548dec7 + sha512: + gz: a8432aaeaee4f48027ab30b7870bc61350840761b9d72b0b399d8fdfa96acb3c8f1ebe63663bcd8d835dd89b21128a07ef8f0c0c47eb41b942c169954ccb7edd + xz: 44e013f6e8d159a49125d24eaf02f58e02997fcd7bd4f4370250248c2d3264fb45183e33797638a7d9a2907fb48fe1b46f5f45514d60a800f96bce2c10baca82 + zip: febc49a0350558a8f3ad0d683c94321fc3437201c1adafdaa4e1a454234eef857d324e6ee1f95f5998d96fafce7f3a6c39483b3251a4a9ed4f64d80a1f73964e - version: 3.1.6 date: 2024-05-29 post: "/en/news/2024/05/29/ruby-3-1-6-released/" From 752d19775a7568ae5fb0e4ba395cacb4f2870474 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 26 Mar 2025 14:29:47 +0900 Subject: [PATCH 2525/2563] Update release announcement --- en/news/_posts/2025-03-26-ruby-3-1-7-released.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/en/news/_posts/2025-03-26-ruby-3-1-7-released.md b/en/news/_posts/2025-03-26-ruby-3-1-7-released.md index e12058f917..5892ed0746 100644 --- a/en/news/_posts/2025-03-26-ruby-3-1-7-released.md +++ b/en/news/_posts/2025-03-26-ruby-3-1-7-released.md @@ -7,10 +7,14 @@ date: 2025-03-26 04:44:27 +0000 lang: en --- -Ruby 3.1.7 has been released. +Ruby 3.1.7 has been released. This release includes [CVE-2025-27219, CVE-2025-27220 and CVE-2025-27221 fixes](https://www.ruby-lang.org/en/news/2025/02/26/security-advisories/) and update bundled REXML and RSS gems. Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_7) for further details. +This version is a final release of Ruby 3.1 series. We will not provide any further updates including security fixes for Ruby 3.1 series. + +We recommend you to upgrade to Ruby 3.3 or 3.4 series. + ## Download {% assign release = site.data.releases | where: "version", "3.1.7" | first %} From b91cf7814a7f6620069bfe31055aac1b7e60cafa Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 26 Mar 2025 14:34:28 +0900 Subject: [PATCH 2526/2563] Fill in author --- en/news/_posts/2025-03-26-ruby-3-1-7-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2025-03-26-ruby-3-1-7-released.md b/en/news/_posts/2025-03-26-ruby-3-1-7-released.md index 5892ed0746..e84a3c6eae 100644 --- a/en/news/_posts/2025-03-26-ruby-3-1-7-released.md +++ b/en/news/_posts/2025-03-26-ruby-3-1-7-released.md @@ -1,7 +1,7 @@ --- layout: news_post title: "Ruby 3.1.7 Released" -author: +author: hsbt translator: date: 2025-03-26 04:44:27 +0000 lang: en From d2acbe1f8ff365e4902223717abf4f04f397fa60 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Wed, 26 Mar 2025 04:45:02 +0000 Subject: [PATCH 2527/2563] Create release for 3.2.8 --- .../_posts/2025-03-26-ruby-3-2-8-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 en/news/_posts/2025-03-26-ruby-3-2-8-released.md diff --git a/en/news/_posts/2025-03-26-ruby-3-2-8-released.md b/en/news/_posts/2025-03-26-ruby-3-2-8-released.md new file mode 100644 index 0000000000..10099c8a08 --- /dev/null +++ b/en/news/_posts/2025-03-26-ruby-3-2-8-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.2.8 Released" +author: +translator: +date: 2025-03-26 04:45:01 +0000 +lang: en +--- + +Ruby 3.2.8 has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_8) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.2.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From ca435fd28e5fa19d4f871daee3e3c8232266df9d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 26 Mar 2025 13:57:27 +0900 Subject: [PATCH 2528/2563] Added 3.2.8 to releases.yml --- _data/releases.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/_data/releases.yml b/_data/releases.yml index 46bd420ae2..8f1b222727 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -503,6 +503,29 @@ # 3.2 series +- version: 3.2.8 + date: '2025-03-26' + post: "/en/news/2025/03/26/ruby-3-2-8-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.8.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.8.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.8.zip + size: + gz: 20549999 + xz: 15130380 + zip: 25134315 + sha1: + gz: 419ecff4a0f8e805ddb1314344ffad33afde91d8 + xz: 570b529a10784fc16bb0339e6d37408adf9cd31d + zip: c80bf2e90b3bbfbedc9c8b65d401ce4bd0ed4263 + sha256: + gz: 77acdd8cfbbe1f8e573b5e6536e03c5103df989dc05fa68c70f011833c356075 + xz: 1cccd3100155275293ae5d4ea0a1a1068f5de69e71732220f144acce26327a3c + zip: c8ca517937c05e03ae52c41dad16ccf12ffae323365e73f3720142421f3aa2c7 + sha512: + gz: 342d9ce337936cdbaa5d63a4d393edf0594e431add8cec3b6f17b884075bfdc5aa7a843c03f4ee3bece01700dfa4707bba653715a628d9dcb230762dbd3e5ac8 + xz: 19ff96619945d907e509803b85ecf21750ffa4ae033045272feb43c183ab180d0033b98cf47c18804e448f01bc1928e3b833c61c98446dbe6be31fb9ea6b059d + zip: e248bc2a37b32edca0508df3016ac933089170deba6eec5479d8fb45a3d022c4c9532de2b5486863d30233bd276b14335e8d5ee97c371746b26d64f4864e80d3 - version: 3.2.7 date: 2025-02-04 post: /en/news/2025/02/04/ruby-3-2-7-released/ From ddba64ee14da3a3aa6ced63750a883e0605feec5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 26 Mar 2025 14:33:57 +0900 Subject: [PATCH 2529/2563] Update release announcement --- en/news/_posts/2025-03-26-ruby-3-2-8-released.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/en/news/_posts/2025-03-26-ruby-3-2-8-released.md b/en/news/_posts/2025-03-26-ruby-3-2-8-released.md index 10099c8a08..8acf005161 100644 --- a/en/news/_posts/2025-03-26-ruby-3-2-8-released.md +++ b/en/news/_posts/2025-03-26-ruby-3-2-8-released.md @@ -1,16 +1,20 @@ --- layout: news_post title: "Ruby 3.2.8 Released" -author: +author: hsbt translator: date: 2025-03-26 04:45:01 +0000 lang: en --- -Ruby 3.2.8 has been released. +Ruby 3.2.8 has been released. This release includes [CVE-2025-27219, CVE-2025-27220 and CVE-2025-27221 fixes](https://www.ruby-lang.org/en/news/2025/02/26/security-advisories/). Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_8) for further details. +This version is a last version of normal maintenance for Ruby 3.2 series. We will fix only security issues for Ruby 3.2 series until end of March 2026. + +Please consider upgrading to Ruby 3.3 or 3.4 series. + ## Download {% assign release = site.data.releases | where: "version", "3.2.8" | first %} From cf4a5b1e8abff7051218b84c67a6db132986243a Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 28 Mar 2025 07:28:19 +0900 Subject: [PATCH 2530/2563] Translate "Ruby 3.2.8 Released", "Ruby 3.1.7 Released" (ko)* (#3532) * Copy ruby 3.1.7, 3.2.8 released to ko * Translate "Ruby 3.2.8 Released", "Ruby 3.1.7 Released" (ko) * Apply suggestions from code review Co-authored-by: Chayoung You --------- Co-authored-by: Chayoung You --- .../_posts/2025-03-26-ruby-3-1-7-released.md | 46 +++++++++++++++++++ .../_posts/2025-03-26-ruby-3-2-8-released.md | 46 +++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 ko/news/_posts/2025-03-26-ruby-3-1-7-released.md create mode 100644 ko/news/_posts/2025-03-26-ruby-3-2-8-released.md diff --git a/ko/news/_posts/2025-03-26-ruby-3-1-7-released.md b/ko/news/_posts/2025-03-26-ruby-3-1-7-released.md new file mode 100644 index 0000000000..51a22a3847 --- /dev/null +++ b/ko/news/_posts/2025-03-26-ruby-3-1-7-released.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "Ruby 3.1.7 릴리스" +author: hsbt +translator: shia +date: 2025-03-26 04:44:27 +0000 +lang: ko +--- + +Ruby 3.1.7이 릴리스되었습니다. 이 릴리스에는 [CVE-2025-27219, CVE-2025-27220 및 CVE-2025-27221 수정 사항](https://www.ruby-lang.org/ko/news/2025/02/26/security-advisories/)이 포함되어 있고, 내장된 REXML 및 RSS gem이 업데이트되었습니다. + +자세한 사항은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_1_7)를 확인해 주세요. + +이 버전은 Ruby 3.1 버전대의 최종 릴리스입니다. Ruby 3.1 버전대에 대한 보안 수정을 포함한 추가 업데이트는 제공되지 않습니다. + +Ruby 3.3 또는 3.4 버전대로 업그레이드하는 것을 권장합니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.1.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. diff --git a/ko/news/_posts/2025-03-26-ruby-3-2-8-released.md b/ko/news/_posts/2025-03-26-ruby-3-2-8-released.md new file mode 100644 index 0000000000..aed1e2ba99 --- /dev/null +++ b/ko/news/_posts/2025-03-26-ruby-3-2-8-released.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "Ruby 3.2.8 릴리스" +author: hsbt +translator: shia +date: 2025-03-26 04:45:01 +0000 +lang: ko +--- + +Ruby 3.2.8이 릴리스되었습니다. 이 릴리스에는 [CVE-2025-27219, CVE-2025-27220 및 CVE-2025-27221 수정 사항](https://www.ruby-lang.org/ko/news/2025/02/26/security-advisories/)이 포함되어 있습니다. + +자세한 사항은 [GitHub 릴리스](https://github.com/ruby/ruby/releases/tag/v3_2_8)를 확인해 주세요. + +이 버전은 Ruby 3.2 버전대의 일반 유지보수 마지막 버전입니다. Ruby 3.2 버전대는 2026년 3월 말까지 보안 문제만 수정될 것입니다. + +Ruby 3.3 또는 3.4 버전대로 업그레이드하는 것을 권장합니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.2.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From d7eae851575418c4cbebb570eda96767ba4379be Mon Sep 17 00:00:00 2001 From: gaojun Date: Thu, 27 Mar 2025 15:41:10 +0800 Subject: [PATCH 2531/2563] Translate "3.1.7/3.2.8 Released" (zh_cn) --- .../_posts/2025-03-26-ruby-3-1-7-released.md | 47 +++++++++++++++++++ .../_posts/2025-03-26-ruby-3-2-8-released.md | 46 ++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 zh_cn/news/_posts/2025-03-26-ruby-3-1-7-released.md create mode 100644 zh_cn/news/_posts/2025-03-26-ruby-3-2-8-released.md diff --git a/zh_cn/news/_posts/2025-03-26-ruby-3-1-7-released.md b/zh_cn/news/_posts/2025-03-26-ruby-3-1-7-released.md new file mode 100644 index 0000000000..869d7a996d --- /dev/null +++ b/zh_cn/news/_posts/2025-03-26-ruby-3-1-7-released.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Ruby 3.1.7 已发布" +author: hsbt +translator: "GAO Jun" +date: 2025-03-26 04:44:27 +0000 +lang: zh_cn +--- + +Ruby 3.1.7 已发布。此版本包括 [CVE-2025-27219,CVE-2025-27220 和 CVE-2025-27221 的补丁](https://www.ruby-lang.org/zh_cn/news/2025/02/26/security-advisories/) +并更新了绑定的 REXML 和 RSS gems. + +详细信息可参考 [GitHub 发布说明](https://github.com/ruby/ruby/releases/tag/v3_1_7)。 + +此版本是 Ruby 3.1 系列的最终版本。我们不会再发布 Ruby 3.1 系列的后续版本,包括安全补丁。 + +我们建议您更新到 Ruby 3.3 或 3.4 系列版本。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.1.7" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 diff --git a/zh_cn/news/_posts/2025-03-26-ruby-3-2-8-released.md b/zh_cn/news/_posts/2025-03-26-ruby-3-2-8-released.md new file mode 100644 index 0000000000..bf40ff3f58 --- /dev/null +++ b/zh_cn/news/_posts/2025-03-26-ruby-3-2-8-released.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "Ruby 3.2.8 已发布" +author: hsbt +translator: "GAO Jun" +date: 2025-03-26 04:45:01 +0000 +lang: zh_cn +--- + +Ruby 3.2.8已发布。此版本包括 [CVE-2025-27219,CVE-2025-27220 和 CVE-2025-27221 的补丁](https://www.ruby-lang.org/zh_cn/news/2025/02/26/security-advisories/)。 + +详细信息可参考 [GitHub 发布说明](https://github.com/ruby/ruby/releases/tag/v3_2_8)。 + +此版本是 Ruby 3.2 系列的最后普通维护版本。今后,直到 2026 年 3 月,我们仅会为 Ruby 3.2 系列提供安全补丁。 + +请考虑更新到 Ruby 3.3 或 3.4 系列版本。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.2.8" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From aa7b294787d0cb5f47dbb4c595b305429edbb7b4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 2 Apr 2025 11:30:11 +0900 Subject: [PATCH 2532/2563] update bundles --- Gemfile.lock | 110 +++++++++++++++++++++++++-------------------------- 1 file changed, 54 insertions(+), 56 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 05a5961647..10d89d516a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,7 +5,7 @@ GEM addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) afm (0.2.2) - async (2.23.0) + async (2.23.1) console (~> 1.29) fiber-annotation io-event (~> 1.9) @@ -15,12 +15,12 @@ GEM bigdecimal (3.1.9) colorator (1.1.0) concurrent-ruby (1.3.5) - console (1.29.2) + console (1.30.2) fiber-annotation fiber-local (~> 1.1) json crass (1.0.6) - csv (3.3.2) + csv (3.3.3) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) @@ -43,26 +43,26 @@ GEM fiber-storage fiber-storage (1.0.0) forwardable-extended (2.6.0) - google-protobuf (4.29.3) + google-protobuf (4.30.2) bigdecimal rake (>= 13) - google-protobuf (4.29.3-aarch64-linux) + google-protobuf (4.30.2-aarch64-linux) bigdecimal rake (>= 13) - google-protobuf (4.29.3-arm64-darwin) + google-protobuf (4.30.2-arm64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.29.3-x86-linux) + google-protobuf (4.30.2-x86-linux) bigdecimal rake (>= 13) - google-protobuf (4.29.3-x86_64-darwin) + google-protobuf (4.30.2-x86_64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.29.3-x86_64-linux) + google-protobuf (4.30.2-x86_64-linux) bigdecimal rake (>= 13) hashery (2.1.2) - html-proofer (5.0.9) + html-proofer (5.0.10) addressable (~> 2.3) async (~> 2.1) nokogiri (~> 1.13) @@ -74,7 +74,7 @@ GEM http_parser.rb (0.8.0) i18n (1.14.7) concurrent-ruby (~> 1.0) - io-event (1.9.0) + io-event (1.10.0) jekyll (4.4.1) addressable (~> 2.4) base64 (~> 0.2) @@ -108,27 +108,27 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - metrics (0.12.1) + metrics (0.12.2) mini_portile2 (2.8.8) - minitest (5.25.4) - nokogiri (1.18.4) + minitest (5.25.5) + nokogiri (1.18.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.4-aarch64-linux-gnu) + nokogiri (1.18.7-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.4-aarch64-linux-musl) + nokogiri (1.18.7-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.18.4-arm-linux-gnu) + nokogiri (1.18.7-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.18.4-arm-linux-musl) + nokogiri (1.18.7-arm-linux-musl) racc (~> 1.4) - nokogiri (1.18.4-arm64-darwin) + nokogiri (1.18.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.4-x86_64-darwin) + nokogiri (1.18.7-x86_64-darwin) racc (~> 1.4) - nokogiri (1.18.4-x86_64-linux-gnu) + nokogiri (1.18.7-x86_64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.4-x86_64-linux-musl) + nokogiri (1.18.7-x86_64-linux-musl) racc (~> 1.4) paint (2.3.0) pathutil (0.16.2) @@ -150,39 +150,37 @@ GEM rouge (4.5.1) ruby-rc4 (0.1.5) safe_yaml (1.0.5) - sass-embedded (1.85.0) - google-protobuf (~> 4.29) + sass-embedded (1.86.1) + google-protobuf (~> 4.30) rake (>= 13) - sass-embedded (1.85.0-aarch64-linux-android) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-aarch64-linux-gnu) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-aarch64-linux-musl) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-arm-linux-androideabi) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-arm-linux-gnueabihf) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-arm-linux-musleabihf) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-arm64-darwin) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-riscv64-linux-android) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-riscv64-linux-gnu) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-riscv64-linux-musl) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-x86_64-cygwin) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-x86_64-darwin) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-x86_64-linux-android) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-x86_64-linux-gnu) - google-protobuf (~> 4.29) - sass-embedded (1.85.0-x86_64-linux-musl) - google-protobuf (~> 4.29) + sass-embedded (1.86.1-aarch64-linux-android) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-aarch64-linux-gnu) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-aarch64-linux-musl) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-arm-linux-androideabi) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-arm-linux-gnueabihf) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-arm-linux-musleabihf) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-arm64-darwin) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-riscv64-linux-android) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-riscv64-linux-gnu) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-riscv64-linux-musl) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-x86_64-darwin) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-x86_64-linux-android) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-x86_64-linux-gnu) + google-protobuf (~> 4.30) + sass-embedded (1.86.1-x86_64-linux-musl) + google-protobuf (~> 4.30) slop (4.10.1) spidr (0.7.2) base64 (~> 0.1) @@ -212,7 +210,7 @@ GEM rexml (~> 3.2) webrick (1.9.1) yell (2.2.2) - zeitwerk (2.7.1) + zeitwerk (2.7.2) PLATFORMS aarch64-linux @@ -253,4 +251,4 @@ DEPENDENCIES validate-website (~> 1.6) BUNDLED WITH - 2.6.4 + 2.6.6 From b11e5168851a86660c4d5dafc8c0900a93796b82 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Thu, 3 Apr 2025 09:03:55 +0900 Subject: [PATCH 2533/2563] Update branch status --- _data/branches.yml | 9 ++++----- _data/downloads.yml | 12 ++---------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/_data/branches.yml b/_data/branches.yml index 864193a135..82c6d4f9ed 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -21,18 +21,17 @@ expected_eol_date: 2027-03-31 - name: 3.2 - status: normal maintenance + status: security maintenance date: 2022-12-25 - security_maintenance_date: + security_maintenance_date: 2025-04-01 eol_date: expected_eol_date: 2026-03-31 - name: 3.1 - status: security maintenance + status: eol date: 2021-12-25 security_maintenance_date: 2024-04-01 - eol_date: - expected_eol_date: 2025-03-31 + eol_date: 2025-03-26 - name: 3.0 status: eol diff --git a/_data/downloads.yml b/_data/downloads.yml index 36a817ddd9..c8811b1602 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -9,17 +9,16 @@ stable: - 3.4.2 - 3.3.7 - - 3.2.7 + - 3.2.8 # optional security_maintenance: - - 3.1.6 # optional eol: - - 3.0.7 + - 3.1.7 stable_snapshots: @@ -44,13 +43,6 @@ stable_snapshots: zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_2.zip version: '3.2' - - branch: ruby_3_1 - url: - gz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_1.tar.gz - xz: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_1.tar.xz - zip: https://cache.ruby-lang.org/pub/ruby/snapshot/snapshot-ruby_3_1.zip - version: '3.1' - nightly_snapshot: url: From 98e35436d5d845f007e9208435010e6108f97c2d Mon Sep 17 00:00:00 2001 From: Bear Su Date: Thu, 27 Mar 2025 20:43:35 +0800 Subject: [PATCH 2534/2563] Translate Ruby 3.1.7 and 3.2.8 Released (zh_tw) --- .../_posts/2025-03-26-ruby-3-1-7-released.md | 47 +++++++++++++++++++ .../_posts/2025-03-26-ruby-3-2-8-released.md | 46 ++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 zh_tw/news/_posts/2025-03-26-ruby-3-1-7-released.md create mode 100644 zh_tw/news/_posts/2025-03-26-ruby-3-2-8-released.md diff --git a/zh_tw/news/_posts/2025-03-26-ruby-3-1-7-released.md b/zh_tw/news/_posts/2025-03-26-ruby-3-1-7-released.md new file mode 100644 index 0000000000..8908ec8434 --- /dev/null +++ b/zh_tw/news/_posts/2025-03-26-ruby-3-1-7-released.md @@ -0,0 +1,47 @@ +--- +layout: news_post +title: "Ruby 3.1.7 發布" +author: hsbt +translator: "Bear Su" +date: 2025-03-26 04:44:27 +0000 +lang: zh_tw +--- + +Ruby 3.1.7 已經發布了。 本次發布版本包含 [CVE-2025-27219、CVE-2025-27220 和 CVE-2025-27221 修復](https://www.ruby-lang.org/en/news/2025/02/26/security-advisories/) 以及更新 bundled REXML 和 RSS gems。 + +詳細的變動請參閱 [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_1_7)。 + +此為 Ruby 3.1 系列的最後版本。 +我們將不會為 Ruby 3.1 系列發布任何包含安全性修復的更新。 + +我們建議升級至 Ruby 3.3 或 3.4 系列。 + + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.1.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 diff --git a/zh_tw/news/_posts/2025-03-26-ruby-3-2-8-released.md b/zh_tw/news/_posts/2025-03-26-ruby-3-2-8-released.md new file mode 100644 index 0000000000..9f7f486c92 --- /dev/null +++ b/zh_tw/news/_posts/2025-03-26-ruby-3-2-8-released.md @@ -0,0 +1,46 @@ +--- +layout: news_post +title: "Ruby 3.2.8 發布" +author: hsbt +translator: "Bear Su" +date: 2025-03-26 04:45:01 +0000 +lang: zh_tw +--- + +Ruby 3.2.8 已經發布了。 本次發布版本包含 [CVE-2025-27219、CVE-2025-27220 和 CVE-2025-27221 修復](https://www.ruby-lang.org/en/news/2025/02/26/security-advisories/)。 + +詳細的變動請參閱 [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_2_8)。 + +此為 Ruby 3.2 系列最後的常規維護版本。 +我們將只修復 Ruby 3.2 系列的安全性漏洞直到 2026 年 3 月底。 + +請考慮升級至 Ruby 3.3 或 3.4 系列。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.2.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From 6a51acb42c251d5ef3380a8cf88b43eabe9135d2 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 9 Apr 2025 09:14:14 +0900 Subject: [PATCH 2535/2563] Update sponsor list --- en/about/website/index.md | 3 --- ko/about/website/index.md | 3 --- zh_tw/about/website/index.md | 3 --- 3 files changed, 9 deletions(-) diff --git a/en/about/website/index.md b/en/about/website/index.md index d83fcfecfc..1b1057542e 100644 --- a/en/about/website/index.md +++ b/en/about/website/index.md @@ -50,8 +50,6 @@ Also many thanks to the organizations that support us: Heroku -[IBM][ibm] (hosting) - [Fastly][fastly] (CDN) Fastly @@ -77,7 +75,6 @@ Also many thanks to the organizations that support us: [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ -[ibm]: https://www.ibm.com [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ [mackerel]: https://mackerel.io/ diff --git a/ko/about/website/index.md b/ko/about/website/index.md index a3215c8ce2..a3d0d4622f 100644 --- a/ko/about/website/index.md +++ b/ko/about/website/index.md @@ -52,8 +52,6 @@ lang: ko Heroku -[IBM][ibm] (호스팅) - [Fastly][fastly] (CDN) Fastly @@ -79,7 +77,6 @@ lang: ko [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ -[ibm]: https://www.ibm.com [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ [mackerel]: https://mackerel.io/ diff --git a/zh_tw/about/website/index.md b/zh_tw/about/website/index.md index 789c69403c..a1c931e0e5 100644 --- a/zh_tw/about/website/index.md +++ b/zh_tw/about/website/index.md @@ -47,8 +47,6 @@ lang: zh_tw Heroku -[IBM][ibm] (網站托管) - [Fastly][fastly] (CDN) Fastly @@ -74,7 +72,6 @@ lang: zh_tw [github-wiki]: https://github.com/ruby/www.ruby-lang.org/wiki [rubyassociation]: http://www.ruby.or.jp [heroku]: https://www.heroku.com/ -[ibm]: https://www.ibm.com [fastly]: http://www.fastly.com [hatena]: http://hatenacorp.jp/ [mackerel]: https://mackerel.io/ From b593dd91f0f69a16194243105fd7e41dceee4a05 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Wed, 9 Apr 2025 10:38:52 +0000 Subject: [PATCH 2536/2563] Create release for 3.3.8 --- .../_posts/2025-04-09-ruby-3-3-8-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 en/news/_posts/2025-04-09-ruby-3-3-8-released.md diff --git a/en/news/_posts/2025-04-09-ruby-3-3-8-released.md b/en/news/_posts/2025-04-09-ruby-3-3-8-released.md new file mode 100644 index 0000000000..60d5fd8076 --- /dev/null +++ b/en/news/_posts/2025-04-09-ruby-3-3-8-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.3.8 Released" +author: +translator: +date: 2025-04-09 10:38:51 +0000 +lang: en +--- + +Ruby 3.3.8 has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_8) for further details. + +## Download + +{% assign release = site.data.releases | where: "version", "3.3.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From 9005c820eb4605f6c262b32257514c5226398545 Mon Sep 17 00:00:00 2001 From: nagachika Date: Wed, 9 Apr 2025 20:17:18 +0900 Subject: [PATCH 2537/2563] Added ruby 3.3.8 release in releases.yml/downloads.yml --- _data/downloads.yml | 2 +- _data/releases.yml | 24 +++++++++++++++++++ .../_posts/2025-04-09-ruby-3-3-8-released.md | 2 +- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/_data/downloads.yml b/_data/downloads.yml index c8811b1602..ec9404ec52 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -8,7 +8,7 @@ preview: stable: - 3.4.2 - - 3.3.7 + - 3.3.8 - 3.2.8 # optional diff --git a/_data/releases.yml b/_data/releases.yml index 8f1b222727..b00aa72721 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -187,6 +187,30 @@ # 3.3 series +- version: 3.3.8 + date: '2025-04-09' + post: "/en/news/2025/04/09/ruby-3-3-8-released/" + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.8.tar.gz + xz: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.8.tar.xz + zip: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.8.zip + size: + gz: 22197497 + xz: 16435924 + zip: 27628937 + sha1: + gz: 71b8362d413f58ed5aef2ecd132769210c45f058 + xz: 9ee07098fd930744d8df5d4945b5f99d2fecb9ef + zip: 4c0d938d2791ab696e921557aec19613bb364a67 + sha256: + gz: 5ae28a87a59a3e4ad66bc2931d232dbab953d0aa8f6baf3bc4f8f80977c89cab + xz: 44ae70fee043da3ce48289b7a52618ebe32dc083253993d486211c7e445c8642 + zip: 389b8deae02849e769855dea892c921d3387b6548209189837a00f1cdf353797 + sha512: + gz: c5005ba4019fbae19650a9a9ce139e13608345065da9e2277dbeac9d0ac9e3b07b666816afe7be690088080c8c9cf88a8c372971d429479dcebea80d6c2e3883 + xz: 71c2f3ac9955e088fa885fd2ff695e67362a770a5d33e5160081eda3dd298ca2c692e299b03d757caecfbc94043fedc4ad093de84c505585d480cb36bbf978b9 + zip: 1aa6a0412760d0d1f423cd5f02533696b7c952c04f567b89aa875997e1d53a548c294c0b771a9e06e666daab038e3481a6251e361163449f92b02ab3a89a6373 + - version: 3.3.7 date: 2025-01-15 post: /en/news/2025/01/15/ruby-3-3-7-released/ diff --git a/en/news/_posts/2025-04-09-ruby-3-3-8-released.md b/en/news/_posts/2025-04-09-ruby-3-3-8-released.md index 60d5fd8076..aaf7bc4ef4 100644 --- a/en/news/_posts/2025-04-09-ruby-3-3-8-released.md +++ b/en/news/_posts/2025-04-09-ruby-3-3-8-released.md @@ -3,7 +3,7 @@ layout: news_post title: "Ruby 3.3.8 Released" author: translator: -date: 2025-04-09 10:38:51 +0000 +date: 2025-04-09 11:00:00 +0000 lang: en --- From 60a4c863edfe28bc97b1a43bbc5a0e2418b24ec2 Mon Sep 17 00:00:00 2001 From: nagachika Date: Wed, 9 Apr 2025 20:23:01 +0900 Subject: [PATCH 2538/2563] Add author. --- en/news/_posts/2025-04-09-ruby-3-3-8-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2025-04-09-ruby-3-3-8-released.md b/en/news/_posts/2025-04-09-ruby-3-3-8-released.md index aaf7bc4ef4..7ca452a3e7 100644 --- a/en/news/_posts/2025-04-09-ruby-3-3-8-released.md +++ b/en/news/_posts/2025-04-09-ruby-3-3-8-released.md @@ -1,7 +1,7 @@ --- layout: news_post title: "Ruby 3.3.8 Released" -author: +author: nagachika translator: date: 2025-04-09 11:00:00 +0000 lang: en From 96124fc5aa69d1c288f2647fd05af426a3877b6d Mon Sep 17 00:00:00 2001 From: Bear Su Date: Wed, 9 Apr 2025 21:24:55 +0800 Subject: [PATCH 2539/2563] Translate Ruby 3.3.8 Released (zh_tw) --- .../_posts/2025-04-09-ruby-3-3-8-released.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 zh_tw/news/_posts/2025-04-09-ruby-3-3-8-released.md diff --git a/zh_tw/news/_posts/2025-04-09-ruby-3-3-8-released.md b/zh_tw/news/_posts/2025-04-09-ruby-3-3-8-released.md new file mode 100644 index 0000000000..a3f3be68e0 --- /dev/null +++ b/zh_tw/news/_posts/2025-04-09-ruby-3-3-8-released.md @@ -0,0 +1,41 @@ +--- +layout: news_post +title: "Ruby 3.3.8 發布" +author: nagachika +translator: "Bear Su" +date: 2025-04-09 11:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.3.8 已經發布了。 + +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_3_8)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.3.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From e37aece71c030e302d2d364e814bc301f570972b Mon Sep 17 00:00:00 2001 From: Shia Date: Thu, 10 Apr 2025 08:54:57 +0900 Subject: [PATCH 2540/2563] Translate "Ruby 3.3.8 Released" (ko) (#3537) * cp {en,ko}/news/_posts/2025-04-09-ruby-3-3-8-released.md * Translate "Ruby 3.3.8 Released" (ko) --- .../_posts/2025-04-09-ruby-3-3-8-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ko/news/_posts/2025-04-09-ruby-3-3-8-released.md diff --git a/ko/news/_posts/2025-04-09-ruby-3-3-8-released.md b/ko/news/_posts/2025-04-09-ruby-3-3-8-released.md new file mode 100644 index 0000000000..7edd5c7872 --- /dev/null +++ b/ko/news/_posts/2025-04-09-ruby-3-3-8-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.3.8 릴리스" +author: nagachika +translator: shia +date: 2025-04-09 11:00:00 +0000 +lang: ko +--- + +Ruby 3.3.8이 릴리스되었습니다. + +자세한 내용은 [GitHub 릴리스 노트](https://github.com/ruby/ruby/releases/tag/v3_3_8)를 참조하세요. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.3.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 2b2022a2de3b62eae9c3e53dde79a65dc0dfeb9b Mon Sep 17 00:00:00 2001 From: GaTo <109578116+GaTo-Rfc@users.noreply.github.com> Date: Thu, 10 Apr 2025 16:33:33 +0900 Subject: [PATCH 2541/2563] Translate "Ruby 3.3.8 Released" (ja) (#3539) * translate ruby-3-3-8-released post * Reset date --- .../_posts/2025-04-09-ruby-3-3-8-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ja/news/_posts/2025-04-09-ruby-3-3-8-released.md diff --git a/ja/news/_posts/2025-04-09-ruby-3-3-8-released.md b/ja/news/_posts/2025-04-09-ruby-3-3-8-released.md new file mode 100644 index 0000000000..b2781d2c78 --- /dev/null +++ b/ja/news/_posts/2025-04-09-ruby-3-3-8-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.3.8 リリース" +author: nagachika +translator: GaTo-Rfc +date: 2025-04-09 11:00:00 +0000 +lang: ja +--- + +Ruby 3.3.8 がリリースされました。 + +詳しくは [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_3_8) を参照してください。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.3.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 5ca38efe54024c0d518f506aeb931f74ea1b011e Mon Sep 17 00:00:00 2001 From: gaojun Date: Sat, 12 Apr 2025 13:51:51 +0800 Subject: [PATCH 2542/2563] Translate "Ruby 3.3.8 Released" (zh_cn) --- .../_posts/2025-04-09-ruby-3-3-8-released.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 zh_cn/news/_posts/2025-04-09-ruby-3-3-8-released.md diff --git a/zh_cn/news/_posts/2025-04-09-ruby-3-3-8-released.md b/zh_cn/news/_posts/2025-04-09-ruby-3-3-8-released.md new file mode 100644 index 0000000000..8be944d49f --- /dev/null +++ b/zh_cn/news/_posts/2025-04-09-ruby-3-3-8-released.md @@ -0,0 +1,42 @@ +--- +layout: news_post +title: "Ruby 3.3.8 已发布" +author: nagachika +translator: "GAO Jun" +date: 2025-04-09 11:00:00 +0000 +lang: zh_cn +--- + +Ruby 3.3.8 已发布。 + +更多信息可以参考 [GitHub 发布说明](https://github.com/ruby/ruby/releases/tag/v3_3_8)。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.3.8" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 222f77e2d9985448955335a02a5369cad5bd2b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 14 Apr 2025 09:31:03 -0400 Subject: [PATCH 2543/2563] Translation of publication of ruby 3.2.8 and 3.1.7 (es) (#3535) --- .../_posts/2025-03-26-ruby-3-1-7-released.md | 52 +++++++++++++++++++ .../_posts/2025-03-26-ruby-3-2-8-released.md | 51 ++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 es/news/_posts/2025-03-26-ruby-3-1-7-released.md create mode 100644 es/news/_posts/2025-03-26-ruby-3-2-8-released.md diff --git a/es/news/_posts/2025-03-26-ruby-3-1-7-released.md b/es/news/_posts/2025-03-26-ruby-3-1-7-released.md new file mode 100644 index 0000000000..4ec1003178 --- /dev/null +++ b/es/news/_posts/2025-03-26-ruby-3-1-7-released.md @@ -0,0 +1,52 @@ +--- +layout: news_post +title: "Ruby 3.1.7 Publicado" +author: hsbt +translator: vtamara +date: 2025-03-26 04:44:27 +0000 +lang: es +--- + +Ruby 3.1.7 ha sido publicado. Esta versión incluye +[correcciones a las fallas CVE-2025-27219, CVE-2025-27220 y CVE-2025-27221](https://www.ruby-lang.org/es/news/2025/02/26/security-advisories/) +y actualiza las gemas incluidas REXML y RSS. + +Por favor vea más detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_1_7). + +Esta versión es una versión final de la serie Ruby 3.1. +No proveeremos más actualizaciones ni siquiera de seguridad para la serie +Ruby 3.1. + +Le recomendamos actualizar a las series Ruby 3.3 o 3.4. + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.1.7" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentario de la versión + +Muchas contribuyentes, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. diff --git a/es/news/_posts/2025-03-26-ruby-3-2-8-released.md b/es/news/_posts/2025-03-26-ruby-3-2-8-released.md new file mode 100644 index 0000000000..55ccbd3d60 --- /dev/null +++ b/es/news/_posts/2025-03-26-ruby-3-2-8-released.md @@ -0,0 +1,51 @@ +--- +layout: news_post +title: "Ruby 3.2.8 Publicado" +author: hsbt +translator: vtamara +date: 2025-03-26 04:45:01 +0000 +lang: es +--- + +Ruby 3.2.8 ha sido publicado. Esta version incluye +[correcciones a las fallas CVE-2025-27219, CVE-2025-27220 y CVE-2025-27221](https://www.ruby-lang.org/es/news/2025/02/26/security-advisories/). + +Por favor ver más detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_2_8). + +Esta versión es la última versión del mantenimiento normal para la serie +Ruby 3.2. Corregiremos sólo fallas de seguridad para la serie Ruby 3.2 hasta +Marzo de 2026. + +Por favor considere actualizar a la serie Ruby 3.3 o 3.4. + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.2.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentarios de la versión + +Muchas contribuyentes, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. From e4da7a524d4982522e2c5039b2718c9054511ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Mon, 14 Apr 2025 09:40:58 -0400 Subject: [PATCH 2544/2563] Transalation of Ruby 3.3.8 (es) and consistency (#3543) --- .../_posts/2025-02-04-ruby-3-2-7-released.md | 2 +- .../_posts/2025-02-14-ruby-3-4-2-released.md | 2 +- .../_posts/2025-03-26-ruby-3-1-7-released.md | 4 +- .../_posts/2025-03-26-ruby-3-2-8-released.md | 4 +- .../_posts/2025-04-09-ruby-3-3-8-released.md | 44 +++++++++++++++++++ 5 files changed, 50 insertions(+), 6 deletions(-) create mode 100644 es/news/_posts/2025-04-09-ruby-3-3-8-released.md diff --git a/es/news/_posts/2025-02-04-ruby-3-2-7-released.md b/es/news/_posts/2025-02-04-ruby-3-2-7-released.md index 50e3c59227..a4af8d1358 100644 --- a/es/news/_posts/2025-02-04-ruby-3-2-7-released.md +++ b/es/news/_posts/2025-02-04-ruby-3-2-7-released.md @@ -39,7 +39,7 @@ Por favor vea detalles en la ## Comentarios de la versión -Muchas contribuyentes, desarrolladores y usuarios que proveyeron +Muchos contribuyentes, desarrolladores y usuarios que proveyeron reportes de fallas nos ayudaron a producir esta versión. Gracias por sus contribuciones. diff --git a/es/news/_posts/2025-02-14-ruby-3-4-2-released.md b/es/news/_posts/2025-02-14-ruby-3-4-2-released.md index 0e0d41714c..dbae879927 100644 --- a/es/news/_posts/2025-02-14-ruby-3-4-2-released.md +++ b/es/news/_posts/2025-02-14-ruby-3-4-2-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.4.2 Publicado" +title: "Publicado Ruby 3.4.2" author: k0kubun translator: vtamara date: 2025-02-14 21:55:17 +0000 diff --git a/es/news/_posts/2025-03-26-ruby-3-1-7-released.md b/es/news/_posts/2025-03-26-ruby-3-1-7-released.md index 4ec1003178..d03f74557c 100644 --- a/es/news/_posts/2025-03-26-ruby-3-1-7-released.md +++ b/es/news/_posts/2025-03-26-ruby-3-1-7-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.1.7 Publicado" +title: "Publicado Ruby 3.1.7" author: hsbt translator: vtamara date: 2025-03-26 04:44:27 +0000 @@ -46,7 +46,7 @@ Le recomendamos actualizar a las series Ruby 3.3 o 3.4. ## Comentario de la versión -Muchas contribuyentes, desarrolladores y usuarios que proveyeron reportes de +Muchos contribuyentes, desarrolladores y usuarios que proveyeron reportes de fallas nos ayudaron a producir esta versión. Gracias por sus contribuciones. diff --git a/es/news/_posts/2025-03-26-ruby-3-2-8-released.md b/es/news/_posts/2025-03-26-ruby-3-2-8-released.md index 55ccbd3d60..5ef0b01d97 100644 --- a/es/news/_posts/2025-03-26-ruby-3-2-8-released.md +++ b/es/news/_posts/2025-03-26-ruby-3-2-8-released.md @@ -1,6 +1,6 @@ --- layout: news_post -title: "Ruby 3.2.8 Publicado" +title: "Publicado Ruby 3.2.8" author: hsbt translator: vtamara date: 2025-03-26 04:45:01 +0000 @@ -45,7 +45,7 @@ Por favor considere actualizar a la serie Ruby 3.3 o 3.4. ## Comentarios de la versión -Muchas contribuyentes, desarrolladores y usuarios que proveyeron reportes de +Muchos contribuyentes, desarrolladores y usuarios que proveyeron reportes de fallas nos ayudaron a producir esta versión. Gracias por sus contribuciones. diff --git a/es/news/_posts/2025-04-09-ruby-3-3-8-released.md b/es/news/_posts/2025-04-09-ruby-3-3-8-released.md new file mode 100644 index 0000000000..4244e5f8f7 --- /dev/null +++ b/es/news/_posts/2025-04-09-ruby-3-3-8-released.md @@ -0,0 +1,44 @@ +--- +layout: news_post +title: "Publicado Ruby 3.3.8" +author: nagachika +translator: vtamara +date: 2025-04-09 11:00:00 +0000 +lang: es +--- + +Ruby 3.3.8 ha sido publicado. + +Por favor vea detalles en la [publicación en GitHub](https://github.com/ruby/ruby/releases/tag/v3_3_8). + +## Descargas + +{% assign release = site.data.releases | where: "version", "3.3.8" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Comentario de la versión + +Muchos contribuyentes, desarrolladores y usuarios que proveyeron reportes de +fallas nos ayudaron a producir esta versión. + +Gracias por sus contribuciones. From 434163e26590630bddf7b61d5d301e07706cc977 Mon Sep 17 00:00:00 2001 From: matzbot Date: Tue, 15 Apr 2025 01:54:30 +0900 Subject: [PATCH 2545/2563] Create release for 3.4.3 (#3542) * Create release for 3.4.3 * Add 3.4.3 to _data * Write up the 3.4.3 release entry --------- Co-authored-by: GitHub Actions Bot Co-authored-by: Takashi Kokubun --- _data/downloads.yml | 2 +- _data/releases.yml | 24 +++++++++ .../_posts/2025-04-14-ruby-3-4-3-released.md | 50 +++++++++++++++++++ 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 en/news/_posts/2025-04-14-ruby-3-4-3-released.md diff --git a/_data/downloads.yml b/_data/downloads.yml index ec9404ec52..9788b90ca8 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -7,7 +7,7 @@ preview: stable: - - 3.4.2 + - 3.4.3 - 3.3.8 - 3.2.8 diff --git a/_data/releases.yml b/_data/releases.yml index b00aa72721..a32e25b17d 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -21,6 +21,30 @@ # 3.4 series +- version: 3.4.3 + date: 2025-04-14 + post: /en/news/2025/04/14/ruby-3-4-3-released/ + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.3.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.3.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.3.tar.xz + size: + gz: 23194448 + zip: 28356998 + xz: 17230984 + sha1: + gz: c269cd122ab9d4620a1e0e6a8f4de378deec3799 + zip: 87cb747a766660cf487a2e9dbbc7a18a8f6b65d9 + xz: d0d86fdfe6bcf9f2eb3b450f3209f655ceda86da + sha256: + gz: 55a4cd1dcbe5ca27cf65e89a935a482c2bb2284832939266551c0ec68b437f46 + zip: 06b8bf2ddf2642327c992d30f5d414ffa5a5df0c4c706d7b2507b42509fb5055 + xz: 174dcd8c516694f833fd3c93ea227fa6c3321464577a3882a6fc7e4fe20237fd + sha512: + gz: 7019889939713c3e649003fed4d973dced36239fc354cfdee2d01dbdeb7e8512881a31b00efc3d5017f08cd492aed7914d15927bc8d076c0cae7534273e471e9 + zip: b25289c899318ce5071b075fc1b75f602e0a543faeefa44df7e8064933500f9c357685fe21d09abc4034d481c22c89491c841f596d07e1cd269d800e6266cc24 + xz: b30aad675cdcc1bdfe9e5fffe9d1925db3b3ac854a5e34180c368bc6e66f73e29ba5d802fea249353b7d799c01384c58bdd763fd1b679303158baa7824b9c08e + - version: 3.4.2 date: 2025-02-14 post: /en/news/2025/02/14/ruby-3-4-2-released/ diff --git a/en/news/_posts/2025-04-14-ruby-3-4-3-released.md b/en/news/_posts/2025-04-14-ruby-3-4-3-released.md new file mode 100644 index 0000000000..f8f969291b --- /dev/null +++ b/en/news/_posts/2025-04-14-ruby-3-4-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.3 Released" +author: k0kubun +translator: +date: 2025-04-14 08:06:57 +0000 +lang: en +--- + +Ruby 3.4.3 has been released. + +Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_4_3) for further details. +[release notes on GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_3) for further details. + +## Release Schedule + +We intend to release the latest stable Ruby version (currently Ruby 3.4) every 2 months. +Ruby 3.4.4 will be released in June, 3.4.5 in August, 3.4.6 in October, and 3.4.7 in December. + +If there's any change that affects a considerable amount of people, those versions may be released earlier than expected. + +## Download + +{% assign release = site.data.releases | where: "version", "3.4.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Release Comment + +Many committers, developers, and users who provided bug reports helped us make this release. +Thanks for their contributions. From c085e7ceb2314696fe72261125460b49a9aaa0b3 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 15 Apr 2025 01:57:30 +0900 Subject: [PATCH 2546/2563] Fix a wrong link --- en/news/_posts/2025-04-14-ruby-3-4-3-released.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/en/news/_posts/2025-04-14-ruby-3-4-3-released.md b/en/news/_posts/2025-04-14-ruby-3-4-3-released.md index f8f969291b..0d3c5b3255 100644 --- a/en/news/_posts/2025-04-14-ruby-3-4-3-released.md +++ b/en/news/_posts/2025-04-14-ruby-3-4-3-released.md @@ -9,8 +9,7 @@ lang: en Ruby 3.4.3 has been released. -Please see the [GitHub releases](https://github.com/ruby/ruby/releases/tag/v3_4_3) for further details. -[release notes on GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_3) for further details. +Please see the [release notes on GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_3) for further details. ## Release Schedule From 4d157294e5b2acf84a3557e887d920d6aa3d7d61 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 15 Apr 2025 01:58:06 +0900 Subject: [PATCH 2547/2563] Unify the wording with 3.4.2 --- en/news/_posts/2025-04-14-ruby-3-4-3-released.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/news/_posts/2025-04-14-ruby-3-4-3-released.md b/en/news/_posts/2025-04-14-ruby-3-4-3-released.md index 0d3c5b3255..d2a160d9cf 100644 --- a/en/news/_posts/2025-04-14-ruby-3-4-3-released.md +++ b/en/news/_posts/2025-04-14-ruby-3-4-3-released.md @@ -9,7 +9,8 @@ lang: en Ruby 3.4.3 has been released. -Please see the [release notes on GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_3) for further details. +This is a routine update that includes bug fixes. Please refer to the +[release notes on GitHub](https://github.com/ruby/ruby/releases/tag/v3_4_3) for further details. ## Release Schedule From 5eb38f03b7ff1a9d8ff66ee21de91b262bccd012 Mon Sep 17 00:00:00 2001 From: Shia Date: Tue, 15 Apr 2025 12:02:07 +0900 Subject: [PATCH 2548/2563] Translate "Ruby 3.4.3 Released" (ko) (#3544) * cp {en,ko}/news/_posts/2025-04-14-ruby-3-4-3-released.md * Translate "Ruby 3.4.3 Released" (ko) --- .../_posts/2025-04-14-ruby-3-4-3-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ko/news/_posts/2025-04-14-ruby-3-4-3-released.md diff --git a/ko/news/_posts/2025-04-14-ruby-3-4-3-released.md b/ko/news/_posts/2025-04-14-ruby-3-4-3-released.md new file mode 100644 index 0000000000..27989b7a5e --- /dev/null +++ b/ko/news/_posts/2025-04-14-ruby-3-4-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.3 릴리스" +author: k0kubun +translator: "shia" +date: 2025-04-14 08:06:57 +0000 +lang: ko +--- + +Ruby 3.4.3이 릴리스되었습니다. + +이번 릴리스는 일반적인 업데이트로, 사소한 버그 수정이 포함되어 있습니다. +자세한 내용은 [GitHub 릴리스 노트](https://github.com/ruby/ruby/releases/tag/v3_4_3)를 참조하세요. + +## 릴리스 일정 + +Ruby의 최신 안정 버전(현재 Ruby 3.4)을 2개월마다 릴리스할 계획입니다. +Ruby 3.4.4는 6월에 릴리스될 예정이며, 3.4.5는 8월, 3.4.6은 10월, 3.4.7은 12월에 릴리스될 예정입니다. + +만약 많은 사람들에게 영향을 미치는 변경 사항이 있을 경우, 해당 버전은 예상보다 빨리 릴리스될 수 있습니다. + +## 다운로드 + +{% assign release = site.data.releases | where: "version", "3.4.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 릴리스 코멘트 + +많은 커미터, 개발자, 버그를 보고해 준 사용자들이 이 릴리스를 만드는 데 도움을 주었습니다. +그들의 기여에 감사드립니다. From 2b4f5d768e70245f341121db1d01a1eda4fa2d8e Mon Sep 17 00:00:00 2001 From: gaojun Date: Tue, 15 Apr 2025 11:02:05 +0800 Subject: [PATCH 2549/2563] Translate "3.4.3 Released" (zh_cn) --- .../_posts/2025-04-14-ruby-3-4-3-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 zh_cn/news/_posts/2025-04-14-ruby-3-4-3-released.md diff --git a/zh_cn/news/_posts/2025-04-14-ruby-3-4-3-released.md b/zh_cn/news/_posts/2025-04-14-ruby-3-4-3-released.md new file mode 100644 index 0000000000..9e51564afb --- /dev/null +++ b/zh_cn/news/_posts/2025-04-14-ruby-3-4-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.3 已发布" +author: k0kubun +translator: "GAO Jun" +date: 2025-04-14 08:06:57 +0000 +lang: zh_cn +--- + +Ruby 3.4.3 已发布。 + +此版本是包含了若干问题修正的定期更新版本。 +详细信息可参考 [GitHub 发布说明](https://github.com/ruby/ruby/releases/tag/v3_4_3)。 + +## 发布计划 + +我们计划每2个月发布最新的 Ruby 版本(目前是 Ruby 3.4)。 +Ruby 3.4.4 将发布于六月,3.4.5 将发布于八月,3.4.6 将发布于十月,3.4.7 将发布于十二月。 + +如果存在会影响到大量用户的更改,我们可能会提前发布新版本。 + +## 下载 + +{% assign release = site.data.releases | where: "version", "3.4.3" | first %} + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 发布说明 + +许多提交者、开发人员以及用户提供了问题报告,帮助我们完成了此版本。 +感谢他们的贡献。 From 103531d1c0a8eebf4e98e2b4f06b4fb1d88cdeda Mon Sep 17 00:00:00 2001 From: Bear Su Date: Tue, 15 Apr 2025 23:08:27 +0800 Subject: [PATCH 2550/2563] Translate Ruby 3.4.3 Released (zh_tw) --- .../_posts/2025-04-14-ruby-3-4-3-released.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 zh_tw/news/_posts/2025-04-14-ruby-3-4-3-released.md diff --git a/zh_tw/news/_posts/2025-04-14-ruby-3-4-3-released.md b/zh_tw/news/_posts/2025-04-14-ruby-3-4-3-released.md new file mode 100644 index 0000000000..cbc4f782f6 --- /dev/null +++ b/zh_tw/news/_posts/2025-04-14-ruby-3-4-3-released.md @@ -0,0 +1,49 @@ +--- +layout: news_post +title: "Ruby 3.4.3 發布" +author: k0kubun +translator: "Bear Su" +date: 2025-04-14 08:06:57 +0000 +lang: zh_tw +--- + +Ruby 3.4.3 已經發布了。 + +這是包括修復小型錯誤的例行更新。 +詳細的變動請參閱 [GitHub 發布](https://github.com/ruby/ruby/releases/tag/v3_4_3)。 + +## 發布時程 + +我們打算每 2 個月發布一次最新的穩定 Ruby 版本(目前為 Ruby 3.4)。 +我們預計 Ruby 3.4.4 於 6 月發布、Ruby 3.4.5 於 8 月發布、Ruby 3.4.6 於 10 月發布、Ruby 3.4.7 於 12 月發布。 + +如果有任何變更影響到相當多的人,我們可能會比預期更早發布新版本。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.4.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發布,在此感謝所有人的貢獻。 From a62d34abdc797476d2d632a593031255b3d6845d Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Fri, 18 Apr 2025 09:50:30 +0900 Subject: [PATCH 2551/2563] Ruby 3.5.0 Preview 1 Released (#3549) --- _data/branches.yml | 5 + _data/downloads.yml | 1 + _data/releases.yml | 31 ++++++ ...2025-04-18-ruby-3-5-0-preview1-released.md | 105 ++++++++++++++++++ ...2025-04-18-ruby-3-5-0-preview1-released.md | 99 +++++++++++++++++ 5 files changed, 241 insertions(+) create mode 100644 en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md create mode 100644 ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md diff --git a/_data/branches.yml b/_data/branches.yml index 82c6d4f9ed..57cf7f9159 100644 --- a/_data/branches.yml +++ b/_data/branches.yml @@ -8,6 +8,11 @@ # date: date of first stable release (YYYY-MM-DD) # eol_date: date of EOL (YYYY-MM-DD) +- name: 3.5 + status: preview + date: + eol_date: + - name: 3.4 status: normal maintenance date: 2024-12-25 diff --git a/_data/downloads.yml b/_data/downloads.yml index 9788b90ca8..866046866c 100644 --- a/_data/downloads.yml +++ b/_data/downloads.yml @@ -4,6 +4,7 @@ # optional preview: + - 3.5.0-preview1 stable: diff --git a/_data/releases.yml b/_data/releases.yml index a32e25b17d..b111482216 100644 --- a/_data/releases.yml +++ b/_data/releases.yml @@ -19,6 +19,37 @@ # In order to get the release listed on the downloads page, # you also need to add an entry to `_data/downloads.yml'. +# 3.5 series + +- version: 3.5.0-preview1 + date: 2025-04-18 + post: /en/news/2025/04/18/ruby-3-5-0-preview1-released/ + tag: v3_5_0_preview1 + stats: + files_changed: 2065 + insertions: 36581 + deletions: 203037 + url: + gz: https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.gz + zip: https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.zip + xz: https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz + size: + gz: 23146162 + zip: 28548713 + xz: 17443928 + sha1: + gz: ee0fcfe1342116f05060279ff0c9eb1e215db0b9 + zip: bd0c32bc84ac1ce9edbc9c0a50e8c72e56b1229d + xz: 8a78a9189afa20cde42207a466bcf7d421ee144b + sha256: + gz: ecf09c7eb902e91cdaf9cc553cd00cca9b848b3fc0e14297850f9ab08cdd46f0 + zip: 3e1d9df578c69976a01a69b961819d00c4e8942f8b5fe4fb8e135fca4f7e7e5e + xz: c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa + sha512: + gz: d718973648705636eff5933a0919132fd1f6b9afea432e09cce1265c6e0125e11cc94dbff84cba1caefc03190c48d8af4a27337d2af031f3f1660ca3a3531211 + zip: 47057e1615b2b59d5bbd0d6629e1320ed74f3d70748f1db4e8b88d6c8a3ecd255eacc7dac0cccd01923fae4b4dff9e6b9457a9858c81dab81c1ab9ee514b15fa + xz: 835bd0b65d546722c83b0ab454256357b48898a0de9aa8e38966f53d2370a6e99552eeaff76a0b680aefbbe7491e701e5e7357797e50f063c53e79d9561c1dac + # 3.4 series - version: 3.4.3 diff --git a/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md new file mode 100644 index 0000000000..8223d35ed9 --- /dev/null +++ b/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -0,0 +1,105 @@ +--- +layout: news_post +title: "Ruby 3.5.0 preview1 Released" +author: "naruse" +translator: +date: 2025-04-18 00:00:00 +0000 +lang: en +--- + +{% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %} +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.4 updates its Unicode version to 15.1.0, and so on. + +## Language changes + +* `*nil` no longer calls `nil.to_a`, similar to how `**nil` does + not call `nil.to_hash`. [[Feature #21047]] + +## Core classes updates + +Note: We're only listing notable updates of Core class. + +* Binding + + * `Binding#local_variables` does no longer include numbered parameters. + Also, `Binding#local_variable_get` and `Binding#local_variable_set` reject to handle numbered parameters. + [[Bug #21049]] + +* IO + + * `IO.select` accepts +Float::INFINITY+ as a timeout argument. + [[Feature #20610]] + +* String + + * Update Unicode to Version 15.1.0 and Emoji Version 15.1. [[Feature #19908]] + (also applies to Regexp) + + +## Standard Library updates + +Note: We're only listing notable updates of Standard librarires. + +* ostruct 0.6.1 +* pstore 0.2.0 +* benchmark 0.4.0 +* logger 1.7.0 +* rdoc 6.13.1 +* win32ole 1.9.2 +* irb 1.15.2 +* reline 0.6.1 +* readline 0.0.4 +* fiddle 1.1.6 + +## Compatibility issues + +Note: Excluding feature bug fixes. + + + +## Standard library compatibility issues + + +## C API updates + + + +## Miscellaneous changes + + + +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +or [commit logs](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }}) +for more details. + +With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket) +since Ruby 3.4.0! + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, +and is now developed as Open Source. It runs on multiple platforms +and is used all over the world especially for web development. diff --git a/ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md new file mode 100644 index 0000000000..927cc65c25 --- /dev/null +++ b/ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -0,0 +1,99 @@ +--- +layout: news_post +title: "Ruby 3.5.0 preview1 リリース" +author: "naruse" +translator: +date: 2025-04-18 00:00:00 +0000 +lang: ja +--- + +{% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %} +Ruby {{ release.version }} が公開されました。Ruby 3.5では、Unicodeバージョンの15.1.0へのアップデートなど様々な改善が行われています。 + + + +## 言語機能の変更 + + + +* `*nil` no longer calls `nil.to_a`, similar to how `**nil` does + not call `nil.to_hash`. [[Feature #21047]] + +## コアクラスのアップデート + +注: 複数のアップデートの中から注目すべきアップデートのみを掲載しています。 + +* Binding + + * `Binding#local_variables` does no longer include numbered parameters. + Also, `Binding#local_variable_get` and `Binding#local_variable_set` reject to handle numbered parameters. + [[Bug #21049]] + +* IO + + * `IO.select` accepts +Float::INFINITY+ as a timeout argument. + [[Feature #20610]] + +* String + + * Update Unicode to Version 15.1.0 and Emoji Version 15.1. [[Feature #19908]] + (also applies to Regexp) + + +## 標準ライブラリのアップデート + +注: 複数のアップデートの中から注目すべき標準ライブラリのアップデートのみを掲載しています。 + + + +## 互換性に関する変更 + +注: 不具合修正を除きます。 + + + +## 標準ライブラリの互換性の変更 + + + +## C API のアップデート + + + +## その他の変更点 + + + +より詳細な情報は [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +か [commit logs](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }}) を参照してください。 + + +これらの変更により、Ruby 3.4.0から [{{ release.stats.files_changed }} ファイルが変更され、 {{ release.stats.insertions }} 行が追加され、 {{ release.stats.deletions }} 行が削除されました!deletions(-)](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }}#file_bucket) + + +## Download + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## What is Ruby + +Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 From 7a07db6a72f0894a19b574e47eb0b289dfa95255 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 18 Apr 2025 10:19:45 +0900 Subject: [PATCH 2552/2563] Translate "Ruby 3.5.0 preview1 Released" (ko) (#3551) * cp {en,ko}/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md * Translate "Ruby 3.5.0 preview1 Released" (ko) --- ...2025-04-18-ruby-3-5-0-preview1-released.md | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md diff --git a/ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md new file mode 100644 index 0000000000..53d0133d46 --- /dev/null +++ b/ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -0,0 +1,110 @@ +--- +layout: news_post +title: "Ruby 3.5.0-preview1 릴리스" +author: "naruse" +translator: "shia" +date: 2025-04-18 00:00:00 +0000 +lang: ko +--- + +{% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %} +Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.5는 유니코드 버전을 15.1.0으로 업데이트했으며, 더 많은 것들이 있습니다. + +## 언어 변경 + +* `**nil`과 비슷하게 `*nil`은 더 이상 `nil.to_a`를 호출하지 않습니다. + [[Feature #21047]] + +## 코어 클래스 변경 + +주의: 눈에 띄는 클래스 변경만을 포함합니다. + +* Binding + + * `Binding#local_variables`는 더 이상 번호가 매겨진 매개변수를 포함하지 않습니다. + 또한, `Binding#local_variable_get`과 `Binding#local_variable_set`은 번호가 매겨진 매개변수를 처리하지 않습니다. + [[Bug #21049]] + +* IO + + * `IO.select`는 타임아웃 인수로 +Float::INFINITY+를 허용합니다. + [[Feature #20610]] + +* String + + * Unicode 15.1.0 및 이모지 버전 15.1로 업데이트합니다. [[Feature #19908]] + (Regexp에도 적용됩니다) + + +## 표준 라이브러리 변경 + +주의: 눈에 띄는 표준 라이브러리 변경만을 포함합니다. + +* ostruct 0.6.1 +* pstore 0.2.0 +* benchmark 0.4.0 +* logger 1.7.0 +* rdoc 6.13.1 +* win32ole 1.9.2 +* irb 1.15.2 +* reline 0.6.1 +* readline 0.0.4 +* fiddle 1.1.6 + +## 호환성 문제 + +주의: 기능 버그 수정은 포함되어 있지 않습니다. + + + +## 표준 라이브러리 호환성 문제 + + +## C API 변경 + + + +## 그 이외의 변경 + + + +더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나 +[커밋 로그](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }})를 +확인해 주세요. + +이러한 변경사항에 따라, Ruby 3.4.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }}#file_bucket)가 +이루어졌습니다! + +## 다운로드 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby는 + +Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고, +현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며, +특히 웹 개발에서 전 세계적으로 이용되고 있습니다. + +[Feature #21047]: https://bugs.ruby-lang.org/issues/21047 +[Bug #21049]: https://bugs.ruby-lang.org/issues/21049 +[Feature #20610]: https://bugs.ruby-lang.org/issues/20610 +[Feature #19908]: https://bugs.ruby-lang.org/issues/19908 From 0fe1054460347514209097d37c51ccc253aa9ac7 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 18 Apr 2025 10:02:04 +0900 Subject: [PATCH 2553/2563] Fix typo --- en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md index 8223d35ed9..f1ce27ca3d 100644 --- a/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md +++ b/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -8,7 +8,7 @@ lang: en --- {% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %} -We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.4 updates its Unicode version to 15.1.0, and so on. +We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.5 updates its Unicode version to 15.1.0, and so on. ## Language changes From 1b09b6a49fc7416873f9f64e312a46564ccacb51 Mon Sep 17 00:00:00 2001 From: Shia Date: Sat, 19 Apr 2025 07:07:22 +0900 Subject: [PATCH 2554/2563] Apply translation review to "Ruby 3.5.0 preview1" (#3553) --- ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md index 53d0133d46..50c084aeb5 100644 --- a/ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md +++ b/ko/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -12,12 +12,12 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.5 ## 언어 변경 -* `**nil`과 비슷하게 `*nil`은 더 이상 `nil.to_a`를 호출하지 않습니다. +* `**nil`이 `nil.to_hash`를 호출하지 않는 것과 비슷하게 `*nil`은 더 이상 `nil.to_a`를 호출하지 않습니다. [[Feature #21047]] ## 코어 클래스 변경 -주의: 눈에 띄는 클래스 변경만을 포함합니다. +주의: 눈에 띄는 코어 클래스 변경만을 포함합니다. * Binding @@ -32,7 +32,7 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.5 * String - * Unicode 15.1.0 및 이모지 버전 15.1로 업데이트합니다. [[Feature #19908]] + * 유니코드 15.1.0 및 이모지 버전 15.1로 업데이트합니다. [[Feature #19908]] (Regexp에도 적용됩니다) From 860fff95ac7da0e96449a33a7720bfc80915a89d Mon Sep 17 00:00:00 2001 From: Bear Su Date: Sun, 20 Apr 2025 19:17:32 +0800 Subject: [PATCH 2555/2563] Translate Ruby 3.5.0 Preview1 Released (zh_tw) --- ...2025-04-18-ruby-3-5-0-preview1-released.md | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 zh_tw/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md diff --git a/zh_tw/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/zh_tw/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md new file mode 100644 index 0000000000..f2c1ee8aab --- /dev/null +++ b/zh_tw/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -0,0 +1,100 @@ +--- +layout: news_post +title: "Ruby 3.5.0 preview1 發布" +author: "naruse" +translator: "Bear Su" +date: 2025-04-18 00:00:00 +0000 +lang: zh_tw +--- + +{% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %} +我們很高興宣布 Ruby {{ release.version }} 發布了。 +Ruby 3.5 的 Unicode 版本升級為 15.1.0 與其他更新。 + +## 語法變更 + +* `*nil` 不再呼叫 `nil.to_a`,就跟 `**nil` 不呼叫 `nil.to_hash` 一樣。[[Feature #21047]] + +## 核心類別更新 + +注意:我們只列出特別的類別更新。 + +* Binding + + * `Binding#local_variables` 不再包含編號參數。 + 並且,`Binding#local_variable_get` 和 `Binding#local_variable_set` 拒絕處理編號參數。 + [[Bug #21049]] + +* IO + + * `IO.select` 同意 +Float::INFINITY+ 作為逾時參數。 + [[Feature #20610]] + +* String + + * 更新 Unicode 至版本 15.1.0 和 Emoji 版本 15.1. [[Feature #19908]] + (也套用至 Regexp) + + +## 標準函式庫更新 + +注意:我們只列出特別的標準函式庫更新。 + +* ostruct 0.6.1 +* pstore 0.2.0 +* benchmark 0.4.0 +* logger 1.7.0 +* rdoc 6.13.1 +* win32ole 1.9.2 +* irb 1.15.2 +* reline 0.6.1 +* readline 0.0.4 +* fiddle 1.1.6 + +## 相容性問題 + +注意:不包含功能問題的修正。 + +## 標準函式庫相容性問題 + +## C API 更新 + +## 其他變更 + +參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +和 [commit logs](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }}) +來了解更多。 + +自 Ruby 3.4.0 以來,計 [{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)! + +## 下載 + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什麼 + +Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。 + +[Feature #21047]: https://bugs.ruby-lang.org/issues/21047 +[Bug #21049]: https://bugs.ruby-lang.org/issues/21049 +[Feature #20610]: https://bugs.ruby-lang.org/issues/20610 +[Feature #19908]: https://bugs.ruby-lang.org/issues/19908 From f387875109bb101a10203ce72cbd799c88b4efd7 Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 21 Apr 2025 07:18:45 +0900 Subject: [PATCH 2556/2563] Add link to Ruby 3.5.0 preview1 (#3552) --- en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md | 5 +++++ ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md index f1ce27ca3d..3a14de85d3 100644 --- a/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md +++ b/en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -103,3 +103,8 @@ since Ruby 3.4.0! Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, and is now developed as Open Source. It runs on multiple platforms and is used all over the world especially for web development. + +[Feature #21047]: https://bugs.ruby-lang.org/issues/21047 +[Bug #21049]: https://bugs.ruby-lang.org/issues/21049 +[Feature #20610]: https://bugs.ruby-lang.org/issues/20610 +[Feature #19908]: https://bugs.ruby-lang.org/issues/19908 diff --git a/ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md index 927cc65c25..0af36bffb6 100644 --- a/ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md +++ b/ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -97,3 +97,8 @@ Ruby {{ release.version }} が公開されました。Ruby 3.5では、Unicode ## What is Ruby Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。 + +[Feature #21047]: https://bugs.ruby-lang.org/issues/21047 +[Bug #21049]: https://bugs.ruby-lang.org/issues/21049 +[Feature #20610]: https://bugs.ruby-lang.org/issues/20610 +[Feature #19908]: https://bugs.ruby-lang.org/issues/19908 From c2016213120ed610244566ba66f7d8cb45cc1174 Mon Sep 17 00:00:00 2001 From: Shia Date: Mon, 21 Apr 2025 08:32:52 +0900 Subject: [PATCH 2557/2563] Translate "Ruby 3.4.3 Released" (ja) (#3545) --- .../_posts/2025-04-14-ruby-3-4-3-released.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ja/news/_posts/2025-04-14-ruby-3-4-3-released.md diff --git a/ja/news/_posts/2025-04-14-ruby-3-4-3-released.md b/ja/news/_posts/2025-04-14-ruby-3-4-3-released.md new file mode 100644 index 0000000000..57f4fd445c --- /dev/null +++ b/ja/news/_posts/2025-04-14-ruby-3-4-3-released.md @@ -0,0 +1,50 @@ +--- +layout: news_post +title: "Ruby 3.4.3 リリース" +author: k0kubun +translator: shia +date: 2025-04-14 08:06:57 +0000 +lang: ja +--- + +Ruby 3.4.3がリリースされました。 + +これは定期的なアップデートであり、バグ修正を含みます。 +詳しくは[GitHub release notes](https://github.com/ruby/ruby/releases/tag/v3_4_3)を参照してください。 + +## リリーススケジュール + +最新の安定版Ruby(現在はRuby 3.4)を2ヶ月おきにリリースする予定です。 +Ruby 3.4.4は6月にリリースされ、3.4.5は8月、3.4.6は10月、3.4.7は12月にリリースされます。 + +多くのユーザーに影響を与えるような変更があった場合、予定よりも早く新しいバージョンをリリースすることがあります。 + +## ダウンロード + +{% assign release = site.data.releases | where: "version", "3.4.3" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## リリースコメント + +Ruby 開発者の皆様、バグや脆弱性を報告してくれたユーザーの皆様のご協力により本リリースは行われています。 +皆様のご協力に感謝します。 From 9f1d0f0abe8fa0ada77b056dcf498c8a90ef7844 Mon Sep 17 00:00:00 2001 From: gaojun Date: Sat, 19 Apr 2025 12:20:51 +0800 Subject: [PATCH 2558/2563] Translate "3.5.0 preview1 Released"(zh_cn) --- ...2025-04-18-ruby-3-5-0-preview1-released.md | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 zh_cn/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md diff --git a/zh_cn/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md b/zh_cn/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md new file mode 100644 index 0000000000..34a017c404 --- /dev/null +++ b/zh_cn/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md @@ -0,0 +1,106 @@ +--- +layout: news_post +title: "Ruby 3.5.0 preview1 已发布" +author: "naruse" +translator: "GAO Jun" +date: 2025-04-18 00:00:00 +0000 +lang: zh_cn +--- + +{% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %} +我们很高兴地宣布 Ruby {{ release.version }} 已发布。Ruby 3.5 除了将 Unicode 版本更新到 15.1.0外,还有一些其他变更。 + +## 语言变化 + +* `*nil` 不再调用 `nil.to_a`,就像 `**nil` 不再调用 `nil.to_hash`。 [[Feature #21047]] + +## 核心类更新 + +注意:我们只列出了重要的核心类更新。 + +* Binding + + * `Binding#local_variables` 不再包含引用数字参数(如 `_1`, `_2`)。 + 同样, `Binding#local_variable_get` 和 `Binding#local_variable_set` 也会拒绝处理引用数字参数。 + [[Bug #21049]] + +* IO + + * `IO.select` 允许使用 `Float::INFINITY` 作为超时参数。 + [[Feature #20610]] + +* String + + * 更新 Unicode 版本至 15.1.0,更新 Emoji 版本至 15.1。 [[Feature #19908]] + (同样适用于 Regexp) + + +## 标准库更新 + +注意:我们只列出了重要的标准库更新。 + +* ostruct 0.6.1 +* pstore 0.2.0 +* benchmark 0.4.0 +* logger 1.7.0 +* rdoc 6.13.1 +* win32ole 1.9.2 +* irb 1.15.2 +* reline 0.6.1 +* readline 0.0.4 +* fiddle 1.1.6 + +## 兼容性问题 + +注意:不包括错误问题修正。 + + + +## 标准库兼容性问题 + + +## C API 更新 + + + +## 其他变化 + + + +更多详情,可参见 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) +或 [提交日志](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }})。 + +自 Ruby 3.4.0 以来,这些变化共导致 [{{ release.stats.files_changed }} 个文件被更改,新增 {{ release.stats.insertions }} 行(+),删除 {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)! + +## 下载 + +* <{{ release.url.gz }}> + + 文件大小: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + 文件大小: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + 文件大小: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## Ruby 是什么 + +Ruby 最初由 Matz (松本行弘,Yukihiro Matsumoto) 于 1993 年开发, +现在以开源软件的形式开发。它可以在多个平台上运行,并在全球得到广泛使用,尤其是 Web 开发领域。 + +[Feature #21047]: https://bugs.ruby-lang.org/issues/21047 +[Bug #21049]: https://bugs.ruby-lang.org/issues/21049 +[Feature #20610]: https://bugs.ruby-lang.org/issues/20610 +[Feature #19908]: https://bugs.ruby-lang.org/issues/19908 From 8e3d3125e66ff03eb0503e180089816e801100fb Mon Sep 17 00:00:00 2001 From: nick evans Date: Wed, 30 Apr 2025 12:34:27 -0400 Subject: [PATCH 2559/2563] Add CVE-2025-43857: DoS vulnerability in net-imap --- .../2025-04-28-dos-net-imap-cve-2025-43857.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 en/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md diff --git a/en/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md b/en/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md new file mode 100644 index 0000000000..7183d72188 --- /dev/null +++ b/en/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2025-43857: DoS vulnerability in net-imap" +author: "nevans" +translator: +date: 2025-04-28 16:02:04 +0000 +tags: security +lang: en +--- + +There is a possibility for DoS by in the net-imap gem. This vulnerability has been assigned the CVE identifier [CVE-2025-43857]. We recommend upgrading the net-imap gem. + +## Details + +A malicious server can send can send a "literal" byte count which is automatically read by the client's receiver thread. The response reader immediately allocates memory for the number of bytes indicated by the server response. This should not be an issue when securely connecting to trusted IMAP servers that are well-behaved. It affects insecure connections and buggy, untrusted, or compromised servers (for example, connecting to a user supplied hostname). + +Please update net-imap gem to version 0.2.5, 0.3.9, 0.4.20, 0.5.7, or later. + +When connecting to untrusted servers or using an insecure connection, `max_response_size` and response handlers must be configured appropriately to limit memory consumption. See [GHSA-j3g3-5qv5-52mj] for more details. + +## Affected versions + +net-imap gem versions <= 0.2.4, 0.3.0 to 0.3.8, 0.4.0 to 0.4.19, and 0.5.0 to 0.5.6. + +## Credits + +Thanks to [Masamune] for discovering this issue. + +## History + +* Originally published at 2025-04-28 16:02:04 (UTC) + +[CVE-2025-43857]: https://www.cve.org/CVERecord?id=CVE-2025-43857 +[GHSA-j3g3-5qv5-52mj]: https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj +[Masamune]: https://hackerone.com/masamune_ From cd27ccd0d1c298712b756bb2836224f38db63704 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 2 May 2025 12:58:08 +0900 Subject: [PATCH 2560/2563] Translate "CVE-2025-43857: DoS vulnerability in net-imap" (ko) (#3561) * cp {en,ko}/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md * Translate "CVE-2025-43857" (ko) --- .../2025-04-28-dos-net-imap-cve-2025-43857.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md diff --git a/ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md b/ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md new file mode 100644 index 0000000000..05f362580a --- /dev/null +++ b/ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md @@ -0,0 +1,35 @@ +--- +layout: news_post +title: "CVE-2025-43857: net-imap의 DoS 취약점" +author: "nevans" +translator: "shia" +date: 2025-04-28 16:02:04 +0000 +tags: security +lang: ko +--- + +net-imap gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2025-43857](https://www.cve.org/CVERecord?id=CVE-2025-43857)으로 등록되었습니다. net-imap gem을 업그레이드하기를 추천합니다. + +## 세부 내용 + +악의적인 서버가 "문자 그대로" 바이트 수를 보낼 수 있으며, 클라이언트의 수신 스레드는 이 데이터를 자동으로 읽습니다. 응답 리더는 서버 응답에 의해 표시된 바이트 수에 대한 메모리를 즉시 할당합니다. 신뢰할 수 있는 IMAP 서버에 안전하게 연결할 때는 문제가 되지 않습니다. 그러나 보안 연결을 사용하지 않거나 버그가 있거나 신뢰할 수 없는 서버(예: 사용자 제공 호스트 이름에 연결하는 경우)에서는 문제가 발생할 수 있습니다. + +net-imap gem 0.2.5, 0.3.9, 0.4.20, 0.5.7 이상으로 업데이트하세요. + +신뢰할 수 없는 서버에 연결하거나 보안 연결을 사용하고 있다면, `max_response_size`와 응답 핸들러를 적절히 설정하여 메모리 소비를 제한해야 합니다. 자세한 내용은 [GHSA-j3g3-5qv5-52mj]를 참조하세요. + +## 해당 버전 + +net-imap gem 0.2.4 이하, 0.3.0부터 0.3.8까지, 0.4.0부터 0.4.19까지, 또는 0.5.0부터 0.5.6까지 + +## 도움을 준 사람 + +이 문제를 발견해 준 [Masamune]에게 감사를 표합니다. + +## 수정 이력 + +* 2025-04-28 16:02:04 (UTC) 최초 공개 + +[CVE-2025-43857]: https://www.cve.org/CVERecord?id=CVE-2025-43857 +[GHSA-j3g3-5qv5-52mj]: https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj +[Masamune]: https://hackerone.com/masamune_ From 2d1fa32a7784224e4666a2e05be737bd82a82698 Mon Sep 17 00:00:00 2001 From: Shia Date: Fri, 2 May 2025 17:36:39 +0900 Subject: [PATCH 2561/2563] Update translation "CVE-2025-43857: DoS vulnerability in net-imap" (ko) (#3563) --- ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md b/ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md index 05f362580a..1ddf6e44a2 100644 --- a/ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md +++ b/ko/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md @@ -8,19 +8,19 @@ tags: security lang: ko --- -net-imap gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2025-43857](https://www.cve.org/CVERecord?id=CVE-2025-43857)으로 등록되었습니다. net-imap gem을 업그레이드하기를 추천합니다. +net-imap gem에서 DoS 취약점이 발견되었습니다. 이 취약점은 CVE 번호 [CVE-2025-43857](https://www.cve.org/CVERecord?id=CVE-2025-43857)로 등록되었습니다. net-imap gem을 업그레이드하기를 추천합니다. ## 세부 내용 -악의적인 서버가 "문자 그대로" 바이트 수를 보낼 수 있으며, 클라이언트의 수신 스레드는 이 데이터를 자동으로 읽습니다. 응답 리더는 서버 응답에 의해 표시된 바이트 수에 대한 메모리를 즉시 할당합니다. 신뢰할 수 있는 IMAP 서버에 안전하게 연결할 때는 문제가 되지 않습니다. 그러나 보안 연결을 사용하지 않거나 버그가 있거나 신뢰할 수 없는 서버(예: 사용자 제공 호스트 이름에 연결하는 경우)에서는 문제가 발생할 수 있습니다. +악의적인 서버가 "문자 그대로" 바이트 수를 보낼 수 있으며, 클라이언트의 수신 스레드는 이 데이터를 자동으로 읽습니다. 응답 리더는 서버 응답에 의해 표시된 바이트 수에 대한 메모리를 즉시 할당합니다. 신뢰할 수 있는 IMAP 서버에 안전하게 연결할 때는 문제가 되지 않습니다. 그러나 보안 연결을 사용하지 않거나, 버그가 있거나, 신뢰할 수 없거나, 오염된 서버(예: 사용자가 제공한 호스트 이름에 연결하는 경우)에서는 문제가 발생할 수 있습니다. net-imap gem 0.2.5, 0.3.9, 0.4.20, 0.5.7 이상으로 업데이트하세요. -신뢰할 수 없는 서버에 연결하거나 보안 연결을 사용하고 있다면, `max_response_size`와 응답 핸들러를 적절히 설정하여 메모리 소비를 제한해야 합니다. 자세한 내용은 [GHSA-j3g3-5qv5-52mj]를 참조하세요. +신뢰할 수 없는 서버에 연결하거나 보안 연결을 사용하고 있지 않다면, `max_response_size`와 응답 핸들러를 적절히 설정하여 메모리 소비를 제한해야 합니다. 자세한 내용은 [GHSA-j3g3-5qv5-52mj]를 참조하세요. ## 해당 버전 -net-imap gem 0.2.4 이하, 0.3.0부터 0.3.8까지, 0.4.0부터 0.4.19까지, 또는 0.5.0부터 0.5.6까지 +net-imap gem 0.2.4 이하, 0.3.0부터 0.3.8까지, 0.4.0부터 0.4.19까지, 0.5.0부터 0.5.6까지 ## 도움을 준 사람 From ca3ff691639b454c8bafedea7a40c58359f0c558 Mon Sep 17 00:00:00 2001 From: Bear Su Date: Mon, 5 May 2025 06:42:51 +0800 Subject: [PATCH 2562/2563] Translate 2025-04-28 DoS net-imap CVE news (zh_tw) (#3564) --- .../2025-04-28-dos-net-imap-cve-2025-43857.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 zh_tw/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md diff --git a/zh_tw/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md b/zh_tw/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md new file mode 100644 index 0000000000..e9b9f091da --- /dev/null +++ b/zh_tw/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md @@ -0,0 +1,45 @@ +--- +layout: news_post +title: "CVE-2025-43857: net-imap DoS 漏洞" +author: "nevans" +translator: "Bear Su" +date: 2025-04-28 16:02:04 +0000 +tags: security +lang: zh_tw +--- + +在 net-imap gem 發現可能會造成 DoS 的漏洞。 + +該漏洞的 CVE 編號為 [CVE-2025-43857]。 + +我們建議您升級 net-imap gem。 + +## 風險細節 + +一個惡意伺服器可以發送一個會自動被客戶端的接收者執行緒讀取的 "literal" 位元組大小。 + +客戶端的接收者會立即為伺服器回應中指示的位元組大小分配記憶體。 + +在正確使用安全連接到受信任的 IMAP 伺服器時不會造成問題。 + +這只會影響到不安全的連接和有錯誤的、不受信任的或被攻擊的伺服器(例如,連接到使用者提供的主機名稱)。 + +請升級 net-imap gem 至版本 0.2.5、0.3.9、0.4.20、0.5.7、或更新版本。 + +當連接至不受信任的伺服器或使用不安全的連接時,`max_response_size` 和回應處理必須適當配置以限制記憶體使用量。請參見 [GHSA-j3g3-5qv5-52mj] 來了解更多。 + +## 受影響版本 + +net-imap gem 版本 <= 0.2.4、0.3.0 至 0.3.8、0.4.0 至 0.4.19、和 0.5.0 至 0.5.6。 + +## 致謝 + +感謝 [Masamune] 發現此問題。 + +## 歷史 + +* 最初發布於 2025-04-28 16:02:04 (UTC) + +[CVE-2025-43857]: https://www.cve.org/CVERecord?id=CVE-2025-43857 +[GHSA-j3g3-5qv5-52mj]: https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj +[Masamune]: https://hackerone.com/masamune_ From 4443139ad81a6487a506110a679856a9e6602eb6 Mon Sep 17 00:00:00 2001 From: gaojun Date: Fri, 2 May 2025 10:45:39 +0800 Subject: [PATCH 2563/2563] Translate "CVE-2025-43857"(zh_cn) --- .../2025-04-28-dos-net-imap-cve-2025-43857.md | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 zh_cn/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md diff --git a/zh_cn/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md b/zh_cn/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md new file mode 100644 index 0000000000..9b1444e69c --- /dev/null +++ b/zh_cn/news/_posts/2025-04-28-dos-net-imap-cve-2025-43857.md @@ -0,0 +1,38 @@ +--- +layout: news_post +title: "CVE-2025-43857: net-imap 中的 DoS 漏洞" +author: "nevans" +translator: "GAO Jun" +date: 2025-04-28 16:02:04 +0000 +tags: security +lang: zh_cn +--- + +在 `net-imap` gem 中存在一个可能造成 DoS 的漏洞。此漏洞的 CVE 编号为 [CVE-2025-43857]。我们建议您更新 `net-imap` gem。 + +## 详情 + +恶意服务器可以发送一个 “特定的” 字节数信息,这个数字会被客户端的接收线程自动读取。 +读取后,客户端会立即根据服务器告知的这个字节数分配内存。在安全地连接可信 IMAP 服务器时,这不是一个问题。 +但当使用不安全连接,或连接到有缺陷、不可信或已被入侵的服务器(例如,连接到用户提供的主机名)时,就可能导致 DoS。 + +请将 `net-imap` gem 更新到 0.2.5、0.3.9、0.4.20、0.5.7 或更高版本。 + +当连接不可信的服务器或使用不安全连接时,必须适当设置 `max_response_size` 参数,并在响应处理中进行适当调整以限制内存消耗。 +更多详细信息请参阅 [GHSA-j3g3-5qv5-52mj]。 + +## 受影响版本 + +`net-imap` gem 版本 <= 0.2.4,0.3.0 至 0.3.8,0.4.0 至 0.4.19,以及 0.5.0 至 0.5.6。 + +## 致谢 + +感谢 [Masamune] 发现此问题。 + +## 历史 + +* 最初发布于 2025-04-28 16:02:04 (UTC) + +[CVE-2025-43857]: https://www.cve.org/CVERecord?id=CVE-2025-43857 +[GHSA-j3g3-5qv5-52mj]: https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj +[Masamune]: https://hackerone.com/masamune_