house_style 1.5.0 → 2.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e37853a62b316acf3feb0e25a8a47c80dad85a33021581a758e5c63ef8fceb39
4
- data.tar.gz: a673e1f59bb879b18b037482b360727825dd510a78cd1d670dee2057d61d4337
3
+ metadata.gz: d2df6f9acf71a94bb022943f74577fab9a27194df1c03da4478816637c9f0beb
4
+ data.tar.gz: 7a8ca38d925bec527e8807683fce9a4218bf7b9f374ad4852bc0b8acd386c549
5
5
  SHA512:
6
- metadata.gz: 14c2def27308a3770033d82805334e3f58e1d3d3bf64f8badb6bd5a37cd3a56ab06745fc9f1b7829c500ef6a919b2fbddfaaafc11fc7d9404bb768b11b03e34a
7
- data.tar.gz: fd2a5dc5dd8b17fc582d878a7097b9ff0ea94984a5995988926a608ea3c9dd653db0b07b5274bfae8363155572168d5ec650b5874ef5d8c0ac5c7f3873911cf6
6
+ metadata.gz: 80d7c00eee293072163215b97a41fbf7971997bb4c64157db2c54fa66652bea49f7610115362a71df055b37fb6f7430eecf9d707e5fae86665554078cd827587
7
+ data.tar.gz: e0e154f14f7b69bce7ffdff2964ad1cedbc99c3680ebbd034b1b010416981417d1d1b205640cf53ce78a9a383ce01588cb9ceb9385e5b0526c23fdd4dc76cc9d
data/.rubocop.yml CHANGED
@@ -3,7 +3,3 @@
3
3
  # See the [README](README.md) for instructions on using `house_style`
4
4
  # style settings from within your own projects
5
5
  inherit_from: ruby/rubocop.yml
6
-
7
- Style/IndentHeredoc:
8
- Exclude:
9
- - house_style.gemspec
data/.travis.yml CHANGED
@@ -1,4 +1,7 @@
1
- language: ruby
1
+ language:
2
+ cache: bundler
2
3
  rvm:
3
- - 2.2.2
4
- before_install: gem install bundler -v 1.10.6
4
+ - 2.6
5
+ - 2.7
6
+ - 3.0
7
+ before_install: gem install bundler -v 2.2.18
data/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.0.2
4
+ ### Bug fixes
5
+ - Exclude Guardfile from Ruby & Rails configurations
6
+
7
+ ## 2.0.1
8
+ ### Bug fixes
9
+ - Ignore other database schemas in /db for Rails apps
10
+ - Disable `RSpec/MultipleExpectations` cop.
11
+ - Tweak `RSpec/MultipleMemoizedHelpers` to 10.
12
+
13
+ ## 2.0.0
14
+ ### New features
15
+
16
+ - Add new rubocop extensions: rubocop-performance & rubocop-rake. Both enabled by default on Ruby configuration.
17
+
18
+ ### Bug fixes
19
+
20
+ - Restrict extensions versions to avoid introducing new cops in the apps depending on house_style without previously configuing them here.
21
+ - Exclude most Rails default configuration files for our cops to decrease the number of conflicts during Rails upgrades.
22
+
23
+ ### Changes
24
+
25
+ - Update Travis CI configuration and add a default Rake task (rubocop)
26
+ - Upgrade development dependencies: Bundler & Rake.
27
+ - Upgrade rubocop to 1.15.0, rubocop-rails to 2.10.1 and rubocop-rspec to 2.3.0.
28
+ - Remove old pre-1.0 post-install message.
29
+
30
+ ## 1.6.0
31
+ - [FIX] Require Rubocop higher than 0.49 to fix security issue: https://nvd.nist.gov/vuln/detail/CVE-2017-8418
32
+ - [FIX] Rename `IndentHash` to `IndentFirstHashElement`, and require Rubocop 0.68 or higher because of this change.
33
+ - Rails cops are now split into a different gem `rubocop-rails` that we include by default.
34
+ - Disable new Rails cops InverseOf & HasManyOrHasOneDependent.
35
+ - Exclude spec files for Lint/AmbiguousBlockAssociation as recommended in https://github.com/rubocop-hq/rubocop/issues/4222#issuecomment-290655562
36
+ - Exclude specific rake configuration file for RSpec/ContextWording.
37
+ - Specify `indented` as the default value for `IndentFirstArrayElement`.
38
+ - Enforce `single_quotes` for `StringLiterals` by default.
39
+
40
+
41
+ ## 1.5.1
42
+ - [FIX] Remove `Include` values. Since 0.57 `Include` overwrites the hardcoded defaults. All values here are already included in the defaults, so no point in defining them here anymore.
43
+ - [FIX] `SpaceInsideHashLiteralBraces` now belongs to `Layout` instead of `Style`
44
+ - [FIX] Disabling new added cop `Style/AccessModifierDeclarations`. We use inline declarations (`private :foo :bar`) as default in our codebase.
45
+
3
46
  ## 1.5.0
4
47
  - updated rubocop to 0.63.1
5
48
 
data/Rakefile CHANGED
@@ -1 +1,9 @@
1
1
  require 'bundler/gem_tasks'
2
+ require 'rubocop/rake_task'
3
+
4
+ desc 'Run rubocop'
5
+ task :rubocop do
6
+ RuboCop::RakeTask.new
7
+ end
8
+
9
+ task default: :rubocop
data/house_style.gemspec CHANGED
@@ -1,11 +1,9 @@
1
- # coding: utf-8
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.5.0'
6
+ spec.version = '2.0.2'
9
7
  spec.authors = ['Altmetric', 'Scott Matthewman']
10
8
  spec.email = ['engineering@altmetric.com', 'scott.matthewman@gmail.com']
11
9
 
@@ -14,19 +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.63', '< 0.64'
28
- spec.add_dependency 'rubocop-rspec', '~> 1.15'
18
+ spec.add_dependency 'rubocop', '>= 1.0', '< 1.16'
19
+ spec.add_dependency 'rubocop-performance', '~> 1.11.3'
20
+ spec.add_dependency 'rubocop-rails', '~> 2.10.1'
21
+ spec.add_dependency 'rubocop-rake', '< 1.0'
22
+ spec.add_dependency 'rubocop-rspec', '~> 2.3.0'
29
23
 
30
- spec.add_development_dependency 'bundler', '~> 1.10'
31
- spec.add_development_dependency 'rake', '~> 11.0'
24
+ spec.add_development_dependency 'bundler', '~> 2.0'
25
+ spec.add_development_dependency 'rake', '~> 13.0'
32
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
@@ -0,0 +1,4 @@
1
+ inherit_from:
2
+ - ./default_rules.yml
3
+
4
+ require: rubocop-performance
data/rails/db_migrate.yml CHANGED
@@ -1,6 +1,10 @@
1
- Metrics/ClassLength:
1
+ Layout/EmptyLineBetweenDefs:
2
+ Enabled: false
3
+ Layout/LineLength:
4
+ Enabled: false
5
+ Metrics/AbcSize:
2
6
  Enabled: false
3
- Metrics/LineLength:
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,9 +1,25 @@
1
- inherit_from: ../ruby/rubocop.yml
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/schema.rb
10
+ - db/*schema.rb
7
11
  - lib/tasks/cucumber.rake
12
+ - Guardfile
8
13
  Rails:
9
14
  Enabled: true
15
+ Rails/InverseOf:
16
+ Enabled: false
17
+ Rails/HasManyOrHasOneDependent:
18
+ Enabled: false
19
+ Rails/EnvironmentVariableAccess:
20
+ Enabled: true
21
+ AllowReads: true
22
+ Rails/ShortI18n:
23
+ Enabled: false
24
+
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
- Metrics/BlockLength:
5
+ Layout/LineLength:
6
+ Enabled: false
7
+ Layout/SpaceInsideHashLiteralBraces:
6
8
  Enabled: false
7
- Metrics/LineLength:
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,8 +29,6 @@ Style/BlockDelimiters:
17
29
  - spec/factories/**/*.rb
18
30
  Style/Documentation:
19
31
  Enabled: false
20
- Style/SpaceInsideHashLiteralBraces:
21
- Enabled: false
22
32
  Style/SymbolProc:
23
33
  Exclude:
24
34
  - spec/factories/**/*.rb
@@ -4,23 +4,10 @@ AllCops:
4
4
  ExtraDetails: true
5
5
  UseCache: true
6
6
 
7
- Include:
8
- - '**/*.gemspec'
9
- - '**/*.podspec'
10
- - '**/*.jbuilder'
11
- - '**/*.rake'
12
- - '**/*.opal'
13
- - '**/config.ru'
14
- - '**/Gemfile'
15
- - '**/Rakefile'
16
- - '**/Capfile'
17
- - '**/Guardfile'
18
- - '**/Podfile'
19
- - '**/Thorfile'
20
- - '**/Vagrantfile'
21
- - '**/Berksfile'
22
- - '**/Cheffile'
23
- - '**/Vagabondfile'
24
7
  Exclude:
25
- - 'vendor/**/*'
26
8
  - 'bin/**/*'
9
+ - 'vendor/**/*'
10
+ - 'Guardfile'
11
+
12
+ Gemspec/RequiredRubyVersion:
13
+ Enabled: false
@@ -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,11 +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
11
-
data/ruby/rubocop.yml CHANGED
@@ -2,3 +2,6 @@ inherit_from:
2
2
  - ./configuration.yml
3
3
  - ./metrics.yml
4
4
  - ./style.yml
5
+ - ./default_rules.yml
6
+ - ../rake/rubocop.yml
7
+ - ../performance/rubocop.yml
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,20 +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/IndentHash:
43
- EnforcedStyle: consistent
44
54
  Style/MethodCalledOnDoEndBlock:
45
55
  Enabled: true
46
- Layout/MultilineOperationIndentation:
47
- Enabled: false
48
56
  Style/NonNilCheck:
