ruby2js 3.0.14 → 3.0.15

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
  SHA256:
3
- metadata.gz: 977a5000855a15e2bb92f1c4c8c1ccea4fdf5ab3e7191119822baef7eae542c6
4
- data.tar.gz: d37e1f93e78f0fb2ea11bb507764df75fc24e16146b173a5c9bf93819277911e
3
+ metadata.gz: 7acab4a28c4ec163da40b2f1847692df089ff593af8d735bf163cfe566ed7f5b
4
+ data.tar.gz: f0f33e2c6beba7785d535ece64e4402cb5aac29fca9f9541087857905ba33d8f
5
5
  SHA512:
6
- metadata.gz: daf2acb19662ed955b502f226fdf9f36226968926a3a6e17a2b4d180a8d89edbfc451464ee4ce24139c1f960de348521958147701cfa99248d1a80e6c5f51be6
7
- data.tar.gz: 61d107547afd6f57ed4a98277c78e9edb86253bc61d6036520f22cd208d213f5c3a7ac010a738c94848bbdb649f608322379953a9892c92f4275f3d29181c068
6
+ metadata.gz: d53db4145f632be93c234cf706b25e6c7c27a0d0c1a864543045e6d9a9672e9e9792281677da6a4b107a3eac0d173ca2cd151a0d0f91acf3171ecc5a84dd06c4
7
+ data.tar.gz: 49364f4bb8cf3f05ea9d07664d800a86af81817b096a40c89ec8848a6f45fe62b755cc2e0c995ce49f300bb84a6caa1de4b5fd822b8ae403579e9244dde9e442
@@ -28,9 +28,9 @@ module Ruby2JS
28
28
  end
29
29
 
30
30
  if parts.first.type == :str and parts.first.children[0].start_with?('^')
31
- opts = opts + [:m] unless opts.include? :m
31
+ opts = opts + [:m] unless opts.include? :m or opts.include? 'm'
32
32
  elsif parts.last.type == :str and parts.last.children[0].end_with?('$')
33
- opts = opts + [:m] unless opts.include? :m
33
+ opts = opts + [:m] unless opts.include? :m or opts.include? 'm'
34
34
  end
35
35
 
36
36
  # use slash syntax if there are few embedded slashes in the regexp
@@ -2,7 +2,7 @@ module Ruby2JS
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 14
5
+ TINY = 15
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.14
4
+ version: 3.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby