rubocop-rails_deprecation 0.4.0 → 0.5.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/CHANGELOG.md +9 -3
- data/Gemfile.lock +4 -4
- data/config/default.yml +1 -1
- 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 +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50c57a07baf6ba0d3d701e8b399394b240e0303f60ea4db9f790b02fa62b8fe4
|
4
|
+
data.tar.gz: 76a9afe9155e2154810e512e3a2e657c0f6df2a142f6c55724c261a3cf62099f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21378a6e0eb10d8f9ce8f472ab0cf002eaaf12514e3f22b29be8667b30a0eea162801e5fc686cf94afabcb3ee6bea63f0e25d23327e7cf458a116e28a4d35522
|
7
|
+
data.tar.gz: '07901cc6b3f6b5e0aa0cc5dd1c0a2eb4dad61195af75fa94e99061c6c3a647bab8852426334000f381e2f348ef3d78a4090b6d41b6834434a79772142c05871b'
|
data/CHANGELOG.md
CHANGED
@@ -2,13 +2,19 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
-
## 0.
|
5
|
+
## 0.5.0 - 2022-04-10
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
- Rename Deprecation/ToFormattedS with RailsDeprecation/ToFormattedS.
|
10
|
+
|
11
|
+
## 0.4.0 - 2022-03-14
|
6
12
|
|
7
13
|
### Added
|
8
14
|
|
9
15
|
- Support csend on RailsDeprecation/ToFormattedS.
|
10
16
|
|
11
|
-
## 0.3.0
|
17
|
+
## 0.3.0 - 2022-03-14
|
12
18
|
|
13
19
|
### Changed
|
14
20
|
|
@@ -21,7 +27,7 @@
|
|
21
27
|
|
22
28
|
- Make #to_fs the default replacement for #to_s(:format).
|
23
29
|
|
24
|
-
## 0.1.0
|
30
|
+
## 0.1.0 - 2022-02-23
|
25
31
|
|
26
32
|
### Added
|
27
33
|
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop-rails_deprecation (0.
|
5
|
-
rubocop
|
4
|
+
rubocop-rails_deprecation (0.5.0)
|
5
|
+
rubocop (>= 1.27)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -29,13 +29,13 @@ GEM
|
|
29
29
|
diff-lcs (>= 1.2.0, < 2.0)
|
30
30
|
rspec-support (~> 3.11.0)
|
31
31
|
rspec-support (3.11.0)
|
32
|
-
rubocop (1.
|
32
|
+
rubocop (1.27.0)
|
33
33
|
parallel (~> 1.10)
|
34
34
|
parser (>= 3.1.0.0)
|
35
35
|
rainbow (>= 2.2.2, < 4.0)
|
36
36
|
regexp_parser (>= 1.8, < 3.0)
|
37
37
|
rexml
|
38
|
-
rubocop-ast (>= 1.
|
38
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
39
39
|
ruby-progressbar (~> 1.7)
|
40
40
|
unicode-display_width (>= 1.4.0, < 3.0)
|
41
41
|
rubocop-ast (1.16.0)
|
data/config/default.yml
CHANGED
@@ -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 RailsDeprecation
|
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::RailsDeprecation::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::RailsDeprecation::VERSION
|
8
8
|
spec.authors = ['Ryo Nakamura']
|
9
9
|
spec.email = ['r7kamura@gmail.com']
|
10
10
|
|
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ['lib']
|
31
31
|
|
32
|
-
spec.add_runtime_dependency 'rubocop'
|
32
|
+
spec.add_runtime_dependency 'rubocop', '>= 1.27'
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rails_deprecation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.27'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.27'
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- r7kamura@gmail.com
|