diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-04 09:29:00 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-04 09:29:00 -0800 |
commit | 922c528d428b5ab08611976dfe0037875a4bf387 (patch) | |
tree | d3f04519ead2ad45c23b4e521a2ba091f877005f /ci | |
parent | b302e023b786aaa246a467ec4f4c619353cbdbb2 (diff) | |
download | rails-922c528d428b5ab08611976dfe0037875a4bf387.tar.gz rails-922c528d428b5ab08611976dfe0037875a4bf387.tar.bz2 rails-922c528d428b5ab08611976dfe0037875a4bf387.zip |
Ruby 1.9 compat: use String#each_line instead of #each
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/ci_build.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/ci_build.rb b/ci/ci_build.rb index 010f78ba09..0b9bd3d278 100755 --- a/ci/ci_build.rb +++ b/ci/ci_build.rb @@ -98,9 +98,9 @@ puts "[CruiseControl] #{`mysql --version`}" puts "[CruiseControl] #{`pg_config --version`}" puts "[CruiseControl] SQLite2: #{`sqlite -version`}" puts "[CruiseControl] SQLite3: #{`sqlite3 -version`}" -`gem env`.each {|line| print "[CruiseControl] #{line}"} +`gem env`.each_line {|line| print "[CruiseControl] #{line}"} puts "[CruiseControl] Local gems:" -`gem list`.each {|line| print "[CruiseControl] #{line}"} +`gem list`.each_line {|line| print "[CruiseControl] #{line}"} failures = build_results.select { |key, value| value == false } |