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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 504d8ab4fde95d64a7800b7406ac1cb5e9de3757277729bd64f84a80a89d0363
4
- data.tar.gz: 9dac30d044bac3f9c3c8b6a82721072dbe58a540a36d6538cc3ae29eea31a2ba
3
+ metadata.gz: b3fd70652c7cb7f9c9e36110e43dbc605fcbeeeff5a664eb9d43ffee9e400a0c
4
+ data.tar.gz: a6920db179290cae34345df4b0e821a77b7155dfb5eb83f97073f42590267c50
5
5
  SHA512:
6
- metadata.gz: b828294555e4ed9a3f9875785d09193266b7de9d07cbda5bf3cafe06eff2e3825600dbf6539821c6ffd8f792aba3305b877c174c2337fca6563c7cc9bb6a2849
7
- data.tar.gz: 37e577a37203199fdf55eb560521e0f1b5f47ad854ee19f147ab372792a6811a4eef86ea8faa7ddd9a6330b31c7d40ddbd0f90e7804044e31fa205eef1fa4ad9
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
@@ -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: arm64-darwin
6
6
  authors:
7
7
  - Joel Moss