bridgetown_linkchecker 0.1.0
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 +7 -0
- data/.github/workflows/tests.yml +32 -0
- data/.gitignore +40 -0
- data/.rubocop.yml +23 -0
- data/CHANGELOG.md +14 -0
- data/Gemfile +13 -0
- data/LICENSE.txt +22 -0
- data/README.md +30 -0
- data/Rakefile +11 -0
- data/bridgetown.automation.rb +51 -0
- data/bridgetown_linkchecker.gemspec +27 -0
- data/content/.keep +1 -0
- data/lib/bridgetown_linkchecker/builder.rb +35 -0
- data/lib/bridgetown_linkchecker/version.rb +5 -0
- data/lib/bridgetown_linkchecker.rb +26 -0
- metadata +132 -0
    
        checksums.yaml
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: 33912af51a7920e56eac3959a4807ab958547cd5f12e342bb86c33e70abf68cb
         | 
| 4 | 
            +
              data.tar.gz: f997cdfd3f301ce45fc9106a825c3784f754fc856ff0c8efb10324a7804718e1
         | 
| 5 | 
            +
            SHA512:
         | 
| 6 | 
            +
              metadata.gz: bb88ca5d7a31b966800a2a89f8c0eabd8d8896bf2b0acb623c3fd81f90c0f3a5cc6ed865b73782345f096e8b4a691131dbf357873af50d322cc614f88fa24427
         | 
| 7 | 
            +
              data.tar.gz: ef9a56f06e7cc02bcc7a6b56b5ba5a38e4a5b5b00af143de860a7d2c7bae2230ca8c7c62938fb459290363b755e56c4ff7c9b2d93f17b1eb414dade492f9aee8
         | 
| @@ -0,0 +1,32 @@ | |
| 1 | 
            +
            name: Tests
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            on:
         | 
| 4 | 
            +
              pull_request:
         | 
| 5 | 
            +
                branches:
         | 
| 6 | 
            +
                  - "*"
         | 
| 7 | 
            +
              push:
         | 
| 8 | 
            +
                branches:
         | 
| 9 | 
            +
                  - main
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            jobs:
         | 
| 12 | 
            +
              build:
         | 
| 13 | 
            +
                runs-on: ubuntu-latest
         | 
| 14 | 
            +
                strategy:
         | 
| 15 | 
            +
                  matrix:
         | 
| 16 | 
            +
                    ruby_version: [2.7.7, 3.0.5, 3.1.3, 3.2.0]
         | 
| 17 | 
            +
                    bridgetown_version: [1.2.0]
         | 
| 18 | 
            +
                continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
         | 
| 19 | 
            +
                # Has to be top level to cache properly
         | 
| 20 | 
            +
                env:
         | 
| 21 | 
            +
                  BUNDLE_JOBS: 3
         | 
| 22 | 
            +
                  BUNDLE_PATH: "vendor/bundle"
         | 
| 23 | 
            +
                  BRIDGETOWN_VERSION: ${{ matrix.bridgetown_version }}
         | 
| 24 | 
            +
                steps:
         | 
| 25 | 
            +
                  - uses: actions/checkout@master
         | 
| 26 | 
            +
                  - name: Setup Ruby
         | 
| 27 | 
            +
                    uses: ruby/setup-ruby@v1
         | 
| 28 | 
            +
                    with:
         | 
| 29 | 
            +
                      ruby-version: ${{ matrix.ruby_version }}
         | 
| 30 | 
            +
                      bundler-cache: true
         | 
| 31 | 
            +
                  - name: Test with Rake
         | 
| 32 | 
            +
                    run: script/cibuild
         | 
    
        data/.gitignore
    ADDED
    
    | @@ -0,0 +1,40 @@ | |
| 1 | 
            +
            /vendor
         | 
| 2 | 
            +
            /.bundle/
         | 
| 3 | 
            +
            /.yardoc
         | 
| 4 | 
            +
            /Gemfile.lock
         | 
| 5 | 
            +
            /_yardoc/
         | 
| 6 | 
            +
            /coverage/
         | 
| 7 | 
            +
            /doc/
         | 
| 8 | 
            +
            /pkg/
         | 
| 9 | 
            +
            /spec/reports/
         | 
