proscenium 0.7.0-arm64-darwin → 0.8.0-arm64-darwin
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/esbuild/golib.rb +1 -1
- data/{bin → lib/proscenium/ext}/proscenium +0 -0
- data/lib/proscenium/version.rb +1 -1
- data/lib/proscenium.rb +2 -2
- metadata +5 -7
- data/config/routes.rb +0 -4
- /data/{bin → lib/proscenium/ext}/proscenium.h +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a43e54da60015f3f0f2b87d09339fd2e5d95d416c95cc528a4b2eeaa81a03151
|
4
|
+
data.tar.gz: 4c39451bd64ee5f3f4f529813a38cb16345b98784225074fe13451f0facfc351
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c38fff8fb0f392b0ed3a464fe2ecfb5afc76893fbd42c55e85e23245070dfa30f8cf07a5a8c76929025e6e4cb49b3ba69051d1bf7de60c27e7fb864a5c9406
|
7
|
+
data.tar.gz: b952474632c68ddb4134a4f112ac095aba893d562f03d3085ab61d941fe12600d4c135e656070e7b100bbade418c51bc3a59de7755b503c216c53eecad6eefa3
|
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:
|
@@ -12,7 +12,7 @@ module Proscenium
|
|
12
12
|
|
13
13
|
module Request
|
14
14
|
extend FFI::Library
|
15
|
-
ffi_lib Pathname.new(__dir__).join('
|
15
|
+
ffi_lib Pathname.new(__dir__).join('../ext/proscenium').to_s
|
16
16
|
|
17
17
|
enum :environment, [:development, 1, :test, :production]
|
18
18
|
|
Binary file
|
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.0
|
5
5
|
platform: arm64-darwin
|
6
6
|
authors:
|
7
7
|
- Joel Moss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -123,17 +123,13 @@ dependencies:
|
|
123
123
|
description:
|
124
124
|
email:
|
125
125
|
- joel@developwithstyle.com
|
126
|
-
executables:
|
127
|
-
- proscenium
|
126
|
+
executables: []
|
128
127
|
extensions: []
|
129
128
|
extra_rdoc_files: []
|
130
129
|
files:
|
131
130
|
- CODE_OF_CONDUCT.md
|
132
131
|
- LICENSE.txt
|
133
132
|
- README.md
|
134
|
-
- bin/proscenium
|
135
|
-
- bin/proscenium.h
|
136
|
-
- config/routes.rb
|
137
133
|
- lib/proscenium.rb
|
138
134
|
- lib/proscenium/css_module.rb
|
139
135
|
- lib/proscenium/css_module/class_names_resolver.rb
|
@@ -141,6 +137,8 @@ files:
|
|
141
137
|
- lib/proscenium/current.rb
|
142
138
|
- lib/proscenium/esbuild.rb
|
143
139
|
- lib/proscenium/esbuild/golib.rb
|
140
|
+
- lib/proscenium/ext/proscenium
|
141
|
+
- lib/proscenium/ext/proscenium.h
|
144
142
|
- lib/proscenium/helper.rb
|
145
143
|
- lib/proscenium/log_subscriber.rb
|
146
144
|
- lib/proscenium/middleware.rb
|
data/config/routes.rb
DELETED
File without changes
|