lib/twitter/config.rb in twitter4r-0.2.0 vs lib/twitter/config.rb in twitter4r-0.2.1
- old
+ new
@@ -28,10 +28,11 @@
:proxy_pass,
:user_agent,
:application_name,
:application_version,
:application_url,
+ :source,
]
attr_accessor *@@ATTRIBUTES
# Override of Object#eql? to ensure RSpec specifications run
# correctly. Also done to follow Ruby best practices.
@@ -52,9 +53,10 @@
:proxy_port => nil,
:user_agent => "default",
:application_name => 'Twitter4R',
:application_version => Twitter::Version.to_version,
:application_url => 'http://twitter4r.rubyforge.org',
+ :source => 'twitter4r',
}
@@config = Twitter::Config.new(@@defaults)
# Twitter::Client class methods
class << self