proscenium 0.20.1-arm64-darwin → 0.21.0-arm64-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76c6a4eef20a371d1e7536d08ded760034a095122b5f2f929b6e2dfebe5e689d
4
- data.tar.gz: 74a88b48891a895d05d2d242bd8e848752c26badb29551f4d3a35263c7980326
3
+ metadata.gz: db414f8a3727cb4b23d63f13b273082067542395537b94dc34919094ea0166c0
4
+ data.tar.gz: 20b6419152d414ce0305d4e3d26824fe99650649781fa751a76475c6e559cf0a
5
5
  SHA512:
6
- metadata.gz: 461dc801438856ce12e49af9b1203f748335f98617b3d4f7d1a43a5039a9a42a3738341fdfcdacfbbe01be5a20f280a2333a6c6765dc0dca6e9962be152273c2
7
- data.tar.gz: 15f819ad13d6280c4c59e8482413dd43d2e401e31b7e7a27a8cb7ae2ff3370d8410491d45fe504ff03e3e4b55a60f88e674283ac1620046cf0ca5db9cb1d29e2
6
+ metadata.gz: 4665f38058a51a9cf824c549fe0e9a9a14bec930081abb0e9fc6962ef76aefc51cd4f2e8e244e97bec165823491f37e3298aeb439049006d0da7b33da0c3cd81
7
+ data.tar.gz: 556f705271397eff36c651c0fcb451239116e673fba7fee1d0c1c2870f5c2831cad4a8dc8a6b96b6acc15b4429ce9ee0736482ebf7fb1caf7127ee5896a89da0
@@ -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
  //
@@ -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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.20.1'
4
+ VERSION = '0.21.0'
5
5
  end
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.20.1
4
+ version: 0.21.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: 2025-10-07 00:00:00.000000000 Z
11
+ date: 2025-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi