opal-browser 0.3.0 → 0.3.1

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: 757925a4ec553e27d7aba272bab8ee73bc3ba3625fc0b19639020330cafbbd16
4
- data.tar.gz: 86154513d24fa1eb3258ff22459ce83d3d5b5a1d6dcde4467da709fb6a15efa6
3
+ metadata.gz: 0a728e0d53d58c89018baa0d46dbc4731da85966b7fb5b7b312f4bb24d9dc23f
4
+ data.tar.gz: 7219cd2463a99d60f4f39b19045ab3ebf22b254a62f82c4684bd3023ad7548e4
5
5
  SHA512:
6
- metadata.gz: 85f9989c87c579e10c24e7a8553cf2c1e93ee2972aa7a570dc37e5835bb6b768a4d3e8971860bf97960ee7720b1d4fd1d32503a9ab3a14a86a87c4fae3d9ab7f
7
- data.tar.gz: 150483626044e1a89975eb4181a3547a875310fef3811ac70e7bd140a78b63e56a7311f569d0d329d877e2e3a0f6f27e8693e33f5002bc04db910ca5926bcbcb
6
+ metadata.gz: a04d4225b59e9e3d244bfa748d931bc3954946c9de3e6f4623115494e00e54a8a5c3e90bf7fe679b71d1ebc74b7318c18f422014775059ca457bcd1cf872f250
7
+ data.tar.gz: 194e860d12c4e737593bc1888cff156fccfc94d13b20faf8ec26b12ed9a1d26d43ad960b21fb88a6605a5b8c20b8b2d4c239dec4a52013b87d1ab7ec9649c372
data/.gitignore CHANGED
@@ -4,4 +4,5 @@ vendor
4
4
  copycat
5
5
  doc
6
6
  .yardoc
7
- screenshot.png
7
+ screenshot.png
8
+ /pkg
@@ -3,5 +3,4 @@ source "https://rubygems.org"
3
3
  gem "opal-sprockets"
4
4
  gem "puma"
5
5
  gem "rack"
6
- gem "paggio", github: "hmdne/paggio"
7
6
  gem "opal-browser", path: "../.."
@@ -3,5 +3,4 @@ source "https://rubygems.org"
3
3
  gem "opal-sprockets"
4
4
  gem "puma"
5
5
  gem "rack"
6
- gem "paggio", github: "hmdne/paggio"
7
6
  gem "opal-browser", path: "../.."
@@ -2,6 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  gem "opal-browser", path: "../.."
4
4
  gem "opal-sprockets"
5
- gem "paggio", github: "hmdne/paggio"
6
5
  gem "rack"
7
6
  gem "puma"
@@ -3,5 +3,4 @@ source "https://rubygems.org"
3
3
  gem "opal-sprockets"
4
4
  gem "puma"
5
5
  gem "rack"
6
- gem "paggio", github: "hmdne/paggio"
7
6
  gem "opal-browser", path: "../../.."
@@ -4,5 +4,4 @@ gem "opal-sprockets"
4
4
  gem "roda-sprockets", ">= 2.0.0a"
5
5
  gem "puma"
6
6
  gem "rake"
7
- gem "paggio", github: "hmdne/paggio"
8
7
  gem "opal-browser", path: "../../.."
@@ -4,6 +4,5 @@ gem "opal-sprockets"
4
4
  gem "roda-sprockets"
5
5
  gem "puma"
6
6
  gem "rake"
7
- gem "paggio", github: "hmdne/paggio"
8
7
  gem "opal-browser", path: "../../.."
9
8
  gem "sassc"
@@ -4,5 +4,4 @@ gem "opal-sprockets"
4
4
  gem "puma"
5
5
  gem "rake"
6
6
  gem "sinatra"
7
- gem "paggio", github: "hmdne/paggio"
8
7
  gem "opal-browser", path: "../../.."
@@ -1,4 +1,3 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gem "opal-browser", path: "../../.."
4
- gem "paggio", github: "hmdne/paggio"
@@ -1,4 +1,3 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gem "opal-browser", path: "../../.."
4
- gem "paggio", github: "hmdne/paggio"
@@ -1,5 +1,4 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gem "opal-browser", path: "../../.."
4
- gem "paggio", github: "hmdne/paggio"
5
4
  gem "rake"
@@ -1,7 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gem "opal-browser", path: "../../.."
4
- gem "paggio", github: "hmdne/paggio"
5
4
  gem "rake"
6
5
  gem "guard"
7
6
  gem "guard-rake"
data/examples/svg/Gemfile CHANGED
@@ -1,5 +1,4 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gem "opal-browser", path: "../.."
4
- gem "paggio", github: "hmdne/paggio"
5
4
  gem "rake"
@@ -354,9 +354,8 @@ class Element < Node
354
354
 
355
355
  # Set the inner DOM of the element using the {Builder}.
356
356
  def inner_dom(builder=nil, &block)
357
- clear
358
-
359
- self << Builder.new(document, builder, &block).to_a
357
+ self.inner_dom = Builder.new(document, builder, &block).to_a
358
+ self
360
359
  end
361
360
 
362
361
  # Set the inner DOM with the given node.
@@ -114,6 +114,8 @@ class NodeSet
114
114
  def to_ary
115
115
  @literal
116
116
  end
117
+
118
+ alias to_a to_ary
117
119
  end
118
120
 
119
121
  end; end
@@ -1,3 +1,3 @@
1
1
  module Browser
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-browser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - meh.
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-11-17 00:00:00.000000000 Z
12
+ date: 2021-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: opal