Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ruby 1.9.1 compatibility

  • Loading branch information...
commit 28744514cee928a172388a2a25ba5f22a19dc711 1 parent c3d5290
Andre Lewis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  passenger_status/passenger_status.rb
View
2  passenger_status/passenger_status.rb
@@ -15,7 +15,7 @@ def build_report
def parse_data(data)
stats = {}
- data.each do |line|
+ data.each_line do |line|
#line = line.gsub(/\e\[\d+m/,'')
if line =~ /^max\s+=\s(\d+)/
stats["max"] = $1
Please sign in to comment.
Something went wrong with that request. Please try again.