gemwork 0.7.20 → 0.7.23

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: 7bb63156a6fefb9baf34cbc2a358c8443020bd1ab05d359d5e6260012dc666d4
4
- data.tar.gz: c1cccd7b5e5f853f4aef6f45449bc1e6c12cc5a6b78930220c958a595f327257
3
+ metadata.gz: 763b3f4039543fc404b743c7ba4ebde1f9cefaddf1ef61329bd7b2c7c15cda70
4
+ data.tar.gz: 2f47a6713ca400204ae08cd7a22323878055148958fb11cc41aba376233c6aca
5
5
  SHA512:
6
- metadata.gz: 321ebd03ce7468cba7b40fa6db950e9e24b40158bfe583114c61c7286166d68dfaa988e3e3e8544bbab77891906b7eca2829bdf176d9958548ea6d6c0cabd19c
7
- data.tar.gz: b466c6eb5938bb6fb7bca2c93dfca56d48d1c068b53081f8232adb2a650efbe4a8c2ad7242518783ec79cd930d1ff95c35a16f1543caa261834eb9730621ca53
6
+ metadata.gz: 2815065e6f763023648b87de2d9aeb9dd5dfd08efac39d5496e91e8938a51d3d3a204b8ca99edba867ae239dd4c0bc8c496fbb2858b701a9e9d89b1890077be8
7
+ data.tar.gz: 398dfb10f465cc82e6be6988dbc76fe6e16a05a4ce23fb10a14f141bd16755e2486a1ac89836af0309b0dd8870eb84c68e347df4f55e52a77d2f750b204bb976
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.7.23] - 2026-04-26
4
+
5
+ - Revert minimum Ruby version from 3.2 -> 3.1
6
+
7
+ ## [0.7.21] - 2025-10-12
8
+
9
+ - Exclude BaseControllers from Rails/ApplicationController
10
+ - Remove `EnabledByDefault` from all_cops-rails.yml
11
+
3
12
  ## [0.7.20] - 2025-10-11
4
13
 
5
14
  - Mass-Update Rubocop styles to match latest conventions from my professional projects
data/lib/.DS_Store CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gemwork
4
- VERSION = "0.7.20"
4
+ VERSION = "0.7.23"
5
5
  public_constant :VERSION
6
6
  end
@@ -1,7 +1,6 @@
1
1
  AllCops:
2
2
  ActiveSupportExtensionsEnabled: true
3
3
  DisplayStyleGuide: true
4
- EnabledByDefault: true
5
4
  ExtraDetails: true
6
5
  NewCops: enable
7
6
  UseCache: true
@@ -2,6 +2,11 @@ Rails/ActionOrder:
2
2
  # Prefer Controller actions to be ordered in this way:
3
3
  ExpectedOrder: [index, show, new, create, edit, update, destroy]
4
4
 
5
+ Rails/ApplicationController:
6
+ # BaseControllers may rightfully need to inherit from ActionController::Base.
7
+ Exclude:
8
+ - app/controllers/**/base_controller.rb
9
+
5
10
  Rails/ApplicationJob:
6
11
  Exclude:
7
12
  - test/**/* # Allow for defining ActiveJob::Base test doubles.
@@ -58,6 +58,10 @@ Style/ClassAndModuleChildren:
58
58
  # Combine constant definitions as much as possible. e.g. `class Foo::Bar`.
59
59
  EnforcedStyle: compact
60
60
 
61
+ Style/ClassMethodsDefinitions:
62
+ # Prefer to define class methods like: `def self.<class_method_name>`.
63
+ Enabled: true
64
+
61
65
  Style/CollectionMethods:
62
66
  # Enforce the use of consistent method names from the Enumerable module.
63
67
  Enabled: true
@@ -72,10 +76,6 @@ Style/ConstantVisibility:
72
76
  # Protect the public API by requiring constants visibility.
73
77
  Enabled: true
74
78
 
75
- Style/ClassMethodsDefinitions:
76
- # Prefer to define class methods like: `def self.<class_method_name>`.
77
- Enabled: true
78
-
79
79
  Style/Copyright:
80
80
  # Don't require a copyright notice in every source file.
81
81
  Enabled: false
@@ -90,6 +90,18 @@ Style/Documentation:
90
90
  Exclude:
91
91
  - test/**/*
92
92
 
93
+ Style/EmptyClassDefinition:
94
+ # Prefer using single-line constant definition for StandardError classes
95
+ # (only). e.g.
96
+ # class MyModel < ApplicationRecord; end # Good
97
+ # MyModel = Class.new(ApplicationRecord) # Bad
98
+ #
99
+ # Error = Class.new(StandardError) # Good
100
+ # class Error < StandardError; end # Bad
101
+ EnforcedStyle: class_keyword
102
+ AllowedParentClasses:
103
+ - StandardError
104
+
93
105
  Style/EmptyElse:
94
106
  # Require an explanatory comment if we're otherwise wanting to utilize an
95
107
  # empty `else` block.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.20
4
+ version: 0.7.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul DobbinSchmaltz
@@ -257,7 +257,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
257
257
  requirements:
258
258
  - - ">="
259
259
  - !ruby/object:Gem::Version
260
- version: '3.2'
260
+ version: '3.1'
261
261
  required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  requirements:
263
263
  - - ">="