hanami-sasso 0.1.3 → 0.1.4

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: e25281db83f48d29cec9b21c6b2b862b6e55fd033388762d0ae9d0e8f2cde42a
4
- data.tar.gz: a403ace2505140c486e4aea94b40006d6abe8e645cbce65fd9e268f07dac2fdb
3
+ metadata.gz: 8f897c6fad6effbca905552fda4068d25571f8ad2fd0f937b050ea2c5ed9be42
4
+ data.tar.gz: a78549bb3e56da0f9f56778c899749b73e4d4dbe731d4633f6f1770cc3c5b04d
5
5
  SHA512:
6
- metadata.gz: cf00ad7a2b98bbc056d629767f2a6ef49728ebf034e573314eff97008a4360bae84f80622650907c996109e71b3aac90c5070d0cbc61282be95019ee80762af2
7
- data.tar.gz: 3e94d9952be9a94f76f3f398ce6407b5cf3717b304a1a86f9518b4233d55b6fa7065149c38088cf416da6c62a7504aac642c0e5054b44562aff837a76b2160bd
6
+ metadata.gz: 657a2e872a738816df41c1c2d6044bbd9c38c1796cdd07f8ec0021212079eb1708003710ede8e64d43f81fc8b7113be0b47f326e2db77a924df0fffd4735d91d
7
+ data.tar.gz: badb21bbc8400ba3eed37f4ccd5e0ee05f32d28d558f683c842829ba7b2ddad2eb2779c0e2659eac153398a1d4bf8ce7db538be53a771c334050e3047fcaeef9
data/CHANGELOG.md CHANGED
@@ -10,6 +10,37 @@ compiler actually installed.
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.1.4] - 2026-10-30
14
+
15
+ Works with the `sasso` gem **0.21.0**. The requirement stays **>= 0.14.0, < 1**.
16
+
17
+ ### Changed
18
+
19
+ - **Verified against `sasso` 0.21.0** (core 0.21.0), green with no code change
20
+ (9 runs, 30 assertions). The floor is not raised: this gem calls only
21
+ `Sasso.compile`, whose signature 0.21.0 keeps, and a lower floor lets an app
22
+ hold the compiler back while it fixes its stylesheets (below).
23
+ - **A `bundle update` can now break `sasso:compile`.** The `< 1` range admits
24
+ 0.21.0, and its compiler is stricter than 0.14's: some stylesheets that
25
+ compiled before now raise `Sasso::CompileError`, which fails `sasso:compile`
26
+ and therefore `assets:precompile`. The usual causes are a built-in given an
27
+ argument name it does not declare (`math.max(1, 2, $x: 999)`), an argument
28
+ passed both by position and by name, and selectors dart-sass's grammar rejects
29
+ (`[a=1]`, `a^b`). Some output also changes, a few cases in meaning. The engine
30
+ gem's
31
+ [CHANGELOG](https://github.com/momiji-rs/sasso-ruby/blob/main/CHANGELOG.md)
32
+ (section `0.21.0`) lists every change. To stay on the old compiler while you
33
+ fix them, pin it in your app's Gemfile: `gem "sasso", "< 0.21"`.
34
+ - **A new warning, `bogus-combinators`**, prints during `sasso:compile` when a
35
+ rule with a repeated or leading combinator (`a > + b`) is dropped. The rule was
36
+ dropped before too, silently. This gem does not yet forward the engine's new
37
+ `silence_deprecations:` option, so the warning can only be fixed at its source.
38
+
39
+ ### Added
40
+
41
+ - Ruby 4.0 on the CI matrix. On 4.0, `sasso` resolves to 0.14.1 or later, the
42
+ first release with a Ruby 4.0 binary.
43
+
13
44
  ## [0.1.3] - 2026-09-17
14
45
 
15
46
  Now requires the `sasso` gem **>= 0.14.0** (was `>= 0.2.7`), and **Ruby >= 3.2**.
data/hanami-sasso.gemspec CHANGED
@@ -39,6 +39,9 @@ Gem::Specification.new do |spec|
39
39
  # bundles, so this floor names the compiler too: 0.14.0 carries core 0.14.0
40
40
  # (dart-sass 1.104.1 parity), where 0.2.7 carried core 0.6.3 (1.101.0). `< 1`
41
41
  # allows the rest of the 0.x line — the API surface used here is two methods.
42
+ # Not raised for 0.21.0: nothing here uses its one new option
43
+ # (`silence_deprecations:`), and a low floor lets an app pin the compiler back
44
+ # when the stricter 0.21 core rejects one of its stylesheets.
42
45
  spec.add_dependency "sasso", ">= 0.14.0", "< 1"
43
46
 
44
47
  spec.add_development_dependency "bundler"
@@ -3,5 +3,5 @@
3
3
  module HanamiSasso
4
4
  # The plugin version floats independently of the `sasso` compiler gem; the
5
5
  # gemspec pins the compiler with a range.
6
- VERSION = "0.1.3"
6
+ VERSION = "0.1.4"
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-sasso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
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-09-17 00:00:00.000000000 Z
11
+ date: 2026-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake