jekyll-activity-pub 0.3.4 → 0.3.6
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/lib/jekyll/activity_pub/activity.rb +1 -1
- data/lib/jekyll/drops/activity_drop.rb +1 -7
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 62337ae8d8997bb493d905e29be2350c4868a455a0949eea2df4ab06c48be14c
|
|
4
|
+
data.tar.gz: 41d70f8143195730f16f151278887ecd72077c2e11cf065b4b6c8c647d29dad5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 690e444efb95e67dbcb96ab9a113bee494fc4e44fbc8a50a8657139a670cbe045c35904a2af7dae6e999bf345437d1adf9dda55983a9f35ac39f854b43799f8d
|
|
7
|
+
data.tar.gz: e68674f4145060e523d910a39583b01b8ac844d1f4b588d19293ddaa1e873f636421f713a8bfd5d35b4581db3fa7c670e7e4273ae5e0eea4992b27d2dd361e4b
|
|
@@ -118,7 +118,7 @@ module Jekyll
|
|
|
118
118
|
@attachments ||= [].tap do |array|
|
|
119
119
|
case (image = doc.data['image'])
|
|
120
120
|
when Hash
|
|
121
|
-
next
|
|
121
|
+
next if image['path'].nil? || image['path'].strip.empty?
|
|
122
122
|
|
|
123
123
|
array << Document.new(site, image['path'], image['description'])
|
|
124
124
|
when String
|
|
@@ -11,7 +11,7 @@ class DistributedPress
|
|
|
11
11
|
@to_liquid ||=
|
|
12
12
|
begin
|
|
13
13
|
if object.success?
|
|
14
|
-
Jekyll::Drops::ActivityDrop.new(object
|
|
14
|
+
Jekyll::Drops::ActivityDrop.new(object.parsed_response)
|
|
15
15
|
else
|
|
16
16
|
Jekyll.logger.warn 'ActivityPub:', "Couldn't download #{object.request.uri} (Status: #{object.code})"
|
|
17
17
|
{}
|
|
@@ -76,8 +76,6 @@ module Jekyll
|
|
|
76
76
|
true
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
# @todo Still no idea why Liquid/Jekyll initialize this with
|
|
80
|
-
# different objects
|
|
81
79
|
def initialize(obj)
|
|
82
80
|
id =
|
|
83
81
|
case obj
|
|
@@ -85,8 +83,6 @@ module Jekyll
|
|
|
85
83
|
obj['id'] || obj.url
|
|
86
84
|
when DistributedPress::V1::Social::ReferencedObject
|
|
87
85
|
obj['id']
|
|
88
|
-
when Hash
|
|
89
|
-
obj[:object]['id']
|
|
90
86
|
end
|
|
91
87
|
|
|
92
88
|
raise StandardError unless id
|
|
@@ -101,8 +97,6 @@ module Jekyll
|
|
|
101
97
|
DistributedPress::V1::Social::ReferencedObject.new(object: JSON.parse(obj.to_json), dereferencer: Jekyll::ActivityPub::Notifier.dereferencer)
|
|
102
98
|
when DistributedPress::V1::Social::ReferencedObject
|
|
103
99
|
obj
|
|
104
|
-
when Hash
|
|
105
|
-
obj[:object]
|
|
106
100
|
else raise StandardError
|
|
107
101
|
end
|
|
108
102
|
rescue StandardError => e
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-activity-pub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sutty
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: distributed-press-api-client
|
|
@@ -197,10 +197,10 @@ homepage: https://jekyll-activity-pub.sutty.nl/
|
|
|
197
197
|
licenses:
|
|
198
198
|
- Apache-2.0
|
|
199
199
|
metadata:
|
|
200
|
-
bug_tracker_uri: https://jekyll-activity-pub
|
|
200
|
+
bug_tracker_uri: https://git.sutty.abyaya.la/jekyll/jekyll-activity-pub/issues
|
|
201
201
|
homepage_uri: https://jekyll-activity-pub.sutty.nl/
|
|
202
|
-
source_code_uri: https://
|
|
203
|
-
changelog_uri: https://jekyll-activity-pub
|
|
202
|
+
source_code_uri: https://git.sutty.abyaya.la/jekyll/jekyll-activity-pub
|
|
203
|
+
changelog_uri: https://git.sutty.abyaya.la/jekyll/jekyll-activity-pub/commits/branch/antifascista
|
|
204
204
|
documentation_uri: https://rubydoc.info/gems/jekyll-activity-pub
|
|
205
205
|
post_install_message:
|
|
206
206
|
rdoc_options:
|