ruby-jss 1.0.0b6 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ruby-jss might be problematic. Click here for more details.

Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +3 -4
  3. data/lib/jss/version.rb +1 -1
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7a56f45bbacab2bbc21539605b30f7bedbaef3672a639d2f32b80d766352090
4
- data.tar.gz: d9ade8517e722087ae3fc6fe4ed79c01b938a01a1e5b556c3df6ca2b294282d1
3
+ metadata.gz: 17fb22cf6d8875d39d9cbc9b9c563e5820550827f8b80c98550894366ef612a3
4
+ data.tar.gz: 2f803cb016921cfd1d010e6daa6ccac1d71b3217eb58c9eae4cc7315771d10df
5
5
  SHA512:
6
- metadata.gz: 81be4beedc05189fb45f8978895458c1ee9ee70eaee7755c90bd3b7f9af01084f39593b5caaea77973ad20d41e317e40235a5307d4279ebc84dcd9e780120095
7
- data.tar.gz: 0afc5a122964e84d1869a5c4f9914d0b790d91f641a1b76aa1673640bea0a501449e6d59c653fcec3adc0b3f14e00d6ae18350b2a988be32d4dc415b0f92fd30
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, it 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.
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 #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
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
 
@@ -27,6 +27,6 @@
27
27
  module JSS
28
28
 
29
29
  ### The version of the JSS ruby gem
30
- VERSION = '1.0.0b6'.freeze
30
+ VERSION = '1.0.0'.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: 1.0.0b6
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-07 00:00:00.000000000 Z
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: 1.3.1
290
+ version: '0'
291
291
  requirements: []
292
292
  rubyforge_project:
293
293
  rubygems_version: 2.7.7