├── .devcontainer ├── devcontainer.json └── setup.sh ├── .editorconfig ├── .git-blame-ignore-revs ├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── ci.yml │ └── publish.yml ├── .gitignore ├── .irbrc ├── .rubocop.yml ├── .ruby-version ├── .simplecov ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── USAGE.md ├── bin ├── console ├── rspec └── rubocop ├── lib ├── webmention.rb └── webmention │ ├── client.rb │ ├── error_response.rb │ ├── parser.rb │ ├── parsers │ ├── html_parser.rb │ ├── json_parser.rb │ └── plaintext_parser.rb │ ├── request.rb │ ├── response.rb │ ├── url.rb │ └── verification.rb ├── spec ├── lib │ ├── webmention │ │ ├── error_response_spec.rb │ │ ├── parsers │ │ │ ├── html_parser_results_spec.rb │ │ │ ├── json_parser_results_spec.rb │ │ │ └── plaintext_parser_results_spec.rb │ │ ├── request_perform_spec.rb │ │ └── response_spec.rb │ ├── webmention_mentioned_urls_spec.rb │ ├── webmention_send_webmention_spec.rb │ ├── webmention_send_webmentions_spec.rb │ └── webmention_verify_webmention_spec.rb ├── spec_helper.rb └── support │ ├── fixtures │ ├── sample_post.html │ ├── sample_post.json │ ├── sample_post.txt │ ├── sample_post_anchors_only.html │ ├── sample_post_no_links.html │ ├── sample_post_no_links.json │ └── sample_post_no_links.txt │ └── fixtures_helper.rb └── webmention.gemspec /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.devcontainer/setup.sh -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.editorconfig -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.git-blame-ignore-revs -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * jgarber623 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.gitignore -------------------------------------------------------------------------------- /.irbrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.irbrc -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 3.4.6 2 | -------------------------------------------------------------------------------- /.simplecov: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/.simplecov -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/Rakefile -------------------------------------------------------------------------------- /USAGE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/USAGE.md -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/bin/console -------------------------------------------------------------------------------- /bin/rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/bin/rspec -------------------------------------------------------------------------------- /bin/rubocop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/bin/rubocop -------------------------------------------------------------------------------- /lib/webmention.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention.rb -------------------------------------------------------------------------------- /lib/webmention/client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/client.rb -------------------------------------------------------------------------------- /lib/webmention/error_response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/error_response.rb -------------------------------------------------------------------------------- /lib/webmention/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/parser.rb -------------------------------------------------------------------------------- /lib/webmention/parsers/html_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/parsers/html_parser.rb -------------------------------------------------------------------------------- /lib/webmention/parsers/json_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/parsers/json_parser.rb -------------------------------------------------------------------------------- /lib/webmention/parsers/plaintext_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/parsers/plaintext_parser.rb -------------------------------------------------------------------------------- /lib/webmention/request.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/request.rb -------------------------------------------------------------------------------- /lib/webmention/response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/response.rb -------------------------------------------------------------------------------- /lib/webmention/url.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/url.rb -------------------------------------------------------------------------------- /lib/webmention/verification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/lib/webmention/verification.rb -------------------------------------------------------------------------------- /spec/lib/webmention/error_response_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention/error_response_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention/parsers/html_parser_results_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention/parsers/html_parser_results_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention/parsers/json_parser_results_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention/parsers/json_parser_results_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention/parsers/plaintext_parser_results_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention/parsers/plaintext_parser_results_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention/request_perform_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention/request_perform_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention/response_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention/response_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention_mentioned_urls_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention_mentioned_urls_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention_send_webmention_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention_send_webmention_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention_send_webmentions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention_send_webmentions_spec.rb -------------------------------------------------------------------------------- /spec/lib/webmention_verify_webmention_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/lib/webmention_verify_webmention_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/fixtures/sample_post.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/support/fixtures/sample_post.html -------------------------------------------------------------------------------- /spec/support/fixtures/sample_post.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/support/fixtures/sample_post.json -------------------------------------------------------------------------------- /spec/support/fixtures/sample_post.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | 3 | https://aaronpk.example/post/100 4 | -------------------------------------------------------------------------------- /spec/support/fixtures/sample_post_anchors_only.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/support/fixtures/sample_post_anchors_only.html -------------------------------------------------------------------------------- /spec/support/fixtures/sample_post_no_links.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/support/fixtures/sample_post_no_links.html -------------------------------------------------------------------------------- /spec/support/fixtures/sample_post_no_links.json: -------------------------------------------------------------------------------- 1 | ["Hello, world!"] 2 | -------------------------------------------------------------------------------- /spec/support/fixtures/sample_post_no_links.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /spec/support/fixtures_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/spec/support/fixtures_helper.rb -------------------------------------------------------------------------------- /webmention.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indieweb/webmention-client-ruby/HEAD/webmention.gemspec --------------------------------------------------------------------------------