pronto-cppcheck 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 959c6506553ee1585c9079060610adb245711335a4a252802ab761f12513b618
4
- data.tar.gz: 0a0f7f0987c7986be72bb65328a711f6239cbe931138f80289247ca2cd739cde
3
+ metadata.gz: 78349b1c5d4ad96f5ac060f79003d0f12707e5ab5785c23dc7386711ba213194
4
+ data.tar.gz: 9babe19e4fa02552fe05d52deb803fa20c17d9780a0fcd581b16fa728dd270a1
5
5
  SHA512:
6
- metadata.gz: d39d58c0b3d60a323a00b64ae799055b4ec94a82c6bcb06bde7a206f940428c09dddcbf4dfc607f91d33495645acabbc60749eacd6bea5ef5d8b4c95780a14cd
7
- data.tar.gz: 4105ab94562a2712f21030d6943748b914a1c03a8bd9af085ed1ab5942bc8ada783c88cf7b79755653511e48c6fea83d46190da7dd77e0713d15395e26c15a0b
6
+ metadata.gz: 2c080f08b289b6de9e53d9e1f88b3f92189073058e5edd7a14b1c47e731c38f95f0c7079cd4bddeca970f4862bc1581ef2b8a286185e805c91d1bcd8b2d49739
7
+ data.tar.gz: 6eb9e968ee5d67f044b9ed447b8fd106b6d6f1816564a849079f422efbbdfb45981f87adc259c43982a057be9d2619c934b8c0048c25f735e08e7db71087c3e5
data/README.md CHANGED
@@ -8,11 +8,11 @@ tool to check C/C++ files for style issues following Google's C++ style guide.
8
8
 
9
9
  * `gem install pronto-cppcheck`
10
10
  * `pronto run`
11
- * `PRONTO_CPPCHECK_OPTS="-j 20 --std=c++17" pronto run` for passing CLI options
12
- to `cppcheck`
11
+ * `PRONTO_CPPCHECK_OPTS="-j 20 --std=c++17 --enable=warning" pronto run`
12
+ for passing CLI options to `cppcheck`
13
13
 
14
14
  Keep in mind `PRONTO_CPPCHECK_OPTS` is added to the end of existing
15
- (`--enable=all --template='{file}:{line},{severity},{id}:{message}' --quiet`)
15
+ (`--template='{file}:{line},{severity},{id}:{message}' --quiet`)
16
16
  options.
17
17
 
18
18
  ## Contribution Guidelines
@@ -43,4 +43,5 @@ pronto run --unstaged
43
43
 
44
44
  ## Changelog
45
45
 
46
- 0.1.0 Initial public version.
46
+ * 0.1.0 Initial public version.
47
+ * 0.2.3 Do not enable all checks by default.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pronto
4
4
  module CppcheckVersion
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.3'
6
6
  end
7
7
  end
@@ -55,7 +55,7 @@ module Pronto
55
55
  if files_to_lint.empty?
56
56
  []
57
57
  else
58
- cmd = "#{executable} --enable=all --template='{file}:{line}:{column}:{severity}:{id}:{message}' --quiet #{extra} #{files_to_lint}"
58
+ cmd = "#{executable} --template='{file}:{line}:{column}:{severity}:{id}:{message}' --quiet #{extra} #{files_to_lint}"
59
59
  _stdout, stderr, _status = Open3.capture3(cmd)
60
60
  return [] if stderr.nil?
61
61
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-cppcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nerijus Bendziunas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-02 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto