rf-stylez 1.1.0 → 1.1.1

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: c4b6f7a8cbca05b3e2a5f9878cd2175ef65c1e8dbd333e34d6747189c3cbd64c
4
- data.tar.gz: '02118fdf080ebe07c04110884c53590e7cb1ca2bd1ae824d2f4a96d6550385cb'
3
+ metadata.gz: f2aa8ff9b00a337edd3db4c3a25b4400aef4ea65adb9ebe26527e6cd6c119162
4
+ data.tar.gz: bca36e4b3b50bbbd49dea5ac1e42b08531dc86ed606ef20df5a31b24912d6271
5
5
  SHA512:
6
- metadata.gz: 25e9b854b7bd1da43a8ac9ac4ebdbf671c84626f643c54b54d524cc2593bd3c3c43b5dcf634b308ea8f2862b314c61522ec6e759b921cbd381f69e1c430f2283
7
- data.tar.gz: a6d20257951bbb8cbb203d545fe840cb3009b55582465f8b51c9033bf1100c1df22405c307a475fac6d9f858d040b935c9b71b7e046f95e38c786a754e1e7047
6
+ metadata.gz: 9374cdf630d53b97f7b54d6b442de7c03806f16de3fe1d326f9978d5cc1c810d7a820b8dc0e13d8b659fe17cac9bfa0592eefd3c56d13582cc8b57dfa8a6432f
7
+ data.tar.gz: 0da4f005d9787911b448cba458b8d7a1b34b60a5748fd5f5dd881d6b38cfe9bc287a20ec8a3aa77e3cb4fa7f6088cbc840767ad53fbe2fce55e935fccedbd303
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rf
4
4
  module Stylez
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.1"
6
6
  end
7
7
  end
data/rails/rubocop.yml CHANGED
@@ -8,3 +8,7 @@ Rails/HasManyOrHasOneDependent:
8
8
  Enabled: false
9
9
  Rails/TimeZone:
10
10
  Enabled: false
11
+ Rails/ApplicationJob:
12
+ Enabled: false
13
+ Rails/HttpPositionalArguments:
14
+ Enabled: false
data/rf-stylez.gemspec CHANGED
@@ -20,12 +20,12 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = ["rf-stylez"]
21
21
  spec.require_paths = ["lib"]
22
22
 
23
+ spec.add_runtime_dependency "get_env", "~> 0.2.1"
24
+ spec.add_runtime_dependency "pronto", "~> 0.11.2"
25
+ spec.add_runtime_dependency "pronto-rubocop", "~> 0.11.5"
26
+ spec.add_runtime_dependency "reek", "~> 6.2"
23
27
  spec.add_runtime_dependency "rubocop", "1.59.0"
24
28
  spec.add_runtime_dependency "rubocop-rails", "2.23.1"
25
29
  spec.add_runtime_dependency "rubocop-rspec", "2.26.1"
26
- spec.add_runtime_dependency "reek", "~> 6.2"
27
- spec.add_runtime_dependency "get_env", "~> 0.2.1"
28
30
  spec.add_runtime_dependency "unparser", "~> 0.6"
29
- spec.add_runtime_dependency "pronto", "~> 0.11.2"
30
- spec.add_runtime_dependency "pronto-rubocop", "~> 0.11.5"
31
31
  end
data/ruby/rubocop.yml CHANGED
@@ -44,7 +44,29 @@ Lint/NoVCRRecording:
44
44
  Layout/EmptyLineBetweenDefs:
45
45
  Enabled: true
46
46
  EmptyLineBetweenClassDefs: false
47
+ Layout/LineLength:
48
+ Enabled: true
49
+ Max: 120
50
+ AllowHeredoc: true
51
+ AllowURI: true
52
+ Layout/ArgumentAlignment:
53
+ Enabled: true
54
+ EnforcedStyle: with_fixed_indentation
55
+ Layout/DotPosition:
56
+ Enabled: true
57
+ EnforcedStyle: leading
58
+ Layout/MultilineMethodCallIndentation:
59
+ Enabled: true
60
+ EnforcedStyle: indented
61
+
62
+ RSpec/NotToNot:
63
+ Enabled: true
64
+ EnforcedStyle: to_not
47
65
 
66
+ Style/Documentation:
67
+ Enabled: true
68
+ Exclude:
69
+ - 'db/migrate/*.rb'
48
70
  Style/FrozenStringLiteralComment:
49
71
  Enabled: true
50
72
  EnforcedStyle: always
@@ -70,12 +92,9 @@ Style/TrailingCommaInArrayLiteral:
70
92
  Style/TrailingCommaInHashLiteral:
71
93
  Enabled: true
72
94
  EnforcedStyleForMultiline: consistent_comma
73
-
74
- Layout/LineLength:
95
+ Style/StringLiteralsInInterpolation:
75
96
  Enabled: true
76
- Max: 120
77
- AllowHeredoc: true
78
- AllowURI: true
97
+ EnforcedStyle: double_quotes
79
98
 
80
99
  # Dumb lint cops
81
100
  Lint/AmbiguousOperator:
@@ -85,8 +104,22 @@ Lint/NonLocalExitFromIterator:
85
104
  Lint/AmbiguousRegexpLiteral:
86
105
  Enabled: false
87
106
 
107
+ Metrics/ClassLength:
108
+ Enabled: false
88
109
  Metrics/MethodLength:
89
110
  Enabled: false
111
+ Metrics/AbcSize:
112
+ Enabled: false
113
+ Metrics/PerceivedComplexity:
114
+ Enabled: false
115
+ Metrics/CyclomaticComplexity:
116
+ Enabled: false
117
+ Metrics/BlockLength:
118
+ Enabled: false
119
+ Metrics/ModuleLength:
120
+ Enabled: false
121
+ Metrics/ParameterLists:
122
+ Enabled: false
90
123
 
91
124
  Naming/AccessorMethodName:
92
125
  Enabled: false
@@ -94,6 +127,10 @@ Naming/PredicateName:
94
127
  Enabled: false
95
128
  Naming/HeredocDelimiterNaming:
96
129
  Enabled: false
130
+ Naming/RescuedExceptionsVariableName:
131
+ Enabled: false
132
+ Naming/VariableNumber:
133
+ Enabled: false
97
134
 
98
135
  RSpec/MultipleExpectations:
99
136
  Enabled: false
@@ -146,3 +183,5 @@ Style/FormatStringToken:
146
183
  Enabled: false
147
184
  Style/MapToHash:
148
185
  Enabled: false
186
+ Style/TrailingUnderscoreVariable:
187
+ Enabled: false
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rf-stylez
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emanuel Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-15 00:00:00.000000000 Z
11
+ date: 2024-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rubocop
14
+ name: get_env
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.59.0
19
+ version: 0.2.1
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: 1.59.0
26
+ version: 0.2.1
27
27
  - !ruby/object:Gem::Dependency
28
- name: rubocop-rails
28
+ name: pronto
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.23.1
33
+ version: 0.11.2
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: 2.23.1
40
+ version: 0.11.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: rubocop-rspec
42
+ name: pronto-rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.26.1
47
+ version: 0.11.5
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.26.1
54
+ version: 0.11.5
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: reek
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -67,61 +67,61 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '6.2'
69
69
  - !ruby/object:Gem::Dependency
70
- name: get_env
70
+ name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.1
75
+ version: 1.59.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.2.1
82
+ version: 1.59.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: unparser
84
+ name: rubocop-rails
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: '0.6'
89
+ version: 2.23.1
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: '0.6'
96
+ version: 2.23.1
97
97
  - !ruby/object:Gem::Dependency
98
- name: pronto
98
+ name: rubocop-rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.11.2
103
+ version: 2.26.1
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.11.2
110
+ version: 2.26.1
111
111
  - !ruby/object:Gem::Dependency
112
- name: pronto-rubocop
112
+ name: unparser
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.11.5
117
+ version: '0.6'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.11.5
124
+ version: '0.6'
125
125
  description: Configurations for Rubocop and other style enforcers/linters
126
126
  email:
127
127
  - emanuel@rainforestqa.com