diff --git a/Gemfile b/Gemfile index 2a65166..3d8af69 100644 --- a/Gemfile +++ b/Gemfile @@ -39,7 +39,6 @@ gem "redcarpet" gem "reverse_markdown" gem "rexml" gem "babosa" -gem "pinboard", git: "https://github.com/dnitza/pinboard", branch: "master" gem "bskyrb" gem "ogpr" gem "ruby-filemagic", git: "https://github.com/dnitza/ruby-filemagic", branch: "master" diff --git a/Gemfile.lock b/Gemfile.lock index 1f093f8..4590591 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,14 +7,6 @@ GIT hashie (~> 2.0) simple-rss (~> 1.3, >= 1.3.1) -GIT - remote: https://github.com/dnitza/pinboard - revision: a178662d901c768a6f76af7b94f7336484752e03 - branch: master - specs: - pinboard (1.1.1) - httparty (~> 0.21.0) - GIT remote: https://github.com/dnitza/ruby-filemagic revision: 9699941ae5b9d53ce685f2b9808890596fe1334f @@ -530,7 +522,6 @@ DEPENDENCIES ogpr omdb-api (= 1.4.3) pg - pinboard! puma que rack-rewrite diff --git a/lib/adamantium/link_finder.rb b/lib/adamantium/link_finder.rb index 86e1f36..18880a7 100644 --- a/lib/adamantium/link_finder.rb +++ b/lib/adamantium/link_finder.rb @@ -7,6 +7,7 @@ module Adamantium google.com overcast.fm youtube.com + bsky.app github.com] def call(content) diff --git a/slices/micropub/actions/site/config.rb b/slices/micropub/actions/site/config.rb index 60c3f8a..6ef1731 100644 --- a/slices/micropub/actions/site/config.rb +++ b/slices/micropub/actions/site/config.rb @@ -26,10 +26,6 @@ module Micropub uid: "https://social.dnitza.com", name: "Mastodon" }, - { - uid: "https://pinboard.in", - name: "Pinboard" - }, { uid: "https://bsky.app", name: "Blue Sky" @@ -45,10 +41,6 @@ module Micropub uid: "https://social.dnitza.com", name: "Mastodon" }, - { - uid: "https://pinboard.in", - name: "Pinboard" - }, { uid: "https://bsky.app", name: "Blue Sky" diff --git a/spec/adamantium/unit/commands/posts/syndicate_spec.rb b/spec/adamantium/unit/commands/posts/syndicate_spec.rb index 39c33db..c73fba6 100644 --- a/spec/adamantium/unit/commands/posts/syndicate_spec.rb +++ b/spec/adamantium/unit/commands/posts/syndicate_spec.rb @@ -7,7 +7,7 @@ RSpec.describe Micropub::Commands::Posts::Syndicate do let(:settings) { double("settings", mastodon_server: "https://mastodon.example/@tester", blue_sky_url: "https://bluesky.app") } let(:mastodon_client) { double("Adamantium::Client::Mastodon") } let(:mastodon_syndicator) { Adamantium::Syndication::Mastodon.new(mastodon_client: mastodon_client) } - let(:post) { {url: "example.com", syndicate_to: ["https://mastodon.example", "https://pinboard.in"], category: []} } + let(:post) { {url: "example.com", syndicate_to: ["https://mastodon.example", "https://bsky.app"], category: []} } let(:add_post_syndication_source) { spy(Micropub::Commands::Posts::AddSyndicationSource) } subject { diff --git a/spec/adamantium/unit/link_finder_spec.rb b/spec/adamantium/unit/link_finder_spec.rb index 2c7f9e4..196466c 100644 --- a/spec/adamantium/unit/link_finder_spec.rb +++ b/spec/adamantium/unit/link_finder_spec.rb @@ -4,8 +4,8 @@ RSpec.describe Adamantium::LinkFinder do subject { described_class.new } it "finds allowed links in a string" do - text = "Check out some of these cool websites: https://google.com https://example.com or even http://twitter.com and https://pinboard.in!" + text = "Check out some of these cool websites: https://google.com https://example.com or even http://twitter.com and https://bsky.app" - expect(subject.call(text)).to eq ["https://example.com", "https://pinboard.in"] + expect(subject.call(text)).to eq ["https://example.com"] end end