rubocop-migration 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/README.md +1 -1
- data/lib/rubocop/cop/migration/add_index_non_concurrently.rb +1 -1
- data/lib/rubocop/migration/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18d15295e2b2d2cea9b6cdb58f2de2e5c2ae2931
|
4
|
+
data.tar.gz: d616df1b06c2c711d6f82e4eb2548a536eaff1f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf93f98b7b7bfddaee4689e7dae70d267c8e4b202e480c22221ce2d9c8b4d8e3dc9cc6258581eb589228ef79c60d442a3e085781bd43c855718345e176720335
|
7
|
+
data.tar.gz: d88df8c695daf167df7b46f621f9cc4ce5b74a754cde2d523c97234203a0c84449a96830b933b6e450e9b369daef47df598f7004f4e7abe600ea0df9edb32d12
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# rubocop-migration [![CircleCI](https://circleci.com/gh/wealthsimple/rubocop-migration.svg?style=svg)](https://circleci.com/gh/wealthsimple/rubocop-migration)
|
1
|
+
# rubocop-migration [![CircleCI](https://circleci.com/gh/wealthsimple/rubocop-migration.svg?style=svg)](https://circleci.com/gh/wealthsimple/rubocop-migration) [![Gem Version](https://badge.fury.io/rb/rubocop-migration.svg)](https://rubygems.org/gems/rubocop-migration)
|
2
2
|
|
3
3
|
RuboCop extension to catch common pitfalls in ActiveRecord migrations.
|
4
4
|
|
@@ -2,7 +2,7 @@ module RuboCop
|
|
2
2
|
module Cop
|
3
3
|
module Migration
|
4
4
|
class AddIndexNonConcurrently < Cop
|
5
|
-
MSG = 'Use `algorithm: :concurrently` to avoid locking
|
5
|
+
MSG = 'Use `algorithm: :concurrently` to avoid locking table.'.freeze
|
6
6
|
|
7
7
|
def_node_matcher :add_index_match, <<-PATTERN
|
8
8
|
(send nil :add_index _ _ (hash $...))
|