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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5fecddd4e8bbc44a48ab7cdecae6bec2722b96b478f399595195d1caa377810
4
- data.tar.gz: 1bd0c5d707e17f169c5817ed24e187b9e700a4f3c4767b7f4c56c4e8d8dd8fb0
3
+ metadata.gz: c022187e46c39b11d0a0394f88fc229cf5ee5003b3759927402c6a9428a2f897
4
+ data.tar.gz: c33b34485843ae728c4e8953f6f71be150a5b7ee0c260140f42126969f3cf8b7
5
5
  SHA512:
6
- metadata.gz: f6d128673a6dfb8b4116747e52eb9f68d55168199a42934781555bc1655281d617d71644510ab552793b3ccba5729871a4cd1be8a1c17a95fda816dc17d3b203
7
- data.tar.gz: 30d12d944cea932c18853708e4e99615c27a6eaeb306460c629c155be59de255bb48a9f851fb39e0b070238f83ee330b984b2d201bef58155c7472450b689a71
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.13.0'
4
+ VERSION = '0.14.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proscenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Joel Moss