simplycop 2.38.3 → 2.39.0

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: e88395e458b9ec5b434cf786b1fa3d74631dc393c7b37804a5b96573b600b485
4
- data.tar.gz: 67671a9cc818e9d46434c407d60b62e4fb998f2d442408bff41a3bcf9c6480b3
3
+ metadata.gz: 490352410934dd2be0db3e36c6efb8809fbf4c9fc0b8b8221b4e038da511ec6f
4
+ data.tar.gz: 89a05ff08408cde6e8805c9b568650385e920c2244802131fdc7d5b322078a64
5
5
  SHA512:
6
- metadata.gz: b0e52a5502667bc837c6ffe6ec050f40996355eaeb02e4ba28eb84ead65886360352c541620be3ce02ff2783c267ca2590bd1ea784e3d511c1180a90d72b9d5f
7
- data.tar.gz: ce79539fa65b5b4cdb3f14db4e2bd3b72354b2283883d61b97a07f33c5571763aeca455d2e25b9a01e38d1cc6c7ee868e05565e04b819f87516c5db3994563b0
6
+ metadata.gz: 32e6230c5df1da89b5cf38f68c37f09be0a6a03eb5083decfa897d9acb17b27a865ad302485a14b25136f850af2804d95364b951c9038302fc523d16575de94a
7
+ data.tar.gz: 782c88e8634c1d785a7e3feb32b4d1b05cd6f3ab9642624b9d5df72c164c529eb5532571e006d3979e21d655a3a9c38076298433f6497a15b8b216136e88fa1c
@@ -37,10 +37,21 @@ jobs:
37
37
  set-as-default: 'false'
38
38
 
39
39
  - name: Print Summary
40
+ env:
41
+ VERSION: ${{ steps.version.outputs.version }}
42
+ DRY_RUN: ${{ steps.update.inputs.dry-run }}
43
+ CODING_STANDARD: ${{ steps.update.outputs.coding-standard-name }}
44
+ PATTERNS_APPLIED: ${{ steps.update.outputs.patterns-applied }}
45
+ REPOS_MIGRATED: ${{ steps.update.outputs.repositories-migrated }}
46
+ OLD_STANDARDS_DISABLED: ${{ steps.update.outputs.old-standards-disabled }}
40
47
  run: |
41
- echo "### 🎉 Codacy Updated for SimplyCop ${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
48
+ echo "### 🎉 Codacy Updated for SimplyCop $VERSION" >> $GITHUB_STEP_SUMMARY
49
+ if [ "$DRY_RUN" = "true" ]; then
50
+ echo "" >> $GITHUB_STEP_SUMMARY
51
+ echo "> **Dry run** - below is what would have happened" >> $GITHUB_STEP_SUMMARY
52
+ fi
42
53
  echo "" >> $GITHUB_STEP_SUMMARY
43
- echo "**Coding Standard:** ${{ steps.update.outputs.coding-standard-name }}" >> $GITHUB_STEP_SUMMARY
44
- echo "**Patterns Applied:** ${{ steps.update.outputs.patterns-applied }}" >> $GITHUB_STEP_SUMMARY
45
- echo "**Repositories Migrated:** ${{ steps.update.outputs.repositories-migrated }}" >> $GITHUB_STEP_SUMMARY
46
- echo "**Old Standards Disabled:** ${{ steps.update.outputs.old-standards-disabled }}" >> $GITHUB_STEP_SUMMARY
54
+ echo "**Coding Standard:** $CODING_STANDARD" >> $GITHUB_STEP_SUMMARY
55
+ echo "**Patterns Applied:** $PATTERNS_APPLIED" >> $GITHUB_STEP_SUMMARY
56
+ echo "**Repositories Migrated:** $REPOS_MIGRATED" >> $GITHUB_STEP_SUMMARY
57
+ echo "**Old Standards Disabled:** $OLD_STANDARDS_DISABLED" >> $GITHUB_STEP_SUMMARY
data/.simplycop_style.yml CHANGED
@@ -494,6 +494,9 @@ Style/NegatedUnless:
494
494
  Style/NegatedWhile:
495
495
  Enabled: true
496
496
 
497
+ Style/NegativeArrayIndex:
498
+ Enabled: true
499
+
497
500
  Style/NestedFileDirname:
498
501
  Enabled: true
499
502
 
@@ -726,6 +729,7 @@ Style/ReturnNilInPredicateMethodDefinition:
726
729
 
727
730
  Style/ReverseFind:
728
731
  Enabled: true
732
+
729
733
  Style/SafeNavigation:
730
734
  Enabled: false
731
735
 
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '2.38.3'
10
+ VERSION = '2.39.0'
11
11
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplycop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.38.3
4
+ version: 2.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-02-04 00:00:00.000000000 Z
10
+ date: 2026-02-05 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: benchmark