groupdocs 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. data/.travis.yml +5 -0
  2. data/Gemfile +3 -0
  3. data/README.md +141 -0
  4. data/Rakefile +9 -0
  5. data/groupdocs.gemspec +28 -0
  6. data/lib/groupdocs.rb +53 -0
  7. data/lib/groupdocs/api.rb +3 -0
  8. data/lib/groupdocs/api/entity.rb +113 -0
  9. data/lib/groupdocs/api/helpers.rb +5 -0
  10. data/lib/groupdocs/api/helpers/access_helper.rb +56 -0
  11. data/lib/groupdocs/api/helpers/actions_helper.rb +48 -0
  12. data/lib/groupdocs/api/helpers/rest_helper.rb +89 -0
  13. data/lib/groupdocs/api/helpers/status_helper.rb +48 -0
  14. data/lib/groupdocs/api/helpers/url_helper.rb +89 -0
  15. data/lib/groupdocs/api/request.rb +73 -0
  16. data/lib/groupdocs/api/sugar/lookup.rb +48 -0
  17. data/lib/groupdocs/datasource.rb +162 -0
  18. data/lib/groupdocs/datasource/field.rb +44 -0
  19. data/lib/groupdocs/document.rb +513 -0
  20. data/lib/groupdocs/document/annotation.rb +215 -0
  21. data/lib/groupdocs/document/annotation/reply.rb +167 -0
  22. data/lib/groupdocs/document/change.rb +35 -0
  23. data/lib/groupdocs/document/field.rb +27 -0
  24. data/lib/groupdocs/document/metadata.rb +26 -0
  25. data/lib/groupdocs/document/rectangle.rb +24 -0
  26. data/lib/groupdocs/document/view.rb +36 -0
  27. data/lib/groupdocs/errors.rb +10 -0
  28. data/lib/groupdocs/job.rb +201 -0
  29. data/lib/groupdocs/questionnaire.rb +221 -0
  30. data/lib/groupdocs/questionnaire/execution.rb +120 -0
  31. data/lib/groupdocs/questionnaire/page.rb +43 -0
  32. data/lib/groupdocs/questionnaire/question.rb +75 -0
  33. data/lib/groupdocs/questionnaire/question/answer.rb +10 -0
  34. data/lib/groupdocs/storage.rb +37 -0
  35. data/lib/groupdocs/storage/file.rb +248 -0
  36. data/lib/groupdocs/storage/folder.rb +314 -0
  37. data/lib/groupdocs/storage/package.rb +42 -0
  38. data/lib/groupdocs/user.rb +50 -0
  39. data/lib/groupdocs/version.rb +3 -0
  40. data/spec/groupdocs/api/entity_spec.rb +54 -0
  41. data/spec/groupdocs/api/helpers/access_helper_spec.rb +89 -0
  42. data/spec/groupdocs/api/helpers/actions_helper_spec.rb +51 -0
  43. data/spec/groupdocs/api/helpers/rest_helper_spec.rb +187 -0
  44. data/spec/groupdocs/api/helpers/status_helper_spec.rb +85 -0
  45. data/spec/groupdocs/api/helpers/url_helper_spec.rb +93 -0
  46. data/spec/groupdocs/api/request_spec.rb +85 -0
  47. data/spec/groupdocs/datasource/field_spec.rb +50 -0
  48. data/spec/groupdocs/datasource_spec.rb +156 -0
  49. data/spec/groupdocs/document/annotation/reply_spec.rb +179 -0
  50. data/spec/groupdocs/document/annotation_spec.rb +226 -0
  51. data/spec/groupdocs/document/change_spec.rb +35 -0
  52. data/spec/groupdocs/document/field_spec.rb +31 -0
  53. data/spec/groupdocs/document/metadata_spec.rb +26 -0
  54. data/spec/groupdocs/document/rectangle_spec.rb +34 -0
  55. data/spec/groupdocs/document/view_spec.rb +36 -0
  56. data/spec/groupdocs/document_spec.rb +509 -0
  57. data/spec/groupdocs/errors_spec.rb +7 -0
  58. data/spec/groupdocs/job_spec.rb +196 -0
  59. data/spec/groupdocs/questionnaire/execution_spec.rb +136 -0
  60. data/spec/groupdocs/questionnaire/page_spec.rb +50 -0
  61. data/spec/groupdocs/questionnaire/question/answer_spec.rb +11 -0
  62. data/spec/groupdocs/questionnaire/question_spec.rb +84 -0
  63. data/spec/groupdocs/questionnaire_spec.rb +217 -0
  64. data/spec/groupdocs/storage/file_spec.rb +242 -0
  65. data/spec/groupdocs/storage/folder_spec.rb +310 -0
  66. data/spec/groupdocs/storage/package_spec.rb +41 -0
  67. data/spec/groupdocs/storage_spec.rb +27 -0
  68. data/spec/groupdocs/user_spec.rb +53 -0
  69. data/spec/groupdocs_spec.rb +56 -0
  70. data/spec/spec_helper.rb +46 -0
  71. data/spec/support/files/resume.pdf +0 -0
  72. data/spec/support/json/annotation_collaborators_set.json +16 -0
  73. data/spec/support/json/annotation_create.json +12 -0
  74. data/spec/support/json/annotation_list.json +32 -0
  75. data/spec/support/json/annotation_remove.json +9 -0
  76. data/spec/support/json/annotation_replies_create.json +9 -0
  77. data/spec/support/json/annotation_replies_get.json +25 -0
  78. data/spec/support/json/comparison_changes.json +46 -0
  79. data/spec/support/json/comparison_compare.json +8 -0
  80. data/spec/support/json/comparison_document.json +10 -0
  81. data/spec/support/json/datasource_add.json +8 -0
  82. data/spec/support/json/datasource_get.json +22 -0
  83. data/spec/support/json/datasource_remove.json +8 -0
  84. data/spec/support/json/datasource_update.json +8 -0
  85. data/spec/support/json/document_access_info_get.json +14 -0
  86. data/spec/support/json/document_convert.json +8 -0
  87. data/spec/support/json/document_datasource.json +10 -0
  88. data/spec/support/json/document_fields.json +34 -0
  89. data/spec/support/json/document_formats.json +8 -0
  90. data/spec/support/json/document_metadata.json +15 -0
  91. data/spec/support/json/document_questionnaire_create.json +9 -0
  92. data/spec/support/json/document_questionnaires.json +23 -0
  93. data/spec/support/json/document_sharers_remove.json +8 -0
  94. data/spec/support/json/document_sharers_set.json +16 -0
  95. data/spec/support/json/document_views.json +32 -0
  96. data/spec/support/json/file_compress.json +8 -0
  97. data/spec/support/json/file_copy.json +14 -0
  98. data/spec/support/json/file_delete.json +5 -0
  99. data/spec/support/json/file_move.json +14 -0
  100. data/spec/support/json/file_upload.json +8 -0
  101. data/spec/support/json/folder_create.json +8 -0
  102. data/spec/support/json/folder_delete.json +5 -0
  103. data/spec/support/json/folder_list.json +21 -0
  104. data/spec/support/json/folder_move.json +8 -0
  105. data/spec/support/json/folder_sharers_get.json +16 -0
  106. data/spec/support/json/folder_sharers_remove.json +8 -0
  107. data/spec/support/json/folder_sharers_set.json +16 -0
  108. data/spec/support/json/job_add_url.json +8 -0
  109. data/spec/support/json/job_create.json +8 -0
  110. data/spec/support/json/job_documents.json +39 -0
  111. data/spec/support/json/job_file_add.json +8 -0
  112. data/spec/support/json/job_update.json +7 -0
  113. data/spec/support/json/jobs_get.json +52 -0
  114. data/spec/support/json/package_create.json +7 -0
  115. data/spec/support/json/questionnaire_create.json +8 -0
  116. data/spec/support/json/questionnaire_datasources.json +26 -0
  117. data/spec/support/json/questionnaire_execution_create.json +9 -0
  118. data/spec/support/json/questionnaire_execution_status_set.json +8 -0
  119. data/spec/support/json/questionnaire_execution_update.json +8 -0
  120. data/spec/support/json/questionnaire_executions.json +24 -0
  121. data/spec/support/json/questionnaire_get.json +14 -0
  122. data/spec/support/json/questionnaire_remove.json +8 -0
  123. data/spec/support/json/questionnaire_update.json +8 -0
  124. data/spec/support/json/questionnaires_get.json +22 -0
  125. data/spec/support/json/storage_info.json +10 -0
  126. data/spec/support/shared_examples/api/entity.rb +37 -0
  127. data/spec/support/shared_examples/api/helpers/status_helper.rb +12 -0
  128. data/spec/support/shared_examples/api/sugar/lookup.rb +57 -0
  129. metadata +356 -0