| 10 | 
            +
            /tmp/
         | 
| 11 | 
            +
            *.bundle
         | 
| 12 | 
            +
            *.so
         | 
| 13 | 
            +
            *.o
         | 
| 14 | 
            +
            *.a
         | 
| 15 | 
            +
            mkmf.log
         | 
| 16 | 
            +
            *.gem
         | 
| 17 | 
            +
            Gemfile.lock
         | 
| 18 | 
            +
            .bundle
         | 
| 19 | 
            +
            .ruby-version
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            # Node
         | 
| 22 | 
            +
            node_modules
         | 
| 23 | 
            +
            .npm
         | 
| 24 | 
            +
            .node_repl_history
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            # Yarn
         | 
| 27 | 
            +
            yarn-error.log
         | 
| 28 | 
            +
            yarn-debug.log*
         | 
| 29 | 
            +
            .pnp/
         | 
| 30 | 
            +
            .pnp.js
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            # Yarn Integrity file
         | 
| 33 | 
            +
            .yarn-integrity
         | 
| 34 | 
            +
             | 
| 35 | 
            +
            test/dest
         | 
| 36 | 
            +
            .bridgetown-metadata
         | 
| 37 | 
            +
            .bridgetown-cache
         | 
| 38 | 
            +
            .bridgetown-webpack
         | 
| 39 | 
            +
             | 
| 40 | 
            +
            .env
         | 
    
        data/.rubocop.yml
    ADDED
    
    | @@ -0,0 +1,23 @@ | |
| 1 | 
            +
            require: rubocop-bridgetown
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            inherit_gem:
         | 
| 4 | 
            +
              rubocop-bridgetown: .rubocop.yml
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            AllCops:
         | 
| 7 | 
            +
              TargetRubyVersion: 2.7
         | 
| 8 | 
            +
             | 
| 9 | 
            +
              Exclude:
         | 
| 10 | 
            +
                - .gitignore
         | 
| 11 | 
            +
                - .rubocop.yml
         | 
| 12 | 
            +
                - "*.gemspec"
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                - Gemfile.lock
         | 
| 15 | 
            +
                - CHANGELOG.md
         | 
| 16 | 
            +
                - LICENSE.txt
         | 
| 17 | 
            +
                - README.md
         | 
| 18 | 
            +
                - Rakefile
         | 
| 19 | 
            +
                - bridgetown.automation.rb
         | 
| 20 | 
            +
             | 
| 21 | 
            +
                - script/**/*
         | 
| 22 | 
            +
                - test/fixtures/**/*
         | 
| 23 | 
            +
                - vendor/**/*
         | 
    
        data/CHANGELOG.md
    ADDED
    
    | @@ -0,0 +1,14 @@ | |
| 1 | 
            +
            # Changelog
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            All notable changes to this project will be documented in this file.
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
         | 
| 6 | 
            +
            and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            ## [Unreleased]
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            - ...
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            ## [0.1.0] - 2023-08-22
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            - First version
         | 
    
        data/Gemfile
    ADDED
    
    | @@ -0,0 +1,13 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            source "https://rubygems.org"
         | 
| 4 | 
            +
            gemspec
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            gem "bridgetown", ENV["BRIDGETOWN_VERSION"] if ENV["BRIDGETOWN_VERSION"]
         | 
| 7 | 
            +
            gem "nokogiri"
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            group :test do
         | 
| 10 | 
            +
              gem "minitest"
         | 
| 11 | 
            +
              gem "minitest-profile"
         | 
| 12 | 
            +
              gem "minitest-reporters"
         | 
| 13 | 
            +
            end
         | 
    
        data/LICENSE.txt
    ADDED
    
    | @@ -0,0 +1,22 @@ | |
| 1 | 
            +
            The MIT License (MIT)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Copyright (c) 2020-present
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining
         | 
| 6 | 
            +
            a copy of this software and associated documentation files (the
         | 
| 7 | 
            +
            "Software"), to deal in the Software without restriction, including
         | 
| 8 | 
            +
            without limitation the rights to use, copy, modify, merge, publish,
         | 
| 9 | 
            +
            distribute, sublicense, and/or sell copies of the Software, and to
         | 
| 10 | 
            +
            permit persons to whom the Software is furnished to do so, subject to
         | 
| 11 | 
            +
            the following conditions:
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            The above copyright notice and this permission notice shall be
         | 
| 14 | 
            +
            included in all copies or substantial portions of the Software.
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
         | 
| 17 | 
            +
            EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         | 
| 18 | 
            +
            MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
         | 
| 19 | 
            +
            NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
         | 
| 20 | 
            +
            LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
         | 
| 21 | 
            +
            OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
         | 
| 22 | 
            +
            WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         | 
    
        data/README.md
    ADDED
    
    | @@ -0,0 +1,30 @@ | |
| 1 | 
            +
            # Linkchecker plugin for Bridgetown
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            A Bridgetown plugin to check for broken links in your site.
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            ## Installation
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            Run this command to add this plugin to your site's Gemfile:
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            ```shell
         | 
| 10 | 
            +
            bundle add bridgetown_linkchecker
         | 
| 11 | 
            +
            ```
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            Then add the initializer to your configuration in `config/initializers.rb`:
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            ```ruby
         | 
| 16 | 
            +
            init :bridgetown_linkchecker
         | 
| 17 | 
            +
            ```
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            ## Usage
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            The plugin will automatically run when you run `bridgetown build` or `bridgetown serve`.
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            ## Contributing
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            1. Fork it (https://github.com/username/my-awesome-plugin/fork)
         | 
| 26 | 
            +
            2. Clone the fork using `git clone` to your local development machine.
         | 
| 27 | 
            +
            3. Create your feature branch (`git checkout -b my-new-feature`)
         | 
| 28 | 
            +
            4. Commit your changes (`git commit -am 'Add some feature'`)
         | 
| 29 | 
            +
            5. Push to the branch (`git push origin my-new-feature`)
         | 
| 30 | 
            +
            6. Create a new Pull Request
         | 
    
        data/Rakefile
    ADDED
    
    
| @@ -0,0 +1,51 @@ | |
| 1 | 
            +
            # If your plugin requires a lot of steps to get set up, consider writing an automation to help guide users.
         | 
| 2 | 
            +
            # You could set up and configure all sorts of things, for example:
         | 
| 3 | 
            +
            #
         | 
| 4 | 
            +
            # add_gem("my_plugin")
         | 
| 5 | 
            +
            #
         | 
| 6 | 
            +
            # add_yarn_for_gem("my_plugin")
         | 
| 7 | 
            +
            #
         | 
| 8 | 
            +
            # add_initializer :"my_plugin" do
         | 
| 9 | 
            +
            #   <<~RUBY
         | 
| 10 | 
            +
            #     do
         | 
| 11 | 
            +
            #       some_config_key 12345
         | 
| 12 | 
            +
            #     end
         | 
| 13 | 
            +
            #   RUBY
         | 
| 14 | 
            +
            # end
         | 
| 15 | 
            +
            #
         | 
| 16 | 
            +
            # create_builder "my_nifty_builder.rb" do
         | 
| 17 | 
            +
            #   <<~RUBY
         | 
| 18 | 
            +
            #     class MyNeatBuilder < SiteBuilder
         | 
| 19 | 
            +
            #       def build
         | 
| 20 | 
            +
            #         puts MyPlugin.hello
         | 
| 21 | 
            +
            #       end
         | 
| 22 | 
            +
            #     end
         | 
| 23 | 
            +
            #   RUBY
         | 
| 24 | 
            +
            # end
         | 
| 25 | 
            +
            #
         | 
| 26 | 
            +
            # javascript_import do
         | 
| 27 | 
            +
            #   <<~JS
         | 
| 28 | 
            +
            #     import { MyPlugin } from "my_plugin"
         | 
| 29 | 
            +
            #   JS
         | 
| 30 | 
            +
            # end
         | 
| 31 | 
            +
            #
         | 
| 32 | 
            +
            # javascript_import 'import "my_plugin/frontend/styles/index.css"'
         | 
| 33 | 
            +
            #
         | 
| 34 | 
            +
            # create_file "src/_data/plugin_data.yml" do
         | 
| 35 | 
            +
            #   <<~YAML
         | 
| 36 | 
            +
            #     data:
         | 
| 37 | 
            +
            #       goes: here
         | 
| 38 | 
            +
            #   YAML
         | 
| 39 | 
            +
            # end
         | 
| 40 | 
            +
            #
         | 
| 41 | 
            +
            # color = ask("What's your favorite color?")
         | 
| 42 | 
            +
            #
         | 
| 43 | 
            +
            # append_to_file "bridgetown.config.yml" do
         | 
| 44 | 
            +
            #   <<~YAML
         | 
| 45 | 
            +
            #
         | 
| 46 | 
            +
            #     my_plugin:
         | 
| 47 | 
            +
            #       favorite_color: #{color}
         | 
| 48 | 
            +
            #   YAML
         | 
| 49 | 
            +
            # end
         | 
| 50 | 
            +
            #
         | 
| 51 | 
            +
            # Read the Automations documentation: https://www.bridgetownrb.com/docs/automations
         | 
| @@ -0,0 +1,27 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            require_relative "lib/bridgetown_linkchecker/version"
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Gem::Specification.new do |spec|
         | 
| 6 | 
            +
              spec.name = "bridgetown_linkchecker"
         | 
| 7 | 
            +
              spec.version = BridgetownLinkchecker::VERSION
         | 
| 8 | 
            +
              spec.author = "Lars Peters"
         | 
| 9 | 
            +
              spec.email = "lp@itpeters.com"
         | 
| 10 | 
            +
              spec.summary = "Checks for broken links in your Bridgetown site."
         | 
| 11 | 
            +
              spec.homepage = "https://github.com/lape/bridgetown_linkchecker"
         | 
| 12 | 
            +
              spec.license = "MIT"
         | 
| 13 | 
            +
             | 
| 14 | 
            +
              spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|script|spec|features|frontend)/}) }
         | 
