sportdb 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
 
4
4
  module WorldDB::Models
5
5
  class City
6
- has_many :teams, :class_name => 'Team', :foreign_key => 'city_id'
6
+ has_many :teams, :class_name => 'SportDB::Models::Team', :foreign_key => 'city_id'
7
7
  end
8
8
  end # module WorldDB::Models
9
9
 
@@ -5,8 +5,8 @@
5
5
  module WorldDB::Models
6
6
 
7
7
  class Country
8
- has_many :teams, :class_name => 'Team', :foreign_key => 'country_id'
9
- has_many :leagues, :class_name => 'League', :foreign_key => 'country_id'
8
+ has_many :teams, :class_name => 'SportDB::Models::Team', :foreign_key => 'country_id'
9
+ has_many :leagues, :class_name => 'SportDB::Models::League', :foreign_key => 'country_id'
10
10
  end # class Country
11
11
 
12
12
  end # module WorldDB::Models
@@ -5,7 +5,7 @@
5
5
  module WorldDB::Models
6
6
 
7
7
  class Region
8
- has_many :teams, :through => :cities
8
+ has_many :teams, :class_name => 'SportDB::Models::Team', :through => :cities
9
9
  end # class Region
10
10
 
11
11
  end # module WorldDB::Models
@@ -1,4 +1,4 @@
1
1
 
2
2
  module SportDB
3
- VERSION = '0.7.0'
3
+ VERSION = '0.7.1'
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 0
10
- version: 0.7.0
9
+ - 1
10
+ version: 0.7.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gerald Bauer