json_schema_rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_schema_rails/schema_validator.rb +2 -2
- data/lib/json_schema_rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7586adefa32b8ade20089a506a91e2e3796e5d4
|
4
|
+
data.tar.gz: 611060b68ac2ddd13368875353817d3657890a3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 855c76fe2a38e2fe3a96cd564d2aca119b84289e4c3a641f072b1c16c5b28ce600f9726791880869e11824f6b232e75caef3f6692d70b9c54d71968d6eea9b64
|
7
|
+
data.tar.gz: f9c1087696a00f0593208e533256addc2c6af06f4d329da07f7523bd814dc4928db0c8ff59ba3275c17ba6a291423ae4c431fd3002ee6a466c5620f6217f00f2
|
@@ -12,9 +12,9 @@ module JsonSchemaRails
|
|
12
12
|
def use_core_schemas!(options = {})
|
13
13
|
schemas_dir = File.expand_path('../../../schemas', __FILE__)
|
14
14
|
if options[:loose]
|
15
|
-
add_meta_schema_file Dir[File.join(schemas_dir, '*.json')]
|
15
|
+
add_meta_schema_file Dir[File.join(schemas_dir, '*.json')].sort
|
16
16
|
else
|
17
|
-
add_meta_schema_file Dir[File.join(schemas_dir, 'strict', '*.json')]
|
17
|
+
add_meta_schema_file Dir[File.join(schemas_dir, 'strict', '*.json')].sort
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|