ruby2js 1.12.0 → 1.12.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module Ruby2JS
7
7
  handle :casgn do |cbase, var, value|
8
8
  begin
9
9
  var = "#{ parse cbase }.var" if cbase
10
- "const #{ var } = #{ parse value }"
10
+ "var #{ var } = #{ parse value }"
11
11
  ensure
12
12
  @vars[var] = true
13
13
  end
@@ -2,7 +2,7 @@ module Ruby2JS
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 12
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/ruby2js.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "ruby2js"
5
- s.version = "1.12.0"
5
+ s.version = "1.12.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sam Ruby"]
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: 1.12.0
4
+ version: 1.12.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: