ruby-jss 4.1.1b1 → 4.1.1b2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f1ac6c2d3b4693fafce0ba01599c0fa26b376cc257947b3ab8f4ee93f031c7c
|
4
|
+
data.tar.gz: 4cf21fe613227891e3d752e9f5efcd76bb8dc0d093c1d5b0c218c133333e287c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4083b2f1fb98690e8f768c29a2cd74d8fc926f32ef8dd6576af4356b4f48ab449258bae4009025ed00e334644ede060509e70e3ac6f16abc269018de6a5eeca3
|
7
|
+
data.tar.gz: 4f5a65c95466110be3aa52283b81b73c824be78a8e835a971f06efcd719cd240cd00e7c4d4c38cf519586e5b6d6c1365eeba3bfdd1ee57f89fa952053d841365
|
@@ -35,6 +35,10 @@
|
|
35
35
|
# So instead we'll tell it to ignore lib/jamf/api/jamf_pro/oapi_schemas/api_role.rb
|
36
36
|
# and we'll load that manually here
|
37
37
|
#
|
38
|
+
# TODO: Stop using auto-generated Jamf::OAPISchemas as we have, use them
|
39
|
+
# as starting points for bespoke classes to help avoid problems like this.
|
40
|
+
#
|
41
|
+
# See Also: lib/jamf/api/jamf_pro/api_objects/api_role.rb
|
38
42
|
require 'jamf/api/jamf_pro/oapi_schemas/api_role'
|
39
43
|
|
40
44
|
# The Module
|
@@ -21,6 +21,23 @@
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
22
22
|
#
|
23
23
|
|
24
|
+
# Manually require Jamf::OAPISchemas::ApiRole ....
|
25
|
+
######################################
|
26
|
+
# because this file defining Jamf::APIRole is at
|
27
|
+
# lib/jamf/api/jamf_pro/api_objects/api_role.rb
|
28
|
+
# has the same filename as the file defining Jamf::OAPISchemas::ApiRole
|
29
|
+
# lib/jamf/api/jamf_pro/oapi_schemas/api_role.rb
|
30
|
+
# telling zeitwerk to use the file 'api_role.rb' to load Jamf::APIRole
|
31
|
+
# confuses it because it also finds the other one.
|
32
|
+
#
|
33
|
+
# So instead we'll tell it to ignore lib/jamf/api/jamf_pro/oapi_schemas/api_role.rb
|
34
|
+
# and we'll load that manually here, since its needed below
|
35
|
+
#
|
36
|
+
# TODO: Stop using auto-generated Jamf::OAPISchemas as we have, use them
|
37
|
+
# as starting points for bespoke classes to help avoid problems like this.
|
38
|
+
#
|
39
|
+
# See Also: lib/jamf/api/jamf_pro/api_objects/api_role.rb
|
40
|
+
require 'jamf/api/jamf_pro/oapi_schemas/api_role'
|
24
41
|
|
25
42
|
module Jamf
|
26
43
|
|
@@ -29,7 +46,6 @@ module Jamf
|
|
29
46
|
#
|
30
47
|
module OAPISchemas
|
31
48
|
|
32
|
-
|
33
49
|
# OAPI Object Model and Enums for: ApiRoleResult
|
34
50
|
#
|
35
51
|
#
|
@@ -48,7 +64,7 @@ module Jamf
|
|
48
64
|
# Container Objects:
|
49
65
|
# Other object models that use this model as the value in one
|
50
66
|
# of their attributes.
|
51
|
-
#
|
67
|
+
#
|
52
68
|
#
|
53
69
|
# Sub Objects:
|
54
70
|
# Other object models used by this model's attributes.
|
@@ -63,8 +79,6 @@ module Jamf
|
|
63
79
|
#
|
64
80
|
class ApiRoleResult < Jamf::OAPIObject
|
65
81
|
|
66
|
-
|
67
|
-
|
68
82
|
OAPI_PROPERTIES = {
|
69
83
|
|
70
84
|
# @!attribute [r] totalCount
|
data/lib/jamf/version.rb
CHANGED