proscenium 0.7.0-aarch64-linux → 0.8.2-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: da3515fcd067a9196ab1efa8b0317f529ad3d8d0ba01ed81fe3d6c3a00f27788
4
- data.tar.gz: 3ca2bfd945a9919fb51a16b884b888e85766ad71fedbe67341043737c7fe2e58
3
+ metadata.gz: fd2d28c087f38da818d19f9e7f3e220f58d398d3b6d311b8ab6775b7f5c3ec86
4
+ data.tar.gz: a88d6e8d7ac18e74427c1f35240b3fad8cace9fbc2ea79f49765dbd61d2549c0
5
5
  SHA512:
6
- metadata.gz: 82021604ea289ac9f9ff3a873c355a4e800c65b3a67efcc2245a77a53c69e5f38b50205164e86efebbbb2ebeb896e6dbd3082b9b445940141f21e00b3b5fc9fc
7
- data.tar.gz: 25736d64cff191fac8fb1e842f09a5bbc9707a6700ace76cf1ed13985a07be9aaa4e419bf44779dc5a880409c9f3ea840d57fd2ab1f89a3a07e48b4438344101
6
+ metadata.gz: 52c756b27c66108cb0e62e69011eeaf8479689a51f7b2cead75fef71607c0e88a9d573c1e571ef5c374714376d2520eee09019b7f04d98d5cde455f1cab8440a
7
+ data.tar.gz: 349f1447131af581ea006d66814ae897ba626b5c6502ca321d1bda09cea6df78bee373224bff788c44a1ccb1958084f43f4db3d5787b203b6d7f138ded9e0027
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 bundle, GoUint8 debug);
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
  //
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.7.0'
4
+ VERSION = '0.8.2'
5
5
  end
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("#{matched_gem[1][:package_name]}/#{relpath}")
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.7.0
4
+ version: 0.8.2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Joel Moss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-01 00:00:00.000000000 Z
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport