zendesk_api 1.2.5 → 1.2.6

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: 49a3706d1141dad4ce24d03919f42de743fa934f
4
- data.tar.gz: 6bab19802829d6a9700ab2931370364b7c2c9e5a
3
+ metadata.gz: e7eacab227fdeda83941a012a0a38142c537fcb1
4
+ data.tar.gz: 0b769440fbf2eff40d35c08b6c64e70c33b2d9bb
5
5
  SHA512:
6
- metadata.gz: 51dd2bd0dd231fbd0cabb399c42620d7a311f997ca89a4c1ae6ed5ebe2cc9ba80e6fc04b8a50fe5f5bbb9732ae047e3b401c6d47083ea21cf0e112c844d26b3d
7
- data.tar.gz: 34fe1b2a0962e264170865eecfbb6356624a6497b4fc0c36861cab5d4f5d6b3ec73c4a5fb5a2fe33b458cfc16f8a7c895f50a532a74651d8e638de27327fd049
6
+ metadata.gz: 0fa32d648a8f99343386d56cbe7799d05c1612fdb03d30a0d4394caca7576054d2f12759076f908b65b8fdbea9edf9ffa5d7afb0ef6759d3ece6b3d909d03ada
7
+ data.tar.gz: f5d56662a1a312e0542542a31379b3b56e9107264fd2e7746f47f2bdefdb7cafce122841e1b284b431da8b38befa00b5aa5b2644d4c9f0bee1177bf30e7a4dcb
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- zendesk_api (1.2.5)
10
+ zendesk_api (1.2.6)
11
11
  faraday (~> 0.8.0)
12
12
  faraday_middleware (~> 0.8.7)
13
13
  hashie (>= 1.2)
@@ -31,6 +31,7 @@ module ZendeskAPI
31
31
  include Destroy
32
32
 
33
33
  alias :name :id
34
+ alias :to_param :id
34
35
 
35
36
  def path(opts = {})
36
37
  raise "tags must have parent resource" unless association.options.parent
@@ -113,7 +114,7 @@ module ZendeskAPI
113
114
 
114
115
  has_many Ticket
115
116
  has_many User
116
- has_many Tag, :extend => Tag::Update
117
+ has_many Tag, :extend => Tag::Update, :inline => :create
117
118
  end
118
119
 
119
120
  class ForumSubscription < Resource
@@ -169,7 +170,7 @@ module ZendeskAPI
169
170
  has_many :comments, :class => TopicComment
170
171
  has_many :subscriptions, :class => TopicSubscription
171
172
  has :vote, :class => TopicVote
172
- has_many Tag, :extend => Tag::Update
173
+ has_many Tag, :extend => Tag::Update, :inline => :create
173
174
 
174
175
  def votes(opts = {})
175
176
  return @votes if @votes && !opts[:reload]
@@ -322,7 +323,7 @@ module ZendeskAPI
322
323
  has :last_comment, :class => Comment, :inline => true
323
324
  has_many :last_comments, :class => Comment, :inline => true
324
325
 
325
- has_many Tag, :extend => Tag::Update
326
+ has_many Tag, :extend => Tag::Update, :inline => :create
326
327
 
327
328
  has_many :incidents, :class => Ticket
328
329
 
@@ -1,3 +1,3 @@
1
1
  module ZendeskAPI
2
- VERSION = "1.2.5"
2
+ VERSION = "1.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Davidovitz
@@ -9,188 +9,188 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-27 00:00:00.000000000 Z
12
+ date: 2014-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bump
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: vcr
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: webmock
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ~>
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: 1.9.0
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ~>
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: 1.9.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: yard
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: faraday
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: 0.8.0
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ~>
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
111
  version: 0.8.0
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: faraday_middleware
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ~>
116
+ - - "~>"
117
117
  - !ruby/object:Gem::Version
118
118
  version: 0.8.7
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ~>
123
+ - - "~>"
124
124
  - !ruby/object:Gem::Version
125
125
  version: 0.8.7
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: hashie
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - '>='
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: '1.2'
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - '>='
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '1.2'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: inflection
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '>='
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - '>='
151
+ - - ">="
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: multi_json
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - '>='
165
+ - - ">="
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: mime-types
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ~>
172
+ - - "~>"
173
173
  - !ruby/object:Gem::Version
174
174
  version: '1.0'
175
175
  type: :runtime
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ~>
179
+ - - "~>"
180
180
  - !ruby/object:Gem::Version
181
181
  version: '1.0'
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: multipart-post
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - '>='
186
+ - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  type: :runtime
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - '>='
193
+ - - ">="
194
194
  - !ruby/object:Gem::Version
195
195
  version: '0'
196
196
  description: Ruby wrapper for the REST API at http://www.zendesk.com. Documentation
@@ -201,10 +201,10 @@ executables: []
201
201
  extensions: []
202
202
  extra_rdoc_files: []
203
203
  files:
204
- - .gitignore
205
- - .rspec
206
- - .travis.yml
207
- - .yardopts
204
+ - ".gitignore"
205
+ - ".rspec"
206
+ - ".travis.yml"
207
+ - ".yardopts"
208
208
  - Gemfile
209
209
  - Gemfile.lock
210
210
  - LICENSE
@@ -511,17 +511,17 @@ require_paths:
511
511
  - lib
512
512
  required_ruby_version: !ruby/object:Gem::Requirement
513
513
  requirements:
514
- - - '>='
514
+ - - ">="
515
515
  - !ruby/object:Gem::Version
516
516
  version: 1.8.7
517
517
  required_rubygems_version: !ruby/object:Gem::Requirement
518
518
  requirements:
519
- - - '>='
519
+ - - ">="
520
520
  - !ruby/object:Gem::Version
521
521
  version: 1.3.6
522
522
  requirements: []
523
523
  rubyforge_project:
524
- rubygems_version: 2.0.14
524
+ rubygems_version: 2.2.0.rc.1
525
525
  signing_key:
526
526
  specification_version: 4
527
527
  summary: Zendesk REST API Client