ruby-jss 1.0.0b6 → 1.0.0
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.
Potentially problematic release.
This version of ruby-jss might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGES.md +3 -4
- data/lib/jss/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17fb22cf6d8875d39d9cbc9b9c563e5820550827f8b80c98550894366ef612a3
|
4
|
+
data.tar.gz: 2f803cb016921cfd1d010e6daa6ccac1d71b3217eb58c9eae4cc7315771d10df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc3808ea2369c95b023bec90b1701b47ab62e0d320acc0244387d5e6022e25c0990758ef43703fb0093127c1e7877d0ab2af5fab3d00480c67bf8e08d72ae514
|
7
|
+
data.tar.gz: 6730c3d8515637f63e75af1ae0163f3a5ed3723b0fe33170173705821671f0e1d5a5c789d06e570cc8eb72964990b5e6ff250e0b47ad9b9902c693725c24da88
|
data/CHANGES.md
CHANGED
@@ -6,8 +6,6 @@ Finally we're going to version 1.0, which we should have done when we went opens
|
|
6
6
|
|
7
7
|
**IMPORTANT** This version is not backward compatible with 0.x version. Please read the details below and test your code before deploying widely.
|
8
8
|
|
9
|
-
|
10
|
-
|
11
9
|
- requirement: Jamf Pro API version must be 10.4 or higher
|
12
10
|
|
13
11
|
- change: defaults to using TLSv1.2 for API connections.
|
@@ -30,6 +28,7 @@ Finally we're going to version 1.0, which we should have done when we went opens
|
|
30
28
|
- install a newer openssl, then install a your own ruby using that openssl (both can be done with homebrew)
|
31
29
|
- do the above, then extract the openssl library and modify it to work with the built-in ruby.
|
32
30
|
|
31
|
+
|
33
32
|
If you have questions about this, feel free to reach out to ruby-jss@pixar.com, or in the #ruby or #jss-api channels in MacAdmins slack space, for some advice.
|
34
33
|
|
35
34
|
- add: JSS::PatchSource metaclass and the subclassses JSS::PatchInternalSource, and JSS::PatchExternalSource. These provide acecss to the patchavailabletitles enpoint, which is needed to acquire name_id's for creating/activating JSS::PatchTitles
|
@@ -53,7 +52,7 @@ Finally we're going to version 1.0, which we should have done when we went opens
|
|
53
52
|
|
54
53
|
- add: regex options to JSS::Criteriable::Criterion objects
|
55
54
|
|
56
|
-
- remove: the .new class method on APIObject subclasses no longer works. Even though it's the standard ruby way to create instances of a class,
|
55
|
+
- remove: the .new class method on APIObject subclasses no longer works. Even though it's the standard ruby way to create instances of a class, `.new` for APIObjects was confusing, since it implied creating new objects in the JSS. Instead you must now use the `.fetch` class method to instantiate existing objects and the `.make` class method to instantiate local instances of objects to be created in the JSS. Both .fetch and .make have existed for some time.
|
57
56
|
|
58
57
|
**COMPATIBILITY:**
|
59
58
|
|
@@ -61,7 +60,7 @@ Finally we're going to version 1.0, which we should have done when we went opens
|
|
61
60
|
|
62
61
|
Instead you must use `existingcomp = JSS::Computer.fetch id: 1234` and `new_pol = JSS::Policy.make name: 'mypolicy'`
|
63
62
|
|
64
|
-
Note that the instance methods
|
63
|
+
Note that the instance methods `#create` (create the current instance as a new object in the JSS) and `#update` (send changes in the current instance to the JSS) remain unchanged, and both continue handled by `#save`
|
65
64
|
|
66
65
|
- add: there is now a, sort-of, spec/testing framework. While based on ruby's minitest specifications, it's wrapped in a very custom executable with a helper module. See the README in the test directory for details. Specs will be added slowly over time.
|
67
66
|
|
data/lib/jss/version.rb
CHANGED
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: 1.0.
|
4
|
+
version: 1.0.0
|
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: 2018-08-
|
12
|
+
date: 2018-08-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: plist
|
@@ -285,9 +285,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
285
285
|
version: 2.0.0
|
286
286
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
287
287
|
requirements:
|
288
|
-
- - "
|
288
|
+
- - ">="
|
289
289
|
- !ruby/object:Gem::Version
|
290
|
-
version:
|
290
|
+
version: '0'
|
291
291
|
requirements: []
|
292
292
|
rubyforge_project:
|
293
293
|
rubygems_version: 2.7.7
|