groupdocs 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/.travis.yml +4 -0
  2. data/CHANGELOG.md +32 -0
  3. data/examples/api-samples/public/css/style.css +123 -67
  4. data/examples/api-samples/public/images/help.png +0 -0
  5. data/examples/api-samples/public/images/info.png +0 -0
  6. data/examples/api-samples/public/templates/base-simple_source.html +192 -0
  7. data/examples/api-samples/public/templates/testdocument.html +101 -0
  8. data/examples/api-samples/public/templates/welcome.htm +137 -0
  9. data/examples/api-samples/samples/sample18.rb +134 -31
  10. data/examples/api-samples/views/sample18.haml +127 -9
  11. data/lib/groupdocs/api/request.rb +1 -1
  12. data/lib/groupdocs/document.rb +6 -3
  13. data/lib/groupdocs/signature.rb +6 -0
  14. data/lib/groupdocs/signature/contact.rb +42 -0
  15. data/lib/groupdocs/signature/envelope.rb +71 -0
  16. data/lib/groupdocs/signature/field.rb +21 -2
  17. data/lib/groupdocs/signature/form.rb +162 -9
  18. data/lib/groupdocs/signature/role.rb +5 -31
  19. data/lib/groupdocs/signature/shared/document_methods.rb +2 -1
  20. data/lib/groupdocs/signature/shared/entity_fields.rb +6 -16
  21. data/lib/groupdocs/signature/shared/entity_methods.rb +2 -2
  22. data/lib/groupdocs/signature/shared/field_methods.rb +56 -2
  23. data/lib/groupdocs/storage.rb +1 -0
  24. data/lib/groupdocs/storage/provider.rb +32 -0
  25. data/lib/groupdocs/user.rb +66 -0
  26. data/lib/groupdocs/version.rb +1 -1
  27. data/spec/groupdocs/signature/contact_spec.rb +21 -0
  28. data/spec/groupdocs/signature/envelope_spec.rb +53 -1
  29. data/spec/groupdocs/signature/field_spec.rb +19 -1
  30. data/spec/groupdocs/signature/form_spec.rb +47 -11
  31. data/spec/groupdocs/signature/role_spec.rb +4 -47
  32. data/spec/groupdocs/signature_spec.rb +4 -0
  33. data/spec/groupdocs/storage/provider_spec.rb +22 -0
  34. data/spec/groupdocs/user_spec.rb +54 -0
  35. data/spec/support/json/user_embed_key.json +39 -0
  36. data/spec/support/json/user_providers.json +31 -0
  37. data/spec/support/json/user_roles.json +25 -0
  38. data/spec/support/shared_examples/signature/shared/entity_fields.rb +14 -26
  39. data/spec/support/shared_examples/signature/shared/field_methods.rb +58 -34
  40. metadata +18 -4
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
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: 2013-02-27 00:00:00.000000000 Z
12
+ date: 2013-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -208,6 +208,11 @@ files:
208
208
  - examples/api-samples/public/docs/sample7.html
209
209
  - examples/api-samples/public/docs/sample8.html
210
210
  - examples/api-samples/public/docs/sample9.html
211
+ - examples/api-samples/public/images/help.png
212
+ - examples/api-samples/public/images/info.png
213
+ - examples/api-samples/public/templates/base-simple_source.html
214
+ - examples/api-samples/public/templates/testdocument.html
215
+ - examples/api-samples/public/templates/welcome.htm
211
216
  - examples/api-samples/samples/annotation-sample.rb
212
217
  - examples/api-samples/samples/envelope-sample.rb
213
218
  - examples/api-samples/samples/sample1.rb
@@ -317,6 +322,7 @@ files:
317
322
  - lib/groupdocs/storage/file.rb
318
323
  - lib/groupdocs/storage/folder.rb
319
324
  - lib/groupdocs/storage/package.rb
325
+ - lib/groupdocs/storage/provider.rb
320
326
  - lib/groupdocs/subscription.rb
321
327
  - lib/groupdocs/subscription/limit.rb
322
328
  - lib/groupdocs/user.rb
@@ -366,6 +372,7 @@ files:
366
372
  - spec/groupdocs/storage/file_spec.rb
367
373
  - spec/groupdocs/storage/folder_spec.rb
368
374
  - spec/groupdocs/storage/package_spec.rb
375
+ - spec/groupdocs/storage/provider_spec.rb
369
376
  - spec/groupdocs/storage_spec.rb
370
377
  - spec/groupdocs/subscription/limit_spec.rb
371
378
  - spec/groupdocs/subscription_spec.rb
@@ -464,7 +471,10 @@ files:
464
471
  - spec/support/json/templates_all.json
465
472
  - spec/support/json/templates_get.json
466
473
  - spec/support/json/update_account.json
474
+ - spec/support/json/user_embed_key.json
467
475
  - spec/support/json/user_profile_get.json
476
+ - spec/support/json/user_providers.json
477
+ - spec/support/json/user_roles.json
468
478
  - spec/support/json/user_users_get.json
469
479
  - spec/support/shared_examples/api/entity.rb
470
480
  - spec/support/shared_examples/api/helpers/access_mode_helper.rb
@@ -489,7 +499,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
489
499
  version: '0'
490
500
  segments:
491
501
  - 0
492
- hash: -879230674641894253
502
+ hash: -577560734250830649
493
503
  required_rubygems_version: !ruby/object:Gem::Requirement
494
504
  none: false
495
505
  requirements:
@@ -498,7 +508,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
498
508
  version: '0'
499
509
  segments:
500
510
  - 0
501
- hash: -879230674641894253
511
+ hash: -577560734250830649
502
512
  requirements: []
503
513
  rubyforge_project:
504
514
  rubygems_version: 1.8.23
@@ -551,6 +561,7 @@ test_files:
551
561
  - spec/groupdocs/storage/file_spec.rb
552
562
  - spec/groupdocs/storage/folder_spec.rb
553
563
  - spec/groupdocs/storage/package_spec.rb
564
+ - spec/groupdocs/storage/provider_spec.rb
554
565
  - spec/groupdocs/storage_spec.rb
555
566
  - spec/groupdocs/subscription/limit_spec.rb
556
567
  - spec/groupdocs/subscription_spec.rb
@@ -649,7 +660,10 @@ test_files:
649
660
  - spec/support/json/templates_all.json
650
661
  - spec/support/json/templates_get.json
651
662
  - spec/support/json/update_account.json
663
+ - spec/support/json/user_embed_key.json
652
664
  - spec/support/json/user_profile_get.json
665
+ - spec/support/json/user_providers.json
666
+ - spec/support/json/user_roles.json
653
667
  - spec/support/json/user_users_get.json
654
668
  - spec/support/shared_examples/api/entity.rb
655
669
  - spec/support/shared_examples/api/helpers/access_mode_helper.rb