lws 7.1.3 → 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: b61e005e4e0e7bf19e2d9299e5444e914c5aac6df6cfd3084cd63ff5fd75bb87
4
- data.tar.gz: 0fa6b75fa04c5b9823052e79a74283fcb1de031ca3312cd921f942100cb32248
3
+ metadata.gz: ddef464d750e49d235fc28c11f209e9ac3fe6c8abb0ae605bbf5c3f61867e895
4
+ data.tar.gz: 20194be723ed5c15810a699723bef6d5de54562642bd7e25e80314cf92ed38a6
5
5
  SHA512:
6
- metadata.gz: 2619b5d60dc8a3df39b8d739b364832d63025b5eca9024b42619308e753ee51fcbd14dda437a1a1d3269eef2eee3e8acea30841c020b6bfc7da1b9dbd277af94
7
- data.tar.gz: 97f62b08426cdbbeae331d10254f8b12e58147074cbecee642d1a4cbe179d4ebd1fd70080cda730d003ec10a2799499f626bc97d5ce92f3ab91189adb3d63d00
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
data/lib/lws.rb CHANGED
@@ -1,15 +1,16 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "faraday_middleware"
13
+ require "faraday/http_cache"
13
14
  require "hashie"
14
15
  require "multi_json"
15
16
  require "spyke"
@@ -43,7 +44,7 @@ module LWS
43
44
  # @return [Config] the API configuration for the web services
44
45
  mattr_reader :config
45
46
 
46
- # @return [Stubbing] the stubbing setup for the web service
47
+ # @return [Stubbing] the stubbing setup for the web services
47
48
  mattr_reader :stubbing
48
49
 
49
50
  # Sets up the application API libraries using the provided
@@ -73,7 +74,7 @@ module LWS
73
74
  #
74
75
  # @yieldparam [Config] config an API configuration object that can be
75
76
  # configured
76
- # @raise [LWS::Errors::ConfigError] if the API token is not configured/found
77
+ # @raise [LWS::Errors::ConfigError] if the API token is not configured/found afterwards
77
78
  # @return [LWS] the module itself
78
79
  def self.setup(&block)
79
80
  @@config = Config.new
@@ -116,6 +117,12 @@ module LWS
116
117
  if config.caching_object
117
118
  c.use FaradayMiddleware::Caching, config.caching_object
118
119
  end
120
+ if config.http_caching
121
+ logger = config.http_debug ? config.logger : nil
122
+ c.use Faraday::HttpCache, store: config.http_caching_object,
123
+ logger: logger,
124
+ shared_cache: false
125
+ end
119
126
  c.use RequestHeaders, config.api_token
120
127
  c.use config.api_token_middleware if config.api_token_middleware.present?
121
128
  c.request :json
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  # = The auth app module
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  # = The corporate website app module
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2017 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  # = The digital_signage app module
@@ -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
@@ -761,6 +767,21 @@ module LWS::DigitalSignage
761
767
  use_api LWS::DigitalSignage.api
762
768
  uri "layout/:layout_id/versions(/:id)"
763
769
 
770
+ # @!attribute archive_storage_id
771
+ # @return [String, nil] sthe storage ID of the archive/layout pack of the
772
+ # layout version
773
+ attribute :archive_storage_id
774
+
775
+ # @!attribute archive_url
776
+ # @note
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
781
+ # @return [String, nil] the URL of the archive/layout pack of the layout
782
+ # version (if accessible)
783
+ attribute :archive_url
784
+
764
785
  # @!attribute elements
765
786
  # @return [Array<Layout::Element>] the elements contained in the layout
766
787
  # version
@@ -892,6 +913,10 @@ module LWS::DigitalSignage
892
913
  # @return [Array<Player::Component::Part>] the parts of the player
893
914
  has_many :parts, class_name: "LWS::DigitalSignage::Player::Component::Part"
894
915
 
916
+ # @!attribute recent_os
917
+ # @return [Boolean] whether the OS of the player is recent
918
+ attribute :recent_os
919
+
895
920
  # @!attribute registration_locked
896
921
  # @return [Boolean] whether registarion is locked for the player
897
922
  attribute :registration_locked
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  # = The generic app module
@@ -157,7 +157,11 @@ module LWS::Generic
157
157
  # @return [Object, nil] the digged up value or +nil+
158
158
  def dig(*attrs)
159
159
  attr = attrs.shift
