lifen-ruby-style 0.1.0 → 0.2.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
  SHA256:
3
- metadata.gz: 30acb155bbef151b14d702a84a4a76ba7f3c9c051c7265b6435c190412a27a6f
4
- data.tar.gz: 1e30839b7aafd561056a93b052b1da2cdd0ef75a67bea8a67b784493df684e18
3
+ metadata.gz: 857189231d2e585f61046a5ac8ba33580c16b7cea8b55e00f71ef86e380353c8
4
+ data.tar.gz: cfa26b131e7aefe267d0e8c3d3e91db729c966a1f0f11e3142833022f68a5de9
5
5
  SHA512:
6
- metadata.gz: eee13cb52f79e9d870c3dc403bbab53393fa5b100e6633f1ef8d144ca9b9ddcdae573bfa490be32a396f36c2c030761774672d75bb8bada6f2b3aa9902c8b76f
7
- data.tar.gz: 65a93ea1eef0aa76cc27359b05680eb31cad7dce9bd74e69041ea6de2dc5c56d0d11734478f97effad78beb78f8e19e5f5b4f9d8b9e1eb10605bbe1cd4977b82
6
+ metadata.gz: ecf3e1e5b0066e8aa646ccb683b7ebc03090daa3fe28c02b2a43a82b40cc5f2ceea8b5011ee044c153c7ce7439ffeb21d115e484425e49614eccc894b349773d
7
+ data.tar.gz: 2cce1891417148143a82e95a59062499b32ec315f4a979d27ac1c1662114124c4603ff793168d3e029e7e5e38570ab5386a72e675bd841f85cb437edc56c551f
@@ -22,7 +22,7 @@ Layout/EmptyLinesAroundClassBody:
22
22
  EnforcedStyle: empty_lines
23
23
 
24
24
  Layout/IndentationConsistency:
25
- EnforcedStyle: indented_internal_methods
25
+ EnforcedStyle: rails
26
26
 
27
27
  Layout/SpaceInsideHashLiteralBraces:
28
28
  EnforcedStyle: no_space
@@ -60,6 +60,9 @@ Metrics/MethodLength:
60
60
  Naming/MemoizedInstanceVariableName:
61
61
  EnforcedStyleForLeadingUnderscores: optional
62
62
 
63
+ Naming/VariableNumber:
64
+ Enabled: false
65
+
63
66
  Metrics/ParameterLists:
64
67
  Enabled: false
65
68
 
@@ -131,7 +134,7 @@ RSpec/MultipleExpectations:
131
134
  Enabled: false
132
135
 
133
136
  RSpec/ImplicitExpect:
134
- EnforcedStyle: should
137
+ EnforcedStyle: expect
135
138
 
136
139
  RSpec/ImplicitSubject:
137
140
  Enabled: false
@@ -1,5 +1,5 @@
1
1
  module Lifen
2
2
  module RubyStyle
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.2.0'.freeze
4
4
  end
5
5
  end
@@ -28,8 +28,8 @@ Gem::Specification.new do |spec|
28
28
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ["lib"]
30
30
 
31
- spec.add_dependency "rubocop", "0.74"
32
- spec.add_dependency "rubocop-rspec", "1.35"
31
+ spec.add_dependency "rubocop", "~> 0.58"
32
+ spec.add_dependency "rubocop-rspec", "~> 1.29"
33
33
  spec.add_development_dependency "bundler", "~> 2.0"
34
34
  spec.add_development_dependency "rake", "~> 10.0"
35
35
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lifen-ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Lifen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-09 00:00:00.000000000 Z
11
+ date: 2019-11-19 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.74'
19
+ version: '0.58'
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.74'
26
+ version: '0.58'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.35'
33
+ version: '1.29'
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.35'
40
+ version: '1.29'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement