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: 79bd6a4bdae5e6c446652e6c15f06922532fa66e978e0238e0bb92f018c728a6
4
- data.tar.gz: ae766e278b152d9c999340d77d005c4674e5f13f72e9cd8bde28d4ffe1dfdad4
3
+ metadata.gz: 0f1ac6c2d3b4693fafce0ba01599c0fa26b376cc257947b3ab8f4ee93f031c7c
4
+ data.tar.gz: 4cf21fe613227891e3d752e9f5efcd76bb8dc0d093c1d5b0c218c133333e287c
5
5
  SHA512:
6
- metadata.gz: 752c98d446489c0f91b63536c31c49fb9c672fdb07c905a8c4ebe8bd30ffe2eae3edbfe502c419c840314082e82fe02ecd91afb70552a62c943d78179717fd58
7
- data.tar.gz: 7eb7ecb074e94b4588b423fed8ab15f80c14cc091005e7016622738a1b4c133adf5c0ea110c173156efd63d061f4c7d27929d6d5eb12980c03c8201995d01aec
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
@@ -27,6 +27,6 @@
27
27
  module Jamf
28
28
 
29
29
  ### The version of ruby-jss
30
- VERSION = '4.1.1b1'.freeze
30
+ VERSION = '4.1.1b2'.freeze
31
31
 
32
32
  end # module
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-jss
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1b1
4
+ version: 4.1.1b2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Lasell