mry 0.58.0.0 → 0.59.0.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/README.md +33 -2
- data/lib/mry/added_cops.rb +5 -0
- data/lib/mry/rewriters.rb +3 -0
- data/lib/mry/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 710a11b0e41c84014952af8ff85c9a9a3ad5184711e4f4da6585df6fecfa156f
|
4
|
+
data.tar.gz: d930943bb87939c18fcef3df1ced7d9e97321621394ba2e12be4edb5f736b70c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68329c69e9b74caf0a420738d94f69d158a84184747929c3b079a07c8eb1ce365bb048f9b4c0bbb403d6c7bfaec26d20266b975f88d94b2150ddd4e0543933fc
|
7
|
+
data.tar.gz: 29efa055f5d70127f0489fabea7d4a269fe9c1f0cb4d26b07e23afbc6d24b3353b64616192df7d61ca96713c43416f946f3cddd7925948280bb8e79bd20bdc80
|
data/README.md
CHANGED
@@ -75,9 +75,40 @@ Lint/RedundantWithObject:
|
|
75
75
|
|
76
76
|
## Development
|
77
77
|
|
78
|
-
|
78
|
+
### How to support new version RuboCop
|
79
79
|
|
80
|
-
|
80
|
+
Run `bin/check_rubocop_update` script (depend on Ruby 2.6 or higher).
|
81
|
+
This script displays renamed, added and deleted cop names.
|
82
|
+
|
83
|
+
```bash
|
84
|
+
# Clone rubocop repository if it does not exist.
|
85
|
+
$ git clone https://github.com/rubocop-hq/rubocop/ ~/path/to/rubocop/
|
86
|
+
$ bin/check_rubocop_update v0.55.0 v0.56.0 ~/path/to/rubocop/
|
87
|
+
|
88
|
+
(...log...)
|
89
|
+
|
90
|
+
:added:
|
91
|
+
- Lint/SplatKeywordArguments
|
92
|
+
- Performance/InefficientHashSearch
|
93
|
+
- Lint/ErbNewArguments
|
94
|
+
- Rails/AssertNot
|
95
|
+
- Rails/RefuteMethods
|
96
|
+
:renamed:
|
97
|
+
- :before:
|
98
|
+
- Style/EmptyLineAfterGuardClause
|
99
|
+
:after:
|
100
|
+
- Layout/EmptyLineAfterGuardClause
|
101
|
+
- :before:
|
102
|
+
- Style/MethodMissing
|
103
|
+
:after:
|
104
|
+
- Style/MethodMissingSuper
|
105
|
+
- Style/MissingRespondToMissing
|
106
|
+
:deleted: []
|
107
|
+
```
|
108
|
+
|
109
|
+
Update `lib/mry/added_cops.rb` and `lib/mry/rewriters.rb` with this result.
|
110
|
+
|
111
|
+
Note: Mry does not support deleted cops and split cops. See [#37](https://github.com/pocke/mry/issues/37) and [#38](https://github.com/pocke/mry/issues/38).
|
81
112
|
|
82
113
|
## Contributing
|
83
114
|
|
data/lib/mry/added_cops.rb
CHANGED
data/lib/mry/rewriters.rb
CHANGED
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.59.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: 2018-
|
11
|
+
date: 2018-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.7.
|
178
|
+
rubygems_version: 2.7.7
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Mry Migrates .Rubocop.Yml
|