ruby-jss 0.13.0 → 0.14.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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b8d799a470de3b5cb8dc73ecdc222cee1cad4cf
4
- data.tar.gz: 815e00bb5c56346df7313b72801d7f49d2758dd6
3
+ metadata.gz: b50f5c9f41b90f37fd146d236cb0a5934337321b
4
+ data.tar.gz: a8e3308d642f4f595cf0a0ade55e1b9e965ec672
5
5
  SHA512:
6
- metadata.gz: aa5520456bc37cf2d23f8029b5b5dbfdd2092f9b1df4a5316d316022a3ed833209153e35743dc1dcc199a9981cf471041016b2bde79c3e38b245238d8f85939c
7
- data.tar.gz: f454ec87777ab6c3541ccd4e1b9d4c9768462eab560bc8f6e7dcb8d64c84110ad16dfd9b260dcff6f8dbe586408559c3b0145a264899b12fd3061d2c1053f9e8
6
+ metadata.gz: 77b67a03425123953b9dac37453834c746f81c0339eb33a1d5b0edcf0cc6b8552ee8d5b4ca4b0dd8108e390b802aa702fa9d3d4a9fa6d8f975660206baeb12fd
7
+ data.tar.gz: 397fd3251d80dbf3bd8a4d0eedeec6d3eb6541881bcfdc7d0c18494f9acc7aebf29194fa111a8da53691135f6ecf6b05bf037a475536bfd555f4df9cc997dbee
data/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change History
2
2
 
3
+ ## v 0.14.0, 2018-05-30
4
+
5
+ - Fix: RestClient no longer uses RestClient::Request::Unauthorized, only RestClient::Unauthorized
6
+
7
+ - Revert: RestClient 2.0x doesn't seem to play nicely with the version of openssl on macOS 10.10 and JamfPro 10.3 (at least in our environment). So the rest-client gem can be any version >= 1.8.0 and < 2.1. You may have to separately install the correct RestClient version as needed.
8
+
3
9
  ## v 0.13.0, 2018-05-30
4
10
 
5
11
  - Update: Now requires rest-client gem v2.0 and up, and ruby v 2.0.0 and up. Thanks to HIMANSHU-ELIGIBLE @ github for catching & fixing this one.
@@ -1019,7 +1019,7 @@ module JSS
1019
1019
  # and JSS version checking.
1020
1020
  begin
1021
1021
  @server = JSS::Server.new get_rsrc('jssuser')[:user], self
1022
- rescue RestClient::Unauthorized, RestClient::Request::Unauthorized
1022
+ rescue RestClient::Unauthorized
1023
1023
  raise JSS::AuthenticationError, "Incorrect JSS username or password for '#{@jss_user}@#{@server_host}:#{@port}'."
1024
1024
  end
1025
1025
 
@@ -27,6 +27,6 @@
27
27
  module JSS
28
28
 
29
29
  ### The version of the JSS ruby gem
30
- VERSION = '0.13.0'.freeze
30
+ VERSION = '0.14.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: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Lasell
@@ -49,16 +49,22 @@ dependencies:
49
49
  name: rest-client
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 1.8.0
55
+ - - "<"
53
56
  - !ruby/object:Gem::Version
54
- version: '2.0'
57
+ version: '2.1'
55
58
  type: :runtime
56
59
  prerelease: false
57
60
  version_requirements: !ruby/object:Gem::Requirement
58
61
  requirements:
59
- - - "~>"
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.8.0
65
+ - - "<"
60
66
  - !ruby/object:Gem::Version
61
- version: '2.0'
67
+ version: '2.1'
62
68
  - !ruby/object:Gem::Dependency
63
69
  name: net-ldap
64
70
  requirement: !ruby/object:Gem::Requirement