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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43a551bb9b24c84773b363f1c409390b996e6d4cdb39feee930b4e29ffebc424
4
- data.tar.gz: c49e0b734bc2f778558403d0f2d8205eed1559fd4ea474ff888e4f8d0fe35724
3
+ metadata.gz: 292b3d394b60578890364b1d2b98d8d65b23646eaf4a3afb8c4fd8c36fb7e904
4
+ data.tar.gz: d033a360d6654b7dcf2c275ae18efd2ecff648f8fcbc498699c021cb45d52f0a
5
5
  SHA512:
6
- metadata.gz: 1a12fe759f7cbab657a245594d21c05a0851e0550346a9357d59e2486ba29145678eed270acb0a0ea10bf625fca58dc77d98201875c884bd32a06d7e261596c7
7
- data.tar.gz: 606d2a31214247a24274341ffa499cf97796569dee5bcb5c58e9bfaeec457ef59e5b865da2820d46d912300195cf32b66f9a35b298c9916fd745e4e7d06553a1
6
+ metadata.gz: ca7b1a479efc40a6bfffb5cbf76f8ba963aadc6106bfdc9523d430cbb971550e26b5401006347e09c968841c6445957afced348e6de226db289fe8be801ca5d0
7
+ data.tar.gz: a391ee8791405d1f3907d300705f252981805188af2c02b606f272eaefc2655d839c470ee94244424e6e8d72e46bff870e077479e7de6a729cd8292b332d1077
data/.editorconfig CHANGED
@@ -5,7 +5,7 @@ root = true
5
5
 
6
6
  ; Unix-style newlines with a newline ending every file
7
7
  [*]
8
- indent_style = spaces
8
+ indent_style = space
9
9
  end_of_line = lf
10
10
  insert_final_newline = true
11
11
  trim_trailing_whitespace = true
data/.rubocop.yml CHANGED
@@ -5,6 +5,8 @@ AllCops:
5
5
  SuggestExtensions: false
6
6
  Exclude:
7
7
  - "bin/**/*"
8
+ - "dist/**/*"
9
+ - "node_modules/**/*"
8
10
  - "spec/rails_app/bin/**/*"
9
11
  - "spec/rails_app/db/schema.rb"
10
12
  - "vendor/**/*"
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.2)
84
+ ast (2.4.3)
85
85
  awesome_print (1.9.2)
86
- base64 (0.2.0)
87
- bigdecimal (3.1.8)
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 (2.4.1)
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.1)
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.6)
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.7.2)
139
- language_server-protocol (3.17.0.3)
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.25.1)
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.26.3)
180
- parser (3.3.5.0)
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.67.0)
267
+ rubocop (1.74.0)
268
268
  json (~> 2.3)
269
- language_server-protocol (>= 3.17.0)
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.4, < 3.0)
274
- rubocop-ast (>= 1.32.2, < 2.0)
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, < 3.0)
277
- rubocop-ast (1.32.3)
278
- parser (>= 3.3.1.0)
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.26.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.52.0, < 2.0)
286
- rubocop-ast (>= 1.31.1, < 2.0)
287
- rubocop-rake (0.6.0)
288
- rubocop (~> 1.0)
289
- rubocop-rspec (3.1.0)
290
- rubocop (~> 1.61)
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.3.1)
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.6.0)
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
- ### Rubocop Base Configuration
124
+ ### RuboCop Base Configuration
125
125
 
126
- _Shimmer_ offers an opiniated _Rubocop_ base configuration. This configuration inherits itself from _StandardRB_ and aim at remaining as close to it as possible. Why not only use _StandardRB_, since it is so fast and prevent 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.
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.
@@ -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,7 +1,7 @@
1
1
  # Documentation on the rules can be found here:
2
2
  # https://github.com/DmitryTsepelev/rubocop-graphql/tree/master/lib/rubocop/cop/graphql
3
3
  #
4
- require:
4
+ plugins:
5
5
  - rubocop-graphql
6
6
 
7
7
  GraphQL:
@@ -3,7 +3,7 @@ AllCops:
3
3
  - '**/vendor/bundle/**/*'
4
4
  - '**/db/schema.rb'
5
5
 
6
- require:
6
+ plugins:
7
7
  - rubocop-rails
8
8
 
9
9
  Rails:
@@ -1,4 +1,4 @@
1
- require:
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Shimmer
4
- VERSION = "0.0.44"
4
+ VERSION = "0.0.45"
5
5
  end
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.44
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-05-08 00:00:00.000000000 Z
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