rubocop-neeto 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocop/cop/neeto/unsafe_column_deletion.rb +1 -1
- data/lib/rubocop/neeto/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02a9ac99c83b56563a70c0154b80a9c392c09e04d40eb00ed8836a8a285ad5bc
|
4
|
+
data.tar.gz: e4a259f6446691036073c6f2834fb245f4531468afc4b72d86775ef8c20228ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbe403502277e00288432b39fab037a3be29f4745e2a5e562ec58f342c0be9d956307781df211e950cf1056f8d067f5ea2612f39da6229894613836f537fcc99
|
7
|
+
data.tar.gz: f9e57654fe285ff0a64609350b96b8387c1170bab227b0caa3f32a184da925fe340cdb368adf8f69615e0205c602600231e04c195832e80a43d32907359c7f11
|
@@ -34,7 +34,7 @@ module RuboCop
|
|
34
34
|
|
35
35
|
MSG_REMOVE_COLUMN = "'remove_column' is a dangerous operation. If " \
|
36
36
|
"not used correctly, it could cause irreversible data loss. You must perform " \
|
37
|
-
"'rename_column :%{table_name},
|
37
|
+
"'rename_column :%{table_name}, :%{column_name}, :%{column_name}_deprecated_on_#{CURRENT_DATE}' " \
|
38
38
|
"instead. The renamed column can be safely dropped in a future migration."
|
39
39
|
|
40
40
|
MSG_CHANGE_TABLE = "'t.remove' is a dangerous operation. If not used correctly, " \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-neeto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abhay V Ashokan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|