rubocop-migration 0.7.1 → 0.8.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 +4 -4
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +52 -50
- data/README.md +1 -3
- data/config/default.yml +1 -1
- data/lib/rubocop/cop/migration/reserved_word_mysql.rb +0 -2
- data/lib/rubocop/migration/version.rb +1 -1
- data/rubocop-migration.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0813a8046835fbb1c8382152971eaada39e144aabb2266cda2115b2e5c2a1398'
|
|
4
|
+
data.tar.gz: 38580189a800f01224c4dbfd39d7aed4707509d148ec1deed74e936858a99624
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65e716d2e0cecb340f2e8171d125d901f7eb8e53352227fa472e4489da1c8b97c04000ae6bb59080f2a7d811e9cc2c1dad3248d9624a00f90fba3b2ce55c7e93
|
|
7
|
+
data.tar.gz: 4bb8b248e3f0bc57767bc0be615a27d31d663f89e2d8eddd67e30102cbbfe6d49f1bd119db3b6a3fae5593f0751b5862e1af993e90e0f6514e788faadb8d6314
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rubocop-migration (0.
|
|
4
|
+
rubocop-migration (0.8.0)
|
|
5
5
|
activesupport
|
|
6
6
|
lint_roller (>= 1.1)
|
|
7
7
|
rubocop (>= 1.72.1)
|
|
@@ -10,99 +10,101 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
activesupport (
|
|
13
|
+
activesupport (8.1.4)
|
|
14
14
|
base64
|
|
15
|
-
benchmark (>= 0.3)
|
|
16
15
|
bigdecimal
|
|
17
|
-
concurrent-ruby (~> 1.0, >= 1.
|
|
16
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
18
17
|
connection_pool (>= 2.2.5)
|
|
19
18
|
drb
|
|
20
19
|
i18n (>= 1.6, < 2)
|
|
20
|
+
json
|
|
21
21
|
logger (>= 1.4.2)
|
|
22
22
|
minitest (>= 5.1)
|
|
23
|
-
mutex_m
|
|
24
23
|
securerandom (>= 0.3)
|
|
25
|
-
tzinfo (~> 2.0)
|
|
24
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
25
|
+
uri (>= 0.13.1)
|
|
26
26
|
ast (2.4.3)
|
|
27
|
-
base64 (0.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
i18n (1.14.7)
|
|
27
|
+
base64 (0.3.0)
|
|
28
|
+
bigdecimal (4.1.3)
|
|
29
|
+
concurrent-ruby (1.3.8)
|
|
30
|
+
connection_pool (3.0.2)
|
|
31
|
+
diff-lcs (1.6.2)
|
|
32
|
+
drb (2.2.3)
|
|
33
|
+
i18n (1.15.2)
|
|
35
34
|
concurrent-ruby (~> 1.0)
|
|
36
|
-
json (
|
|
37
|
-
language_server-protocol (3.17.0.
|
|
35
|
+
json (3.1.0)
|
|
36
|
+
language_server-protocol (3.17.0.6)
|
|
38
37
|
lint_roller (1.1.0)
|
|
39
38
|
logger (1.7.0)
|
|
40
|
-
minitest (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
minitest (6.0.6)
|
|
40
|
+
drb (~> 2.0)
|
|
41
|
+
prism (~> 1.5)
|
|
42
|
+
parallel (2.3.0)
|
|
43
|
+
parser (3.3.13.0)
|
|
44
44
|
ast (~> 2.4.1)
|
|
45
45
|
racc
|
|
46
|
-
prism (1.
|
|
46
|
+
prism (1.9.0)
|
|
47
47
|
racc (1.8.1)
|
|
48
|
-
rack (3.
|
|
48
|
+
rack (3.2.8)
|
|
49
49
|
rainbow (3.1.1)
|
|
50
|
-
rake (13.2
|
|
51
|
-
regexp_parser (2.
|
|
52
|
-
rspec (3.13.
|
|
50
|
+
rake (13.4.2)
|
|
51
|
+
regexp_parser (2.13.1)
|
|
52
|
+
rspec (3.13.2)
|
|
53
53
|
rspec-core (~> 3.13.0)
|
|
54
54
|
rspec-expectations (~> 3.13.0)
|
|
55
55
|
rspec-mocks (~> 3.13.0)
|
|
56
|
-
rspec-core (3.13.
|
|
56
|
+
rspec-core (3.13.6)
|
|
57
57
|
rspec-support (~> 3.13.0)
|
|
58
|
-
rspec-expectations (3.13.
|
|
58
|
+
rspec-expectations (3.13.5)
|
|
59
59
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
60
60
|
rspec-support (~> 3.13.0)
|
|
61
|
-
rspec-mocks (3.13.
|
|
61
|
+
rspec-mocks (3.13.8)
|
|
62
62
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
63
63
|
rspec-support (~> 3.13.0)
|
|
64
|
-
rspec-support (3.13.
|
|
65
|
-
rubocop (1.
|
|
66
|
-
json (
|
|
64
|
+
rspec-support (3.13.7)
|
|
65
|
+
rubocop (1.92.2)
|
|
66
|
+
json (>= 2.3)
|
|
67
67
|
language_server-protocol (~> 3.17.0.2)
|
|
68
68
|
lint_roller (~> 1.1.0)
|
|
69
|
-
parallel (
|
|
69
|
+
parallel (>= 1.10)
|
|
70
70
|
parser (>= 3.3.0.2)
|
|
71
71
|
rainbow (>= 2.2.2, < 4.0)
|
|
72
|
-
regexp_parser (>= 2.
|
|
73
|
-
rubocop-ast (>= 1.
|
|
72
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
73
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
74
74
|
ruby-progressbar (~> 1.7)
|
|
75
75
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
76
|
-
rubocop-ast (1.
|
|
76
|
+
rubocop-ast (1.50.0)
|
|
77
77
|
parser (>= 3.3.7.2)
|
|
78
|
-
prism (~> 1.
|
|
79
|
-
rubocop-performance (1.
|
|
78
|
+
prism (~> 1.7)
|
|
79
|
+
rubocop-performance (1.27.0)
|
|
80
80
|
lint_roller (~> 1.1)
|
|
81
|
-
rubocop (>= 1.
|
|
82
|
-
rubocop-ast (>= 1.
|
|
83
|
-
rubocop-rails (2.
|
|
81
|
+
rubocop (>= 1.89.0, < 2.0)
|
|
82
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
83
|
+
rubocop-rails (2.38.0)
|
|
84
84
|
activesupport (>= 4.2.0)
|
|
85
85
|
lint_roller (~> 1.1)
|
|
86
86
|
rack (>= 1.1)
|
|
87
|
-
rubocop (>= 1.
|
|
88
|
-
rubocop-ast (>= 1.
|
|
87
|
+
rubocop (>= 1.89.0, < 2.0)
|
|
88
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
|
89
89
|
rubocop-rake (0.7.1)
|
|
90
90
|
lint_roller (~> 1.1)
|
|
91
91
|
rubocop (>= 1.72.1)
|
|
92
|
-
rubocop-rspec (3.
|
|
92
|
+
rubocop-rspec (3.10.2)
|
|
93
93
|
lint_roller (~> 1.1)
|
|
94
|
-
|
|
94
|
+
regexp_parser (>= 2.0)
|
|
95
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
95
96
|
ruby-progressbar (1.13.0)
|
|
96
|
-
securerandom (0.
|
|
97
|
-
sevencop (0.48.
|
|
97
|
+
securerandom (0.4.1)
|
|
98
|
+
sevencop (0.48.1)
|
|
98
99
|
activesupport
|
|
99
100
|
lint_roller (>= 1.1)
|
|
100
101
|
rubocop (>= 1.72.1)
|
|
101
102
|
tzinfo (2.0.6)
|
|
102
103
|
concurrent-ruby (~> 1.0)
|
|
103
|
-
unicode-display_width (3.
|
|
104
|
-
unicode-emoji (~> 4.
|
|
105
|
-
unicode-emoji (4.0
|
|
104
|
+
unicode-display_width (3.3.0)
|
|
105
|
+
unicode-emoji (~> 4.3)
|
|
106
|
+
unicode-emoji (4.3.0)
|
|
107
|
+
uri (1.1.2)
|
|
106
108
|
|
|
107
109
|
PLATFORMS
|
|
108
110
|
ruby
|
|
@@ -118,4 +120,4 @@ DEPENDENCIES
|
|
|
118
120
|
sevencop
|
|
119
121
|
|
|
120
122
|
BUNDLED WITH
|
|
121
|
-
2.
|
|
123
|
+
2.5.22
|
data/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# rubocop-migration
|
|
2
2
|
|
|
3
|
-
[](https://github.com/r7kamura/rubocop-migration/actions/workflows/ci.yml)
|
|
4
|
-
|
|
5
3
|
RuboCop plugin for ActiveRecord migration.
|
|
6
4
|
|
|
7
5
|
## Usage
|
|
@@ -10,7 +8,7 @@ Install `rubocop-migration` gem:
|
|
|
10
8
|
|
|
11
9
|
```ruby
|
|
12
10
|
# Gemfile
|
|
13
|
-
gem 'rubocop-migration'
|
|
11
|
+
gem 'rubocop-migration'
|
|
14
12
|
```
|
|
15
13
|
|
|
16
14
|
then add `rubocop-migration` to plugins section:
|
data/config/default.yml
CHANGED
data/rubocop-migration.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
spec.summary = 'RuboCop plugin for ActiveRecord migration.'
|
|
12
12
|
spec.homepage = 'https://github.com/r7kamura/rubocop-migration'
|
|
13
13
|
spec.license = 'MIT'
|
|
14
|
-
spec.required_ruby_version = '>=
|
|
14
|
+
spec.required_ruby_version = '>= 3.3'
|
|
15
15
|
|
|
16
16
|
spec.metadata['homepage_uri'] = spec.homepage
|
|
17
17
|
spec.metadata['source_code_uri'] = spec.homepage
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-migration
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryo Nakamura
|
|
@@ -122,14 +122,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
122
122
|
requirements:
|
|
123
123
|
- - ">="
|
|
124
124
|
- !ruby/object:Gem::Version
|
|
125
|
-
version: '
|
|
125
|
+
version: '3.3'
|
|
126
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
requirements:
|
|
128
128
|
- - ">="
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
130
|
version: '0'
|
|
131
131
|
requirements: []
|
|
132
|
-
rubygems_version:
|
|
132
|
+
rubygems_version: 4.0.20
|
|
133
133
|
specification_version: 4
|
|
134
134
|
summary: RuboCop plugin for ActiveRecord migration.
|
|
135
135
|
test_files: []
|