meowcop 1.20.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c19fedb669fd661a14a2ab2c51b96f1c569ecdda57084d9ec124c75ba546746
4
- data.tar.gz: 1690a9a3ceddc5eb3393b46e85c02c5d2d540a39294f329b4bead14938018c55
3
+ metadata.gz: cad84694308cf0c1b03de4e9314923a28b7ae828ce47b67b1b6e83180bbd5939
4
+ data.tar.gz: 3ec86f7dba834548988a5dc4bcca1a21d6e322d36352419409ef11eeb2dc4f49
5
5
  SHA512:
6
- metadata.gz: 05b9832de314f8ae8f815c3a83f47e007a1ee505e9374f489cee52d08f2bb4218e9d886ebb5ac987ddea9b10349b965ac375cfdd3ff643debada004933c724af
7
- data.tar.gz: ff92f33e884acd4df60c4bd47173db7913837b1abbbb01a27277a08cca541261c653cf42c6cd7c184deb13856db7c73c8579870dda4e4fc9aff6773dafa139d5
6
+ metadata.gz: f00556046ab45fbc14d42530d62904bc51b7bb22038d3ac89191f30a684587527aa88702800b81a940fc4643250d44ed1e677b0d583ae76c3818de847d43ef98
7
+ data.tar.gz: 44e59b693c4b493aec0116093c7ae0d05a5e951f6d2c65db43f378eb24c549254696d9eb0be2fe9ae9a75cbc17a0231ad3294a32b83579c934dcae48ab467302
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  /.bundle/
2
+ /vendor/bundle/
2
3
  /.yardoc
3
4
  /Gemfile.lock
4
5
  /_yardoc/
