-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsample_plugin.gemspec
More file actions
30 lines (24 loc) · 1.12 KB
/
sample_plugin.gemspec
File metadata and controls
30 lines (24 loc) · 1.12 KB
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
# frozen_string_literal: true
require_relative "lib/sample_plugin/version"
Gem::Specification.new do |spec|
spec.name = "sample_plugin"
spec.version = SamplePlugin::VERSION
spec.author = "Bridgetown Team"
spec.email = "maintainers@bridgetownrb.com"
spec.summary = "Sample code for creating new Bridgetown plugins"
spec.homepage = "https://github.com/bridgetownrb/bridgetown-sample-plugin"
spec.license = "MIT"
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!^test/!)
spec.require_paths = ["lib"]
# Uncomment this if you wish to supply a companion NPM package and/or command features:
# spec.metadata = {
# "npm_add" => "sample_plugin@#{SamplePlugin::VERSION}",
# "bridgetown_features" => "true"
# }
spec.required_ruby_version = ">= 3.2"
spec.add_dependency "bridgetown", ">= 2.0"
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake", ">= 13.0"
spec.add_development_dependency "rubocop-bridgetown", "~> 0.3"
end