talkable-style 1.2023.0315 → 1.2023.0601

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: 6adffdc6ec5f60155f1c0932683efb56ba7639d8a88d0ce1ef880efe08f5f0f8
4
- data.tar.gz: 2647eeb1d4843e2e1575def5a44451816f6756a8dbaeb777efacc2c8a44deb44
3
+ metadata.gz: d64701a4da47c6250ea30f3965f2a8b944b1acbf5414ef7d3eb80f05c9ebb7bf
4
+ data.tar.gz: 1ea050ba37eaf88c4f3656aadcf119dd1faadfda73801e135400db8d5531c398
5
5
  SHA512:
6
- metadata.gz: cee7a77d6740c394b9ac592ead368e98402fa4c7cb7c59cc28699fbe24d4d07ec37ffd9ddaea62398898171faa5e1ae72ffda879306669fea642f221d4d5df86
7
- data.tar.gz: 1a094de742f5b3adbb453b0c90e7ef84356d0b3346ecd22663baa2d7a6e68394976bf4da9712f0981ebb748f9e570d478dd795fdf5e778a7cfc9712b1c01f9e0
6
+ metadata.gz: 7351522cab1e613ec4210eee5b5d063d791e10aeccfd1b4a2669aa4614829c5c0633d1d70dcc8ca7e56488df92e5244f18c40bd11d2b1b1158d02a655e2c67b1
7
+ data.tar.gz: 13ab3ce78ee655d103379075ebcc77e787d574cdbbf015d4abf95f3350bf6f7576109e3f050a742b7667c7c569d0f304bc505bb909813f12ce46d71f73bd04f3
@@ -0,0 +1,14 @@
1
+ require: rubocop-factory_bot
2
+
3
+ FactoryBot/AttributeDefinedStatically:
4
+ Enabled: true
5
+ FactoryBot/ConsistentParenthesesStyle:
6
+ Enabled: true
7
+ FactoryBot/CreateList:
8
+ Enabled: true
9
+ FactoryBot/FactoryClassName:
10
+ Enabled: true
11
+ FactoryBot/FactoryNameStyle:
12
+ Enabled: true
13
+ FactoryBot/SyntaxMethods:
14
+ Enabled: true
data/config/lint.yml CHANGED
@@ -40,6 +40,8 @@ Lint/DuplicateHashKey:
40
40
  Enabled: true
41
41
  Lint/DuplicateMagicComment:
42
42
  Enabled: true
43
+ Lint/DuplicateMatchPattern:
44
+ Enabled: true
43
45
  Lint/DuplicateMethods:
44
46
  Enabled: true
45
47
  Lint/DuplicateRegexpCharacterClassElement:
data/config/rails.yml CHANGED
@@ -187,6 +187,8 @@ Rails/StripHeredoc:
187
187
  Enabled: true
188
188
  Rails/SquishedSQLHeredocs:
189
189
  Enabled: true
190
+ Rails/ThreeStateBooleanColumn:
191
+ Enabled: true
190
192
  Rails/TimeZone:
191
193
  Enabled: true
192
194
  Rails/TimeZoneAssignment:
data/config/rspec.yml CHANGED
@@ -13,6 +13,8 @@ RSpec/AroundBlock:
13
13
  Enabled: true
14
14
  RSpec/Be:
15
15
  Enabled: true
16
+ RSpec/BeEmpty:
17
+ Enabled: true
16
18
  RSpec/BeEq:
17
19
  Enabled: true
18
20
  RSpec/BeEql:
@@ -66,18 +68,6 @@ RSpec/ExpectInHook:
66
68
  Enabled: true
67
69
  RSpec/ExpectOutput:
68
70
  Enabled: true
69
- RSpec/FactoryBot/AttributeDefinedStatically:
70
- Enabled: true
71
- RSpec/FactoryBot/ConsistentParenthesesStyle:
72
- Enabled: true
73
- RSpec/FactoryBot/CreateList:
74
- Enabled: true
75
- RSpec/FactoryBot/FactoryClassName:
76
- Enabled: true
77
- RSpec/FactoryBot/FactoryNameStyle:
78
- Enabled: true
79
- RSpec/FactoryBot/SyntaxMethods:
80
- Enabled: true
81
71
  RSpec/FilePath:
82
72
  Enabled: true
83
73
  IgnoreMethods: true
@@ -92,6 +82,8 @@ RSpec/IdenticalEqualityAssertion:
92
82
  RSpec/ImplicitSubject:
93
83
  Enabled: true
94
84
  EnforcedStyle: single_statement_only
85
+ RSpec/IndexedLet:
86
+ Enabled: true
95
87
  RSpec/InstanceSpy:
