Dutchie-Style 1.0.4 → 1.0.5

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
  SHA256:
3
- metadata.gz: e468aaa0d1b3a2c4877de050be077ea8a93e2e280007db7ede1f9aeb4b773c9c
4
- data.tar.gz: 1715ea7143ef7367b3e3d751178a360ba35dc6933d1a55f72d499c54ecd824da
3
+ metadata.gz: c9bf9825ba4ba0d6fa99e628e3ed84a735a8db714e820c5388758519d211fa1a
4
+ data.tar.gz: e7b222b019334fd7077589761fdf1aed7f93833fce5bd76a6c7aed50a8637eac
5
5
  SHA512:
6
- metadata.gz: 2dd438aa0842f9e9defa1a85368cb2cbe3f9e4fcea76f67a46f173584aab130c69503a09d3e25333f0cb3dce8c67cd25af8f075b4e5a1ff8ba2d9188aec4ac2c
7
- data.tar.gz: 1c866fe9b66a6d54bfcdb8382c78b9cb5c28313e190028d9cee801a6337d3cbd0948478571de1bf5f886529ae7ad517a0a9d3b4d469ea518dc888c6fcfda8ac1
6
+ metadata.gz: a17c05f6343d77102a8ae400129e6429d450ec04e428c9166e9f68dacc5fc731a6a3b61750b5d9568684feed166301eefd5ca600d5e5484b5c93eb35ab71a7f4
7
+ data.tar.gz: 0f3f2d8d3d221841420dfbeac66ce89fa935ec5bde86cb735bc7e04f7c0b851ba650f62e39786917d70b57da256431441d5aaa2c30b81b4279e145640dde72ff
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
27
  spec.require_paths = ["lib"]
28
28
 
29
- spec.add_dependency "rubocop", "~> 0.86.0"
29
+ spec.add_dependency "rubocop", "~> 0.93.1"
30
30
  spec.add_dependency "rubocop-rspec"
31
31
  spec.add_dependency "rubocop-rails"
32
32
  end
data/Gemfile CHANGED
@@ -5,5 +5,5 @@ gemspec
5
5
 
6
6
  gem "rake", "~> 12.0"
7
7
  gem "rspec", "~> 3.0"
8
- gem "rubocop", "~> 0.86"
8
+ gem "rubocop", "~> 0.93.1"
9
9
  gem "rubocop-rails", "~> 2.6.0"
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Dutchie-Style (1.0.3)
5
- rubocop (~> 0.86.0)
4
+ Dutchie-Style (1.0.4)
5
+ rubocop (~> 0.93.1)
6
6
  rubocop-rails
7
7
  rubocop-rspec
8
8
 
@@ -22,12 +22,12 @@ GEM
22
22
  concurrent-ruby (~> 1.0)
23
23
  minitest (5.14.2)
24
24
  parallel (1.19.2)
25
- parser (2.7.1.4)
25
+ parser (2.7.2.0)
26
26
  ast (~> 2.4.1)
27
27
  rack (2.2.3)
28
28
  rainbow (3.0.0)
29
29
  rake (12.3.3)
30
- regexp_parser (1.7.1)
30
+ regexp_parser (1.8.2)
31
31
  rexml (3.2.4)
32
32
  rspec (3.9.0)
33
33
  rspec-core (~> 3.9.0)
@@ -42,23 +42,24 @@ GEM
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
43
  rspec-support (~> 3.9.0)
44
44
  rspec-support (3.9.3)
45
- rubocop (0.86.0)
45
+ rubocop (0.93.1)
46
46
  parallel (~> 1.10)
47
- parser (>= 2.7.0.1)
47
+ parser (>= 2.7.1.5)
48
48
  rainbow (>= 2.2.2, < 4.0)
49
- regexp_parser (>= 1.7)
49
+ regexp_parser (>= 1.8)
50
50
  rexml
51
- rubocop-ast (>= 0.0.3, < 1.0)
51
+ rubocop-ast (>= 0.6.0)
52
52
  ruby-progressbar (~> 1.7)
53
53
  unicode-display_width (>= 1.4.0, < 2.0)
54
- rubocop-ast (0.0.3)
55
- parser (>= 2.7.0.1)
54
+ rubocop-ast (0.7.1)
55
+ parser (>= 2.7.1.5)
56
56
  rubocop-rails (2.6.0)
57
57
  activesupport (>= 4.2.0)
58
58
  rack (>= 1.1)
59
59
  rubocop (>= 0.82.0)
60
- rubocop-rspec (1.41.0)
61
- rubocop (>= 0.68.1)
60
+ rubocop-rspec (1.44.0)
61
+ rubocop (~> 0.87)
62
+ rubocop-ast (~> 0.7.1)
62
63
  ruby-progressbar (1.10.1)
63
64
  thread_safe (0.3.6)
64
65
  tzinfo (1.2.7)
@@ -73,7 +74,7 @@ DEPENDENCIES
73
74
  Dutchie-Style!
74
75
  rake (~> 12.0)
75
76
  rspec (~> 3.0)
76
- rubocop (~> 0.86)
77
+ rubocop (~> 0.93.1)
77
78
  rubocop-rails (~> 2.6.0)
78
79
 
79
80
  BUNDLED WITH
@@ -57,6 +57,10 @@ Layout/SpaceInsideBlockBraces:
57
57
  Layout/SpaceInsideHashLiteralBraces:
58
58
  EnforcedStyle: no_space
59
59
 
60
+ # Exclude RSpec
61
+ Metrics/BlockLength:
62
+ ExcludedMethods: ['describe', 'context']
63
+
60
64
  # Too short methods lead to extraction of single-use methods, which can make
61
65
  # the code easier to read (by naming things), but can also clutter the class
62
66
  Metrics/MethodLength:
@@ -103,12 +107,15 @@ Style/StringLiterals:
103
107
  Style/HashSyntax:
104
108
  EnforcedStyle: ruby19_no_mixed_keys
105
109
 
110
+ # https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/HashEachMethods
106
111
  Style/HashEachMethods:
107
- Enabled: false
112
+ Enabled: true
108
113
 
114
+ # https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/HashTransformKeys
109
115
  Style/HashTransformKeys:
110
116
  Enabled: false
111
117
 
118
+ # https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/HashTransformValues
112
119
  Style/HashTransformValues:
113
120
  Enabled: false
114
121
 
@@ -203,10 +210,10 @@ Style/MethodDefParentheses:
203
210
  Lint/ShadowingOuterLocalVariable:
204
211
  Enabled: false
205
212
 
206
- # There are valid cases, for example debugging Cucumber steps,
207
- # also they'll fail CI anyway
213
+ # https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/Debugger
214
+ # Show linting errors on debugger/binding.pry even in development
208
215
  Lint/Debugger:
209
- Enabled: false
216
+ Enabled: true
210
217
 
211
218
  Lint/AssignmentInCondition:
212
219
  AllowSafeAssignment: false
@@ -230,3 +237,10 @@ Rails/FindBy:
230
237
  Enabled: true
231
238
  Include:
232
239
  - app/**/*.rb
240
+
241
+ # RSpec
242
+ RSpec/AlignLeftLetBrace:
243
+ Enabled: true
244
+
245
+ RSpec/AlignRightLetBrace:
246
+ Enabled: false
@@ -1,5 +1,5 @@
1
1
  module Dutchie
2
2
  module Style
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Dutchie-Style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Ostrowski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-01 00:00:00.000000000 Z
11
+ date: 2020-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -17,13 +17,13 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 0.86.0
20
+ version: 0.93.1
21
21
  type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.86.0
26
+ version: 0.93.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  prerelease: false