lib/sched/client.rb in sched-0.1.5 vs lib/sched/client.rb in sched-0.1.6
- old
+ new
@@ -16,10 +16,10 @@
def events
unless @events
results = FasterCSV.parse(request('session/list', nil, :get))
attributes = results.shift.map do |a|
- a.strip.gsub(/[\x80-\xff]/, "").gsub(/^event_/, "session_").to_sym
+ a.strip.gsub(/[\u0080-\u00ff]/, "").gsub(/^event_/, "session_").to_sym
end
@events = results.map do |row|
row_hash = {}
attributes.each_with_index do |a, i|