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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eef45f5c122760afaa3490608411500515819fb3
4
- data.tar.gz: 0ee5e85a4cf8e122d78489b4339fcec9fbccfecf
3
+ metadata.gz: 57554d40a88560a6b23e6c7ba6751e6a36dad42e
4
+ data.tar.gz: a0166e2405f201db96c50901e38f1fe8b6e94623
5
5
  SHA512:
6
- metadata.gz: 3b189550c22d8f35cea17c10c360568f5661ce7026f56aa0c5c1ae4c18e533c655ffe19c7f493a35fff6777c9e24cbe9c4c4e1bd135f55b2548f2831774546fe
7
- data.tar.gz: f8cb9caf12939690ef7195b4651a91b8144d5a8e9b144127983af4a56948a880f04888290a5a9f9827428d43705f16ce5087cfedd5d742ace18092baa3a749bf
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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'opal-virtual-dom'
3
- s.version = '0.2.1'
3
+ s.version = '0.2.2'
4
4
  s.authors = [ 'Michał Kalbarczyk' ]
5
5
  s.email = 'fazibear@gmail.com'
6
6
  s.homepage = 'http://github.com/fazibear/opal-virtual-dom'
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.1
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-07 00:00:00.000000000 Z
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