49
57
  IncludeSemanticChanges: true
50
58
  Style/NumericLiterals:
@@ -52,6 +60,7 @@ Style/NumericLiterals:
52
60
  Style/SignalException:
53
61
  EnforcedStyle: semantic
54
62
  Style/StringLiterals:
55
- Enabled: false
63
+ EnforcedStyle: 'single_quotes'
64
+ Enabled: true
56
65
  Style/StringMethods:
57
66
  Enabled: true
metadata CHANGED
@@ -1,78 +1,120 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: house_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 2.0.2
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: 2019-01-28 00:00:00.000000000 Z
12
+ date: 2021-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '0.63'
20
+ version: '1.0'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '0.64'
23
+ version: '1.16'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: '1.0'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ - !ruby/object:Gem::Dependency
35
+ name: rubocop-performance
36
+ requirement: !ruby/object:Gem::Requirement
27
37
  requirements:
28
38
  - - "~>"
29
39
  - !ruby/object:Gem::Version
30
- version: '0.63'
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
48
+ - !ruby/object:Gem::Dependency
49
+ name: rubocop-rails
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.10.1
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.10.1
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:
31
73
  - - "<"
32
74
  - !ruby/object:Gem::Version
33
- version: '0.64'
75
+ version: '1.0'
34
76
  - !ruby/object:Gem::Dependency
35
77
  name: rubocop-rspec
36
78
  requirement: !ruby/object:Gem::Requirement
37
79
  requirements:
38
80
  - - "~>"
39
81
  - !ruby/object:Gem::Version
40
- version: '1.15'
82
+ version: 2.3.0
41
83
  type: :runtime
42
84
  prerelease: false
43
85
  version_requirements: !ruby/object:Gem::Requirement
44
86
  requirements:
45
87
  - - "~>"
46
88
  - !ruby/object:Gem::Version
47
- version: '1.15'
89
+ version: 2.3.0
48
90
  - !ruby/object:Gem::Dependency
49
91
  name: bundler
50
92
  requirement: !ruby/object:Gem::Requirement
51
93
  requirements:
52
94
  - - "~>"
53
95
  - !ruby/object:Gem::Version
54
- version: '1.10'
96
+ version: '2.0'
55
97
  type: :development
56
98
  prerelease: false
57
99
  version_requirements: !ruby/object:Gem::Requirement
58
100
  requirements:
59
101
  - - "~>"
60
102
  - !ruby/object:Gem::Version
61
- version: '1.10'
103
+ version: '2.0'
62
104
  - !ruby/object:Gem::Dependency
63
105
  name: rake
64
106
  requirement: !ruby/object:Gem::Requirement
65
107
  requirements:
66
108
  - - "~>"
67
109
  - !ruby/object:Gem::Version
68
- version: '11.0'
110
+ version: '13.0'
69
111
  type: :development
70
112
  prerelease: false
71
113
  version_requirements: !ruby/object:Gem::Requirement
72
114
  requirements:
73
115
  - - "~>"
74
116
  - !ruby/object:Gem::Version
75
- version: '11.0'
117
+ version: '13.0'
76
118
  description: Configuration files and other snippets to help you apply standards across
77
119
  multiple projects
78
120
  email:
@@ -100,10 +142,16 @@ files:
100
142
  - lib/generators/house_style/templates/db_migrate_rubocop.yml
101
143
  - lib/generators/house_style/templates/rspec-rubocop.yml
102
144
  - lib/generators/house_style/templates/rubocop.yml
145
+ - performance/default_rules.yml
146
+ - performance/rubocop.yml
103
147
  - rails/db_migrate.yml
148
+ - rails/default_rules.yml
104
149
  - rails/rubocop.yml
150
+ - rails/style.yml
151
+ - rake/rubocop.yml
105
152
  - rspec/rubocop.yml
106
153
  - ruby/configuration.yml
154
+ - ruby/default_rules.yml
107
155
  - ruby/metrics.yml
108
156
  - ruby/rubocop.yml
109
157
  - ruby/style.yml
@@ -111,11 +159,7 @@ homepage: https://github.com/altmetric/house_style
111
159
  licenses:
112
160
  - MIT
113
161
  metadata: {}
114
- post_install_message: |
115
- If you are updating house_style from version 1.0.0 or older, note that you can
116
- now remove any reference to TargetRubyVersion in your project's .rubocop.yml
117
- file. You should specify a .ruby-version file for your entire project, and that
118
- will be taken into account by rubocop also.
162
+ post_install_message:
119
163
  rdoc_options: []
120
164
  require_paths:
121
165
  - lib
@@ -130,8 +174,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
174
  - !ruby/object:Gem::Version
131
175
  version: '0'
132
176
  requirements: []
133
- rubygems_version: 3.0.1
134
- signing_key:
177
+ rubygems_version: 3.2.15
178
+ signing_key:
135
179
  specification_version: 4
136
180
  summary: A centralised store of house style rules
137
181
  test_files: []