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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4ee2b97ba84cb7e1d73197141689155d850f62722968f73f601250725622e7c
4
- data.tar.gz: 3d6f28995a41467d15610eedd5f12c8536fb71c9763226d10e0928c60d0d3540
3
+ metadata.gz: dbab0fbd9c15e196a397f8a862f721d3c6b595d894cdc149f8f6c425fbf2ddea
4
+ data.tar.gz: 9e2c7823d09d2ee42409f39c699a715e1bd1b6a605982c3070df76ad136c6edc
5
5
  SHA512:
6
- metadata.gz: a991bcdb48aec97dcbd905c3701137676776d288e01f4cf1f8dda34b68c31b76d8ad1914526c8b1316eaf6faa4180ba8b7a8101a3085bc61533d53e930ec5cff
7
- data.tar.gz: 6c5de92e2acaf4a1029c29ca088cf85750f66f4b18e6f59bc830bb13dfd7f8d47e792ccf1188b520363a0560d06e3427cf4bd3b3f499ddeba30659da61aaaaae
6
+ metadata.gz: 3bf9bf6de6e5ebee0a03e05df315b51fc5eab41c1a9ac095a9f1dc56a8ee85f1cd02bc2a55897eeb3c6aebd27d28a5fc56f1bf5c5ec462cb27ddd2280b476c1a
7
+ data.tar.gz: 8bc0b942b086b6fe3ed9c48e7caad3f76200c1aeae4aa16854cc84fffdb1f03ca585c7837d70e6660cb058fee3cf65e6f239a33fa6635fd61d0e1ec9f152399f
@@ -1,3 +1,3 @@
1
1
  module ImmosquareCleaner
2
- VERSION = "0.1.14".freeze
2
+ VERSION = "0.1.16".freeze
3
3
  end
@@ -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.14
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-04 00:00:00.000000000 Z
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.17
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.17
80
+ version: 0.1.18
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rubocop
83
83
  requirement: !ruby/object:Gem::Requirement