rf-stylez 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d55a4b159c11031cd7bba0374aca50fad1f629c
4
- data.tar.gz: fa7fbbae81faa5f74d2fcce61a6f230c5ac19ce9
3
+ metadata.gz: 1b3981348e85231a55a370e5059321d875f0279e
4
+ data.tar.gz: 3ec855d8df7962120653bd2b285bb97432e961b0
5
5
  SHA512:
6
- metadata.gz: c1d34d948d0c6ed728e9def7978229286af123e4acfee43e77a03492fc2ecf149a40d044e251170aa813ee887e37c87c09762c03114198f9f24d4c42cb1fc6a2
7
- data.tar.gz: 6bbdc0035c23c704dc7409bc8fc1732f919d7a542f14b48f9c4e1d9d95a3de8559dc2b134469ec4e0e4b95935700ea33f70125889f6358f88b82ca10359021a3
6
+ metadata.gz: 8d1d55b55e45853fa85fb38c675dff26485a0e358eb013d0c393210d1754bd4e455f7efc0cedd66d2f3258162edd2df0f85e3d576eb2ff93dfba4a8ef517ac21
7
+ data.tar.gz: 18c690579c2a14f77ef18083f03e45fcc764af7b152773f5dea84de03a1402fcd716b85f931850d75820044229e5fb6a069a186fb89f2b86c2ed4a9b3dcdaf46
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RF Stylez 😎
2
2
 
3
- This is a place for style configurations for Rainforest code.
3
+ This is a place for style configurations for [Rainforest QA](https://www.rainforestqa.com/about/) code.
4
4
 
5
5
  ### Releasing
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Rf
3
3
  module Stylez
4
- VERSION = '0.2.5'
4
+ VERSION = '0.2.6'
5
5
  end
6
6
  end
@@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
+ spec.add_runtime_dependency 'rubocop', '~> 0.51.0'
23
+
22
24
  spec.add_development_dependency 'bundler', '~> 1.10'
23
25
  spec.add_development_dependency 'rake', '~> 10.0'
24
26
  end
@@ -14,109 +14,112 @@ inherit_from:
14
14
  ./rubocop_lint.yml
15
15
 
16
16
  # Good style cops
17
- Style/TrailingBlankLines:
17
+ Layout/TrailingBlankLines:
18
18
  Enabled: true
19
- Style/TrailingWhitespace:
19
+ Layout/TrailingWhitespace:
20
20
  Enabled: true
21
- Style/FrozenStringLiteralComment:
21
+ Layout/EmptyLineBetweenDefs:
22
22
  Enabled: true
23
- EnforcedStyle: always
24
- Style/BlockDelimiters:
23
+ Layout/IndentationWidth:
25
24
  Enabled: true
26
- Style/MethodName:
25
+ Layout/AccessModifierIndentation:
27
26
  Enabled: true
28
- Style/DefWithParentheses:
27
+ Layout/AlignArray:
29
28
  Enabled: true
30
- Style/MethodCallWithoutArgsParentheses:
29
+ Layout/AlignHash:
31
30
  Enabled: true
32
- Style/InfiniteLoop:
31
+ Layout/AlignParameters:
33
32
  Enabled: true
34
- Style/EmptyLineBetweenDefs:
33
+ Layout/CaseIndentation:
35
34
  Enabled: true
36
- Style/StringLiterals:
35
+ Layout/ClosingParenthesisIndentation:
37
36
  Enabled: true
38
- Style/AndOr:
37
+ Layout/CommentIndentation:
39
38
  Enabled: true
40
- Style/Not:
39
+ Layout/ElseAlignment:
41
40
  Enabled: true
42
- Style/IndentationWidth:
41
+ Layout/EmptyLines:
43
42
  Enabled: true
44
- Style/MutableConstant:
43
+ Layout/EndOfLine:
45
44
  Enabled: true
46
- Style/AccessModifierIndentation:
45
+ Layout/ExtraSpacing:
47
46
  Enabled: true
48
- Style/AlignArray:
47
+ Layout/InitialIndentation:
49
48
  Enabled: true
50
- Style/AlignHash:
49
+ Layout/IndentationConsistency:
51
50
  Enabled: true
52
- Style/AlignParameters:
51
+ Layout/IndentHash:
53
52
  Enabled: true
54
- Style/CaseIndentation:
53
+ Layout/LeadingCommentSpace:
55
54
  Enabled: true
56
- Style/ClassAndModuleCamelCase:
55
+ Layout/RescueEnsureAlignment:
57
56
  Enabled: true
58
- Style/ClosingParenthesisIndentation:
57
+ Layout/SpaceBeforeFirstArg:
59
58
  Enabled: true
60
- Style/CommentIndentation:
59
+ Layout/SpaceAfterColon:
61
60
  Enabled: true
62
- Style/ConstantName:
61
+ Layout/SpaceAfterComma:
63
62
  Enabled: true
64
- Style/ElseAlignment:
63
+ Layout/SpaceAfterMethodName:
65
64
  Enabled: true
66
- Style/EmptyLines:
65
+ Layout/SpaceBeforeBlockBraces:
67
66
  Enabled: true
68
- Style/EndOfLine:
67
+ Layout/SpaceBeforeComma:
69
68
  Enabled: true
70
- Style/ExtraSpacing:
69
+ Layout/SpaceInsideParens:
71
70
  Enabled: true
72
- Style/FileName:
71
+ Layout/Tab:
73
72
  Enabled: true
74
- Style/InitialIndentation:
73
+
74
+ Naming/MethodName:
75
75
  Enabled: true
76
- Style/HashSyntax:
76
+ Naming/VariableName:
77
77
  Enabled: true
78
- Style/IndentationConsistency:
78
+ Naming/ClassAndModuleCamelCase:
79
79
  Enabled: true
80
- Style/IndentHash:
80
+ Naming/ConstantName:
81
81
  Enabled: true
82
- Style/LeadingCommentSpace:
82
+ Naming/FileName:
83
83
  Enabled: true
84
- Style/MethodName:
84
+ Naming/MethodName:
85
85
  Enabled: true
86
- Style/RedundantFreeze:
86
+
87
+ Style/FrozenStringLiteralComment:
87
88
  Enabled: true
88
- Style/RescueEnsureAlignment:
89
+ EnforcedStyle: always
90
+ Style/BlockDelimiters:
89
91
  Enabled: true
90
- Style/SpaceBeforeFirstArg:
92
+ Style/DefWithParentheses:
91
93
  Enabled: true
92
- Style/SpaceAfterColon:
94
+ Style/MethodCallWithoutArgsParentheses:
93
95
  Enabled: true
94
- Style/SpaceAfterComma:
96
+ Style/InfiniteLoop:
95
97
  Enabled: true
96
- Style/SpaceAfterMethodName:
98
+ Style/StringLiterals:
97
99
  Enabled: true
98
- Style/SpaceBeforeBlockBraces:
100
+ Style/AndOr:
99
101
  Enabled: true
100
- Style/SpaceBeforeComma:
102
+ Style/Not:
101
103
  Enabled: true
102
- Style/SpaceInsideParens:
104
+ Style/MutableConstant:
103
105
  Enabled: true
104
- Style/Tab:
106
+ Style/HashSyntax:
105
107
  Enabled: true
106
- Style/VariableName:
108
+ Style/RedundantFreeze:
107
109
  Enabled: true
108
110
  Style/TrailingCommaInLiteral:
109
111
  Enabled: true
110
112
  EnforcedStyleForMultiline: consistent_comma
113
+ Style/MultilineIfThen:
114
+ Enabled: true
115
+ Style/Semicolon:
116
+ Enabled: true
117
+
111
118
  Metrics/LineLength:
112
119
  Enabled: true
113
120
  Max: 120
114
121
  AllowHeredoc: true
115
122
  AllowURI: true
116
- Style/MultilineIfThen:
117
- Enabled: true
118
- Style/Semicolon:
119
- Enabled: true
120
123
 
121
124
  # Dumb lint cops
122
125
  Lint/AmbiguousOperator:
@@ -111,16 +111,6 @@ Lint/IneffectiveAccessModifier:
111
111
  the visibility of a class method, which does not work.
112
112
  Enabled: true
113
113
 
114
- Lint/InvalidCharacterLiteral:
115
- Description: >-
116
- Checks for invalid character literals with a non-escaped
117
- whitespace character.
118
- Enabled: true
119
-
120
- Lint/LiteralInCondition:
121
- Description: 'Checks of literals used in conditions.'
122
- Enabled: true
123
-
124
114
  Lint/LiteralInInterpolation:
125
115
  Description: 'Checks for literals used in interpolation.'
126
116
  Enabled: true
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rf-stylez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emanuel Evans
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-21 00:00:00.000000000 Z
11
+ date: 2018-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.51.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.51.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
92
  version: '0'
79
93
  requirements: []
80
94
  rubyforge_project:
81
- rubygems_version: 2.5.1
95
+ rubygems_version: 2.6.13
82
96
  signing_key:
83
97
  specification_version: 4
84
98
  summary: Styles for Rainforest code