lws 7.3.1 → 7.5.0

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: a3537305fd2e0820336aeae72b893d57e81f7c5e89c1439ad11ceab621c98fe7
4
- data.tar.gz: 24be84fdc5a329eed12a2d5b0cfe5a2e950e44a44b99b335fd9d1a0329cb2286
3
+ metadata.gz: badafacf76facec8e57705d04d48733ba141e5d100a3901b08838a3482b4b9a5
4
+ data.tar.gz: 47dbcbca938d498f350bbec29e8f19c010bfbc987100d426ad83fc2ff202f5e6
5
5
  SHA512:
6
- metadata.gz: 53bdca49fdb5085a4d9cd55df5e840155f6cbff9f0370edd74bc494abadeac971829266201d3c4ac8d870b252cd50b0e276b5e1e89b65b9f20c751d74f1761a5
7
- data.tar.gz: aa06286ad53e4947e12ed41258094a352f19d6b4f379167418ac70f442926a3cc19a9a0aa43f5c0bf83ca617a0efe6114fe266092aaec671f95edb478252cf7f
6
+ metadata.gz: 92a55f38d5b4efa9ca3978ad5b0aac18c85a0b372a8f3cb8b070899fd80a07523a44ea9d5c327f1d2c09d592ea1203b94e3f57ce7799146d9911493320e4b666
7
+ data.tar.gz: 4080f8a9251773ebf8e77a834da3f579dd64aae0c7df4eedc1ebe3e0e685d120f790be49d1c0427cd20d0d4ab32052450c3f1fc49f6c71fe02d6c49c6d3b1775
@@ -512,7 +512,7 @@ module LWS::DigitalSignage
512
512
  # the layout
513
513
  # FIXME: Missing endpoint in LWS
514
514
  has_many :categories, class_name: "LWS::DigitalSignage::Layout::Category",
515
- uri: "layout/:layout_id/categories(/:id)"
515
+ uri: "layouts/:layout_id/categories(/:id)"
516
516
 
517
517
  # @!attribute company_owner
518
518
  # @return [LWS::Auth::Company] the company that owns the layout
@@ -770,7 +770,7 @@ module LWS::DigitalSignage
770
770
  # This class is only used within the context of the {Layout} class.
771
771
  class Layout::Version < LWS::Generic::Model
772
772
  use_api LWS::DigitalSignage.api
773
- uri "layout/:layout_id/versions(/:id)"
773
+ uri "layouts/:layout_id/versions(/:id)"
774
774
 
775
775
  # @!attribute archive_storage_id
776
776
  # @return [String, nil] sthe storage ID of the archive/layout pack of the
@@ -953,6 +953,11 @@ module LWS::DigitalSignage
953
953
  # @return [Boolean] whether the player is being serviced/is in service
954
954
  attribute :service
955
955
 
956
+ # @!attribute service_reason
957
+ # @return [String, nil] the reason the player is being serviced/is in
958
+ # service
959
+ attribute :service_reason
960
+
956
961
  # @!attribute status [r]
957
962
  # @return ["unknown", "good", "warning", "bad"] the player status
958
963
  attribute :status
@@ -406,7 +406,7 @@ module LWS::Resource
406
406
  # @return [Forecast] the forecasts for the weather location
407
407
  has_many :forecasts,
408
408
  class_name: "LWS::Resource::Collection::WeatherLocation::Forecast",
409
- uri: "collections/:collection_id/weather_location/:weather_location_id/forecasts(/:id)"
409
+ uri: "collections/:collection_id/weather_locations/:weather_location_id/forecasts(/:id)"
410
410
 
411
411
  # @!attribute kind
412
412
  # @return ["unknown", "yahoo"] the kind of the weather location
@@ -522,6 +522,9 @@ module LWS::Resource
522
522
  # @return [String] the description of the folder
523
523
  attribute :description
524
524
 
525
+ # @!attribute email [r]
526
+ # @return [String] the email adress of the folder
527
+
525
528
  # @!attribute folders
526
529
  # @return [Array<Folder>] the folders contained in the folder
527
530
  has_many :folders
data/lib/lws/config.rb CHANGED
@@ -67,6 +67,7 @@ module LWS
67
67
 
68
68
  #@!attribute http_persistent
69
69
  # @return [Boolean] whether persistent HTTP connections are used
70
+ # (default: +true+)
70
71
  property :http_persistent, default: true
71
72
 
72
73
  #@!attribute json_debug
data/lib/lws/version.rb CHANGED
@@ -14,6 +14,6 @@ module LWS
14
14
 
15
15
  # The LWS library version.
16
16
  # @note The major and minor version parts match the LWS API version!
17
- VERSION = "7.3.1".freeze
17
+ VERSION = "7.5.0".freeze
18
18
 
19
19
  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.3.1
4
+ version: 7.5.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: 2021-09-29 00:00:00.000000000 Z
11
+ date: 2022-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday-http-cache
@@ -76,16 +76,22 @@ dependencies:
76
76
  name: net-http-persistent
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
81
  version: '2.9'
82
+ - - "<"
83
+ - !ruby/object:Gem::Version
84
+ version: '4.0'
82
85
  type: :runtime
83
86
  prerelease: false
84
87
  version_requirements: !ruby/object:Gem::Requirement
85
88
  requirements:
86
- - - "~>"
89
+ - - ">="
87
90
  - !ruby/object:Gem::Version
88
91
  version: '2.9'
92
+ - - "<"
93
+ - !ruby/object:Gem::Version
94
+ version: '4.0'
89
95
  - !ruby/object:Gem::Dependency
90
96
  name: pry
91
97
  requirement: !ruby/object:Gem::Requirement
@@ -104,16 +110,22 @@ dependencies:
104
110
  name: spyke
105
111
  requirement: !ruby/object:Gem::Requirement
106
112
  requirements:
107
- - - "~>"
113
+ - - ">="
108
114
  - !ruby/object:Gem::Version
109
115
  version: '5.3'
116
+ - - "<"
117
+ - !ruby/object:Gem::Version
118
+ version: '7'
110
119
  type: :runtime
111
120
  prerelease: false
112
121
  version_requirements: !ruby/object:Gem::Requirement
113
122
  requirements:
114
- - - "~>"
123
+ - - ">="
115
124
  - !ruby/object:Gem::Version
116
125
  version: '5.3'
126
+ - - "<"
127
+ - !ruby/object:Gem::Version
128
+ version: '7'
117
129
  - !ruby/object:Gem::Dependency
118
130
  name: webmock
119
131
  requirement: !ruby/object:Gem::Requirement