This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in rubocop-migrations.gemspec | ||
# Specify your gem's dependencies in rubocop-migration.gemspec | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require "active_support" | ||
require "active_support/core_ext" | ||
require "rubocop" | ||
|
||
require "rubocop/migration/version" | ||
require "rubocop/cop/migration/add_index_non_concurrently" | ||
|
||
module RuboCop | ||
module Migration | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../migrations/add_index_non_concurrently.rb → ...p/migration/add_index_non_concurrently.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/rubocop/migrations/version.rb → lib/rubocop/migration/version.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module RuboCop | ||
module Migrations | ||
module Migration | ||
VERSION = "0.1.0" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path("../lib", __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require "rubocop/migrations/version" | ||
require "rubocop/migration/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "rubocop-migrations" | ||
spec.version = RuboCop::Migrations::VERSION | ||
spec.name = "rubocop-migration" | ||
spec.version = RuboCop::Migration::VERSION | ||
spec.authors = ["Peter Graham"] | ||
spec.email = ["[email protected]"] | ||
|
||
spec.summary = %q{RuboCop extension for ActiveRecord migrations.} | ||
spec.description = %q{RuboCop extension to catch common pitfalls in ActiveRecord migrations.} | ||
spec.homepage = "https://github.com/wealthsimple/rubocop-migrations" | ||
spec.homepage = "https://github.com/wealthsimple/rubocop-migration" | ||
|
||
spec.files = `git ls-files -z`.split("\x0").reject do |f| | ||
f.match(%r{^(test|spec|features)/}) | ||
|
2 changes: 1 addition & 1 deletion
2
...ations/add_index_non_concurrently_spec.rb → ...ration/add_index_non_concurrently_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
spec/rubocop/migrations_spec.rb → spec/rubocop/migration_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters