Sha256: 77337b6e899499c7107e15de02909cff1c6ceae3beb66c8dfa632dae94198064

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

# encoding: utf-8


l1 = [
  [ 'astra',              'Astra Ploiesti',         'AFC' ],
  [ 'ceahlau',            'Ceahlaul Piatra Neamt',  'FCC' ],
  [ 'cfr',                'CFR Cluj',               'CFR' ],
  [ 'chiajna',            'Concordia Chiajna',      'CCH' ],
  [ 'iasi',               'CSMS Iasi',              'CSI' ],
  [ 'dinamo',             'Dinamo Bucuresti',       'FCD' ],
  [ 'fcbrasov',           'FC Brasov',              'FCB' ],
  [ 'gazmetan_severin',   'FC Severin',             'FCS' ],
  [ 'vaslui',             'FC Vaslui',              'FCV' ],
  [ 'gazmetan_medias',    'Gaz Metan Medias',       'GMM' ],
  [ 'gloria_bistrita',    'Gloria Bistrita',        'GBS' ],
  [ 'otelul',             'Otelul Galati',          'OTG' ],
  [ 'pandurii',           'Pandurii Tg Jiu',        'PTJ' ],
  [ 'petrolul',           'Petrolul Ploiesti',      'PPL' ],
## fix: at/rapid!!!! already taken
  [ 'rapid',              'Rapid Bucuresti',        'RBU' ],
  [ 'steaua',             'Steaua Bucuresti',       'SBU' ],
  [ 'u_cluj',             'U Cluj',                 'UCJ' ],
  [ 'viitorul_constanta', 'Viitorul Constanta',     'VCT' ]
]

ro = Country.find_by_key!( 'ro' )

Team.create_from_ary!( l1, club: true, country: ro )


## The End
#################

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sportdb-0.9.1 db/ro/teams.rb
sportdb-0.9.0 db/ro/teams.rb