160
- value = send(attr)
160
+ value = begin
161
+ send(attr)
162
+ rescue NoMethodError
163
+ nil
164
+ end
161
165
  return nil if value.nil?
162
166
  return value if attrs.empty?
163
167
  raise TypeError, "#{value.class} does not have #dig method" unless value.respond_to? :dig
@@ -193,7 +197,7 @@ module LWS::Generic
193
197
 
194
198
  # = The storage class
195
199
  #
196
- # This class can be used to upload files for this app module.
200
+ # This class can be used to download and upload files for this app module.
197
201
  class Storage
198
202
  # @!visibility private
199
203
  def self.use_api(api)
@@ -264,7 +268,7 @@ module LWS::Generic
264
268
  checksum = Digest::MD5.base64digest(data)
265
269
  body = { blob: { filename: filename,
266
270
  content_type: content_type,
267
- byte_size: data.length,
271
+ byte_size: data.bytesize,
268
272
  checksum: checksum } }
269
273
  res = @as_connection.post do |req|
270
274
  req.url "rails/active_storage/direct_uploads"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  # = The maps app module
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  # = The presence app module
@@ -43,10 +43,6 @@ module LWS::Presence
43
43
  class Appointment < LWS::Generic::Model
44
44
  use_api LWS::Presence.api
45
45
 
46
- # @!attribute title
47
- # @return [String] the title of the appointment
48
- attribute :title
49
-
50
46
  # @!attribute datetime_end
51
47
  # @return [String] the timestamp of the end of the appointment
52
48
  attribute :datetime_end
@@ -72,19 +68,23 @@ module LWS::Presence
72
68
  attribute :location_id
73
69
 
74
70
  # @!attribute organiser
75
- # @return [Person] the origaniser of the appointment
71
+ # @return [Person] the organiser of the appointment
76
72
  belongs_to :organiser, class_name: "LWS::Presence::Person"
77
73
 
78
74
  # @!attribute organiser_id
79
- # @return [Fixnum] the ID of the origaniser of the appointment
75
+ # @return [Fixnum] the ID of the organiser of the appointment
80
76
  attribute :organiser_id
81
77
 
82
78
  # @!attribute people
83
79
  # @return [Array<Person>] the people associated with the appointment
84
80
  has_many :people
85
81
 
82
+ # @!attribute title
83
+ # @return [String] the title of the appointment
84
+ attribute :title
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
@@ -439,6 +444,10 @@ module LWS::Presence
439
444
  class Person < LWS::Generic::Model
440
445
  use_api LWS::Presence.api
441
446
 
447
+ # @!attribute address
448
+ # @return [String, nil] the address of the person
449
+ attribute :address
450
+
442
451
  # @!attribute appointments
443
452
  # @return [Array<Appointment>] the appointments involving the person
444
453
  has_many :appointments
@@ -454,6 +463,18 @@ module LWS::Presence
454
463
  # @return [String, nil] the URL of the avatar of the person
455
464
  attribute :avatar_url
456
465
 
466
+ # @!attribute birthdate
467
+ # @return [String, nil] the birthdate of the person
468
+ attribute :birthdate
469
+
470
+ # @!attribute city
471
+ # @return [String, nil] the city of the person
472
+ attribute :city
473
+
474
+ # @!attribute country
475
+ # @return [String, nil] the country of the person
476
+ attribute :country
477
+
457
478
  # @!attribute company
458
479
  # @return [LWS::Auth::Company] the company the person belongs to
459
480
  belongs_to :company, class_name: "LWS::Auth::Company"
@@ -487,8 +508,7 @@ module LWS::Presence
487
508
  attribute :extra_info
488
509
 
489
510
  # @!attribute import_ref
490
- # @return [String, nil] reference for storing the uid of the remote
491
- # database
511
+ # @return [String, nil] reference of the person in the remote database
492
512
  attribute :import_ref
493
513
 
494
514
  # @!attribute kind
@@ -595,12 +615,24 @@ module LWS::Presence
595
615
  # @return ["public", "private"] if a person should be protected by not
596
616
  # showing critical information
597
617
  attribute :visibility
618
+
619
+ # @!attribute zip_code
620
+ # @return [String, nil] the zip code of the person
621
+ attribute :zip_code
598
622
  end
599
623
 
600
624
  # = The reader class
601
625
  class Reader < LWS::Generic::Model
602
626
  use_api LWS::Presence.api
603
627
 
628
+ # @!attribute company
629
+ # @return [LWS::Auth::Company] the company the reader belongs to
630
+ belongs_to :company, class_name: "LWS::Auth::Company"
631
+
632
+ # @!attribute company_id
633
+ # @return [Integer] the ID of the company the reader belongs to
634
+ attribute :company_id
635
+
604
636
  # @!attribute gateway
605
637
  # @return [Integer] the (32-bit) LCIO gateway ID of the reader
606
638
  attribute :gateway
@@ -613,9 +645,17 @@ module LWS::Presence
613
645
  # @return [Integer] the ID of the location of the reader
614
646
  attribute :location_id
615
647
 
648
+ # @!attribute name
649
+ # @return [String] the name of the reader
650
+ attribute :name
651
+
616
652
  # @!attribute node
617
653
  # @return [Integer] the (8-bit) LCIO gateway node number of the reader
618
654
  attribute :node
655
+
656
+ # @!attribute serial_number
657
+ # @return [String] the serial number of the reader
658
+ attribute :serial_number
619
659
  end
620
660
 
621
661
  # (see Generic::Storage)
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  # = The resource app module
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  # = The ticket app module
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  module LWS
@@ -45,6 +45,15 @@ module LWS
45
45
  # (default: +:production+)
46
46
  property :environment, default: :production
47
47
 
48
+ #@!attribute http_caching
49
+ # @return [Boolean] whether HTTP caching is enabled
50
+ property :http_caching, default: false
51
+
52
+ #@!attribute http_caching_object
53
+ # @return [#read, #write, #delete] an object that caches results
54
+ # respecting HTTP expiration (instead of an in-memory hash)
55
+ property :http_caching_object, default: nil
56
+
48
57
  #@!attribute http_debug
49
58
  # @return [Boolean] whether to show HTTP debug messages (default: +false+)
50
59
  property :http_debug, default: false
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  module LWS
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  module LWS
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  module LWS
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  module LWS
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  module LWS
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  module LWS
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  module LWS
@@ -1,18 +1,18 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  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.1.3".freeze
16
+ VERSION = "7.2.3".freeze
17
17
 
18
18
  end
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -0,0 +1,81 @@
1
+ #
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
+ #
4
+ # This software is property of LeftClick B.V. and cannot be redistributed
5
+ # and/or modified without permission. The software or any of its parts
6
+ # cannot be used for any other purposes than the LeftClick services and
7
+ # only during a valid license subscription. For more information, please
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
+
11
+
12
+ require "test_helper"
13
+
14
+ class TestHTTPCaching < MiniTest::Test
15
+
16
+ # Class used to check if data is read/written to or remove from the cache
17
+ class HTTPCacheTest
18
+
19
+ attr_reader :last_read_key
20
+ attr_reader :last_written_key, :last_written_value
21
+ attr_reader :last_deleted_key
22
+
23
+ def read(key)
24
+ @last_read_key = key
25
+ nil
26
+ end
27
+
28
+ def write(key, value)
29
+ @last_written_key = key
30
+ @last_written_value = value
31
+ nil
32
+ end
33
+
34
+ def delete(key)
35
+ @last_deleted_key = key
36
+ nil
37
+ end
38
+
39
+ end
40
+
41
+ def setup
42
+ @cache_mock = HTTPCacheTest.new
43
+
44
+ # Redo the LWS setup with an HTTP caching object
45
+ LWS.setup do |config|
46
+ config.api_token = ENV["LC_LWS_TEST_TOKEN"]
47
+ config.http_caching = true
48
+ config.http_caching_object = @cache_mock
49
+ if ENV["LC_LWS_TEST_DEBUG"].present?
50
+ config.http_debug = true
51
+ config.http_debug_headers = true
52
+ end
53
+ config.environment = :development
54
+ end
55
+ end
56
+
57
+ def teardown
58
+ # Restore the configuration
59
+ reconfigure
60
+ end
61
+
62
+ def test_working_cache
63
+ assert_nil(@cache_mock.last_read_key)
64
+ assert_nil(@cache_mock.last_written_key)
65
+ assert_nil(@cache_mock.last_written_value)
66
+ assert_nil(@cache_mock.last_deleted_key)
67
+
68
+ new_configuration = LWS::Auth::Configuration.create(key: "test", value: "some_value")
69
+ refute_nil(@cache_mock.last_deleted_key)
70
+
71
+ _configurations = LWS::Auth::Configuration.where(key: "test").to_a
72
+ refute_nil(@cache_mock.last_read_key)
73
+ assert_equal(@cache_mock.last_read_key, @cache_mock.last_written_key)
74
+ refute_nil(@cache_mock.last_written_value)
75
+
76
+ old_key = @cache_mock.last_deleted_key.dup
77
+ new_configuration.destroy
78
+ refute_equal(old_key, @cache_mock.last_deleted_key)
79
+ end
80
+
81
+ end
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  class Minitest::Test
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require 'simplecov'
@@ -1,12 +1,12 @@
1
1
  #
