ruby2js 3.0.3 → 3.0.4

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: a00761caa853bb0ecbd0d4531a47373e5bfde02c
4
- data.tar.gz: 96f676c25a71ea845b8f914303bd5a550e3a564d
3
+ metadata.gz: e00c31d4c3008e16e720676fe6170e741e647dbc
4
+ data.tar.gz: d3882d4c1a946655055af40fc41028f096238101
5
5
  SHA512:
6
- metadata.gz: b41112e1bce8ff9a65c3dd2fa12f25e7b7fdd460c80f022e24486ede24848cca05895c30b602189c001472dc3e7be00c032e8ab6b2324dccb27d71089beafdb6
7
- data.tar.gz: 8656d7be7bc9a581216096b122fd8b887943bb02b9302706bfa0d047e12f0fadc20e07adbf3e17ce837492fae120bd0f9ca274bfad7dce9392e3627f687f102b
6
+ metadata.gz: da8fb9a021cc0037d31bcc1bb2d83fbb52f686640d0247dda4d030869ae148ad4a271f6c93aa78f2fe2211ea0c82275807897bf86dc1223ae6cb56ea32567b1c
7
+ data.tar.gz: d843723f447de12fa82ebb5402dd74302a4390ee216b1cf1a711cf78526311672e4f3968db8cf9d54a51a94a1265c816a56c1c2fa27e015b24a239c850c9fbe1
@@ -290,7 +290,7 @@ module Ruby2JS
290
290
  on_send call.updated nil, [*call.children[0..1], block,
291
291
  *call.children[2..-1]]
292
292
 
293
- elsif [:sub, :gsub, :sub!, :gsub!].include? call.children[1]
293
+ elsif [:sub, :gsub, :sub!, :gsub!, :sort!].include? call.children[1]
294
294
  return super if call.children.first == nil
295
295
  block = s(:block, s(:send, nil, :proc), node.children[1],
296
296
  s(:autoreturn, *node.children[2..-1]))
@@ -2,7 +2,7 @@ module Ruby2JS
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby