Atmosfire 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atmosfire/at_uri.rb +1 -1
- data/lib/atmosfire/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 162287999a23b418ef85804e5f3cd7c7b237545bd0e923103a4652d09c555a86
|
4
|
+
data.tar.gz: 60273f91549485a79b5feb9ebe74cf874dae08f9acf32d5ce1141425db999ca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fc45431dba36c103872cb929f67d04153cdc9850a1d39e2f99a762432d082d557988b6c1a4aca4ea070250ba304920b3fe7264f99d6edebc92d88ae6b802a32
|
7
|
+
data.tar.gz: e181db3af0bb47e2fbeb2eb10085f9a9f80686ae2f496c75e8315c400b7521b7ec448656e41011f2a219722cb844b15301feddfc6d397beff59ebab91cf154ab
|
data/lib/atmosfire/at_uri.rb
CHANGED
@@ -40,7 +40,7 @@ module Atmosfire
|
|
40
40
|
Rule.new(pattern, transform)
|
41
41
|
end
|
42
42
|
RuleSets = [
|
43
|
-
AtUriParser.create_rule(%r{^#{Regexp.escape("https://")}(bsky\.app)/profile/(.+)/post/([\w]+)$}) do |
|
43
|
+
AtUriParser.create_rule(%r{^#{Regexp.escape("https://")}(bsky\.app)/profile/(.+)/post/([\w]+)$}) do |_, handle, rkey, pds|
|
44
44
|
handle.start_with?("did:") ? did = handle : did = resolve_handle(handle, pds)
|
45
45
|
AtUri.new(repo: did, collection: "app.bsky.feed.post", rkey: rkey)
|
46
46
|
end,
|
data/lib/atmosfire/version.rb
CHANGED