bormashino 0.1.12 → 0.1.13

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: 988db66f78d26f30c3b736cd52289e7f1163f0ff5a3daa91f2ab8a8e48b7d823
4
- data.tar.gz: eb04b7d5a520d94bd0f93ba7a802cf2c47b042fa37596a44ca66ea1b1d73be06
3
+ metadata.gz: 0e6d928cf8f2a515f8b02da17df2d917bb6dee7fae8bae57dac192fe1e76a70b
4
+ data.tar.gz: c1b22546492a4a3dcafc748a6bf6fd5c2856472fa019e08af8409e4034bee6ad
5
5
  SHA512:
6
- metadata.gz: f9f9ed20425a72a52f311c5ecb59546192149bbe08cb7cc63d3ba77d47f8c3a56cb432c9f322fcbed0277d24f712bb67fc25667095ba970bb3551eeec167aabe
7
- data.tar.gz: 84ea75e4f6b03bbe9e070d6603f7f61f8b9df9e7aca4547145e9f501000412d406d091d61b3044191e4a733bdc67a1cb441ccd0d6360d5a0dd758ab7c58b7d51
6
+ metadata.gz: 219ae95576ecfe5109caad5e56342db520c4bbeec021ada49dd5616e6dfff697ebaefc57a0461a9518ad957fe1c20760bc96d48b106e67d0e5b4648dd134f54f
7
+ data.tar.gz: 338e29cfb5b8b395c5e26e87e1da31af917a7c58e62f77aabbb0a1082e334eca9c95598cec810f4af0f8eeb4be02a0aed39b26b83f591117c679a9afafe598ae
@@ -4,7 +4,7 @@ module JS
4
4
  # extends ruby.wasm JS::Object to intract with JS
5
5
  class Object
6
6
  def to_rb
7
- JSON.parse(JS.global[:JSON].call(:stringify, self).inspect)
7
+ JSON.parse(JS.global[:JSON].call(:stringify, self).to_s)
8
8
  end
9
9
  end
10
10
  end
@@ -8,6 +8,8 @@ module Bormashino
8
8
  attr_accessor :resource, :init, :resolved_to, :options
9
9
 
10
10
  def initialize(resource:, resolved_to:, init: {}, options: {})
11
+ JS.eval("console.warn('Bormashino::Fetch is deprecated. Use Fetch API and JS::Object#await')")
12
+
11
13
  @resource = resource
12
14
  @init = init
13
15
  @resolved_to = resolved_to
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bormashino
4
- VERSION = '0.1.12'
4
+ VERSION = '0.1.13'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bormashino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichiro Yasuda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-30 00:00:00.000000000 Z
11
+ date: 2023-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_pure