code_quality_check 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5f1d7d7686557abf5565d4e8e928a293f00cc85958a923ca6b599fcaf98027e
4
- data.tar.gz: 344908fc11d77a4a2dce6999a1e0133b091f545282190870e9bbe3515e686eb9
3
+ metadata.gz: 37d3961cc8101b3f49e8019dc1538cb2f26a581cfbc5093d70e34ab22d32eb52
4
+ data.tar.gz: 8ebe1e16b3a2118d39f063694e5b8fae6a62659428eafe9832da1792287b1d93
5
5
  SHA512:
6
- metadata.gz: 2b9956611f88c5925e509c1becf685677393d4631195877521587a71d49a7ac95b00606d839eab969e29071bad2a89adb3bf09940a8b7b500734dac00ddea1c7
7
- data.tar.gz: 7781581b12c2c6ed1ab23f2209e4a8ea3fa97e4b8e6794df5737be0fb620d13d401d1026b52dbb33773bb6214f066d540bd833a78fa563d527718cc308c19c5a
6
+ metadata.gz: '0606888b8e07f54773c95aecdc10ead5c66330f70aa5de7d4e9df136557039e49e93b1b1977ffb9c8442a845fb0ce2db625a97f0947a2635d4c2930dedb3c235'
7
+ data.tar.gz: 1110918e9917f771fc82d998969514d89c2a440551d066b3fb71625626226beb901999b9992fd284db2fdd579ce2c88c7d5d765e80235f0b2e61b0fdc270e5fc
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Version Module.
1
4
  module CodeQualityCheck
2
- VERSION = '0.1.3'.freeze
5
+ VERSION = '0.1.4'
3
6
  end
@@ -26,8 +26,14 @@ PreCommit:
26
26
 
27
27
  # RailsBestPractices is a code metric tool to check the quality of Rails code.
28
28
  RailsBestPractices:
29
+ RailsBestPractices:
29
30
  enabled: true
30
- on_warn: fail
31
+ command: ['bundle', 'exec', 'rails_best_practices']
32
+ required_executable: 'rails_best_practices'
33
+ description: 'Checking Rails best practices'
34
+ problem_on_unmodified_line: ignore
35
+ expected_exit_status: 0
36
+ fail_hook: true
31
37
  exclude:
32
38
  - '**/lib/**/*'
33
39
 
@@ -37,7 +43,7 @@ PreCommit:
37
43
  command: ['brakeman', '--skip-libs', '-w3']
38
44
 
39
45
  TrailingWhitespace:
40
- enabled: true
46
+ enabled: false
41
47
  exclude:
42
48
  - '**/lib/**/*' # Ignore trailing whitespace in generated files
43
49
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_quality_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aniruddha Mirajkar
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-29 00:00:00.000000000 Z
11
+ date: 2025-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brakeman