Sha256: f0518996c923435ad8477f616c3aa1afcc1d95284e58949b6de03b3112567b9b

Contents?: true

Size: 1.41 KB

Versions: 18

Compression:

Stored size: 1.41 KB

Contents

# encoding: utf-8

######################################
## NFL Teams 2012


## todo: add "official" three letter tags

teams = [
 ['nyjets',     'New York Jets',                    'AFC East'],
 ['newengland', 'New England Patriots|New England', 'AFC East'],
 ['buffalo',    'Buffalo Bills|Buffalo',            'AFC East'],
 ['miami',      'Miami Dolphins|Miami',             'AFC East'],

 ['', 'Baltimore Ravens',    'AFC North'],
 ['', 'Cincinnati Bengals',  'AFC North'],
 ['', 'Pittsburgh Steelers', 'AFC North'],
 ['', 'Cleveland Browns',    'AFC North'],

 ['', 'Houston Texans',       'AFC South'],
 ['', 'Indianapolis Colts',   'AFC South'],
 ['', 'Tennessee Titans',     'AFC South'],
 ['', 'Jacksonville Jaguars', 'AFC South'],

 ['sandiego', 'San Diego Chargers|San Diego',     'AFC West'],
 ['denver', 'Denver Broncos|Denver',              'AFC West'],
 ['oakland', 'Oakland Raiders|Oakland',           'AFC West'],
 ['kansascity', 'Kansas City Chiefs|Kansas City', 'AFC West'],

 ['', '', ''],
 ['', '', ''],
 ['', '', ''],
 ['', '', ''],

 ['', '', ''],
 ['', '', ''],
 ['', '', ''],
 ['', '', ''],


 ['', '', ''],
 ['', '', ''],
 ['', '', ''],
 ['', '', ''],


 ['', '', ''],
 ['', '', ''],
 ['', '', ''],
 ['', '', '']]


us = Country.find_by_key!( 'us' )

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

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
sportdb-0.8.1 db/nfl/teams.rb
sportdb-0.8.0 db/nfl/teams.rb
sportdb-0.7.2 db/nfl/teams.rb
sportdb-0.7.1 db/nfl/teams.rb
sportdb-0.7.0 db/nfl/teams.rb
sportdb-0.6.0 db/nfl/teams.rb
sportdb-0.5.6 db/nfl/teams.rb
sportdb-0.5.5 db/nfl/teams.rb
sportdb-0.5.4 db/nfl/teams.rb
sportdb-0.5.3 db/nfl/teams.rb
sportdb-0.5.2 db/nfl/teams.rb
sportdb-0.5.1 db/nfl/teams.rb
sportdb-0.5.0 db/nfl/teams.rb
sportdb-0.4.5 db/nfl/teams.rb
sportdb-0.4.4 db/nfl/teams.rb
sportdb-0.4.3 db/nfl/teams.rb
sportdb-0.4.2 db/nfl/teams.rb
sportdb-0.4.1 db/nfl/teams.rb