lifen-ruby-style 0.2.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,43 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lifen-ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Lifen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-20 00:00:00.000000000 Z
11
+ date: 2020-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: overcommit
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pronto
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pronto-rubocop
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.1'
13
55
  - !ruby/object:Gem::Dependency
14
56
  name: rubocop
15
57
  requirement: !ruby/object:Gem::Requirement
16
58
  requirements:
17
59
  - - "~>"
18
60
  - !ruby/object:Gem::Version
19
- version: '0.58'
61
+ version: '0.8'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-performance
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.5'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.5'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.4'
20
90
  type: :runtime
21
91
  prerelease: false
22
92
  version_requirements: !ruby/object:Gem::Requirement
23
93
  requirements:
24
94
  - - "~>"
25
95
  - !ruby/object:Gem::Version
26
- version: '0.58'
96
+ version: '2.4'
27
97
  - !ruby/object:Gem::Dependency
28
98
  name: rubocop-rspec
29
99
  requirement: !ruby/object:Gem::Requirement
30
100
  requirements:
31
101
  - - "~>"
32
102
  - !ruby/object:Gem::Version
33
- version: '1.29'
103
+ version: '1.38'
34
104
  type: :runtime
35
105
  prerelease: false
36
106
  version_requirements: !ruby/object:Gem::Requirement
37
107
  requirements:
38
108
  - - "~>"
39
109
  - !ruby/object:Gem::Version
40
- version: '1.29'
110
+ version: '1.38'
41
111
  - !ruby/object:Gem::Dependency
42
112
  name: bundler
43
113
  requirement: !ruby/object:Gem::Requirement
@@ -75,16 +145,20 @@ extra_rdoc_files: []
75
145
  files:
76
146
  - ".github/CODEOWNERS"
77
147
  - ".gitignore"
148
+ - ".overcommit.yml"
78
149
  - ".rubocop.yml"
79
150
  - Gemfile
80
151
  - LICENSE
81
152
  - README.md
82
153
  - RELEASING.md
83
154
  - Rakefile
84
- - default.yml
155
+ - default_overcommit.yml
156
+ - default_rubocop.yml
85
157
  - lib/lifen/ruby_style.rb
86
158
  - lib/lifen/ruby_style/version.rb
87
159
  - lifen-ruby-style.gemspec
160
+ - rubocop
161
+ - style_guide.md
88
162
  homepage: https://github.com/honestica/lifen-ruby-style
89
163
  licenses: []
90
164
  metadata:
@@ -104,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
178
  - !ruby/object:Gem::Version
105
179
  version: '0'
106
180
  requirements: []
107
- rubygems_version: 3.0.3
181
+ rubygems_version: 3.0.6
108
182
  signing_key:
109
183
  specification_version: 4
110
184
  summary: Lifen style guides and shared style configs.
data/default.yml DELETED
@@ -1,170 +0,0 @@
1
- require: rubocop-rspec
2
-
3
- AllCops:
4
- DisplayCopNames: true
5
- DisplayStyleGuide: true
6
- ExtraDetails: false
7
- TargetRubyVersion: 2.5
8
- Exclude:
9
- - 'test/**/*.rb'
10
- - 'bin/*'
11
- - '*.gemspec'
12
- - 'db/*'
13
- - 'db/migrate/*.rb'
14
-
15
- Bundler/OrderedGems:
16
- Enabled: false
17
-
18
- Layout/AccessModifierIndentation:
19
- EnforcedStyle: indent
20
-
21
- Layout/EmptyLinesAroundClassBody:
22
- EnforcedStyle: empty_lines
23
-
24
- Layout/IndentationConsistency:
25
- EnforcedStyle: indented_internal_methods
26
-
27
- Layout/SpaceInsideHashLiteralBraces:
28
- EnforcedStyle: no_space
29
-
30
- Lint/AssignmentInCondition:
31
- Enabled: false
32
-
33
- Lint/AmbiguousBlockAssociation:
34
- Enabled: false
35
-
36
- Lint/RescueException:
37
- Enabled: false
38
-
39
- Lint/UnusedBlockArgument:
40
- Enabled: false
41
-
42
- Metrics/AbcSize:
43
- Enabled: false
44
-
45
- Metrics/BlockLength:
46
- Enabled: false
47
-
48
- Metrics/ClassLength:
49
- Enabled: false
50
-
51
- Metrics/CyclomaticComplexity:
52
- Enabled: false
53
-
54
- Metrics/LineLength:
55
- Enabled: false
56
-
57
- Metrics/MethodLength:
58
- Enabled: false
59
-
60
- Naming/MemoizedInstanceVariableName:
61
- EnforcedStyleForLeadingUnderscores: optional
62
-
63
- Metrics/ParameterLists:
64
- Enabled: false
65
-
66
- Metrics/PerceivedComplexity:
67
- Enabled: false
68
-
69
- Naming/VariableNumber:
70
- EnforcedStyle: snake_case
71
-
72
- Style/BlockDelimiters:
73
- EnforcedStyle: braces_for_chaining
74
-
75
- Style/ClassAndModuleChildren:
76
- Enabled: false
77
-
78
- Style/Documentation:
79
- Enabled: false
80
-
81
- Style/FrozenStringLiteralComment:
82
- EnforcedStyle: never
83
-
84
- Style/GuardClause:
85
- Enabled: false
86
-
87
- Style/IfInsideElse:
88
- Enabled: false
89
-
90
- Style/NegatedIf:
91
- Enabled: false
92
-
93
- Style/NumericLiterals:
94
- Enabled: false
95
-
96
- Style/NumericPredicate:
97
- AutoCorrect: true
98
-
99
- Style/RegexpLiteral:
100
- EnforcedStyle: slashes
101
- AllowInnerSlashes: true
102
-
103
- Style/MissingRespondToMissing:
104
- Enabled: false
105
-
106
- Style/StructInheritance:
107
- Enabled: false
108
-
109
- Style/SymbolArray:
110
- EnforcedStyle: brackets
111
-
112
- Style/WordArray:
113
- EnforcedStyle: brackets
114
-
115
- RSpec/AnyInstance:
116
- Enabled: false
117
-
118
- RSpec/Be:
119
- Enabled: false
120
-
121
- RSpec/DescribedClass:
122
- EnforcedStyle: explicit
123
-
124
- RSpec/ExampleLength:
125
- Enabled: false
126
-
127
- RSpec/HookArgument:
128
- EnforcedStyle: each
129
-
130
- RSpec/MultipleExpectations:
131
- Enabled: false
132
-
133
- RSpec/ImplicitExpect:
134
- EnforcedStyle: is_expected
135
-
136
- RSpec/ImplicitSubject:
137
- Enabled: false
138
-
139
- RSpec/MessageSpies:
140
- EnforcedStyle: have_received
141
-
142
- RSpec/NestedGroups:
143
- Enabled: false
144
-
145
- RSpec/NotToNot:
146
- EnforcedStyle: to_not
147
-
148
- RSpec/VerifiedDoubles:
149
- Enabled: false
150
-
151
- RSpec/ContextWording:
152
- Enabled: false
153
-
154
- RSpec/LetSetup:
155
- Enabled: false
156
-
157
- RSpec/RepeatedDescription:
158
- Enabled: false
159
-
160
- RSpec/EmptyExampleGroup:
161
- Enabled: false
162
-
163
- RSpec/InstanceVariable:
164
- Enabled: false
165
-
166
- RSpec/DescribeClass:
167
- Enabled: false
168
-
169
- RSpec/OverwritingSetup:
170
- Enabled: false