Skip to content

Commit

Permalink
Fixed that source param wasn't getting through. Must have messed that…
Browse files Browse the repository at this point in the history
… up in previous release as it was working. [#11 state:resolved]
  • Loading branch information
jnunemaker committed Aug 26, 2008
1 parent 8a802c4 commit e3743cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.3.7 - August 26, 2008
* Fixed source param not getting through

0.3.6 - August 11, 2008
* Fixed a few more methods that required post.
* Refactored the remaining methods that were not using #request to use it.
Expand Down
2 changes: 1 addition & 1 deletion lib/twitter/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def unblock(id)
# Posts a new update to twitter for auth user.
def post(status, options={})
form_data = {'status' => status}
form_data.merge({'source' => options[:source]}) if options[:source]
form_data.merge!({'source' => options[:source]}) if options[:source]
Status.new_from_xml(request('statuses/update.xml', :auth => true, :method => :post, :form_data => form_data))
end
alias :update :post
Expand Down
2 changes: 1 addition & 1 deletion lib/twitter/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Twitter #:nodoc:
module VERSION #:nodoc:
MAJOR = 0
MINOR = 3
TINY = 6
TINY = 7

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
4 changes: 2 additions & 2 deletions twitter.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Gem::Specification.new do |s|
s.name = %q{twitter}
s.version = "0.3.6"
s.version = "0.3.7"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["John Nunemaker"]
s.date = %q{2008-08-11}
s.date = %q{2008-08-26}
s.default_executable = %q{twitter}
s.description = %q{a command line interface for twitter, also a library which wraps the twitter api}
s.email = %q{[email protected]}
Expand Down

0 comments on commit e3743cf

Please sign in to comment.