Ruby 2.0.0-p195 vient de sortir. Il s’agit du premier niveau de patch pour Ruby 2, depuis la sortie de la version 2.0.0. Cette release contient un correctif de sécurité pour Ruby DL / Fiddle ainsi que de nombreuses corrections de bugs et des optimisations. On trouvera également quelqu...
ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p429.tar.bz2 SIZE: 10042323 bytes MD5: c2b2de5ef15ea9b1aaa3152f9112af1b SHA256: 9d8949c24cf6fe810b65fb466076708b842a3b0bac7799f79b7b6a8791dc2a70 ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p429.tar.gz SIZE: 12553234 bytes MD5: 993c72...
Now Ruby 1.9.3-p429 is released. We once released p426 some hours before, but it had build problems on some platforms. Use this p429 instead, please. This release includes a security fix about bundled DL / Fiddle. Object taint bypassing in DL and Fiddle in Ruby (CVE-2013-2065) And som...
def my_function(input) handle = DL.dlopen(nil) sys = Fiddle::Function.new(handle['system'], [Fiddle::TYPE_VOIDP], Fiddle::TYPE_INT) sys.call input end $SAFE = 1 user_input = "uname -rs".taint my_function DL::CPtr[user_input].to_i
Object taint bypassing in DL and Fiddle in Ruby (CVE-2013-2065) There is a vulnerability in DL and Fiddle in Ruby where tainted strings can be used by system calls regardless of the $SAFE level set in Ruby. This vulnerability has been assigned the CVE identifier CVE-2013-2065. Impact ...
Ruby 2.0.0-p195 is released. This is the first patchlevel release of 2.0.0. This release include a security fix of Ruby DL/Fiddle extension. Object taint bypassing in DL and Fiddle in Ruby(CVE-2013-2065) And there’re many bug-fixes and some optimization, and documentation fixes. Downl...
Ruby 2.0.0-p195 をリリースします。 これは 2.0.0 の最初のパッチレベルリリースです。 このリリースには拡張ライブラリ DL/Fiddle のセキュリティフィックスが含まれます。 DL および Fiddle におけるオブジェクト汚染フラグバイパス(CVE-2013-2065) その他にもたくさんのバグフィックスや最適化、ドキュメントの修正が含まれています。主な変更点は以下の Changes を参考にしてください。 Downloads ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p195.tar...
Now Ruby 1.9.3-p426 is released. This release includes a security fix about bundled DL / Fiddle. Object taint bypassing in DL and Fiddle in Ruby (CVE-2013-2065) And some small bugfixes are also included. See tickets and ChangeLog for details. Download You can download this release fro...
Ruby 1.9.3-p426 がリリースされました。 今回のリリースには、バンドルされている DL / Fiddle に関するセキュリティフィックスが含まれます。 DL および Fiddle におけるオブジェクト汚染フラグバイパス (CVE-2013-2065) この他にも、幾つかの小さなバグ修正が含まれています。 詳しくは、対応するチケット および ChangeLog を確認して下さい。 ダウンロード 以下の URL から本リリースをダウンロードできます。 ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p426...
Ruby è... Un linguaggio open-source dinamico che dà particolare rilevanza alla semplicità e alla produttività, dotato di una sintassi elegante, naturale da leggere facile da scrivere. Ulteriori Informazioni... Rilasciato Ruby 2.0.0-p0 Siamo lieti di annunciare l'uscita di Ruby 2.0.0-p...
Aquí puedes obtener las últimas distribuciones de Ruby en tu sabor favorito. La versión estable actual es 1.9.3-p385. Por favor asegúrate de leer la licencia de Ruby . El código fuente de Ruby Instalar desde los fuentes es una buena solución para cuando te sientes confiado con tu plat...
Este es un pequeño tutorial de Ruby que no debería tomar más de 20 minutos completarlo. Se asume que ya tienes instalado Ruby. Si no tienes Ruby funcionando en tu PC, descárgalo e instálalo antes de comenzar.
Content available in English , French , Japanese , Korean , Polish , Spanish , Portuguese , Simplified Chinese , Traditional Chinese , Bahasa Indonesia , German , Italian , Czech , Bulgarian and Turkish . このサイトはRubyとRadiant CMS によって構築されています。 また、コンテンツはRubyコミュニティによって管理されています。 質問やコメントは w...
In Ruby, everything is an object. Every bit of information and code can be given their own properties and actions. Object-oriented programming calls properties by the name instance variables and actions are known as methods . Ruby’s pure object-oriented approach is most commonly demon...
? Esa es la forma que tiene Ruby para insertar algo en un String. La expresión entre las llaves es transformada en un String (si todavía no lo es) y posteriormente sustituida en ese punto del String que la contiene. También puedes usar esto para asegurarte que el nombre comience con m...
Certain members of the Ruby community feel very strongly that you should never use a package manager to install Ruby, and that you should use RVM instead. While the full list of pros and cons are outside of the scope of this page, the most basic reason is that most package managers ha...
class Foo def initialize @a= 1 end def a @a end def b @b end end class Baa < Foo def baa_a @a end end p Foo.new.a # >> 1 p Foo.new.b # >> nil p Baa.new.baa_a # >> 1
ブロックの評価結果を <=> メソッドで比較することで、self を昇 順にソートします。ソートされた配列を新たに生成して返します。これは、 以下とほぼ同じ動作をします。 class Array def sort_by self.collect {|i| [yield(i), i] }. sort {|a,b| a[0] <=> b[0] }. collect! {|i| i[1]} end end sort_by を使わない以下の例では比較を行う度に downcase が実 行されます。従って downcase の実行速度が遅ければ sort の速度が 致命的に...
IRB.conf[:AUTO_INDENT] = false IRB.conf[:BACK_TRACE_LIMIT]=16 IRB.conf[:DEBUG_LEVEL]=1 IRB.conf[:ECHO] = nil IRB.conf[:EVAL_HISTORY] = nil IRB.conf[:HISTORY_FILE] = nil ((<ruby 1.9 feature>)) IRB.conf[:IGNORE_EOF] = false IRB.conf[:IGNORE_EOF]=false IRB.conf[:IGNORE_SIGINT] = true IRB...
Liberado Ruby 2.0.0-p0 Ruby 2.0.0 es la primera versión estable de la serie 2.0 de Ruby, en ella encontraremos muchas mejoras y nuevas características en respuesta a las nuevas necesidades y a la expansión de nuestro lenguaje. Continuar leyendo… Publicado por Manuel Ramos Caro el 25 F...
Unrestricted entity expansion can lead to a DoS vulnerability in REXML. This vulnerability has been assigned the CVE identifier CVE-2013-1821. We strongly recommend to upgrade ruby. Details When reading text nodes from an XML document, the REXML parser can be coerced in to allocating ...
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. Devamını Okuyun… # Meşhur Hello World # programı Ruby'de çok # basit. Şunlar gereksiz: # # * bir "main" metodu # * yeni satır bildiri...
Arkadaşça ve büyüyen bir topluluğa kaltılın. Mail Listeleri : Tüm dünyadan Ruby programcılarıyla görüşün. Kullanıcı Grupları : Bölgenizdeki Ruby'cilerle temas kurun. Web günlükleri : Rubyde neler olduğunu takip edin. Ruby Core : En son Rubynin kaba taraflarının parlatılmasına yardımcı...
The default encoding for ruby scripts is now UTF-8 [#6679]. Some people report that it affects existing programs, such as some benchmark programs becoming very slow [ruby-dev:46547]. Iconv was removed, which had already been deprecated when M17N was introduced in ruby 1.9. Use String#...
The default encoding for ruby scripts is now UTF-8 [#6679]. Some people report that it affects existing programs, such as some benchmark programs becoming very slow [ruby-dev:46547]. Iconv was removed, which had already been deprecated when M17N was introduced in ruby 1.9. Use String#...
<URL:ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.bz2> SIZE: 10814890 bytes MD5: 895c1c581f8d28e8b3bb02472b2ccf6a SHA256: c680d392ccc4901c32067576f5b474ee186def2fcd3fcbfa485739168093295f <URL:ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz> SIZE: 13608925 bytes MD5...
The default encoding for ruby scripts is now UTF-8 [#6679]. Some people report that it affects existing programs, such as some benchmark programs becoming very slow [ruby-dev:46547]. Iconv was removed, which had already been deprecated when M17N was introduced in ruby 1.9. Use String#...