openc-json_schema 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/lib/openc/json_schema/format_validators.rb +1 -1
- data/lib/openc/json_schema/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGIzMDRmNzE1Y2Y1ODc0NGMwZWZkZWFlZmNmYjJkM2VjMjM5MTAyYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTMwMmRjNWZmYzkzMGY2ZWViN2QwNjZkZGZjMDE0N2EzODY4NGZmNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGVlZThhZjkzMzZjZWI3OGUyNjA5NTBiNmJkNGYxOGNjY2VmZDMxMGQ3ZmU4
|
10
|
+
ZDA4OWY3N2FjNjE3YTdkOGQxMzM1ZWU4N2FkNmRmNjc4MTk2ZDc4ZTFkOTFm
|
11
|
+
MDAzMTcxYmEwNmY1NjhlNmQ1MWY5MzJjYmYzODcxMmE2NGE2Yjg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjZhODVlMjJhOGY0YjRjMGU2ZDY0NjQ1MmNjOWViZjQyOGQ0NjBiM2UzNTJm
|
14
|
+
Y2M5NGQwZTUxY2UzZGI3OGFjMDQ5NTU4NWE4MGFkYjBjMWQzOGY4YjY5Mzgz
|
15
|
+
NDdmZTFjNTVmMTY2NWU4MzNkMmU4MmJmZjQyYTJjNWNmYzliMGU=
|
data/Gemfile.lock
CHANGED
@@ -11,7 +11,7 @@ date_format_validator = -> value {
|
|
11
11
|
JSON::Validator.register_format_validator('date', date_format_validator)
|
12
12
|
|
13
13
|
non_blank_format_validator = -> value {
|
14
|
-
raise JSON::Schema::CustomFormatError.new('must not be blank') if value.strip == ''
|
14
|
+
raise JSON::Schema::CustomFormatError.new('must not be blank') if value.is_a?(String) && value.strip == ''
|
15
15
|
}
|
16
16
|
|
17
17
|
JSON::Validator.register_format_validator('non-blank', non_blank_format_validator)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openc-json_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenCorporates
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|