wisp-schema 0.8.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wisp-schema.rb +1 -1
  3. data/wisp.json +5 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd46bdade3ab35312cdeb8349e652c13b11596eaa82fb7b279c2a8eb115a3d42
4
- data.tar.gz: b94806d3d9d10ba9e2dd6f0c9a7fb58fcde59d1fb1c301ab0863e87162afdde6
3
+ metadata.gz: 607a9fa18e5b3fc3da6e69c9d9039b39a9168ce8e7c96425684871fee5c25bed
4
+ data.tar.gz: 994ef80c786269ed218794135007fbfdfe244dc8048a412a54f5648906ecff5d
5
5
  SHA512:
6
- metadata.gz: 0e9d8c02ec32b6b9a2217014f4c9f4a8b954c319c6818412b9fe2a8b55a106645f5d4cc96422bc1a74f90c34994c48f88aa10c6215d0a53e90df4ab8461446da
7
- data.tar.gz: cf15c4849cda6aaf4a05cdc65654e31b5728da61edace393ea3518dcc62a01a5f4cca75adff8ba1755134d4eaf73ed1f5212bff5e6dd1825c1a7483908a530bf
6
+ metadata.gz: d744f70e4796c6616172966ffe25f700087c4cdc1acd3fc2f63e141eba191d819e4f3bbb7f1986da00d5f2cc757bfb276de1ba09b67fb17b2f35ccb6028645bc
7
+ data.tar.gz: a86e207252bf7817568f3bf520072e364db455c6a84ab3925c25d39a78870f7a266fc999f1d603a030ef24bb06ecc0cc8cc0b3b990273da9b3d933b5ebc14812
data/lib/wisp-schema.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wisp
4
- VERSION = '0.8.2'
4
+ VERSION = '0.9.0'
5
5
 
6
6
  SCHEMA_PATH = File.expand_path('../wisp.json', __dir__)
7
7
  NOUNS_PATH = File.expand_path('../nouns.json', __dir__)
data/wisp.json CHANGED
@@ -284,7 +284,10 @@
284
284
  "title": "Target",
285
285
  "$ref": "#/definitions/noun"
286
286
  },
287
- "option": {"title": "Option", "type": "string"}
287
+ "option": {
288
+ "title": "Option",
289
+ "$ref": "#/definitions/noun"
290
+ }
288
291
  },
289
292
  "required": ["action", "target", "option"]
290
293
  },
@@ -402,7 +405,7 @@
402
405
  },
403
406
  "object": {
404
407
  "title": "Object",
405
- "type": "string"
408
+ "$ref": "#/definitions/noun"
406
409
  },
407
410
  "target": {
408
411
  "title": "Target",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wisp-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski