-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhtml_attribute_utils.gemspec
35 lines (31 loc) · 1.49 KB
/
html_attribute_utils.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
34
35
$LOAD_PATH.push File.expand_path('lib', __dir__)
Gem::Specification.new do |s|
s.name = "html-attributes-utils"
s.version = "1.0.2"
s.authors = ["Peter Yates"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/DFE-Digital/html-attributes-utils"
s.summary = "HTML attribute hash utilities"
s.description = "A small collection of utilities to ease working with hashes of HTML attributes"
s.license = "MIT"
s.files = Dir["{app,lib}/**/*", "LICENSE", "README.md"]
s.metadata = {
"bug_tracker_uri" => "https://github.com/DFE-Digital/html-attributes-utils/issues",
"changelog_uri" => "https://github.com/DFE-Digital/html-attributes-utils/releases",
"homepage_uri" => "https://govuk-form-builder.netlify.app",
"source_code_uri" => "https://github.com/DFE-Digital/html-attributes-utils",
"github_repo" => "https://github.com/DFE-Digital/html-attributes-utils",
"documentation_uri" => "https://www.rubydoc.info/gems/html-attributes-utils/",
"rubygems_mfa_required" => "true",
}
rails_version = ENV.fetch("RAILS_VERSION") { "6.1.4.4" }
if ENV.key?("RAILS_VERSION")
s.add_dependency("activesupport", "~> #{rails_version}")
else
s.add_dependency("activesupport", ">= #{rails_version}")
end
s.add_development_dependency("debug")
s.add_development_dependency("rspec", "~> 3.11.0")
s.add_development_dependency("rubocop-govuk", "~> 4.3.0")
s.add_development_dependency("simplecov", "~> 0.20")
end