[DRE-commits] [ruby-twitter-oauth] 01/02: Imported Upstream version 0.4.94
Youhei SASAKI
uwabami-guest at alioth.debian.org
Thu Oct 31 17:14:37 UTC 2013
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to branch master
in repository ruby-twitter-oauth.
commit fb40341c41121e3ebd7a51c68c77fd6c36f12f6a
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Sat Aug 17 23:28:09 2013 +0900
Imported Upstream version 0.4.94
---
checksums.yaml.gz | Bin 267 -> 268 bytes
lib/twitter_oauth.rb | 2 +-
lib/twitter_oauth/client.rb | 1 +
metadata.yml | 2 +-
4 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/checksums.yaml.gz b/checksums.yaml.gz
index bb69709..72ee870 100644
Binary files a/checksums.yaml.gz and b/checksums.yaml.gz differ
diff --git a/lib/twitter_oauth.rb b/lib/twitter_oauth.rb
index f6aaaad..c9419c3 100644
--- a/lib/twitter_oauth.rb
+++ b/lib/twitter_oauth.rb
@@ -5,5 +5,5 @@ require 'mime/types'
require 'twitter_oauth/client'
module TwitterOAuth
- VERSION = '0.4.93'
+ VERSION = '0.4.94'
end
diff --git a/lib/twitter_oauth/client.rb b/lib/twitter_oauth/client.rb
index 47e56b2..e1124a5 100644
--- a/lib/twitter_oauth/client.rb
+++ b/lib/twitter_oauth/client.rb
@@ -77,6 +77,7 @@ module TwitterOAuth
def post(path, body='', headers={})
puts "[Client] POST #{path}" if @debug
headers.merge!("User-Agent" => "twitter_oauth gem v#{TwitterOAuth::VERSION}")
+ headers.merge!("Content-Type" => "application/x-www-form-urlencoded\r\n")
oauth_response = access_token.post("/#{@api_version}#{path}", body, headers)
parse(oauth_response.body)
end
diff --git a/metadata.yml b/metadata.yml
index 9216e2e..90ff9cd 100644
--- a/metadata.yml
+++ b/metadata.yml
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: twitter_oauth
version: !ruby/object:Gem::Version
- version: 0.4.93
+ version: 0.4.94
platform: ruby
authors:
- Richard Taylor
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-twitter-oauth.git
More information about the Pkg-ruby-extras-commits
mailing list