tournament 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -44,7 +44,7 @@ TABLE.bracket TD.odd
44
44
  TABLE.bracket TD.oddChampion
45
45
  {
46
46
  BORDER-BOTTOM: black 3px double;
47
- font: bold 10px "arial";
47
+ font: bold 12px "arial";
48
48
  text-align: center;
49
49
  }
50
50
 
@@ -94,7 +94,7 @@ TABLE.bracket TD.middleRight
94
94
 
95
95
  .teamname
96
96
  {
97
- font-size : 10px;
97
+ font-size : 12px;
98
98
  font-family : Arial, Helvetica, sans-serif;
99
99
  font-weight : bold;
100
100
  cursor: pointer;
@@ -102,7 +102,7 @@ TABLE.bracket TD.middleRight
102
102
 
103
103
  .missedpick
104
104
  {
105
- font-size : 10px;
105
+ font-size : 12px;
106
106
  font-family : Arial, Helvetica, sans-serif;
107
107
  font-weight : bold;
108
108
  text-decoration : line-through;
@@ -111,7 +111,7 @@ TABLE.bracket TD.middleRight
111
111
 
112
112
  .correctpick
113
113
  {
114
- font-size : 10px;
114
+ font-size : 12px;
115
115
  font-family : Arial, Helvetica, sans-serif;
116
116
  font-weight : bold;
117
117
  color : green;
@@ -119,7 +119,7 @@ TABLE.bracket TD.middleRight
119
119
 
120
120
  .pendingpick
121
121
  {
122
- font-size : 10px;
122
+ font-size : 12px;
123
123
  font-family : Arial, Helvetica, sans-serif;
124
124
  color : gray;
125
125
  }
@@ -6,12 +6,12 @@ class AdminControllerTest < ActionController::TestCase
6
6
  # Replace this with your real tests.
7
7
  test "send recap" do
8
8
  login_as :admin
9
- post(:recap, {:subject => 'subject', :content => 'content'})
9
+ post(:recap, {:subject => 'subject', :content => 'content', :id => 2})
10
10
  assert_response :success
11
11
  assert_equal 1, ActionMailer::Base.deliveries.size, "There should have been an email sent."
12
12
  mail = ActionMailer::Base.deliveries.first
13
13
  assert_equal [ADMIN_EMAIL], mail.to
14
- recips = User.find(:all).delete_if{|u| u.has_role?(:admin)}.map{|u| u.email}
14
+ recips = Pool.find(2).entrants.map{|u| u.email}
15
15
  assert_equal recips, mail.bcc
16
16
  assert_equal "[#{TOURNAMENT_TITLE}] subject", mail.subject
17
17
  assert_match /content/, mail.body
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tournament
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas A. Seifert
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-20 00:00:00 -07:00
12
+ date: 2009-03-23 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -89,6 +89,7 @@ files:
89
89
  - lib/tournament/bracket.rb
90
90
  - lib/tournament/entry.rb
91
91
  - lib/tournament/pool.rb
92
+ - lib/tournament/possibility.rb
92
93
  - lib/tournament/scoring_strategy.rb
93
94
  - lib/tournament/team.rb
94
95
  - lib/tournament/webgui_installer.rb
@@ -152,6 +153,7 @@ files:
152
153
  - webgui/app/views/layouts/report.html.erb
153
154
  - webgui/app/views/pool/index.html.erb
154
155
  - webgui/app/views/reports/_leader.html.erb
156
+ - webgui/app/views/reports/_possibility.html.erb
155
157
  - webgui/app/views/reports/_report.html.erb
156
158
  - webgui/app/views/reports/show.html.erb
157
159
  - webgui/app/views/sessions/new.html.erb