immosquare-cleaner 0.1.14 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/lib/immosquare-cleaner.rb +1 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbab0fbd9c15e196a397f8a862f721d3c6b595d894cdc149f8f6c425fbf2ddea
|
4
|
+
data.tar.gz: 9e2c7823d09d2ee42409f39c699a715e1bd1b6a605982c3070df76ad136c6edc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bf9bf6de6e5ebee0a03e05df315b51fc5eab41c1a9ac095a9f1dc56a8ee85f1cd02bc2a55897eeb3c6aebd27d28a5fc56f1bf5c5ec462cb27ddd2280b476c1a
|
7
|
+
data.tar.gz: 8bc0b942b086b6fe3ed9c48e7caad3f76200c1aeae4aa16854cc84fffdb1f03ca585c7837d70e6660cb058fee3cf65e6f239a33fa6635fd61d0e1ec9f152399f
|
data/lib/immosquare-cleaner.rb
CHANGED
@@ -43,7 +43,7 @@ module ImmosquareCleaner
|
|
43
43
|
##============================================================##
|
44
44
|
## .html.erb files
|
45
45
|
##============================================================##
|
46
|
-
if file_path.end_with?(".html.erb")
|
46
|
+
if file_path.end_with?(".html.erb", ".html")
|
47
47
|
cmds = []
|
48
48
|
cmds << "bundle exec htmlbeautifier #{file_path} #{ImmosquareCleaner.configuration.htmlbeautifier_options || "--keep-blank-lines 4"}"
|
49
49
|
cmds << "bundle exec erblint --config #{gem_root}/linters/erb-lint.yml #{file_path} #{ImmosquareCleaner.configuration.erblint_options || "--autocorrect"}"
|
@@ -102,7 +102,6 @@ module ImmosquareCleaner
|
|
102
102
|
return
|
103
103
|
end
|
104
104
|
|
105
|
-
|
106
105
|
##============================================================##
|
107
106
|
## Autres formats
|
108
107
|
##============================================================##
|
@@ -115,7 +114,6 @@ module ImmosquareCleaner
|
|
115
114
|
end
|
116
115
|
end
|
117
116
|
|
118
|
-
|
119
117
|
private
|
120
118
|
|
121
119
|
def gem_root
|
@@ -153,7 +151,6 @@ module ImmosquareCleaner
|
|
153
151
|
##============================================================##
|
154
152
|
content = File.read(file_path)
|
155
153
|
|
156
|
-
|
157
154
|
##===========================================================================##
|
158
155
|
## Remove all trailing empty lines at the end of the file
|
159
156
|
##===========================================================================##
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immosquare-cleaner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IMMO SQUARE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erb_lint
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
version: '0'
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.1.
|
70
|
+
version: 0.1.18
|
71
71
|
type: :runtime
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -77,7 +77,7 @@ dependencies:
|
|
77
77
|
version: '0'
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.1.
|
80
|
+
version: 0.1.18
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rubocop
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|