Skip to content

Commit e648b9b

Browse files
committed
Merge pull request ruby#1396 from stomar/it-translations
Translate latest news posts (it)
2 parents 5d1f4c9 + ce502f9 commit e648b9b

7 files changed

+423
-1
lines changed

it/news/_posts/2015-11-11-ruby-2-3-0-preview1-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ stato ottimizzato per ridurre il numero di oggetti allocati in memoria. Ruby 2.3
1818
introduce un nuovo commento 'magico' e un'opzione da linea di comando che
1919
permette di congelare tutte le stringhe nel codice sorgente.
2020
Inoltre per poter debuggare le proprie applicazioni, potete individuare dove sia
21-
stato creato l'oggeto che causa l'errore `"can't modify frozen String"` passando
21+
stato creato l'oggetto che causa l'errore `"can't modify frozen String"` passando
2222
l'opzione `--enable-frozen-string-literal-debug`.
2323

2424
Il [safe navigation operator](https://bugs.ruby-lang.org/issues/11537),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
layout: news_post
3+
title: "Ruby 2.3.0-preview2 Released"
4+
author: "naruse"
5+
translator: "simo2409"
6+
date: 2015-12-11 14:00:00 +0000
7+
lang: it
8+
---
9+
10+
Siamo lieti di annunciare il rilascio di Ruby 2.3.0-preview2.
11+
12+
Ruby 2.3.0-preview2 è la seconda anteprima di Ruby 2.3.0.
13+
Sono state aggiunte molte nuove funzionalità e miglioramenti.
14+
15+
E' stato aggiunto il [Frozen String Literal Pragma](https://bugs.ruby-lang.org/issues/11473).
16+
Su Ruby 2.1 `"str".freeze` è
17+
stato ottimizzato per ridurre il numero di oggetti allocati in memoria. Ruby 2.3
18+
introduce un nuovo commento 'magico' e un'opzione da linea di comando che
19+
permette di congelare tutte le stringhe nel codice sorgente.
20+
Inoltre per poter debuggare le proprie applicazioni, potete individuare dove sia
21+
stato creato l'oggetto che causa l'errore `"can't modify frozen String"` passando
22+
l'opzione `--debug=frozen-string-literal`.
23+
24+
Il [safe navigation operator](https://bugs.ruby-lang.org/issues/11537)
25+
([chiamato anche lonely operator](https://instagram.com/p/-M9l6mRPLR/)) `&.`,
26+
che esiste già in linguaggi come C#, Groovy e Swift, è stato introdotto per
27+
rendere più semplice la gestione di oggetti che potrebbero essere `nil`,
28+
scrivendo ad esempio `obj&.foo`. Inoltre sono stati aggiunti `Array#dig` e
29+
`Hash#dig`.
30+
31+
E' stata anche aggiunta la gemma
32+
[did_you_mean](https://bugs.ruby-lang.org/issues/11252), che mostra le possibili
33+
alternative quando si incontrano `NameError` o `NoMethodError` per rendere più
34+
semplice il debug delle nostre applicazioni.
35+
36+
Sono stati aggiunti [RubyVM::InstructionSequence#to_binary e .load_from_binary](https://bugs.ruby-lang.org/issues/11788)
37+
come funzionalità sperimentali.
38+
Con queste funzionalità, possiamo creare un sistema di pre-compilazione ISeq (bytecode).
39+
40+
Ruby 2.3 include molti fix per migliorare le performance.
41+
Ad esempio,
42+
[ottimizzazzione Proc#call](https://bugs.ruby-lang.org/issues/11569),
43+
[reconsidering method entry data structure](https://bugs.ruby-lang.org/issues/11278),
44+
[l'introduzione di una nuova struttura dati](https://bugs.ruby-lang.org/issues/11420),
45+
a livello del codice macchina per ottimizzare l'allocazione degli oggetti e il codice relativo all'invocazione dei metodi, oltre ad altre molte ottimizzazioni.
46+
47+
Provate e godetevi Ruby 2.3.0-preview2 e fateci sapere cosa ne pensate!
48+
49+
## Modifiche importanti da 2.2
50+
51+
Vedi le [NEWS](https://github.com/ruby/ruby/blob/v2_3_0_preview2/NEWS)
52+
e il [ChangeLog](https://github.com/ruby/ruby/blob/v2_3_0_preview2/ChangeLog)
53+
per maggiori dettagli.
54+
55+
Con queste modifiche, [1097 file modificati, 97466 aggiunte(+), 58685 rimozioni(-)](https://github.com/ruby/ruby/compare/v2_2_0...v2_3_0_preview2) a partire da Ruby 2.2.0!
56+
57+
## Download
58+
59+
* <https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview2.tar.bz2>
60+
61+
* SIZE: 14126752 bytes
62+
* SHA1: 7e717ef7a0a1523ad696b5fe693f7f7a613a3810
63+
* SHA256: e9b0464e50b2e5c31546e6b8ca8cad71fe2d2146ccf88b7419bbe9626af741cb
64+
* SHA512: e397f321d4338edba8d005d871408775f03d975da90c8abcfdb457a1bc7e6c87efe58c53b2c3bc122e9f58f619767b271bcc8d5d9663ed4b4288c60556e8d288
65+
66+
* <https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview2.tar.gz>
67+
68+
* SIZE: 17623519 bytes
69+
* SHA1: 2deaf3ccbbfc5e08d3d840a4f1c33ff5f62f931d
70+
* SHA256: cb1c745bda33ba9e812b48c87852571ef6486f985c5e6ff4508a137d1c9734a3
71+
* SHA512: 83022f99775eb139beec281d59029dcc7c59de1e313182685b0a785334ac53d0c445212460d00d065169b922949263f30a1f981e19fc6e59814e79e6e53ae8e0
72+
73+
* <https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview2.tar.xz>
74+
75+
* SIZE: 11249780 bytes
76+
* SHA1: e1dfca06cd3c2cf6456a7feb0b1cd0752bde1a3b
77+
* SHA256: 7c3119268af87c137f415301b299281762453ad78f86e35562be014dabd67b11
78+
* SHA512: ab3376145d95a2188e6345984f0e5592c8d33515d7046a2ab2565dc418fa2306cdcf797aae9494d4d10446ada54ba638d8a8ad2d4b7510544d7eaea3de4faa87
79+
80+
* <https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview2.zip>
81+
82+
* SIZE: 19841531 bytes
83+
* SHA1: db7fa5291d90e0a9c6f75c0cd068bc54050520d6
84+
* SHA256: 90d036fd1ec40aa8f5493821ac162bf69f505c5977db54afe53b8bf689d79b9d
85+
* SHA512: 05784df420018aaae7d09d41e872df708e861cacc74dc8ee97a9e3ac7458cb12b937523ad6def34d5ae2890a0cf037a8d61e365beb88d28acd84879b9391ad65
86+
87+
## Commento alla release
88+
89+
Potete leggere anche il programma delle release e altre informazioni qui:
90+
91+
[ReleaseEngineering23](https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering23)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
layout: news_post
3+
title: "Ruby 2.0.0-p648 Released"
4+
author: "usa"
5+
translator: "simo2409"
6+
date: 2015-12-16 12:00:00 +0000
7+
lang: it
8+
---
9+
10+
Ruby 2.0.0-p648 è stato rilasciato.
11+
12+
Questa release include un fix di sicurezza per Fiddle e per l'estensione DL.
13+
Guarda i topic qui sotto per maggiori informazioni.
14+
15+
* [CVE-2015-7551: Unsafe tainted string usage in Fiddle and DL](https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/)
16+
17+
Ruby 2.0.0 è nella fase di mantenimento di sicurezza, che durerà fino al 24 Febbraio 2016.
18+
Dopo tale data, il supporto a Ruby 2.0.0 sarà terminato.
19+
Vi consigliamo di cominciare a pianificare la migrazione a versioni più recenti
20+
di Ruby, come la 2.1, la 2.2 o la 2.3 (programmata per il rilascio nelle prossime settimane).
21+
22+
## Download
23+
24+
* [https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.tar.bz2)
25+
26+
SIZE: 10785918 bytes
27+
SHA1: 504be2eae6cdfe93aa7ed02ec55e35043d067ad5
28+
SHA256: 087ad4dec748cfe665c856dbfbabdee5520268e94bb81a1d8565d76c3cc62166
29+
SHA512: 609acf6d6352c9746e21cd7f0e7d29f5eb522e6fff2d5fad0431d63c568cc084ed5b7141f84cd33512d8213200d2d1a22e8d7df71469a980a3a92886133fea38
30+
31+
* [https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.tar.gz)
32+
33+
SIZE: 13622628 bytes
34+
SHA1: 2323df55f5e941c45be13500df9daf216098f884
35+
SHA256: 8690bd6b4949c333b3919755c4e48885dbfed6fd055fe9ef89930bde0d2376f8
36+
SHA512: 285745fa359be124a7ee5eea7ec8ae23a76ebd1f768c1214291ef5a65991c5c4a6ed73eb89e42d2673b16ed9a726bebe7e336ac73082c657f4e460014db30c94
37+
38+
* [https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.tar.xz)
39+
40+
SIZE: 8303584 bytes
41+
SHA1: 4500e7b65a3788a2c9d787dc3b7d7e16014d4daf
42+
SHA256: 22fe97739110ba9171b13fc4dcd1a92e767f16769de3593ee41ef1283d218402
43+
SHA512: 95df515d37f04193eaceaded4a4f568f83041683349cd44767803f77361a66533226d83eac6586ac894ae61d79bd36ce047f951aed43f9a8356dbb3244280774
44+
45+
* [https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.zip](https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p648.zip)
46+
47+
SIZE: 15139871 bytes
48+
SHA1: 2d5521cc12823af20269b9380a9d605a21509b43
49+
SHA256: 6d1fb8b285c80bfc1838880626d04f128561a649161c80d1748423c731d548bd
50+
SHA512: c5f136fd75cd85a00312a5a44831fc114c1c329d224b5b45a8fe41de222daef16ed890413085574e62c5d86e743e0172f3523d309be6547c1976dffdba066ea2
51+
52+
## Commento alla release
53+
54+
Grazie a tutti coloro che ci hanno aiutato con questa release.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
layout: news_post
3+
title: "Ruby 2.1.8 Released"
4+
author: "usa"
5+
translator: "simo2409"
6+
date: 2015-12-16 12:00:00 +0000
7+
lang: it
8+
---
9+
10+
Ruby 2.1.8 è stato rilasciato.
11+
12+
Questa release include un fix di sicurezza per Fiddle e per l'estensione DL.
13+
Guarda i topic qui sotto per maggiori informazioni.
14+
15+
* [CVE-2015-7551: Unsafe tainted string usage in Fiddle and DL](https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/)
16+
17+
E molti altri fix.
18+
Vedi il [ChangeLog](http://svn.ruby-lang.org/repos/ruby/tags/v2_1_8/ChangeLog)
19+
per maggiori informazioni.
20+
21+
## Download
22+
23+
* [https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.bz2)
24+
25+
SIZE: 12014426 bytes
26+
SHA1: 0284eaf42ac76a641abd5cd4b6bd933abeb9934e
27+
SHA256: 250d0b589cba97caddc86a28849365ad0d475539448cf76bbae93190985b3387
28+
SHA512: 7129c012bca7f0e7cfa51c73ba0898697f7a9f31abd5ae57d38be5b6b646fd80ab33be9b262cd3e2486c66f65aaf4ec6e881ae6e5a82ec9df62f00fa072510fc
29+
30+
* [https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.gz)
31+
32+
SIZE: 15154017 bytes
33+
SHA1: c7e50159357afd87b13dc5eaf4ac486a70011149
34+
SHA256: afd832b8d5ecb2e3e1477ec6a9408fdf9898ee73e4c5df17a2b2cb36bd1c355d
35+
SHA512: 155121ed00a1a56e40a74bafd93dcc34a0ea65c56589cf36daa8318368acc12cc88cb73aba548ef204c8d2ad917b0feccf90b5608a86d1aca1203feca2263386
36+
37+
* [https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.xz)
38+
39+
SIZE: 9382672 bytes
40+
SHA1: e1f4e043006a762604c042e6aac7540854a92d8c
41+
SHA256: 94eeae3b3e3ac93cfd205e1aaef4c5325227b7656cbb2fc1ee217618145dd19d
42+
SHA512: c712ee69cb1d41ad8420177b9564e451ab795e4903f1edc20c14aa189b8e38c54c5119d913204d13a5f8fa424f2ec43bfad04c77b313ea4533e23a9b1d161392
43+
44+
* [https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.zip](https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.zip)
45+
46+
SIZE: 16686848 bytes
47+
SHA1: b554328fb3d9f2a527adc5830de221b00e3ce2b9
48+
SHA256: 6e0491e029a6f4c40bc091033c5bc91f65438f3f9153f93f1b86889521e79cee
49+
SHA512: 2f9409460c8729fff96522baf5c4a74e1a648db1749a471ee3b6523d8c01e1faaf5f17afdffcaf355654f23e8c2ac392830109dd68dfc4e5a694d95155c593b6
50+
51+
## Commento alla release
52+
53+
Grazie a tutti coloro che ci hanno aiutato con questa release.
54+
55+
Il mantenimento di Ruby 2.1, inclusa questa release, è basato sull' "Agreement
56+
for the Ruby stable version" della [Ruby Association](http://www.ruby.or.jp/).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
layout: news_post
3+
title: "Ruby 2.2.4 Released"
4+
author: "nagachika"
5+
translator: "simo2409"
6+
date: 2015-12-16 12:00:00 +0000
7+
lang: it
8+
---
9+
10+
Ruby 2.2.4 è stato rilasciato.
11+
12+
Questa release include un fix di sicurezza per Fiddle e per l'estensione DL.
13+
Guarda i topic qui sotto per maggiori informazioni.
14+
15+
* [CVE-2015-7551: Unsafe tainted string usage in Fiddle and DL](https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/)
16+
17+
E molti altri fix.
18+
Vedi il [ChangeLog](http://svn.ruby-lang.org/repos/ruby/tags/v2_2_4/ChangeLog) per maggiori informazioni.
19+
20+
## Download
21+
22+
* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.bz2](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.bz2)
23+
24+
SIZE: 13336518 bytes
25+
SHA1: 6132840a859dbf2ac1498ba313021f299a870038
26+
SHA256: 31203696adbfdda6f2874a2de31f7c5a1f3bcb6628f4d1a241de21b158cd5c76
27+
SHA512: d27ca2f19c214ce87f906b57edd41f2f8af35b2871c191470facded9cfda15ba46e5c3bc7d5540225a38da6bd65050fcc8aaa4ffbadbb6bf7dc891c1821da0df
28+
29+
* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.gz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.gz)
30+
31+
SIZE: 16638151 bytes
32+
SHA1: 818e5e157f76d4912ba3a7c7b4fc5156105e83c3
33+
SHA256: b6eff568b48e0fda76e5a36333175df049b204e91217aa32a65153cc0cdcb761
34+
SHA512: 5f5d4a5b6bb55643a2c2e4df9ec81062f62d97b2aa0de5faf5b4251f7e585b65a0ff07b4edf23c0969525e36916a132362f8349b6ab441ced8a86d0337532832
35+
36+
* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.xz](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.xz)
37+
38+
SIZE: 10464500 bytes
39+
SHA1: 9216cf34df7fd5ce8059a6403951d6d47964442a
40+
SHA256: d28bff4641e382681c58072ddc244d025ac47ff71dd9426a92fcfc3830d1773c
41+
SHA512: 755257eea0cb79f28f1d2dc6e2a5ee4b1954280f51153e5fe90605a875b1d52077660b87e4e04d11552591a1f60a1241e4c70056f073a217b3bad896f64780da
42+
43+
* [https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.zip](https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.zip)
44+
45+
SIZE: 18472352 bytes
46+
SHA1: b6de8559d6e56ad09a3f4b57ef2c01e8c0754d5a
47+
SHA256: 9b7f9e96ef84eef97f44bd5ab1fa70ece1668a52585a88ba6a3487579f12e6f4
48+
SHA512: 7a6678d3f9bc81eb7bb60de342820ed1bf44e834ee3e5ed6c713c8fa0a80c758c5a5260f17aa5ceae32e1f180187c9cb4e278e9fc6a7b8ad4386f9261426ad5b
49+
50+
## Release Comment
51+
52+
I molti committer, developer e utenti che ci hanno segnalato bug hanno reso
53+
possibile questa release.
54+
Grazie per il vostro contributo.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
layout: news_post
3+
title: "CVE-2015-7551: Unsafe tainted string usage in Fiddle and DL"
4+
author: "usa"
5+
translator: "simo2409"
6+
date: 2015-12-16 12:00:00 +0000
7+
tags: security
8+
lang: it
9+
---
10+
11+
E' stata trovata una vulnerabilità nella gestione delle stringhe in Fiddle e DL.
12+
A questa vulnerabilità è stato assegnato l'identificativo
13+
[CVE-2015-7551](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7551).
14+
15+
## Dettagli
16+
17+
E' stato trovata una vulnerabilità nella gestione delle stringhe in Fiddle e DL.
18+
Questo problema è stato originariamente riportato e corretto con il codice [CVE-2009-5147](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-5147) in DL,
19+
ma è riapparso dopo che DL è stato re-implementato utilizzando Fiddle e libffi.
20+
21+
E, sempre riguardo DL, la vulnerabilità [CVE-2009-5147](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-5147)
22+
è stata risolta in Ruby 1.9.1, ma non negli altri branch,
23+
quindi tutte le versioni (eccetto Ruby 1.9.1) sono ancora vulnerabili.
24+
25+
Un esempio del codice che causa il problema:
26+
27+
{% highlight ruby %}
28+
handle = Fiddle::Handle.new(dangerous_user_input)
29+
{% endhighlight %}
30+
31+
O:
32+
33+
{% highlight ruby %}
34+
handle = Fiddle::Handle.new(some_library)
35+
function_pointer = handle[dangerous_user_input]
36+
{% endhighlight %}
37+
38+
Tutti gli utenti che stanno utilizzando una versione ancora senza fix
39+
dovrebbero aggiornarla o usare un workaround.
40+
41+
## Versioni afflitte
42+
43+
* Tutte le versioni patch di Ruby 1.9.2 e Ruby 1.9.3 (DL e Fiddle).
44+
* Tutte le versioni patch di Ruby 2.0.0 e precedenti al patchlevel 648 (DL e Fiddle).
45+
* Tutte le versioni di Ruby 2.1 precedenti a Ruby 2.1.8 (DL e Fiddle).
46+
* Tutte le versioni di Ruby 2.2 precedenti a Ruby 2.2.4 (Fiddle).
47+
* Ruby 2.3.0 preview 1 e preview 2 (Fiddle).
48+
* Tutte le versioni precedenti alla revisione del trunk 53153 (Fiddle).
49+
50+
## Workaround
51+
52+
Se non è possibile aggiornare, il seguente codice può essere utilizzato
53+
per risolvere il problema in Fiddle:
54+
55+
{% highlight ruby %}
56+
class Fiddle::Handle
57+
alias :old_initialize :initialize
58+
59+
def initialize file, *args
60+
raise SecurityError if file.tainted? && $SAFE > 0
61+
old_initialize file, *args
62+
end
63+
64+
alias :sym :[]
65+
alias :old_call :[]
66+
67+
def [] fun
68+
raise SecurityError if fun.tainted? && $SAFE > 0
69+
old_call fun
70+
end
71+
end
72+
{% endhighlight %}
73+
74+
Se si utilizza DL si suggerisce di utilizzare Fiddle al suo posto.
75+
76+
## Credits
77+
78+
Grazie a Christian Hofstaedtler <zeha@debian.org> per aver riportato il problema!
79+
80+
## Storia
81+
82+
* Originariamente pubblicato il 2015-12-16 12:00:00 UTC

0 commit comments

Comments
 (0)