proscenium 0.20.1-x86_64-darwin → 0.21.0-x86_64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/proscenium/builder.rb +1 -0
- data/lib/proscenium/ext/proscenium +0 -0
- data/lib/proscenium/ext/proscenium.h +9 -1
- data/lib/proscenium/railtie.rb +2 -0
- data/lib/proscenium/version.rb +1 -1
- 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: f591d16b9483b8a5047cc6c038b35bdade33403aba74c68b0faa9cb7c6250337
|
4
|
+
data.tar.gz: b48ec6d334dac2b3e0b3ab951ed0c08ca2ddc108557eaa55a474345427d489fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79699aed1eb48256fb7fd36bbfac3ecd4fcf38708e35d96be994c6cc441ced1cf9494a74a8d8a876532c854aec9cd5881aa040ee6bbcea2d3c492d2116dd69b6
|
7
|
+
data.tar.gz: cbf971dc2641cc4e89c2870e4a7d07644069edd9616a305e48291af9d927b8324d253a90885faf72b1cfbc1f3b44b9a718334d704548d68f251f45f7d2de5f3e
|
data/lib/proscenium/builder.rb
CHANGED
@@ -80,6 +80,7 @@ module Proscenium
|
|
80
80
|
CodeSplitting: Proscenium.config.code_splitting,
|
81
81
|
RubyGems: Proscenium::BundledGems.paths,
|
82
82
|
Bundle: Proscenium.config.bundle,
|
83
|
+
Aliases: Proscenium.config.aliases,
|
83
84
|
QueryString: cache_query_string,
|
84
85
|
Debug: Proscenium.config.debug
|
85
86
|
}.to_json)
|
Binary file
|
@@ -12,6 +12,8 @@
|
|
12
12
|
|
13
13
|
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
14
14
|
typedef struct { const char *p; ptrdiff_t n; } _GoString_;
|
15
|
+
extern size_t _GoStringLen(_GoString_ s);
|
16
|
+
extern const char *_GoStringPtr(_GoString_ s);
|
15
17
|
#endif
|
16
18
|
|
17
19
|
#endif
|
@@ -53,10 +55,16 @@ typedef size_t GoUintptr;
|
|
53
55
|
typedef float GoFloat32;
|
54
56
|
typedef double GoFloat64;
|
55
57
|
#ifdef _MSC_VER
|
58
|
+
#if !defined(__cplusplus) || _MSVC_LANG <= 201402L
|
56
59
|
#include <complex.h>
|
57
60
|
typedef _Fcomplex GoComplex64;
|
58
61
|
typedef _Dcomplex GoComplex128;
|
59
62
|
#else
|
63
|
+
#include <complex>
|
64
|
+
typedef std::complex<float> GoComplex64;
|
65
|
+
typedef std::complex<double> GoComplex128;
|
66
|
+
#endif
|
67
|
+
#else
|
60
68
|
typedef float _Complex GoComplex64;
|
61
69
|
typedef double _Complex GoComplex128;
|
62
70
|
#endif
|
@@ -83,7 +91,7 @@ typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
|
|
83
91
|
extern "C" {
|
84
92
|
#endif
|
85
93
|
|
86
|
-
extern void reset_config();
|
94
|
+
extern void reset_config(void);
|
87
95
|
|
88
96
|
// Build the given `path` using the `config`.
|
89
97
|
//
|
data/lib/proscenium/railtie.rb
CHANGED
@@ -18,6 +18,8 @@ module Proscenium
|
|
18
18
|
config.proscenium.cache_query_string = Rails.env.production? && ENV.fetch('REVISION', nil)
|
19
19
|
config.proscenium.cache_max_age = 2_592_000 # 30 days
|
20
20
|
|
21
|
+
config.proscenium.aliases = {}
|
22
|
+
|
21
23
|
# List of environment variable names that should be passed to the builder, which will then be
|
22
24
|
# passed to esbuild's `Define` option. Being explicit about which environment variables are
|
23
25
|
# defined means a faster build, as esbuild will have less to do.
|
data/lib/proscenium/version.rb
CHANGED
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.21.0
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- Joel Moss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-10-
|
11
|
+
date: 2025-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|