alula-ruby 2.3.0 → 2.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d96970881def7032eaa1f4566fb622a802b8f3172763f1f36155edd41782628
4
- data.tar.gz: 77247c2916538c0812ac65975c0c4ad674e540152c7f26ea1f91d2d3749e2a7a
3
+ metadata.gz: d4292b6cc0112aa0e2eaf62194f6894e4ccef4071d35a0fee33b08cad35e05eb
4
+ data.tar.gz: b80a6aea89b8e23ff1bc113029f3622defcad05231471995f9b2b2ea65303638
5
5
  SHA512:
6
- metadata.gz: 5ba5ea055c0d1ccc7a4cea560440302ba0021142f248afff1d291a59b87a8e661e1ea36d2081bebe5f7f2939a0bbc32dd47fe811c1aaa256892a7186c57aac12
7
- data.tar.gz: de8fc218f6b8f5875247bc9f5e96c1042f4f9691c5644b516262cecd70e69ec8e5a257191c3f8ac62ec66fa3206284abdac9a40dc9c2dc3f21adcdc6ddf5e869
6
+ metadata.gz: 813be7a704e54bcbaf514480f9d2554ce7e2243ee2a7d52fa59f63922fe963cdf6d44ff0da13628139cc6131e38a5b1e6f8f700c25cc4476586ce4498f1780bd
7
+ data.tar.gz: 974ef551d3fc09091ad2b4a6e1b319ff7bb1c69732a45a1075c9b3d0b58c623c84b2aa69d02ea64603a22ee4a07a94269b43a27624cc2c7192e0305e8dc333d6
data/VERSION.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  | Version | Date | Description |
4
4
  | ------- | ------------| --------------------------------------------------------------------------- |
5
+ | v2.4.0 | 2024-12-19 | Add DeviceUser and HelixUser Revision relationships |
5
6
  | v2.3.0 | 2024-12-17 | Add Video Register Proc |
6
7
  | v2.2.0 | 2024-12-10 | Add SMS Limit to Device model and the Device Feature Price model |
7
8
  | v2.1.2 | 2024-11-12 | Add CameraGetFirmwareVersionProc |
@@ -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
 
@@ -15,6 +15,7 @@ module Alula
15
15
 
16
16
  relationship :device, type: 'devices', cardinality: 'To-one'
17
17
  relationship :user, type: 'users', cardinality: 'To-one'
18
+ relationship :revisions, type: 'revisions', cardinality: 'To-many'
18
19
 
19
20
  field :id,
20
21
  type: :string,
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alula
4
- VERSION = '2.3.0'
4
+ VERSION = '2.4.0'
5
5
  end
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.3.0
4
+ version: 2.4.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: 2024-12-17 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty