mayu-css 0.1.1-aarch64-linux → 0.1.2-aarch64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbab835c5c6c49b3b0e8bf6165ba201862c442ecda58b24700267c18239e3199
4
- data.tar.gz: cdbb828697dacbf65b13c1c31ccb1fd0a8b0bd0f8a72edf41e6dca140e5f4724
3
+ metadata.gz: 1e0c4e68a863838628008af50954b62100843623998ab89c4d45f3c98f9fea30
4
+ data.tar.gz: 15a3bf90e3eef2aaf5d76e1c52db57c9fa7bd4a56efcf97f24b3d2b8ee6b9f29
5
5
  SHA512:
6
- metadata.gz: '09ac2131346731d18d827e693656bc95255cfb93ee48499b7805aeffc9fa7d487b8547dd6be921734da347050174b6c1c4e0de3bc852558b9e7df122ed244b7b'
7
- data.tar.gz: 217f37efb2747235b7a8a892bc43ceaa2fde3edac29f1cad02ce351633591eca8aae24060fae9519f58e9d9c2ac28bdf18e098be78153e14179ca6bf1183543d
6
+ metadata.gz: d5ef548d0840a68807cce7cb46db98abeea3214dd7142acca8636b0d23539c2dc6bb0a84f3ee655c8d1f8e18d721efae5a21a77dff83cfd250ca44adb0846e0c
7
+ data.tar.gz: 2e0e01ec4ce4e1a41057ba3fdc2dd407476f3a3587ba643f77afa0df1980ee72b7639d75b67d998b7497c1d13b9f5560241639ac1258e69e330f87a76a04b08d
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Mayu
4
4
  module CSS
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
data/lib/mayu/css.rb CHANGED
@@ -60,17 +60,15 @@ module Mayu
60
60
  .then { JSON.parse(_1, symbolize_names: true) }
61
61
  .transform_keys(&:to_s)
62
62
  .transform_values do |export|
63
- export => { name:, composes:, isReferenced: }
64
-
65
63
  Export[
66
- name:,
67
- referenced?: isReferenced,
68
- composes: composes.map do |compose|
64
+ name: export[:name],
65
+ referenced?: export[:isReferenced],
66
+ composes: export[:composes].map do |compose|
69
67
  case compose
70
68
  in { type: "local", name: }
71
- ComposeLocal[name:]
69
+ ComposeLocal[name: name.to_sym]
72
70
  in { type: "dependency", name:, specifier: }
73
- ComposeDependency[name:, specifier:]
71
+ ComposeDependency[name: name.to_sym, specifier:]
74
72
  end
75
73
  end
76
74
  ]
@@ -93,13 +91,13 @@ module Mayu
93
91
 
94
92
  SerializeResult = Data.define(:rules, :sources, :source_map_urls, :license_comments) do
95
93
  def self.from_ext(data)
96
- JSON.parse(data, symbolize_names: true) => {
97
- rules:,
98
- sources:,
99
- sourceMapUrls: source_map_urls,
100
- licenseComments: license_comments,
101
- }
102
- new(rules:, sources:, source_map_urls:, license_comments:)
94
+ parsed = JSON.parse(data, symbolize_names: true)
95
+ new(
96
+ rules: parsed[:rules],
97
+ sources: parsed[:sources],
98
+ source_map_urls: parsed[:sourceMapUrls],
99
+ license_comments: parsed[:licenseComments]
100
+ )
103
101
  end
104
102
  end
105
103
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mayu-css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Andreas Alin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-04 00:00:00.000000000 Z
11
+ date: 2024-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -78,7 +78,6 @@ files:
78
78
  - README.md
79
79
  - lib/mayu/css.rb
80
80
  - lib/mayu/css/3.0/ext.so
81
- - lib/mayu/css/3.1/ext.so
82
81
  - lib/mayu/css/3.2/ext.so
83
82
  - lib/mayu/css/3.3/ext.so
84
83
  - lib/mayu/css/version.rb
Binary file