opal-httpget 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a0507108c9c332b7811a56b2aca1c4f1007d676aa5eecf3706be9cfd5059652
4
- data.tar.gz: 2972326b2ede6e59c87b5767695f2fd3593c44a133bb74f0585a9fb8aaf2a095
3
+ metadata.gz: 1f9bbc00f219b1639088a2d92f32e874b1dd0576d306c885cf3b42da29785591
4
+ data.tar.gz: '083188ee196fd95ac79efa7ec3f30d6afca0976632087f36713836e1ffd5dfd7'
5
5
  SHA512:
6
- metadata.gz: 5bd1dfc0560c16af23c2a4b458a5efb46ec1274235a1e53442ddd021afa4853b750f80c36705939c1d783a583e165a811887a11bc7d7c706226b271349466fef
7
- data.tar.gz: 8594f783b16641efdb29d0e554b992a45ca7729153b4c26e563f84fef44352827e05ed59f6ae6637804a7ebeb63989ce5d85558098f3310a9adfa3fa15dff3bc
6
+ metadata.gz: 8afcaf2d802fea8fcfc45b600f52ba00b0c3348d4ef1d4af99d6c254e17883aa099b728ddcfde80a40372ae832dfd63d3d6f1f25f8356741fbb09b5ad340b4ea
7
+ data.tar.gz: 40b2d620c392247387afd0085b68b2d8ac6111d4b224feb5889f75c5ae30c276973f9e642443da15ab36a7c2352b9428fee6d9f1b57b321b21ef8f89596cf414
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Opal
4
4
  module Httpget
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.5"
6
6
  end
7
7
  end
data/lib/opal/httpget.rb CHANGED
@@ -78,4 +78,15 @@ module Opal
78
78
  end
79
79
 
80
80
  end
81
+
82
+ # おまけ機能: テキストの変更
83
+ def change_text(id, text)
84
+ `document.querySelector(id).textContent=text;`
85
+ end
86
+
87
+ # おまけ機能: テキストの変更
88
+ def open_window(url)
89
+ `window.open( url );`
90
+ end
91
+
81
92
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-httpget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - showata
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal