gitlab-styles 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitlab-ci.yml +2 -2
- data/.rubocop.yml +3 -1
- data/.rubocop_todo.yml +7 -0
- data/README.md +28 -1
- data/gitlab-styles.gemspec +3 -3
- data/lib/gitlab/styles/rubocop/cop/active_record_dependent.rb +1 -1
- data/lib/gitlab/styles/rubocop/cop/active_record_serialize.rb +1 -1
- data/lib/gitlab/styles/rubocop/cop/custom_error_class.rb +1 -1
- data/lib/gitlab/styles/rubocop/cop/gem_fetcher.rb +1 -1
- data/lib/gitlab/styles/rubocop/cop/in_batches.rb +1 -1
- data/lib/gitlab/styles/rubocop/cop/polymorphic_associations.rb +1 -1
- data/lib/gitlab/styles/rubocop/cop/redirect_with_status.rb +1 -1
- data/lib/gitlab/styles/rubocop/cop/rspec/single_line_hook.rb +3 -3
- data/lib/gitlab/styles/version.rb +1 -1
- data/rubocop-all.yml +10 -0
- data/rubocop-bundler.yml +3 -0
- data/rubocop-default.yml +13 -1215
- data/rubocop-gemspec.yml +5 -0
- data/rubocop-layout.yml +221 -0
- data/rubocop-lint.yml +198 -0
- data/rubocop-metrics.yml +46 -0
- data/rubocop-naming.yml +48 -0
- data/rubocop-performance.yml +55 -0
- data/rubocop-rails.yml +97 -0
- data/rubocop-rspec.yml +143 -0
- data/rubocop-security.yml +46 -0
- data/rubocop-style.yml +312 -0
- metadata +26 -13
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.51'
|
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.
|
26
|
+
version: '0.51'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: rubocop-
|
28
|
+
name: rubocop-gitlab-security
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: rubocop-
|
42
|
+
name: rubocop-rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '1.19'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '1.19'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
61
|
+
version: '1.16'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
68
|
+
version: '1.16'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- ".gitlab-ci.yml"
|
106
106
|
- ".rspec"
|
107
107
|
- ".rubocop.yml"
|
108
|
+
- ".rubocop_todo.yml"
|
108
109
|
- CODE_OF_CONDUCT.md
|
109
110
|
- Gemfile
|
110
111
|
- LICENSE.txt
|
@@ -126,7 +127,19 @@ files:
|
|
126
127
|
- lib/gitlab/styles/rubocop/migration_helpers.rb
|
127
128
|
- lib/gitlab/styles/rubocop/model_helpers.rb
|
128
129
|
- lib/gitlab/styles/version.rb
|
130
|
+
- rubocop-all.yml
|
131
|
+
- rubocop-bundler.yml
|
129
132
|
- rubocop-default.yml
|
133
|
+
- rubocop-gemspec.yml
|
134
|
+
- rubocop-layout.yml
|
135
|
+
- rubocop-lint.yml
|
136
|
+
- rubocop-metrics.yml
|
137
|
+
- rubocop-naming.yml
|
138
|
+
- rubocop-performance.yml
|
139
|
+
- rubocop-rails.yml
|
140
|
+
- rubocop-rspec.yml
|
141
|
+
- rubocop-security.yml
|
142
|
+
- rubocop-style.yml
|
130
143
|
homepage: https://gitlab.com/gitlab-org/gitlab-styles
|
131
144
|
licenses:
|
132
145
|
- MIT
|
@@ -147,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
160
|
version: '0'
|
148
161
|
requirements: []
|
149
162
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.7.0
|
151
164
|
signing_key:
|
152
165
|
specification_version: 4
|
153
166
|
summary: GitLab style guides and shared style configs.
|