Ruby 1.9.1: Hash

Published on

In ruby 1.9.1 has many changes for Hash some useful changes are below: RUBY_VERSION => 1.8.6 RUBY_VERSION => 1.9.1 Now Hash preserves order: RUBY_VERSION => 1.8.6 RUBY_VERSION => 1.9.1 Better to_s method(similar to hash.inspect). RUBY_VERSION => 1.8.6 RUBY_VERSION => 1.9.1 hash.each and hash.each_pair RUBY_VERSION => 1.8.6 RUBY_VERSION => 1.9.1 hash.select now returns hash instead of … Continue reading Ruby 1.9.1: Hash

Ruby Script for SVN commit notification with log message, list of updated files and readable colored SVN Diff

Published on

Some days ago I wrote a post about “SVN commit notification” which uses a perl script for sending commit notification with svn diff by mail. In this mail you can find svn diff from the last committed revision. I used to love this mail, soon I realized that it is a bit ugly and difficult … Continue reading Ruby Script for SVN commit notification with log message, list of updated files and readable colored SVN Diff