#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_fix_warnings.dpatch by Taku YASUI <tach@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad trunk~/lib/twitter/config.rb trunk/lib/twitter/config.rb
--- trunk~/lib/twitter/config.rb	2009-08-29 19:39:38.000000000 +0900
+++ trunk/lib/twitter/config.rb	2009-09-09 01:38:59.902458924 +0900
@@ -35,7 +35,7 @@
       :application_url,
       :source,
     ]
-    attr_accessor *@@ATTRIBUTES
+    attr_accessor(*@@ATTRIBUTES)
     
     # Override of Object#eql? to ensure RSpec specifications run 
     # correctly. Also done to follow Ruby best practices.
diff -urNad trunk~/lib/twitter/meta.rb trunk/lib/twitter/meta.rb
--- trunk~/lib/twitter/meta.rb	2009-09-09 01:32:49.446169428 +0900
+++ trunk/lib/twitter/meta.rb	2009-09-09 01:32:49.534173473 +0900
@@ -6,7 +6,7 @@
 
 class Twitter::Meta #:nodoc:
   attr_accessor :root_dir
-  attr_reader :gem_spec, :project_files, :spec_files
+  #attr_reader :gem_spec, :project_files, :spec_files
 
   # Initializer for Twitter::Meta class.  Takes <tt>root_dir</tt> as parameter.
   def initialize(root_dir)
diff -urNad trunk~/lib/twitter/model.rb trunk/lib/twitter/model.rb
--- trunk~/lib/twitter/model.rb	2009-08-29 19:39:38.000000000 +0900
+++ trunk/lib/twitter/model.rb	2009-09-09 01:38:47.985937739 +0900
@@ -165,7 +165,7 @@
       :profile_background_tile, :utc_offset, :time_zone, 
       :following, :notifications, :favourites_count, :followers_count, 
       :friends_count, :statuses_count, :created_at,  ]
-    attr_accessor *@@ATTRIBUTES
+    attr_accessor(*@@ATTRIBUTES)
 
     class << self
       # Used as factory method callback
@@ -228,7 +228,7 @@
     @@ATTRIBUTES = [:id, :text, :source, :truncated, :created_at, :user, 
                     :favorited, :in_reply_to_status_id, :in_reply_to_user_id,
                     :in_reply_to_screen_name]
-    attr_accessor *@@ATTRIBUTES
+    attr_accessor(*@@ATTRIBUTES)
 
     class << self
       # Used as factory method callback
@@ -289,7 +289,7 @@
   class Message
     include ModelMixin
     @@ATTRIBUTES = [:id, :recipient, :sender, :text, :created_at]
-    attr_accessor *@@ATTRIBUTES
+    attr_accessor(*@@ATTRIBUTES)
     
     class << self
       # Used as factory method callback
@@ -350,7 +350,7 @@
   class RateLimitStatus
     include ModelMixin
     @@ATTRIBUTES = [:remaining_hits, :hourly_limit, :reset_time_in_seconds, :reset_time]
-    attr_accessor *@@ATTRIBUTES
+    attr_accessor(*@@ATTRIBUTES)
     
     class << self
       # Used as factory method callback
