lws 7.2.2 → 7.2.3

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
  SHA256:
3
- metadata.gz: 350e54af9f57bb0b94f8f51248803a4e6fa9e2f421756e4d2bac70366ce23fff
4
- data.tar.gz: 7ea50f13efa607f5cca37a78f4017bb3b538c203ebd186a1de981bc56d9d7aab
3
+ metadata.gz: ddef464d750e49d235fc28c11f209e9ac3fe6c8abb0ae605bbf5c3f61867e895
4
+ data.tar.gz: 20194be723ed5c15810a699723bef6d5de54562642bd7e25e80314cf92ed38a6
5
5
  SHA512:
6
- metadata.gz: e2d6398954478aa49996571f6925c9272c325e2fe33da50ecced8945788babb92db0a8ca55b5f959216c242dee51b39ff89eb14a1b7b34d85ebebf5b2dfa34a0
7
- data.tar.gz: f269968ac27d608b2ccced085c4ae425818039340262c5e66bbdded3cc4f3438f781e1add2c15a9b503199c5996f47b0788ccd98c692300f560530fa0df5caf2
6
+ metadata.gz: 6ec11d0269f6c9565832321d27548ff22565f7afc5361317be9862eb286c9681ee2268b70145dffa8f51ec35d71765087a67347ea216c85d4e590146d1bfdedb
7
+ data.tar.gz: 0c1ab92859fe42a6a6fd3f7be9cdb7d3edb0efd338890de8517bc4cc537552f1c5f8de1b0d53616e3098a2b89db94b7ecf7258a83fae6804c1d47e9c1e9aa6f1
@@ -80,6 +80,7 @@ begin
80
80
  LWS.setup do |config|
81
81
  config.api_token = @options[:token] if @options[:token]
82
82
  config.endpoints = @endpoints
83
+ config.http_caching = true
83
84
  config.http_debug = @options[:debug]
84
85
  config.json_debug = @options[:debug]
85
86
  config.logger = logger
@@ -653,6 +653,12 @@ module LWS::DigitalSignage
653
653
  # of the layout element
654
654
  has_many :customizables, class_name: "LWS::DigitalSignage::Layout::Element::Customizable"
655
655
 
656
+ # @!attribute definition
657
+ # @note This attribute is only available if the token is of an account
658
+ # with sysadmin permissions
659
+ # @return [Hash] the (plugin) component definition of the layout element
660
+ attribute :definition
661
+
656
662
  # @!attribute index
657
663
  # @return [Integer, nil] the index of the element within the list of
658
664
  # layout elements of the associated layout version
@@ -768,8 +774,10 @@ module LWS::DigitalSignage
768
774
 
769
775
  # @!attribute archive_url
770
776
  # @note
771
- # To be able retrieve this, the token needs to be passed via +X-Token+
772
- # in the HTTP request headers!
777
+ # To be able retrieve the archive, the token needs to be passed via
778
+ # +X-Token+ in the HTTP request headers!
779
+ # @note This attribute is only available if the token is of an account
780
+ # with sysadmin permissions
773
781
  # @return [String, nil] the URL of the archive/layout pack of the layout
774
782
  # version (if accessible)
775
783
  attribute :archive_url
@@ -84,7 +84,7 @@ module LWS::Presence
84
84
  attribute :title
85
85
 
86
86
  # @!attribute uuid
87
- # @return [String] the UUID of the location
87
+ # @return [String] the UUID of the appointment
88
88
  attribute :uuid
89
89
  end
90
90
 
@@ -174,11 +174,11 @@ module LWS::Presence
174
174
  attribute :checkin_status
175
175
 
176
176
  # @!attribute checkout_alter_status
177
- # @return ["available", "unavailable", "maintenance_cleaning",
178
- # "maintenance_technical", "permanent_available",
179
- # "permanent_unavailable", "permanent_maintenance_cleaning",
180
- # "permanent_maintenance_technical", nil] the status to set the
181
- # location to when someone checks out
177
+ # @return ["available", "maintenance_cleaning", "maintenance_technical",
178
+ # "reserved", "unavailable", "permanent_available",
179
+ # "permanent_maintenance_cleaning", "permanent_maintenance_technical",
180
+ # "permanent_reserved", "permanent_unavailable", nil] the status to set
181
+ # the location to when someone checks out
182
182
  attribute :checkout_alter_status
183
183
 
184
184
  # @!attribute checkout_location
@@ -216,6 +216,10 @@ module LWS::Presence
216
216
  # @return [String, nil] the URL of the image of the location
217
217
  attribute :image_url
218
218
 
219
+ # @!attribute import_ref
220
+ # @return [String, nil] reference of the location in the remote database
221
+ attribute :import_ref
222
+
219
223
  # @!attribute journals
220
224
  # @return [Array<Journal>] the journal (entries) associated with the location
221
225
  has_many :journals, class: "LWS::Presence::Journal"
@@ -285,10 +289,11 @@ module LWS::Presence
285
289
  has_many :readers
286
290
 
287
291
  # @!attribute status
288
- # @return ["available", "unavailable", "maintenance_cleaning",
289
- # "maintenance_technical", "permanent_available",
290
- # "permanent_unavailable", "permanent_maintenance_cleaning",
291
- # "permanent_maintenance_technical"] the status of the location
292
+ # @return ["available", "maintenance_cleaning",
293
+ # "maintenance_technical", "reserved", "unavailable",
294
+ # "permanent_available", "permanent_maintenance_cleaning",
295
+ # "permanent_maintenance_technical", "permanent_reserved",
296
+ # "permanent_unavailable" ] the status of the location
292
297
  attribute :status
293
298
 
294
299
  # @!attribute time_zone
@@ -503,8 +508,7 @@ module LWS::Presence
503
508
  attribute :extra_info
504
509
 
505
510
  # @!attribute import_ref
506
- # @return [String, nil] reference for storing the uid of the remote
507
- # database
511
+ # @return [String, nil] reference of the person in the remote database
508
512
  attribute :import_ref
509
513
 
510
514
  # @!attribute kind
@@ -13,6 +13,6 @@ module LWS
13
13
 
14
14
  # The LWS library version.
15
15
  # @note The major and minor version parts match the LWS API version!
16
- VERSION = "7.2.2".freeze
16
+ VERSION = "7.2.3".freeze
17
17
 
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lws
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.2
4
+ version: 7.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - LeftClick B.V.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-06 00:00:00.000000000 Z
11
+ date: 2020-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday-http-cache
@@ -140,14 +140,14 @@ dependencies:
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: '1.16'
143
+ version: '2.1'
144
144
  type: :development
145
145
  prerelease: false
146
146
  version_requirements: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
- version: '1.16'
150
+ version: '2.1'
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: minitest
153
153
  requirement: !ruby/object:Gem::Requirement