reinteractive-style 0.2.1 → 0.2.2

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: ef1d933f0cae4938ca2af6eb3f31099cc5964549
4
- data.tar.gz: aa4c1d98acf6175b3bd48982f55f57dd001fb9ad
3
+ metadata.gz: 9c31473c559005d43c4138035cc352985ef19cd0
4
+ data.tar.gz: 042cf262f4d3bee914ad8f36f07b48ade93004ff
5
5
  SHA512:
6
- metadata.gz: 30876c08bea04794a86e78d6f37b6cfccc2188b838c6a26ceca7371410008b3e798d24bcb0ca8a2135887c1b08c5bcf4bb9f347256542919eaa66dee0907f5ab
7
- data.tar.gz: 195c3e8815d9869af27c6435cc4231e7552c658f95b1f287192218aa412ef64d9fbe420338fdea332d421dbd9d62a528e4e221fecd5a25a5487149e71ab1f0d1
6
+ metadata.gz: 4fa94651c2b21b9bd297250b42003a8002c787dd643c69dcbc5ee1158937bc65b6dc18478f8f15c1fbad5686657e2f97fca83727bf20e036502ca4d930201e50
7
+ data.tar.gz: 93e7cfc71e764efbc1e467fe9f114b0ec8f6f78438dc2912994d92b7518ae5d351f6d5f4bd5665b380b210d759e2879f17473d72a50525227591f2600a2a0e8c
data/default.yml CHANGED
@@ -80,7 +80,7 @@ Style/Encoding:
80
80
  SupportedStyles:
81
81
  - when_needed
82
82
  - always
83
- Style/FileName:
83
+ Naming/FileName:
84
84
  Description: Use snake_case for source file names.
85
85
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
86
86
  Enabled: false
@@ -161,7 +161,7 @@ Style/MethodDefParentheses:
161
161
  SupportedStyles:
162
162
  - require_parentheses
163
163
  - require_no_parentheses
164
- Style/MethodName:
164
+ Naming/MethodName:
165
165
  Description: Use the configured style when naming methods.
166
166
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
167
167
  Enabled: true
@@ -202,7 +202,7 @@ Style/PercentQLiterals:
202
202
  SupportedStyles:
203
203
  - lower_case_q
204
204
  - upper_case_q
205
- Style/PredicateName:
205
+ Naming/PredicateName:
206
206
  Description: Check the names of predicate methods.
207
207
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
208
208
  Enabled: true
@@ -323,7 +323,7 @@ Style/TrivialAccessors:
323
323
  - to_str
324
324
  - to_s
325
325
  - to_sym
326
- Style/VariableName:
326
+ Naming/VariableName:
327
327
  Description: Use the configured style when naming variables.
328
328
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
329
329
  Enabled: true
@@ -462,7 +462,7 @@ Style/SymbolArray:
462
462
  Description: Use %i or %I for arrays of symbols.
463
463
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
464
464
  Enabled: false
465
- Style/AccessorMethodName:
465
+ Naming/AccessorMethodName:
466
466
  Description: Check the naming of accessor methods for get_/set_.
467
467
  Enabled: false
468
468
  Style/Alias:
@@ -477,7 +477,7 @@ Style/AsciiComments:
477
477
  Description: Use only ascii symbols in comments.
478
478
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
479
479
  Enabled: false
480
- Style/AsciiIdentifiers:
480
+ Naming/AsciiIdentifiers:
481
481
  Description: Use only ascii symbols in identifiers.
482
482
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
483
483
  Enabled: false
@@ -506,7 +506,7 @@ Style/CharacterLiteral:
506
506
  Description: Checks for uses of character literals.
507
507
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
508
508
  Enabled: false
509
- Style/ClassAndModuleCamelCase:
509
+ Naming/ClassAndModuleCamelCase:
510
510
  Description: Use CamelCase for classes and modules.
511
511
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#camelcase-classes
512
512
  Enabled: true
@@ -522,7 +522,7 @@ Style/ColonMethodCall:
522
522
  Description: 'Do not use :: for method call.'
523
523
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
524
524
  Enabled: false
525
- Style/ConstantName:
525
+ Naming/ConstantName:
526
526
  Description: Constants should use SCREAMING_SNAKE_CASE.
527
527
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#screaming-snake-case
528
528
  Enabled: true
@@ -615,7 +615,7 @@ Style/OneLineConditional:
615
615
  Description: Favor the ternary operator(?:) over if/then/else/end constructs.
616
616
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
617
617
  Enabled: false
618
- Style/OpMethod:
618
+ Naming/BinaryOperatorParameter:
619
619
  Description: When defining binary operators, name the argument other.
620
620
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
621
621
  Enabled: false
@@ -1079,3 +1079,6 @@ Security/Eval:
1079
1079
  Lint/AmbiguousBlockAssociation:
1080
1080
  Exclude:
1081
1081
  - "spec/**/*"
1082
+ RSpec/LetSetup:
1083
+ Description: Using let! in configuration is not a bad thing if well structured
1084
+ Enabled: false
@@ -1,5 +1,5 @@
1
1
  module Reinteractive
2
2
  module Style
3
- VERSION = "0.2.1".freeze
3
+ VERSION = "0.2.2".freeze
4
4
  end
5
5
  end
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ["lib"]
33
33
 
34
- spec.add_dependency "rubocop", "~> 0.49"
34
+ spec.add_dependency "rubocop", "~> 0.50.0"
35
35
  spec.add_dependency "rubocop-rspec", "~> 1.15"
36
36
 
37
37
  spec.add_development_dependency "bundler", "~> 1.15"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reinteractive-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - reinteractive
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-08 00:00:00.000000000 Z
11
+ date: 2017-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.49'
19
+ version: 0.50.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.49'
26
+ version: 0.50.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.6.11
107
+ rubygems_version: 2.6.13
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: reinteractive shared style configurations