house_style 1.6.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -4
- data/.travis.yml +6 -3
- data/CHANGELOG.md +31 -0
- data/Rakefile +8 -0
- data/house_style.gemspec +9 -16
- data/performance/default_rules.yml +32 -0
- data/performance/rubocop.yml +4 -0
- data/rails/db_migrate.yml +6 -6
- data/rails/default_rules.yml +34 -0
- data/rails/rubocop.yml +12 -2
- data/rails/style.yml +31 -0
- data/rake/rubocop.yml +1 -0
- data/rspec/rubocop.yml +14 -10
- data/ruby/configuration.yml +6 -1
- data/ruby/default_rules.yml +60 -0
- data/ruby/metrics.yml +0 -8
- data/ruby/rubocop.yml +3 -0
- data/ruby/style.yml +20 -18
- metadata +52 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60dd79ae28c2a1699e7484038e09b801a34f6a61d7657ab7ba64a7cbf70db40d
|
4
|
+
data.tar.gz: 78084875ed16986c3b8291e356498ec97607454d3364b0532e744d81074af377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3eeb1147984ef9a73d8ec6510dd6df3300e61abc487e66d88ec84c3cc27b00ee00c8bb9756e0283b2ebba06f85ab8fe95980ddae2b9f4fc0cfcf2d916217032
|
7
|
+
data.tar.gz: 7edfe2d0ebff0553ff58c1c582196e5ef17c80e32dbc9f7805f2fa43fa85d3e9efc6bab11675707218d5a4a4ff0d0b7f64e9c396a6fd95e5feab18de42755214
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,36 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 2.1.0
|
4
|
+
- Enable NewCops by default
|
5
|
+
- Support Rubocop up to 1.22.x and latest extensions
|
6
|
+
|
7
|
+
## 2.0.2
|
8
|
+
### Bug fixes
|
9
|
+
- Exclude Guardfile from Ruby & Rails configurations
|
10
|
+
|
11
|
+
## 2.0.1
|
12
|
+
### Bug fixes
|
13
|
+
- Ignore other database schemas in /db for Rails apps
|
14
|
+
- Disable `RSpec/MultipleExpectations` cop.
|
15
|
+
- Tweak `RSpec/MultipleMemoizedHelpers` to 10.
|
16
|
+
|
17
|
+
## 2.0.0
|
18
|
+
### New features
|
19
|
+
|
20
|
+
- Add new rubocop extensions: rubocop-performance & rubocop-rake. Both enabled by default on Ruby configuration.
|
21
|
+
|
22
|
+
### Bug fixes
|
23
|
+
|
24
|
+
- Restrict extensions versions to avoid introducing new cops in the apps depending on house_style without previously configuing them here.
|
25
|
+
- Exclude most Rails default configuration files for our cops to decrease the number of conflicts during Rails upgrades.
|
26
|
+
|
27
|
+
### Changes
|
28
|
+
|
29
|
+
- Update Travis CI configuration and add a default Rake task (rubocop)
|
30
|
+
- Upgrade development dependencies: Bundler & Rake.
|
31
|
+
- Upgrade rubocop to 1.15.0, rubocop-rails to 2.10.1 and rubocop-rspec to 2.3.0.
|
32
|
+
- Remove old pre-1.0 post-install message.
|
33
|
+
|
3
34
|
## 1.6.0
|
4
35
|
- [FIX] Require Rubocop higher than 0.49 to fix security issue: https://nvd.nist.gov/vuln/detail/CVE-2017-8418
|
5
36
|
- [FIX] Rename `IndentHash` to `IndentFirstHashElement`, and require Rubocop 0.68 or higher because of this change.
|
data/Rakefile
CHANGED
data/house_style.gemspec
CHANGED
@@ -1,11 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
lib = File.expand_path('../lib', __FILE__)
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
4
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
3
|
|
6
4
|
Gem::Specification.new do |spec|
|
7
5
|
spec.name = 'house_style'
|
8
|
-
spec.version = '1.
|
6
|
+
spec.version = '2.1.0'
|
9
7
|
spec.authors = ['Altmetric', 'Scott Matthewman']
|
10
8
|
spec.email = ['engineering@altmetric.com', 'scott.matthewman@gmail.com']
|
11
9
|
|
@@ -14,20 +12,15 @@ Gem::Specification.new do |spec|
|
|
14
12
|
spec.homepage = 'https://github.com/altmetric/house_style'
|
15
13
|
spec.license = 'MIT'
|
16
14
|
|
17
|
-
spec.post_install_message = <<-ENDOFMESSAGE
|
18
|
-
If you are updating house_style from version 1.0.0 or older, note that you can
|
19
|
-
now remove any reference to TargetRubyVersion in your project's .rubocop.yml
|
20
|
-
file. You should specify a .ruby-version file for your entire project, and that
|
21
|
-
will be taken into account by rubocop also.
|
22
|
-
ENDOFMESSAGE
|
23
|
-
|
24
15
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
16
|
spec.require_paths = ['lib']
|
26
17
|
|
27
|
-
spec.add_dependency 'rubocop', '>= 0
|
28
|
-
spec.add_dependency 'rubocop-
|
29
|
-
spec.add_dependency 'rubocop-
|
18
|
+
spec.add_dependency 'rubocop', '>= 1.0', '< 1.23'
|
19
|
+
spec.add_dependency 'rubocop-performance', '~> 1.11.3'
|
20
|
+
spec.add_dependency 'rubocop-rails', '~> 2.12.3'
|
21
|
+
spec.add_dependency 'rubocop-rake', '< 1.0'
|
22
|
+
spec.add_dependency 'rubocop-rspec', '~> 2.5.0'
|
30
23
|
|
31
|
-
spec.add_development_dependency 'bundler', '~>
|
32
|
-
spec.add_development_dependency 'rake', '~>
|
24
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
25
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
33
26
|
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
Performance/AncestorsInclude:
|
2
|
+
Enabled: true
|
3
|
+
Performance/BigDecimalWithNumericArgument:
|
4
|
+
Enabled: true
|
5
|
+
Performance/BlockGivenWithExplicitBlock:
|
6
|
+
Enabled: true
|
7
|
+
Performance/CollectionLiteralInLoop:
|
8
|
+
Enabled: true
|
9
|
+
Performance/ConstantRegexp:
|
10
|
+
Enabled: true
|
11
|
+
Performance/MapCompact:
|
12
|
+
Enabled: true
|
13
|
+
Performance/MethodObjectAsBlock:
|
14
|
+
Enabled: true
|
15
|
+
Performance/RedundantEqualityComparisonBlock:
|
16
|
+
Enabled: true
|
17
|
+
Performance/RedundantSortBlock:
|
18
|
+
Enabled: true
|
19
|
+
Performance/RedundantSplitRegexpArgument:
|
20
|
+
Enabled: true
|
21
|
+
Performance/RedundantStringChars:
|
22
|
+
Enabled: true
|
23
|
+
Performance/ReverseFirst:
|
24
|
+
Enabled: true
|
25
|
+
Performance/SortReverse:
|
26
|
+
Enabled: true
|
27
|
+
Performance/Squeeze:
|
28
|
+
Enabled: true
|
29
|
+
Performance/StringInclude:
|
30
|
+
Enabled: true
|
31
|
+
Performance/Sum:
|
32
|
+
Enabled: true
|
data/rails/db_migrate.yml
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
|
1
|
+
Layout/EmptyLineBetweenDefs:
|
2
|
+
Enabled: false
|
3
|
+
Layout/LineLength:
|
4
|
+
Enabled: false
|
5
|
+
Metrics/AbcSize:
|
2
6
|
Enabled: false
|
3
|
-
Metrics/
|
7
|
+
Metrics/ClassLength:
|
4
8
|
Enabled: false
|
5
9
|
Metrics/MethodLength:
|
6
10
|
Enabled: false
|
@@ -8,9 +12,5 @@ Style/BlockDelimiters:
|
|
8
12
|
Enabled: false
|
9
13
|
Style/Documentation:
|
10
14
|
Enabled: false
|
11
|
-
Layout/EmptyLineBetweenDefs:
|
12
|
-
Enabled: false
|
13
15
|
Style/StringLiterals:
|
14
16
|
Enabled: false
|
15
|
-
Metrics/AbcSize:
|
16
|
-
Enabled: false
|
@@ -0,0 +1,34 @@
|
|
1
|
+
Rails/ActiveRecordCallbacksOrder:
|
2
|
+
Enabled: true
|
3
|
+
Rails/AfterCommitOverride:
|
4
|
+
Enabled: true
|
5
|
+
Rails/AttributeDefaultBlockValue:
|
6
|
+
Enabled: true
|
7
|
+
Rails/FindById:
|
8
|
+
Enabled: true
|
9
|
+
Rails/Inquiry:
|
10
|
+
Enabled: true
|
11
|
+
Rails/MailerName:
|
12
|
+
Enabled: true
|
13
|
+
Rails/MatchRoute:
|
14
|
+
Enabled: true
|
15
|
+
Rails/NegateInclude:
|
16
|
+
Enabled: true
|
17
|
+
Rails/Pluck:
|
18
|
+
Enabled: true
|
19
|
+
Rails/PluckInWhere:
|
20
|
+
Enabled: true
|
21
|
+
Rails/RenderInline:
|
22
|
+
Enabled: true
|
23
|
+
Rails/RenderPlainText:
|
24
|
+
Enabled: true
|
25
|
+
Rails/SquishedSQLHeredocs:
|
26
|
+
Enabled: true
|
27
|
+
Rails/TimeZoneAssignment:
|
28
|
+
Enabled: true
|
29
|
+
Rails/WhereEquals:
|
30
|
+
Enabled: true
|
31
|
+
Rails/WhereExists:
|
32
|
+
Enabled: true
|
33
|
+
Rails/WhereNot:
|
34
|
+
Enabled: true
|
data/rails/rubocop.yml
CHANGED
@@ -1,15 +1,25 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ../ruby/rubocop.yml
|
3
|
+
- ./default_rules.yml
|
4
|
+
- ./style.yml
|
5
|
+
|
2
6
|
AllCops:
|
3
7
|
Exclude:
|
4
8
|
- bin/**/*
|
5
9
|
- vendor/**/*
|
6
|
-
- db
|
10
|
+
- db/*schema.rb
|
7
11
|
- lib/tasks/cucumber.rake
|
12
|
+
- Guardfile
|
8
13
|
Rails:
|
9
14
|
Enabled: true
|
10
15
|
Rails/InverseOf:
|
11
16
|
Enabled: false
|
12
17
|
Rails/HasManyOrHasOneDependent:
|
13
18
|
Enabled: false
|
19
|
+
Rails/EnvironmentVariableAccess:
|
20
|
+
Enabled: true
|
21
|
+
AllowReads: true
|
22
|
+
Rails/ShortI18n:
|
23
|
+
Enabled: false
|
14
24
|
|
15
25
|
require: rubocop-rails
|
data/rails/style.yml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Exclude Rails default configuration files that offend our cops to avoid
|
2
|
+
# conflicts during Rails upgrades
|
3
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
4
|
+
Exclude:
|
5
|
+
- config/environments/production.rb
|
6
|
+
|
7
|
+
Rails/FilePath:
|
8
|
+
Exclude:
|
9
|
+
- config/environments/development.rb
|
10
|
+
|
11
|
+
Style/GlobalStdStream:
|
12
|
+
Exclude:
|
13
|
+
- config/environments/production.rb
|
14
|
+
|
15
|
+
Style/StringLiterals:
|
16
|
+
Exclude:
|
17
|
+
- config/application.rb
|
18
|
+
- config/boot.rb
|
19
|
+
- config/environment.rb
|
20
|
+
- config/environments/development.rb
|
21
|
+
- config/environments/production.rb
|
22
|
+
- config/environments/test.rb
|
23
|
+
- config/initializers/**
|
24
|
+
- config/puma.rb
|
25
|
+
- config.ru
|
26
|
+
- Rakefile
|
27
|
+
|
28
|
+
Style/SymbolArray:
|
29
|
+
Exclude:
|
30
|
+
- config/initializers/filter_parameter_logging.rb
|
31
|
+
|
data/rake/rubocop.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require: rubocop-rake
|
data/rspec/rubocop.yml
CHANGED
@@ -2,14 +2,26 @@ inherit_from: ../ruby/rubocop.yml
|
|
2
2
|
|
3
3
|
require: rubocop-rspec
|
4
4
|
|
5
|
-
|
5
|
+
Layout/LineLength:
|
6
|
+
Enabled: false
|
7
|
+
Layout/SpaceInsideHashLiteralBraces:
|
6
8
|
Enabled: false
|
7
|
-
|
9
|
+
Lint/AmbiguousBlockAssociation:
|
10
|
+
Exclude:
|
11
|
+
- spec/**/*
|
12
|
+
Metrics/BlockLength:
|
8
13
|
Enabled: false
|
9
14
|
Metrics/ModuleLength:
|
10
15
|
Enabled: false
|
16
|
+
RSpec/ContextWording:
|
17
|
+
Exclude:
|
18
|
+
- spec/support/shared_contexts/rake.rb
|
11
19
|
RSpec/ExampleLength:
|
12
20
|
Enabled: false
|
21
|
+
RSpec/MultipleExpectations:
|
22
|
+
Enabled: false
|
23
|
+
RSpec/MultipleMemoizedHelpers:
|
24
|
+
Max: 10
|
13
25
|
RSpec/NotToNot:
|
14
26
|
EnforcedStyle: to_not
|
15
27
|
Style/BlockDelimiters:
|
@@ -17,16 +29,8 @@ Style/BlockDelimiters:
|
|
17
29
|
- spec/factories/**/*.rb
|
18
30
|
Style/Documentation:
|
19
31
|
Enabled: false
|
20
|
-
Layout/SpaceInsideHashLiteralBraces:
|
21
|
-
Enabled: false
|
22
32
|
Style/SymbolProc:
|
23
33
|
Exclude:
|
24
34
|
- spec/factories/**/*.rb
|
25
35
|
Style/WordArray:
|
26
36
|
Enabled: false
|
27
|
-
Lint/AmbiguousBlockAssociation:
|
28
|
-
Exclude:
|
29
|
-
- spec/**/*
|
30
|
-
RSpec/ContextWording:
|
31
|
-
Exclude:
|
32
|
-
- spec/support/shared_contexts/rake.rb
|
data/ruby/configuration.yml
CHANGED
@@ -0,0 +1,60 @@
|
|
1
|
+
Gemspec/DateAssignment:
|
2
|
+
Enabled: true
|
3
|
+
Layout/SpaceBeforeBrackets:
|
4
|
+
Enabled: true
|
5
|
+
Lint/AmbiguousAssignment:
|
6
|
+
Enabled: true
|
7
|
+
Lint/DeprecatedConstants:
|
8
|
+
Enabled: true
|
9
|
+
Lint/DuplicateBranch:
|
10
|
+
Enabled: true
|
11
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
12
|
+
Enabled: true
|
13
|
+
Lint/EmptyBlock:
|
14
|
+
Enabled: true
|
15
|
+
Lint/EmptyClass:
|
16
|
+
Enabled: true
|
17
|
+
Lint/LambdaWithoutLiteralBlock:
|
18
|
+
Enabled: true
|
19
|
+
Lint/NoReturnInBeginEndBlocks:
|
20
|
+
Enabled: true
|
21
|
+
Lint/NumberedParameterAssignment:
|
22
|
+
Enabled: true
|
23
|
+
Lint/OrAssignmentToConstant:
|
24
|
+
Enabled: true
|
25
|
+
Lint/RedundantDirGlobSort:
|
26
|
+
Enabled: true
|
27
|
+
Lint/SymbolConversion:
|
28
|
+
Enabled: true
|
29
|
+
Lint/ToEnumArguments:
|
30
|
+
Enabled: true
|
31
|
+
Lint/TripleQuotes:
|
32
|
+
Enabled: true
|
33
|
+
Lint/UnexpectedBlockArity:
|
34
|
+
Enabled: true
|
35
|
+
Lint/UnmodifiedReduceAccumulator:
|
36
|
+
Enabled: true
|
37
|
+
Style/ArgumentsForwarding:
|
38
|
+
Enabled: true
|
39
|
+
Style/CollectionCompact:
|
40
|
+
Enabled: true
|
41
|
+
Style/DocumentDynamicEvalDefinition:
|
42
|
+
Enabled: true
|
43
|
+
Style/EndlessMethod:
|
44
|
+
Enabled: true
|
45
|
+
Style/HashConversion:
|
46
|
+
Enabled: true
|
47
|
+
Style/HashExcept:
|
48
|
+
Enabled: true
|
49
|
+
Style/IfWithBooleanLiteralBranches:
|
50
|
+
Enabled: true
|
51
|
+
Style/NegatedIfElseCondition:
|
52
|
+
Enabled: true
|
53
|
+
Style/NilLambda:
|
54
|
+
Enabled: true
|
55
|
+
Style/RedundantArgument:
|
56
|
+
Enabled: true
|
57
|
+
Style/StringChars:
|
58
|
+
Enabled: true
|
59
|
+
Style/SwapValues:
|
60
|
+
Enabled: true
|
data/ruby/metrics.yml
CHANGED
@@ -1,10 +1,2 @@
|
|
1
|
-
Metrics/LineLength:
|
2
|
-
Max: 120
|
3
|
-
Details: >-
|
4
|
-
If lines are too short, methods become hard to read because you must
|
5
|
-
constantly jump from line to line. If lines are too long, following
|
6
|
-
the flow can be hard because it becomes harder to scan back and
|
7
|
-
locate the start of the next line. 80 characters is generally a bit
|
8
|
-
too short; 120 characters is a good compromise.
|
9
1
|
Metrics/MethodLength:
|
10
2
|
Max: 10
|
data/ruby/rubocop.yml
CHANGED
data/ruby/style.yml
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
Layout/EmptyLineBetweenDefs:
|
2
|
+
AllowAdjacentOneLineDefs: true
|
3
|
+
Layout/FirstArrayElementIndentation:
|
4
|
+
EnforcedStyle: consistent
|
5
|
+
Layout/FirstHashElementIndentation:
|
6
|
+
EnforcedStyle: consistent
|
7
|
+
Layout/MultilineOperationIndentation:
|
8
|
+
Enabled: false
|
9
|
+
Layout/MultilineMethodCallIndentation:
|
10
|
+
EnforcedStyle: indented
|
11
|
+
Layout/LineLength:
|
12
|
+
Max: 120
|
13
|
+
Details: >-
|
14
|
+
If lines are too short, methods become hard to read because you must
|
15
|
+
constantly jump from line to line. If lines are too long, following
|
16
|
+
the flow can be hard because it becomes harder to scan back and
|
17
|
+
locate the start of the next line. 80 characters is generally a bit
|
18
|
+
too short; 120 characters is a good compromise.
|
19
|
+
Style/AccessModifierDeclarations:
|
20
|
+
Enabled: false
|
1
21
|
Style/BlockDelimiters:
|
2
22
|
EnforcedStyle: semantic
|
3
23
|
FunctionalMethods:
|
@@ -17,12 +37,6 @@ Style/BlockDelimiters:
|
|
17
37
|
- let!
|
18
38
|
- subject
|
19
39
|
- watch
|
20
|
-
Style/BracesAroundHashParameters:
|
21
|
-
EnforcedStyle: context_dependent
|
22
|
-
Details: >-
|
23
|
-
When the last (or only) argument to a method is a Hash,
|
24
|
-
omit the { } braces. The exception is if the preceding
|
25
|
-
argument is also a Hash.
|
26
40
|
Style/CollectionMethods:
|
27
41
|
Enabled: true
|
28
42
|
Style/CommandLiteral:
|
@@ -31,24 +45,14 @@ Style/Copyright:
|
|
31
45
|
Enabled: false
|
32
46
|
Style/Documentation:
|
33
47
|
Enabled: false
|
34
|
-
Layout/EmptyLineBetweenDefs:
|
35
|
-
AllowAdjacentOneLineDefs: true
|
36
48
|
Style/FrozenStringLiteralComment:
|
37
49
|
Enabled: false
|
38
50
|
Style/GuardClause:
|
39
51
|
MinBodyLength: 3
|
40
52
|
Style/HashSyntax:
|
41
53
|
EnforcedStyle: ruby19_no_mixed_keys
|
42
|
-
Layout/IndentFirstArrayElement:
|
43
|
-
EnforcedStyle: consistent
|
44
|
-
Layout/IndentFirstHashElement:
|
45
|
-
EnforcedStyle: consistent
|
46
54
|
Style/MethodCalledOnDoEndBlock:
|
47
55
|
Enabled: true
|
48
|
-
Layout/MultilineOperationIndentation:
|
49
|
-
Enabled: false
|
50
|
-
Layout/MultilineMethodCallIndentation:
|
51
|
-
EnforcedStyle: indented
|
52
56
|
Style/NonNilCheck:
|
53
57
|
IncludeSemanticChanges: true
|
54
58
|
Style/NumericLiterals:
|
@@ -60,5 +64,3 @@ Style/StringLiterals:
|
|
60
64
|
Enabled: true
|
61
65
|
Style/StringMethods:
|
62
66
|
Enabled: true
|
63
|
-
Style/AccessModifierDeclarations:
|
64
|
-
Enabled: false
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: house_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Altmetric
|
8
8
|
- Scott Matthewman
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -17,76 +17,104 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '0
|
20
|
+
version: '1.0'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '1.23'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '0
|
30
|
+
version: '1.0'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.23'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rubocop-performance
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.11.3
|
41
|
+
type: :runtime
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.11.3
|
34
48
|
- !ruby/object:Gem::Dependency
|
35
49
|
name: rubocop-rails
|
36
50
|
requirement: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 2.12.3
|
41
55
|
type: :runtime
|
42
56
|
prerelease: false
|
43
57
|
version_requirements: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
61
|
+
version: 2.12.3
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rubocop-rake
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "<"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
type: :runtime
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "<"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
48
76
|
- !ruby/object:Gem::Dependency
|
49
77
|
name: rubocop-rspec
|
50
78
|
requirement: !ruby/object:Gem::Requirement
|
51
79
|
requirements:
|
52
80
|
- - "~>"
|
53
81
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
82
|
+
version: 2.5.0
|
55
83
|
type: :runtime
|
56
84
|
prerelease: false
|
57
85
|
version_requirements: !ruby/object:Gem::Requirement
|
58
86
|
requirements:
|
59
87
|
- - "~>"
|
60
88
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
89
|
+
version: 2.5.0
|
62
90
|
- !ruby/object:Gem::Dependency
|
63
91
|
name: bundler
|
64
92
|
requirement: !ruby/object:Gem::Requirement
|
65
93
|
requirements:
|
66
94
|
- - "~>"
|
67
95
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
96
|
+
version: '2.0'
|
69
97
|
type: :development
|
70
98
|
prerelease: false
|
71
99
|
version_requirements: !ruby/object:Gem::Requirement
|
72
100
|
requirements:
|
73
101
|
- - "~>"
|
74
102
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
103
|
+
version: '2.0'
|
76
104
|
- !ruby/object:Gem::Dependency
|
77
105
|
name: rake
|
78
106
|
requirement: !ruby/object:Gem::Requirement
|
79
107
|
requirements:
|
80
108
|
- - "~>"
|
81
109
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
110
|
+
version: '13.0'
|
83
111
|
type: :development
|
84
112
|
prerelease: false
|
85
113
|
version_requirements: !ruby/object:Gem::Requirement
|
86
114
|
requirements:
|
87
115
|
- - "~>"
|
88
116
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
117
|
+
version: '13.0'
|
90
118
|
description: Configuration files and other snippets to help you apply standards across
|
91
119
|
multiple projects
|
92
120
|
email:
|
@@ -114,10 +142,16 @@ files:
|
|
114
142
|
- lib/generators/house_style/templates/db_migrate_rubocop.yml
|
115
143
|
- lib/generators/house_style/templates/rspec-rubocop.yml
|
116
144
|
- lib/generators/house_style/templates/rubocop.yml
|
145
|
+
- performance/default_rules.yml
|
146
|
+
- performance/rubocop.yml
|
117
147
|
- rails/db_migrate.yml
|
148
|
+
- rails/default_rules.yml
|
118
149
|
- rails/rubocop.yml
|
150
|
+
- rails/style.yml
|
151
|
+
- rake/rubocop.yml
|
119
152
|
- rspec/rubocop.yml
|
120
153
|
- ruby/configuration.yml
|
154
|
+
- ruby/default_rules.yml
|
121
155
|
- ruby/metrics.yml
|
122
156
|
- ruby/rubocop.yml
|
123
157
|
- ruby/style.yml
|
@@ -125,11 +159,7 @@ homepage: https://github.com/altmetric/house_style
|
|
125
159
|
licenses:
|
126
160
|
- MIT
|
127
161
|
metadata: {}
|
128
|
-
post_install_message:
|
129
|
-
If you are updating house_style from version 1.0.0 or older, note that you can
|
130
|
-
now remove any reference to TargetRubyVersion in your project's .rubocop.yml
|
131
|
-
file. You should specify a .ruby-version file for your entire project, and that
|
132
|
-
will be taken into account by rubocop also.
|
162
|
+
post_install_message:
|
133
163
|
rdoc_options: []
|
134
164
|
require_paths:
|
135
165
|
- lib
|
@@ -144,8 +174,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
174
|
- !ruby/object:Gem::Version
|
145
175
|
version: '0'
|
146
176
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
148
|
-
signing_key:
|
177
|
+
rubygems_version: 3.2.22
|
178
|
+
signing_key:
|
149
179
|
specification_version: 4
|
150
180
|
summary: A centralised store of house style rules
|
151
181
|
test_files: []
|