96
88
  Enabled: true
97
89
  RSpec/InstanceVariable:
data/config/style.yml CHANGED
@@ -64,6 +64,8 @@ Style/ConcatArrayLiterals:
64
64
  Enabled: true
65
65
  Style/ConditionalAssignment:
66
66
  Enabled: true
67
+ Style/DataInheritance:
68
+ Enabled: true
67
69
  Style/DateTime:
68
70
  Enabled: true
69
71
  Style/DefWithParentheses:
@@ -96,6 +98,8 @@ Style/EvalWithLocation:
96
98
  Enabled: true
97
99
  Style/EvenOdd:
98
100
  Enabled: true
101
+ Style/ExactRegexpMatch:
102
+ Enabled: true
99
103
  Style/ExpandPathArguments:
100
104
  Enabled: true
101
105
  Style/ExplicitBlockArgument:
@@ -281,6 +285,8 @@ Style/RedundantInitialize:
281
285
  Enabled: true
282
286
  Style/RedundantInterpolation:
283
287
  Enabled: true
288
+ Style/RedundantLineContinuation:
289
+ Enabled: true
284
290
  Style/RedundantParentheses:
285
291
  Enabled: true
286
292
  Style/RedundantPercentQ:
data/default.yml CHANGED
@@ -13,6 +13,7 @@ inherit_from:
13
13
  - config/bundler.yml
14
14
  - config/capybara.yml
15
15
  - config/discourse.yml
16
+ - config/factory_bot.yml
16
17
  - config/gitlab-security.yml
17
18
  - config/graphql.yml
18
19
  - config/layout.yml
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Talkable
4
4
  module Style
5
- VERSION = "1.2023.0315"
5
+ VERSION = "1.2023.0601"
6
6
  end
7
7
  end
@@ -25,13 +25,13 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
27
 
28
- spec.add_dependency "rubocop", "~> 1.48.1"
29
- spec.add_dependency "rubocop-capybara", "~> 2.17.1"
28
+ spec.add_dependency "rubocop", "~> 1.51.0"
29
+ spec.add_dependency "rubocop-capybara", "~> 2.18.0"
30
30
  spec.add_dependency "rubocop-discourse", "~> 3.2.0"
31
31
  spec.add_dependency "rubocop-gitlab-security", "~> 0.1.1"
32
- spec.add_dependency "rubocop-graphql", "~> 1.0.1"
33
- spec.add_dependency "rubocop-performance", "~> 1.16.0"
34
- spec.add_dependency "rubocop-rails", "~> 2.18.0"
32
+ spec.add_dependency "rubocop-graphql", "~> 1.2.0"
33
+ spec.add_dependency "rubocop-performance", "~> 1.18.0"
34
+ spec.add_dependency "rubocop-rails", "~> 2.19.1"
35
35
  spec.add_dependency "rubocop-rake", "~> 0.6.0"
36
- spec.add_dependency "rubocop-rspec", "~> 2.19.0"
36
+ spec.add_dependency "rubocop-rspec", "~> 2.22.0"
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: talkable-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2023.0315
4
+ version: 1.2023.0601
5
5
  platform: ruby
6
6
  authors:
7
7
  - Talkable
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.48.1
19
+ version: 1.51.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: 1.48.1
26
+ version: 1.51.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-capybara
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.17.1
33
+ version: 2.18.0
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.17.1
40
+ version: 2.18.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-discourse
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,42 +72,42 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.0.1
75
+ version: 1.2.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: 1.0.1
82
+ version: 1.2.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-performance
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.16.0
89
+ version: 1.18.0
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: 1.16.0
96
+ version: 1.18.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 2.18.0
103
+ version: 2.19.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: 2.18.0
110
+ version: 2.19.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop-rake
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 2.19.0
131
+ version: 2.22.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 2.19.0
138
+ version: 2.22.0
139
139
  description:
140
140
  email:
141
141
  - dev@talkable.com
@@ -152,6 +152,7 @@ files:
152
152
  - config/bundler.yml
153
153
  - config/capybara.yml
154
154
  - config/discourse.yml
155
+ - config/factory_bot.yml
155
156
  - config/gitlab-security.yml
156
157
  - config/graphql.yml
157
158
  - config/layout.yml
@@ -193,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
194
  - !ruby/object:Gem::Version
194
195
  version: '0'
195
196
  requirements: []
196
- rubygems_version: 3.4.8
197
+ rubygems_version: 3.4.13
197
198
  signing_key:
198
199
  specification_version: 4
199
200
  summary: Talkable style guides and shared style configs.