caliber 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data/LICENSE.adoc +214 -0
- data/README.adoc +117 -0
- data/caliber.gemspec +28 -21
- data/config/all.yml +5 -0
- data/config/performance.yml +42 -0
- data/config/rake.yml +1 -0
- data/config/rspec.yml +47 -0
- data/config/ruby.yml +388 -0
- data/lib/caliber.rb +4 -20
- data.tar.gz.sig +0 -0
- metadata +97 -50
- metadata.gz.sig +2 -0
- data/.gitignore +0 -11
- data/Gemfile +0 -17
- data/README.md +0 -35
- data/Rakefile +0 -33
- data/app/assets/javascripts/caliber/application.js +0 -1
- data/app/assets/javascripts/caliber/caliber.js +0 -28
- data/app/assets/javascripts/caliber/highlight.pack.js +0 -1
- data/app/assets/stylesheets/caliber/github.css +0 -125
- data/app/controllers/caliber/application_controller.rb +0 -4
- data/app/controllers/caliber/caliber_controller.rb +0 -56
- data/app/views/caliber/caliber/index.html.erb +0 -251
- data/app/views/layouts/caliber/application.html.erb +0 -22
- data/config/routes.rb +0 -4
- data/lib/caliber/engine.rb +0 -5
- data/lib/caliber/version.rb +0 -3
data/config/ruby.yml
ADDED
@@ -0,0 +1,388 @@
|
|
1
|
+
AllCops:
|
2
|
+
DisplayCopNames: true
|
3
|
+
Exclude:
|
4
|
+
- "db/schema.rb"
|
5
|
+
- "node_modules/**/*"
|
6
|
+
- "tmp/**/*"
|
7
|
+
- "vendor/**/*"
|
8
|
+
Bundler/InsecureProtocolSource:
|
9
|
+
AllowHttpProtocol: false
|
10
|
+
Gemspec/DateAssignment:
|
11
|
+
Enabled: true
|
12
|
+
Gemspec/RequireMFA:
|
13
|
+
Enabled: true
|
14
|
+
Layout/BeginEndAlignment:
|
15
|
+
Enabled: true
|
16
|
+
EnforcedStyleAlignWith: begin
|
17
|
+
Layout/CaseIndentation:
|
18
|
+
IndentOneStep: true
|
19
|
+
Layout/ClassStructure:
|
20
|
+
Enabled: true
|
21
|
+
Categories:
|
22
|
+
module_inclusion:
|
23
|
+
- extend
|
24
|
+
- include
|
25
|
+
- prepend
|
26
|
+
associations:
|
27
|
+
- belongs_to
|
28
|
+
- has_one
|
29
|
+
- has_many
|
30
|
+
ExpectedOrder:
|
31
|
+
- module_inclusion
|
32
|
+
- constants
|
33
|
+
- associations
|
34
|
+
- public_class_methods
|
35
|
+
- initializer
|
36
|
+
- public_methods
|
37
|
+
- protected_methods
|
38
|
+
- private_methods
|
39
|
+
Layout/CommentIndentation:
|
40
|
+
AllowForAlignment: true
|
41
|
+
Layout/EmptyLineAfterMultilineCondition:
|
42
|
+
Enabled: true
|
43
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
44
|
+
Enabled: true
|
45
|
+
AllowAliasSyntax: false
|
46
|
+
AllowedMethods: []
|
47
|
+
Layout/FirstArrayElementIndentation:
|
48
|
+
EnforcedStyle: consistent
|
49
|
+
Layout/FirstArrayElementLineBreak:
|
50
|
+
Enabled: true
|
51
|
+
Layout/FirstHashElementIndentation:
|
52
|
+
EnforcedStyle: consistent
|
53
|
+
Layout/FirstHashElementLineBreak:
|
54
|
+
Enabled: true
|
55
|
+
Layout/FirstMethodArgumentLineBreak:
|
56
|
+
Enabled: true
|
57
|
+
Layout/FirstMethodParameterLineBreak:
|
58
|
+
Enabled: true
|
59
|
+
Layout/LineEndStringConcatenationIndentation:
|
60
|
+
Enabled: true
|
61
|
+
IndentationWidth: 0
|
62
|
+
Layout/LineLength:
|
63
|
+
Max: 100
|
64
|
+
Layout/MultilineArrayLineBreaks:
|
65
|
+
Enabled: true
|
66
|
+
Layout/MultilineAssignmentLayout:
|
67
|
+
Enabled: true
|
68
|
+
EnforcedStyle: same_line
|
69
|
+
Layout/MultilineHashKeyLineBreaks:
|
70
|
+
Enabled: true
|
71
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
72
|
+
Enabled: true
|
73
|
+
Layout/RedundantLineBreak:
|
74
|
+
Enabled: true
|
75
|
+
InspectBlocks: true
|
76
|
+
Layout/SingleLineBlockChain:
|
77
|
+
Enabled: true
|
78
|
+
Layout/SpaceAroundMethodCallOperator:
|
79
|
+
Enabled: true
|
80
|
+
Layout/SpaceBeforeBrackets:
|
81
|
+
Enabled: true
|
82
|
+
Layout/SpaceInsideHashLiteralBraces:
|
83
|
+
EnforcedStyle: no_space
|
84
|
+
Layout/TrailingWhitespace:
|
85
|
+
AllowInHeredoc: false
|
86
|
+
Lint/AmbiguousAssignment:
|
87
|
+
Enabled: true
|
88
|
+
Lint/AmbiguousOperatorPrecedence:
|
89
|
+
Enabled: true
|
90
|
+
Lint/AmbiguousRange:
|
91
|
+
Enabled: true
|
92
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
93
|
+
Enabled: true
|
94
|
+
Lint/ConstantDefinitionInBlock:
|
95
|
+
Enabled: true
|
96
|
+
Lint/DeprecatedConstants:
|
97
|
+
Enabled: true
|
98
|
+
Lint/DeprecatedOpenSSLConstant:
|
99
|
+
Enabled: true
|
100
|
+
Lint/DuplicateBranch:
|
101
|
+
Enabled: true
|
102
|
+
Lint/DuplicateElsifCondition:
|
103
|
+
Enabled: true
|
104
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
105
|
+
Enabled: true
|
106
|
+
Lint/DuplicateRescueException:
|
107
|
+
Enabled: true
|
108
|
+
Lint/DuplicateRequire:
|
109
|
+
Enabled: true
|
110
|
+
Lint/ElseLayout:
|
111
|
+
Enabled: false
|
112
|
+
Lint/EmptyBlock:
|
113
|
+
Enabled: true
|
114
|
+
AllowComments: false
|
115
|
+
AllowEmptyLambdas: false
|
116
|
+
Lint/EmptyClass:
|
117
|
+
Enabled: true
|
118
|
+
Lint/EmptyConditionalBody:
|
119
|
+
Enabled: true
|
120
|
+
Lint/EmptyFile:
|
121
|
+
Enabled: true
|
122
|
+
AllowComments: false
|
123
|
+
Lint/EmptyInPattern:
|
124
|
+
Enabled: true
|
125
|
+
AllowComments: false
|
126
|
+
Lint/EmptyWhen:
|
127
|
+
AllowComments: false
|
128
|
+
Lint/FloatComparison:
|
129
|
+
Enabled: true
|
130
|
+
Lint/HashCompareByIdentity:
|
131
|
+
Enabled: true
|
132
|
+
Lint/IdentityComparison:
|
133
|
+
Enabled: true
|
134
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
135
|
+
Enabled: true
|
136
|
+
Lint/LambdaWithoutLiteralBlock:
|
137
|
+
Enabled: true
|
138
|
+
Lint/MissingSuper:
|
139
|
+
Enabled: true
|
140
|
+
Lint/MixedRegexpCaptureTypes:
|
141
|
+
Enabled: true
|
142
|
+
Lint/NoReturnInBeginEndBlocks:
|
143
|
+
Enabled: true
|
144
|
+
Lint/NumberedParameterAssignment:
|
145
|
+
Enabled: true
|
146
|
+
Lint/OrAssignmentToConstant:
|
147
|
+
Enabled: true
|
148
|
+
Lint/RaiseException:
|
149
|
+
Enabled: true
|
150
|
+
Lint/RedundantDirGlobSort:
|
151
|
+
Enabled: true
|
152
|
+
Lint/RedundantSafeNavigation:
|
153
|
+
Enabled: true
|
154
|
+
Lint/RequireRelativeSelfPath:
|
155
|
+
Enabled: true
|
156
|
+
Lint/SelfAssignment:
|
157
|
+
Enabled: true
|
158
|
+
Lint/StructNewOverride:
|
159
|
+
Enabled: true
|
160
|
+
Lint/SymbolConversion:
|
161
|
+
Enabled: true
|
162
|
+
Lint/ToEnumArguments:
|
163
|
+
Enabled: true
|
164
|
+
Lint/TopLevelReturnWithArgument:
|
165
|
+
Enabled: true
|
166
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
167
|
+
Enabled: true
|
168
|
+
Lint/TripleQuotes:
|
169
|
+
Enabled: true
|
170
|
+
Lint/OutOfRangeRegexpRef:
|
171
|
+
Enabled: true
|
172
|
+
Lint/UnexpectedBlockArity:
|
173
|
+
Enabled: true
|
174
|
+
Lint/UnmodifiedReduceAccumulator:
|
175
|
+
Enabled: true
|
176
|
+
Lint/UnreachableLoop:
|
177
|
+
Enabled: true
|
178
|
+
Lint/UselessMethodDefinition:
|
179
|
+
Enabled: true
|
180
|
+
AllowComments: false
|
181
|
+
Lint/UselessRuby2Keywords:
|
182
|
+
Enabled: true
|
183
|
+
Lint/UselessTimes:
|
184
|
+
Enabled: true
|
185
|
+
Lint/Void:
|
186
|
+
CheckForMethodsWithNoSideEffects: true
|
187
|
+
Metrics/BlockLength:
|
188
|
+
IgnoredMethods:
|
189
|
+
- ips
|
190
|
+
- refine
|
191
|
+
Exclude:
|
192
|
+
- "**/*.gemspec"
|
193
|
+
- "spec/**/*"
|
194
|
+
Metrics/ParameterLists:
|
195
|
+
Max: 3
|
196
|
+
Naming/BlockForwarding:
|
197
|
+
Enabled: true
|
198
|
+
Naming/InclusiveLanguage:
|
199
|
+
Enabled: true
|
200
|
+
Naming/MethodName:
|
201
|
+
IgnoredPatterns:
|
202
|
+
- Array
|
203
|
+
- BigDecimal
|
204
|
+
- Complex
|
205
|
+
- Float
|
206
|
+
- Hash
|
207
|
+
- Integer
|
208
|
+
- JSON
|
209
|
+
- Pathname
|
210
|
+
- Rational
|
211
|
+
- String
|
212
|
+
- URI
|
213
|
+
- Version
|
214
|
+
Naming/RescuedExceptionsVariableName:
|
215
|
+
PreferredName: error
|
216
|
+
Naming/VariableNumber:
|
217
|
+
EnforcedStyle: snake_case
|
218
|
+
AllowedIdentifiers:
|
219
|
+
- capture3
|
220
|
+
Naming/MethodParameterName:
|
221
|
+
AllowNamesEndingInNumbers: false
|
222
|
+
Security/IoMethods:
|
223
|
+
Enabled: true
|
224
|
+
Style/AccessorGrouping:
|
225
|
+
Enabled: true
|
226
|
+
Style/ArgumentsForwarding:
|
227
|
+
Enabled: false
|
228
|
+
Style/ArrayCoercion:
|
229
|
+
Enabled: true
|
230
|
+
Style/AndOr:
|
231
|
+
EnforcedStyle: conditionals
|
232
|
+
Style/AutoResourceCleanup:
|
233
|
+
Enabled: true
|
234
|
+
Style/BisectedAttrAccessor:
|
235
|
+
Enabled: true
|
236
|
+
Style/CaseLikeIf:
|
237
|
+
Enabled: true
|
238
|
+
Style/ClassEqualityComparison:
|
239
|
+
Enabled: true
|
240
|
+
Style/ClassMethodsDefinitions:
|
241
|
+
Enabled: true
|
242
|
+
Style/CombinableLoops:
|
243
|
+
Enabled: true
|
244
|
+
Style/CollectionCompact:
|
245
|
+
Enabled: true
|
246
|
+
Style/CollectionMethods:
|
247
|
+
Enabled: true
|
248
|
+
Style/Documentation:
|
249
|
+
Enabled: false
|
250
|
+
Style/DocumentDynamicEvalDefinition:
|
251
|
+
Enabled: false
|
252
|
+
Style/DoubleNegation:
|
253
|
+
EnforcedStyle: forbidden
|
254
|
+
Style/EmptyLiteral:
|
255
|
+
Enabled: false
|
256
|
+
Style/EmptyMethod:
|
257
|
+
EnforcedStyle: expanded
|
258
|
+
Style/EndlessMethod:
|
259
|
+
Enabled: true
|
260
|
+
Style/ExplicitBlockArgument:
|
261
|
+
Enabled: false
|
262
|
+
Style/ExponentialNotation:
|
263
|
+
Enabled: true
|
264
|
+
Style/FileRead:
|
265
|
+
Enabled: true
|
266
|
+
Style/FileWrite:
|
267
|
+
Enabled: true
|
268
|
+
Style/FormatStringToken:
|
269
|
+
EnforcedStyle: template
|
270
|
+
Style/GlobalStdStream:
|
271
|
+
Enabled: false
|
272
|
+
Style/HashAsLastArrayItem:
|
273
|
+
Enabled: true
|
274
|
+
Style/HashConversion:
|
275
|
+
Enabled: true
|
276
|
+
Style/HashEachMethods:
|
277
|
+
Enabled: true
|
278
|
+
Style/HashExcept:
|
279
|
+
Enabled: true
|
280
|
+
Style/HashLikeCase:
|
281
|
+
Enabled: true
|
282
|
+
MinBranchesCount: 2
|
283
|
+
Style/HashTransformKeys:
|
284
|
+
Enabled: true
|
285
|
+
Style/HashTransformValues:
|
286
|
+
Enabled: true
|
287
|
+
Style/IfWithBooleanLiteralBranches:
|
288
|
+
Enabled: true
|
289
|
+
Style/ImplicitRuntimeError:
|
290
|
+
Enabled: true
|
291
|
+
Style/InPatternThen:
|
292
|
+
Enabled: true
|
293
|
+
Style/IpAddresses:
|
294
|
+
Enabled: true
|
295
|
+
Style/KeywordParametersOrder:
|
296
|
+
Enabled: true
|
297
|
+
Style/MapToHash:
|
298
|
+
Enabled: true
|
299
|
+
Style/MethodCalledOnDoEndBlock:
|
300
|
+
Enabled: true
|
301
|
+
Style/MethodCallWithArgsParentheses:
|
302
|
+
Enabled: true
|
303
|
+
EnforcedStyle: omit_parentheses
|
304
|
+
AllowParenthesesInChaining: true
|
305
|
+
AllowParenthesesInMultilineCall: true
|
306
|
+
IgnoreMacros: false
|
307
|
+
Style/MethodDefParentheses:
|
308
|
+
EnforcedStyle: require_no_parentheses
|
309
|
+
Style/MissingElse:
|
310
|
+
Enabled: true
|
311
|
+
Style/MultilineInPatternThen:
|
312
|
+
Enabled: true
|
313
|
+
Style/MultilineMethodSignature:
|
314
|
+
Enabled: true
|
315
|
+
Style/NegatedIfElseCondition:
|
316
|
+
Enabled: true
|
317
|
+
Style/NilLambda:
|
318
|
+
Enabled: true
|
319
|
+
Style/NumberedParameters:
|
320
|
+
Enabled: true
|
321
|
+
EnforcedStyle: disallow
|
322
|
+
Style/NumberedParametersLimit:
|
323
|
+
Enabled: true
|
324
|
+
Style/NumericLiterals:
|
325
|
+
Enabled: false
|
326
|
+
Style/OptionalBooleanParameter:
|
327
|
+
Enabled: true
|
328
|
+
Style/OptionHash:
|
329
|
+
Enabled: true
|
330
|
+
Style/OpenStructUse:
|
331
|
+
Enabled: true
|
332
|
+
Style/PercentLiteralDelimiters:
|
333
|
+
PreferredDelimiters:
|
334
|
+
"%w": "[]"
|
335
|
+
"%W": "[]"
|
336
|
+
"%i": "[]"
|
337
|
+
"%I": "[]"
|
338
|
+
"%r": "()"
|
339
|
+
Style/QuotedSymbols:
|
340
|
+
Enabled: true
|
341
|
+
Style/RedundantArgument:
|
342
|
+
Enabled: true
|
343
|
+
Style/RedundantAssignment:
|
344
|
+
Enabled: true
|
345
|
+
Style/RedundantSelfAssignment:
|
346
|
+
Enabled: true
|
347
|
+
Style/RedundantSelfAssignmentBranch:
|
348
|
+
Enabled: true
|
349
|
+
Style/RedundantFetchBlock:
|
350
|
+
Enabled: true
|
351
|
+
Style/RedundantFileExtensionInRequire:
|
352
|
+
Enabled: true
|
353
|
+
Style/RedundantRegexpCharacterClass:
|
354
|
+
Enabled: true
|
355
|
+
Style/RedundantRegexpEscape:
|
356
|
+
Enabled: true
|
357
|
+
Style/ReturnNil:
|
358
|
+
Enabled: true
|
359
|
+
Style/SafeNavigation:
|
360
|
+
Enabled: false
|
361
|
+
Style/SelectByRegexp:
|
362
|
+
Enabled: true
|
363
|
+
Style/Send:
|
364
|
+
Enabled: true
|
365
|
+
Style/SignalException:
|
366
|
+
EnforcedStyle: semantic
|
367
|
+
Style/SingleArgumentDig:
|
368
|
+
Enabled: true
|
369
|
+
Style/SlicingWithRange:
|
370
|
+
Enabled: true
|
371
|
+
Style/SoleNestedConditional:
|
372
|
+
Enabled: true
|
373
|
+
Style/StaticClass:
|
374
|
+
Enabled: true
|
375
|
+
Style/StringChars:
|
376
|
+
Enabled: true
|
377
|
+
Style/StringConcatenation:
|
378
|
+
Enabled: false
|
379
|
+
Style/StringLiterals:
|
380
|
+
EnforcedStyle: double_quotes
|
381
|
+
Style/StringLiteralsInInterpolation:
|
382
|
+
EnforcedStyle: double_quotes
|
383
|
+
Style/StringMethods:
|
384
|
+
Enabled: true
|
385
|
+
Style/SwapValues:
|
386
|
+
Enabled: true
|
387
|
+
Style/SymbolArray:
|
388
|
+
Enabled: true
|
data/lib/caliber.rb
CHANGED
@@ -1,23 +1,7 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
begin
|
6
|
-
require 'rails/application/route_inspector'
|
7
|
-
ROUTE_INSPECTOR = Rails::Application::RouteInspector.new
|
8
|
-
rescue LoadError
|
9
|
-
require 'action_dispatch/routing/inspector'
|
10
|
-
ROUTE_INSPECTOR = ActionDispatch::Routing::RoutesInspector.new([])
|
11
|
-
end
|
12
|
-
|
13
|
-
def self.format_routes(routes = all_routes)
|
14
|
-
# ActionDispatch::Routing::RoutesInspector.new.collect_routes(_routes.routes)
|
15
|
-
ROUTE_INSPECTOR.send :collect_routes, routes
|
16
|
-
end
|
3
|
+
require "rubocop"
|
17
4
|
|
18
|
-
|
19
|
-
|
20
|
-
Rails.application.routes.routes
|
21
|
-
end
|
5
|
+
# Main namespace.
|
6
|
+
module Caliber
|
22
7
|
end
|
23
|
-
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,103 +1,150 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caliber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- Brooke Kuhlmann
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIC/jCCAeagAwIBAgIBBDANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
|
14
|
+
a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMTAzMTkxMjQ4MDZaFw0yMjAzMTkx
|
15
|
+
MjQ4MDZaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
|
16
|
+
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
|
17
|
+
xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
|
18
|
+
brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
|
19
|
+
9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
|
20
|
+
D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
|
21
|
+
3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
|
22
|
+
AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
|
23
|
+
2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAEjpaOXHHp8s/7GL2qCb
|
24
|
+
YAs7urOLv9VHSPfQWAwaTMVnSsIf3Sw4xzISOP/mmfEPBPXtz61K5esrE/uTFtgb
|
25
|
+
FyjxQk2H0sEWgrRXGGNHBWQRhhEs7LP/TByoC15A0br++xLxRz4r7HBLGAWQQDpg
|
26
|
+
66BJ2TBVjxS6K64tKbq7+ACyrOZGgTfNHACh4M076y0x0oRf/rwBrU39/KRfuhbb
|
27
|
+
cm+nNCEtO35gTmZ2bVDHLGvWazi3gJt6+huQjfXTCUUG2YYBxwhu+GPdAGQPxpf9
|
28
|
+
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
|
+
W2A=
|
30
|
+
-----END CERTIFICATE-----
|
31
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
32
|
dependencies:
|
13
33
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
34
|
+
name: refinements
|
15
35
|
requirement: !ruby/object:Gem::Requirement
|
16
36
|
requirements:
|
17
|
-
- -
|
37
|
+
- - "~>"
|
18
38
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
39
|
+
version: '9.1'
|
20
40
|
type: :runtime
|
21
41
|
prerelease: false
|
22
42
|
version_requirements: !ruby/object:Gem::Requirement
|
23
43
|
requirements:
|
24
|
-
- -
|
44
|
+
- - "~>"
|
25
45
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
46
|
+
version: '9.1'
|
27
47
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
48
|
+
name: rubocop
|
29
49
|
requirement: !ruby/object:Gem::Requirement
|
30
50
|
requirements:
|
31
|
-
- -
|
51
|
+
- - "~>"
|
32
52
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
53
|
+
version: '1.25'
|
34
54
|
type: :runtime
|
35
55
|
prerelease: false
|
36
56
|
version_requirements: !ruby/object:Gem::Requirement
|
37
57
|
requirements:
|
38
|
-
- -
|
58
|
+
- - "~>"
|
39
59
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
60
|
+
version: '1.25'
|
41
61
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
62
|
+
name: rubocop-performance
|
43
63
|
requirement: !ruby/object:Gem::Requirement
|
44
64
|
requirements:
|
45
|
-
- -
|
65
|
+
- - "~>"
|
46
66
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
-
type: :
|
67
|
+
version: '1.12'
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.12'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rubocop-rake
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0.6'
|
82
|
+
type: :runtime
|
49
83
|
prerelease: false
|
50
84
|
version_requirements: !ruby/object:Gem::Requirement
|
51
85
|
requirements:
|
52
|
-
- -
|
86
|
+
- - "~>"
|
53
87
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
|
88
|
+
version: '0.6'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rubocop-rspec
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '2.6'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '2.6'
|
103
|
+
description:
|
56
104
|
email:
|
57
|
-
-
|
105
|
+
- brooke@alchemists.io
|
58
106
|
executables: []
|
59
107
|
extensions: []
|
60
|
-
extra_rdoc_files:
|
108
|
+
extra_rdoc_files:
|
109
|
+
- README.adoc
|
110
|
+
- LICENSE.adoc
|
61
111
|
files:
|
62
|
-
- .
|
63
|
-
-
|
64
|
-
- README.md
|
65
|
-
- Rakefile
|
66
|
-
- app/assets/javascripts/caliber/application.js
|
67
|
-
- app/assets/javascripts/caliber/caliber.js
|
68
|
-
- app/assets/javascripts/caliber/highlight.pack.js
|
69
|
-
- app/assets/stylesheets/caliber/github.css
|
70
|
-
- app/controllers/caliber/application_controller.rb
|
71
|
-
- app/controllers/caliber/caliber_controller.rb
|
72
|
-
- app/views/caliber/caliber/index.html.erb
|
73
|
-
- app/views/layouts/caliber/application.html.erb
|
112
|
+
- LICENSE.adoc
|
113
|
+
- README.adoc
|
74
114
|
- caliber.gemspec
|
75
|
-
- config/
|
115
|
+
- config/all.yml
|
116
|
+
- config/performance.yml
|
117
|
+
- config/rake.yml
|
118
|
+
- config/rspec.yml
|
119
|
+
- config/ruby.yml
|
76
120
|
- lib/caliber.rb
|
77
|
-
|
78
|
-
- lib/caliber/version.rb
|
79
|
-
homepage: https://github.com/antulik/caliber
|
121
|
+
homepage: https://www.alchemists.io/projects/caliber
|
80
122
|
licenses:
|
81
|
-
-
|
82
|
-
metadata:
|
83
|
-
|
123
|
+
- Hippocratic-3.0
|
124
|
+
metadata:
|
125
|
+
bug_tracker_uri: https://github.com/bkuhlmann/caliber/issues
|
126
|
+
changelog_uri: https://www.alchemists.io/projects/caliber/versions
|
127
|
+
documentation_uri: https://www.alchemists.io/projects/caliber
|
128
|
+
label: Caliber
|
129
|
+
rubygems_mfa_required: 'true'
|
130
|
+
source_code_uri: https://github.com/bkuhlmann/caliber
|
131
|
+
post_install_message:
|
84
132
|
rdoc_options: []
|
85
133
|
require_paths:
|
86
134
|
- lib
|
87
135
|
required_ruby_version: !ruby/object:Gem::Requirement
|
88
136
|
requirements:
|
89
|
-
- -
|
137
|
+
- - "~>"
|
90
138
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
139
|
+
version: '3.1'
|
92
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
141
|
requirements:
|
94
|
-
- -
|
142
|
+
- - ">="
|
95
143
|
- !ruby/object:Gem::Version
|
96
144
|
version: '0'
|
97
145
|
requirements: []
|
98
|
-
|
99
|
-
|
100
|
-
signing_key:
|
146
|
+
rubygems_version: 3.3.6
|
147
|
+
signing_key:
|
101
148
|
specification_version: 4
|
102
|
-
summary:
|
149
|
+
summary: Provides a high quality style guide and configuration for your projects.
|
103
150
|
test_files: []
|
metadata.gz.sig
ADDED
data/.gitignore
DELETED
data/Gemfile
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
rails_version = ENV["RAILS_VERSION"] || "default"
|
4
|
-
|
5
|
-
rails = case rails_version
|
6
|
-
when "master"
|
7
|
-
{github: "rails/rails"}
|
8
|
-
when "default"
|
9
|
-
">= 3.2"
|
10
|
-
else
|
11
|
-
"~> #{rails_version}"
|
12
|
-
end
|
13
|
-
|
14
|
-
gem "rails", rails
|
15
|
-
|
16
|
-
|
17
|
-
gemspec
|
data/README.md
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
# Caliber
|
2
|
-
|
3
|
-
## What
|
4
|
-
|
5
|
-
Show CSS classes in your Rails application while working in development. Visit `http://localhost:3000/rails/info/css` and you can browse you application CSS files.
|
6
|
-
|
7
|
-
![Caliber Gem](http://cl.ly/image/201k050E1c0X/Image%202014-03-11%20at%207.45.52%20pm.png)
|
8
|
-
|
9
|
-
|
10
|
-
## Why?
|
11
|
-
|
12
|
-
Sometimes you would like to have a convenient way to search stylesheets in your application. That could be because you are using external libraries or SCSS mixins compile to a list of classes. Caliber gives you an easy interface to browse all CSS rules in your Rails application.
|
13
|
-
|
14
|
-
## Install
|
15
|
-
|
16
|
-
Add this to the development group in your Gemfile
|
17
|
-
|
18
|
-
```ruby
|
19
|
-
group :development do
|
20
|
-
gem 'caliber'
|
21
|
-
end
|
22
|
-
```
|
23
|
-
|
24
|
-
Then run `bundle install` and you're ready to start
|
25
|
-
|
26
|
-
## Use
|
27
|
-
|
28
|
-
Visit `/rails/info/css` in your app and you'll see your stylesheets. It's that simple.
|
29
|
-
|
30
|
-
|
31
|
-
## About
|
32
|
-
|
33
|
-
If you have a question file an issue or find me on the Twitters [@antulik](http://twitter.com/antulik).
|
34
|
-
|
35
|
-
This project rocks and uses MIT-LICENSE.
|