sportdb-admin 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +12 -0
- data/app/assets/stylesheets/sport_db_admin/application.css.scss +12 -1
- data/app/controllers/sport_db_admin/event_quotes_controller.rb +19 -0
- data/app/controllers/sport_db_admin/group_quotes_controller.rb +19 -0
- data/app/controllers/sport_db_admin/quotes_controller.rb +19 -0
- data/app/controllers/sport_db_admin/services_controller.rb +19 -0
- data/app/controllers/sport_db_admin/sources_controller.rb +14 -0
- data/app/helpers/sport_db_admin/application_helper.rb +2 -2
- data/app/helpers/sport_db_admin/format_helper.rb +8 -0
- data/app/helpers/sport_db_admin/part_helper.rb +17 -0
- data/app/views/layouts/sport_db_admin/sport_db_admin.html.erb +17 -2
- data/app/views/sport_db_admin/event_quotes/index.html.erb +15 -0
- data/app/views/sport_db_admin/events/show.html.erb +13 -0
- data/app/views/sport_db_admin/group_quotes/index.html.erb +16 -0
- data/app/views/sport_db_admin/quotes/index.html.erb +24 -0
- data/app/views/sport_db_admin/services/index.html.erb +17 -0
- data/app/views/sport_db_admin/shared/_table_event_quotes.html.erb +22 -0
- data/app/views/sport_db_admin/shared/_table_game_quotes.html.erb +25 -0
- data/app/views/sport_db_admin/sources/index.html.erb +55 -0
- data/config/routes.rb +10 -1
- data/lib/sportdb/admin/version.rb +1 -1
- metadata +27 -21
- checksums.yaml +0 -7
data/Manifest.txt
CHANGED
@@ -5,11 +5,16 @@ Rakefile
|
|
5
5
|
app/assets/javascripts/sport_db_admin/application.js
|
6
6
|
app/assets/stylesheets/sport_db_admin/application.css.scss
|
7
7
|
app/controllers/sport_db_admin/countries_controller.rb
|
8
|
+
app/controllers/sport_db_admin/event_quotes_controller.rb
|
8
9
|
app/controllers/sport_db_admin/events_controller.rb
|
9
10
|
app/controllers/sport_db_admin/games_controller.rb
|
11
|
+
app/controllers/sport_db_admin/group_quotes_controller.rb
|
10
12
|
app/controllers/sport_db_admin/pages_controller.rb
|
13
|
+
app/controllers/sport_db_admin/quotes_controller.rb
|
11
14
|
app/controllers/sport_db_admin/regions_controller.rb
|
12
15
|
app/controllers/sport_db_admin/rounds_controller.rb
|
16
|
+
app/controllers/sport_db_admin/services_controller.rb
|
17
|
+
app/controllers/sport_db_admin/sources_controller.rb
|
13
18
|
app/controllers/sport_db_admin/sport_db_admin_controller.rb
|
14
19
|
app/controllers/sport_db_admin/teams_controller.rb
|
15
20
|
app/helpers/sport_db_admin/api_helper.rb
|
@@ -22,14 +27,20 @@ app/helpers/sport_db_admin/routes_helper.rb
|
|
22
27
|
app/views/layouts/sport_db_admin/sport_db_admin.html.erb
|
23
28
|
app/views/sport_db_admin/countries/index.html.erb
|
24
29
|
app/views/sport_db_admin/countries/show.html.erb
|
30
|
+
app/views/sport_db_admin/event_quotes/index.html.erb
|
25
31
|
app/views/sport_db_admin/events/index.html.erb
|
26
32
|
app/views/sport_db_admin/events/show.html.erb
|
27
33
|
app/views/sport_db_admin/games/_games.html.erb
|
28
34
|
app/views/sport_db_admin/games/index.html.erb
|
35
|
+
app/views/sport_db_admin/group_quotes/index.html.erb
|
29
36
|
app/views/sport_db_admin/pages/about.html.erb
|
30
37
|
app/views/sport_db_admin/pages/index.html.erb
|
38
|
+
app/views/sport_db_admin/quotes/index.html.erb
|
31
39
|
app/views/sport_db_admin/regions/index.html.erb
|
32
40
|
app/views/sport_db_admin/rounds/index.html.erb
|
41
|
+
app/views/sport_db_admin/services/index.html.erb
|
42
|
+
app/views/sport_db_admin/shared/_table_event_quotes.html.erb
|
43
|
+
app/views/sport_db_admin/shared/_table_game_quotes.html.erb
|
33
44
|
app/views/sport_db_admin/shared/_td_game_date.html.erb
|
34
45
|
app/views/sport_db_admin/shared/_td_game_debug.html.erb
|
35
46
|
app/views/sport_db_admin/shared/_td_game_flags.html.erb
|
@@ -38,6 +49,7 @@ app/views/sport_db_admin/shared/_td_game_score.html.erb
|
|
38
49
|
app/views/sport_db_admin/shared/_td_game_team1.html.erb
|
39
50
|
app/views/sport_db_admin/shared/_td_game_team2.html.erb
|
40
51
|
app/views/sport_db_admin/shared/_team_world_tree.html.erb
|
52
|
+
app/views/sport_db_admin/sources/index.html.erb
|
41
53
|
app/views/sport_db_admin/teams/_teams.html.erb
|
42
54
|
app/views/sport_db_admin/teams/index.html.erb
|
43
55
|
app/views/sport_db_admin/teams/index_clubs.html.erb
|
@@ -28,6 +28,16 @@ a {
|
|
28
28
|
}
|
29
29
|
|
30
30
|
|
31
|
+
// todo/fix: move odds to its own stylesheet odds.css.csss and import?
|
32
|
+
|
33
|
+
.odds {
|
34
|
+
background-color: powderblue;
|
35
|
+
* { font-size: 16px*0.8; }
|
36
|
+
.center { text-align: center; }
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
|
31
41
|
.team-count,
|
32
42
|
.city-count,
|
33
43
|
.event-count,
|
@@ -43,7 +53,8 @@ table {
|
|
43
53
|
td.city-key,
|
44
54
|
td.country-key,
|
45
55
|
td.region-key,
|
46
|
-
td.league-key
|
56
|
+
td.league-key,
|
57
|
+
td.service-key {
|
47
58
|
color: $dark-gray;
|
48
59
|
font-size: 12px; // ~80%
|
49
60
|
* {
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
### todo/fix:
|
4
|
+
# move into its own subfolder?
|
5
|
+
# optional controller for market plugin/addon
|
6
|
+
|
7
|
+
module SportDbAdmin
|
8
|
+
|
9
|
+
class EventQuotesController < SportDbAdminController
|
10
|
+
|
11
|
+
# GET /quotes
|
12
|
+
def index
|
13
|
+
@quotes = EventQuote.joins( :event, :service ).order( 'events.start_at desc, service_id, odds' ).all
|
14
|
+
end
|
15
|
+
|
16
|
+
|
17
|
+
end # class EventQuotesController
|
18
|
+
|
19
|
+
end # module SportDbAdmin
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
### todo/fix:
|
4
|
+
# move into its own subfolder?
|
5
|
+
# optional controller for market plugin/addon
|
6
|
+
|
7
|
+
module SportDbAdmin
|
8
|
+
|
9
|
+
class GroupQuotesController < SportDbAdminController
|
10
|
+
|
11
|
+
# GET /quotes
|
12
|
+
def index
|
13
|
+
@quotes = GroupQuote.joins( :service, :group => :event ).order( 'events.start_at desc, group_id, service_id, odds' ).all
|
14
|
+
end
|
15
|
+
|
16
|
+
|
17
|
+
end # class GroupQuotesController
|
18
|
+
|
19
|
+
end # module SportDbAdmin
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
### todo/fix:
|
4
|
+
# move into its own subfolder?
|
5
|
+
# optional controller for market plugin/addon
|
6
|
+
|
7
|
+
module SportDbAdmin
|
8
|
+
|
9
|
+
class QuotesController < SportDbAdminController
|
10
|
+
|
11
|
+
# GET /quotes
|
12
|
+
def index
|
13
|
+
@quotes = Quote.joins( :game ).order( 'games.play_at desc' ).all
|
14
|
+
end
|
15
|
+
|
16
|
+
|
17
|
+
end # class QuotesController
|
18
|
+
|
19
|
+
end # module SportDbAdmin
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
### todo/fix:
|
4
|
+
# move into its own subfolder?
|
5
|
+
# optional controller for market plugin/addon
|
6
|
+
|
7
|
+
module SportDbAdmin
|
8
|
+
|
9
|
+
class ServicesController < SportDbAdminController
|
10
|
+
|
11
|
+
# GET /services
|
12
|
+
def index
|
13
|
+
@services = Service.all
|
14
|
+
end
|
15
|
+
|
16
|
+
|
17
|
+
end # class ServicesController
|
18
|
+
|
19
|
+
end # module SportDbAdmin
|
@@ -6,8 +6,8 @@ module ApplicationHelper
|
|
6
6
|
## todo/fix: use version from wettpool module
|
7
7
|
content_tag :div do
|
8
8
|
link_to( 'Questions? Comments?', 'http://groups.google.com/group/opensport' ) + " | " +
|
9
|
-
link_to( "world.db/#{WorldDb::VERSION}", 'https://github.com/geraldb/world.db' ) + ', ' +
|
10
|
-
link_to( "sport.db/#{SportDb::VERSION}", 'https://github.com/geraldb/sport.db' ) + ', ' +
|
9
|
+
link_to( "world.db/#{WorldDb::VERSION}", 'https://github.com/geraldb/world.db.ruby' ) + ', ' +
|
10
|
+
link_to( "sport.db/#{SportDb::VERSION}", 'https://github.com/geraldb/sport.db.ruby' ) + ', ' +
|
11
11
|
link_to( "sport.db.admin/#{SportDbAdmin::VERSION}", 'https://github.com/geraldb/sport.db.admin' ) + ' - ' +
|
12
12
|
content_tag( :span, "Ruby/#{RUBY_VERSION} (#{RUBY_RELEASE_DATE}/#{RUBY_PLATFORM}) on") + ' ' +
|
13
13
|
content_tag( :span, "Rails/#{Rails.version} (#{Rails.env})" ) + " | " +
|
@@ -8,6 +8,23 @@ module PartHelper
|
|
8
8
|
#
|
9
9
|
# by convention all start w/ render_
|
10
10
|
|
11
|
+
############
|
12
|
+
# partial for market plugin
|
13
|
+
|
14
|
+
|
15
|
+
def render_event_quotes( event, opts={} )
|
16
|
+
render partial: 'sport_db_admin/shared/table_event_quotes', locals: { event: event }
|
17
|
+
end
|
18
|
+
|
19
|
+
## todo: add render_group_goutes !!!!
|
20
|
+
|
21
|
+
def render_game_quotes( game, opts={} )
|
22
|
+
render partial: 'sport_db_admin/shared/table_game_quotes', locals: { game: game }
|
23
|
+
end
|
24
|
+
|
25
|
+
|
26
|
+
###########
|
27
|
+
# partial for core/regular code
|
11
28
|
|
12
29
|
def render_game_date( game, opts={} )
|
13
30
|
render partial: 'sport_db_admin/shared/td_game_date', locals: { game: game }
|
@@ -17,15 +17,30 @@
|
|
17
17
|
<%= link_to 'Rounds', rounds_path() %> •
|
18
18
|
<%= link_to 'Past Games', past_games_path() %> •
|
19
19
|
<%= link_to 'Upcoming Games', games_path() %> •
|
20
|
+
<%= link_to 'Sources', sources_path() %> •
|
20
21
|
<%= link_to 'About', about_path() %>
|
22
|
+
|
23
|
+
|
21
24
|
<!-- todo: add some more links -->
|
22
25
|
|
26
|
+
|
27
|
+
<% if defined?( SportDb::Market ) %>
|
28
|
+
|| Market |
|
29
|
+
<%= link_to 'Services', services_path() %> •
|
30
|
+
<%= link_to 'Event Quotes', event_quotes_path() %> •
|
31
|
+
<%= link_to 'Group Quotes', group_quotes_path() %> •
|
32
|
+
<%= link_to 'Quotes', quotes_path() %>
|
33
|
+
<% end %>
|
34
|
+
|
35
|
+
|
23
36
|
<% if sportdb_api_defined? %>
|
24
37
|
.::.
|
25
38
|
|
26
|
-
|
27
|
-
|
39
|
+
<!-- fix/check: does it work for nested routes /e.g. db/api/v1 or /api/v1 ?? -->
|
40
|
+
<%= link_to 'Web Service / HTTP JSON API', api_path() %>
|
28
41
|
<% end %>
|
42
|
+
|
43
|
+
|
29
44
|
</p>
|
30
45
|
|
31
46
|
<div class='content'>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
<h2> <%= EventQuote.count %> Event Quotes</h2>
|
3
|
+
|
4
|
+
<table>
|
5
|
+
<% @quotes.each do |quote| %>
|
6
|
+
<tr>
|
7
|
+
<td><%= quote.service.title %></td>
|
8
|
+
<td class='event-key'><%= quote.event.key %></td>
|
9
|
+
<td><%= quote.team.title %></td>
|
10
|
+
<td><%= quote.odds %></td>
|
11
|
+
<td><%= quote.comments %></td>
|
12
|
+
<td><%= quote.event.title %></td>
|
13
|
+
</tr>
|
14
|
+
<% end %>
|
15
|
+
</table>
|
@@ -24,6 +24,13 @@
|
|
24
24
|
</table>
|
25
25
|
|
26
26
|
|
27
|
+
<% if defined?( SportDb::Market ) %>
|
28
|
+
<p>
|
29
|
+
<%= render_event_quotes( @event ) %>
|
30
|
+
</p>
|
31
|
+
<% end %>
|
32
|
+
|
33
|
+
|
27
34
|
<% if @event.groups.count > 0 %>
|
28
35
|
<h4><%= @event.groups.count %> Groups</h4>
|
29
36
|
|
@@ -90,6 +97,12 @@
|
|
90
97
|
<%= render_game_score( game ) %>
|
91
98
|
<%= render_game_team2( game ) %>
|
92
99
|
|
100
|
+
<% if defined?( SportDb::Market ) %>
|
101
|
+
<td>
|
102
|
+
<%= render_game_quotes( game ) %>
|
103
|
+
</td>
|
104
|
+
<% end %>
|
105
|
+
|
93
106
|
<td>
|
94
107
|
<!-- todo: move to partial -->
|
95
108
|
<%= "(#{game.group.title})" if game.group.present? %>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
<h2> <%= GroupQuote.count %> Group Quotes</h2>
|
3
|
+
|
4
|
+
<table>
|
5
|
+
<% @quotes.each do |quote| %>
|
6
|
+
<tr>
|
7
|
+
<td><%= quote.service.title %></td>
|
8
|
+
<td class='event-key'><%= quote.group.event.key %></td>
|
9
|
+
<td><%= quote.group.title %></td><!-- todo: add group to key e.g. world.cu/A or similar ?? -->
|
10
|
+
<td><%= quote.team.title %></td>
|
11
|
+
<td><%= quote.odds %></td>
|
12
|
+
<td><%= quote.comments %></td>
|
13
|
+
<td><%= quote.group.event.title %></td>
|
14
|
+
</tr>
|
15
|
+
<% end %>
|
16
|
+
</table>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<h3><%= Quote.count %> Quotes</h3>
|
2
|
+
|
3
|
+
<table>
|
4
|
+
<% @quotes.each do |quote| %>
|
5
|
+
<tr>
|
6
|
+
<td><%= quote.service.title %></td>
|
7
|
+
<td class='event-key'><%= quote.game.round.event.key %></td>
|
8
|
+
|
9
|
+
<%= render_game_team1( quote.game ) %>
|
10
|
+
|
11
|
+
<td><%= quote.odds1 %></td>
|
12
|
+
<td style='white-space: nowrap;'>X <%= quote.oddsx %></td>
|
13
|
+
|
14
|
+
<%= render_game_team2( quote.game ) %>
|
15
|
+
|
16
|
+
<td><%= quote.odds2 %></td>
|
17
|
+
<td><%= quote.comments %></td>
|
18
|
+
|
19
|
+
<td><%= quote.game.play_at %></td>
|
20
|
+
|
21
|
+
<%= render_game_round( quote.game ) %>
|
22
|
+
</tr>
|
23
|
+
<% end %>
|
24
|
+
</table>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<h3><%= Service.count %> Services</h3>
|
2
|
+
|
3
|
+
|
4
|
+
<table>
|
5
|
+
<% @services.each do |service| %>
|
6
|
+
|
7
|
+
<tr>
|
8
|
+
<td class='service-key'><%= service.key %></td>
|
9
|
+
<td><%= service.title %></td>
|
10
|
+
|
11
|
+
<!-- todo: add stats
|
12
|
+
number of event-,group-,game- quotes -->
|
13
|
+
|
14
|
+
</tr>
|
15
|
+
|
16
|
+
<% end %>
|
17
|
+
</table>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- paras: requires event -->
|
2
|
+
|
3
|
+
<table class='odds'>
|
4
|
+
<tr>
|
5
|
+
<% Service.all.each do |srv| %>
|
6
|
+
<td style='vertical-align: top;'>
|
7
|
+
<% srv_event_quotes = srv.event_quotes.where( :event_id => event.id ) %>
|
8
|
+
<!-- todo: check use .size or .count ?? or nil?? -->
|
9
|
+
<% if srv_event_quotes.size > 0 %>
|
10
|
+
<table>
|
11
|
+
<tr><td colspan='2'><%= srv.title %></td><tr>
|
12
|
+
<% srv_event_quotes.each do |quote| %>
|
13
|
+
<tr><td><%= quote.team.title %></td>
|
14
|
+
<td><%= fmt_quote( quote.odds ) %></td>
|
15
|
+
</tr>
|
16
|
+
<% end %><!-- each qoute -->
|
17
|
+
</table>
|
18
|
+
<% end %>
|
19
|
+
</td>
|
20
|
+
<% end %><!-- each service -->
|
21
|
+
</tr>
|
22
|
+
</table>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<% if game.quotes.count > 0 %>
|
4
|
+
|
5
|
+
<table class='odds'>
|
6
|
+
<tr>
|
7
|
+
<td class='center'>1</td>
|
8
|
+
<td class='center'>X</td>
|
9
|
+
<td class='center'>2</td>
|
10
|
+
<td><!-- service --></td>
|
11
|
+
</tr>
|
12
|
+
<% game.quotes.each do |quote| %>
|
13
|
+
<tr>
|
14
|
+
<td><%= fmt_quote( quote.odds1 ) %></td>
|
15
|
+
<td><%= fmt_quote( quote.oddsx ) %></td>
|
16
|
+
<td><%= fmt_quote( quote.odds2 ) %></td>
|
17
|
+
<td>(<%= quote.service.title %>)</td>
|
18
|
+
<!-- add last updated? -->
|
19
|
+
</tr>
|
20
|
+
<% end %><!-- each quote -->
|
21
|
+
</table>
|
22
|
+
|
23
|
+
<% else %>
|
24
|
+
<!-- no quotes -->
|
25
|
+
<% end %>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
|
2
|
+
<h3><%= Event.count %> Events</h3>
|
3
|
+
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<% League.all.each do |league| %>
|
7
|
+
<% if league.events.count > 0 %>
|
8
|
+
<tr>
|
9
|
+
<td class='league-key'><%= league.key %></td>
|
10
|
+
<td><%= league.title %></td>
|
11
|
+
<td>
|
12
|
+
<span class='event-count'>
|
13
|
+
(<%= league.events.count %>)
|
14
|
+
</span>
|
15
|
+
</td>
|
16
|
+
<td>
|
17
|
+
|
18
|
+
<table>
|
19
|
+
<!-- todo: !!! event sort by season title/year -->
|
20
|
+
<% league.events.order('start_at desc').each_with_index do |event,index| %>
|
21
|
+
<tr>
|
22
|
+
<td style='white-space: nowrap;'>
|
23
|
+
<%= link_to_event( event ) %>
|
24
|
+
|
|
25
|
+
<%= event.config %> •
|
26
|
+
<% event.sources.gsub(' ','' ).split(',').each do |source| %>
|
27
|
+
<%= source %>
|
28
|
+
<!-- todo/fix: add new map for edit !!!! -->
|
29
|
+
<%
|
30
|
+
dlbase = SportDb::Updater.new.map_event_to_dlurl( event )
|
31
|
+
if dlbase.present?
|
32
|
+
dlbase = dlbase.sub('master/', 'blob/master/').sub('raw.','')
|
33
|
+
%>
|
34
|
+
<%= link_to '[Edit]', "#{dlbase}/#{source}.txt" %>
|
35
|
+
<% else %>
|
36
|
+
!!FIX
|
37
|
+
<% end %>
|
38
|
+
<% end %>
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
<% end %>
|
42
|
+
</table>
|
43
|
+
|
44
|
+
</td>
|
45
|
+
<td style='white-space: nowrap;'>
|
46
|
+
<% if league.country.present? %>
|
47
|
+
<%= flag_for_country( league.country) %>
|
48
|
+
<%= link_to_country( league.country ) %>
|
49
|
+
(<%= league.country.code %>)
|
50
|
+
<% end %>
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
<% end %><!-- if league.events.count > 0 -->
|
54
|
+
<% end %><!-- each league -->
|
55
|
+
</table>
|
data/config/routes.rb
CHANGED
@@ -11,6 +11,7 @@ SportDbAdmin::Engine.routes.draw do
|
|
11
11
|
get 'clubs', :to => 'teams#index_clubs', :as => 'clubs'
|
12
12
|
get 'national_teams', :to => 'teams#index_national_teams', :as => 'national_teams'
|
13
13
|
|
14
|
+
resources :sources
|
14
15
|
resources :countries
|
15
16
|
resources :regions
|
16
17
|
resources :rounds
|
@@ -20,7 +21,15 @@ SportDbAdmin::Engine.routes.draw do
|
|
20
21
|
get 'past', :on => :collection
|
21
22
|
end
|
22
23
|
|
23
|
-
|
24
|
+
# NB: optional routes for market plugin/addon
|
25
|
+
if defined?( SportDb::Market )
|
26
|
+
resources :services
|
27
|
+
resources :event_quotes
|
28
|
+
resources :group_quotes
|
29
|
+
resources :quotes
|
30
|
+
end
|
31
|
+
|
32
|
+
|
24
33
|
#######################
|
25
34
|
# add shortcut routing (friendly urls)
|
26
35
|
#
|
metadata
CHANGED
@@ -1,51 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportdb-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Gerald Bauer
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-09-07 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rdoc
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &80106050 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
21
|
+
version: '3.10'
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
|
-
version_requirements:
|
23
|
-
requirements:
|
24
|
-
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '4.0'
|
24
|
+
version_requirements: *80106050
|
27
25
|
- !ruby/object:Gem::Dependency
|
28
26
|
name: hoe
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &80105480 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
30
29
|
requirements:
|
31
30
|
- - ~>
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
32
|
+
version: '3.3'
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
requirements:
|
38
|
-
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '3.6'
|
35
|
+
version_requirements: *80105480
|
41
36
|
description: sportdb admin addon - rails engine
|
42
37
|
email: opensport@googlegroups.com
|
43
38
|
executables: []
|
44
39
|
extensions: []
|
45
40
|
extra_rdoc_files:
|
46
|
-
- History.md
|
47
41
|
- Manifest.txt
|
48
|
-
- README.md
|
49
42
|
files:
|
50
43
|
- History.md
|
51
44
|
- Manifest.txt
|
@@ -54,11 +47,16 @@ files:
|
|
54
47
|
- app/assets/javascripts/sport_db_admin/application.js
|
55
48
|
- app/assets/stylesheets/sport_db_admin/application.css.scss
|
56
49
|
- app/controllers/sport_db_admin/countries_controller.rb
|
50
|
+
- app/controllers/sport_db_admin/event_quotes_controller.rb
|
57
51
|
- app/controllers/sport_db_admin/events_controller.rb
|
58
52
|
- app/controllers/sport_db_admin/games_controller.rb
|
53
|
+
- app/controllers/sport_db_admin/group_quotes_controller.rb
|
59
54
|
- app/controllers/sport_db_admin/pages_controller.rb
|
55
|
+
- app/controllers/sport_db_admin/quotes_controller.rb
|
60
56
|
- app/controllers/sport_db_admin/regions_controller.rb
|
61
57
|
- app/controllers/sport_db_admin/rounds_controller.rb
|
58
|
+
- app/controllers/sport_db_admin/services_controller.rb
|
59
|
+
- app/controllers/sport_db_admin/sources_controller.rb
|
62
60
|
- app/controllers/sport_db_admin/sport_db_admin_controller.rb
|
63
61
|
- app/controllers/sport_db_admin/teams_controller.rb
|
64
62
|
- app/helpers/sport_db_admin/api_helper.rb
|
@@ -71,14 +69,20 @@ files:
|
|
71
69
|
- app/views/layouts/sport_db_admin/sport_db_admin.html.erb
|
72
70
|
- app/views/sport_db_admin/countries/index.html.erb
|
73
71
|
- app/views/sport_db_admin/countries/show.html.erb
|
72
|
+
- app/views/sport_db_admin/event_quotes/index.html.erb
|
74
73
|
- app/views/sport_db_admin/events/index.html.erb
|
75
74
|
- app/views/sport_db_admin/events/show.html.erb
|
76
75
|
- app/views/sport_db_admin/games/_games.html.erb
|
77
76
|
- app/views/sport_db_admin/games/index.html.erb
|
77
|
+
- app/views/sport_db_admin/group_quotes/index.html.erb
|
78
78
|
- app/views/sport_db_admin/pages/about.html.erb
|
79
79
|
- app/views/sport_db_admin/pages/index.html.erb
|
80
|
+
- app/views/sport_db_admin/quotes/index.html.erb
|
80
81
|
- app/views/sport_db_admin/regions/index.html.erb
|
81
82
|
- app/views/sport_db_admin/rounds/index.html.erb
|
83
|
+
- app/views/sport_db_admin/services/index.html.erb
|
84
|
+
- app/views/sport_db_admin/shared/_table_event_quotes.html.erb
|
85
|
+
- app/views/sport_db_admin/shared/_table_game_quotes.html.erb
|
82
86
|
- app/views/sport_db_admin/shared/_td_game_date.html.erb
|
83
87
|
- app/views/sport_db_admin/shared/_td_game_debug.html.erb
|
84
88
|
- app/views/sport_db_admin/shared/_td_game_flags.html.erb
|
@@ -87,6 +91,7 @@ files:
|
|
87
91
|
- app/views/sport_db_admin/shared/_td_game_team1.html.erb
|
88
92
|
- app/views/sport_db_admin/shared/_td_game_team2.html.erb
|
89
93
|
- app/views/sport_db_admin/shared/_team_world_tree.html.erb
|
94
|
+
- app/views/sport_db_admin/sources/index.html.erb
|
90
95
|
- app/views/sport_db_admin/teams/_teams.html.erb
|
91
96
|
- app/views/sport_db_admin/teams/index.html.erb
|
92
97
|
- app/views/sport_db_admin/teams/index_clubs.html.erb
|
@@ -99,7 +104,6 @@ files:
|
|
99
104
|
homepage: https://github.com/geraldb/sport.db.admin
|
100
105
|
licenses:
|
101
106
|
- Public Domain
|
102
|
-
metadata: {}
|
103
107
|
post_install_message:
|
104
108
|
rdoc_options:
|
105
109
|
- --main
|
@@ -107,19 +111,21 @@ rdoc_options:
|
|
107
111
|
require_paths:
|
108
112
|
- lib
|
109
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
110
115
|
requirements:
|
111
116
|
- - ! '>='
|
112
117
|
- !ruby/object:Gem::Version
|
113
118
|
version: 1.9.2
|
114
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
115
121
|
requirements:
|
116
122
|
- - ! '>='
|
117
123
|
- !ruby/object:Gem::Version
|
118
124
|
version: '0'
|
119
125
|
requirements: []
|
120
126
|
rubyforge_project: sportdb-admin
|
121
|
-
rubygems_version:
|
127
|
+
rubygems_version: 1.8.17
|
122
128
|
signing_key:
|
123
|
-
specification_version:
|
129
|
+
specification_version: 3
|
124
130
|
summary: sportdb admin addon - rails engine
|
125
131
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 107d4c3b52b32eeafa4c5eb8b6ae0a87b569d695
|
4
|
-
data.tar.gz: 58808e627b6b960fefb59d177b292f651f6bc9ef
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: ca4277156b7ae5114acd97c1a38d868a7eb9bb4e2f04ca9a530faaea1d741f9f2981ba3afd84da3cdd5556cd7a960e94ce821d8334e51c260a77daa48b5ae733
|
7
|
-
data.tar.gz: b67a1cffa010f98a757f0c7bf9a2d5c03deabc90b3c59d2b5224a17def7588373453ea88c6713c9399efb5510bf59877984383c975534a16fb4f7b1ef0c2511b
|