json-schema_builder 0.0.7 → 0.0.8
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_builder/string.rb +1 -0
- data/lib/json/schema_builder/version.rb +1 -1
- data/spec/unit/string_spec.rb +1 -0
- 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: 49f2ac9c0f7648f907035474f5bd304a07958d87
|
4
|
+
data.tar.gz: 356d93fa7f5fab8ff3911e5710fa3c3cb85f1dc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac40838c8dde07e3f6d7cd69cf8b6894de7d25faee21771a5b78cbd15c77f55f3bdc9afae778f75826add63a74d5d980f49dafd278201cd3fddc42a0f691d99e
|
7
|
+
data.tar.gz: e12a02a34bf4f8b89520a617674853ee6fcd5b9df48a69f60ff971d8ba0d3f610ee3ec83cf766ad7bf58bad22578ee1cff9091a8e3748c67f415713b92a0d529
|
data/spec/unit/string_spec.rb
CHANGED
@@ -6,5 +6,6 @@ RSpec.describe JSON::SchemaBuilder::String, type: :unit do
|
|
6
6
|
it{ is_expected.to define_attribute :min_length }
|
7
7
|
it{ is_expected.to define_attribute :max_length }
|
8
8
|
it{ is_expected.to define_attribute :pattern }
|
9
|
+
it{ is_expected.to define_attribute :format }
|
9
10
|
its(:registered_type){ is_expected.to eql :string }
|
10
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json-schema_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Parrish
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|