[#404611] Looking for Rubyists interested in P2P and privacy — Tony Arcieri <tony.arcieri@...>
Hey there, excuse the spam ;) Hopefully this is relevant enough.
3 messages
2013/08/07
[#409331] Capture HTML table data, pass to Ruby, pass back and display result in HTML text field — Hubert Wagner <lists@...>
Hello :
11 messages
2013/08/04
[#409339] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hubert Wagner <lists@...>
2013/08/04
Hello Jesus :
[#409340] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 9:18 AM, Hubert Wagner <lists@ruby-forum.com> wrote:
[#409346] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hubert Wagner <lists@...>
2013/08/04
Thank you all for your assistance (and patience).
[#409336] Rakefile Error - Please Help — "Jennifer T." <lists@...>
Hi,
13 messages
2013/08/04
[#409341] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 7:41 AM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409349] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117692:
[#409350] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 1:42 PM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409351] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117715:
[#409356] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 2:21 PM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409357] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117723:
[#409358] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/05
On Sun, Aug 4, 2013 at 4:57 PM, Jennifer T. <lists@ruby-forum.com> wrote:
[ANN] football.db National Team Repos Updated - Gold Cup 2013, Confederations Cup 2013, World Cup Quali 2014 etc.
From:
Gerald Bauer <gerald.bauer@...>
Date:
2013-08-08 07:48:51 UTC
List:
ruby-talk #404615
Hello,
The plain text football (soccer) teams, fixtures, results and more
that you can read with the Ruby sportdb gem [1] now include more int'l
and continental tournaments in its own repos for easy management and
contributions.
Tournaments include:
- Gold Cup / Copa de Oro 2013, United States [2]
- Confederations Cup 2013, Brazil [3]
- Africa Cup of Nations 2013, South Africa
- World Cup Brazil 2014 Qualifications
For example, you can read the Gold Cup fixtures using Ruby and Rake:
BUILD_DIR = "./build"
FOOTBALL_DB_PATH = "#{BUILD_DIR}/football.db"
DB_CONFIG = {
:adapter => 'sqlite3',
:database => FOOTBALL_DB_PATH
}
directory BUILD_DIR
task :env => BUILD_DIR do
require 'worlddb'
require 'sportdb'
require 'logutils/db'
LogUtils::Logger.root.level = :info
pp DB_CONFIG
ActiveRecord::Base.establish_connection( DB_CONFIG )
end
task :create => :env do
LogDb.create
WorldDb.create
SportDb.create
end
task :importworld => :env do
WorldDb.read_setup( 'setups/sport.db.admin', '../world.db',
skip_tags: true )
# WorldDb.stats
end
task :importsport => :env do
SportDb.read_builtin
SportDb.read_setup( 'setups/all', '../openfootball/america-cup' )
# SportDb.stats
end
desc 'footballdb - build from scratch'
task :build => [:create, :importworld, :importsport] do
puts 'Done.'
end
That's it. More info @ http://openfootball.github.io
Cheers.
[1] https://github.com/geraldb/sport.db.ruby
[2] https://github.com/openfootball/america-cup/blob/master/2013/gold.txt
[3] https://github.com/openfootball/world-cup/blob/master/2013/confed.txt