ruby-jss 4.1.1b2 → 4.1.1

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: 0f1ac6c2d3b4693fafce0ba01599c0fa26b376cc257947b3ab8f4ee93f031c7c
4
- data.tar.gz: 4cf21fe613227891e3d752e9f5efcd76bb8dc0d093c1d5b0c218c133333e287c
3
+ metadata.gz: c0df8e9b794ba674f60a7a224e9f7b9ae166d6ef5ff39435920e17460412a770
4
+ data.tar.gz: afef3a2acddf6588525facb25eb3273a1e96c02a5d3b2c57771cd951bf8fc0d6
5
5
  SHA512:
6
- metadata.gz: 4083b2f1fb98690e8f768c29a2cd74d8fc926f32ef8dd6576af4356b4f48ab449258bae4009025ed00e334644ede060509e70e3ac6f16abc269018de6a5eeca3
7
- data.tar.gz: 4f5a65c95466110be3aa52283b81b73c824be78a8e835a971f06efcd719cd240cd00e7c4d4c38cf519586e5b6d6c1365eeba3bfdd1ee57f89fa952053d841365
6
+ metadata.gz: fbd69adff24c3b718c0711042a36162f92f5f399081239c6d1f4919daf4fa978980a6a424a9cdc87e0635beafa04368f8eba71991fdef1d999ce799c8433db62
7
+ data.tar.gz: eae8268d15ecdd23d0f88039e6329a5d298e570716a3abfe552fc861bc403583b8402066379f2e5bd3c3e36f0ebf2eea543aa9bed0c9f34f18394d8473a8910d
data/CHANGES.md CHANGED
@@ -15,7 +15,7 @@ __Please update all installations of ruby-jss to at least v1.6.0.__
15
15
  Many many thanks to actae0n of Blacksun Hackers Club for reporting this issue and providing examples of how it could be exploited.
16
16
 
17
17
  --------
18
- ## \[4.1.1] In testing
18
+ ## \[4.1.1] 2024-06-25
19
19
 
20
20
  ### Changed
21
21
  - `expand_min_os` (used when specifying min. OS for Packages and Scripts) now expands up to macOS v30, so we have 15 years to hopefully not need to use it anymore.
@@ -25,11 +25,13 @@ Many many thanks to actae0n of Blacksun Hackers Club for reporting this issue an
25
25
  ### Fixed
26
26
 
27
27
  - `LdapServer.check_membership` no longer fails or gives invalid responses when you provide a connection object via `cnx:`
28
+
28
29
  - A bug in Jamf::PatchTitle which prevented use of non-default connection objects.
30
+
29
31
  - Some ObjectModel classes from the OAPI3 schema were not getting generated, causing problems when using Zeitwerk's `eager_load`. Thanks to @j-o-lantern0422 and @jcruce13 for reporting the issue, and @nick-f for providing a fix!
30
32
 
31
33
 
32
- NOTE: Given the nature of this issue, along with known inconsistencies in the data structures and naming of items in the OAPI3 schema, plus the fact that we're starting to migrate to the JP API for more complex object handling (e.g. `Jamf::MobileDevice`) we're probably going to stop using the auto-generated `Jamf::OAPISchemas` classes - at least in the way we have been using them. Most likely we'll still generate them, but then hand-edit them to create more robust, bespoke classes for the items we implement (as we did in the Classic API), and only include those required for the objects implemented. Feedback is welcome, via GitHub or The [#ruby-jss channel in Macadmins Slack](https://macadmins.slack.com/archives/C03C7F563MK)
34
+ NOTE: Given the nature of this issue, along with known inconsistencies in the data structures and naming of items in the OAPI3 schema, plus the fact that we're starting to migrate to the JP API for more complex object handling (e.g. `Jamf::MobileDevice`) we're probably going to stop using the auto-generated `Jamf::OAPISchemas` classes - at least in the way we have been using them. Most likely we'll still generate them, but then hand-edit them to create more robust, bespoke classes for the items we implement (as we did in the Classic API), and only include those required for the objects implemented. These changes shouldn't affect compatibility. Feedback is welcome, via GitHub or The [#ruby-jss channel in Macadmins Slack](https://macadmins.slack.com/archives/C03C7F563MK)
33
35
 
34
36
  --------
35
37
  ## \[4.1.0] 2024-04-06
@@ -21,7 +21,6 @@
21
21
  # language governing permissions and limitations under the Apache License.
22
22
  #
23
23
 
24
-
25
24
  module Jamf
26
25
 
27
26
  # This module is the namespace for all objects defined
@@ -29,7 +28,6 @@ module Jamf
29
28
  #
30
29
  module OAPISchemas
31
30
 
32
-
33
31
  # OAPI Object Model and Enums for: MdmCommandRequest
34
32
  #
35
33
  #
@@ -48,7 +46,7 @@ module Jamf
48
46
  # Container Objects:
49
47
  # Other object models that use this model as the value in one
50
48
  # of their attributes.
51
- #
49
+ #
52
50
  #
53
51
  # Sub Objects:
54
52
  # Other object models used by this model's attributes.
@@ -65,8 +63,6 @@ module Jamf
65
63
  #
66
64
  class MdmCommandRequest < Jamf::OAPIObject
67
65
 
68
-
69
-
70
66
  OAPI_PROPERTIES = {
71
67
 
72
68
  # @!attribute clientData
@@ -79,7 +75,7 @@ module Jamf
79
75
  # @!attribute commandData
80
76
  # @return []
81
77
  commandData: {
82
- class:
78
+ class: nil
83
79
  }
84
80
 
85
81
  } # end OAPI_PROPERTIES
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.1b2'.freeze
30
+ VERSION = '4.1.1'.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.1b2
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Lasell
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-06-24 00:00:00.000000000 Z
12
+ date: 2024-06-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: CFPropertyList
@@ -979,9 +979,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
979
979
  version: 2.6.3
980
980
  required_rubygems_version: !ruby/object:Gem::Requirement
981
981
  requirements:
982
- - - ">"
982
+ - - ">="
983
983
  - !ruby/object:Gem::Version
984
- version: 1.3.1
984
+ version: '0'
985
985
  requirements: []
986
986
  rubygems_version: 3.0.3.1
987
987
  signing_key: