ruby2js 2.1.17 → 2.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec4d1bb1aec7743c2338fbd31501b6fa7d58414f
4
- data.tar.gz: beafcc5f02ea2e948e57315828f0a85ae2a9c655
3
+ metadata.gz: a08fc298d4b735b9baf096df5cfd8400bd0a835b
4
+ data.tar.gz: '00480bb656522c7b65d21626a94383bddf9ea9f1'
5
5
  SHA512:
6
- metadata.gz: 770bd494a56342a7799ddf3196bda8fc4a3924260865edb077393e49ce0a9bc630bb04b4e990614ccbef235770b67b8bc1ebe21c74c6c967242e90ea0f15e1cb
7
- data.tar.gz: 9a60c5a1b26d77ad34641d506e2ba7b50b1ac919e0e3f65c9d181eb6dcfa10ae5c923b1e10e7986af669d3453fdf7ee2351f7ab33f5dd9d5a7a82cc5fce31f1a
6
+ metadata.gz: f0e1232149f304e953d69992632d45e9dcab0ec0accd3a1a56257af1d7e32c38db29fcfdee0ca5b4decde5ee3f10159a3adc12fb9f106bcf9888fc4e47552002
7
+ data.tar.gz: d9b20d5925b96b1425fe64d8febb9b9b8b640caa155db784d1fa64376c720b7940d5f62fcfafc9a7cacba72b247339ca8ee5254b15624f8418ca1cd808d7b333
@@ -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
@@ -2,7 +2,7 @@ module Ruby2JS
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
- TINY = 17
5
+ TINY = 18
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/ruby2js.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: ruby2js 2.1.17 ruby lib
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.17"
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]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby2js
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.17
4
+ version: 2.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby