fifa 2019.11.27 → 2020.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e92d74d15ab60d3388465521eca91f02d9249cc
4
- data.tar.gz: 6d5dea7f8ac0359d381c8e7610b9fdfb1f070893
3
+ metadata.gz: ecf763580ce7bb75f6633d59d099faf8971493ab
4
+ data.tar.gz: 04623752107b52153f7417c415bc01b50d83d5a3
5
5
  SHA512:
6
- metadata.gz: b7de9369524701703c7abdc13f5b66111e317c6f4bed788c3524a5223849923c77cea328dee524042ad0d50649caaabaa50ccdf410a7670acb5a1175f01290e6
7
- data.tar.gz: b913071e6cb50e05b8739bfb5956ea1949e04c685f821b031864e467e9422fde04a30c02187635be8ce671d94291952f2582bb5abe14fa648cf0b0e2824f2395
6
+ metadata.gz: 855d30fc13dac2bf1ce83d071a1c854e4f728cdf1f9384a7a3acedd4548461a2d7bdd2243e8933e69b609baad9230925f50ecbd5e1b3879a9742c349acdf4f80
7
+ data.tar.gz: b252f4ec65dfd0becb1db9d5596fe39691f3c90d2fa3f30672457f45d72dae02211522d16cd0377058f9b7ffaaeb63171172eec27fd07d01b3d7297ac35bc5f3
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # fifa - the world's football countries and codes (incl. non-member countries and irregular codes)
2
2
 
3
3
 
4
- * home :: [github.com/sportdb/sport.db](https://github.com/sportdb/sport.db)
5
- * bugs :: [github.com/sportdb/sport.db/issues](https://github.com/sportdb/sport.db/issues)
4
+ * home :: [github.com/sportdb/football.db](https://github.com/sportdb/football.db)
5
+ * bugs :: [github.com/sportdb/football.db/issues](https://github.com/sportdb/football.db/issues)
6
6
  * gem :: [rubygems.org/gems/fifa](https://rubygems.org/gems/fifa)
7
7
  * rdoc :: [rubydoc.info/gems/fifa](http://rubydoc.info/gems/fifa)
8
8
  * forum :: [opensport](http://groups.google.com/group/opensport)
@@ -117,7 +117,7 @@ That's it.
117
117
  The World's Football Association / Governing Body
118
118
  uses its own country list and (three-letter²) codes - see
119
119
  the [List of FIFA country codes @ Wikipedia](https://en.wikipedia.org/wiki/List_of_FIFA_country_codes)
120
- or the [`countries.txt`](https://github.com/sportdb/sport.db/blob/master/fifa/config/countries.txt) list shipping with this library.
120
+ or the [`countries.txt`](https://github.com/sportdb/football.db/blob/master/fifa/config/countries.txt) list shipping with this library.
121
121
 
122
122
  Trivia - The FIFA member list includes 211 countries (in 2019) while the United Nations (UN)
123
123
  member list only includes 193 countries.
@@ -156,7 +156,7 @@ from countries in use by regional confederations too, for example:
156
156
 
157
157
  ¹: [Fédération Internationale de Football Association (FIFA) @ Wikipedia](https://en.wikipedia.org/wiki/FIFA)
158
158
 
159
- ²: Northern Cyprus (TRNC) has a four-letter FIFA country code
159
+ ²: Northern Cyprus (TRNC) has a four-letter FIFA country code
160
160
 
161
161
 
162
162
  ## License
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ Hoe.spec 'fifa' do
8
8
  self.summary = "fifa - the world's football countries and codes (incl. non-member countries and irregular codes)"
9
9
  self.description = summary
10
10
 
11
- self.urls = ['https://github.com/sportdb/sport.db']
11
+ self.urls = ['https://github.com/sportdb/football.db']
12
12
 
13
13
  self.author = 'Gerald Bauer'
14
14
  self.email = 'opensport@googlegroups.com'
@@ -20,7 +20,7 @@ Hoe.spec 'fifa' do
20
20
  self.licenses = ['Public Domain']
21
21
 
22
22
  self.extra_deps = [
23
- ['sportdb-countries', '>= 0.5.1'],
23
+ ['sportdb-formats', '>= 1.0.1'],
24
24
  ]
25
25
 
26
26
  self.spec_extras = {
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
  ## 3rd party gems
5
- require 'sportdb/countries'
5
+ require 'sportdb/formats'
6
6
 
7
7
 
8
8
  ###
@@ -4,9 +4,9 @@
4
4
  ## note: use class for now - change to module - possible? - why? why not?
5
5
 
6
6
  class Fifa
7
- MAJOR = 2019 ## todo: namespace inside version or something - why? why not??
8
- MINOR = 11
9
- PATCH = 27
7
+ MAJOR = 2020 ## todo: namespace inside version or something - why? why not??
8
+ MINOR = 5
9
+ PATCH = 10
10
10
  VERSION = [MAJOR,MINOR,PATCH].join('.')
11
11
 
12
12
  def self.version
@@ -31,10 +31,6 @@ class TestCountries < MiniTest::Test
31
31
  assert_equal 'ENG', eng.fifa
32
32
  assert_equal ['fifa','uefa'], eng.tags
33
33
 
34
- assert_equal 'eng', eng[:key]
35
- assert_equal 'England', eng[:name]
36
- assert_equal 'ENG', eng[:fifa]
37
-
38
34
 
39
35
  aut = Fifa['AUT']
40
36
  assert_equal aut, Fifa['aut']
@@ -44,10 +40,6 @@ class TestCountries < MiniTest::Test
44
40
  assert_equal 'Austria', aut.name
45
41
  assert_equal 'AUT', aut.fifa
46
42
  assert_equal ['fifa','uefa'], aut.tags
47
-
48
- assert_equal 'at', aut[:key]
49
- assert_equal 'Austria', aut[:name]
50
- assert_equal 'AUT', aut[:fifa]
51
43
  end
52
44
 
53
45
  end # class TestCountries
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fifa
3
3
  version: !ruby/object:Gem::Version
4
- version: 2019.11.27
4
+ version: 2020.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-27 00:00:00.000000000 Z
11
+ date: 2020-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sportdb-countries
14
+ name: sportdb-formats
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.1
19
+ version: 1.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.5.1
26
+ version: 1.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rdoc
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ files:
76
76
  - test/helper.rb
77
77
  - test/test_countries.rb
78
78
  - test/test_orgs.rb
79
- homepage: https://github.com/sportdb/sport.db
79
+ homepage: https://github.com/sportdb/football.db
80
80
  licenses:
81
81
  - Public Domain
82
82
  metadata: {}