| 15 | 
            +
              spec.require_paths = ["lib"]
         | 
| 16 | 
            +
              # Uncomment this if you wish to supply a companion NPM package:
         | 
| 17 | 
            +
              # spec.metadata      = { "yarn-add" => "bridgetown_linkchecker@#{BridgetownLinkchecker::VERSION}" }
         | 
| 18 | 
            +
             | 
| 19 | 
            +
              spec.required_ruby_version = ">= 2.7.0"
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              spec.add_dependency "bridgetown", ">= 1.2.0", "< 2.0"
         | 
| 22 | 
            +
              spec.add_dependency "nokogiri"
         | 
| 23 | 
            +
             | 
| 24 | 
            +
              spec.add_development_dependency "bundler"
         | 
| 25 | 
            +
              spec.add_development_dependency "rake", ">= 13.0"
         | 
| 26 | 
            +
              spec.add_development_dependency "rubocop-bridgetown", "~> 0.3"
         | 
| 27 | 
            +
            end
         | 
    
        data/content/.keep
    ADDED
    
    | @@ -0,0 +1 @@ | |
| 1 | 
            +
            l
         | 
| @@ -0,0 +1,35 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            require "nokogiri"
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            module BridgetownLinkchecker
         | 
| 6 | 
            +
              class Builder < Bridgetown::Builder
         | 
| 7 | 
            +
                def build
         | 
| 8 | 
            +
                  hook :posts, :post_render do |post|
         | 
| 9 | 
            +
                    # Parse the HTML content with Nokogiri
         | 
| 10 | 
            +
                    parsed_document = Nokogiri::HTML(post.content)
         | 
| 11 | 
            +
             | 
| 12 | 
            +
                    # Extract the href attributes from all the <a> tags
         | 
| 13 | 
            +
                    links = parsed_document.css("a").filter_map { |link| link["href"] }
         | 
| 14 | 
            +
                    links.each do |link|
         | 
| 15 | 
            +
                      # Check if the link is an external link
         | 
| 16 | 
            +
                      if link.start_with?("http") && !link_valid?(link)
         | 
| 17 | 
            +
                        Bridgetown.logger.info "Broken link:", "❌ #{link} (on '#{post.data["title"]}')"
         | 
| 18 | 
            +
                      end
         | 
| 19 | 
            +
                    end
         | 
| 20 | 
            +
                  end
         | 
| 21 | 
            +
                end
         | 
| 22 | 
            +
             | 
| 23 | 
            +
                def link_valid?(link)
         | 
