ruby-jss 0.10.0a2 → 0.10.0a3

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: a2892a2ea5b017ea5910757fdd189075d3bcf11e
4
- data.tar.gz: cb6b7b72e2478b542baa162425b9aa7cdb174800
3
+ metadata.gz: 7727d3ed2d2b1be1f06c518739e40ca271fdc2a2
4
+ data.tar.gz: 3f2b112e349629a2832e3de91fc8b5ac7425d02a
5
5
  SHA512:
6
- metadata.gz: 9b3e243d66dac01bedd7c24b1829418a53d44a88ac9b5767a0db3736a2e3a0ff8758b2974a56c97b973f2dfce2826a22778b467c9442fe08941814328ab6585d
7
- data.tar.gz: 91191643a00dd3479cfee176d6aa49d63047877510a84aea46f8d7590e17477be92ded1311748d3d09ae593df62e4c11b0ab70f43bac17e06c37783be247cfb4
6
+ metadata.gz: 8d4dfa7278b3ec4542c2f4004648e52730d4a9791754b4b91401e68b51c07682c61c53b58e114061cd46cdc9cb008260e37b056d732017ee31089118d9d6f0f5
7
+ data.tar.gz: 636c0dc8dfe3c41d75a2d11239cd4be4d92682d09958baf3f89e1c5038fcd401c605efd27c8b1e171f210453901470b0d139d50931b2c4c25cb9d949e6e85cf9
@@ -94,7 +94,7 @@ module JSS
94
94
  ### @return [void]
95
95
  ###
96
96
  def criteria= (new_criteria)
97
- unless new_criteria.kind_of? Array && new_criteria.reject{|c| c.is_a? JSS::Criteriable::Criterion }.empty?
97
+ unless new_criteria.is_a?(Array) && new_criteria.reject{ |c| c.is_a? JSS::Criteriable::Criterion }.empty?
98
98
  raise JSS::InvalidDataError, "Argument must be an Array of JSS::Criteriable::Criterion instances."
99
99
  end
100
100
  new_criteria.each{ |nc| criterion_ok? nc }
@@ -27,6 +27,6 @@
27
27
  module JSS
28
28
 
29
29
  ### The version of the JSS ruby gem
30
- VERSION = '0.10.0a2'.freeze
30
+ VERSION = '0.10.0a3'.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.10.0a2
4
+ version: 0.10.0a3
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-08-17 00:00:00.000000000 Z
12
+ date: 2017-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: plist