twitter_oauth 0.4.93 → 0.4.94

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1396da5bb6b97fbd4f044e192184c3ab678b863
4
- data.tar.gz: 52e0201073279363ebf2cd89ee7b78d8cd7c5a74
3
+ metadata.gz: 7e103c63f0390dd904b1d44a730d6feb08ecd67f
4
+ data.tar.gz: 1c7d894eea66df6f83852585103b60bcb99100ba
5
5
  SHA512:
6
- metadata.gz: 5d9455ca2ac54a02b9f4bf109d3aeb1ce07e3a85bce1d90c342dd4f721b6a318e604f0c3efd329615cd86ea2587fc533772e2e3c33fa4132d241fdfacaa9fc8f
7
- data.tar.gz: 2132e6b8636b7759f5bdf38f4a95e5f54138929a06fc3910d45a843fa78fd52acf168ff528dea0cb835a6ed51589839b5ae36b776b3506e14be1fdce5e5094de
6
+ metadata.gz: 3a949adbf475d708e7a1e7fe03db240acce822caa2c17338fd7ad54286f51a098561719affa11b0dc36a3ea61e8ec1cdc5458a2fd883d8d4b520a1c7a7882066
7
+ data.tar.gz: 71f222ed620990c9f33ff119151bdbf97dd71b082d766beba88f5592a516d6f2b413355c621787f7445e2f35cdfd81962efdce9f91f18f76d20f9061f64cdea5
@@ -5,5 +5,5 @@ require 'mime/types'
5
5
  require 'twitter_oauth/client'
6
6
 
7
7
  module TwitterOAuth
8
- VERSION = '0.4.93'
8
+ VERSION = '0.4.94'
9
9
  end
@@ -77,6 +77,7 @@ module TwitterOAuth
77
77
  def post(path, body='', headers={})
78
78
  puts "[Client] POST #{path}" if @debug
79
79
  headers.merge!("User-Agent" => "twitter_oauth gem v#{TwitterOAuth::VERSION}")
80
+ headers.merge!("Content-Type" => "application/x-www-form-urlencoded\r\n")
80
81
  oauth_response = access_token.post("/#{@api_version}#{path}", body, headers)
81
82
  parse(oauth_response.body)
82
83
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.93
4
+ version: 0.4.94
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor