jekyll-activity-pub 0.3.5 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0649a05267816dcb64f87c8f3d8d3ae1d973a6813fbc40cd78da31c7563ffca
4
- data.tar.gz: c5761c4c2aebde10f1f00c887cb1c835163b3fd002a42dee8bf28cd9e4218d8b
3
+ metadata.gz: 62337ae8d8997bb493d905e29be2350c4868a455a0949eea2df4ab06c48be14c
4
+ data.tar.gz: 41d70f8143195730f16f151278887ecd72077c2e11cf065b4b6c8c647d29dad5
5
5
  SHA512:
6
- metadata.gz: abb7c0e856a8167d813a32211e4458dd63538ea4aef946cdf419e465a25ce8f2de69a456889288f2bea97e630162bb87839e0dda7200e919cc8784cfee77f348
7
- data.tar.gz: 2658e3ef2ad3d78a931ee5ba43cd1cff9fcedac4637a2a88aa8084e3844d6e60e5882d872a20223c23fcd074f443bfef7725528da74a706237b4de8a35b67ee8
6
+ metadata.gz: 690e444efb95e67dbcb96ab9a113bee494fc4e44fbc8a50a8657139a670cbe045c35904a2af7dae6e999bf345437d1adf9dda55983a9f35ac39f854b43799f8d
7
+ data.tar.gz: e68674f4145060e523d910a39583b01b8ac844d1f4b588d19293ddaa1e873f636421f713a8bfd5d35b4581db3fa7c670e7e4273ae5e0eea4992b27d2dd361e4b
@@ -11,7 +11,7 @@ class DistributedPress
11
11
  @to_liquid ||=
12
12
  begin
13
13
  if object.success?
14
- Jekyll::Drops::ActivityDrop.new(object: object.parsed_response)
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.5
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-03-04 00:00:00.000000000 Z
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.sutty.nl//issues
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://0xacab.org/sutty/jekyll/jekyll-activity-pub
203
- changelog_uri: https://jekyll-activity-pub.sutty.nl//-/blob/master/CHANGELOG.md
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: