superglue 2.0.0.beta.2 → 2.0.0.beta.3

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: b145fb67a8de9d06b652077c65ca6193e060a0662d300a8b9123651886e0db7c
4
- data.tar.gz: bdb3106d98cf8c30f5efb396d21222d8ca5d750f2cbe7f3a682bca4a37259a19
3
+ metadata.gz: 1640d0852a7c648653834bd123be25b3743bb902c9812392ce733e3481ae335b
4
+ data.tar.gz: 3c0a159812f0774aabab1a64f2a31d39a3a2fc1aff20c24db098508c2613ad29
5
5
  SHA512:
6
- metadata.gz: 38c182b8c9123751aba72d726c5d6f53152fc79de03947d8c8c1f58968436ba3c97d37fd5a22fd6ebee786ef7a5fc86f950b8ae376594fed9cd969a37a43ea41
7
- data.tar.gz: 11c8690fac03c74a48b78189ebff274bf4e6470cc6e3b7892ea9f0eaec34c3e138129af3b36cc0f87871222db7fc527a6f8fc9a375400b82b4f3b4b47a93ec4a
6
+ metadata.gz: 9d28259b08ed70b6d08282e2de5d7597490075e3b7f88cba4553f0becc07501b6645dd8363c62b9967625a4aa6f0fbe292f65fe75ef7c5eb2fba70666d0e4f07
7
+ data.tar.gz: 7c191014d7f40d0802383b5a8430a6af299233393a52c426289ca06f5773264c59b44eb24450a8129292868453281acf429f38e6e8b4411f2867b64787d48b98
@@ -197,7 +197,7 @@ module Superglue
197
197
 
198
198
  def install_packages
199
199
  say "Installing Superglue and friends"
200
- run "yarn add react react-dom @thoughtbot/superglue@2.0.0-beta.2"
200
+ run "yarn add react react-dom @thoughtbot/superglue@^2.0.0-beta.11"
201
201
 
202
202
  if @use_typescript
203
203
  run "yarn add -D @types/react-dom @types/react @types/node @thoughtbot/candy_wrapper@0.0.4 typescript"
@@ -18,8 +18,7 @@ if (typeof window !== "undefined" && window.SUPERGLUE_INITIAL_PAGE_STATE) {
18
18
 
19
19
  if (appEl) {
20
20
  const { Provider, Outlet, ujs } = createApp({
21
- // The base url prefixed to all calls made by the `visit`
22
- // and `remote` thunks.
21
+ // The base url prefixed to all calls made by `visit` and `remote`.
23
22
  baseUrl: location.origin,
24
23
  // The global var SUPERGLUE_INITIAL_PAGE_STATE is set by your erb
25
24
  // template, e.g., index.html.erb
@@ -40,7 +39,7 @@ if (typeof window !== "undefined" && window.SUPERGLUE_INITIAL_PAGE_STATE) {
40
39
  <Outlet />
41
40
  </Layout>
42
41
  </Provider>
43
- </div>
42
+ </div>,
44
43
  );
45
44
  }
46
45
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superglue
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta.2
4
+ version: 2.0.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johny Ho