mayu-css 0.1.1-arm64-darwin → 0.1.2-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mayu/css/version.rb +1 -1
- data/lib/mayu/css.rb +12 -14
- metadata +2 -3
- data/lib/mayu/css/3.1/ext.bundle +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39cfb9a1a78d083077b647c3fbfdb481ec8dbb0527dede7747e6357f07f47c53
|
4
|
+
data.tar.gz: f200976dfbaff5e95485333c63ca96e8630d21f24de32e2807728aef61234216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5473513661ce8f3cf4578b8e5ea42b336927d6acc0ee4bd99861f4bb34979d89226bbac5eb6c2698a9cfa5cdaa027b92c1304e2e4fab0826d3ca0c39f737f03
|
7
|
+
data.tar.gz: 9acc40640b0e8dadb860f184b7a79e1a4c5a7ef2029dd60dcfb0a1f94d18f4b8387b45bec627d3d335e0ce5d819d9041bdc9887b545e1c04c3c51716098f4685
|
data/lib/mayu/css/version.rb
CHANGED
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
|
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
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
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.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: arm64-darwin
|
6
6
|
authors:
|
7
7
|
- Andreas Alin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
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.bundle
|
81
|
-
- lib/mayu/css/3.1/ext.bundle
|
82
81
|
- lib/mayu/css/3.2/ext.bundle
|
83
82
|
- lib/mayu/css/3.3/ext.bundle
|
84
83
|
- lib/mayu/css/version.rb
|
data/lib/mayu/css/3.1/ext.bundle
DELETED
Binary file
|