Sha256: 3f675d84eb6f5af0da0aefec3d89126d291d24c7a53535b213acaac3d234e380

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 KB

Contents

# encoding: utf-8

teams = [
 [ 'america',   'Club América|America de Mexico',        'city:mexico' ],
 [ 'atlante',   'Atlante',             'city:cancun' ],
 [ 'atlas',     'Atlas',               'city:guadalajara' ],
 [ 'chivas',    'Guadalajara Chivas',  'city:guadalajara' ],
 [ 'cruzazul',  'Cruz Azul',           'city:mexico' ],
 [ 'jaguares',  'Jaguares de Chiapas', 'city:tuxtla' ],
 [ 'leon',      'Club León|Club Leon',           'city:leon' ],
 [ 'monarcas',  'Monarcas Morelia|Atletico Monarcas Morelia',    'city:morelia' ],
 [ 'monterrey', 'Monterrey|CF Monterrey ',           'city:monterrey' ],
 [ 'pachuca',   'Pachuca',             'city:pachuca' ],
 [ 'puebla',    'Puebla F.C. ',        'city:puebla' ],
 [ 'queretaro', 'Querétaro F.C.',      'city:queretaro' ],
 [ 'sanluis',   'Club  San Luis',      'city:sanluispotosi' ],
 [ 'slaguna',   'Santos Laguna',       'city:torreon' ],
 [ 'tijuana',   'Club Tijuana',        'city:tijuana' ],
 [ 'toluca',    'Toluca|Deportivo Toluca',              'city:toluca' ],
 [ 'tigres',    'Tigres UANL',         'city:sannicolas' ],
 [ 'pumas',     'Pumas UNAM',          'city:mexico' ]
]

mx = Country.find_by_key!( 'mx' )

Team.create_from_ary!( teams, club: true, country: mx )

Prop.create!( key: 'db.mx.teams.version', value: '1' )

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sportdb-0.8.1 db/mx/teams.rb
sportdb-0.8.0 db/mx/teams.rb