@@ -0,0 +1,8 @@
1
+ {
2
+ "result":
3
+ {
4
+ "questionnaire_id": 1
5
+ },
6
+ "status": "Ok",
7
+ "error_message": null
8
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "result":
3
+ {
4
+ "questionnaires":
5
+ [
6
+ {
7
+ "id": 1,
8
+ "name": "Q1",
9
+ "descr": "Description",
10
+ "pages": null
11
+ },
12
+ {
13
+ "id": 2,
14
+ "name": "Q2",
15
+ "descr": "Description",
16
+ "pages": null
17
+ }
18
+ ]
19
+ },
20
+ "status": "Ok",
21
+ "error_message": null
22
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "status": "Ok",
3
+ "result":
4
+ {
5
+ "total_space": 1073741824,
6
+ "avail_space": 1069791590,
7
+ "doc_credits": 5000,
8
+ "avail_credits": 4964
9
+ }
10
+ }
@@ -0,0 +1,37 @@
1
+ shared_examples_for GroupDocs::Api::Entity do
2
+ before(:each) do
3
+ # make sure necessary attribute exist
4
+ described_class.class_eval('attr_accessor :id, :test')
5
+ # stub required attributes
6
+ case described_class.name
7
+ when 'GroupDocs::Document'
8
+ described_class.any_instance.stub(file: GroupDocs::Storage::File.new)
9
+ when 'GroupDocs::Document::Annotation'
10
+ GroupDocs::Document.any_instance.stub(file: GroupDocs::Storage::File.new)
11
+ described_class.any_instance.stub(document: GroupDocs::Document.new)
12
+ when 'GroupDocs::Document::Annotation::Reply'
13
+ GroupDocs::Document.any_instance.stub(file: GroupDocs::Storage::File.new)
14
+ GroupDocs::Document::Annotation.any_instance.stub(document: GroupDocs::Document.new)
15
+ described_class.any_instance.stub(annotation: GroupDocs::Document::Annotation.new)
16
+ end
17
+ end
18
+
19
+ it { should be_a(GroupDocs::Api::Entity) }
20
+
21
+ describe '#initialize' do
22
+ it 'allows passing options' do
23
+ object = described_class.new(id: 1, test: 'Test')
24
+ object.id.should == 1
25
+ object.test.should == 'Test'
26
+ end
27
+
28
+ it 'calls passed block for self' do
29
+ object = described_class.new do |object|
30
+ object.id = 1
31
+ object.test = 'Test'
32
+ end
33
+ object.id.should == 1
34
+ object.test.should == 'Test'
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,12 @@
1
+ shared_examples_for GroupDocs::Api::Helpers::Status do
2
+ it { should respond_to(:status) }
3
+ it { should respond_to(:status=) }
4
+
5
+ describe '#status' do
6
+ it 'returns converted to human-readable format status' do
7
+ subject.should_receive(:parse_status).with(0).and_return(:pending)
8
+ subject.status = 0
9
+ subject.status.should == :pending
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,57 @@
1
+ shared_examples_for GroupDocs::Api::Sugar::Lookup do
2
+ before(:each) do
3
+ # make sure `name` attribute exists
4
+ described_class.class_eval('attr_accessor :name')
5
+ end
6
+
7
+ let(:found) do
8
+ if described_class == GroupDocs::Document
9
+ described_class.new(id: 1, file: GroupDocs::Storage::File.new)
10
+ else
11
+ described_class.new(id: 1)
12
+ end
13
+ end
14
+
15
+ describe '.find!' do
16
+ it 'calls #find_all! and return its first result' do
17
+ described_class.should_receive(:find_all!).with(:id, 1, {}).and_return([found])
18
+ described_class.find!(:id, 1).should == found
19
+ end
20
+ end
21
+
22
+ describe '.find_all!' do
23
+ before(:each) do
24
+ folder1 = stub(list!: [], id: 1, name: 'Test')
25
+ folder2 = stub(list!: [folder1], id: 2, name: 'Test2')
26
+ described_class.stub(all!: [folder1, folder2])
27
+ end
28
+
29
+ it 'raises error if class does not implement #all!' do
30
+ described_class.stub(:respond_to?).with(:all!).and_return(false)
31
+ lambda do
32
+ described_class.find_all!(:id, 1)
33
+ end.should raise_error(NoMethodError, "#{described_class}.all! is not implemented - aborting.")
34
+ end
35
+
36
+ it 'allows passing attribute and its value' do
37
+ -> { described_class.find_all!(:id, 1) }.should_not raise_error(ArgumentError)
38
+ end
39
+
40
+ it 'calls #all! and search within it' do
41
+ described_class.should_receive(:all!).and_return([found])
42
+ described_class.find_all!(:name, 'Test')
43
+ end
44
+
45
+ it 'returns an array' do
46
+ described_class.find_all!(:id, 1).should be_an(Array)
47
+ end
48
+
49
+ it 'finds by exact match' do
50
+ described_class.find_all!(:name, 'Test').length.should == 1
51
+ end
52
+
53
+ it 'finds by regexp match' do
54
+ described_class.find_all!(:name, /Test/).length.should == 2
55
+ end
56
+ end
57
+ end
metadata ADDED
@@ -0,0 +1,356 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: groupdocs
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Alex Rodionov
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-04-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rest-client
16
+ requirement: &16953180 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.6'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *16953180
25
+ - !ruby/object:Gem::Dependency
26
+ name: json
27
+ requirement: &16951380 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '1.6'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *16951380
36
+ - !ruby/object:Gem::Dependency
37
+ name: ruby-hmac
38
+ requirement: &16950300 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '0.4'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *16950300
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &16949320 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '2.9'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *16949320
58
+ - !ruby/object:Gem::Dependency
59
+ name: rake
60
+ requirement: &16964200 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: '0.9'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *16964200
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: &16963080 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: '0.6'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *16963080
80
+ - !ruby/object:Gem::Dependency
81
+ name: yard
82
+ requirement: &16962460 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: '0.7'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *16962460
91
+ - !ruby/object:Gem::Dependency
92
+ name: webmock
93
+ requirement: &16960220 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ version: '1.8'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *16960220
102
+ description: Ruby SDK for GroupDocs REST API
103
+ email: p0deje@gmail.com
104
+ executables: []
105
+ extensions: []
106
+ extra_rdoc_files: []
107
+ files:
108
+ - .travis.yml
109
+ - Gemfile
110
+ - README.md
111
+ - Rakefile
112
+ - groupdocs.gemspec
113
+ - lib/groupdocs.rb
114
+ - lib/groupdocs/api.rb
115
+ - lib/groupdocs/api/entity.rb
116
+ - lib/groupdocs/api/helpers.rb
117
+ - lib/groupdocs/api/helpers/access_helper.rb
118
+ - lib/groupdocs/api/helpers/actions_helper.rb
119
+ - lib/groupdocs/api/helpers/rest_helper.rb
120
+ - lib/groupdocs/api/helpers/status_helper.rb
121
+ - lib/groupdocs/api/helpers/url_helper.rb
122
+ - lib/groupdocs/api/request.rb
123
+ - lib/groupdocs/api/sugar/lookup.rb
124
+ - lib/groupdocs/datasource.rb
125
+ - lib/groupdocs/datasource/field.rb
126
+ - lib/groupdocs/document.rb
127
+ - lib/groupdocs/document/annotation.rb
128
+ - lib/groupdocs/document/annotation/reply.rb
129
+ - lib/groupdocs/document/change.rb
130
+ - lib/groupdocs/document/field.rb
131
+ - lib/groupdocs/document/metadata.rb
132
+ - lib/groupdocs/document/rectangle.rb
133
+ - lib/groupdocs/document/view.rb
134
+ - lib/groupdocs/errors.rb
135
+ - lib/groupdocs/job.rb
136
+ - lib/groupdocs/questionnaire.rb
137
+ - lib/groupdocs/questionnaire/execution.rb
138
+ - lib/groupdocs/questionnaire/page.rb
139
+ - lib/groupdocs/questionnaire/question.rb
140
+ - lib/groupdocs/questionnaire/question/answer.rb
141
+ - lib/groupdocs/storage.rb
142
+ - lib/groupdocs/storage/file.rb
143
+ - lib/groupdocs/storage/folder.rb
144
+ - lib/groupdocs/storage/package.rb
145
+ - lib/groupdocs/user.rb
146
+ - lib/groupdocs/version.rb
147
+ - spec/groupdocs/api/entity_spec.rb
148
+ - spec/groupdocs/api/helpers/access_helper_spec.rb
149
+ - spec/groupdocs/api/helpers/actions_helper_spec.rb
150
+ - spec/groupdocs/api/helpers/rest_helper_spec.rb
151
+ - spec/groupdocs/api/helpers/status_helper_spec.rb
152
+ - spec/groupdocs/api/helpers/url_helper_spec.rb
153
+ - spec/groupdocs/api/request_spec.rb
154
+ - spec/groupdocs/datasource/field_spec.rb
155
+ - spec/groupdocs/datasource_spec.rb
156
+ - spec/groupdocs/document/annotation/reply_spec.rb
157
+ - spec/groupdocs/document/annotation_spec.rb
158
+ - spec/groupdocs/document/change_spec.rb
159
+ - spec/groupdocs/document/field_spec.rb
160
+ - spec/groupdocs/document/metadata_spec.rb
161
+ - spec/groupdocs/document/rectangle_spec.rb
162
+ - spec/groupdocs/document/view_spec.rb
163
+ - spec/groupdocs/document_spec.rb
164
+ - spec/groupdocs/errors_spec.rb
165
+ - spec/groupdocs/job_spec.rb
166
+ - spec/groupdocs/questionnaire/execution_spec.rb
167
+ - spec/groupdocs/questionnaire/page_spec.rb
168
+ - spec/groupdocs/questionnaire/question/answer_spec.rb
169
+ - spec/groupdocs/questionnaire/question_spec.rb
170
+ - spec/groupdocs/questionnaire_spec.rb
171
+ - spec/groupdocs/storage/file_spec.rb
172
+ - spec/groupdocs/storage/folder_spec.rb
173
+ - spec/groupdocs/storage/package_spec.rb
174
+ - spec/groupdocs/storage_spec.rb
175
+ - spec/groupdocs/user_spec.rb
176
+ - spec/groupdocs_spec.rb
177
+ - spec/spec_helper.rb
178
+ - spec/support/files/resume.pdf
179
+ - spec/support/json/annotation_collaborators_set.json
180
+ - spec/support/json/annotation_create.json
181
+ - spec/support/json/annotation_list.json
182
+ - spec/support/json/annotation_remove.json
183
+ - spec/support/json/annotation_replies_create.json
184
+ - spec/support/json/annotation_replies_get.json
185
+ - spec/support/json/comparison_changes.json
186
+ - spec/support/json/comparison_compare.json
187
+ - spec/support/json/comparison_document.json
188
+ - spec/support/json/datasource_add.json
189
+ - spec/support/json/datasource_get.json
190
+ - spec/support/json/datasource_remove.json
191
+ - spec/support/json/datasource_update.json
192
+ - spec/support/json/document_access_info_get.json
193
+ - spec/support/json/document_convert.json
194
+ - spec/support/json/document_datasource.json
195
+ - spec/support/json/document_fields.json
196
+ - spec/support/json/document_formats.json
197
+ - spec/support/json/document_metadata.json
198
+ - spec/support/json/document_questionnaire_create.json
199
+ - spec/support/json/document_questionnaires.json
200
+ - spec/support/json/document_sharers_remove.json
201
+ - spec/support/json/document_sharers_set.json
202
+ - spec/support/json/document_views.json
203
+ - spec/support/json/file_compress.json
204
+ - spec/support/json/file_copy.json
205
+ - spec/support/json/file_delete.json
206
+ - spec/support/json/file_move.json
207
+ - spec/support/json/file_upload.json
208
+ - spec/support/json/folder_create.json
209
+ - spec/support/json/folder_delete.json
210
+ - spec/support/json/folder_list.json
211
+ - spec/support/json/folder_move.json
212
+ - spec/support/json/folder_sharers_get.json
213
+ - spec/support/json/folder_sharers_remove.json
214
+ - spec/support/json/folder_sharers_set.json
215
+ - spec/support/json/job_add_url.json
216
+ - spec/support/json/job_create.json
217
+ - spec/support/json/job_documents.json
218
+ - spec/support/json/job_file_add.json
219
+ - spec/support/json/job_update.json
220
+ - spec/support/json/jobs_get.json
221
+ - spec/support/json/package_create.json
222
+ - spec/support/json/questionnaire_create.json
223
+ - spec/support/json/questionnaire_datasources.json
224
+ - spec/support/json/questionnaire_execution_create.json
225
+ - spec/support/json/questionnaire_execution_status_set.json
226
+ - spec/support/json/questionnaire_execution_update.json
227
+ - spec/support/json/questionnaire_executions.json
228
+ - spec/support/json/questionnaire_get.json
229
+ - spec/support/json/questionnaire_remove.json
230
+ - spec/support/json/questionnaire_update.json
231
+ - spec/support/json/questionnaires_get.json
232
+ - spec/support/json/storage_info.json
233
+ - spec/support/shared_examples/api/entity.rb
234
+ - spec/support/shared_examples/api/helpers/status_helper.rb
235
+ - spec/support/shared_examples/api/sugar/lookup.rb
236
+ homepage: https://github.com/p0deje/groupdocs-ruby
237
+ licenses: []
238
+ post_install_message:
239
+ rdoc_options: []
240
+ require_paths:
241
+ - lib
242
+ required_ruby_version: !ruby/object:Gem::Requirement
243
+ none: false
244
+ requirements:
245
+ - - ! '>='
246
+ - !ruby/object:Gem::Version
247
+ version: '0'
248
+ segments:
249
+ - 0
250
+ hash: -1382979673565217855
251
+ required_rubygems_version: !ruby/object:Gem::Requirement
252
+ none: false
253
+ requirements:
254
+ - - ! '>='
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ segments:
258
+ - 0
259
+ hash: -1382979673565217855
260
+ requirements: []
261
+ rubyforge_project:
262
+ rubygems_version: 1.8.10
263
+ signing_key:
264
+ specification_version: 3
265
+ summary: Ruby SDK for GroupDocs REST API
266
+ test_files:
267
+ - spec/groupdocs/api/entity_spec.rb
268
+ - spec/groupdocs/api/helpers/access_helper_spec.rb
269
+ - spec/groupdocs/api/helpers/actions_helper_spec.rb
270
+ - spec/groupdocs/api/helpers/rest_helper_spec.rb
271
+ - spec/groupdocs/api/helpers/status_helper_spec.rb
272
+ - spec/groupdocs/api/helpers/url_helper_spec.rb
273
+ - spec/groupdocs/api/request_spec.rb
274
+ - spec/groupdocs/datasource/field_spec.rb
275
+ - spec/groupdocs/datasource_spec.rb
276
+ - spec/groupdocs/document/annotation/reply_spec.rb
277
+ - spec/groupdocs/document/annotation_spec.rb
278
+ - spec/groupdocs/document/change_spec.rb
279
+ - spec/groupdocs/document/field_spec.rb
280
+ - spec/groupdocs/document/metadata_spec.rb
281
+ - spec/groupdocs/document/rectangle_spec.rb
282
+ - spec/groupdocs/document/view_spec.rb
283
+ - spec/groupdocs/document_spec.rb
284
+ - spec/groupdocs/errors_spec.rb
285
+ - spec/groupdocs/job_spec.rb
286
+ - spec/groupdocs/questionnaire/execution_spec.rb
287
+ - spec/groupdocs/questionnaire/page_spec.rb
288
+ - spec/groupdocs/questionnaire/question/answer_spec.rb
289
+ - spec/groupdocs/questionnaire/question_spec.rb
290
+ - spec/groupdocs/questionnaire_spec.rb
291
+ - spec/groupdocs/storage/file_spec.rb
292
+ - spec/groupdocs/storage/folder_spec.rb
293
+ - spec/groupdocs/storage/package_spec.rb
294
+ - spec/groupdocs/storage_spec.rb
295
+ - spec/groupdocs/user_spec.rb
296
+ - spec/groupdocs_spec.rb
297
+ - spec/spec_helper.rb
298
+ - spec/support/files/resume.pdf
299
+ - spec/support/json/annotation_collaborators_set.json
300
+ - spec/support/json/annotation_create.json
301
+ - spec/support/json/annotation_list.json
302
+ - spec/support/json/annotation_remove.json
303
+ - spec/support/json/annotation_replies_create.json
304
+ - spec/support/json/annotation_replies_get.json
305
+ - spec/support/json/comparison_changes.json
306
+ - spec/support/json/comparison_compare.json
307
+ - spec/support/json/comparison_document.json
308
+ - spec/support/json/datasource_add.json
309
+ - spec/support/json/datasource_get.json
310
+ - spec/support/json/datasource_remove.json
311
+ - spec/support/json/datasource_update.json
312
+ - spec/support/json/document_access_info_get.json
313
+ - spec/support/json/document_convert.json
314
+ - spec/support/json/document_datasource.json
315
+ - spec/support/json/document_fields.json
316
+ - spec/support/json/document_formats.json
317
+ - spec/support/json/document_metadata.json
318
+ - spec/support/json/document_questionnaire_create.json
319
+ - spec/support/json/document_questionnaires.json
320
+ - spec/support/json/document_sharers_remove.json
321
+ - spec/support/json/document_sharers_set.json
322
+ - spec/support/json/document_views.json
323
+ - spec/support/json/file_compress.json
324
+ - spec/support/json/file_copy.json
325
+ - spec/support/json/file_delete.json
326
+ - spec/support/json/file_move.json
327
+ - spec/support/json/file_upload.json
328
+ - spec/support/json/folder_create.json
329
+ - spec/support/json/folder_delete.json
330
+ - spec/support/json/folder_list.json
331
+ - spec/support/json/folder_move.json
332
+ - spec/support/json/folder_sharers_get.json
333
+ - spec/support/json/folder_sharers_remove.json
334
+ - spec/support/json/folder_sharers_set.json
335
+ - spec/support/json/job_add_url.json
336
+ - spec/support/json/job_create.json
337
+ - spec/support/json/job_documents.json
338
+ - spec/support/json/job_file_add.json
339
+ - spec/support/json/job_update.json
340
+ - spec/support/json/jobs_get.json
341
+ - spec/support/json/package_create.json
342
+ - spec/support/json/questionnaire_create.json
343
+ - spec/support/json/questionnaire_datasources.json
344
+ - spec/support/json/questionnaire_execution_create.json
345
+ - spec/support/json/questionnaire_execution_status_set.json
346
+ - spec/support/json/questionnaire_execution_update.json
347
+ - spec/support/json/questionnaire_executions.json
348
+ - spec/support/json/questionnaire_get.json
349
+ - spec/support/json/questionnaire_remove.json
350
+ - spec/support/json/questionnaire_update.json
351
+ - spec/support/json/questionnaires_get.json
352
+ - spec/support/json/storage_info.json
353
+ - spec/support/shared_examples/api/entity.rb
354
+ - spec/support/shared_examples/api/helpers/status_helper.rb
355
+ - spec/support/shared_examples/api/sugar/lookup.rb
356
+ has_rdoc: