alula-ruby 1.0.0 → 1.0.2

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: 3cbad5161d574736680e601f31208d39561bd7fbeb78a132bc3639ad32425ba2
4
- data.tar.gz: 15e57254e4bb496e1ab4a1c2b3a91136e0a129b7ab6c07425d8b29dbb8575964
3
+ metadata.gz: 283c173186ac6c408bd812e2dbdd466c48a0a5eb1b8c4714a236e9d69da36ae6
4
+ data.tar.gz: b9d0e6d2584e9b137d74b72581815631e296ba19e580f661b6a0bea4b13b8304
5
5
  SHA512:
6
- metadata.gz: b7f5a4392de618d7d2b666c9de5744dc90c4976ab09f2bad6d13c5886764752faed4f5e33a2c488fe17162204e1862699ca579cac3dd1fda1254362e30f563b7
7
- data.tar.gz: 6927dd4bf7991004544433723c1f89dcd06040053b1aec3109a0a2d7a94c5283e14eff56d5325a50050c9bf62cc3aadb3dc87bc777794a265c9aa8cacc4ae3ab
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.6 | 2023-03-17 | Add Dealer Phone resource |
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
- # relationship :phone, type: 'dealers-phones', cardinality: 'To-one'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alula
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.2'
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: 1.0.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-06-12 00:00:00.000000000 Z
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