ticket_sharing 0.6.3 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module TicketSharing
6
6
  class Agreement < Base
7
7
 
8
8
  fields :receiver_url, :sender_url, :status, :uuid, :access_key, :name,
9
- :current_actor, :sync_tags, :allows_public_comments
9
+ :current_actor, :sync_tags, :sync_custom_fields, :allows_public_comments
10
10
 
11
11
  def self.parse(json)
12
12
  attributes = JsonSupport.decode(json)
@@ -6,7 +6,7 @@ require 'ticket_sharing/attachment'
6
6
  module TicketSharing
7
7
  class Comment < Base
8
8
 
9
- fields :uuid, :author, :body, :authored_at, :public, :attachments
9
+ fields :uuid, :author, :body, :authored_at, :public, :attachments, :custom_fields
10
10
 
11
11
  def initialize(params={})
12
12
  self.public = true
@@ -3,7 +3,8 @@ module TicketSharing
3
3
 
4
4
  attr_reader :raw_response
5
5
 
6
- MAX_REDIRECTS = 1
6
+ # this should very rarely have to go above 2, and definitely never any higher than 5
7
+ MAX_REDIRECTS = 2
7
8
 
8
9
  def initialize(request_class, uri, body)
9
10
  @redirects = 0
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.3
4
+ version: 0.6.6
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-12-02 00:00:00.000000000Z
12
+ date: 2012-05-18 00:00:00.000000000 Z
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.10
55
+ rubygems_version: 1.8.21
56
56
  signing_key:
57
57
  specification_version: 3
58
58
  summary: Ticket sharing