ruby-jss 3.1.0b1 → 3.1.0b2
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/CHANGES.md +6 -0
- data/lib/jamf/api/classic/api_objects/scopable/scope.rb +2 -2
- data/lib/jamf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bae3e60bf2b0cb08e2bc6a1ead15c1de6b213e667046c90026a803f3549b67da
|
4
|
+
data.tar.gz: a08f8ad25dd5ab4bfd614e2e6b508fd2b408154f2d39bcabfc1a693341a9fedf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54b0cbe591066ae572f1ae3797afddea5f3f44be35273127798473118b96d014090fc09f39de28be41e96cd19ebac1334cd016d9e97a43b4163791341303ce1a
|
7
|
+
data.tar.gz: 35e189daa832b3a6598725f42d3d0716bb1f95845c70edd86206ab1a35ffb8f0af8680d7c33306d08ad258758c623a3974ba107574dc1dbebd6e6db5c8a65e28
|
data/CHANGES.md
CHANGED
@@ -24,6 +24,12 @@ Many many thanks to actae0n of Blacksun Hackers Club for reporting this issue an
|
|
24
24
|
- The original #include_all has been renamed #set_all_targets, and #include_all is an alias to it
|
25
25
|
- The symbol :all can be passed to the #set_targets, and #add_target methods as they 'key' parameter, and they will just call #set_all_targets
|
26
26
|
- There is now a setter #all_targets=(bool) which calls #set_all_targets, or sets @all_targets to false
|
27
|
+
- So All of these are identical:
|
28
|
+
- `some_scope.set_all_targets`
|
29
|
+
- `some_scope.include_all`
|
30
|
+
- `some_scope.set_targets :all`
|
31
|
+
- `some_scope.add_target :all`
|
32
|
+
- `some_scope.all_targets = true`
|
27
33
|
|
28
34
|
### Fixed
|
29
35
|
- Fixed a bug in Jamf::Pager#initialize when constructing the query-path of the paged resource URL
|
@@ -430,7 +430,7 @@ module Jamf
|
|
430
430
|
#
|
431
431
|
# @return [void]
|
432
432
|
#
|
433
|
-
def set_targets(key, list)
|
433
|
+
def set_targets(key, list = nil)
|
434
434
|
if key == :all
|
435
435
|
set_all_targets
|
436
436
|
return
|
@@ -494,7 +494,7 @@ module Jamf
|
|
494
494
|
#
|
495
495
|
# @return [void]
|
496
496
|
#
|
497
|
-
def add_target(key, item)
|
497
|
+
def add_target(key, item = nil)
|
498
498
|
if key == :all
|
499
499
|
set_all_targets
|
500
500
|
return
|
data/lib/jamf/version.rb
CHANGED