-
Notifications
You must be signed in to change notification settings - Fork 0
/
immosquare-cleaner.gemspec
33 lines (24 loc) · 1.52 KB
/
immosquare-cleaner.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
require_relative "lib/immosquare-cleaner/version"
Gem::Specification.new do |spec|
spec.license = "MIT"
spec.name = "immosquare-cleaner"
spec.version = ImmosquareCleaner::VERSION.dup
spec.authors = ["immosquare"]
spec.email = ["[email protected]"]
spec.summary = "A gem to lint and organize files in a Rails application."
spec.description = "Immosquare-cleaner streamlines Rails applications by running tools like RuboCop, ERBLint, Stylelint and more. It ensures code quality, readability, and consistency across the application."
spec.homepage = "https://github.com/immosquare/Immosquare-cleaner"
##===========================================================================##
## we add package.json so that the gems is autonomous to launch prettier
## & eslint (all the necessary libs are in the node_modules folder)
##===========================================================================##
spec.files = Dir["lib/**/*", "bin/*", "linters/**/*"] + ["package.json"] + Dir["node_modules/**/*", "node_modules/.bin/**/*"]
spec.executables = ["immosquare-cleaner"]
spec.require_paths = ["lib", "linters"]
spec.add_dependency("erb_lint", "~> 0")
spec.add_dependency("htmlbeautifier", "~> 1")
spec.add_dependency("immosquare-extensions", "~> 0", ">= 0.1.18")
spec.add_dependency("immosquare-yaml", "~> 0", ">= 0.1.26")
spec.add_dependency("rubocop", "~> 1", ">= 1.62.1")
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.2")
end