ruby-jss 4.2.4b1 → 4.2.4

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: a544da5b747af64ba1444694eb45f1cacaac53ffbafab5c36d0756f0d9a8f8f3
4
- data.tar.gz: d71ab7ea4d9eb175a80e034a7301cba735b26374db942de067d9da643261f4ad
3
+ metadata.gz: '0907c7aa66d97c4af670851a3864dda26c577a8276b81bfa1ff2e0c226a8fcdf'
4
+ data.tar.gz: 69cab90152dc3e537b4c9d05333f7ce0009962ebb7f29b16f2f050d0deedb579
5
5
  SHA512:
6
- metadata.gz: 1ad6622d83afa5f7aa57d5040f20fb74757516597696257cf8218371b3ccf22f6e1f1282045c693abc37df81390c67254815366ba35e301a7dcf01da568491fe
7
- data.tar.gz: 23be6fd7009a6cb1c73257d153b1d424052ba06d70589ea485ad3fc21af4a6230f687a7acc0c9e2f255b70df5adfa5c30f51b695ab4a6eecc3e6d347835fb2c0
6
+ metadata.gz: 767582cc94c273ad2777488e93c659f15f2e90bfb6bcd344427a569169307f83a6581a7b964be264c815cfbf0ae260a6b6fdfdc5a85d5dedb63d2bc6854771f0
7
+ data.tar.gz: 6292bdaa50bdbdd98718c1ffd9f87a3c855c8ae2783dc72a24671ef832ec771820fe3195d95a09178cf600422b21542de3ae95b03d099407dd074690f784647f
data/CHANGES.md CHANGED
@@ -15,14 +15,17 @@ __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
- ## \[Unreleased]
18
+ ## \[4.2.4] 2025-10-31
19
+
20
+ ### Added
21
+ - Set request User-Agent header to indicate ruby-jss version
19
22
 
20
23
  ### Changed
21
24
  - Use the 'TOMORROW OPEN SOURCE TECHNOLOGY LICENSE 1.0' (TOST) License
22
25
  - The terms are unchanged, but it now has an offical name.
23
26
 
24
27
  ### Fixed
25
- - Resolved [GitHub Issue 106](https://github.com/PixarAnimationStudios/ruby-jss/issues/106). REXML v3.4.3 or higher doesn't allow the creation of REXML::Document instances without a root element. Many thanks to @hiboma for the bug report
28
+ - Resolved [GitHub Issue 106](https://github.com/PixarAnimationStudios/ruby-jss/issues/106). REXML v3.4.3 or higher doesn't allow the creation of REXML::Document instances without a root element. Many thanks to @hiboma for the bug report and a suggested fix!
26
29
 
27
30
  --------
28
31
  ## \[4.2.3] 2025-09-23
@@ -47,11 +50,10 @@ Many many thanks to actae0n of Blacksun Hackers Club for reporting this issue an
47
50
  - `Jamf::MobileDeviceExtensionAttribute#history`
48
51
  - `Jamf::Icon.all`
49
52
  - `Jamf::SelfServable#validate_icon`
53
+ - `Jamf::APIObject#object_history`
50
54
  - `Jamf::APIObject#add_object_history_entry`
51
55
 
52
- Note that some objects in the Jamf Pro API have access to their object_history. As classes are migrated (see release notes for 4.2.0 below) that access will be included when available.
53
-
54
-
56
+ Note that some objects in the Jamf Pro API have access to their object_history without needing MySQL access. As classes are migrated (see release notes for 4.2.0 below) that access will be included when available.
55
57
 
56
58
  --------
57
59
  ## \[4.2.1] 2025-08-11
@@ -8,6 +8,9 @@
8
8
  require 'faraday'
9
9
  require 'faraday/multipart'
10
10
 
11
+ # Set a ruby-jss specific User-Agent for all Faraday connections made by ruby-jss
12
+ Faraday.default_connection_options = { headers: { user_agent: "ruby-jss/#{Jamf::VERSION} Faraday/#{Faraday::VERSION}" } }
13
+
11
14
  # The main module
12
15
  module Jamf
13
16
 
data/lib/jamf/version.rb CHANGED
@@ -9,6 +9,6 @@
9
9
  module Jamf
10
10
 
11
11
  ### The version of ruby-jss
12
- VERSION = '4.2.4b1'.freeze
12
+ VERSION = '4.2.4'.freeze
13
13
 
14
14
  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.2.4b1
4
+ version: 4.2.4
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: 2025-10-19 00:00:00.000000000 Z
12
+ date: 2025-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: CFPropertyList
@@ -523,9 +523,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
523
523
  version: 2.6.3
524
524
  required_rubygems_version: !ruby/object:Gem::Requirement
525
525
  requirements:
526
- - - ">"
526
+ - - ">="
527
527
  - !ruby/object:Gem::Version
528
- version: 1.3.1
528
+ version: '0'
529
529
  requirements: []
530
530
  rubygems_version: 3.0.3.1
531
531
  signing_key: