ruby2js 2.1.17 → 2.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby2js/filter/vue.rb +2 -2
- data/lib/ruby2js/version.rb +1 -1
- data/ruby2js.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a08fc298d4b735b9baf096df5cfd8400bd0a835b
|
4
|
+
data.tar.gz: '00480bb656522c7b65d21626a94383bddf9ea9f1'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0e1232149f304e953d69992632d45e9dcab0ec0accd3a1a56257af1d7e32c38db29fcfdee0ca5b4decde5ee3f10159a3adc12fb9f106bcf9888fc4e47552002
|
7
|
+
data.tar.gz: d9b20d5925b96b1425fe64d8febb9b9b8b640caa155db784d1fa64376c720b7940d5f62fcfafc9a7cacba72b247339ca8ee5254b15624f8418ca1cd808d7b333
|
data/lib/ruby2js/filter/vue.rb
CHANGED
@@ -618,7 +618,7 @@ module Ruby2JS
|
|
618
618
|
test = test.children.first
|
619
619
|
end
|
620
620
|
|
621
|
-
if value and (not test or
|
621
|
+
if value and value.type != :cvar and (not test or
|
622
622
|
test.is_a? Symbol or [:ivar, :cvar, :self].include? test.type)
|
623
623
|
then
|
624
624
|
hash[:domProps]['value'] ||= value
|
@@ -664,7 +664,7 @@ module Ruby2JS
|
|
664
664
|
test = test.children.first
|
665
665
|
end
|
666
666
|
|
667
|
-
if checked and (not test or
|
667
|
+
if checked and checked.type != :cvar and (not test or
|
668
668
|
test.is_a? Symbol or [:ivar, :cvar, :self].include? test.type)
|
669
669
|
then
|
670
670
|
hash[:domProps]['checked'] ||= checked
|
data/lib/ruby2js/version.rb
CHANGED
data/ruby2js.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: ruby2js 2.1.
|
2
|
+
# stub: ruby2js 2.1.18 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "ruby2js".freeze
|
6
|
-
s.version = "2.1.
|
6
|
+
s.version = "2.1.18"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|