jekyll-activity-pub 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/activity_pub/notifier.rb +3 -8
- 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: 9e92fa1608034c3d855dd01580a79954838ca27da70c1ddb98547c62c72e5d23
|
4
|
+
data.tar.gz: aa325a0c5b8641a90e28f8ba1e24a1dc36fd6376abc83f965b1c59adf00cf08c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51ee1ac0dffeb2d888e6afdfcf0c9c56a349d3979d27b72b26d2100d2caf17d19b62c6c66ba0755f9d4320b96e871e005b5a88bb8f5e144ad2a8463bb75d8750
|
7
|
+
data.tar.gz: 90ef0f79e2c16753dceccd223749dbfb8f510da66df45f4b89fde700c353eb8298795d8b3358cb8114f634a9f39a4cdbac34b6a37ee9008c98f9540f650779b4
|
@@ -127,14 +127,9 @@ module Jekyll
|
|
127
127
|
|
128
128
|
actor_object = object_for(site.in_dest_dir(actor_url.sub(site.config['url'], '')))
|
129
129
|
|
130
|
-
# Create inbox
|
131
|
-
|
132
|
-
|
133
|
-
# @see {https://github.com/hyphacoop/social.distributed.press/issues/51}
|
134
|
-
unless inbox.get.ok?
|
135
|
-
unless (response = inbox.create(actor_url, announce?)).ok?
|
136
|
-
raise NotificationError, "Couldn't create/update inbox (#{response.code}: #{response.message})"
|
137
|
-
end
|
130
|
+
# Create/Update inbox
|
131
|
+
unless (response = inbox.create(actor_url, announce?)).ok?
|
132
|
+
raise NotificationError, "Couldn't create/update inbox (#{response.code}: #{response.message})"
|
138
133
|
end
|
139
134
|
|
140
135
|
# Remove notifications already performed and notify
|
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.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sutty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: distributed-press-api-client
|