yass-css 0.2.0-aarch64-linux → 0.4.0-aarch64-linux

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: 3f34a85448f6d85c75ca5631cc15915bfe3ce52f7fc5322e991be081c885b163
4
- data.tar.gz: 7e3b9a8b11cad32d7cd587683fe6e59a9ae1c788110410bfaa66ef6915a65ec6
3
+ metadata.gz: 823073b88f012679150665cba3aee6f9969aac14c94901fdff452a4a6a1ae062
4
+ data.tar.gz: a98e1e62c5b2d428a9f69392b01fd3dda6c8cbdd9e831bec62c8478b73dba1fb
5
5
  SHA512:
6
- metadata.gz: 217754223a390986fa55d52bf508a2d1172cdcb414f60ee3820b7fa8a7fed289512fc42c15852a62dab69a256d3cc33175cf14c8dfa56f3eed8ee674d4b0f371
7
- data.tar.gz: b3cf1d003e22feffd22d6f29d22679382a3a93e3264af6e59c2c77de28da11210ef83684ae378f0deb20df31234edf2936fda41c801d76c8e650563db3dde901
6
+ metadata.gz: 319ee830610001ec86840b4d4bbdbffc4a3cced62abbba879a860e337c8ca8a8602ce1c064bb263f030c08dd830fcfc321aa5a09a1aa8f7d38cf24d8f86c4aaa
7
+ data.tar.gz: 974baa3dd85b256c64da978a3529015f59b4453d14dd10d8ee481386bf88a5cadad8de81d4814f4886b483a90298fab1f95c30690350c450545da2c6cd797bcc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.4.0] - 2026-04-20
4
+
5
+ - Support nested rules.
6
+
7
+ ## [0.3.0] - 2026-04-19
8
+
9
+ - Upgrade to rb_sys v0.9.126.
10
+
3
11
  ## [0.2.0] - 2026-04-19
4
12
 
5
13
  - Fully support all style declarations.
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Yass
2
2
 
3
+ Yass: Yet Another Stylesheet System
4
+
3
5
  Yass is a Ruby wrapper around the [Stylo](https://github.com/servo/stylo) CSS engine, the parser behind the Firefox and Servo browsers developed by Mozilla.
4
6
 
5
7
  ## Rationale
data/RELEASING.md ADDED
@@ -0,0 +1,15 @@
1
+ # Releasing Yass
2
+
3
+ Follow these steps to release a new version of Yass:
4
+
5
+ 1. Bump the version in lib/yass/version.rb.
6
+ 2. Bump the version in ext/yass/Cargo.toml (should be the same version from step 1).
7
+ 3. Add a heading in CHANGELOG.md with the version number and today's date.
8
+ 4. Run `bundle install` and `bundle exec rake compile` to refresh the Bundler and Cargo lockfiles.
9
+ 5. Commit the results of these changes and push them to GitHub.
10
+ 6. Wait for CI to run. This might seem unimportant but weird things can go wrong with lockfiles, etc, so it's best to wait for a clean bill of health before continuing.
11
+ 7. Create a release in the GitHub UI [here](https://github.com/camertron/yass/releases/new).
12
+ 1. Create a new tag for the release of the form vX.X.X, using the same version number you've been using this whole time.
13
+ 2. Name the release the same thing, i.e. vX.X.X.
14
+ 3. Copy the relevant section from CHANGELOG.md (including the header) and paste it into the release notes.
15
+ 8. This will kick off the GitHub action in .github/workflows/release.yml, build the native extension for all the supported ruby versions and platforms, and publish the various .gem files to rubygems.org.
data/Rakefile CHANGED
@@ -7,8 +7,6 @@ RSpec::Core::RakeTask.new(:spec)
7
7
 
8
8
  require "rb_sys/extensiontask"
9
9
 
10
- task build: :compile
11
-
12
10
  GEMSPEC = Gem::Specification.load("yass.gemspec")
13
11
 
14
12
  RbSys::ExtensionTask.new("yass", GEMSPEC) do |ext|
data/lib/yass/3.2/yass.so CHANGED
Binary file
data/lib/yass/3.3/yass.so CHANGED
Binary file
data/lib/yass/3.4/yass.so CHANGED
Binary file
data/lib/yass/4.0/yass.so CHANGED
Binary file
data/lib/yass/rules.rb CHANGED
@@ -16,7 +16,7 @@ module Yass
16
16
  end
17
17
 
18
18
  class StyleRule
19
- RUBY_METHODS = %i(declarations kind selectors source_location).freeze
19
+ RUBY_METHODS = %i(declarations kind rules selectors source_location).freeze
20
20
 
21
21
  include ::Yass::Node
22
22
 
data/lib/yass/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yass
4
- VERSION = "0.2.0"
4
+ VERSION = "0.4.0"
5
5
  end
data/lib/yass/visitor.rb CHANGED
@@ -2328,6 +2328,7 @@ module Yass
2328
2328
  def visit_style_rule(node)
2329
2329
  visit_list(node.selectors)
2330
2330
  visit_list(node.declarations)
2331
+ visit_list(node.rules)
2331
2332
  visit(node.source_location)
2332
2333
  end
2333
2334
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yass-css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-04-19 00:00:00.000000000 Z
11
+ date: 2026-04-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The Stylo CSS parser wrapped in a Ruby embrace.
14
14
  email:
@@ -21,6 +21,7 @@ files:
21
21
  - CODE_OF_CONDUCT.md
22
22
  - LICENSE.txt
23
23
  - README.md
24
+ - RELEASING.md
24
25
  - Rakefile
25
26
  - codegen/ruby_module_tree.rb
26
27
  - codegen/rust_file_set.rb