alula-ruby 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/VERSION.md +6 -3
- data/lib/alula/resources/dealer.rb +1 -1
- data/lib/alula/util.rb +2 -1
- data/lib/alula/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 283c173186ac6c408bd812e2dbdd466c48a0a5eb1b8c4714a236e9d69da36ae6
|
4
|
+
data.tar.gz: b9d0e6d2584e9b137d74b72581815631e296ba19e580f661b6a0bea4b13b8304
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 635a48885463ef07a4357942d6fa6568acf87a53701c6ae830931250dd1dcf23be70131ab29db45f81ad36714b897976712d0019bc7531de8d3fa09d648108bb
|
7
|
+
data.tar.gz: 1176d9b7db59f83448a0e47d87be171f42b46b0a8113b4a827f3e1246cf47a371177e39e7437ccd3dc1500289d8a68bb9e2de7f90027868d48464d849c545a5f
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.0.6
|
data/VERSION.md
CHANGED
@@ -2,11 +2,14 @@
|
|
2
2
|
|
3
3
|
| Version | Date | Description |
|
4
4
|
| ------- | --------- | --------------------------------------------------------------------------- |
|
5
|
+
| v1.0.2 | 2023-05-30 | Includes v0.69.11 - fix for a field not being underscoreable |
|
6
|
+
| v1.0.1 | 2023-05-30 | Includes v0.69.10 |
|
5
7
|
| v1.0.0 | 2023-05-30 | Ruby 3 support with some breaking changes |
|
6
|
-
| v0.69.
|
7
|
-
| v0.69.7 | 2023-03-21 | Rename Receiers Disabled field to correct one |
|
8
|
-
| v0.69.8 | 2023-03-29 | Use isCamera and isPanel API fields |
|
8
|
+
| v0.69.10| 2023-06-14 | Dealer phone relationship |
|
9
9
|
| v0.69.9 | 2023-04-18 | Dealer Program resource update |
|
10
|
+
| v0.69.8 | 2023-03-29 | Use isCamera and isPanel API fields |
|
11
|
+
| v0.69.7 | 2023-03-21 | Rename Receiers Disabled field to correct one |
|
12
|
+
| v0.69.6 | 2023-03-17 | Add Dealer Phone resource |
|
10
13
|
| v0.69.5 | 2023-03-14 | Dealer patchable whitelisted camera vendors |
|
11
14
|
| v0.69.4 | 2023-01-26 | User video Profile and readme update |
|
12
15
|
| v0.69.3 | 2023-01-13 | Password reset RPC |
|
@@ -13,7 +13,7 @@ module Alula
|
|
13
13
|
relationship :devices, type: 'devices', cardinality: 'To-many'
|
14
14
|
relationship :users, type: 'users', cardinality: 'To-many'
|
15
15
|
relationship :address, type: 'dealers-addresses', cardinality: 'To-one'
|
16
|
-
|
16
|
+
relationship :phone, type: 'dealers-phones', cardinality: 'To-one'
|
17
17
|
|
18
18
|
# Resource Fields
|
19
19
|
# Not all params are used at the moment. See Alula::ResourceAttributes for details
|
data/lib/alula/util.rb
CHANGED
@@ -5,7 +5,8 @@ module Alula
|
|
5
5
|
# Some fields use odd casing (abbreviations mostly) that require a strict mapping
|
6
6
|
# for camelization to work properly
|
7
7
|
CAMELIZE_MAPPING = {
|
8
|
-
'ce_arming_supervision_trouble_zones' => 'CEArmingSupervisionTroubleZones'
|
8
|
+
'ce_arming_supervision_trouble_zones' => 'CEArmingSupervisionTroubleZones',
|
9
|
+
'support_url' => 'supportURL'
|
9
10
|
}.freeze
|
10
11
|
|
11
12
|
# Based on ActiveSupport's underscore method
|
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.0.
|
4
|
+
version: 1.0.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: 2023-
|
11
|
+
date: 2023-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -176,6 +176,7 @@ files:
|
|
176
176
|
- ".github/workflows/gem-push.yml"
|
177
177
|
- ".gitignore"
|
178
178
|
- ".rspec"
|
179
|
+
- ".ruby-version"
|
179
180
|
- ".travis.yml"
|
180
181
|
- Dockerfile
|
181
182
|
- Gemfile
|