Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

up demo setup

  • Loading branch information...
commit d5b5dd2e167bd748074ea8458df1130a5fca9e4a 1 parent 64dda51
@geraldb geraldb authored
View
2  Gemfile
@@ -12,7 +12,7 @@ gem 'bcrypt-ruby', '~> 3.0.0'
gem 'worlddb', '2.0.4' # see https://github.com/geraldb/world.db.ruby
-gem 'sportdb', '1.9.7' # see https://github.com/geraldb/sport.db.ruby
+gem 'sportdb', '1.9.8' # see https://github.com/geraldb/sport.db.ruby
gem 'activityutils', '0.1.0' # see https://github.com/rubylibs/activityutils
gem 'props', '1.1.1'
View
20 Gemfile.lock
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/openfootball/at-austria.git
- revision: ac194ba1a3ed8ec3bb414312e2d6a24894fb4831
+ revision: c5a616f450a276906eb9543f97d4dbd0dab49ecb
specs:
sportdb-data-at (9.9.9)
@@ -18,25 +18,25 @@ GIT
GIT
remote: https://github.com/openfootball/de-deutschland.git
- revision: ee12914999fa8c718e453c62c73d6fc1bd8648e1
+ revision: 064f94e75fbb44e9f526c8b7914162b8888fd860
specs:
sportdb-data-de (9.9.9)
GIT
remote: https://github.com/openfootball/en-england.git
- revision: eb44fa6b8fc10062069887681983441c15f082c0
+ revision: 51bf7f01e52c599ca01b8ea39e4dca5a29341d88
specs:
sportdb-data-en (9.9.9)
GIT
remote: https://github.com/openfootball/es-espana.git
- revision: 1191bb959f3f40f13f69024c9b01b92cdffbc0da
+ revision: 75405dc04168b143880f4030857c957cd04d9772
specs:
sportdb-data-es (9.9.9)
GIT
remote: https://github.com/openfootball/europe-champions-league.git
- revision: 7f30295e4bcdce7714f2d651c7e36d3ff77b7f69
+ revision: 408ea23fa97919f58376023fb56214e10d35fc15
specs:
sportdb-data-europe-champions-league (9.9.9)
@@ -48,7 +48,7 @@ GIT
GIT
remote: https://github.com/openfootball/it-italy.git
- revision: 48e2a445897ee081924dc94b8dc4cab31ab84523
+ revision: d31dbe502f2d4a3ffb8f860f5d4746bdca2e5a19
specs:
sportdb-data-it (9.9.9)
@@ -164,7 +164,7 @@ GEM
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
- kramdown (1.4.1)
+ kramdown (1.4.2)
logutils (0.6.0)
mail (2.4.4)
i18n (>= 0.4.0)
@@ -215,7 +215,7 @@ GEM
rdoc (3.12.2)
json (~> 1.4)
ri_cal (0.8.8)
- sass (3.4.3)
+ sass (3.4.5)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
@@ -224,7 +224,7 @@ GEM
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
- sportdb (1.9.7)
+ sportdb (1.9.8)
activerecord
activerecord-utils
fetcher (>= 0.3)
@@ -305,7 +305,7 @@ DEPENDENCIES
ri_cal
sass-rails (~> 3.2.3)
sinatra
- sportdb (= 1.9.7)
+ sportdb (= 1.9.8)
sportdb-admin (= 0.3.0)
sportdb-data-american-football (= 9.9.9)!
sportdb-data-at (= 9.9.9)!
View
15 db/setups/demo/pools.rb
@@ -24,15 +24,16 @@
pool2.players << demo
=end
-=begin
-cl = Event.find_by_key!( 'cl.2013/14' )
-pool3 = Pool.create!( event: cl, title: 'Demo', user: wayne, welcome: '' )
+cl = Event.find_by_key!( 'cl.2014/15' )
+
+pool = Pool.create!( event: cl, title: 'Demo', user: wayne, welcome: '' )
+
+pool.players << wayne
+pool.players << demo
-pool3.players << wayne
-pool3.players << demo
-=end
+=begin
world = Event.find_by_key!( 'world.2014' )
pool4 = Pool.create!( event: world, title: 'Demo', user: lionel, welcome: '' )
@@ -41,4 +42,4 @@
pool4.players << cristiano
pool4.players << wayne
pool4.players << demo
-
+=end
View
26 db/setups/demo/seeds.rb
@@ -8,26 +8,26 @@
# ['world-cup', '2014_quali_europe']
# ]
-sportdb_setups += [
- ['national-teams', 'all'],
- ['world-cup', '2014']
-]
+# sportdb_setups += [
+# ['national-teams', 'all'],
+# ['world-cup', '2014']
+# ]
-=begin
# clubs
# - champions league (europe/uefa)
# - deutsche bundesliga
sportdb_setups += [
- ['world', 'teams'],
- ['at-austria', 'teams'],
- ['en-england', 'teams'],
- ['es-espana', 'teams'],
- ['it-italy', 'teams'],
- ['de-deutschland', '2013_14'],
- ['europe-champions-league', '2013_14']
+ ['clubs', 'clubs'],
+ ['at-austria', 'clubs'],
+ ['de-deutschland', 'clubs'],
+ ['en-england', 'clubs'],
+ ['es-espana', 'clubs'],
+ ['it-italy', 'clubs'],
+ ['fr-france', 'clubs'],
+ ['ch-confoederatio-helvetica', 'clubs'],
+ ['europe-champions-league', '2014-15'],
]
-=end
sportdb_setups.each do |setup|
View
0  public/favicon.ico
No changes.
View
5 public/robots.txt
@@ -0,0 +1,5 @@
+# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
+#
+# To ban all spiders from the entire site uncomment the next two lines:
+# User-Agent: *
+# Disallow: /
Please sign in to comment.
Something went wrong with that request. Please try again.