-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbridgetown-plausible.gemspec
33 lines (29 loc) · 1.36 KB
/
bridgetown-plausible.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# frozen_string_literal: true
require_relative "lib/bridgetown-plausible/version"
Gem::Specification.new do |spec|
spec.name = "bridgetown-plausible"
spec.version = Bridgetown::Plausible::VERSION
spec.authors = ["Andrew Mason"]
spec.email = ["[email protected]"]
spec.summary = "Plausible Analytics Plugin for Bridgetown"
spec.description = "Provides a Liquid Tag and ERB Helper to add Plausible analytics to your Bridgetown site."
spec.homepage = "https://github.com/bt-rb/#{spec.name}"
spec.license = "MIT"
spec.metadata = {
"bug_tracker_uri" => "#{spec.homepage}/issues",
"changelog_uri" => "#{spec.homepage}/blob/main/CHANGELOG.md",
"documentation_uri" => spec.homepage.to_s,
"homepage_uri" => spec.homepage.to_s,
"source_code_uri" => spec.homepage.to_s
}
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|script|spec|features|frontend)/}) }
spec.test_files = spec.files.grep(%r{^spec/})
spec.require_paths = ["lib"]
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
spec.add_dependency "bridgetown", ">= 0.16", "< 2.0"
spec.add_development_dependency "bundler"
spec.add_development_dependency "nokogiri", "~> 1.6"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "standard", "~> 0.12"
end