tournament 3.3.1 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,46 +1,51 @@
1
- == 3.3.1 / 2009-03-16
1
+ == 3.3.2 / 2010-03-17
2
+ * More regressions: Fix Tourny Bracket link when logged in as pool owner.
3
+ Fix create entry to set the user_id so the new permissions checking actually
4
+ works.
5
+
6
+ == 3.3.1 / 2010-03-16
2
7
  * Emergency bug fix.
3
8
 
4
- == 3.3.0 / 2009-03-16
9
+ == 3.3.0 / 2010-03-16
5
10
  * Final 2010 bracket.
6
11
  * Fix permissions issue making tournament bracket seem editable to all.
7
12
  * Show login name in leader board.
8
13
 
9
- == 3.2.2 / 2009-03-14
14
+ == 3.2.2 / 2010-03-14
10
15
  * Fix initialization of tournament entry.
11
16
 
12
- == 3.2.1 / 2009-03-14
17
+ == 3.2.1 / 2010-03-14
13
18
  * Fix teams selection controller to not care about the order of
14
19
  input seedings.
15
20
 
16
- == 3.2.0 / 2009-03-14
21
+ == 3.2.0 / 2010-03-14
17
22
  * Fix team selection page to not jump around when using arrow keys
18
23
  with the autocomplete pop ups.
19
24
  * Allow switch between seed and matchup order in team selection page.
20
25
  * Minor cosmetic formatting changes.
21
26
 
22
- == 3.1.1 / 2009-03-13
27
+ == 3.1.1 / 2010-03-13
23
28
  * Bugfixes for showing add entry links. Makes sure participants can
24
29
  add entries once the teams are set.
25
30
  * Verbiage for pools that are over.
26
31
 
27
- == 3.1.0 / 2009-03-12
32
+ == 3.1.0 / 2010-03-12
28
33
  * Account for multiple pools when saving/loading possibility yaml file.
29
34
  * Update restful_authentication to latest version.
30
35
  * Add ability to reset passwords.
31
36
 
32
- == 3.0.3 / 2009-03-11
37
+ == 3.0.3 / 2010-03-11
33
38
  * Fix bug with bad string encoding and prince xml for pdf generation.
34
39
 
35
- == 3.0.2 / 2009-03-10
40
+ == 3.0.2 / 2010-03-10
36
41
  * Fix bug caused by change in semantics of Array#to_s in ruby 1.9.1
37
42
 
38
- == 3.0.1 / 2009-03-10
43
+ == 3.0.1 / 2010-03-10
39
44
  * Fix bug with relative_url_root in pool initializer.
40
45
  * git housekeeping, add .gitignore
41
46
  * Configure bones to ignore more files during gem package
42
47
 
43
- == 3.0.0 / 2009-03-06
48
+ == 3.0.0 / 2010-03-06
44
49
  * NCAA 2010 Tournament initial release.
45
50
 
46
51
  == 2.6.0 / 2009-03-29
data/lib/tournament.rb CHANGED
@@ -7,7 +7,7 @@ unless defined? Tournament
7
7
  module Tournament
8
8
 
9
9
  # :stopdoc:
10
- VERSION = '3.3.1'
10
+ VERSION = '3.3.2'
11
11
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
12
12
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
13
13
  # :startdoc:
@@ -41,7 +41,7 @@ class EntryController < ApplicationController
41
41
  end
42
42
 
43
43
  def new
44
- @entry = Entry.new(:pool_id => params[:id])
44
+ @entry = Entry.new(:pool_id => params[:id], :user_id => current_user.id)
45
45
  @pool = @entry.pool.pool
46
46
  render :action => 'show'
47
47
  end
@@ -7,7 +7,7 @@
7
7
  <small>
8
8
  <% if current_user && pool.user_id == current_user.id %>
9
9
  <% if pool.tournament_entry -%>
10
- <%= link_to '[Tourny Bracket]', :controller => 'admin', :action => 'bracket', :id => pool.tournament_entry.id %>
10
+ <%= link_to '[Tourny Bracket]', :controller => 'admin', :action => 'bracket', :id => pool.id %>
11
11
  <% end -%>
12
12
  <%= link_to '[Recap]', :controller => 'admin', :action => 'recap', :id => pool.id%>
13
13
  <%= link_to '[Edit]', :controller => 'admin', :action => 'pool', :id => pool.id %>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 3
7
7
  - 3
8
- - 1
9
- version: 3.3.1
8
+ - 2
9
+ version: 3.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Douglas A. Seifert
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-16 00:00:00 -07:00
17
+ date: 2010-03-17 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency