ruby-jss 0.9.0 → 0.9.1

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: 96cbc84b9514aef4dd4a14911d4f9ad8d3afe541
4
- data.tar.gz: e1f3718f6a561ea4421207c6fc41045b5bb4d548
3
+ metadata.gz: 5f6b84870da161fefc4938d67a8601bc8c504da5
4
+ data.tar.gz: 12feacef67cf9d9263e5387d46fc33a30c396c1b
5
5
  SHA512:
6
- metadata.gz: bc17b5f7724365ccea7fd8b8b4764bc373f1b3b1620c59db1852ad123a058bb679b9a3d1cceb2c7c963291e8cdb2cb3d95c416bf2f1adfdfe93e38194f2447f2
7
- data.tar.gz: 6eb0054f933057f60fc8eaa7fb0497532e4722a7467e2d51d25a277fe7da27a239f7a4b93708efd8b1111b2876aa008f36aa92eb95a2a02f52a4d9aefe93ec93
6
+ metadata.gz: 40519461d0926764b58d4ceda073a496a208d9f60fd16e2c4f32e688705dad3a489c6c47397e2b9bba25476b738f4e5546261504f47207486bbf0e886007c702
7
+ data.tar.gz: 4bcc397bb80b8759b6a528d81b19e62963bc727e814636d43a99d09efeb126af0f5b90d62ed2f6695e70ba7b73e966fe32bd0a60fa4002eec5d4e894fb2eec38
@@ -409,7 +409,7 @@ module JSS
409
409
  raise JSS::InvalidDataError, 'JSS Versions must start with "x.x" where x is one or more digits' unless major =~ /\d$/ && second_part =~ /^\d/
410
410
 
411
411
  # since ruby-jss requires 9.4 and up, this check works fine.
412
- if major == '9' && !second_part.start_with?('99')
412
+ if if major == '9' && (second_part.to_i < 99)
413
413
  parse_jss_version_oldstyle version
414
414
  else
415
415
  parse_jss_version_newstyle version
@@ -27,6 +27,6 @@
27
27
  module JSS
28
28
 
29
29
  ### The version of the JSS ruby gem
30
- VERSION = '0.9.0'.freeze
30
+ VERSION = '0.9.1'.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.9.0
4
+ version: 0.9.1
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: 2017-07-18 00:00:00.000000000 Z
12
+ date: 2017-07-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: plist