spbtv_code_style 1.3.1 → 1.4.0

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: d1b5b238ffbfba7a5ccb2b7a553622747276e8cd
4
- data.tar.gz: d0a99666cc089a2582f33c5af2e049a9070d02f0
3
+ metadata.gz: 8d778bca1be23d35b5bb3d0d18e97bfa2787f6c5
4
+ data.tar.gz: 9b266e49098d4ee862e8bb25c971b63849acb948
5
5
  SHA512:
6
- metadata.gz: 499bd07e1c063fc0eec6ddc6c04cee4d434f2fe2c416c08ed44f11682b63b34fbe32e97fc00fc04741610bd6bf510857accb61761a27cf841512415412062724
7
- data.tar.gz: d6c0d32c27b74752f5f85c7753fa425956a4ff80e96dc51489962ba72685de8b3e263492c698b251f6b7bb6d7c600aad4180fc3cf59a2ada22337baff1f48ecd
6
+ metadata.gz: a4de6506b41abfb65058f7c1e40950712a4ce105b81c359e4581f92dd95814566c830d25158689ee6a42495bb5e37ddbe36126144201fd387dd76e669f2b62fd
7
+ data.tar.gz: bb9f6a74d94c417ded802e691f653eadfaa078795c672b49e7e355120c756912aa18d18909c9f4bc65d2d722c31405b4e5e719da3cd0bd2c285f640662491b85
data/.rubocop.yml CHANGED
@@ -26,6 +26,9 @@ Style/TrivialAccessors:
26
26
  Style/IfUnlessModifier:
27
27
  MaxLineLength: 30
28
28
 
29
+ Style/EmptyCaseCondition:
30
+ Enabled: false
31
+
29
32
  Metrics/AbcSize:
30
33
  Severity: refactor
31
34
 
@@ -43,10 +46,21 @@ Metrics/CyclomaticComplexity:
43
46
 
44
47
  Style/SignalException:
45
48
  EnforcedStyle: semantic
46
-
49
+
47
50
  Style/MultilineMethodCallIndentation:
48
- EnforcedStyle: indented
49
-
51
+ EnforcedStyle: indented
52
+
50
53
  Style/IndentArray:
51
54
  EnforcedStyle: consistent
52
55
 
56
+ Style/MultilineMethodCallBraceLayout:
57
+ Enabled: false
58
+
59
+ Style/ClosingParenthesisIndentation:
60
+ Enabled: false
61
+
62
+ Style/TrailingCommaInLiteral:
63
+ EnforcedStyleForMultiline: comma
64
+
65
+ Style/TrailingCommaInArguments:
66
+ EnforcedStyleForMultiline: comma
@@ -0,0 +1,17 @@
1
+ inherit_from:
2
+ - .rubocop.yml
3
+
4
+ Metrics/AbcSize:
5
+ Severity: warning
6
+
7
+ Metrics/PerceivedComplexity:
8
+ Severity: warning
9
+
10
+ Metrics/ParameterLists:
11
+ Severity: warning
12
+
13
+ Metrics/MethodLength:
14
+ Severity: warning
15
+
16
+ Metrics/CyclomaticComplexity:
17
+ Severity: warning
@@ -1,4 +1,4 @@
1
1
  # Just namespace for version number
2
2
  module SpbtvCodeStyle
3
- VERSION = '1.3.1'.freeze
3
+ VERSION = '1.4.0'.freeze
4
4
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
16
  spec.require_paths = ['lib']
17
17
 
18
- spec.add_runtime_dependency 'rubocop', '~> 0.38.0'
18
+ spec.add_runtime_dependency 'rubocop', '0.40.0'
19
19
  spec.add_runtime_dependency 'rubocop-checkstyle_formatter'
20
20
  spec.add_runtime_dependency 'rspec_junit_formatter'
21
21
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spbtv_code_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tema Bolshakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-21 00:00:00.000000000 Z
11
+ date: 2016-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.38.0
19
+ version: 0.40.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.38.0
26
+ version: 0.40.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-checkstyle_formatter
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -89,6 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
91
  - ".rubocop.yml"
92
+ - ".strict_rubocop.yml"
92
93
  - ".travis.yml"
93
94
  - CHANGELOG.md
94
95
  - Gemfile
@@ -121,4 +122,3 @@ signing_key:
121
122
  specification_version: 4
122
123
  summary: SpbTV code style
123
124
  test_files: []
124
- has_rdoc: