sasso 0.2.4 → 0.2.6

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: bc61bf6462bc718e63dfd98eb86bfab7891895db135d6a3bee90570aeb84f42c
4
- data.tar.gz: 9f9a2be1e475178f0692b653f3dfc8ec30e5da7ae0c96c27948eaf1c0b089026
3
+ metadata.gz: d5404bfc8e9cea85ef054cc7fa2523cca0faf4034d85bc756577c0a881ca176a
4
+ data.tar.gz: fa193edab1aaf41b2acd616c9b6500835cb42b6358ead57e908bc0c61d1d1ec2
5
5
  SHA512:
6
- metadata.gz: 8650c1ae7a3b0f04c193fcb21e9a9c74d2e7e1a5b637ac14707dfc546b4824ec1e47522be61f0a2bf77c5fd532187565feeb51cc930aa47178df6cc9319d83b1
7
- data.tar.gz: 0ddfa5e1b5cdba9bb81f8a25510964a9fb5b03e628dc27bf726ca2256c60bcbff80bb17e918e461f35df012d8abd01cd075008b0473290a500ff08707d51cb93
6
+ metadata.gz: 5845b015cddd3e5d4fa5acb43c5289cfbd7dd0f8c4677f6be03a32548760cec4f470a89b8b28eb393d27392705fb63954d8b0ba228d41e8ee422cbd3e7bb45ab
7
+ data.tar.gz: ec480b9d358e494769292d49812b65fcc542642612f0022c925860ce8ecec8b441c0ce7d2148f97f9a1e15fd3e043ee40f3dd3ef10f5adfc53aa75dab3a1a01c
data/CHANGELOG.md CHANGED
@@ -8,6 +8,26 @@ notes the exact core crate version it pins.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.2.6] - 2026-06-25
12
+
13
+ ### Changed
14
+
15
+ - Adopt core **sasso 0.6.2** (recompile-only; the gem's Ruby API is unchanged).
16
+ Picks up the upstream fix where **compressed** output now emits the shortest
17
+ equivalent legacy-color form, matching dart-sass 1.101.0. A computed color such
18
+ as `darken(#336699, 10%)` now compiles to `hsl(210,50%,30%)` instead of the
19
+ longer `rgb(38.25,76.5,114.75)`, and an integer-rgb-equivalent hsl literal
20
+ (`hsl(210, 50%, 40%)`) collapses to `#369`. Expanded output is unchanged.
21
+
22
+ ## [0.2.5] - 2026-06-16
23
+
24
+ ### Changed
25
+
26
+ - Adopt core **sasso 0.6.1** (recompile-only; the gem's Ruby API is unchanged).
27
+ Picks up the upstream fix where a relative `meta.load-css` inside a first-class
28
+ mixin (`meta.get-mixin` + `meta.apply`) resolves against the mixin's defining
29
+ file rather than the caller's.
30
+
11
31
  ## [0.2.4] - 2026-06-15
12
32
 
13
33
  ### Changed
data/Cargo.lock CHANGED
@@ -239,14 +239,14 @@ dependencies = [
239
239
  "magnus",
240
240
  "rb-sys",
241
241
  "rb-sys-env",
242
- "sasso 0.6.0",
242
+ "sasso 0.6.2",
243
243
  ]
244
244
 
245
245
  [[package]]
246
246
  name = "sasso"
247
- version = "0.6.0"
247
+ version = "0.6.2"
248
248
  source = "registry+https://github.com/rust-lang/crates.io-index"
249
- checksum = "83097b3d397d2788442c22b10a20a173a771808342e595cef26241bac803eb07"
249
+ checksum = "0a175453595ba780ef174d5120def66d9cbb91eed2eb6dc4223dbf5acfd82371"
250
250
 
251
251
  [[package]]
252
252
  name = "seq-macro"
data/README.md CHANGED
@@ -1,11 +1,8 @@
1
1
  # sasso (Ruby)
2
2
 
3
- In-process **SCSS / Sass → CSS** compilation for Ruby, backed by
4
- [**sasso**](https://github.com/momiji-rs/sasso) — a pure-Rust, dependency-free
5
- dart-sass alternative that targets **byte-for-byte parity** with current
6
- dart-sass. Shipped as a native extension (Rust via [magnus](https://github.com/matsadler/magnus)
7
- + [rb-sys](https://github.com/oxidize-rb/rb-sys)); no Node, no subprocess, no
8
- Dart VM.
3
+ [![Gem Version](https://badge.fury.io/rb/sasso.svg?icon=si%3Arubygems)](https://badge.fury.io/rb/sasso)
4
+
5
+ In-process **SCSS / Sass → CSS** compilation for Ruby, backed by [**sasso**](https://github.com/momiji-rs/sasso) — a pure-Rust, dependency-free dart-sass alternative that targets **byte-for-byte parity** with current dart-sass. Shipped as a native extension (Rust via [magnus](https://github.com/matsadler/magnus) + [rb-sys](https://github.com/oxidize-rb/rb-sys)); no Node, no subprocess, no Dart VM.
9
6
 
10
7
  > This gem is the Ruby binding. The compiler core lives in the separate
11
8
  > [`momiji-rs/sasso`](https://github.com/momiji-rs/sasso) repo (crate on
data/ext/sasso/Cargo.toml CHANGED
@@ -29,7 +29,7 @@ rb-sys = "0.9"
29
29
  # The published core compiler, pinned exactly to the API surface this binding
30
30
  # targets. Renamed to `sasso_core` so this package can be named `sasso` (a
31
31
  # package may not depend on a crate of its own name without a rename).
32
- sasso_core = { package = "sasso", version = "=0.6.0" }
32
+ sasso_core = { package = "sasso", version = "=0.6.2" }
33
33
 
34
34
  [build-dependencies]
35
35
  rb-sys-env = "0.1"
data/lib/sasso/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  module Sasso
4
4
  # The gem version floats INDEPENDENTLY of the core `sasso` crate version; the
5
5
  # native extension pins the crate exactly (ext/sasso/Cargo.toml: sasso = "=…").
6
- VERSION = "0.2.4"
6
+ VERSION = "0.2.6"
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sasso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - momiji-rs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-15 00:00:00.000000000 Z
11
+ date: 2026-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys