sportdb 1.9.9 → 1.9.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c13885608b50ec48f29c56dc3429313008d3461c
4
- data.tar.gz: 04a9877e31779ca9d2d0a6487798a9c3bd12064c
3
+ metadata.gz: ed1aa660c6f5bcc10d6197bbf48494c6fe6e0e3f
4
+ data.tar.gz: 6ab3685c798fff2e82e94af70b5d8c9e048d8db2
5
5
  SHA512:
6
- metadata.gz: 7f1d24676dd2a3eeb115b508fc63def91b9384720d64f74ce6ab2f8ef7252b4c0d6db83829ad78d6c917f0fd9fa8ef83943983da78ddfde5d95526bd51853218
7
- data.tar.gz: 2741036308c8e6491867c3967a4e9c741fff68df5bec4b6c5051e1de66109ded0a187ca84f54dd5a92e0bebbcfb3063c491bfe179afd72ccc19929608d5603b6
6
+ metadata.gz: a2f5811eb0d21e5f3ec58df3c9c087998017fc716a41b4105c96a31164fed79018e922367a14163dac30ced4151ba6bb93ed006c5bb8e270f5fd41458fd93043
7
+ data.tar.gz: dd6220cddf7565946b24b2e471efba17e93c29f47366abed585bd3bea4d3556190d557ebcbf00bdc64fe6597e98e5e3e53eee144bbb6772ea8f6809dfc94167c
@@ -86,9 +86,8 @@ class Team < ActiveRecord::Base
86
86
  new_attributes[ :web ] = value
87
87
  elsif value =~ /^[A-Z][A-Z0-9][A-Z0-9_]?$/ ## assume two or three-letter code e.g. FCB, RBS, etc.
88
88
  new_attributes[ :code ] = value
89
- elsif value =~ /^[a-z]{2}$/ ## assume two-letter country key e.g. at,de,mx,etc.
90
- ## fix: allow country letter with three e.g. eng,sco,wal,nir, etc. !!!
91
- ## fix: if country does NOT match / NOT found - just coninue w/ next match!!!!
89
+ elsif value =~ /^[a-z]{2,3}$/ ## assume two or three-letter country key e.g. at,de,mx, or eng,sco,wal,nir etc.
90
+ ## fix: if country does NOT match / NOT found - just continue w/ next match!!!!
92
91
  # - just issue an error/warn do NOT crash
93
92
  value_country = Country.find_by_key!( value )
94
93
  new_attributes[ :country_id ] = value_country.id
@@ -3,7 +3,7 @@ module SportDb
3
3
 
4
4
  MAJOR = 1 ## todo: namespace inside version or something - why? why not??
5
5
  MINOR = 9
6
- PATCH = 9
6
+ PATCH = 10
7
7
  VERSION = [MAJOR,MINOR,PATCH].join('.')
8
8
 
9
9
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.9
4
+ version: 1.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer