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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5622c90ccc77b1f1cd3a82cc00bc5e71148066d
4
- data.tar.gz: 653277077d4702417a8c514c7d1d786adbed441e
3
+ metadata.gz: 49f2ac9c0f7648f907035474f5bd304a07958d87
4
+ data.tar.gz: 356d93fa7f5fab8ff3911e5710fa3c3cb85f1dc8
5
5
  SHA512:
6
- metadata.gz: 618acabf362677ae7c5a9e48d9b5e3620202d1fd9b882ac37ac13bbc3c4681ad60d4ec179a058a929898c93c59978556f6e86997ffa75a3939f18e01141a1eeb
7
- data.tar.gz: 86e142da2b0b678cff3f7df945bb848c16b31ae7766eeeb65ad2df01cd31048eac43c2498e0979c632e7c85a80cc156fe8a2365260e50a7b8e56a85d7a23a86b
6
+ metadata.gz: ac40838c8dde07e3f6d7cd69cf8b6894de7d25faee21771a5b78cbd15c77f55f3bdc9afae778f75826add63a74d5d980f49dafd278201cd3fddc42a0f691d99e
7
+ data.tar.gz: e12a02a34bf4f8b89520a617674853ee6fcd5b9df48a69f60ff971d8ba0d3f610ee3ec83cf766ad7bf58bad22578ee1cff9091a8e3748c67f415713b92a0d529
@@ -7,6 +7,7 @@ module JSON
7
7
  attribute :min_length
8
8
  attribute :max_length
9
9
  attribute :pattern
10
+ attribute :format
10
11
  end
11
12
  end
12
13
  end
@@ -1,5 +1,5 @@
1
1
  module JSON
2
2
  module SchemaBuilder
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
  end
5
5
  end
@@ -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.7
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-07-24 00:00:00.000000000 Z
11
+ date: 2015-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler