opal-virtual-dom 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +21 -0
- data/opal/virtual_dom/dom.rb +2 -1
- data/opal-virtual-dom.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57554d40a88560a6b23e6c7ba6751e6a36dad42e
|
4
|
+
data.tar.gz: a0166e2405f201db96c50901e38f1fe8b6e94623
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04564e3b0be679cad37b6df21bf8f61a830317498470d4763d0d25f815a2815e7cdc9be061797bcc2faedfa8e906a53d49e1b9d092cbfae6efe01aefd94e5f9f
|
7
|
+
data.tar.gz: f98d7f3d76306c5599a1567a7591c6cfc98a62c1cf03c959be77e40f0932feda1c998d03ad0edadf520615b742bb057666d1ac9a589afc596d084c8114cd8432
|
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Michał Kalbarczyk
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/opal/virtual_dom/dom.rb
CHANGED
@@ -28,7 +28,7 @@ module VirtualDOM
|
|
28
28
|
|
29
29
|
def process_params(params)
|
30
30
|
return {} unless params.is_a?(Hash)
|
31
|
-
params.each do |k, v|
|
31
|
+
params.dup.each do |k, v|
|
32
32
|
case k
|
33
33
|
when 'class'
|
34
34
|
params['className'] = params.delete('class')
|
@@ -36,6 +36,7 @@ module VirtualDOM
|
|
36
36
|
params[k] = ->(e) { v.call(Native(e)) }
|
37
37
|
end
|
38
38
|
end
|
39
|
+
params
|
39
40
|
end
|
40
41
|
|
41
42
|
# for backwards compatibility, you can return string
|
data/opal-virtual-dom.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal-virtual-dom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michał Kalbarczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -46,6 +46,7 @@ extra_rdoc_files: []
|
|
46
46
|
files:
|
47
47
|
- ".gitignore"
|
48
48
|
- Gemfile
|
49
|
+
- LICENSE.md
|
49
50
|
- README.md
|
50
51
|
- Rakefile
|
51
52
|
- lib/opal-virtual-dom.rb
|