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 +4 -4
- data/lib/jss/api_object/criteriable/criteria.rb +1 -1
- data/lib/jss/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7727d3ed2d2b1be1f06c518739e40ca271fdc2a2
|
4
|
+
data.tar.gz: 3f2b112e349629a2832e3de91fc8b5ac7425d02a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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 }
|
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.10.
|
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-
|
12
|
+
date: 2017-08-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: plist
|