@@ -1,3 +1,15 @@
1
+ ## 2.0.0 (2019-06-26)
2
+
3
+ - [#50](https://github.com/sider/meowcop/pull/50): Follow up of RuboCop v0.72.0 (including a breaking change, see below)
4
+
5
+ ### Breaking Change
6
+
7
+ Since version 2, MeowCop has stopped supporting Rails Cops. Because RuboCop v0.72 has separated Rails Cops from its core gem to another [`rubocop-rails`](https://github.com/rubocop-hq/rubocop-rails) gem. For details, please see [the v0.72 changelog](https://github.com/rubocop-hq/rubocop/blob/v0.72.0/CHANGELOG.md) and [the related issue](https://github.com/rubocop-hq/rubocop/issues/5976).
8
+
9
+ If you want to continue using Rails Cops which were disabled by MeowCop v1, please copy the Cops in the following past config file and paste them to your `.rubocop.yml` file:
10
+
11
+ <https://github.com/sider/meowcop/blob/v1.20.0/config/rubocop.yml#L68-L97>
12
+
1
13
  ## 1.20.0 (2019-05-14)
2
14
 
3
15
  - [#44](https://github.com/sider/meowcop/pull/44): Follow up of RuboCop v0.69.0
@@ -18,14 +30,14 @@
18
30
 
19
31
  ## 1.17.0 (2018-06-18)
20
32
 
21
- - [#31](https://github.com/sideci/meowcop/pull/31): Follow up of new cops (v0.57.0)
33
+ - [#31](https://github.com/sider/meowcop/pull/31): Follow up of new cops (v0.57.0)
22
34
 
23
35
  ## 1.16.1 (2018-06-18)
24
36
 
25
- - [#28](https://github.com/sideci/meowcop/pull/28): Fix unrecognized cops warnings
26
- - [#29](https://github.com/sideci/meowcop/pull/29): Follow up of new cops (v0.54.0 ~ v0.56.0)
37
+ - [#28](https://github.com/sider/meowcop/pull/28): Fix unrecognized cops warnings
38
+ - [#29](https://github.com/sider/meowcop/pull/29): Follow up of new cops (v0.54.0 ~ v0.56.0)
27
39
 
28
40
  ## 1.16.0 (2018-05-15)
29
41
 
30
- - [#26](https://github.com/sideci/meowcop/pull/26): Split Style/MethodMissing to follow RuboCop 0.56.0
42
+ - [#26](https://github.com/sider/meowcop/pull/26): Split Style/MethodMissing to follow RuboCop 0.56.0
31
43
 
data/README.md CHANGED
@@ -49,12 +49,6 @@ inherit_gem:
49
49
  # Modify the version if you don't use MRI 2.6.
50
50
  AllCops:
51
51
  TargetRubyVersion: 2.6
52
- # If you use RuboCop with Ruby on Rails, specify TargetRailsVersion(default: 5.0).
53
- TargetRailsVersion: 5.0
54
-
55
- Rails:
56
- # If you use RuboCop with Ruby on Rails, turn on this option.
57
- Enabled: false
58
52
 
59
53
  # You can customize rubocop settings.
60
54
  # For example.
@@ -65,7 +59,7 @@ Rails:
65
59
 
66
60
  ### Example
67
61
 
68
- https://github.com/sideci/meowcop/blob/master/examples/.rubocop.yml
62
+ https://github.com/sider/meowcop/blob/master/examples/.rubocop.yml
69
63
 
70
64
 
71
65
  ## Usage
@@ -87,4 +81,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
87
81
 
88
82
  ## Contributing
89
83
 
90
- Bug reports and pull requests are welcome on GitHub at https://github.com/sideci/meowcop.
84
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/sider/meowcop>.
@@ -63,38 +63,6 @@ Metrics/ParameterLists:
63
63
  # Use the default setting
64
64
  Metrics/PerceivedComplexity:
65
65
  Enabled: true
66
- # Use the default setting
67
-
68
- Rails/ActiveRecordOverride:
69
- Enabled: false
70
- Rails/ActiveSupportAliases:
71
- Enabled: false
72
- Rails/Delegate:
73
- Enabled: false
74
- Rails/FilePath:
75
- Enabled: false
76
- Rails/HttpPositionalArguments:
77
- Enabled: false
78
- Rails/Output:
79
- Enabled: false
80
- Rails/OutputSafety:
81
- Enabled: false
82
- Rails/PluralizationGrammar:
83
- Enabled: false
84
- Rails/SkipsModelValidations:
85
- Enabled: false
86
- Rails/ReadWriteAttribute:
87
- Enabled: false
88
- Rails/RequestReferer:
89
- Enabled: false
90
- Rails/SafeNavigation:
91
- Enabled: false
92
- Rails/HttpStatus:
93
- Enabled: false
94
- Rails/RefuteMethods:
95
- Enabled: false
96
- Rails/AssertNot:
97
- Enabled: false
98
66
 
99
67
  Security/Eval:
100
68
  Enabled: false
@@ -339,6 +307,8 @@ Style/EndBlock:
339
307
  Enabled: false
340
308
  Style/EvenOdd:
341
309
  Enabled: false
310
+ Style/FloatDivision:
311
+ Enabled: false
342
312
  Style/For:
343
313
  Enabled: false
344
314
  Style/FormatString:
@@ -6,12 +6,6 @@ inherit_gem:
6
6
  # Modify the version if you don't use MRI 2.6.
7
7
  AllCops:
8
8
  TargetRubyVersion: 2.6
9
- # If you use RuboCop with Ruby on Rails, specify TargetRailsVersion(default: 5.0).
10
- TargetRailsVersion: 5.0
11
-
12
- Rails:
13
- # If you use RuboCop with Ruby on Rails, turn on this option.
14
- Enabled: false
15
9
 
16
10
  # You can customize rubocop settings.
17
11
  # For example.
@@ -1,3 +1,3 @@
1
1
  module Meowcop
2
- VERSION = "1.20.0"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -9,16 +9,16 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Masataka Kuwabara"]
10
10
  spec.email = ["p.ck.t22@gmail.com"]
11
11
 
12
- spec.summary = %q{MeowCop is a RuboCop configuration recommended by Actcat inc.}
13
- spec.description = %q{MeowCop is a RuboCop configuration recommended by Actcat inc.}
14
- spec.homepage = "https://github.com/sideci/meowcop"
12
+ spec.summary = %q{MeowCop is a RuboCop configuration recommended by Sider, Inc.}
13
+ spec.description = %q{MeowCop is a RuboCop configuration recommended by Sider, Inc.}
14
+ spec.homepage = "https://github.com/sider/meowcop"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
17
  spec.bindir = "exe"
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'rubocop', '>= 0.69.0'
21
+ spec.add_dependency 'rubocop', '>= 0.72.0'
22
22
 
23
23
  spec.add_development_dependency "bundler", ">= 1.12", "< 3.0"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meowcop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 2.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-05-14 00:00:00.000000000 Z
11
+ date: 2019-06-26 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: 0.69.0
19
+ version: 0.72.0
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: 0.69.0
26
+ version: 0.72.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '10.0'
61
- description: MeowCop is a RuboCop configuration recommended by Actcat inc.
61
+ description: MeowCop is a RuboCop configuration recommended by Sider, Inc.
62
62
  email:
63
63
  - p.ck.t22@gmail.com
64
64
  executables:
@@ -80,7 +80,7 @@ files:
80
80
  - lib/meowcop/cli.rb
81
81
  - lib/meowcop/version.rb
82
82
  - meowcop.gemspec
83
- homepage: https://github.com/sideci/meowcop
83
+ homepage: https://github.com/sider/meowcop
84
84
  licenses: []
85
85
  metadata: {}
86
86
  post_install_message:
@@ -98,8 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.0.3
101
+ rubygems_version: 3.0.4
102
102
  signing_key:
103
103
  specification_version: 4
104
- summary: MeowCop is a RuboCop configuration recommended by Actcat inc.
104
+ summary: MeowCop is a RuboCop configuration recommended by Sider, Inc.
105
105
  test_files: []