Ruby on Rails Blog Magyarország

Keresés

 

Ruby Enterprise Edition 1.8.7 2011.02

Megjelent a legújabb REE. Az 1.8.7-p337-es Rubyn kívül semmi extrát nem tartalmaz, mivel azonban biztonsági réseket is befoltoztak, ajánlott a frissítés.

Posted by Ferenc Fekete
 

Letölthető a Rubygems 1.5

Megjelent a Ruby csomagkezelőjének legfrissebb, 1.5-ös változata, amely számos újdonságot és hibajavítást tartalmaz.

Major Enhancements:

  • Finally fixed all known 1.9.x issues. Upgrading is now possible!
  • Merged huge 1.3.7/ruby-core changes to master.

Minor Enhancements:

  • Added UPGRADING.rdoc to help deal with 1.9 issues.
  • Gem::Format now gives better errors for corrupt gem files and includes paths
  • Pre-install hooks can now abort gem installation by returning false
  • Move shareable TestCase classes to lib/ to help plugin authors with tests.
  • Add post-build hooks that can cancel the gem install
  • Always require customrequire now that requiregem is gone
  • Added GemInstaller accessors for @options so plugins can reference them.
  • Optimized Gem.find_files. ~10% faster than 1.4.2. ~40% faster than ruby 1.9.
  • Gem::SilentUI now behaves like Gem::StreamUI for asking questions. Patch by Erik Hollensbe.

Bug Fixes:

  • gem update was implicitly doing --system.
  • 1.9.3: Fixed encoding errors causing gem installs to die during rdoc phase.
  • Add RubyForge URL to README. Closes #28825
  • 1.9.3: Use chdir {} when building extensions to prevent warnings. Fixes #4337
  • 1.9.2: Fix circular require warning.
  • Make requiring openssl even lazier at request of NaHi
  • gem unpack will now download the gem if it is not in the cache. Patch by Erik Hollensbe.
  • rubygems-update lists its development dependencies again

Posted by Ferenc Fekete
 

Megjelent a Ruby 1.9.2

Megjelent a Ruby legfrissebb, stabil változata. Egyelőre a forrás érhető el, de hamarosan érkeznek a csomagok is a népszerűbb linux disztribúciókhoz.

Ez jelentős előrelépés a Rails fejlesztők számára, hiszen a keretrendszer hamarosan megjelenő 3-as kiadásának futtatásához is ez ajánlott (természetesen az 1.8.7-esen is kiválóan el fog futni).

Posted by Ferenc Fekete
 

Egy hasznos Ruby grep tipp

Az alábbi példát a Ruby Quicktips-en találtam, amely bemutajta, hogyan tudunk enumerable objektumokból grepelni. Lássuk a példát:

 

Posted by Ferenc Fekete
 

Hazelcast - Distributed ruby

74149stripprint
Egy villámgyors ,skálázható és fail-safe cucc jruby alapokon.

Posted by Ferenc Fekete
 

Ruby 'return' másképp

Return variációk

Bővebben a RubyQuickTips oldalon.

Posted by Ferenc Fekete
Ruby on Rails Magyarország
Mr. Black