caliber 0.57.0 → 0.58.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +0 -21
- data/caliber.gemspec +3 -2
- data/config/all.yml +0 -1
- data/config/rspec.yml +0 -76
- data.tar.gz.sig +0 -0
- metadata +18 -5
- metadata.gz.sig +0 -0
- data/config/factory_bot.yml +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f33965224edb398e57a6d1ebcce48fd5589c8c42b6efbf25f43a33d0c9a2ba9
|
|
4
|
+
data.tar.gz: b4914a63594630419a29bcd6f3b5f63af8f0d058c456d94218b36edb47941398
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa11f79f23b054eb6c5ea79314a5a1bd2f2d9986c0a501ef8738d31be4fd96d5b92b17e510120ec0e13dade3624ddb1e07e27f7cd81a733b8f0aa00ae63025a6
|
|
7
|
+
data.tar.gz: e49e9c13e40c5b8ff16b30e6d50ba9d4d84f72236467aa1ec14a1704279499bc9bf47e2a7e5126eec3875eb967cfea0fa9f5176f547fd38ccde1713a398761b6
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/README.adoc
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
:rubocop_capybara_link: link:https://docs.rubocop.org/rubocop-capybara[RuboCop Capybara]
|
|
6
6
|
:rubocop_disable_syntax_link: link:https://github.com/fatkodima/rubocop-disable_syntax[RuboCop Disable Syntax]
|
|
7
|
-
:rubocop_factory_bot_link: link:https://docs.rubocop.org/rubocop-factory_bot/[RuboCop FactoryBot]
|
|
8
7
|
:rubocop_link: link:https://docs.rubocop.org/rubocop[RuboCop]
|
|
9
8
|
:rubocop_packaging_link: link:https://docs.rubocop.org/rubocop-packaging[RuboCop Packaging]
|
|
10
9
|
:rubocop_performance_link: link:https://docs.rubocop.org/rubocop-performance[RuboCop Performance]
|
|
@@ -28,7 +27,6 @@ toc::[]
|
|
|
28
27
|
** {rubocop_link}
|
|
29
28
|
** {rubocop_capybara_link}
|
|
30
29
|
** {rubocop_disable_syntax_link}
|
|
31
|
-
** {rubocop_factory_bot_link}
|
|
32
30
|
** {rubocop_packaging_link}
|
|
33
31
|
** {rubocop_performance_link}
|
|
34
32
|
** {rubocop_thread_safety_link}
|
|
@@ -97,7 +95,6 @@ inherit_gem:
|
|
|
97
95
|
- config/ruby.yml
|
|
98
96
|
- config/capybara.yml
|
|
99
97
|
- config/disable_syntax.yml
|
|
100
|
-
- config/factory_bot.yml
|
|
101
98
|
- config/packaging.yml
|
|
102
99
|
- config/performance.yml
|
|
103
100
|
- config/thread.yml
|
|
@@ -123,7 +120,6 @@ The above will require and load the configurations for following gems:
|
|
|
123
120
|
* {rubocop_link}
|
|
124
121
|
* {rubocop_capybara_link}
|
|
125
122
|
* {rubocop_disable_syntax_link}
|
|
126
|
-
* {rubocop_factory_bot_link}
|
|
127
123
|
* {rubocop_packaging_link}
|
|
128
124
|
* {rubocop_performance_link}
|
|
129
125
|
* {rubocop_thread_safety_link}
|
|
@@ -167,19 +163,6 @@ inherit_gem:
|
|
|
167
163
|
|
|
168
164
|
The above will only require the {rubocop_disable_syntax_link} gem _and_ load the associated configuration.
|
|
169
165
|
|
|
170
|
-
*FactoryBot*
|
|
171
|
-
|
|
172
|
-
[source,yaml]
|
|
173
|
-
----
|
|
174
|
-
inherit_gem:
|
|
175
|
-
caliber:
|
|
176
|
-
- config/factory_bot.yml
|
|
177
|
-
----
|
|
178
|
-
|
|
179
|
-
The above will only require the {rubocop_factory_bot_link} gem _and_ load the associated configuration.
|
|
180
|
-
|
|
181
|
-
💡 This is a dependency of {rubocop_rspec_link} so doesn't need to be directly required if already requiring {rubocop_rspec_link}.
|
|
182
|
-
|
|
183
166
|
*Packaging*
|
|
184
167
|
|
|
185
168
|
[source,yaml]
|
|
@@ -255,7 +238,6 @@ inherit_from:
|
|
|
255
238
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/ruby.yml
|
|
256
239
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/capybara.yml
|
|
257
240
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/disable_syntax.yml
|
|
258
|
-
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/factory_bot.yml
|
|
259
241
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/packaging.yml
|
|
260
242
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/performance.yml
|
|
261
243
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/thread.yml
|
|
@@ -270,7 +252,6 @@ Lastly, when using this YAML import approach, you'll not benefit from having all
|
|
|
270
252
|
* {rubocop_link}
|
|
271
253
|
* {rubocop_capybara_link}
|
|
272
254
|
* {rubocop_disable_syntax_link}
|
|
273
|
-
* {rubocop_factory_bot_link}
|
|
274
255
|
* {rubocop_packaging_link}
|
|
275
256
|
* {rubocop_performance_link}
|
|
276
257
|
* {rubocop_thread_safety_link}
|
|
@@ -343,7 +324,6 @@ When both RuboCop and Caliber are in sync, the following will be output:
|
|
|
343
324
|
RUBY: ✓
|
|
344
325
|
CAPYBARA: ✓
|
|
345
326
|
DISABLE_SYNTAX: ✓
|
|
346
|
-
FACTORY_BOT: ✓
|
|
347
327
|
PACKAGING: ✓
|
|
348
328
|
PERFORMANCE: ✓
|
|
349
329
|
THREAD: ✓
|
|
@@ -360,7 +340,6 @@ RUBY:
|
|
|
360
340
|
* Lint/ConstantDefinitionInBlock
|
|
361
341
|
CAPYBARA: ✓
|
|
362
342
|
DISABLE_SYNTAX: ✓
|
|
363
|
-
FACTORY_BOT: ✓
|
|
364
343
|
PACKAGING: ✓
|
|
365
344
|
PERFORMANCE: ✓
|
|
366
345
|
THREAD: ✓
|
data/caliber.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = "caliber"
|
|
5
|
-
spec.version = "0.
|
|
5
|
+
spec.version = "0.58.0"
|
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
|
8
8
|
spec.homepage = "https://alchemists.io/projects/caliber"
|
|
@@ -24,11 +24,12 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
|
|
25
25
|
spec.required_ruby_version = "~> 3.3"
|
|
26
26
|
spec.add_dependency "rubocop", "~> 1.64"
|
|
27
|
+
spec.add_dependency "rubocop-capybara", "~> 2.21"
|
|
27
28
|
spec.add_dependency "rubocop-disable_syntax", "~> 0.1"
|
|
28
29
|
spec.add_dependency "rubocop-packaging", "~> 0.5"
|
|
29
30
|
spec.add_dependency "rubocop-performance", "~> 1.21"
|
|
30
31
|
spec.add_dependency "rubocop-rake", "~> 0.6"
|
|
31
|
-
spec.add_dependency "rubocop-rspec", "~>
|
|
32
|
+
spec.add_dependency "rubocop-rspec", "~> 3.0"
|
|
32
33
|
spec.add_dependency "rubocop-thread_safety", "~> 0.5"
|
|
33
34
|
|
|
34
35
|
spec.bindir = "exe"
|
data/config/all.yml
CHANGED
data/config/rspec.yml
CHANGED
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
require: rubocop-rspec
|
|
2
2
|
|
|
3
|
-
RSpec/BeEmpty:
|
|
4
|
-
Enabled: true
|
|
5
|
-
RSpec/BeEq:
|
|
6
|
-
Enabled: true
|
|
7
3
|
RSpec/BeNil:
|
|
8
|
-
Enabled: true
|
|
9
4
|
EnforcedStyle: be
|
|
10
|
-
RSpec/ChangeByZero:
|
|
11
|
-
Enabled: true
|
|
12
|
-
RSpec/ClassCheck:
|
|
13
|
-
Enabled: true
|
|
14
|
-
RSpec/ContainExactly:
|
|
15
|
-
Enabled: true
|
|
16
5
|
RSpec/ContextWording:
|
|
17
6
|
Prefixes:
|
|
18
7
|
- when
|
|
@@ -42,76 +31,11 @@ RSpec/Dialect:
|
|
|
42
31
|
shared_examples_for: shared_examples
|
|
43
32
|
specify: it
|
|
44
33
|
subject!: subject
|
|
45
|
-
RSpec/DuplicatedMetadata:
|
|
46
|
-
Enabled: true
|
|
47
|
-
RSpec/EmptyMetadata:
|
|
48
|
-
Enabled: true
|
|
49
|
-
RSpec/EmptyOutput:
|
|
50
|
-
Enabled: true
|
|
51
34
|
RSpec/ExampleLength:
|
|
52
35
|
Max: 10
|
|
53
36
|
CountAsOne:
|
|
54
37
|
- array
|
|
55
38
|
- hash
|
|
56
39
|
- heredoc
|
|
57
|
-
RSpec/ExcessiveDocstringSpacing:
|
|
58
|
-
Enabled: true
|
|
59
|
-
RSpec/Eq:
|
|
60
|
-
Enabled: true
|
|
61
|
-
RSpec/ExpectInLet:
|
|
62
|
-
Enabled: true
|
|
63
|
-
RSpec/FilePath:
|
|
64
|
-
Enabled: false
|
|
65
|
-
RSpec/IdenticalEqualityAssertion:
|
|
66
|
-
Enabled: true
|
|
67
|
-
RSpec/IndexedLet:
|
|
68
|
-
Enabled: true
|
|
69
|
-
RSpec/IsExpectedSpecify:
|
|
70
|
-
Enabled: true
|
|
71
|
-
RSpec/MatchArray:
|
|
72
|
-
Enabled: true
|
|
73
|
-
RSpec/MetadataStyle:
|
|
74
|
-
Enabled: true
|
|
75
40
|
RSpec/NamedSubject:
|
|
76
41
|
IgnoreSharedExamples: false
|
|
77
|
-
RSpec/NoExpectationExample:
|
|
78
|
-
Enabled: true
|
|
79
|
-
RSpec/PendingWithoutReason:
|
|
80
|
-
Enabled: true
|
|
81
|
-
RSpec/ReceiveMessages:
|
|
82
|
-
Enabled: true
|
|
83
|
-
RSpec/RedundantAround:
|
|
84
|
-
Enabled: true
|
|
85
|
-
RSpec/RedundantPredicateMatcher:
|
|
86
|
-
Enabled: true
|
|
87
|
-
RSpec/RemoveConst:
|
|
88
|
-
Enabled: true
|
|
89
|
-
RSpec/RepeatedSubjectCall:
|
|
90
|
-
Enabled: true
|
|
91
|
-
RSpecRails/AvoidSetupHook:
|
|
92
|
-
Enabled: true
|
|
93
|
-
RSpecRails/HaveHttpStatus:
|
|
94
|
-
Enabled: true
|
|
95
|
-
RSpecRails/InferredSpecType:
|
|
96
|
-
Enabled: true
|
|
97
|
-
RSpecRails/MinitestAssertions:
|
|
98
|
-
Enabled: true
|
|
99
|
-
RSpecRails/NegationBeValid:
|
|
100
|
-
Enabled: true
|
|
101
|
-
EnforcedStyle: be_invalid
|
|
102
|
-
RSpecRails/TravelAround:
|
|
103
|
-
Enabled: true
|
|
104
|
-
RSpec/SkipBlockInsideExample:
|
|
105
|
-
Enabled: true
|
|
106
|
-
RSpec/SortMetadata:
|
|
107
|
-
Enabled: true
|
|
108
|
-
RSpec/SpecFilePathFormat:
|
|
109
|
-
Enabled: true
|
|
110
|
-
RSpec/SpecFilePathSuffix:
|
|
111
|
-
Enabled: true
|
|
112
|
-
RSpec/SubjectDeclaration:
|
|
113
|
-
Enabled: true
|
|
114
|
-
RSpec/UndescriptiveLiteralsDescription:
|
|
115
|
-
Enabled: true
|
|
116
|
-
RSpec/VerifiedDoubleReference:
|
|
117
|
-
Enabled: true
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: caliber
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.58.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brooke Kuhlmann
|
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date: 2024-06-
|
|
38
|
+
date: 2024-06-11 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: rubocop
|
|
@@ -51,6 +51,20 @@ dependencies:
|
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '1.64'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: rubocop-capybara
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '2.21'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '2.21'
|
|
54
68
|
- !ruby/object:Gem::Dependency
|
|
55
69
|
name: rubocop-disable_syntax
|
|
56
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -113,14 +127,14 @@ dependencies:
|
|
|
113
127
|
requirements:
|
|
114
128
|
- - "~>"
|
|
115
129
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '
|
|
130
|
+
version: '3.0'
|
|
117
131
|
type: :runtime
|
|
118
132
|
prerelease: false
|
|
119
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
120
134
|
requirements:
|
|
121
135
|
- - "~>"
|
|
122
136
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: '
|
|
137
|
+
version: '3.0'
|
|
124
138
|
- !ruby/object:Gem::Dependency
|
|
125
139
|
name: rubocop-thread_safety
|
|
126
140
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -151,7 +165,6 @@ files:
|
|
|
151
165
|
- config/all.yml
|
|
152
166
|
- config/capybara.yml
|
|
153
167
|
- config/disable_syntax.yml
|
|
154
|
-
- config/factory_bot.yml
|
|
155
168
|
- config/packaging.yml
|
|
156
169
|
- config/performance.yml
|
|
157
170
|
- config/rake.yml
|
metadata.gz.sig
CHANGED
|
Binary file
|
data/config/factory_bot.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
require: rubocop-factory_bot
|
|
2
|
-
|
|
3
|
-
FactoryBot/AssociationStyle:
|
|
4
|
-
Enabled: true
|
|
5
|
-
FactoryBot/ConsistentParenthesesStyle:
|
|
6
|
-
Enabled: true
|
|
7
|
-
EnforcedStyle: omit_parentheses
|
|
8
|
-
FactoryBot/ExcessiveCreateList:
|
|
9
|
-
Enabled: true
|
|
10
|
-
MaxAmount: 5
|
|
11
|
-
FactoryBot/FactoryAssociationWithStrategy:
|
|
12
|
-
Enabled: true
|
|
13
|
-
FactoryBot/FactoryNameStyle:
|
|
14
|
-
Enabled: true
|
|
15
|
-
FactoryBot/IdSequence:
|
|
16
|
-
Enabled: true
|
|
17
|
-
FactoryBot/RedundantFactoryOption:
|
|
18
|
-
Enabled: true
|
|
19
|
-
FactoryBot/SyntaxMethods:
|
|
20
|
-
Enabled: false
|