wisp-schema 0.16.0 → 0.17.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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wisp-schema.rb +1 -1
  3. data/nouns.json +9 -1
  4. data/wisp.json +9 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0969953deb28f10886f8cffa74216aa4c86d3a39ec95888205b9a12b31aa61a9'
4
- data.tar.gz: 13b9e77adf29c6ea2fd654018f11831680caa685f3f32c4841e1f0cd49dcdd05
3
+ metadata.gz: 46d2a4eea92a8d9e4cb18d35e2556c38c4e7c1e62e7827392a8d0160dadc5205
4
+ data.tar.gz: afc56ee92b4e12294c864c343f9915521a275bb8dce010f2303fed8a523a1571
5
5
  SHA512:
6
- metadata.gz: 206c4d06c894c587be75ec5c1237735ff4214b2e6fb12c4be296d15311779896a92917aa89daf80eabd5935ddd0ddf0b668175aa4daf037289cb91a79080bdb2
7
- data.tar.gz: ac4a825e57de6b57be585dc414bd5325869a75cc97114ecaa32c18cabc63d7ce2c672491aa11031d5bde4536fb9f2d1c4307830f46f619c27ea24d4c7c321881
6
+ metadata.gz: ba6f39c49b58956983a5bc302a2cb63569729b268451ea751806f0d2935f4b9e0ab1b89ce7fa32605b7d75153cb4d5fcd6cec200571b921d1f48fb8c2d318c72
7
+ data.tar.gz: 98d96a3bd20c1a4a7e62dd102503ac719b2c7eef1db9e47996fab22b93e5379a13e9b3cc52f2e362124bb6c49edfc3ef0436f4808ee44aefbf31fae0af393b87
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wisp
4
- VERSION = '0.16.0'
4
+ VERSION = '0.17.0'
5
5
 
6
6
  SCHEMA_PATH = File.expand_path('../wisp.json', __dir__)
7
7
  NOUNS_PATH = File.expand_path('../nouns.json', __dir__)
data/nouns.json CHANGED
@@ -11,7 +11,15 @@
11
11
  },
12
12
  "element": {"title": "Element", "type": "string"},
13
13
  "focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
14
- "focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
14
+ "focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}},
15
+ "match_mode": {
16
+ "enum": ["pixel", "pixel_and_ocr"]
17
+ },
18
+ "ocr_expression": {
19
+ "title": "Expression to use for text matching",
20
+ "type": "string",
21
+ "maxLength": 999
22
+ }
15
23
  },
16
24
  "additionalProperties": false,
17
25
  "required": ["type", "element"]
data/wisp.json CHANGED
@@ -18,7 +18,15 @@
18
18
  },
19
19
  "element": {"title": "Element", "type": "string"},
20
20
  "focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
21
- "focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
21
+ "focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}},
22
+ "match_mode": {
23
+ "enum": ["pixel", "pixel_and_ocr"]
24
+ },
25
+ "ocr_expression": {
26
+ "title": "Expression to use for text matching",
27
+ "type": "string",
28
+ "maxLength": 999
29
+ }
22
30
  },
23
31
  "additionalProperties": false,
24
32
  "required": ["type", "element"]
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.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski