jekyll-notion 0.0.0.alpha → 0.0.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-notion/generator.rb +0 -5
- data/lib/jekyll-notion/notion_database.rb +2 -2
- data/lib/jekyll-notion/notion_page.rb +3 -1
- data/lib/jekyll-notion/version.rb +4 -2
- data/lib/jekyll-notion.rb +12 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15127980ee7214935a0f10923f0fbd9461ece646ddeae13fb59c257ab74fc66c
|
4
|
+
data.tar.gz: f2bc8d7396de8b6d4513082fc8aebd7e00841f53fb59b166eb7cfa4a65251010
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72fd2efdcd8a815f9047943474e660f50557bdb29267c1691ce00c41223107e7311f5ca0572316db00cdb655998540a0c87715b1b9a34c81a180b80a5912aea9
|
7
|
+
data.tar.gz: 51620c78be34bc1d94d1167b31a756cecc6d187b4669266b26e7d0b9864dce4765fbf7e534fcd1ac9ed2c45464a9b0558f4b2d36c5d5ca97c9ed349c4947f312
|
data/lib/jekyll-notion.rb
CHANGED
@@ -1,10 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'jekyll'
|
2
4
|
require 'notion'
|
3
|
-
require 'notion_to_md
|
5
|
+
require 'notion_to_md'
|
4
6
|
require 'logger'
|
7
|
+
require 'active_support/inflector'
|
8
|
+
require 'jekyll/generator'
|
5
9
|
|
6
10
|
NotionToMd::Logger.level = Logger::ERROR
|
7
11
|
|
8
12
|
Notion.configure do |config|
|
9
13
|
config.token = ENV['NOTION_TOKEN']
|
10
|
-
end
|
14
|
+
end
|
15
|
+
|
16
|
+
module JekyllNotion
|
17
|
+
autoload :DocumentWithoutAFile, 'jekyll-notion/document_without_a_file'
|
18
|
+
autoload :NotionDatabase, 'jekyll-notion/notion_database'
|
19
|
+
autoload :NotionPage, 'jekyll-notion/notion_page'
|
20
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-notion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0.alpha
|
4
|
+
version: 0.0.0.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Enrique Arias
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|