json-schema-subset-dsl 1.3.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -3
- data/json-schema-subset-dsl.gemspec +1 -1
- data/lib/json/schema/subset/dsl/version.rb +1 -1
- data/lib/json/schema/subset/dsl.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fc0fdb0a235748e53ecfc032c9d1d97a7b541681e48899c05d045e6cf0a4565
|
4
|
+
data.tar.gz: f1fc46f4d894fa0d4019539ed51d9ec3abfa920178e15654be3b310f289633c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2a9f4ba528fb0be6c908e72f2479f2c0794fe5d046e04c7c5bf2eb546efe7b515079c0cbdc51e8f74fa98c4992052c3a8d116601bd0522d887e26e50662af57
|
7
|
+
data.tar.gz: 504fa8751266b830425ba9fc34858f240b8d7beef7e279930b888ed3a94254ddbef0a89ca3bd42b6b24540314549a4255db66ea4f5496ffe8300434f85e0761c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -43,7 +43,7 @@ dsl = Json::Schema::Subset::DSL.new(options) do
|
|
43
43
|
meta :object do
|
44
44
|
description :string
|
45
45
|
params :array do
|
46
|
-
ref! "#/components/Param"
|
46
|
+
ref! "#/components/schemas/Param"
|
47
47
|
end
|
48
48
|
opt_params :array do
|
49
49
|
cref! "OptParamSerializer"
|
@@ -63,8 +63,8 @@ dsl.compile! == {
|
|
63
63
|
"type" => "object",
|
64
64
|
"properties" => {
|
65
65
|
"description" => { "type" => "string" },
|
66
|
-
"params" => { "items" => { "$ref" => "#/components/Param" }, "type" => "array" },
|
67
|
-
"opt_params" => { "items" => { "$ref" => "#/components/OptParam" }, "type" => "array" },
|
66
|
+
"params" => { "items" => { "$ref" => "#/components/schemas/Param" }, "type" => "array" },
|
67
|
+
"opt_params" => { "items" => { "$ref" => "#/components/schemas/OptParam" }, "type" => "array" },
|
68
68
|
"uuid" => { "$ref" => "#/UUID" },
|
69
69
|
},
|
70
70
|
"required" => %w[description params opt_params],
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.require_paths = %w[lib]
|
30
30
|
|
31
31
|
spec.add_development_dependency "bundler", "~> 2"
|
32
|
-
spec.add_development_dependency "rake", "~>
|
32
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
33
33
|
spec.add_development_dependency "rspec", "~> 3.9"
|
34
34
|
spec.add_development_dependency "rspec-power_assert", "~> 1.1"
|
35
35
|
spec.add_development_dependency "rubocop", "~> 0.76"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json-schema-subset-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Narazaka
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,8 +182,8 @@ metadata:
|
|
182
182
|
homepage_uri: https://github.com/Narazaka/json-schema-subset-dsl
|
183
183
|
source_code_uri: https://github.com/Narazaka/json-schema-subset-dsl.git
|
184
184
|
changelog_uri: https://github.com/Narazaka/json-schema-subset-dsl/blob/master/CHANGELOG.md
|
185
|
-
documentation_uri: https://www.rubydoc.info/gems/json-schema-subset-dsl/
|
186
|
-
post_install_message:
|
185
|
+
documentation_uri: https://www.rubydoc.info/gems/json-schema-subset-dsl/2.0.0
|
186
|
+
post_install_message:
|
187
187
|
rdoc_options: []
|
188
188
|
require_paths:
|
189
189
|
- lib
|
@@ -198,8 +198,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
- !ruby/object:Gem::Version
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
|
-
rubygems_version: 3.
|
202
|
-
signing_key:
|
201
|
+
rubygems_version: 3.1.4
|
202
|
+
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: Yet another JSON Schema subset DSL
|
205
205
|
test_files: []
|