rubocop-github 0.10.0 → 0.11.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
  SHA1:
3
- metadata.gz: a098bd278e7e40054737feae44e97fb1041504d0
4
- data.tar.gz: b848051fc748474b1400831efdd56a8024c45675
3
+ metadata.gz: fc3e9b13731fe345835a064735b9b22ca05f0524
4
+ data.tar.gz: 847bb944f82a45e1629b7ecc692507219c0a36ef
5
5
  SHA512:
6
- metadata.gz: 281d38daf6f91a765703d1e012c74f0be7ff7d35caeb2ca54fbc947f060f330f26a2c444b4319d65f76992e8662788dbdda3a3759e367ff44f4bc28638e72bda
7
- data.tar.gz: e2dfa28f16e82c2fa3f9f61bf960d14d4dc6c4baf13b2ede45577039dbf3883c2445b2d4d2ee98c0a255a55f2c8468c88e08aa0ab4e300acbf33f966f66a409b
6
+ metadata.gz: c1acd05c8823edea31daa1d689e05cf3a18cec186c7f90cb2b24350f58c01c664115960145e9470bbefad1f414f789caa3d47994efd2a1f7dd46701a99ff78c2
7
+ data.tar.gz: 8e7963cd8a430bead5415f17a074b918befbc58f3d2497c4e4d572cabcdb70f2f9f7b2d93b77dbacc14c8b234bdb984c5d09f21d387fb983707860ee97a52d45
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RuboCop GitHub
1
+ # RuboCop GitHub [![Build Status](https://travis-ci.org/github/rubocop-github.svg?branch=master)](https://travis-ci.org/github/rubocop-github)
2
2
 
3
3
  This repository provides recommended RuboCop configuration and additional Cops for use on GitHub open source and internal Ruby projects.
4
4
 
@@ -9,21 +9,9 @@ Bundler/DuplicatedGem:
9
9
  Bundler/OrderedGems:
10
10
  Enabled: true
11
11
 
12
- Layout/BlockAlignment:
13
- Enabled: true
14
-
15
12
  Layout/BlockEndNewline:
16
13
  Enabled: true
17
14
 
18
- Layout/ConditionPosition:
19
- Enabled: true
20
-
21
- Layout/DefEndAlignment:
22
- Enabled: true
23
-
24
- Layout/EndAlignment:
25
- Enabled: false
26
-
27
15
  Layout/EndOfLine:
28
16
  Enabled: true
29
17
 
@@ -82,12 +70,21 @@ Layout/TrailingBlankLines:
82
70
  Layout/TrailingWhitespace:
83
71
  Enabled: true
84
72
 
73
+ Lint/BlockAlignment:
74
+ Enabled: true
75
+
85
76
  Lint/CircularArgumentReference:
86
77
  Enabled: true
87
78
 
79
+ Lint/ConditionPosition:
80
+ Enabled: true
81
+
88
82
  Lint/Debugger:
89
83
  Enabled: true
90
84
 
85
+ Lint/DefEndAlignment:
86
+ Enabled: true
87
+
91
88
  Lint/DeprecatedClassMethods:
92
89
  Enabled: true
93
90
 
@@ -109,6 +106,9 @@ Lint/EmptyEnsure:
109
106
  Lint/EmptyInterpolation:
110
107
  Enabled: true
111
108
 
109
+ Lint/EndAlignment:
110
+ Enabled: false
111
+
112
112
  Lint/EndInMethod:
113
113
  Enabled: true
114
114
 
@@ -85,7 +85,7 @@ GitHub/RailsViewRenderShorthand:
85
85
 
86
86
  # Exclude Rails ERB files from incompatible cops
87
87
 
88
- Layout/BlockAlignment:
88
+ Lint/BlockAlignment:
89
89
  Exclude:
90
90
  - 'app/views/**/*.erb'
91
91
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rubocop/cop/github/rails_application_record"
2
4
  require "rubocop/cop/github/rails_controller_render_action_symbol"
3
5
  require "rubocop/cop/github/rails_controller_render_literal"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-09-13 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.51'
19
+ version: '0.59'
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.51'
26
+ version: '0.59'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionview
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '12.0'
69
- - !ruby/object:Gem::Dependency
70
- name: erubis
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '2.7'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '2.7'
83
69
  description: 'Code style checking for GitHub Ruby repositories '
84
70
  email: engineering@github.com
85
71
  executables: []