alula-ruby 0.68.0 → 0.69.1
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 +4 -4
- data/README.md +2 -1
- data/VERSION.md +2 -0
- data/lib/alula/resources/device_alias.rb +47 -0
- data/lib/alula/resources/oauth_client.rb +1 -0
- data/lib/alula/version.rb +1 -1
- data/lib/alula.rb +2 -0
- 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: 0b1de8643b1fb3c81e11e6282448709b0dcbc1e4c588ff0b7ad5889150e5342d
|
4
|
+
data.tar.gz: d8bdf0865036bbf8223ae319b6b7f168c77137c226aea9ef51da54e7d076e884
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a97ab90760b0aca2c67382bbe11aed46f5342dea3ae14841be6543089957435ce471e7db8965495ef458bbcdb86b2a31401ed62fd5257c32315f314e490311dc
|
7
|
+
data.tar.gz: 1260dd740b25a4b45dba3e06703aaab93f114f102936871f6a81c7fc1b1ca810a5ae42cd0c0fb3684a88ed9972733a024dc76c48a031bc60d629180e9c59f70b
|
data/README.md
CHANGED
@@ -427,5 +427,6 @@ In your PR:
|
|
427
427
|
After merging your PR:
|
428
428
|
|
429
429
|
- Check out `master` and pull to get the latest
|
430
|
+
<!--
|
430
431
|
- Run `bundle exec rake release`.
|
431
|
-
_A tag will be pushed to Github and then the UI will ask you input to push to a nonexistant URL. Just spam the enter key and let it error out. It's the tag on github that we care about._
|
432
|
+
_A tag will be pushed to Github and then the UI will ask you input to push to a nonexistant URL. Just spam the enter key and let it error out. It's the tag on github that we care about._ [[ github action takes care of this ]] -->
|
data/VERSION.md
CHANGED
@@ -100,3 +100,5 @@
|
|
100
100
|
| v0.66.0 | 2022-11-16 | Receivers Disabled |
|
101
101
|
| v0.67.0 | 2022-11-29 | Renew Programs RPC |
|
102
102
|
| v0.68.0 | 2022-11-29 | Minimum fee attribute |
|
103
|
+
| v0.69.0 | 2022-12-01 | Be able to NICEly delete OAuth clients |
|
104
|
+
| v0.69.1 | 2022-12-16 | Alias model added |
|
@@ -0,0 +1,47 @@
|
|
1
|
+
module Alula
|
2
|
+
class DeviceAlias < Alula::RestResource
|
3
|
+
extend Alula::ResourceAttributes
|
4
|
+
extend Alula::ApiOperations::Request
|
5
|
+
extend Alula::ApiOperations::List
|
6
|
+
extend Alula::ApiOperations::Save
|
7
|
+
extend Alula::ApiOperations::Delete
|
8
|
+
|
9
|
+
resource_path 'devices/aliases'
|
10
|
+
type 'devices-aliases'
|
11
|
+
|
12
|
+
field :id,
|
13
|
+
type: :string,
|
14
|
+
sortable: false,
|
15
|
+
filterable: false,
|
16
|
+
creatable_by: [:system],
|
17
|
+
patchable_by: []
|
18
|
+
|
19
|
+
field :device_id,
|
20
|
+
type: :string,
|
21
|
+
sortable: false,
|
22
|
+
filterable: true,
|
23
|
+
creatable_by: [:system, :station, :dealer, :technician, :user],
|
24
|
+
patchable_by: []
|
25
|
+
|
26
|
+
field :alias_type,
|
27
|
+
type: :string,
|
28
|
+
sortable: true,
|
29
|
+
filterable: true,
|
30
|
+
creatable_by: [:system, :station, :dealer, :technician, :user],
|
31
|
+
patchable_by: [:system, :station, :dealer, :technician, :user]
|
32
|
+
|
33
|
+
field :text,
|
34
|
+
type: :string,
|
35
|
+
sortable: false,
|
36
|
+
filterable: false,
|
37
|
+
creatable_by: [:system, :station, :dealer, :technician, :user],
|
38
|
+
patchable_by: [:system, :station, :dealer, :technician, :user]
|
39
|
+
|
40
|
+
field :zone_or_user_index,
|
41
|
+
type: :string,
|
42
|
+
sortable: true,
|
43
|
+
filterable: true,
|
44
|
+
creatable_by: [:system, :station, :dealer, :technician, :user],
|
45
|
+
patchable_by: [:system, :station, :dealer, :technician, :user]
|
46
|
+
end
|
47
|
+
end
|
data/lib/alula/version.rb
CHANGED
data/lib/alula.rb
CHANGED
@@ -58,6 +58,7 @@ require_relative 'alula/resources/receiver_disabled'
|
|
58
58
|
require_relative 'alula/resources/revision'
|
59
59
|
require_relative 'alula/resources/station'
|
60
60
|
require_relative 'alula/resources/oauth_client'
|
61
|
+
require_relative 'alula/resources/device_alias'
|
61
62
|
|
62
63
|
require_relative 'alula/resources/feature_plan'
|
63
64
|
require_relative 'alula/resources/feature_planvideo'
|
@@ -103,6 +104,7 @@ module Alula
|
|
103
104
|
@@resource_map = [
|
104
105
|
Alula::BillingProgram,
|
105
106
|
Alula::Device,
|
107
|
+
Alula::DeviceAlias,
|
106
108
|
Alula::DeviceCharge,
|
107
109
|
Alula::DeviceCredit,
|
108
110
|
Alula::DeviceEventLog,
|
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: 0.
|
4
|
+
version: 0.69.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -246,6 +246,7 @@ files:
|
|
246
246
|
- lib/alula/resources/dealer_program.rb
|
247
247
|
- lib/alula/resources/dealer_suspension_log.rb
|
248
248
|
- lib/alula/resources/device.rb
|
249
|
+
- lib/alula/resources/device_alias.rb
|
249
250
|
- lib/alula/resources/device_cellular_status.rb
|
250
251
|
- lib/alula/resources/device_charge.rb
|
251
252
|
- lib/alula/resources/device_credit.rb
|