html2rss 0.27.0 → 0.27.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 286a89b05b23997b8cb5ef8b2930a59bd698bdeb07ba5007b3e30313b91324cd
4
- data.tar.gz: 709147e30bb631551e8927e496fea5d76ef32373a76834b66adb54cbcdc8df16
3
+ metadata.gz: 898e609f0c0ae81285356d4c1793d89c8bd76cd3615f51aa28ed5bc352d1bce6
4
+ data.tar.gz: e384fccef00524f53c733959298f8f363a4400b8142fcb7b5484e06423e478ca
5
5
  SHA512:
6
- metadata.gz: e9cabc478aa9d449697e2d8e99a5b91f6e2071d498eac34bdbc7828fffa06d2b02395d4f8e02853f0553ea97bdc35ca5a59c0b33fcc53b82ef809a247674826c
7
- data.tar.gz: 32d343c2f3008917dbdbbb0859c29e710a89559e2ab079dcd3ba76672450ddaeb63572c8c71e0a1f5f7b327be7df667d785d2f7fb1069389e12a63093d83e3c9
6
+ metadata.gz: 70e479939781e18fa0206659fade0bc12f1aa272932e2e479ff07c5ea46c55e825c2d428bc5b51a62095a01bcc638615e346f895b179062b8f90347227e572c4
7
+ data.tar.gz: ada830ba830f0f0637122fb4f8d0f0803f292fed2afa1024cdaf29eee46c89c638a7d958459380e9b3d1009a9f1ed46571d553e1fe164d58be13156cff74e6b7
@@ -35,6 +35,8 @@ module Html2rss
35
35
 
36
36
  # Contract for catalog-only `directory` metadata (topics for feed directories).
37
37
  DirectoryConfig = Dry::Schema.Params do
38
+ required(:title).filled(:string)
39
+ optional(:summary).maybe(:string, max_size?: 160)
38
40
  optional(:topics).value(:array, min_size?: 1).each(:string, included_in?: DIRECTORY_TOPICS)
39
41
  end
40
42
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Html2rss
4
4
  # Current application version.
5
- VERSION = '0.27.0'
5
+ VERSION = '0.27.1'
6
6
  public_constant :VERSION
7
7
  end
@@ -66,6 +66,17 @@
66
66
  "directory": {
67
67
  "type": "object",
68
68
  "properties": {
69
+ "title": {
70
+ "type": "string",
71
+ "minLength": 1
72
+ },
73
+ "summary": {
74
+ "type": [
75
+ "null",
76
+ "string"
77
+ ],
78
+ "maxLength": 160
79
+ },
69
80
  "topics": {
70
81
  "type": "array",
71
82
  "items": {
@@ -92,7 +103,9 @@
92
103
  "minItems": 1
93
104
  }
94
105
  },
95
- "required": []
106
+ "required": [
107
+ "title"
108
+ ]
96
109
  },
97
110
  "headers": {
98
111
  "type": "object",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html2rss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.27.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gil Desmarais
@@ -486,7 +486,7 @@ licenses:
486
486
  - MIT
487
487
  metadata:
488
488
  allowed_push_host: https://rubygems.org
489
- changelog_uri: https://github.com/html2rss/html2rss/releases/tag/v0.27.0
489
+ changelog_uri: https://github.com/html2rss/html2rss/releases/tag/v0.27.1
490
490
  rubygems_mfa_required: 'true'
491
491
  rdoc_options: []
492
492
  require_paths: