desk 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/HISTORY.mkd +14 -0
- data/lib/desk.rb +2 -2
- data/lib/desk/version.rb +1 -1
- data/spec/helper.rb +0 -1
- metadata +208 -161
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
|
4
|
-
|
5
|
-
SHA512:
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9ea6c74b081c0d0384c546f9ae451952502c26cd
|
4
|
+
data.tar.gz: 28224c32416059bdf1f349124b918e54217d421d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3d76ee26197cebdd16f31155be49599a4241bd7dbd3e6513ad9f1591b5b62b8560ef4c36e1d08d2d92e343bb7e771f0d0381bd9b83edc1d7b2706d0b9869e9bf
|
7
|
+
data.tar.gz: bd4d94f2281696408580af6ac90338ad8bf088e58759d4b3cd3d9629db87063395658b62263193090e4ee3552a1b34fe7c2b7045e31ea1202ea7557489942773
|
data/HISTORY.mkd
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
1.0.2
|
2
|
+
------------------
|
3
|
+
Completed handling of respond_to? (Thanks to @davidlibrera)
|
4
|
+
|
5
|
+
1.0.1
|
6
|
+
------------------
|
7
|
+
Handle TooManyRequests Response (Thanks to @alexanderdean)
|
8
|
+
Bumped Faraday (Thanks to Marcin Lewandowski)
|
9
|
+
|
10
|
+
1.0.0 January 31, 2014
|
11
|
+
------------------
|
12
|
+
Total overhaul of code structure (Thanks to @colinc)
|
13
|
+
Works with the new Desk.com API V2
|
14
|
+
|
1
15
|
0.3.2 February 25, 2013
|
2
16
|
------------------
|
3
17
|
Support for groups (Thanks to @tstachl)
|
data/lib/desk.rb
CHANGED
data/lib/desk/version.rb
CHANGED
data/spec/helper.rb
CHANGED
metadata
CHANGED
@@ -1,200 +1,250 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: desk
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Chris Warren
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-07-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: nokogiri
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
version: "1.4"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.4'
|
22
20
|
type: :development
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: maruku
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
29
|
-
- - ~>
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: maruku
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.6'
|
32
34
|
type: :development
|
33
|
-
version_requirements: *id002
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: rake
|
36
35
|
prerelease: false
|
37
|
-
|
38
|
-
requirements:
|
39
|
-
- - ~>
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.6'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.8'
|
42
48
|
type: :development
|
43
|
-
version_requirements: *id003
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: rspec
|
46
49
|
prerelease: false
|
47
|
-
|
48
|
-
requirements:
|
49
|
-
- - ~>
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
version:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.8'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.5'
|
52
62
|
type: :development
|
53
|
-
version_requirements: *id004
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: email_spec
|
56
63
|
prerelease: false
|
57
|
-
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: email_spec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
61
75
|
version: 1.1.1
|
62
76
|
type: :development
|
63
|
-
version_requirements: *id005
|
64
|
-
- !ruby/object:Gem::Dependency
|
65
|
-
name: simplecov
|
66
77
|
prerelease: false
|
67
|
-
|
68
|
-
requirements:
|
69
|
-
- - ~>
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version:
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.1.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.4'
|
72
90
|
type: :development
|
73
|
-
version_requirements: *id006
|
74
|
-
- !ruby/object:Gem::Dependency
|
75
|
-
name: webmock
|
76
91
|
prerelease: false
|
77
|
-
|
78
|
-
requirements:
|
79
|
-
- - ~>
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version:
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.4'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: webmock
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.6'
|
82
104
|
type: :development
|
83
|
-
version_requirements: *id007
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: yard
|
86
105
|
prerelease: false
|
87
|
-
|
88
|
-
requirements:
|
89
|
-
- - ~>
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version:
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.6'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: yard
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.6'
|
92
118
|
type: :development
|
93
|
-
version_requirements: *id008
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: json
|
96
119
|
prerelease: false
|
97
|
-
|
98
|
-
requirements:
|
99
|
-
- - ~>
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version:
|
102
|
-
|
103
|
-
version_requirements: *id009
|
104
|
-
- !ruby/object:Gem::Dependency
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.6'
|
125
|
+
- !ruby/object:Gem::Dependency
|
105
126
|
name: hashie
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
- !ruby/object:Gem::Version
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
111
131
|
version: 1.2.0
|
112
132
|
type: :runtime
|
113
|
-
version_requirements: *id010
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
name: faraday
|
116
133
|
prerelease: false
|
117
|
-
|
118
|
-
requirements:
|
119
|
-
- - ~>
|
120
|
-
- !ruby/object:Gem::Version
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.2.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: faraday
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
121
145
|
version: 0.9.0
|
122
146
|
type: :runtime
|
123
|
-
version_requirements: *id011
|
124
|
-
- !ruby/object:Gem::Dependency
|
125
|
-
name: faraday_middleware
|
126
147
|
prerelease: false
|
127
|
-
|
128
|
-
requirements:
|
129
|
-
- - ~>
|
130
|
-
- !ruby/object:Gem::Version
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.9.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: faraday_middleware
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
131
159
|
version: 0.9.0
|
132
160
|
type: :runtime
|
133
|
-
version_requirements: *id012
|
134
|
-
- !ruby/object:Gem::Dependency
|
135
|
-
name: multi_json
|
136
161
|
prerelease: false
|
137
|
-
|
138
|
-
requirements:
|
139
|
-
- - ~>
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version:
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.9.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: multi_json
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '1.6'
|
142
174
|
type: :runtime
|
143
|
-
version_requirements: *id013
|
144
|
-
- !ruby/object:Gem::Dependency
|
145
|
-
name: multi_xml
|
146
175
|
prerelease: false
|
147
|
-
|
148
|
-
requirements:
|
149
|
-
- - ~>
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version:
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '1.6'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: multi_xml
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0.5'
|
152
188
|
type: :runtime
|
153
|
-
version_requirements: *id014
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: rash
|
156
189
|
prerelease: false
|
157
|
-
|
158
|
-
requirements:
|
159
|
-
- - ~>
|
160
|
-
- !ruby/object:Gem::Version
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0.5'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rash
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
161
201
|
version: 0.3.1
|
162
202
|
type: :runtime
|
163
|
-
version_requirements: *id015
|
164
|
-
- !ruby/object:Gem::Dependency
|
165
|
-
name: simple_oauth
|
166
203
|
prerelease: false
|
167
|
-
|
168
|
-
requirements:
|
169
|
-
- - ~>
|
170
|
-
- !ruby/object:Gem::Version
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 0.3.1
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: simple_oauth
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
171
215
|
version: 0.2.0
|
172
216
|
type: :runtime
|
173
|
-
version_requirements: *id016
|
174
|
-
- !ruby/object:Gem::Dependency
|
175
|
-
name: pony
|
176
217
|
prerelease: false
|
177
|
-
|
178
|
-
requirements:
|
179
|
-
- - ~>
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version:
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 0.2.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: pony
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '1.1'
|
182
230
|
type: :runtime
|
183
|
-
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '1.1'
|
184
237
|
description: A Ruby wrapper for the Desk.com REST API
|
185
|
-
email:
|
238
|
+
email:
|
186
239
|
- chris@zencoder.com
|
187
240
|
executables: []
|
188
|
-
|
189
241
|
extensions: []
|
190
|
-
|
191
242
|
extra_rdoc_files: []
|
192
|
-
|
193
|
-
|
194
|
-
- .
|
195
|
-
- .
|
196
|
-
- .
|
197
|
-
- .yardopts
|
243
|
+
files:
|
244
|
+
- ".gemtest"
|
245
|
+
- ".gitignore"
|
246
|
+
- ".rspec"
|
247
|
+
- ".yardopts"
|
198
248
|
- Gemfile
|
199
249
|
- HISTORY.mkd
|
200
250
|
- LICENSE.mkd
|
@@ -364,32 +414,28 @@ files:
|
|
364
414
|
- spec/shared_examples.rb
|
365
415
|
homepage: https://github.com/zencoder/desk
|
366
416
|
licenses: []
|
367
|
-
|
368
417
|
metadata: {}
|
369
|
-
|
370
418
|
post_install_message:
|
371
419
|
rdoc_options: []
|
372
|
-
|
373
|
-
require_paths:
|
420
|
+
require_paths:
|
374
421
|
- lib
|
375
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
376
|
-
requirements:
|
422
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
423
|
+
requirements:
|
377
424
|
- - ">="
|
378
|
-
- !ruby/object:Gem::Version
|
379
|
-
version:
|
380
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
|
-
requirements:
|
425
|
+
- !ruby/object:Gem::Version
|
426
|
+
version: '0'
|
427
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
428
|
+
requirements:
|
382
429
|
- - ">="
|
383
|
-
- !ruby/object:Gem::Version
|
430
|
+
- !ruby/object:Gem::Version
|
384
431
|
version: 1.3.6
|
385
432
|
requirements: []
|
386
|
-
|
387
433
|
rubyforge_project: desk
|
388
|
-
rubygems_version: 2.
|
434
|
+
rubygems_version: 2.2.2
|
389
435
|
signing_key:
|
390
436
|
specification_version: 4
|
391
437
|
summary: Ruby wrapper for the Desk.com API
|
392
|
-
test_files:
|
438
|
+
test_files:
|
393
439
|
- spec/desk/api_spec.rb
|
394
440
|
- spec/desk/client/article_spec.rb
|
395
441
|
- spec/desk/client/brand_spec.rb
|
@@ -513,3 +559,4 @@ test_files:
|
|
513
559
|
- spec/helper.rb
|
514
560
|
- spec/shared_context.rb
|
515
561
|
- spec/shared_examples.rb
|
562
|
+
has_rdoc:
|