proscenium 0.13.0-arm64-darwin → 0.14.0-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/proscenium/css_module/transformer.rb +4 -2
- data/lib/proscenium/ext/proscenium +0 -0
- data/lib/proscenium/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3fd70652c7cb7f9c9e36110e43dbc605fcbeeeff5a664eb9d43ffee9e400a0c
|
4
|
+
data.tar.gz: a6920db179290cae34345df4b0e821a77b7155dfb5eb83f97073f42590267c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64f19dff5679bb69c919db800121ede22ac9e7b290bf1c968eeaba6e87c9a220701435525bc6b5cdbb9fa3fdcd2a80fdb2350be1bbabaf51fc8bfe33998a23be
|
7
|
+
data.tar.gz: 25307bab5bd97c723633a2015cb792629a8ae770b50ee94fbc29a544e5abb66bd41a8568552a914026610edcd519ff8226fbd1b07deca6b3326cb73000a90941
|
@@ -69,11 +69,13 @@ module Proscenium
|
|
69
69
|
resolved_path = Resolver.resolve(path.to_s)
|
70
70
|
digest = Importer.import(resolved_path)
|
71
71
|
|
72
|
+
transformed_path = ''
|
73
|
+
transformed_path = "__#{resolved_path[1..].gsub(%r{[/\.]}, '-')}" if Rails.env.development?
|
72
74
|
transformed_name = name.to_s
|
73
75
|
transformed_name = if transformed_name.start_with?('_')
|
74
|
-
"_#{transformed_name[1..]}-#{digest}"
|
76
|
+
"_#{transformed_name[1..]}-#{digest}#{transformed_path}"
|
75
77
|
else
|
76
|
-
"#{transformed_name}-#{digest}"
|
78
|
+
"#{transformed_name}-#{digest}#{transformed_path}"
|
77
79
|
end
|
78
80
|
|
79
81
|
[transformed_name, resolved_path]
|
Binary file
|
data/lib/proscenium/version.rb
CHANGED