sportdb 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/sportdb/utils.rb CHANGED
@@ -17,3 +17,15 @@ class Time
17
17
 
18
18
  end # class Time
19
19
 
20
+
21
+ class File
22
+ def self.read_utf8( path )
23
+ open( path, 'r:bom|utf-8' ) do |file|
24
+ file.read
25
+ end
26
+ end
27
+ end # class File
28
+
29
+
30
+
31
+
@@ -1,4 +1,4 @@
1
1
 
2
2
  module SportDB
3
- VERSION = '0.9.0'
3
+ VERSION = '0.9.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: 59
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 0
10
- version: 0.9.0
9
+ - 1
10
+ version: 0.9.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gerald Bauer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-18 00:00:00 Z
18
+ date: 2012-11-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activerecord
@@ -150,14 +150,13 @@ files:
150
150
  - db/world/quali_2012_13_america.rb
151
151
  - db/world/quali_2012_13_america.txt
152
152
  - db/world/quali_2012_13_europe.rb
153
- - db/world/quali_2012_13_europe_c.rb
154
153
  - db/world/quali_2012_13_europe_c.txt
155
- - db/world/quali_2012_13_europe_i.rb
156
154
  - db/world/quali_2012_13_europe_i.txt
157
155
  - db/world/teams.rb
158
156
  - lib/sportdb.rb
159
157
  - lib/sportdb/cli/opts.rb
160
158
  - lib/sportdb/cli/runner.rb
159
+ - lib/sportdb/console.rb
161
160
  - lib/sportdb/keys.rb
162
161
  - lib/sportdb/loader.rb
163
162
  - lib/sportdb/models/badge.rb
@@ -1,26 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ###########################################
4
- ## WM 2014 - Qualification Europe Group C
5
- #
6
- # note: for teams see seeds/euro/teams.rb
7
-
8
- world = Event.find_world_quali_euro_2012_13!
9
-
10
- team_keys_worldc = [
11
- 'ger',
12
- 'fro',
13
- 'irl',
14
- 'kaz',
15
- 'aut',
16
- 'swe' ]
17
-
18
- world.add_teams_from_ary!( team_keys_worldc )
19
-
20
-
21
- worldc = Group.create!( event: world, pos: 3, title: 'Gruppe C' )
22
-
23
- worldc.add_teams_from_ary!( team_keys_worldc )
24
-
25
- ## The End
26
- #################
@@ -1,26 +0,0 @@
1
- # encoding: utf-8
2
-
3
- ###########################################
4
- ## WM 2014 - Qualification Europe Group I
5
-
6
- # note: for teams see seeds/euro/teams.rb
7
-
8
- world = Event.find_world_quali_euro_2012_13!
9
-
10
- team_keys_worldi = [
11
- 'fra',
12
- 'esp',
13
- 'blr',
14
- 'fin',
15
- 'geo' ]
16
-
17
- world.add_teams_from_ary!( team_keys_worldi )
18
-
19
-
20
- worldi = Group.create!( event: world, pos: 9, title: 'Gruppe I' )
21
-
22
- worldi.add_teams_from_ary!( team_keys_worldi )
23
-
24
-
25
- ## The End
26
- #################