execjs 2.0.0 → 2.0.1

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: f4dc71e89b01c1335680209ad2e9cd1adc2564df
4
- data.tar.gz: 8f0fa816bc85914127a1ccddf15595025311ad41
3
+ metadata.gz: d8f7414aa0346d1373c1a6d8fdf1317e9a3bc0b5
4
+ data.tar.gz: 99bc792e37bd6a417d8e6d79998f1f0c7536ebb5
5
5
  SHA512:
6
- metadata.gz: c43fe65595fdb4867941286a8293f256bee306d302c5a0ee9a9263902054c9d42831aad75b2a2a2ec932cad55ae7180bd801c51de203d1605b831c05a29ddd2b
7
- data.tar.gz: 4a878ca1119bcdab94a4d66989e50683fcb296bb1137e26659d1517b9ed36f97ab6655e03f0b5c0270907610f54260622e225fde5daedfd4595ffaa616ad4f8c
6
+ metadata.gz: 3b680d30f6d274913363620387d9bd1c5e9012b44a00bd1b93657c7d07ccde40a6c6e460356644eb53ca84d5db7383f02be9173ac10557fce4a4791b252157c5
7
+ data.tar.gz: 5e43430e2502a45bf955a2c3e240511127f022e507e0ab4d296d6d23367330b6b890afb9665b6ed03608162dab85622d6a49628c5cc153f758231a5847060fd8
@@ -16,7 +16,7 @@ module ExecJS
16
16
  source = encode(source)
17
17
 
18
18
  if /\S/ =~ source
19
- exec("return eval(#{::JSON.dump("(#{source})")})")
19
+ exec("return eval(#{::JSON.generate("(#{source})", :quirks_mode => true)})")
20
20
  end
21
21
  end
22
22
 
@@ -1,3 +1,3 @@
1
1
  module ExecJS
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: execjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stephenson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-21 00:00:00.000000000 Z
12
+ date: 2013-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake