notion_to_html 1.1.4 → 1.1.5

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: 96198f047bc37e0468c3d63f267848c31343ae68df890de63ff37b451ca89d5b
4
- data.tar.gz: 80324f4a691905d5889c1e168fcb4e311f430f42fd9fa97fb5543e3c0c60e8eb
3
+ metadata.gz: e0a725c2b4c8edf857d22bd6d5a36dac0070315fcc06d904eaf912872b4f0190
4
+ data.tar.gz: 75c02f3ce2e0ee02c3eba90d1a5700f5c94f4ebec3c767c5b6cea7b83c835d95
5
5
  SHA512:
6
- metadata.gz: 394c077b1b48db452fdcdc832641fb042412542e729b893c5f4086bf5d86ef790427d8a571bf1d5104f98620d1753e083a9fed23e303c929b7e4256043511215
7
- data.tar.gz: 30962b4fda49771160d1fceaf9855a37901d3d79952cec636bfdfaa5b28a63ba7774d966eed117c0d48fd88587349c430c3873bb8b466c669b70a673bead392a
6
+ metadata.gz: 49f654328d48672b453f175608bef664193c96e76e246c20c68b4c4cacabe09a50e5ecbca8702556793b32de7ed6cc5a67bf228ebb8c90fdd7d1dac995861e37
7
+ data.tar.gz: 9ed524bf834093884e7bba25a4d7b4e8ef3fd76701595e1b26246f685c6862f61beb9cdba21b33995dc8ab88fffdbf0b5a57487f2e2a39a356ffd0b26fe4e1f8
@@ -87,7 +87,7 @@ module NotionToHtml
87
87
  def process_properties
88
88
  @tags = @properties['tags']
89
89
  @title = @properties.dig('name', 'title')
90
- @slug = @properties['slug']
90
+ @slug = @properties.dig('slug', 'rich_text').first['plain_text']
91
91
  @published_at = @properties.dig('published', 'date', 'start')
92
92
  @description = @properties.dig('description', 'rich_text')
93
93
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module NotionToHtml
4
4
  # The current version of the NotionToHtml gem.
5
- VERSION = '1.1.4'
5
+ VERSION = '1.1.5'
6
6
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notion_to_html
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillermo Aguirre
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-10 00:00:00.000000000 Z
10
+ date: 2024-12-30 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: actionview
@@ -100,7 +99,6 @@ licenses:
100
99
  metadata:
101
100
  homepage_uri: https://github.com/guillermoap/notion_to_html
102
101
  source_code_uri: https://github.com/guillermoap/notion_to_html
103
- post_install_message:
104
102
  rdoc_options: []
105
103
  require_paths:
106
104
  - lib
@@ -115,8 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
113
  - !ruby/object:Gem::Version
116
114
  version: '0'
117
115
  requirements: []
118
- rubygems_version: 3.5.22
119
- signing_key:
116
+ rubygems_version: 3.6.2
120
117
  specification_version: 4
121
118
  summary: Notion HTML renderer for Ruby
122
119
  test_files: []