bin/checkps in wizardwerdna-pokerstats-0.7.0 vs bin/checkps in wizardwerdna-pokerstats-0.8.0

- old
+ new

@@ -3,11 +3,11 @@ # ENV['RAILS_ENV'] = ENV['RAILS_ENV'] || 'development' # require File.expand_path(File.dirname(__FILE__) + "/../config/environment") # require File.expand_path(File.dirname(__FILE__) + "/pokerstats/pokerstars_file") # require File.expand_path(File.dirname(__FILE__) + '/pokerstats/player_statistics') require 'rubygems' -require pokerstats/pokerstars_file -require pokerstats/player_statistics +require 'pokerstats/pokerstars_file' +require 'pokerstats/player_statistics' def search_poker_edge(playername, players_shown = {}) return if players_shown[playername] escaped_playername = URI.escape(playername).gsub(/["'\[\]]/,'\\\\\&').gsub(/[\[\]]/,'\\\\\\\\\&') result = `curl -s http://www.poker-edge.com/whoami.php?site=Stars\\&name=#{escaped_playername}`