css_inline 0.23.0 → 0.23.1

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: f7bbfcc37f960f334a6da5f9c07c57079d77fbe3430e6b4aa2a59ae960e20a12
4
- data.tar.gz: e3c6be1eaef22e80dbd1569f0b4a9b5a3e6d0b7da0126a6bedf081905fff68ce
3
+ metadata.gz: 6a6d9890334533f3c323b4035c9c6284512d5343af3eb6e8b7fd1180c086b25f
4
+ data.tar.gz: ffcfe2dfe78b198a2214337cbd2de034b06a21e3fab7614551668e2b39070e1a
5
5
  SHA512:
6
- metadata.gz: 8be920520eb7e923dc3cc02382b2a555685ec3ff501370fa99dfc3690c0d25322d347097907035f1693d191fb80a83e9d68fe3aa274a3d2ddd734df916ffd3e5
7
- data.tar.gz: bf0ed1ba45e5ced9c0c138113ee3c4dcacd46c1df85ab0bfc4db4ac7e13229fdf94f998e541101884148e5df5722f37104c2a858ba96124632368d60347086ff
6
+ metadata.gz: f63528f54aeca352d5bb2f843f136dfba65baaa6227cf138dd7cbf96d9a7dba94614337d2c946126a761480eb1365be5e7fa014b34468a28ad86c76dddbb7370
7
+ data.tar.gz: fd50571a5e2a4aaa11c20a67381730238df21e263e87e1b9b73a0c6165a1b3e1f6c38ec610b62817fe17b8d9a7698a5973f3c6d63ac1de95486540304ca22cbd
data/README.md CHANGED
@@ -271,14 +271,14 @@ end
271
271
 
272
272
  ## Performance
273
273
 
274
- `css_inline` runs 8.1x to 354x faster than `roadie` and 57x to 123x faster than `premailer` on these documents:
274
+ `css_inline` runs 9.6x to 583x faster than `roadie` and 64x to 191x faster than `premailer` on these documents:
275
275
 
276
- | | Size | `css_inline 0.22.0` | `roadie 5.2.1` | `premailer 1.27.0` |
276
+ | | Size | `css_inline 0.23.1` | `roadie 5.2.1` | `premailer 1.27.0` |
277
277
  |-------------------|---------|---------------------|-------------------------|-------------------------|
278
- | Basic usage | 230 B | 5.84 µs | 168.88 µs (**28.92x**) | 331.07 µs (**56.69x**) |
279
- | Realistic email 1 | 8.58 KB | 87.66 µs | 713.78 µs (**8.14x**) | 6.95 ms (**79.28x**) |
280
- | Realistic email 2 | 4.30 KB | 50.45 µs | 1.98 ms (**39.25x**) | ERROR |
281
- | GitHub Page | 1.81 MB | 19.01 ms | 6.73 s (**354.02x**) | 2.34 s (**123.09x**) |
278
+ | Basic usage | 230 B | 5.21 µs | 169.05 µs (**32.44x**) | 333.58 µs (**64.01x**) |
279
+ | Realistic email 1 | 8.58 KB | 74.13 µs | 711.24 µs (**9.59x**) | 7.00 ms (**94.44x**) |
280
+ | Realistic email 2 | 4.30 KB | 42.57 µs | 1.90 ms (**44.70x**) | ERROR |
281
+ | GitHub Page | 1.81 MB | 12.01 ms | 7.00 s (**582.78x**) | 2.30 s (**191.36x**) |
282
282
 
283
283
  `premailer` fails on "Realistic email 2" with `ArgumentError: Cannot parse 0 calc((100% - 500px) / 2)`.
284
284
 
@@ -11,12 +11,6 @@ dependencies = [
11
11
  "memchr",
12
12
  ]
13
13
 
14
- [[package]]
15
- name = "allocator-api2"
16
- version = "0.2.21"
17
- source = "registry+https://github.com/rust-lang/crates.io-index"
18
- checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
19
-
20
14
  [[package]]
21
15
  name = "atomic-waker"
22
16
  version = "1.1.2"
@@ -160,9 +154,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
160
154
 
161
155
  [[package]]
162
156
  name = "css-inline"
163
- version = "0.23.0"
157
+ version = "0.23.1"
164
158
  source = "registry+https://github.com/rust-lang/crates.io-index"
165
- checksum = "27f0d92b3bffbf72b6b83f3e352ab37ddd046a81a675d3bc240792e0539c0cb2"
159
+ checksum = "c357d136b76b660cf6024f37871b9c39f4f31e63cc7e548c81579cae22bbd45b"
166
160
  dependencies = [
167
161
  "cssparser",
168
162
  "hashbrown",
@@ -181,7 +175,7 @@ dependencies = [
181
175
 
182
176
  [[package]]
183
177
  name = "css-inline-ruby"
184
- version = "0.23.0"
178
+ version = "0.23.1"
185
179
  dependencies = [
186
180
  "css-inline",
187
181
  "magnus",
@@ -264,12 +258,6 @@ version = "1.15.0"
264
258
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
259
  checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
266
260
 
267
- [[package]]
268
- name = "equivalent"
269
- version = "1.0.2"
270
- source = "registry+https://github.com/rust-lang/crates.io-index"
271
- checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
272
-
273
261
  [[package]]
274
262
  name = "fastrand"
275
263
  version = "2.3.0"
@@ -369,8 +357,6 @@ version = "0.17.1"
369
357
  source = "registry+https://github.com/rust-lang/crates.io-index"
370
358
  checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
371
359
  dependencies = [
372
- "allocator-api2",
373
- "equivalent",
374
360
  "foldhash",
375
361
  ]
376
362
 
@@ -722,18 +708,18 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
722
708
 
723
709
  [[package]]
724
710
  name = "lru"
725
- version = "0.18.0"
711
+ version = "0.19.0"
726
712
  source = "registry+https://github.com/rust-lang/crates.io-index"
727
- checksum = "8a860605968fce16869fd239cf4237a82f3ac470723415db603b0e8b6c8d4fb9"
713
+ checksum = "4a9f71e3591c7ec44d3e563e87bf14ddc2bada8519dca046e5b0e560cd004e2d"
728
714
  dependencies = [
729
715
  "hashbrown",
730
716
  ]
731
717
 
732
718
  [[package]]
733
719
  name = "magnus"
734
- version = "0.9.2"
720
+ version = "0.9.3"
735
721
  source = "registry+https://github.com/rust-lang/crates.io-index"
736
- checksum = "b9068710e00d21be762edca59b9c4c8946dbdb29820d4f76ad559afea07982c9"
722
+ checksum = "40ef424404d166cbb71c8b8d19c9c589c748c4547c1afa1928c5504299f6c713"
737
723
  dependencies = [
738
724
  "magnus-macros",
739
725
  "rb-sys",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "css-inline-ruby"
3
- version = "0.23.0"
3
+ version = "0.23.1"
4
4
  authors = ["Dmitry Dygalo <dmitry@dygalo.dev>"]
5
5
  edition = "2024"
6
6
  readme = "README.rdoc"
@@ -21,7 +21,7 @@ magnus = "0.9"
21
21
  rayon = "1"
22
22
 
23
23
  [dependencies.css-inline]
24
- version = "0.23.0"
24
+ version = "0.23.1"
25
25
  default-features = false
26
26
  features = ["http", "file", "stylesheet-cache"]
27
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css_inline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Dygalo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-16 00:00:00.000000000 Z
11
+ date: 2026-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys