kwalify_to_json_schema 0.5.0 → 0.5.1

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
  SHA256:
3
- metadata.gz: e93f6522625fde6b85d8f46a719a0a4ed2cec61ca281511094e32f1f8b8b8941
4
- data.tar.gz: 47e10842e281ac6fb393e7c97dfa17ef574cfcc262507cc6e649eeec1d5e39a5
3
+ metadata.gz: b6c69311e6acfcc28fea0bcfaeb66c5378f87a6021bf51e275c55946bf6fe2f4
4
+ data.tar.gz: 1424cced2ddf03ee281266745b9bc5b52a230ac2f99ba58b1cc772eb611ca100
5
5
  SHA512:
6
- metadata.gz: 46e85a186ef82f070f7d370f7ac33cc3c8ab68a866cb3fd342650b4d3d42c7dcce3d42072cfd9597e8accddbd979fa50421066842693fff6e735cb325773f0cd
7
- data.tar.gz: '0799db65393f0084351df69fd34ceef0c3382d8a82ec3ef710c8b1ef041187bf9dd44201ac4ca25abace773ee07a0610048971d4f8b23b190db5fea8002ed87d'
6
+ metadata.gz: 4e517fcf1bef41d0ff88c5d1dab70c7c4322791675cf905598f06aab6320358f9375691f3123584cd9c327f7c8a023e1eaf89f3768f01b68bb801edfeefa7b87
7
+ data.tar.gz: 40efd0e3eb515e9f441cc4a6a0d09bdfca4b2cd993a2a597942f921e27fc463ba72a1294788a1399370c558e66717b9a18f1856ea41b3e8908a88396f9ce806b
@@ -24,8 +24,8 @@ module KwalifyToJsonSchema
24
24
  # | :id | string | nil | The JSON schema identifier |
25
25
  # | :title | string | nil | The JSON schema title |
26
26
  # | :description | string | nil | The JSON schema description. If not given the Kwalify description will be used if present|
27
- # | :issues_to_description| boolean| false | To append the issuses to the JSON schema description |
28
- # | :issues_to_stderr | boolean| false | To write the issuses standard error output |
27
+ # | :issues_to_description| boolean| false | To append the issues to the JSON schema description |
28
+ # | :issues_to_stderr | boolean| false | To write the issues to standard error output |
29
29
  # | :custom_processing | object | nil | To customize the conversion |
30
30
  # | :schema_version | string | "draft-04" | JSON schema version. Changing this value only change the value of $schema field |
31
31
  # | :verbose | boolean| false | To be verbose when converting |
@@ -135,7 +135,7 @@ module KwalifyToJsonSchema
135
135
  when "any"
136
136
  # Don't put type
137
137
  else
138
- new_issue("Unknown Kwalify type #{ktype}")
138
+ new_issue(path, "Unknown Kwalify type #{ktype}")
139
139
  end
140
140
 
141
141
  target["enum"] = kelem["enum"] if kelem["enum"]
@@ -10,8 +10,8 @@ module KwalifyToJsonSchema
10
10
  # | :id | string | nil | The JSON schema identifier |
11
11
  # | :title | string | nil | The JSON schema title |
12
12
  # | :description | string | nil | The JSON schema description. If not given the Kwalify description will be used if present|
13
- # | :issues_to_description| boolean| false | To append the issuses to the JSON schema description |
14
- # | :issues_to_stderr | boolean| false | To write the issuses standard error output |
13
+ # | :issues_to_description| boolean| false | To append the issues to the JSON schema description |
14
+ # | :issues_to_stderr | boolean| false | To write the issues to standard error output |
15
15
  # | :custom_processing | object | nil | To customize the conversion |
16
16
  # | :schema_version | string | "draft-04" | JSON schema version. Changing this value only change the value of $schema field |
17
17
  # | :verbose | boolean| false | To be verbose when converting |
@@ -39,8 +39,8 @@ module KwalifyToJsonSchema
39
39
  # | :id | string | nil | The JSON schema identifier |
40
40
  # | :title | string | nil | The JSON schema title |
41
41
  # | :description | string | nil | The JSON schema description. If not given the Kwalify description will be used if present|
42
- # | :issues_to_description| boolean| false | To append the issuses to the JSON schema description |
43
- # | :issues_to_stderr | boolean| false | To write the issuses standard error output |
42
+ # | :issues_to_description| boolean| false | To append the issues to the JSON schema description |
43
+ # | :issues_to_stderr | boolean| false | To write the issues to standard error output |
44
44
  # | :custom_processing | object | nil | To customize the conversion |
45
45
  # | :schema_version | string | "draft-04" | JSON schema version. Changing this value only change the value of $schema field |
46
46
  # | :verbose | boolean| false | To be verbose when converting |
@@ -7,8 +7,8 @@ module KwalifyToJsonSchema
7
7
  # | :id | string | nil | The JSON schema identifier |
8
8
  # | :title | string | nil | The JSON schema title |
9
9
  # | :description | string | nil | The JSON schema description. If not given the Kwalify description will be used if present|
10
- # | :issues_to_description| boolean| false | To append the issuses to the JSON schema description |
11
- # | :issues_to_stderr | boolean| false | To write the issuses standard error output |
10
+ # | :issues_to_description| boolean| false | To append the issues to the JSON schema description |
11
+ # | :issues_to_stderr | boolean| false | To write the issues to standard error output |
12
12
  # | :custom_processing | object | nil | To customize the conversion |
13
13
  # | :schema_version | string | "draft-04" | JSON schema version. Changing this value only change the value of $schema field |
14
14
  # | :verbose | boolean| false | To be verbose when converting |
@@ -17,8 +17,8 @@ module KwalifyToJsonSchema
17
17
  ID # The JSON schema identifier [string] (nil)
18
18
  TITLE # The JSON schema title [string] (nil)
19
19
  DESCRIPTION # The JSON schema description. If not given the Kwalify description will be used if present [string] (nil)
20
- ISSUES_TO_DESCRIPTION # To append the issuses to the JSON schema description [boolean] (false)
21
- ISSUES_TO_STDERR # To write the issuses standard error output [boolean] (false)
20
+ ISSUES_TO_DESCRIPTION # To append the issues to the JSON schema description [boolean] (false)
21
+ ISSUES_TO_STDERR # To write the issues to standard error output [boolean] (false)
22
22
  CUSTOM_PROCESSING # To customize the conversion [object] (nil)
23
23
  SCHEMA_VERSION # JSON schema version. Changing this value only change the value of $schema field[string] ("draft-04")
24
24
  VERBOSE # To be verbose when converting [boolean] (false)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kwalify_to_json_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Gamot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-16 00:00:00.000000000 Z
11
+ date: 2020-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -119,7 +119,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.1.2
122
+ rubyforge_project:
123
+ rubygems_version: 2.7.6
123
124
  signing_key:
124
125
  specification_version: 4
125
126
  summary: Kwalify schemas to JSON schemas conversion