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 +4 -4
- data/CHANGES.md +6 -0
- data/lib/jss/api_connection.rb +1 -1
- data/lib/jss/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b50f5c9f41b90f37fd146d236cb0a5934337321b
|
4
|
+
data.tar.gz: a8e3308d642f4f595cf0a0ade55e1b9e965ec672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
data/lib/jss/api_connection.rb
CHANGED
@@ -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
|
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
|
|
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: 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.
|
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.
|
67
|
+
version: '2.1'
|
62
68
|
- !ruby/object:Gem::Dependency
|
63
69
|
name: net-ldap
|
64
70
|
requirement: !ruby/object:Gem::Requirement
|