| 24 | 
            +
                  uri = URI.parse(link.strip)
         | 
| 25 | 
            +
                  request = Net::HTTP.new(uri.host, uri.port)
         | 
| 26 | 
            +
                  request.use_ssl = (uri.scheme == "https")
         | 
| 27 | 
            +
                  path = uri.path unless uri.path.empty?
         | 
| 28 | 
            +
                  response = request.request_head(path || "/")
         | 
| 29 | 
            +
                  response_code = response.code.to_i
         | 
| 30 | 
            +
                  [200, 301].include?(response_code)
         | 
| 31 | 
            +
                rescue StandardError
         | 
| 32 | 
            +
                  false
         | 
| 33 | 
            +
                end
         | 
| 34 | 
            +
              end
         | 
| 35 | 
            +
            end
         | 
| @@ -0,0 +1,26 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            require "bridgetown"
         | 
| 4 | 
            +
            require "bridgetown_linkchecker/builder"
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            # @param config [Bridgetown::Configuration::ConfigurationDSL]
         | 
| 7 | 
            +
            Bridgetown.initializer :bridgetown_linkchecker do |config|
         | 
| 8 | 
            +
              # Add code here which will run when a site includes
         | 
| 9 | 
            +
              # `init :bridgetown_linkchecker`
         | 
| 10 | 
            +
              # in its configuration
         | 
| 11 | 
            +
             | 
| 12 | 
            +
              # Add default configuration data:
         | 
| 13 | 
            +
              config.bridgetown_linkchecker ||= {}
         | 
| 14 | 
            +
              config.bridgetown_linkchecker.my_setting ||= 123
         | 
| 15 | 
            +
             | 
| 16 | 
            +
              # Register your builder:
         | 
| 17 | 
            +
              config.builder BridgetownLinkchecker::Builder
         | 
| 18 | 
            +
             | 
| 19 | 
            +
              # You can optionally supply a source manifest:
         | 
| 20 | 
            +
              config.source_manifest(
         | 
| 21 | 
            +
                origin: BridgetownLinkchecker,
         | 
| 22 | 
            +
                components: File.expand_path("../components", __dir__),
         | 
| 23 | 
            +
                layouts: File.expand_path("../layouts", __dir__),
         | 
| 24 | 
            +
                content: File.expand_path("../content", __dir__)
         | 
| 25 | 
            +
              )
         | 
| 26 | 
            +
            end
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,132 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: bridgetown_linkchecker
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.1.0
         | 
| 5 | 
            +
            platform: ruby
         | 
| 6 | 
            +
            authors:
         | 
| 7 | 
            +
            - Lars Peters
         | 
| 8 | 
            +
            autorequire:
         | 
| 9 | 
            +
            bindir: bin
         | 
| 10 | 
            +
            cert_chain: []
         | 
| 11 | 
            +
            date: 2023-08-22 00:00:00.000000000 Z
         | 
| 12 | 
            +
            dependencies:
         | 
| 13 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 14 | 
            +
              name: bridgetown
         | 
| 15 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 | 
            +
                requirements:
         | 
| 17 | 
            +
                - - ">="
         | 
| 18 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            +
                    version: 1.2.0
         | 
| 20 | 
            +
                - - "<"
         | 
| 21 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            +
                    version: '2.0'
         | 
| 23 | 
            +
              type: :runtime
         | 
| 24 | 
            +
              prerelease: false
         | 
| 25 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 26 | 
            +
                requirements:
         | 
| 27 | 
            +
                - - ">="
         | 
| 28 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            +
                    version: 1.2.0
         | 
| 30 | 
            +
                - - "<"
         | 
| 31 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            +
                    version: '2.0'
         | 
| 33 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 34 | 
            +
              name: nokogiri
         | 
| 35 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 36 | 
            +
                requirements:
         | 
| 37 | 
            +
                - - ">="
         | 
| 38 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 39 | 
            +
                    version: '0'
         | 
| 40 | 
            +
              type: :runtime
         | 
| 41 | 
            +
              prerelease: false
         | 
| 42 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 43 | 
            +
                requirements:
         | 
| 44 | 
            +
                - - ">="
         | 
| 45 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 46 | 
            +
                    version: '0'
         | 
| 47 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 48 | 
            +
              name: bundler
         | 
