happypdf_json_schema 0.0.2 → 0.0.3
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.
- data/lib/happypdf/version.rb +1 -1
- data/schema/v1.0/image_block.json +11 -0
- data/schema/v1.0/text_block.json +10 -0
- metadata +3 -2
data/lib/happypdf/version.rb
CHANGED
data/schema/v1.0/text_block.json
CHANGED
|
@@ -9,6 +9,16 @@
|
|
|
9
9
|
"description": "Content if no text is supplied by the client.",
|
|
10
10
|
"type": "string"
|
|
11
11
|
},
|
|
12
|
+
"margin":{
|
|
13
|
+
"description": "One or two float values describing horizontal and vertical extensions of a textbox.",
|
|
14
|
+
"type": "array",
|
|
15
|
+
"properties":{
|
|
16
|
+
"type": "number"
|
|
17
|
+
},
|
|
18
|
+
"minItems": 1,
|
|
19
|
+
"maxItems": 2,
|
|
20
|
+
"default": [0]
|
|
21
|
+
},
|
|
12
22
|
"fillcolor":{
|
|
13
23
|
"description": "Text fill color. Defaults to black",
|
|
14
24
|
"type": "color",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: happypdf_json_schema
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -97,6 +97,7 @@ files:
|
|
|
97
97
|
- lib/happypdf/version.rb
|
|
98
98
|
- lib/happypdf_json_schema.rb
|
|
99
99
|
- schema/v1.0/block.json
|
|
100
|
+
- schema/v1.0/image_block.json
|
|
100
101
|
- schema/v1.0/page.json
|
|
101
102
|
- schema/v1.0/pdt.json
|
|
102
103
|
- schema/v1.0/table.json
|
|
@@ -119,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
119
120
|
version: '0'
|
|
120
121
|
segments:
|
|
121
122
|
- 0
|
|
122
|
-
hash:
|
|
123
|
+
hash: 4509264459645895034
|
|
123
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
125
|
none: false
|
|
125
126
|
requirements:
|