shimmer 0.0.44 → 0.0.45
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
- data/.editorconfig +1 -1
- data/.rubocop.yml +2 -0
- data/Gemfile.lock +34 -27
- data/README.md +4 -2
- data/config/rubocop_base.yml +4 -0
- data/config/rubocop_extensions/graphql.yml +1 -1
- data/config/rubocop_extensions/rails.yml +1 -1
- data/config/rubocop_extensions/{rspec.yml → rspec-core.yml} +6 -1
- data/lib/shimmer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 292b3d394b60578890364b1d2b98d8d65b23646eaf4a3afb8c4fd8c36fb7e904
|
|
4
|
+
data.tar.gz: d033a360d6654b7dcf2c275ae18efd2ecff648f8fcbc498699c021cb45d52f0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca7b1a479efc40a6bfffb5cbf76f8ba963aadc6106bfdc9523d430cbb971550e26b5401006347e09c968841c6445957afced348e6de226db289fe8be801ca5d0
|
|
7
|
+
data.tar.gz: a391ee8791405d1f3907d300705f252981805188af2c02b606f272eaefc2655d839c470ee94244424e6e8d72e46bff870e077479e7de6a729cd8292b332d1077
|
data/.editorconfig
CHANGED
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -81,10 +81,10 @@ GEM
|
|
|
81
81
|
annotate (3.2.0)
|
|
82
82
|
activerecord (>= 3.2, < 8.0)
|
|
83
83
|
rake (>= 10.4, < 14.0)
|
|
84
|
-
ast (2.4.
|
|
84
|
+
ast (2.4.3)
|
|
85
85
|
awesome_print (1.9.2)
|
|
86
|
-
base64 (0.
|
|
87
|
-
bigdecimal (
|
|
86
|
+
base64 (0.3.0)
|
|
87
|
+
bigdecimal (4.1.2)
|
|
88
88
|
bindex (0.8.1)
|
|
89
89
|
bootsnap (1.18.4)
|
|
90
90
|
msgpack (~> 1.2)
|
|
@@ -103,7 +103,7 @@ GEM
|
|
|
103
103
|
capybara
|
|
104
104
|
playwright-ruby-client (>= 1.16.0)
|
|
105
105
|
concurrent-ruby (1.3.6)
|
|
106
|
-
connection_pool (
|
|
106
|
+
connection_pool (3.0.2)
|
|
107
107
|
crass (1.0.6)
|
|
108
108
|
cssbundling-rails (1.4.1)
|
|
109
109
|
railties (>= 6.0.0)
|
|
@@ -116,12 +116,12 @@ GEM
|
|
|
116
116
|
dotenv-rails (3.1.4)
|
|
117
117
|
dotenv (= 3.1.4)
|
|
118
118
|
railties (>= 6.1)
|
|
119
|
-
drb (2.2.
|
|
119
|
+
drb (2.2.3)
|
|
120
120
|
erubi (1.13.0)
|
|
121
121
|
ffi (1.17.0)
|
|
122
122
|
globalid (1.2.1)
|
|
123
123
|
activesupport (>= 6.1)
|
|
124
|
-
i18n (1.14.
|
|
124
|
+
i18n (1.14.8)
|
|
125
125
|
concurrent-ruby (~> 1.0)
|
|
126
126
|
image_processing (1.13.0)
|
|
127
127
|
mini_magick (>= 4.9.5, < 5)
|
|
@@ -135,8 +135,8 @@ GEM
|
|
|
135
135
|
activesupport (>= 5.0.0)
|
|
136
136
|
jsbundling-rails (1.3.1)
|
|
137
137
|
railties (>= 6.0.0)
|
|
138
|
-
json (2.
|
|
139
|
-
language_server-protocol (3.17.0.
|
|
138
|
+
json (2.19.8)
|
|
139
|
+
language_server-protocol (3.17.0.5)
|
|
140
140
|
lint_roller (1.1.0)
|
|
141
141
|
logger (1.7.0)
|
|
142
142
|
loofah (2.22.0)
|
|
@@ -156,7 +156,7 @@ GEM
|
|
|
156
156
|
mini_magick (4.13.2)
|
|
157
157
|
mini_mime (1.1.5)
|
|
158
158
|
mini_portile2 (2.8.9)
|
|
159
|
-
minitest (5.
|
|
159
|
+
minitest (5.27.0)
|
|
160
160
|
msgpack (1.7.3)
|
|
161
161
|
net-imap (0.5.0)
|
|
162
162
|
date
|
|
@@ -176,8 +176,8 @@ GEM
|
|
|
176
176
|
racc (~> 1.4)
|
|
177
177
|
nokogiri (1.19.3-x86_64-linux-gnu)
|
|
178
178
|
racc (~> 1.4)
|
|
179
|
-
parallel (1.
|
|
180
|
-
parser (3.3.
|
|
179
|
+
parallel (1.28.0)
|
|
180
|
+
parser (3.3.11.1)
|
|
181
181
|
ast (~> 2.4.1)
|
|
182
182
|
racc
|
|
183
183
|
playwright-ruby-client (1.59.1)
|
|
@@ -264,30 +264,34 @@ GEM
|
|
|
264
264
|
rspec-retry (0.6.2)
|
|
265
265
|
rspec-core (> 3.3)
|
|
266
266
|
rspec-support (3.13.1)
|
|
267
|
-
rubocop (1.
|
|
267
|
+
rubocop (1.74.0)
|
|
268
268
|
json (~> 2.3)
|
|
269
|
-
language_server-protocol (
|
|
269
|
+
language_server-protocol (~> 3.17.0.2)
|
|
270
|
+
lint_roller (~> 1.1.0)
|
|
270
271
|
parallel (~> 1.10)
|
|
271
272
|
parser (>= 3.3.0.2)
|
|
272
273
|
rainbow (>= 2.2.2, < 4.0)
|
|
273
|
-
regexp_parser (>= 2.
|
|
274
|
-
rubocop-ast (>= 1.
|
|
274
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
275
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
|
275
276
|
ruby-progressbar (~> 1.7)
|
|
276
|
-
unicode-display_width (>= 2.4.0, <
|
|
277
|
-
rubocop-ast (1.
|
|
278
|
-
parser (>= 3.3.
|
|
277
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
278
|
+
rubocop-ast (1.42.0)
|
|
279
|
+
parser (>= 3.3.7.2)
|
|
279
280
|
rubocop-performance (1.22.1)
|
|
280
281
|
rubocop (>= 1.48.1, < 2.0)
|
|
281
282
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
282
|
-
rubocop-rails (2.
|
|
283
|
+
rubocop-rails (2.30.3)
|
|
283
284
|
activesupport (>= 4.2.0)
|
|
285
|
+
lint_roller (~> 1.1)
|
|
284
286
|
rack (>= 1.1)
|
|
285
|
-
rubocop (>= 1.
|
|
286
|
-
rubocop-ast (>= 1.
|
|
287
|
-
rubocop-rake (0.
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
287
|
+
rubocop (>= 1.72.1, < 2.0)
|
|
288
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
|
289
|
+
rubocop-rake (0.7.1)
|
|
290
|
+
lint_roller (~> 1.1)
|
|
291
|
+
rubocop (>= 1.72.1)
|
|
292
|
+
rubocop-rspec (3.7.0)
|
|
293
|
+
lint_roller (~> 1.1)
|
|
294
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
291
295
|
ruby-lsp (0.20.1)
|
|
292
296
|
language_server-protocol (~> 3.17.0)
|
|
293
297
|
prism (>= 1.2, < 2.0)
|
|
@@ -299,7 +303,7 @@ GEM
|
|
|
299
303
|
ruby-vips (2.2.2)
|
|
300
304
|
ffi (~> 1.12)
|
|
301
305
|
logger
|
|
302
|
-
securerandom (0.
|
|
306
|
+
securerandom (0.4.1)
|
|
303
307
|
slim (5.2.1)
|
|
304
308
|
temple (~> 0.10.0)
|
|
305
309
|
tilt (>= 2.1.0)
|
|
@@ -334,7 +338,9 @@ GEM
|
|
|
334
338
|
railties (>= 6.0.0)
|
|
335
339
|
tzinfo (2.0.6)
|
|
336
340
|
concurrent-ruby (~> 1.0)
|
|
337
|
-
unicode-display_width (2.
|
|
341
|
+
unicode-display_width (3.2.0)
|
|
342
|
+
unicode-emoji (~> 4.1)
|
|
343
|
+
unicode-emoji (4.2.0)
|
|
338
344
|
useragent (0.16.10)
|
|
339
345
|
web-console (4.2.1)
|
|
340
346
|
actionview (>= 6.0.0)
|
|
@@ -352,6 +358,7 @@ GEM
|
|
|
352
358
|
PLATFORMS
|
|
353
359
|
aarch64-linux
|
|
354
360
|
arm64-darwin-22
|
|
361
|
+
arm64-darwin-23
|
|
355
362
|
arm64-darwin-25
|
|
356
363
|
x86_64-darwin-22
|
|
357
364
|
x86_64-linux
|
data/README.md
CHANGED
|
@@ -121,9 +121,9 @@ $sizes: (
|
|
|
121
121
|
- **Desktop**: 890px
|
|
122
122
|
- **Widescreen**: 1280px
|
|
123
123
|
|
|
124
|
-
###
|
|
124
|
+
### RuboCop Base Configuration
|
|
125
125
|
|
|
126
|
-
_Shimmer_ offers an opiniated
|
|
126
|
+
_Shimmer_ offers an opiniated _RuboCop_ base configuration. This configuration inherits itself from _StandardRB_ and aims at remaining as close to it as possible. Why not only use _StandardRB_, since it is so fast and prevents bikeshedding? Well, sadly it does not solve all problems and using _RuboCop_ still integrates a lot easier in most toolsets. However, the idea is to still prevent bikeshedding our _RuboCop_ configuration by making sure that every exception to what's configured in _StandardRB_ is justified (with a comment over its configuration block in `./config/rubocop_base.yml`), reviewed, debated, and agreed upon before being merged.
|
|
127
127
|
|
|
128
128
|
#### Use Shared Configuration In Projects
|
|
129
129
|
|
|
@@ -136,6 +136,8 @@ inherit_gem:
|
|
|
136
136
|
|
|
137
137
|
Then, if there are specific cops you want to use in the specific project you are working on, you still can easily add them. But at least, the base configuration is shared between projects and is itself as close to _StandardRB_ as possible.
|
|
138
138
|
|
|
139
|
+
Since _Shimmer_ uses the newer plugin syntax to load extensions (refer to [the documentation](https://docs.rubocop.org/rubocop/latest/plugins.html)), gems that use _Shimmer_ must depend on _RuboCop_ 1.72 or later.
|
|
140
|
+
|
|
139
141
|
### Static File Serving
|
|
140
142
|
|
|
141
143
|
`ActiveStorage` is great, but serving of files, especially behind a CDN, can be complicated to get right. Shimmer has your back.
|
data/config/rubocop_base.yml
CHANGED
|
@@ -10,6 +10,10 @@ require:
|
|
|
10
10
|
inherit_gem:
|
|
11
11
|
standard: config/base.yml
|
|
12
12
|
|
|
13
|
+
# Name the memoization instance variable the same as the enclosing method.
|
|
14
|
+
Naming/MemoizedInstanceVariableName:
|
|
15
|
+
Enabled: true
|
|
16
|
+
|
|
13
17
|
# String literals should never be mutable.
|
|
14
18
|
Style/FrozenStringLiteralComment:
|
|
15
19
|
Enabled: true
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
plugins:
|
|
2
2
|
- rubocop-rspec
|
|
3
3
|
|
|
4
4
|
RSpec:
|
|
@@ -70,6 +70,11 @@ RSpec/ExampleWording:
|
|
|
70
70
|
RSpec/ExcessiveDocstringSpacing:
|
|
71
71
|
Enabled: true
|
|
72
72
|
|
|
73
|
+
# Force block style for change expectatinos.
|
|
74
|
+
RSpec/ExpectChange:
|
|
75
|
+
Enabled: true
|
|
76
|
+
EnforcedStyle: block
|
|
77
|
+
|
|
73
78
|
# Do stdout expectations right.
|
|
74
79
|
RSpec/ExpectOutput:
|
|
75
80
|
Enabled: true
|
data/lib/shimmer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shimmer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.45
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jens Ravens
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|
|
@@ -47,7 +47,7 @@ files:
|
|
|
47
47
|
- config/rubocop_base.yml
|
|
48
48
|
- config/rubocop_extensions/graphql.yml
|
|
49
49
|
- config/rubocop_extensions/rails.yml
|
|
50
|
-
- config/rubocop_extensions/rspec.yml
|
|
50
|
+
- config/rubocop_extensions/rspec-core.yml
|
|
51
51
|
- lib/shimmer.rb
|
|
52
52
|
- lib/shimmer/auth.rb
|
|
53
53
|
- lib/shimmer/auth/apple_provider.rb
|