osm-rubocop 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a13b5e5ef9a835fe96e92692e30d8bbe6777a522
4
- data.tar.gz: 8a994b0e4185e795cc248ee1a3610f1b2690223c
3
+ metadata.gz: ada48c60e8e7926f6074c0dfe93745af6fffe6e4
4
+ data.tar.gz: f44b8bb5ebf8684d59e8ea46a16353fd7c16d3f7
5
5
  SHA512:
6
- metadata.gz: 1e76ba6efe22eefff02888ad4d0b1ef0a514dc0be31fa1c1978b550376c8e8a6eb4ebefe2514a6c9e3055e947320e77b5892b9c13a00c60063b8b3ec5d5c5aaa
7
- data.tar.gz: 278bb504cf3e431834d2cf5bfe5b93f6e45678be03ba17447cb5eac36a766c9d8fd4fab03bcf3ac7b05005f82680f5ba1b057b97eeab7cd3c3f335be459203b6
6
+ metadata.gz: '087c85a1c27f25663717d8add04f0ac814ad4fb2ac0c5d279e4fde86b13bd11c2832c1e4a579e87c0837cd57bbe42228521d98464b55bce23681ee2f6f245bfc'
7
+ data.tar.gz: 39792b668852d53aca160ee064c350d57507156a26cb07b511373abdb273dd144b5ada878e309c6cb71fdbc7804007bcba2b9d664da985e006f74dc4cf07ce65
@@ -16,10 +16,7 @@ AllCops:
16
16
  Bundler/GemComment:
17
17
  Enabled: false
18
18
 
19
- Layout/AlignArguments:
20
- EnforcedStyle: with_fixed_indentation
21
-
22
- Layout/AlignParameters:
19
+ Layout/ArgumentAlignment:
23
20
  EnforcedStyle: with_fixed_indentation
24
21
 
25
22
  Layout/CaseIndentation:
@@ -36,15 +33,18 @@ Layout/EndAlignment:
36
33
  Layout/ExtraSpacing:
37
34
  AllowForAlignment: false
38
35
 
39
- Layout/IndentFirstArgument:
36
+ Layout/FirstArgumentIndentation:
40
37
  EnforcedStyle: consistent
41
38
 
42
- Layout/IndentFirstArrayElement:
39
+ Layout/FirstArrayElementIndentation:
43
40
  EnforcedStyle: consistent
44
41
 
45
- Layout/IndentFirstHashElement:
42
+ Layout/FirstHashElementIndentation:
46
43
  EnforcedStyle: consistent
47
44
 
45
+ Layout/LineLength:
46
+ Max: 100
47
+
48
48
  Layout/MultilineAssignmentLayout:
49
49
  Enabled: false
50
50
 
@@ -57,14 +57,14 @@ Layout/MultilineMethodDefinitionBraceLayout:
57
57
  Layout/MultilineOperationIndentation:
58
58
  EnforcedStyle: indented
59
59
 
60
+ Layout/ParameterAlignment:
61
+ EnforcedStyle: with_fixed_indentation
62
+
60
63
  Metrics/BlockLength:
61
64
  Exclude:
62
65
  - spec/**/*
63
66
  - config/routes.rb
64
67
 
65
- Metrics/LineLength:
66
- Max: 100
67
-
68
68
  Metrics/MethodLength:
69
69
  Max: 20
70
70
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Osm
4
4
  module Rubocop
5
- VERSION = '0.1.15'
5
+ VERSION = '0.1.16'
6
6
  end
7
7
  end
@@ -2,7 +2,9 @@
2
2
 
3
3
  namespace :osm_rubocop do
4
4
  desc 'Install a pre-commit hook that ensures the code adheres to the OSM Rubocop configuration'
5
+ # rubocop:disable Rails/RakeEnvironment (installing the pre-commit hook does not require loading a rails environment)
5
6
  task :install_precommit_hook do
7
+ # rubocop:enable Rails/RakeEnvironment
6
8
  source = File.join(
7
9
  Gem.loaded_specs['osm-rubocop'].full_gem_path,
8
10
  'lib',
@@ -21,10 +21,10 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.add_dependency 'rubocop', '0.73.0'
25
- spec.add_dependency 'rubocop-performance', '1.4.1'
26
- spec.add_dependency 'rubocop-rails', '2.2.1'
27
- spec.add_dependency 'rubocop-rspec', '1.34.0'
24
+ spec.add_dependency 'rubocop', '0.79.0'
25
+ spec.add_dependency 'rubocop-performance', '1.5.2'
26
+ spec.add_dependency 'rubocop-rails', '2.4.2'
27
+ spec.add_dependency 'rubocop-rspec', '1.37.1'
28
28
  spec.add_development_dependency 'bundler', '>= 1.16'
29
29
  spec.add_development_dependency 'rake', '~> 12.0'
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osm-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Betesh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-31 00:00:00.000000000 Z
11
+ date: 2020-02-05 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.73.0
19
+ version: 0.79.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: 0.73.0
26
+ version: 0.79.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.4.1
33
+ version: 1.5.2
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: 1.4.1
40
+ version: 1.5.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.1
47
+ version: 2.4.2
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: 2.2.1
54
+ version: 2.4.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.34.0
61
+ version: 1.37.1
62
62
  type: :runtime
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.34.0
68
+ version: 1.37.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement