lws 7.1.4 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lws/apps/digital_signage.rb +4 -0
- data/lib/lws/apps/generic.rb +1 -1
- data/lib/lws/apps/presence.rb +20 -0
- data/lib/lws/version.rb +1 -1
- metadata +21 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db2a5afb03078543a2c129a2eb447c9038032daba9b06ee4c7ce16e484fa356b
|
4
|
+
data.tar.gz: 9bd4e6f9a94ac7e86ed1572617c99fd8330ce718516a847b9ef7aecc5d96380f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34d875da7b9139b7115a15cc6b61ef7930956dae43858ff386da3738e8eedef3f9250f99fd0c62fb68a76725e9811fc9ab0ebd7c1c60847cf2d7a9479c1ef187
|
7
|
+
data.tar.gz: 4f792cfef73be50479bd9dbf91814e66e46a2bc1612203eb40d91fded571fa1b5a57820c585560524a578a658faec0d151b462dfba33e297536d9484218ecc82
|
@@ -905,6 +905,10 @@ module LWS::DigitalSignage
|
|
905
905
|
# @return [Array<Player::Component::Part>] the parts of the player
|
906
906
|
has_many :parts, class_name: "LWS::DigitalSignage::Player::Component::Part"
|
907
907
|
|
908
|
+
# @!attribute recent_os
|
909
|
+
# @return [Boolean] whether the OS of the player is recent
|
910
|
+
attribute :recent_os
|
911
|
+
|
908
912
|
# @!attribute registration_locked
|
909
913
|
# @return [Boolean] whether registarion is locked for the player
|
910
914
|
attribute :registration_locked
|
data/lib/lws/apps/generic.rb
CHANGED
@@ -264,7 +264,7 @@ module LWS::Generic
|
|
264
264
|
checksum = Digest::MD5.base64digest(data)
|
265
265
|
body = { blob: { filename: filename,
|
266
266
|
content_type: content_type,
|
267
|
-
byte_size: data.
|
267
|
+
byte_size: data.bytesize,
|
268
268
|
checksum: checksum } }
|
269
269
|
res = @as_connection.post do |req|
|
270
270
|
req.url "rails/active_storage/direct_uploads"
|
data/lib/lws/apps/presence.rb
CHANGED
@@ -439,6 +439,10 @@ module LWS::Presence
|
|
439
439
|
class Person < LWS::Generic::Model
|
440
440
|
use_api LWS::Presence.api
|
441
441
|
|
442
|
+
# @!attribute address
|
443
|
+
# @return [String, nil] the address of the person
|
444
|
+
attribute :address
|
445
|
+
|
442
446
|
# @!attribute appointments
|
443
447
|
# @return [Array<Appointment>] the appointments involving the person
|
444
448
|
has_many :appointments
|
@@ -454,6 +458,18 @@ module LWS::Presence
|
|
454
458
|
# @return [String, nil] the URL of the avatar of the person
|
455
459
|
attribute :avatar_url
|
456
460
|
|
461
|
+
# @!attribute birthdate
|
462
|
+
# @return [String, nil] the birthdate of the person
|
463
|
+
attribute :birthdate
|
464
|
+
|
465
|
+
# @!attribute city
|
466
|
+
# @return [String, nil] the city of the person
|
467
|
+
attribute :city
|
468
|
+
|
469
|
+
# @!attribute country
|
470
|
+
# @return [String, nil] the country of the person
|
471
|
+
attribute :country
|
472
|
+
|
457
473
|
# @!attribute company
|
458
474
|
# @return [LWS::Auth::Company] the company the person belongs to
|
459
475
|
belongs_to :company, class_name: "LWS::Auth::Company"
|
@@ -595,6 +611,10 @@ module LWS::Presence
|
|
595
611
|
# @return ["public", "private"] if a person should be protected by not
|
596
612
|
# showing critical information
|
597
613
|
attribute :visibility
|
614
|
+
|
615
|
+
# @!attribute zip_code
|
616
|
+
# @return [String, nil] the zip code of the person
|
617
|
+
attribute :zip_code
|
598
618
|
end
|
599
619
|
|
600
620
|
# = The reader class
|
data/lib/lws/version.rb
CHANGED
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.
|
4
|
+
version: 7.2.0
|
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
|
+
date: 2020-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday_middleware
|
@@ -290,33 +290,32 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
- !ruby/object:Gem::Version
|
291
291
|
version: '0'
|
292
292
|
requirements: []
|
293
|
-
|
294
|
-
rubygems_version: 2.7.6
|
293
|
+
rubygems_version: 3.1.2
|
295
294
|
signing_key:
|
296
295
|
specification_version: 4
|
297
296
|
summary: LeftClick web services library for Ruby
|
298
297
|
test_files:
|
299
|
-
- test/
|
300
|
-
- test/
|
301
|
-
- test/
|
298
|
+
- test/generic_test.rb
|
299
|
+
- test/caching_test.rb
|
300
|
+
- test/api_token_middleware_test.rb
|
302
301
|
- test/corporate_website_test.rb
|
303
|
-
- test/logger_test.rb
|
304
|
-
- test/support/with_env.rb
|
305
|
-
- test/stubbing_test.rb
|
306
302
|
- test/ticket_test.rb
|
307
|
-
- test/
|
308
|
-
- test/
|
309
|
-
- test/auth_test.rb
|
310
|
-
- test/maps_test.rb
|
311
|
-
- test/json_parser_test.rb
|
312
|
-
- test/resource_test.rb
|
313
|
-
- test/config/endpoints.yml
|
314
|
-
- test/config/switch_env.yml
|
303
|
+
- test/stubbing_test.rb
|
304
|
+
- test/setup_test.rb
|
315
305
|
- test/config/invalid.yml
|
306
|
+
- test/config/full.yml
|
316
307
|
- test/config/empty.yml
|
308
|
+
- test/config/endpoints.yml
|
309
|
+
- test/config/switch_env.yml
|
317
310
|
- test/config/tokens.yml
|
318
|
-
- test/
|
319
|
-
- test/
|
320
|
-
- test/
|
321
|
-
- test/generic_test.rb
|
311
|
+
- test/json_parser_test.rb
|
312
|
+
- test/presence_test.rb
|
313
|
+
- test/digital_signage_test.rb
|
322
314
|
- test/test_helper.rb
|
315
|
+
- test/maps_test.rb
|
316
|
+
- test/support/with_env.rb
|
317
|
+
- test/resource_test.rb
|
318
|
+
- test/auth_test.rb
|
319
|
+
- test/logger_test.rb
|
320
|
+
- test/fixtures/permissions.yml
|
321
|
+
- test/fixtures/auth.yml
|