alula-ruby 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.md +1 -0
- data/lib/alula/resources/device.rb +4 -6
- data/lib/alula/resources/device_notification.rb +1 -1
- data/lib/alula/resources/revision.rb +1 -1
- data/lib/alula/resources/user.rb +1 -1
- data/lib/alula/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f73f0bf2cfadf5600972d1058d3f7fd5ba866ce2084be4bb0736f934a13ba5a
|
4
|
+
data.tar.gz: 3fcbd88590ac2d9063e5ca3d5a2a6c9cdece48c224a3f0e57de6abb11358bab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 625bc6433e7d44824b84dd94d1a7beffd70e3a0a609f0b276401004ea1eb070762c04bb4291064fa0e9ef0d987c120fa9be077bc4aac0ff094f598feb57e61ab
|
7
|
+
data.tar.gz: 3a4861e7c50553ee487d10a17e769448028cb4da79943752d33b6c4853d684bdf65d4cda63f3a9924397d615cce30d0e397dcfc96bec9c47027a132e13fe042a
|
data/VERSION.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
| Version | Date | Description |
|
4
4
|
| ------- | --------- | --------------------------------------------------------------------------- |
|
5
|
+
| v1.9.2 | 2024-07-04 | Fix devices-notifications type pluralization and sms notification pluralization |
|
5
6
|
| v1.9.1 | 2024-07-03 | Add video and sms device features |
|
6
7
|
| v1.9.0 | 2024-07-03 | Add DeviceNotification resource with relationships |
|
7
8
|
| v1.8.1 | 2024-06-25 | Update client to accept impersonator authorization to change admin user langauge preference from dealer app |
|
@@ -8,7 +8,6 @@ module Alula
|
|
8
8
|
|
9
9
|
include Alula::DeviceAttributeTranslations
|
10
10
|
|
11
|
-
|
12
11
|
class FeaturesSelected < Alula::ObjectField
|
13
12
|
field :alarm_transmission, type: :boolean
|
14
13
|
field :alarm_notifications, type: :boolean
|
@@ -19,9 +18,9 @@ module Alula
|
|
19
18
|
field :alarm_verification, type: :boolean
|
20
19
|
field :alula_messenger, type: :boolean
|
21
20
|
field :video_verification, type: :boolean
|
22
|
-
field :
|
23
|
-
|
24
|
-
|
21
|
+
field :sms_notification, type: :boolean
|
22
|
+
end
|
23
|
+
|
25
24
|
resource_path 'devices'
|
26
25
|
type 'devices'
|
27
26
|
|
@@ -32,7 +31,7 @@ module Alula
|
|
32
31
|
# relationship :eventlog, type: 'devices-eventlog', cardinality: 'To-many'
|
33
32
|
relationship :receiver_group, type: 'receivers-groups', cardinality: 'To-one'
|
34
33
|
# relationship :helix_users, type: 'helix-user', cardinality: 'To-many'
|
35
|
-
relationship :notifications, type: '
|
34
|
+
relationship :notifications, type: 'devices-notifications', cardinality: 'To-many'
|
36
35
|
# relationship :users, type: 'devices-user', cardinality: 'To-many'
|
37
36
|
# relationship :features_supported, type: 'devices-features-supported', cardinality: 'To-one'
|
38
37
|
# relationship :features_disabled, type: 'devices-features-disabled', cardinality: 'To-one'
|
@@ -699,6 +698,5 @@ module Alula
|
|
699
698
|
filterable: false,
|
700
699
|
creatable_by: [],
|
701
700
|
patchable_by: [:system]
|
702
|
-
|
703
701
|
end
|
704
702
|
end
|
@@ -9,7 +9,7 @@ module Alula
|
|
9
9
|
extend Alula::ApiOperations::Save
|
10
10
|
|
11
11
|
resource_path 'devices/notifications'
|
12
|
-
type '
|
12
|
+
type 'devices-notifications'
|
13
13
|
|
14
14
|
relationship :device, type: 'devices', cardinality: 'To-one'
|
15
15
|
relationship :revisions, type: 'revisions', cardinality: 'To-many'
|
@@ -13,7 +13,7 @@ module Alula
|
|
13
13
|
# Relationships
|
14
14
|
relationship :creator, type: 'users', cardinality: 'To-one'
|
15
15
|
relationship :device, type: 'devices', cardinality: 'To-one'
|
16
|
-
relationship :device_notification, type: '
|
16
|
+
relationship :device_notification, type: 'devices-notifications', cardinality: 'To-one'
|
17
17
|
relationship :user, type: 'users', cardinality: 'To-one'
|
18
18
|
relationship :dealer, type: 'dealers', cardinality: 'To-one'
|
19
19
|
|
data/lib/alula/resources/user.rb
CHANGED
@@ -12,7 +12,7 @@ module Alula
|
|
12
12
|
type 'users'
|
13
13
|
|
14
14
|
relationship :devices, type: 'devices', cardinality: 'To-many'
|
15
|
-
relationship :device_notifications, type: '
|
15
|
+
relationship :device_notifications, type: 'devices-notifications', cardinality: 'To-many'
|
16
16
|
relationship :dealer, type: 'dealers', cardinality: 'To-one'
|
17
17
|
relationship :phone, type: 'users-phones', cardinality: 'To-one'
|
18
18
|
relationship :address, type: 'users-addresses', cardinality: 'To-one'
|
data/lib/alula/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alula-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|