mayu-css 0.1.1-x86_64-darwin → 0.1.2-x86_64-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: a82e6e8441dfcfc0493be8cacad10165caa4ba2f019e13891a8e589fbe1c94a5
|
4
|
+
data.tar.gz: bf42f8a6b27dbb1dde7a5e0134dd77ad2833322b48fcf856af159217edc92166
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70f69e7f2b0402c8b189d91c99a11169b94e050d2f2b3664927daa9a1be06e1ac8c236b9f69c19427be31b8a4472fcf6f57aec6069ee02615bc9db2693e82e8d
|
7
|
+
data.tar.gz: 3d5bde9b912457aab5ac47b2cf2adc726c1a0df7da5e31d53d59466539a733c96c557b6f89446444cf97e0c75f81d2aedcce694cc2f170369e131d9a0cf64eac
|
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: x86_64-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
|