Skip to content

Commit a892431

Browse files
committed
Updated sources
1 parent dd940dc commit a892431

91 files changed

Lines changed: 7139 additions & 2277 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
*.gem
2+
*.rbc
3+
/.config
4+
/coverage/
5+
/InstalledFiles
6+
/pkg/
7+
/spec/reports/
8+
/spec/examples.txt
9+
/test/tmp/
10+
/test/version_tmp/
11+
/tmp/
12+
13+
## Specific to RubyMotion:
14+
.dat*
15+
.repl_history
16+
build/
17+
18+
## Documentation cache and generated files:
19+
/.yardoc/
20+
/_yardoc/
21+
/doc/
22+
/rdoc/
23+
24+
## Environment normalization:
25+
/.bundle/
26+
/vendor/bundle
27+
/lib/bundler/man/
28+
29+
# for a library or gem, you might want to ignore these files since the code is
30+
# intended to run in multiple environments; otherwise, check them in:
31+
# Gemfile.lock
32+
# .ruby-version
33+
# .ruby-gemset
34+
35+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
36+
.rvmrc
37+
38+
# solargraph
39+
.solargraph.yml
40+
41+
# vs code
42+
.vscode/

Gemfile.lock

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
PATH
2+
remote: .
3+
specs:
4+
groupdocs_annotation_cloud (19.5)
5+
addressable (~> 2.5.0, >= 2.5.0)
6+
faraday (~> 0.14.0)
7+
mimemagic (~> 0.3.2)
8+
9+
GEM
10+
remote: https://rubygems.org/
11+
specs:
12+
addressable (2.5.2)
13+
public_suffix (>= 2.0.2, < 4.0)
14+
faraday (0.14.0)
15+
multipart-post (>= 1.2, < 3)
16+
mimemagic (0.3.3)
17+
minitest (5.11.3)
18+
multipart-post (2.1.1)
19+
public_suffix (3.1.0)
20+
rake (12.0.0)
21+
22+
PLATFORMS
23+
x64-mingw32
24+
25+
DEPENDENCIES
26+
groupdocs_annotation_cloud!
27+
minitest (~> 5.11, >= 5.11.3)
28+
rake (~> 12.0.0)
29+
30+
BUNDLED WITH
31+
1.16.6

LICENSE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2003-2018 Aspose Pty Ltd
3+
Copyright (c) 2003-2019 Aspose Pty Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ gem install groupdocs_annotation_cloud
1212
To add dependency to your app copy following into your Gemfile and run `bundle install`:
1313

1414
```
15-
gem "groupdocs_annotation_cloud", "~> 18.7"
15+
gem "groupdocs_annotation_cloud", "~> 19.5"
1616
```
1717

1818
## Getting Started
@@ -27,7 +27,7 @@ app_sid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
2727
app_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
2828

2929
# Create instance of the API class
30-
api = GroupDocsAnnotationCloud.from_keys(app_sid, app_key)
30+
api = GroupDocsAnnotationCloud::InfoApi.from_keys(app_sid, app_key)
3131

3232
# Retrieve supported file-formats
3333
response = api.get_supported_file_formats
@@ -44,10 +44,10 @@ GroupDocs.Annotation Cloud Ruby SDK licensed under [MIT License](LICENSE).
4444

4545
## Resources
4646
+ [**Website**](https://www.groupdocs.cloud)
47-
+ [**Product Home**](https://products.groupdocs.cloud/annotation/cloud)
47+
+ [**Product Home**](https://products.groupdocs.cloud/annotation)
4848
+ [**Documentation**](https://docs.groupdocs.cloud/display/annotationcloud/Home)
4949
+ [**Free Support Forum**](https://forum.groupdocs.cloud/c/annotation)
50-
+ [**Blog**](https://blog.groupdocs.cloud/category/groupdocs-annotation-cloud-product-family)
50+
+ [**Blog**](https://blog.groupdocs.cloud/category/annotation)
5151

5252
## Contact Us
5353
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/annotation).

groupdocs_annotation_cloud.gemspec

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
require './lib/groupdocs_annotation_cloud/version'
22

3-
Gem::Specification.new do |spec|
4-
spec.name = 'groupdocs_annotation_cloud'
5-
spec.version = GroupDocsAnnotationCloud::VERSION
6-
spec.platform = Gem::Platform::RUBY
7-
spec.license = 'MIT'
8-
spec.summary = 'GroupDocs.Annotation Cloud Ruby SDK'
9-
spec.description = 'Ruby gem for communicating with the GroupDocs.Annotation Cloud API'
10-
spec.author = 'GroupDocs'
11-
spec.email = 'support@groupdocs.cloud'
12-
spec.homepage = 'https://products.groupdocs.cloud/annotation/ruby'
13-
spec.metadata = { 'source_code_uri' => 'https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby' }
3+
Gem::Specification.new do |s|
4+
s.name = 'groupdocs_annotation_cloud'
5+
s.version = GroupDocsAnnotationCloud::VERSION
6+
s.platform = Gem::Platform::RUBY
7+
s.license = 'MIT'
8+
s.summary = 'GroupDocs.Annotation Cloud Ruby SDK'
9+
s.description = 'Ruby gem for communicating with the GroupDocs.Annotation Cloud API'
10+
s.author = 'GroupDocs'
11+
s.email = 'support@groupdocs.cloud'
12+
s.homepage = 'https://products.groupdocs.cloud/annotation/ruby'
13+
s.metadata = { 'source_code_uri' => 'https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby' }
1414

15-
spec.add_runtime_dependency 'faraday', '~> 0.14.0'
16-
spec.add_runtime_dependency 'mimemagic', '~> 0.3.2'
17-
spec.add_runtime_dependency 'addressable', '~> 2.5.0', '>= 2.5.0'
15+
s.add_runtime_dependency 'faraday', '~> 0.14.0'
16+
s.add_runtime_dependency 'mimemagic', '~> 0.3.2'
17+
s.add_runtime_dependency 'addressable', '~> 2.5.0', '>= 2.5.0'
1818

19-
spec.add_development_dependency 'groupdocs_storage_cloud', '~> 18.6', '>= 18.5'
20-
spec.add_development_dependency 'minitest', '~> 5.11', '>= 5.11.3'
19+
s.add_development_dependency 'minitest', '~> 5.11', '>= 5.11.3'
2120

22-
spec.files = Dir['lib/**/*.rb']
23-
spec.require_paths = ['lib']
24-
spec.required_ruby_version = '~> 2.3'
21+
s.files = Dir['lib/**/*.rb']
22+
s.require_paths = ['lib']
23+
s.required_ruby_version = '~> 2.3'
2524
end

lib/groupdocs_annotation_cloud.rb

Lines changed: 23 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ------------------------------------------------------------------------------------
22
# <copyright company="Aspose Pty Ltd" file="groupdocs_annotation_cloud.rb">
3-
# Copyright (c) 2003-2018 Aspose Pty Ltd
3+
# Copyright (c) 2003-2019 Aspose Pty Ltd
44
# </copyright>
55
# <summary>
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -32,49 +32,33 @@
3232
# Models
3333
require_relative 'groupdocs_annotation_cloud/models/annotation_info'
3434
require_relative 'groupdocs_annotation_cloud/models/annotation_reply_info'
35+
require_relative 'groupdocs_annotation_cloud/models/disc_usage'
3536
require_relative 'groupdocs_annotation_cloud/models/document_info'
36-
require_relative 'groupdocs_annotation_cloud/models/image_pages'
37+
require_relative 'groupdocs_annotation_cloud/models/error'
38+
require_relative 'groupdocs_annotation_cloud/models/error_details'
39+
require_relative 'groupdocs_annotation_cloud/models/file_versions'
40+
require_relative 'groupdocs_annotation_cloud/models/files_list'
41+
require_relative 'groupdocs_annotation_cloud/models/files_upload_result'
42+
require_relative 'groupdocs_annotation_cloud/models/format'
43+
require_relative 'groupdocs_annotation_cloud/models/formats_result'
3744
require_relative 'groupdocs_annotation_cloud/models/link'
3845
require_relative 'groupdocs_annotation_cloud/models/link_element'
46+
require_relative 'groupdocs_annotation_cloud/models/object_exist'
47+
require_relative 'groupdocs_annotation_cloud/models/page_images'
3948
require_relative 'groupdocs_annotation_cloud/models/page_info'
40-
require_relative 'groupdocs_annotation_cloud/models/row_info'
41-
require_relative 'groupdocs_annotation_cloud/models/value_type'
42-
require_relative 'groupdocs_annotation_cloud/models/annotation_api_link'
43-
require_relative 'groupdocs_annotation_cloud/models/image_page'
4449
require_relative 'groupdocs_annotation_cloud/models/point'
4550
require_relative 'groupdocs_annotation_cloud/models/rectangle'
51+
require_relative 'groupdocs_annotation_cloud/models/row_info'
52+
require_relative 'groupdocs_annotation_cloud/models/storage_exist'
53+
require_relative 'groupdocs_annotation_cloud/models/storage_file'
54+
require_relative 'groupdocs_annotation_cloud/models/annotation_api_link'
55+
require_relative 'groupdocs_annotation_cloud/models/file_version'
56+
require_relative 'groupdocs_annotation_cloud/models/page_image'
4657

4758
# APIs
48-
require_relative 'groupdocs_annotation_cloud/api/annotation_api'
49-
require_relative 'groupdocs_annotation_cloud/api/image_info_api'
50-
require_relative 'groupdocs_annotation_cloud/api/image_pages_api'
51-
require_relative 'groupdocs_annotation_cloud/api/pdf_file_api'
52-
53-
module GroupDocsAnnotationCloud
54-
# Main module
55-
class << self
56-
# Initialize SDK with API keys.
57-
#
58-
# app_sid = "xxx"
59-
# app_key = "xxx"
60-
#
61-
# GroupDocsAnnotationCloud.from_keys(app_sid, app_key)
62-
def from_keys(app_sid, app_key)
63-
AnnotationApi.from_keys(app_sid, app_key)
64-
end
65-
66-
# Initialize SDK with Configuration.
67-
#
68-
# app_sid = "xxx"
69-
# app_key = "xxx"
70-
#
71-
# config = GroupDocsAnnotationCloud::Configuration.new(app_sid, app_key)
72-
# config.debugging = true
73-
# config.temp_folder_path = "./temp"
74-
#
75-
# GroupDocsAnnotationCloud.from_config(config)
76-
def from_config(config)
77-
AnnotationApi.from_config(config)
78-
end
79-
end
80-
end
59+
require_relative 'groupdocs_annotation_cloud/api/annotate_api'
60+
require_relative 'groupdocs_annotation_cloud/api/file_api'
61+
require_relative 'groupdocs_annotation_cloud/api/folder_api'
62+
require_relative 'groupdocs_annotation_cloud/api/info_api'
63+
require_relative 'groupdocs_annotation_cloud/api/preview_api'
64+
require_relative 'groupdocs_annotation_cloud/api/storage_api'

0 commit comments

Comments
 (0)