groupdocs_viewer_cloud 19.3 → 19.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e16b937deb4d5b53e26a03a3cbf7fb54ae2d4029
4
- data.tar.gz: 42430a81bf760cd2fa0cb3bec08160081af6b641
3
+ metadata.gz: 96b5d6eed5151508c67dc14f94b5280449dbb522
4
+ data.tar.gz: c3ca4cae4d76e895e3dd5efef643b0f548b6868e
5
5
  SHA512:
6
- metadata.gz: fe3677944015724737fa57d950522092270e497c2e4bee863d3d77906749560659add56008255dd20bbc8e78f1a81f4d4b581e027da285091456e2bf0935c3d4
7
- data.tar.gz: 4302c70a902d1eb1be531b135d7c5a18232df78112b94636a302d141ebd65e69fa51de3ac49ca69b01ad7ee94fae942c95d419d7c92c908d8ba1990032673be6
6
+ metadata.gz: ef1e704304519dbc8f58c815e51885742e12e1cfbf64dc8cd10b4e658c7837a67b343c545d3acea6e2f78785178e04a914d057adfef99efa3fff59e475cb31ea
7
+ data.tar.gz: aa8069582d9e2d40522960e8ac2d703cc2b80ea472c51cd7c1db174f590f0d2ee52e5a1ac5cd03e028ebebab2536de2c43e5de1251a08e70039d93e52f1e6ac1
@@ -67,6 +67,9 @@ module GroupDocsViewerCloud
67
67
  # Path for the HTML resources (styles, images and fonts). For example when resource path is http://example.com/api/pages/{page-number}/resources/{resource-name} the {page-number} and {resource-name} templates will be replaced with page number and resource name accordingly. This option is ignored when ExternalResources option is disabled.
68
68
  attr_accessor :resource_path
69
69
 
70
+ # Indicates whether rendering will provide responsive web pages, that look well on different device types. Default value is false.
71
+ attr_accessor :is_responsive
72
+
70
73
  # Attribute mapping from ruby-style variable name to JSON key.
71
74
  def self.attribute_map
72
75
  {
@@ -81,7 +84,8 @@ module GroupDocsViewerCloud
81
84
  :'email_options' => :'EmailOptions',
82
85
  :'project_management_options' => :'ProjectManagementOptions',
83
86
  :'external_resources' => :'ExternalResources',
84
- :'resource_path' => :'ResourcePath'
87
+ :'resource_path' => :'ResourcePath',
88
+ :'is_responsive' => :'IsResponsive'
85
89
  }
86
90
  end
87
91
 
@@ -99,7 +103,8 @@ module GroupDocsViewerCloud
99
103
  :'email_options' => :'EmailOptions',
100
104
  :'project_management_options' => :'ProjectManagementOptions',
101
105
  :'external_resources' => :'BOOLEAN',
102
- :'resource_path' => :'String'
106
+ :'resource_path' => :'String',
107
+ :'is_responsive' => :'BOOLEAN'
103
108
  }
104
109
  end
105
110
 
@@ -159,6 +164,10 @@ module GroupDocsViewerCloud
159
164
  self.resource_path = attributes[:'ResourcePath']
160
165
  end
161
166
 
167
+ if attributes.key?(:'IsResponsive')
168
+ self.is_responsive = attributes[:'IsResponsive']
169
+ end
170
+
162
171
  end
163
172
 
164
173
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -185,6 +194,10 @@ module GroupDocsViewerCloud
185
194
  invalid_properties.push("invalid value for 'external_resources', external_resources cannot be nil.")
186
195
  end
187
196
 
197
+ if @is_responsive.nil?
198
+ invalid_properties.push("invalid value for 'is_responsive', is_responsive cannot be nil.")
199
+ end
200
+
188
201
  return invalid_properties
189
202
  end
190
203
 
@@ -196,6 +209,7 @@ module GroupDocsViewerCloud
196
209
  return false if @render_comments.nil?
197
210
  return false if @render_hidden_pages.nil?
198
211
  return false if @external_resources.nil?
212
+ return false if @is_responsive.nil?
199
213
  return true
200
214
  end
201
215
 
@@ -215,7 +229,8 @@ module GroupDocsViewerCloud
215
229
  email_options == other.email_options &&
216
230
  project_management_options == other.project_management_options &&
217
231
  external_resources == other.external_resources &&
218
- resource_path == other.resource_path
232
+ resource_path == other.resource_path &&
233
+ is_responsive == other.is_responsive
219
234
  end
220
235
 
221
236
  # @see the `==` method
@@ -227,7 +242,7 @@ module GroupDocsViewerCloud
227
242
  # Calculates hash code according to all attributes.
228
243
  # @return [Fixnum] Hash code
229
244
  def hash
230
- [start_page_number, count_pages_to_render, default_font_name, default_encoding, render_comments, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, external_resources, resource_path].hash
245
+ [start_page_number, count_pages_to_render, default_font_name, default_encoding, render_comments, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, external_resources, resource_path, is_responsive].hash
231
246
  end
232
247
 
233
248
  # Downcases first letter.
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsViewerCloud
28
- VERSION = "19.3".freeze
28
+ VERSION = "19.3.2".freeze
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_viewer_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '19.3'
4
+ version: 19.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-07 00:00:00.000000000 Z
11
+ date: 2019-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday