proscenium 0.4.0-x86_64-linux → 0.4.2-x86_64-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: 58f737e5fa0b80684f7a5ddedf5cc9289dc7be0f434b19a0e896a3edd841bf08
4
- data.tar.gz: 31953469f20839292f307548bb9e74deb77330cc36c14fd525a1abbaf49f25ad
3
+ metadata.gz: df96b81d14d24763b758126bc2436b8eae8422794f76768d1ff93782acdf3345
4
+ data.tar.gz: efa9d7cb284071acdef13a7d7c04db1fa32cec8ba1f11b80e6bf50bda037c71a
5
5
  SHA512:
6
- metadata.gz: f1ae53eb9ebfa8b03f16b35b2b202097e4fa5630ccbc1f2224265b67b5a3c1b452105f2fc5c2220e7644fefb23283f0d616f67a77c617a2adf36a74ba0bd546c
7
- data.tar.gz: 6bfa5721620e454ab12f0c4f41ad431f2b8d71dc7b3573ca462e1c7c7cc91e7694f3eb758299065da79859fa028d2948f927f8501d635407de79e348432584ab
6
+ metadata.gz: a45c0bba0abced25aa9f1b10b1ba596b685247ba59609b10477c8658b83402b5dbfc42d0c12a638dd40b6c71a801140d0c33624b2ca671cd00570dbe0d40fcf4
7
+ data.tar.gz: 027dff0abab6435536f3b6982e78497e0db1028956e96b549ff7bcffb84e20dbe5fbccb160e41a11c48a9af783187c2f105271b5ff5f4950f9addf26c4ba03d2
data/bin/esbuild CHANGED
Binary file
@@ -19,9 +19,11 @@ export default setup('env', () => {
19
19
  namespace: 'env',
20
20
  callback({ path }) {
21
21
  if (path.includes(':')) {
22
+ const name = Deno.env.get(path.split(':')[1])
23
+
22
24
  return {
23
25
  loader: 'js',
24
- contents: `export default ${Deno.env.get(path.split(':')[1])}`
26
+ contents: name ? `export default '${name}'` : `export default ${name}`
25
27
  }
26
28
  }
27
29
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.2'
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.4.0
4
+ version: 0.4.2
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Joel Moss