rubocop-gusto 11.1.0 → 11.1.1
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/rubocop/cop/gusto/execute_migration.rb +1 -1
- data/lib/rubocop/gusto/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ebf0dc040fba594af70d4d7f12ff478108f0194ff39648ba3d6179ecc9e090f
|
|
4
|
+
data.tar.gz: bfdd53b8165f3078c682fb08e57c124acf05996ec6bc4b8543f54b6a94931132
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68e9932597eab0c974d14c733680f1cba391c1d9203c3eb583737f21902855434a9d7f4a51bad9e15a7fee960098bf3714722063545c4dac70355c3fe212c213
|
|
7
|
+
data.tar.gz: d6439f071b56a1f9fb53e22c0964524072c88134b28439c228115217a7b91c3ad4bf82a407ebab4675c966819fa4038fa9cab5b9ada4620c74185c6217373978
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
- Remove redundant `Rails: Enabled: true` from `config/rails.yml` (already set by rubocop-rails' own defaults)
|
|
4
4
|
- Enable `Rails/DefaultScope` cop (disabled by default in rubocop-rails)
|
|
5
5
|
|
|
6
|
+
## [11.1.1](https://github.com/Gusto/rubocop-gusto/compare/v11.1.0...v11.1.1) (2026-06-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update ExecuteMigration cop to recommend backfill sidekiq job ([#121](https://github.com/Gusto/rubocop-gusto/issues/121)) ([a29cfcc](https://github.com/Gusto/rubocop-gusto/commit/a29cfcc121fb78b290314500f79ca3150479fa0a))
|
|
12
|
+
|
|
6
13
|
## [11.1.0](https://github.com/Gusto/rubocop-gusto/compare/v11.0.0...v11.1.0) (2026-06-17)
|
|
7
14
|
|
|
8
15
|
|
|
@@ -18,7 +18,7 @@ module RuboCop
|
|
|
18
18
|
# add_column :users, :active, :boolean, default: true
|
|
19
19
|
# end
|
|
20
20
|
class ExecuteMigration < Base
|
|
21
|
-
MSG = "Do not use `execute` to run raw SQL in a migration. Run the query from a backfill
|
|
21
|
+
MSG = "Do not use `execute` to run raw SQL in a migration. Run the query from a backfill sidekiq job or pass the SQL options to the `add_column`/`change_column` method."
|
|
22
22
|
RESTRICT_ON_SEND = [:execute].freeze
|
|
23
23
|
|
|
24
24
|
def on_send(node)
|