sevenwire-rubocop 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ Layout/AccessModifierIndentation:
2
+ EnforcedStyle: outdent
3
+
4
+ Layout/ClassStructure:
5
+ Enabled: true
6
+ AutoCorrect: false
7
+
8
+ Layout/EndAlignment:
9
+ Enabled: true
10
+ EnforcedStyleAlignWith: variable
@@ -0,0 +1,18 @@
1
+ Metrics/ClassLength:
2
+ Enabled: true
3
+ Max: 200
4
+
5
+ Metrics/LineLength:
6
+ Enabled: true
7
+ Max: 100
8
+
9
+ Metrics/MethodLength:
10
+ Enabled: true
11
+ Max: 20
12
+
13
+ Metrics/ModuleLength:
14
+ Enabled: true
15
+ Max: 200
16
+
17
+ Metrics/PerceivedComplexity:
18
+ Enabled: false
@@ -0,0 +1,11 @@
1
+ Performance/Caller:
2
+ Enabled: false
3
+
4
+ Performance/Casecmp:
5
+ Enabled: false
6
+
7
+ Performance/TimesMap:
8
+ Enabled: false
9
+
10
+ Performance/UnfreezeString:
11
+ Enabled: false
@@ -0,0 +1,12 @@
1
+ Style/AsciiComments:
2
+ Enabled: false
3
+
4
+ Style/Documentation:
5
+ Enabled: false
6
+
7
+ Style/MethodCalledOnDoEndBlock:
8
+ Enabled: true
9
+
10
+ Style/StringLiterals:
11
+ Enabled: true
12
+ EnforcedStyle: double_quotes
@@ -1,4 +1,4 @@
1
- require 'sevenwire/rubocop/version'
1
+ require "sevenwire/rubocop/version"
2
2
 
3
3
  module Sevenwire
4
4
  module Rubocop
@@ -1,5 +1,5 @@
1
1
  module Sevenwire
2
2
  module Rubocop
3
- VERSION = "1.0.3".freeze
3
+ VERSION = "1.0.4".freeze
4
4
  end
5
5
  end
@@ -1,5 +1,4 @@
1
- # coding: utf-8
2
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path("lib", __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "sevenwire/rubocop/version"
5
4
 
@@ -9,17 +8,16 @@ Gem::Specification.new do |spec|
9
8
  spec.authors = ["Brandon Arbini", "Nick Delja"]
10
9
  spec.email = ["b@sevenwire.com", "nick@sevenwire.com"]
11
10
 
12
- spec.summary = 'Shared Rubocop config.'
13
- spec.homepage = 'https://github.com/sevenwire/sevenwire-rubocop'
11
+ spec.summary = "Shared Rubocop config."
12
+ spec.homepage = "https://github.com/sevenwire/sevenwire-rubocop"
14
13
 
15
14
  if spec.respond_to?(:metadata)
16
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
15
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
16
  else
18
- raise "RubyGems 2.0 or newer is required to protect against " \
19
- "public gem pushes."
17
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
20
18
  end
21
19
 
22
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
23
21
  f.match(%r{^(test|spec|features)/})
24
22
  end
25
23
  spec.bindir = "exe"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sevenwire-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Arbini
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-01-02 00:00:00.000000000 Z
12
+ date: 2019-03-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -84,6 +84,10 @@ files:
84
84
  - RELEASING.md
85
85
  - Rakefile
86
86
  - default.yml
87
+ - departments/layout.yml
88
+ - departments/metrics.yml
89
+ - departments/performance.yml
90
+ - departments/style.yml
87
91
  - lib/sevenwire/config.rb
88
92
  - lib/sevenwire/rubocop/version.rb
89
93
  - sevenwire-rubocop.gemspec
@@ -106,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
110
  - !ruby/object:Gem::Version
107
111
  version: '0'
108
112
  requirements: []
109
- rubyforge_project:
110
- rubygems_version: 2.7.6
113
+ rubygems_version: 3.0.1
111
114
  signing_key:
112
115
  specification_version: 4
113
116
  summary: Shared Rubocop config.