mry 0.77.0.2 → 0.78.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mry/added_cops.rb +3 -0
- data/lib/mry/rewriters.rb +4 -0
- data/lib/mry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ea2f3a8e7e5412c697cdd6ca19005e0115290d6ecf94f0a8563acb020fc468b
|
4
|
+
data.tar.gz: 28580b4427ab3b15c4a755fa1dac83326195d6347120f8944772ecd54c26b937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a38c67e5e97dadf0c962c7650ad171eb8304179e38ead36fee552699f7b08358465a712ad9c38b40dbaceff6aad1fe032c621783b654a887339364b94020ccb7
|
7
|
+
data.tar.gz: 518f41faadd7e42cd47b1c47a0b6b00e0c3ba671b701c18a34864e69227c4cd21ecf8aeaef4706007d8ef047bde8b6082b44d7dfeb0f4105560063b8cb2d71fd
|
data/lib/mry/added_cops.rb
CHANGED
@@ -2,6 +2,9 @@ module Mry
|
|
2
2
|
# TODO: Replace this list with VersionAdded
|
3
3
|
module AddedCops
|
4
4
|
Cops = {
|
5
|
+
Gem::Version.new('0.78.0') => %w[
|
6
|
+
Lint/NonDeterministicRequireOrder
|
7
|
+
],
|
5
8
|
Gem::Version.new('0.77.0') => %w[],
|
6
9
|
Gem::Version.new('0.76.0') => %w[],
|
7
10
|
Gem::Version.new('0.75.0') => %w[
|
data/lib/mry/rewriters.rb
CHANGED
@@ -3,6 +3,10 @@ module Mry
|
|
3
3
|
class Rewriter_Master < YAMLRewriter::Rewriter
|
4
4
|
end
|
5
5
|
|
6
|
+
class Rewriter_0_78_0 < YAMLRewriter::Rewriter
|
7
|
+
define_rule ['Metrics/LineLength' => 'Layout/LineLength']
|
8
|
+
end
|
9
|
+
|
6
10
|
class Rewriter_0_77_0 < YAMLRewriter::Rewriter
|
7
11
|
define_rule ['Naming/UncommunicativeMethodParamName' => 'Naming/MethodParameterName']
|
8
12
|
define_rule ['Naming/UncommunicativeBlockParamName' => 'Naming/BlockParameterName']
|
data/lib/mry/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.78.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masataka Kuwabara
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|