tournament 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,4 +1,7 @@
1
- == 3.0.2 / 2009-03-11
1
+ == 3.0.3 / 2009-03-11
2
+ * Fix bug with bad string encoding and prince xml for pdf generation.
3
+
4
+ == 3.0.2 / 2009-03-10
2
5
  * Fix bug caused by change in semantics of Array#to_s in ruby 1.9.1
3
6
 
4
7
  == 3.0.1 / 2009-03-10
data/lib/tournament.rb CHANGED
@@ -7,7 +7,7 @@ unless defined? Tournament
7
7
  module Tournament
8
8
 
9
9
  # :stopdoc:
10
- VERSION = '3.0.2'
10
+ VERSION = '3.0.3'
11
11
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
12
12
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
13
13
  # :startdoc:
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  class EntryController < ApplicationController
2
3
  layout 'bracket'
3
4
  before_filter :login_required
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  # Uses Prince library to create pdfs
2
3
  module PdfHelper
3
4
  require 'prince'
data/webgui/lib/prince.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  # Prince XML Ruby interface.
2
3
  # http://www.princexml.com
3
4
  #
@@ -64,7 +65,7 @@ class Prince
64
65
  #logger.info ''
65
66
 
66
67
  # Actually call the prince command, and pass the entire data stream back.
67
- pdf = IO.popen(path, "w+")
68
+ pdf = IO.popen(path, "wb+")
68
69
  pdf.puts(string)
69
70
  pdf.close_write
70
71
  output = pdf.gets(nil)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 3
7
7
  - 0
8
- - 2
9
- version: 3.0.2
8
+ - 3
9
+ version: 3.0.3
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-10 00:00:00 -08:00
17
+ date: 2010-03-11 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency