ticket_sharing 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ticket_sharing/request.rb +1 -0
  2. metadata +3 -3
@@ -44,6 +44,7 @@ module TicketSharing
44
44
  def new_raw_request
45
45
  raw_request = @request_class.new(@uri.path)
46
46
  raw_request['Accept'] = 'application/json'
47
+ raw_request['Content-Type'] = 'application/json'
47
48
 
48
49
  if @raw_request && token = @raw_request['X-Ticket-Sharing-Token']
49
50
  raw_request['X-Ticket-Sharing-Token'] = token
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticket_sharing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-26 00:00:00.000000000Z
12
+ date: 2011-11-08 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: josh@zendesk.com
@@ -52,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  version: '0'
53
53
  requirements: []
54
54
  rubyforge_project:
55
- rubygems_version: 1.8.6
55
+ rubygems_version: 1.8.10
56
56
  signing_key:
57
57
  specification_version: 3
58
58
  summary: Ticket sharing