-
Notifications
You must be signed in to change notification settings - Fork 0
/
immosquare-cleaner.gemspec
29 lines (25 loc) · 1.61 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
require_relative "lib/immosquare-cleaner/version"
Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
spec.license = "MIT"
spec.name = "immosquare-cleaner"
spec.version = ImmosquareCleaner::VERSION.dup
spec.authors = ["immosquare"]
spec.email = ["[email protected]"]
spec.homepage = "https://github.com/immosquare/Immosquare-cleaner"
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."
##============================================================##
## 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.7", "<=1000.0")
spec.add_dependency("htmlbeautifier", ">= 1.4", "<=1000.0")
spec.add_dependency("immosquare-extensions", ">= 0.1", "<=1000.0")
spec.add_dependency("immosquare-yaml", ">= 0.1", "<=1000.0")
spec.add_dependency("rubocop", ">= 1.68", "<=1000.0")
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.6")
end