assistly 0.1.5 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.mkd +5 -0
- data/README.mkd +94 -2
- data/lib/assistly/client.rb +6 -0
- data/lib/assistly/client/article.rb +96 -0
- data/lib/assistly/client/macro.rb +142 -0
- data/lib/assistly/client/topic.rb +90 -0
- data/lib/assistly/version.rb +1 -1
- data/spec/assistly/client/article_spec.rb +134 -0
- data/spec/assistly/client/macro_spec.rb +204 -0
- data/spec/assistly/client/topic_spec.rb +135 -0
- data/spec/fixtures/article.json +50 -0
- data/spec/fixtures/article_create.json +54 -0
- data/spec/fixtures/article_destroy.json +3 -0
- data/spec/fixtures/article_update.json +54 -0
- data/spec/fixtures/articles.json +58 -0
- data/spec/fixtures/macro.json +8 -0
- data/spec/fixtures/macro_action.json +9 -0
- data/spec/fixtures/macro_action_update.json +12 -0
- data/spec/fixtures/macro_actions.json +69 -0
- data/spec/fixtures/macro_create.json +13 -0
- data/spec/fixtures/macro_destroy.json +3 -0
- data/spec/fixtures/macro_update.json +13 -0
- data/spec/fixtures/macros.json +24 -0
- data/spec/fixtures/topic.json +9 -0
- data/spec/fixtures/topic_create.json +14 -0
- data/spec/fixtures/topic_destroy.json +3 -0
- data/spec/fixtures/topic_update.json +14 -0
- data/spec/fixtures/topics.json +35 -0
- metadata +50 -5
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assistly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Warren
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-04-
|
18
|
+
date: 2011-04-16 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: json
|
@@ -320,9 +320,12 @@ files:
|
|
320
320
|
- lib/assistly/api.rb
|
321
321
|
- lib/assistly/authentication.rb
|
322
322
|
- lib/assistly/client.rb
|
323
|
+
- lib/assistly/client/article.rb
|
323
324
|
- lib/assistly/client/case.rb
|
324
325
|
- lib/assistly/client/customer.rb
|
325
326
|
- lib/assistly/client/interaction.rb
|
327
|
+
- lib/assistly/client/macro.rb
|
328
|
+
- lib/assistly/client/topic.rb
|
326
329
|
- lib/assistly/client/user.rb
|
327
330
|
- lib/assistly/client/utils.rb
|
328
331
|
- lib/assistly/configuration.rb
|
@@ -334,13 +337,21 @@ files:
|
|
334
337
|
- lib/faraday/response/raise_http_4xx.rb
|
335
338
|
- lib/faraday/response/raise_http_5xx.rb
|
336
339
|
- spec/assistly/api_spec.rb
|
340
|
+
- spec/assistly/client/article_spec.rb
|
337
341
|
- spec/assistly/client/case_spec.rb
|
338
342
|
- spec/assistly/client/customer_spec.rb
|
339
343
|
- spec/assistly/client/interaction_spec.rb
|
344
|
+
- spec/assistly/client/macro_spec.rb
|
345
|
+
- spec/assistly/client/topic_spec.rb
|
340
346
|
- spec/assistly/client/user_spec.rb
|
341
347
|
- spec/assistly/client_spec.rb
|
342
348
|
- spec/assistly_spec.rb
|
343
349
|
- spec/faraday/response_spec.rb
|
350
|
+
- spec/fixtures/article.json
|
351
|
+
- spec/fixtures/article_create.json
|
352
|
+
- spec/fixtures/article_destroy.json
|
353
|
+
- spec/fixtures/article_update.json
|
354
|
+
- spec/fixtures/articles.json
|
344
355
|
- spec/fixtures/case.json
|
345
356
|
- spec/fixtures/case_update.json
|
346
357
|
- spec/fixtures/cases.json
|
@@ -352,6 +363,19 @@ files:
|
|
352
363
|
- spec/fixtures/customers.json
|
353
364
|
- spec/fixtures/interaction_create.json
|
354
365
|
- spec/fixtures/interactions.json
|
366
|
+
- spec/fixtures/macro.json
|
367
|
+
- spec/fixtures/macro_action.json
|
368
|
+
- spec/fixtures/macro_action_update.json
|
369
|
+
- spec/fixtures/macro_actions.json
|
370
|
+
- spec/fixtures/macro_create.json
|
371
|
+
- spec/fixtures/macro_destroy.json
|
372
|
+
- spec/fixtures/macro_update.json
|
373
|
+
- spec/fixtures/macros.json
|
374
|
+
- spec/fixtures/topic.json
|
375
|
+
- spec/fixtures/topic_create.json
|
376
|
+
- spec/fixtures/topic_destroy.json
|
377
|
+
- spec/fixtures/topic_update.json
|
378
|
+
- spec/fixtures/topics.json
|
355
379
|
- spec/fixtures/user.json
|
356
380
|
- spec/fixtures/users.json
|
357
381
|
- spec/helper.rb
|
@@ -398,13 +422,21 @@ specification_version: 3
|
|
398
422
|
summary: Ruby wrapper for the Assistly API, based on the Twitter gem
|
399
423
|
test_files:
|
400
424
|
- spec/assistly/api_spec.rb
|
425
|
+
- spec/assistly/client/article_spec.rb
|
401
426
|
- spec/assistly/client/case_spec.rb
|
402
427
|
- spec/assistly/client/customer_spec.rb
|
403
428
|
- spec/assistly/client/interaction_spec.rb
|
429
|
+
- spec/assistly/client/macro_spec.rb
|
430
|
+
- spec/assistly/client/topic_spec.rb
|
404
431
|
- spec/assistly/client/user_spec.rb
|
405
432
|
- spec/assistly/client_spec.rb
|
406
433
|
- spec/assistly_spec.rb
|
407
434
|
- spec/faraday/response_spec.rb
|
435
|
+
- spec/fixtures/article.json
|
436
|
+
- spec/fixtures/article_create.json
|
437
|
+
- spec/fixtures/article_destroy.json
|
438
|
+
- spec/fixtures/article_update.json
|
439
|
+
- spec/fixtures/articles.json
|
408
440
|
- spec/fixtures/case.json
|
409
441
|
- spec/fixtures/case_update.json
|
410
442
|
- spec/fixtures/cases.json
|
@@ -416,6 +448,19 @@ test_files:
|
|
416
448
|
- spec/fixtures/customers.json
|
417
449
|
- spec/fixtures/interaction_create.json
|
418
450
|
- spec/fixtures/interactions.json
|
451
|
+
- spec/fixtures/macro.json
|
452
|
+
- spec/fixtures/macro_action.json
|
453
|
+
- spec/fixtures/macro_action_update.json
|
454
|
+
- spec/fixtures/macro_actions.json
|
455
|
+
- spec/fixtures/macro_create.json
|
456
|
+
- spec/fixtures/macro_destroy.json
|
457
|
+
- spec/fixtures/macro_update.json
|
458
|
+
- spec/fixtures/macros.json
|
459
|
+
- spec/fixtures/topic.json
|
460
|
+
- spec/fixtures/topic_create.json
|
461
|
+
- spec/fixtures/topic_destroy.json
|
462
|
+
- spec/fixtures/topic_update.json
|
463
|
+
- spec/fixtures/topics.json
|
419
464
|
- spec/fixtures/user.json
|
420
465
|
- spec/fixtures/users.json
|
421
466
|
- spec/helper.rb
|