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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 548550510a3d4677c1ad3fccde272e0d0a918d2f
4
- data.tar.gz: b72123974bfe91891a884f1d52d1f833247ea094
3
+ metadata.gz: fe5ebf1266b4198d59b126441e76219cd92d43ea
4
+ data.tar.gz: dc88a29966be7f7bd88a1160edc7a2f76f7c22a3
5
5
  SHA512:
6
- metadata.gz: 1320f37b8e132cc830486996c556ae8c9b02e627d8952938d5fb098eec19b01e93fd9cf8bf99af839a8239251be3909fa7b49de963fb2306dbdec3b8b9895124
7
- data.tar.gz: 0ea1eb0e8c725629733942f6703b0fdc5985bfbe964f842d4b1801943882d9827e72535259d343fdf564c469578b528b9fe5e5b9fdcef420866ee55897c388e4
6
+ metadata.gz: f81ada767ec7fbb16a19ba47243ed0c4bc9873d228af25469bbca0681a7f1002e5c396e70dca21db6ae0ccf8eeb89e4739791a51ca3bfd94585b53b0b79d68d3
7
+ data.tar.gz: 271631c6fce118d0cfec526c0247d23667430a8dd110ed591181629fe10dbb8e872a1d24001d7390d462720c09bfdbf15b6ddd15ad71ef24fe72d5103de9fc92
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.1.4
2
+ - Rename as_json_schema_without_link with as_json_schema_without_links
3
+
1
4
  ## 0.1.3
2
5
  - Support boolean type on property definition
3
6
 
@@ -34,7 +34,7 @@ module JsonWorld
34
34
  end
35
35
 
36
36
  # @return [Hash]
37
- def as_json_schema_without_link
37
+ def as_json_schema_without_links
38
38
  as_json_schema.reject do |key, _value|
39
39
  key == :links
40
40
  end
@@ -14,7 +14,7 @@ module JsonWorld
14
14
 
15
15
  # @return [Hash{Symbol => Object}]
16
16
  def as_json_schema
17
- @options[:type].try(:as_json_schema_without_link) || {
17
+ @options[:type].try(:as_json_schema_without_links) || {
18
18
  description: description,
19
19
  example: example,
20
20
  format: format_type,
@@ -1,3 +1,3 @@
1
1
  module JsonWorld
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-02 00:00:00.000000000 Z
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.4.5
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.