2
- # Copyright © 2016 LeftClick B.V.
2
+ # Copyright © 2016–2020 LeftClick B.V.
3
3
  #
4
4
  # This software is property of LeftClick B.V. and cannot be redistributed
5
5
  # and/or modified without permission. The software or any of its parts
6
6
  # cannot be used for any other purposes than the LeftClick services and
7
7
  # only during a valid license subscription. For more information, please
8
- # contact LeftClick B.V. at: Geldropseweg 8B, 5731 SG Mierlo, The
9
- # Netherlands, info@leftclick.eu, +31492-782120.
8
+ # contact LeftClick B.V. at: Schootense Dreef 20A, 5708 HZ Helmond, The
9
+ # Netherlands, info@leftclick.eu, +3185-4444-004.
10
10
 
11
11
 
12
12
  require "test_helper"
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lws
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.3
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-09-03 00:00:00.000000000 Z
11
+ date: 2020-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday-http-cache
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.2'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: faraday_middleware
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -126,14 +140,14 @@ dependencies:
126
140
  requirements:
127
141
  - - "~>"
128
142
  - !ruby/object:Gem::Version
129
- version: '1.16'
143
+ version: '2.1'
130
144
  type: :development
131
145
  prerelease: false
132
146
  version_requirements: !ruby/object:Gem::Requirement
133
147
  requirements:
134
148
  - - "~>"
135
149
  - !ruby/object:Gem::Version
136
- version: '1.16'
150
+ version: '2.1'
137
151
  - !ruby/object:Gem::Dependency
138
152
  name: minitest
139
153
  requirement: !ruby/object:Gem::Requirement
@@ -262,6 +276,7 @@ files:
262
276
  - test/fixtures/auth.yml
263
277
  - test/fixtures/permissions.yml
264
278
  - test/generic_test.rb
279
+ - test/http_caching_test.rb
265
280
  - test/json_parser_test.rb
266
281
  - test/logger_test.rb
267
282
  - test/maps_test.rb
@@ -290,33 +305,33 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
305
  - !ruby/object:Gem::Version
291
306
  version: '0'
292
307
  requirements: []
293
- rubyforge_project:
294
- rubygems_version: 2.7.6
308
+ rubygems_version: 3.1.2
295
309
  signing_key:
296
310
  specification_version: 4
297
311
  summary: LeftClick web services library for Ruby
298
312
  test_files:
299
- - test/presence_test.rb
300
- - test/fixtures/permissions.yml
301
- - test/fixtures/auth.yml
313
+ - test/http_caching_test.rb
314
+ - test/generic_test.rb
315
+ - test/caching_test.rb
316
+ - test/api_token_middleware_test.rb
302
317
  - test/corporate_website_test.rb
303
- - test/logger_test.rb
304
- - test/support/with_env.rb
305
- - test/stubbing_test.rb
306
318
  - test/ticket_test.rb
307
- - test/digital_signage_test.rb
308
- - test/caching_test.rb
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
319
+ - test/stubbing_test.rb
320
+ - test/setup_test.rb
315
321
  - test/config/invalid.yml
322
+ - test/config/full.yml
316
323
  - test/config/empty.yml
324
+ - test/config/endpoints.yml
325
+ - test/config/switch_env.yml
317
326
  - test/config/tokens.yml
318
- - test/config/full.yml
319
- - test/setup_test.rb
320
- - test/api_token_middleware_test.rb
321
- - test/generic_test.rb
327
+ - test/json_parser_test.rb
328
+ - test/presence_test.rb
329
+ - test/digital_signage_test.rb
322
330
  - test/test_helper.rb
331
+ - test/maps_test.rb
332
+ - test/support/with_env.rb
333
+ - test/resource_test.rb
334
+ - test/auth_test.rb
335
+ - test/logger_test.rb
336
+ - test/fixtures/permissions.yml
337
+ - test/fixtures/auth.yml