css_inline 0.23.0-arm64-darwin → 0.24.0-arm64-darwin
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1fd33eea3e92bf92baacb252d8dcaeb1a6c3dcd02ab99b157fab27abb06f948
|
|
4
|
+
data.tar.gz: 1b2301267d2ad4125a61f3f237d803d6fc7afc93494a1278a53239d645a662e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db5bee97c3004073c1f1214f05b8bcc62c2106a735d368424b3414b6ca4a334f1bc2cde678affaae66607e40bd912a40e7df558580f3cea2361e7e05cf2f9dd0
|
|
7
|
+
data.tar.gz: bcbf56bf2e8dffd3482f68575cea5da1f627f3446955c4fcdcda75ccbdd63b61c1f7cb979858efb8229f0366c8b1253fd00e1a97cd14eaa8745f3dd9af47747a
|
data/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
[<img alt="build status" src="https://img.shields.io/github/actions/workflow/status/Stranger6667/css-inline/build.yml?style=flat-square&labelColor=555555&logo=github" height="20">](https://github.com/Stranger6667/css-inline/actions/workflows/build.yml)
|
|
4
4
|
[<img alt="ruby gems" src="https://img.shields.io/gem/v/css_inline?logo=ruby&style=flat-square" height="20">](https://rubygems.org/gems/css_inline)
|
|
5
5
|
[<img alt="codecov.io" src="https://img.shields.io/codecov/c/gh/Stranger6667/css-inline?logo=codecov&style=flat-square&token=tOzvV4kDY0" height="20">](https://app.codecov.io/github/Stranger6667/css-inline)
|
|
6
|
-
[<img alt="gitter" src="https://img.shields.io/gitter/room/Stranger6667/css-inline?style=flat-square" height="20">](https://gitter.im/Stranger6667/css-inline)
|
|
7
6
|
|
|
8
7
|
`css_inline` moves CSS from `<style>` and `<link>` tags into HTML `style` attributes.
|
|
9
8
|
Use it to prepare HTML emails or to embed HTML into third-party web pages.
|
|
@@ -271,14 +270,14 @@ end
|
|
|
271
270
|
|
|
272
271
|
## Performance
|
|
273
272
|
|
|
274
|
-
`css_inline` runs
|
|
273
|
+
`css_inline` runs 9.6x to 583x faster than `roadie` and 64x to 191x faster than `premailer` on these documents:
|
|
275
274
|
|
|
276
|
-
| | Size | `css_inline 0.
|
|
275
|
+
| | Size | `css_inline 0.23.1` | `roadie 5.2.1` | `premailer 1.27.0` |
|
|
277
276
|
|-------------------|---------|---------------------|-------------------------|-------------------------|
|
|
278
|
-
| Basic usage | 230 B | 5.
|
|
279
|
-
| Realistic email 1 | 8.58 KB |
|
|
280
|
-
| Realistic email 2 | 4.30 KB |
|
|
281
|
-
| GitHub Page | 1.81 MB |
|
|
277
|
+
| Basic usage | 230 B | 5.21 µs | 169.05 µs (**32.44x**) | 333.58 µs (**64.01x**) |
|
|
278
|
+
| Realistic email 1 | 8.58 KB | 74.13 µs | 711.24 µs (**9.59x**) | 7.00 ms (**94.44x**) |
|
|
279
|
+
| Realistic email 2 | 4.30 KB | 42.57 µs | 1.90 ms (**44.70x**) | ERROR |
|
|
280
|
+
| GitHub Page | 1.81 MB | 12.01 ms | 7.00 s (**582.78x**) | 2.30 s (**191.36x**) |
|
|
282
281
|
|
|
283
282
|
`premailer` fails on "Realistic email 2" with `ArgumentError: Cannot parse 0 calc((100% - 500px) / 2)`.
|
|
284
283
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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.
|
|
4
|
+
version: 0.24.0
|
|
5
5
|
platform: arm64-darwin
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dygalo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake-compiler
|