jekyll-calibre 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.
- checksums.yaml +4 -4
- data/jekyll-calibre.gemspec +1 -1
- data/lib/jekyll/calibre/version.rb +1 -1
- data/lib/jekyll/calibre.rb +2 -2
- data/lib/jekyll-calibre.rb +1 -0
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64739fe5e894b5dac5bae3ca8ab070339f1c90966d2ae4c9ffdf8cce0a9584a5
|
|
4
|
+
data.tar.gz: 175ee80b05bf26ef9d4ea64bab02a6b3c2aa16cbdd79d090e30b8530ce194707
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24328fab1f3de792a64f399680fc1df3d430f5bf73ff92de2e8a9e18006e2c4c3b4d46df325461694565ac4bfdb561662a054c6dacb78621fab3b06274d77054
|
|
7
|
+
data.tar.gz: 48a20b2fb34fef9484af3a07289f726690f0f5c5280e9886a1b3c723073cf778e9b65ddb325401e6cc26b839c2be94518b243dd568bf1a09321cccd633b99e25
|
data/jekyll-calibre.gemspec
CHANGED
|
@@ -18,6 +18,6 @@ Gem::Specification.new do |gem|
|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
19
19
|
gem.require_paths = ['lib']
|
|
20
20
|
|
|
21
|
-
gem.add_dependency('calibre-ruby', '~> 0')
|
|
21
|
+
gem.add_dependency('calibre-ruby', '~> 0.0.3')
|
|
22
22
|
gem.add_dependency('jekyll', '~> 4')
|
|
23
23
|
end
|
data/lib/jekyll/calibre.rb
CHANGED
|
@@ -60,7 +60,7 @@ module Jekyll
|
|
|
60
60
|
self.keep_files << file
|
|
61
61
|
|
|
62
62
|
# Also create a Hash { format: path } as absolute url
|
|
63
|
-
[ f.format, config
|
|
63
|
+
[ f.format, "#{config['baseurl']}/#{file}" ]
|
|
64
64
|
end]
|
|
65
65
|
|
|
66
66
|
# Copy the covers to the final site
|
|
@@ -68,7 +68,7 @@ module Jekyll
|
|
|
68
68
|
# Where in the metadata we want to store the path to cover
|
|
69
69
|
cover_field = config.dig('calibre', 'cover', 'field') || 'cover'
|
|
70
70
|
# The path is the absolute URL
|
|
71
|
-
post.data[cover_field] = "#{config
|
|
71
|
+
post.data[cover_field] = "#{config['baseurl']}/#{cover_dir}/#{book.cover}"
|
|
72
72
|
|
|
73
73
|
# The cover is stored in a path mimicking the path from
|
|
74
74
|
# calibre
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require_relative 'jekyll/calibre'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-calibre
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- fauno
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-07-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: calibre-ruby
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.0.3
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 0.0.3
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: jekyll
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -49,6 +49,7 @@ files:
|
|
|
49
49
|
- README.es.md
|
|
50
50
|
- README.md
|
|
51
51
|
- jekyll-calibre.gemspec
|
|
52
|
+
- lib/jekyll-calibre.rb
|
|
52
53
|
- lib/jekyll/calibre.rb
|
|
53
54
|
- lib/jekyll/calibre/version.rb
|
|
54
55
|
homepage: https://0xacab.org/utopias-piratas/jekyll-calibre
|
|
@@ -70,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
70
71
|
- !ruby/object:Gem::Version
|
|
71
72
|
version: '0'
|
|
72
73
|
requirements: []
|
|
73
|
-
rubygems_version: 3.3.
|
|
74
|
+
rubygems_version: 3.3.27
|
|
74
75
|
signing_key:
|
|
75
76
|
specification_version: 4
|
|
76
77
|
summary: Jekyll plugin to generate a site from a Calibre library
|