alula-ruby 2.3.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.md +2 -0
- data/lib/alula/resources/dealer_address.rb +7 -0
- data/lib/alula/resources/device.rb +7 -0
- data/lib/alula/resources/device_user.rb +1 -0
- data/lib/alula/resources/helix_user.rb +1 -0
- data/lib/alula/resources/revision.rb +2 -0
- 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: a4bf132a58d1ada8a5b3f51a93ae98c2756d5607182310ebfcbe61a81bc328ab
|
4
|
+
data.tar.gz: 9e71b484dfcccf5c08c2d9952dc74e5d1d217f47c81cb8b024e527fe9abf8e63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54f05a24a5164d534141b1217da494941e964d91e81c6ef5c38df3f1b698f2aded03b777f9c793504adc9bbf6d4a2c371470507598c2c37eb18b6b24ab4a57bd
|
7
|
+
data.tar.gz: 35b71cfc4669eda49793dd0a440448e22d626012156c8c372e111fed4e5b7261ba74882be830c21cafdf0d7625bb74a1b3551224bff532170a659047e259cd14
|
data/VERSION.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
| Version | Date | Description |
|
4
4
|
| ------- | ------------| --------------------------------------------------------------------------- |
|
5
|
+
| v2.5.0 | 2025-01-06 | Add country/state fields to dealer, device, and user |
|
6
|
+
| v2.4.0 | 2024-12-19 | Add DeviceUser and HelixUser Revision relationships |
|
5
7
|
| v2.3.0 | 2024-12-17 | Add Video Register Proc |
|
6
8
|
| v2.2.0 | 2024-12-10 | Add SMS Limit to Device model and the Device Feature Price model |
|
7
9
|
| v2.1.2 | 2024-11-12 | Add CameraGetFirmwareVersionProc |
|
@@ -78,6 +78,13 @@ module Alula
|
|
78
78
|
creatable_by: [],
|
79
79
|
patchable_by: [:system, :station, :dealer]
|
80
80
|
|
81
|
+
field :country,
|
82
|
+
type: :string,
|
83
|
+
sortable: false,
|
84
|
+
filterable: false,
|
85
|
+
creatable_by: [],
|
86
|
+
patchable_by: [:system, :station, :dealer]
|
87
|
+
|
81
88
|
field :zip_code,
|
82
89
|
type: :string,
|
83
90
|
sortable: false,
|
@@ -362,6 +362,13 @@ module Alula
|
|
362
362
|
creatable_by: [],
|
363
363
|
patchable_by: %i[system station dealer technician user]
|
364
364
|
|
365
|
+
field :physical_country,
|
366
|
+
type: :string,
|
367
|
+
sortable: false,
|
368
|
+
filterable: true,
|
369
|
+
creatable_by: [],
|
370
|
+
patchable_by: %i[system station dealer technician user]
|
371
|
+
|
365
372
|
field :physical_zip,
|
366
373
|
type: :string,
|
367
374
|
sortable: false,
|
@@ -15,6 +15,7 @@ module Alula
|
|
15
15
|
relationship :device, type: 'devices', cardinality: 'To-one'
|
16
16
|
relationship :user, type: 'users', cardinality: 'To-one'
|
17
17
|
relationship :helix_users, type: 'helix-users', cardinality: 'To-many'
|
18
|
+
relationship :revisions, type: 'revisions', cardinality: 'To-many'
|
18
19
|
# unused relationships below
|
19
20
|
# relationship :hybrid_panel_users, type: 'devices-partitions-users', cardinality: 'To-many'
|
20
21
|
|
@@ -16,6 +16,8 @@ module Alula
|
|
16
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
|
+
relationship :device_user, type: 'devices-users', cardinality: 'To-one'
|
20
|
+
relationship :helix_user, type: 'helix-users', cardinality: 'To-one'
|
19
21
|
|
20
22
|
# Resource Fields
|
21
23
|
# Not all params are used at the moment. See Alula::ResourceAttributes for details
|
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: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|