-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstealth_dom_id.gemspec
24 lines (18 loc) · 1.09 KB
/
stealth_dom_id.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
# frozen_string_literal: true
require_relative "lib/stealth_dom_id/version"
Gem::Specification.new do |spec|
spec.name = "stealth_dom_id"
spec.version = StealthDomId::VERSION
spec.authors = ["Rails Designer Developers"]
spec.email = ["[email protected]"]
spec.summary = "Extends Rails `dom_id` helper to support custom attribute-based identifiers (example “slug”)"
spec.description = "stealth_dom_id extends Rails' `dom_id` helper to generate DOM IDs using an alternative attribute instead of database primary keys. This helps prevent exposing internal database IDs."
spec.homepage = "https://github.com/Rails-Designer/stealth_dom_id/"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
spec.metadata["source_code_uri"] = "https://github.com/Rails-Designer/stealth_dom_id/"
spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "Rakefile", "README.md", "stealth_dom_id.gemspec", "Gemfile", "Gemfile.lock"]
spec.required_ruby_version = ">= 3.0.0"
spec.add_dependency "actionview", ">= 3.0", "< 8.1"
spec.add_dependency "activesupport", ">= 3.0", "< 8.1"
end