-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathror_icons.gemspec
More file actions
37 lines (31 loc) · 1.24 KB
/
Copy pathror_icons.gemspec
File metadata and controls
37 lines (31 loc) · 1.24 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
31
32
33
34
35
36
37
require_relative "lib/ror_icons/version"
Gem::Specification.new do |spec|
spec.name = "ror_icons"
spec.version = RorIcons::VERSION
spec.authors = ["Luka Tchelidze"]
spec.email = ["tchelidzeluca@gmail.com"]
spec.summary = "A Hotwire-ready icon helper gem for Rails"
spec.description = "Provides HeroIcons SVG helpers for Rails views, similar to react-icons."
spec.homepage = "https://github.com/Null-logic-0/ror_icons"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2.0"
spec.add_dependency "nokogiri", "~> 1.13"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
# === FILES ===
spec.files = begin
files = `git ls-files`.split("\n")
files.reject do |f|
f == File.basename(__FILE__) ||
f.end_with?('.gem') ||
f.start_with?('bin/', 'test/', '.github/', 'spec/', 'Gemfile', '.gitignore')
end
end
# Executables
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# Development dependencies
spec.add_development_dependency "rails", "~> 7.1"
end