| 49 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 50 | 
            +
                requirements:
         | 
| 51 | 
            +
                - - ">="
         | 
| 52 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 53 | 
            +
                    version: '0'
         | 
| 54 | 
            +
              type: :development
         | 
| 55 | 
            +
              prerelease: false
         | 
| 56 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 57 | 
            +
                requirements:
         | 
| 58 | 
            +
                - - ">="
         | 
| 59 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 60 | 
            +
                    version: '0'
         | 
| 61 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 62 | 
            +
              name: rake
         | 
| 63 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 64 | 
            +
                requirements:
         | 
| 65 | 
            +
                - - ">="
         | 
| 66 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 67 | 
            +
                    version: '13.0'
         | 
| 68 | 
            +
              type: :development
         | 
| 69 | 
            +
              prerelease: false
         | 
| 70 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 71 | 
            +
                requirements:
         | 
| 72 | 
            +
                - - ">="
         | 
| 73 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 74 | 
            +
                    version: '13.0'
         | 
| 75 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 76 | 
            +
              name: rubocop-bridgetown
         | 
| 77 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 78 | 
            +
                requirements:
         | 
| 79 | 
            +
                - - "~>"
         | 
| 80 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 81 | 
            +
                    version: '0.3'
         | 
| 82 | 
            +
              type: :development
         | 
| 83 | 
            +
              prerelease: false
         | 
| 84 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 85 | 
            +
                requirements:
         | 
| 86 | 
            +
                - - "~>"
         | 
| 87 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 88 | 
            +
                    version: '0.3'
         | 
| 89 | 
            +
            description:
         | 
| 90 | 
            +
            email: lp@itpeters.com
         | 
| 91 | 
            +
            executables: []
         | 
| 92 | 
            +
            extensions: []
         | 
| 93 | 
            +
            extra_rdoc_files: []
         | 
| 94 | 
            +
            files:
         | 
| 95 | 
            +
            - ".github/workflows/tests.yml"
         | 
| 96 | 
            +
            - ".gitignore"
         | 
| 97 | 
            +
            - ".rubocop.yml"
         | 
| 98 | 
            +
            - CHANGELOG.md
         | 
| 99 | 
            +
            - Gemfile
         | 
| 100 | 
            +
            - LICENSE.txt
         | 
| 101 | 
            +
            - README.md
         | 
| 102 | 
            +
            - Rakefile
         | 
| 103 | 
            +
            - bridgetown.automation.rb
         | 
| 104 | 
            +
            - bridgetown_linkchecker.gemspec
         | 
| 105 | 
            +
            - content/.keep
         | 
| 106 | 
            +
            - lib/bridgetown_linkchecker.rb
         | 
| 107 | 
            +
            - lib/bridgetown_linkchecker/builder.rb
         | 
| 108 | 
            +
            - lib/bridgetown_linkchecker/version.rb
         | 
| 109 | 
            +
            homepage: https://github.com/lape/bridgetown_linkchecker
         | 
| 110 | 
            +
            licenses:
         | 
| 111 | 
            +
            - MIT
         | 
| 112 | 
            +
            metadata: {}
         | 
| 113 | 
            +
            post_install_message:
         | 
| 114 | 
            +
            rdoc_options: []
         | 
| 115 | 
            +
            require_paths:
         | 
| 116 | 
            +
            - lib
         | 
| 117 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 118 | 
            +
              requirements:
         | 
| 119 | 
            +
              - - ">="
         | 
| 120 | 
            +
                - !ruby/object:Gem::Version
         | 
| 121 | 
            +
                  version: 2.7.0
         | 
| 122 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 123 | 
            +
              requirements:
         | 
| 124 | 
            +
              - - ">="
         | 
| 125 | 
            +
                - !ruby/object:Gem::Version
         | 
| 126 | 
            +
                  version: '0'
         | 
| 127 | 
            +
            requirements: []
         | 
| 128 | 
            +
            rubygems_version: 3.4.17
         | 
| 129 | 
            +
            signing_key:
         | 
| 130 | 
            +
            specification_version: 4
         | 
| 131 | 
            +
            summary: Checks for broken links in your Bridgetown site.
         | 
| 132 | 
            +
            test_files: []
         |