json_world 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/json_world/dsl.rb +1 -1
- data/lib/json_world/property_definition.rb +1 -1
- data/lib/json_world/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe5ebf1266b4198d59b126441e76219cd92d43ea
|
4
|
+
data.tar.gz: dc88a29966be7f7bd88a1160edc7a2f76f7c22a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f81ada767ec7fbb16a19ba47243ed0c4bc9873d228af25469bbca0681a7f1002e5c396e70dca21db6ae0ccf8eeb89e4739791a51ca3bfd94585b53b0b79d68d3
|
7
|
+
data.tar.gz: 271631c6fce118d0cfec526c0247d23667430a8dd110ed591181629fe10dbb8e872a1d24001d7390d462720c09bfdbf15b6ddd15ad71ef24fe72d5103de9fc92
|
data/CHANGELOG.md
CHANGED
data/lib/json_world/dsl.rb
CHANGED
@@ -14,7 +14,7 @@ module JsonWorld
|
|
14
14
|
|
15
15
|
# @return [Hash{Symbol => Object}]
|
16
16
|
def as_json_schema
|
17
|
-
@options[:type].try(:
|
17
|
+
@options[:type].try(:as_json_schema_without_links) || {
|
18
18
|
description: description,
|
19
19
|
example: example,
|
20
20
|
format: format_type,
|
data/lib/json_world/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_world
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.2.2
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Provides DSL to define JSON Schema representation of your class.
|