rubocop-github 0.13.0 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -2
- data/STYLEGUIDE.md +27 -11
- data/config/_default_shared.yml +329 -0
- data/config/_rails_shared.yml +120 -0
- data/config/default.yml +2 -328
- data/config/default_deprecated.yml +4 -0
- data/config/default_edge.yml +4 -0
- data/config/rails.yml +2 -122
- data/config/rails_deprecated.yml +7 -0
- data/config/rails_edge.yml +4 -0
- data/lib/rubocop/cop/github.rb +1 -0
- data/lib/rubocop/cop/github/insecure_hash_algorithm.rb +139 -0
- data/lib/rubocop/cop/github/rails_controller_render_action_symbol.rb +2 -2
- data/lib/rubocop/cop/github/rails_controller_render_literal.rb +32 -21
- data/lib/rubocop/cop/github/rails_controller_render_paths_exist.rb +3 -3
- data/lib/rubocop/cop/github/rails_controller_render_shorthand.rb +1 -1
- data/lib/rubocop/cop/github/rails_render_inline.rb +1 -1
- data/lib/rubocop/cop/github/rails_render_object_collection.rb +1 -1
- data/lib/rubocop/cop/github/rails_view_render_literal.rb +26 -21
- data/lib/rubocop/cop/github/rails_view_render_paths_exist.rb +3 -3
- data/lib/rubocop/cop/github/rails_view_render_shorthand.rb +1 -1
- data/lib/rubocop/cop/github/render_literal_helpers.rb +55 -0
- metadata +36 -15
metadata
CHANGED
@@ -1,43 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "<="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.13.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:
|
26
|
+
version: 1.13.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "<="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.11.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "<="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.11.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "<="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.7.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "<="
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 2.7.1
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: actionview
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +72,14 @@ dependencies:
|
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
75
|
+
version: '5.14'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: '5.
|
82
|
+
version: '5.14'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rake
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,12 +103,19 @@ files:
|
|
89
103
|
- LICENSE
|
90
104
|
- README.md
|
91
105
|
- STYLEGUIDE.md
|
106
|
+
- config/_default_shared.yml
|
107
|
+
- config/_rails_shared.yml
|
92
108
|
- config/default.yml
|
109
|
+
- config/default_deprecated.yml
|
110
|
+
- config/default_edge.yml
|
93
111
|
- config/rails.yml
|
112
|
+
- config/rails_deprecated.yml
|
113
|
+
- config/rails_edge.yml
|
94
114
|
- guides/rails-controller-render-shorthand.md
|
95
115
|
- guides/rails-render-inline.md
|
96
116
|
- guides/rails-render-literal.md
|
97
117
|
- lib/rubocop/cop/github.rb
|
118
|
+
- lib/rubocop/cop/github/insecure_hash_algorithm.rb
|
98
119
|
- lib/rubocop/cop/github/rails_application_record.rb
|
99
120
|
- lib/rubocop/cop/github/rails_controller_render_action_symbol.rb
|
100
121
|
- lib/rubocop/cop/github/rails_controller_render_literal.rb
|
@@ -105,6 +126,7 @@ files:
|
|
105
126
|
- lib/rubocop/cop/github/rails_view_render_literal.rb
|
106
127
|
- lib/rubocop/cop/github/rails_view_render_paths_exist.rb
|
107
128
|
- lib/rubocop/cop/github/rails_view_render_shorthand.rb
|
129
|
+
- lib/rubocop/cop/github/render_literal_helpers.rb
|
108
130
|
homepage: https://github.com/github/rubocop-github
|
109
131
|
licenses:
|
110
132
|
- MIT
|
@@ -117,15 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
139
|
requirements:
|
118
140
|
- - ">="
|
119
141
|
- !ruby/object:Gem::Version
|
120
|
-
version: 2.
|
142
|
+
version: 2.5.0
|
121
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
144
|
requirements:
|
123
145
|
- - ">="
|
124
146
|
- !ruby/object:Gem::Version
|
125
147
|
version: '0'
|
126
148
|
requirements: []
|
127
|
-
|
128
|
-
rubygems_version: 2.7.6
|
149
|
+
rubygems_version: 3.0.3
|
129
150
|
signing_key:
|
130
151
|
specification_version: 4
|
131
152
|
summary: RuboCop GitHub
|