proscenium 0.7.0-x86_64-linux → 0.8.2-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/lib/proscenium/ext/proscenium +0 -0
- data/lib/proscenium/ext/proscenium.h +1 -2
- data/lib/proscenium/version.rb +1 -1
- data/lib/proscenium.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0befa74ca37e255e40d47294992f4dde37fd92636b7de4d6bcbd3e7078d26585
|
4
|
+
data.tar.gz: 3ee198704c19fb58cd64ef2b3dfe9ccd76d0b4359507c5d66dfbd9973e0f16f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4e97ebe2e7bcd9a85112f3ab3d043472e26a2f8378605c65342cd2c411ec47225955f4b87c8732c749e3a82e400feeb9160cb4ae7cdf41fe8f0d2abc2d2bf63
|
7
|
+
data.tar.gz: 0bacb942fb31e630a47a2a7e5ef6991d05c31a624b53ce4d1aa9ef7027cb94c04241897cfd96e78f0e32ddd17d391a929c482133b216dc437c187837aeae0c0b
|
data/README.md
CHANGED
@@ -19,10 +19,6 @@ configuration.
|
|
19
19
|
- Source maps.
|
20
20
|
- Phlex and ViewComponent integration.
|
21
21
|
|
22
|
-
## ⚠️ WORK IN PROGRESS ⚠️
|
23
|
-
|
24
|
-
While my goal is to use Proscenium in production, I recommended that you **DO NOT** use Proscenium in production just yet! It has only been run for local development, and requires several improvements for optimal production use.
|
25
|
-
|
26
22
|
## Installation
|
27
23
|
|
28
24
|
Add this line to your Rails application's Gemfile, and you're good to go:
|
Binary file
|
@@ -90,10 +90,9 @@ extern "C" {
|
|
90
90
|
// - baseUrl - base URL of the Rails app. eg. https://example.com
|
91
91
|
// - env - The environment (1 = development, 2 = test, 3 = production)
|
92
92
|
// - importMap - Path to the import map relative to `root`.
|
93
|
-
// - bundle
|
94
93
|
// - debug
|
95
94
|
//
|
96
|
-
extern struct Result build(char* filepath, char* root, char* baseUrl, unsigned int env, char* importMap, GoUint8
|
95
|
+
extern struct Result build(char* filepath, char* root, char* baseUrl, unsigned int env, char* importMap, GoUint8 debug);
|
97
96
|
|
98
97
|
// Resolve the given `path` relative to the `root`.
|
99
98
|
//
|
data/lib/proscenium/version.rb
CHANGED
data/lib/proscenium.rb
CHANGED
@@ -58,8 +58,8 @@ module Proscenium
|
|
58
58
|
sroot = "#{matched_gem[1][:root]}/"
|
59
59
|
relpath = path.delete_prefix(sroot)
|
60
60
|
|
61
|
-
if matched_gem[1][:package_name]
|
62
|
-
return Esbuild::Golib.resolve("#{
|
61
|
+
if (package_name = matched_gem[1][:package_name] || matched_gem[0])
|
62
|
+
return Esbuild::Golib.resolve("#{package_name}/#{relpath}")
|
63
63
|
end
|
64
64
|
|
65
65
|
# TODO: manually resolve the path without esbuild
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proscenium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Joel Moss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|