sportdb-models 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,29 +1,27 @@
1
- # encoding: utf-8
2
-
3
- module SportDb
4
- module Module
5
- module Models
6
- MAJOR = 2
7
- MINOR = 0
8
- PATCH = 2
9
- VERSION = [MAJOR,MINOR,PATCH].join('.')
10
-
11
- def self.version
12
- VERSION
13
- end
14
-
15
- def self.banner
16
- "sportdb-models/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
17
- end
18
-
19
- def self.root
20
- "#{File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}"
21
- end
22
-
23
- end # module Models
24
- end # module Module
25
-
26
- #################
27
- ## add convenience shortcuts
28
- VERSION = Module::Models::VERSION
29
- end # module SportDb
1
+ module SportDb
2
+ module Module
3
+ module Models
4
+ MAJOR = 2
5
+ MINOR = 0
6
+ PATCH = 3
7
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
8
+
9
+ def self.version
10
+ VERSION
11
+ end
12
+
13
+ def self.banner
14
+ "sportdb-models/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
15
+ end
16
+
17
+ def self.root
18
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}"
19
+ end
20
+
21
+ end # module Models
22
+ end # module Module
23
+
24
+ #################
25
+ ## add convenience shortcuts
26
+ VERSION = Module::Models::VERSION
27
+ end # module SportDb
@@ -1,46 +1,46 @@
1
- ## minitest setup
2
- require 'minitest/autorun'
3
-
4
-
5
- ## our own code
6
- require 'sportdb/models'
7
-
8
-
9
- #####################
10
- # Models shortcuts
11
-
12
- Country = WorldDb::Model::Country
13
-
14
- Person = PersonDb::Model::Person
15
-
16
- League = SportDb::Model::League
17
- Season = SportDb::Model::Season
18
- Event = SportDb::Model::Event
19
- Team = SportDb::Model::Team
20
- Lineup = SportDb::Model::Lineup
21
- Assoc = SportDb::Model::Assoc
22
- AssocAssoc = SportDb::Model::AssocAssoc
23
-
24
- Round = SportDb::Model::Round
25
- Group = SportDb::Model::Group
26
- Stage = SportDb::Model::Stage
27
- Match = SportDb::Model::Match
28
- MatchCursor = SportDb::Model::MatchCursor
29
-
30
-
31
- EventStanding = SportDb::Model::EventStanding
32
- EventStandingEntry = SportDb::Model::EventStandingEntry
33
- GroupStanding = SportDb::Model::GroupStanding
34
- GroupStandingEntry = SportDb::Model::GroupStandingEntry
35
- AlltimeStanding = SportDb::Model::AlltimeStanding
36
- AlltimeStandingEntry = SportDb::Model::AlltimeStandingEntry
37
-
38
-
39
- #################################
40
- # setup db -> schema / tables
41
-
42
- SportDb.setup_in_memory_db
43
-
44
- ## test helpers here
45
- SportDb.delete!
46
- SportDb.tables
1
+ ## minitest setup
2
+ require 'minitest/autorun'
3
+
4
+
5
+ ## our own code
6
+ require 'sportdb/models'
7
+
8
+
9
+ #####################
10
+ # Models shortcuts
11
+
12
+ Country = WorldDb::Model::Country
13
+
14
+ Person = PersonDb::Model::Person
15
+
16
+ League = SportDb::Model::League
17
+ Season = SportDb::Model::Season
18
+ Event = SportDb::Model::Event
19
+ Team = SportDb::Model::Team
20
+ Lineup = SportDb::Model::Lineup
21
+ Assoc = SportDb::Model::Assoc
22
+ AssocAssoc = SportDb::Model::AssocAssoc
23
+
24
+ Round = SportDb::Model::Round
25
+ Group = SportDb::Model::Group
26
+ Stage = SportDb::Model::Stage
27
+ Match = SportDb::Model::Match
28
+ MatchCursor = SportDb::Model::MatchCursor
29
+
30
+
31
+ EventStanding = SportDb::Model::EventStanding
32
+ EventStandingEntry = SportDb::Model::EventStandingEntry
33
+ GroupStanding = SportDb::Model::GroupStanding
34
+ GroupStandingEntry = SportDb::Model::GroupStandingEntry
35
+ AlltimeStanding = SportDb::Model::AlltimeStanding
36
+ AlltimeStandingEntry = SportDb::Model::AlltimeStandingEntry
37
+
38
+
39
+ #################################
40
+ # setup db -> schema / tables
41
+
42
+ SportDb.setup_in_memory_db
43
+
44
+ ## test helpers here
45
+ SportDb.delete!
46
+ SportDb.tables
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb-models
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-01 00:00:00.000000000 Z
11
+ date: 2020-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: worlddb-models
@@ -42,30 +42,36 @@ dependencies:
42
42
  name: rdoc
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '4.0'
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '7'
48
51
  type: :development
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
53
56
  - !ruby/object:Gem::Version
54
57
  version: '4.0'
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '7'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: hoe
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '3.16'
67
+ version: '3.22'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '3.16'
74
+ version: '3.22'
69
75
  description: sportdb-models - sport.db schema 'n' models for easy (re)use
70
76
  email: opensport@googlegroups.com
71
77
  executables: []