rubocop-rails_deprecation 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/config/default.yml +3 -3
- data/lib/rubocop/cop/rails_deprecation/base.rb +1 -1
- data/lib/rubocop/cop/rails_deprecation/to_formatted_s.rb +1 -1
- data/lib/rubocop/rails_deprecation/inject.rb +1 -1
- data/lib/rubocop/rails_deprecation/version.rb +2 -2
- data/lib/rubocop/rails_deprecation.rb +1 -1
- data/lib/rubocop-rails_deprecation.rb +1 -1
- data/rubocop-rails_deprecation.gemspec +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: d83f59fd0e86b57e1f9007ddcd710071091255333a97c4d58da168769f62b882
|
4
|
+
data.tar.gz: 83824a404a65eb8d6d05d4946d1747823dab4d70fdcc5cd5a589e09c8cfdb67a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dddc57f6cc13086ff9b84d400156726fa06bd3c5468298cdf324088bad93e18c83f275bd17a01628a58f7ec06cfbd95f85bbebfd51a987c9ed426b3f839beba
|
7
|
+
data.tar.gz: e5599be38bde11643bb4fe83edbf9a3722fee7e6139a8368acb3ee545dc58711b6784b63b3989f0412f7ecc9164150f7b61bb6fdc90092aa5c0a8341e43d84b5
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/config/default.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
2
|
-
Description: Use `
|
3
|
-
Enabled:
|
1
|
+
Deprecation/ToFormattedS:
|
2
|
+
Description: Use `to_fs(...)` instead of `to_s(...)`.
|
3
|
+
Enabled: true
|
4
4
|
VersionAdded: '0.1'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# The original code is from https://github.com/rubocop/rubocop-rspec/blob/main/lib/rubocop/rspec/inject.rb
|
4
4
|
# See https://github.com/rubocop/rubocop-rspec/blob/main/MIT-LICENSE.md
|
5
5
|
module RuboCop
|
6
|
-
module
|
6
|
+
module Deprecation
|
7
7
|
# Because RuboCop doesn't yet support plugins, we have to monkey patch in a
|
8
8
|
# bit of our configuration.
|
9
9
|
module Inject
|
@@ -6,6 +6,6 @@ require_relative 'rubocop/rails_deprecation'
|
|
6
6
|
require_relative 'rubocop/rails_deprecation/version'
|
7
7
|
require_relative 'rubocop/rails_deprecation/inject'
|
8
8
|
|
9
|
-
RuboCop::
|
9
|
+
RuboCop::Deprecation::Inject.defaults!
|
10
10
|
|
11
11
|
require_relative 'rubocop/cop/rails_deprecation_cops'
|
@@ -4,7 +4,7 @@ require_relative 'lib/rubocop/rails_deprecation/version'
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'rubocop-rails_deprecation'
|
7
|
-
spec.version = RuboCop::
|
7
|
+
spec.version = RuboCop::Deprecation::VERSION
|
8
8
|
spec.authors = ['Ryo Nakamura']
|
9
9
|
spec.email = ['r7kamura@gmail.com']
|
10
10
|
|