<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,10 +16,11 @@ task :default =&gt; [ :spec ]
 # run all rspecs
 desc &quot;Run all rspec files&quot;
 Spec::Rake::SpecTask.new(&quot;spec&quot;) do |t|
-  t.spec_files = FileList['specs/**/*.rb']
-  t.rcov = true
-  t.rcov_dir = (ENV['CC_BUILD_ARTIFACTS'] || 'doc') + &quot;/rcov&quot;
- # t.rcov_opts = [&quot;--exclude&quot;,&quot;spec.*\.rb&quot;]
+  t.spec_files =  FileList['specs/**/*.rb']
+  t.rcov       =  true
+  t.rcov_dir   =  (ENV['CC_BUILD_ARTIFACTS'] || 'doc') + &quot;/rcov&quot;
+  t.ruby_opts  &lt;&lt; &quot;-w&quot;
+  # t.rcov_opts = [&quot;--exclude&quot;,&quot;spec.*\.rb&quot;]
 end
 
 # generate specdocs</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -346,9 +346,9 @@ class PDF::Reader
     # Reads a PDF content stream and calls all the appropriate callback methods for the operators
     # it contains
     def content_stream (instructions)
-      @buffer = Buffer.new(StringIO.new(instructions))
-      @parser = Parser.new(@buffer, @xref)
-      @params = [] if @params.nil?
+      @buffer =   Buffer.new(StringIO.new(instructions))
+      @parser =   Parser.new(@buffer, @xref)
+      @params ||= []
 
       while (token = @parser.parse_token(OPERATORS))
         if token.kind_of?(Token) and OPERATORS.has_key?(token)</diff>
      <filename>lib/pdf/reader/content.rb</filename>
    </modified>
    <modified>
      <diff>@@ -113,9 +113,10 @@ class PDF::Reader
       array_orig.each do |num|
         if tounicode &amp;&amp; (code = tounicode.decode(num))
           array_enc &lt;&lt; code
-        elsif tounicode || (tounicode.nil? &amp;&amp; @to_unicode_required)
+        elsif tounicode || ( tounicode.nil? &amp;&amp; defined?(@to_unicode_required) &amp;&amp;
+                                               @to_unicode_required )
           array_enc &lt;&lt; PDF::Reader::Encoding::UNKNOWN_CHAR
-        elsif @mapping &amp;&amp; @mapping[num]
+        elsif defined?(@mapping) &amp;&amp; @mapping &amp;&amp; @mapping[num]
           array_enc &lt;&lt; @mapping[num]
         else
           array_enc &lt;&lt; num</diff>
      <filename>lib/pdf/reader/encoding.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c4da18053b35130caeea2d5f3401afc9434d70c6</id>
    </parent>
  </parents>
  <author>
    <name>James Edward Gray II</name>
    <email>james@graysoftinc.com</email>
  </author>
  <url>http://github.com/yob/pdf-reader/commit/e378ae6dd75c764b75fbafa3a012eafa986a05e4</url>
  <id>e378ae6dd75c764b75fbafa3a012eafa986a05e4</id>
  <committed-date>2009-09-14T16:41:01-07:00</committed-date>
  <authored-date>2009-09-14T12:04:50-07:00</authored-date>
  <message>Silencing warnings and turning on warnings in the spec runner so developers will see when they occur.</message>
  <tree>c9fcf6ef39e49b0c902bb765e33e882e90d910b6</tree>
  <committer>
    <name>James Healy</name>
    <email>jimmy@deefa.com</email>
  </committer>
</commit>
