immosquare-cleaner 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/lib/immosquare_cleaner.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f5177845c033aa1e0821378285ac5fcaf89bb84f779cb98939feee3834fecb7
|
|
4
|
+
data.tar.gz: f58af1ee5bd581a5098e9f2773fefbc80250dd9e4e9b048f3904a3ee5bb0ee74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39f28dc3cf3111d7dd83d0223c452d3b95ef2dfad813cec3b5f54654d4b48842794346aceccb02ca5a6f135c2ea56f423aa81fa4f9afb58a6f22921b14fc524b
|
|
7
|
+
data.tar.gz: 7a0e5544afa5b29e02adb82d10efc74e75177961f8473e1d4bacdf030aafe2f5160956378a93cce4df3ca599098b5371b0777b7642ccc4a5772f6dad91a32765
|
data/lib/immosquare_cleaner.rb
CHANGED
|
@@ -44,7 +44,7 @@ module ImmosquareCleaner
|
|
|
44
44
|
##============================================================##
|
|
45
45
|
if file_path.end_with?(".html.erb")
|
|
46
46
|
cmd << [true, "bundle exec htmlbeautifier #{file_path} #{ImmosquareCleaner.configuration.htmlbeautifier_options || "--keep-blank-lines 4"}"]
|
|
47
|
-
cmd << [true, "bundle exec erblint
|
|
47
|
+
cmd << [true, "bundle exec erblint --config #{gem_root}/linters/erb-lint.yml #{file_path} #{ImmosquareCleaner.configuration.erblint_options || "--autocorrect"}"]
|
|
48
48
|
elsif file_path.end_with?(".rb", ".rake", "Gemfile", "Rakefile", ".axlsx", ".gemspec", ".ru", ".podspec", ".jbuilder", ".rabl", ".thor", "config.ru", "Berksfile", "Capfile", "Guardfile", "Podfile", "Thorfile", "Vagrantfile") || File.open(file_path, &:gets)&.include?(SHEBANG)
|
|
49
49
|
cmd << [true, "bundle exec rubocop -c #{gem_root}/linters/rubocop.yml #{file_path} #{ImmosquareCleaner.configuration.rubocop_options || "--autocorrect-all"}"]
|
|
50
50
|
elsif file_path =~ %r{locales/.*\.yml$}
|