proscenium 0.13.0-aarch64-linux → 0.14.0-aarch64-linux
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: c022187e46c39b11d0a0394f88fc229cf5ee5003b3759927402c6a9428a2f897
|
4
|
+
data.tar.gz: c33b34485843ae728c4e8953f6f71be150a5b7ee0c260140f42126969f3cf8b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c9c7673a9f56151070e6157ca808e6b9d5d04649b4f6b48273444439500a2a8a72131df798e681b2131e90ecfde55ca249e65e43e15b38b3441fa76b42f183f
|
7
|
+
data.tar.gz: c6d17edb648018f09aeec2b54f0a8d463bb10fd51b0e67fa9818292052b16e31bb99cda72263984b77cd880e5df50228e469bfbe12cffbfec0be8b0746d35542
|
@@ -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