execjs 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/execjs/external_runtime.rb +5 -3
- data/lib/execjs/version.rb +1 -1
- metadata +117 -109
@@ -74,9 +74,11 @@ module ExecJS
|
|
74
74
|
end
|
75
75
|
else
|
76
76
|
def encode_unicode_codepoints(str)
|
77
|
-
str.
|
78
|
-
|
79
|
-
|
77
|
+
str.gsub(/([\xC0-\xDF][\x80-\xBF]|
|
78
|
+
[\xE0-\xEF][\x80-\xBF]{2}|
|
79
|
+
[\xF0-\xF7][\x80-\xBF]{3})+/nx) do |ch|
|
80
|
+
"\\u%04x" % ch.unpack("U*")
|
81
|
+
end
|
80
82
|
end
|
81
83
|
end
|
82
84
|
end
|
data/lib/execjs/version.rb
CHANGED
metadata
CHANGED
@@ -1,131 +1,139 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: execjs
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.2
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 1.2.3
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Sam Stephenson
|
9
|
-
- Josh Peek
|
7
|
+
authors:
|
8
|
+
- Sam Stephenson
|
9
|
+
- Josh Peek
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-08-03 00:00:00.000000000Z
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: multi_json
|
17
|
-
requirement: &70354656032380 !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - ~>
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '1.0'
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: *70354656032380
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: johnson
|
28
|
-
requirement: &70354656031960 !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
|
-
requirements:
|
31
|
-
- - ! '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: *70354656031960
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: mustang
|
39
|
-
requirement: &70354656031500 !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
|
-
requirements:
|
42
|
-
- - ! '>='
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '0'
|
45
|
-
type: :development
|
46
|
-
prerelease: false
|
47
|
-
version_requirements: *70354656031500
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: rake
|
50
|
-
requirement: &70354656031080 !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
|
-
requirements:
|
53
|
-
- - ! '>='
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
56
|
-
type: :development
|
57
|
-
prerelease: false
|
58
|
-
version_requirements: *70354656031080
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: therubyracer
|
61
|
-
requirement: &70354656030660 !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
|
-
requirements:
|
64
|
-
- - ! '>='
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '0'
|
67
|
-
type: :development
|
68
|
-
prerelease: false
|
69
|
-
version_requirements: *70354656030660
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: therubyrhino
|
72
|
-
requirement: &70354656030240 !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
type: :development
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: *70354656030240
|
81
|
-
description: ! ' ExecJS lets you run JavaScript code from Ruby.
|
82
13
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
-
|
14
|
+
date: 2011-08-03 00:00:00 -05:00
|
15
|
+
default_executable:
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: multi_json
|
19
|
+
prerelease: false
|
20
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ~>
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: "1.0"
|
26
|
+
type: :runtime
|
27
|
+
version_requirements: *id001
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: johnson
|
30
|
+
prerelease: false
|
31
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: "0"
|
37
|
+
type: :development
|
38
|
+
version_requirements: *id002
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: mustang
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: "0"
|
48
|
+
type: :development
|
49
|
+
version_requirements: *id003
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: rake
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: "0"
|
59
|
+
type: :development
|
60
|
+
version_requirements: *id004
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: therubyracer
|
63
|
+
prerelease: false
|
64
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: "0"
|
70
|
+
type: :development
|
71
|
+
version_requirements: *id005
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: therubyrhino
|
74
|
+
prerelease: false
|
75
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: "0"
|
81
|
+
type: :development
|
82
|
+
version_requirements: *id006
|
83
|
+
description: " ExecJS lets you run JavaScript code from Ruby.\n"
|
84
|
+
email:
|
85
|
+
- sstephenson@gmail.com
|
86
|
+
- josh@joshpeek.com
|
87
87
|
executables: []
|
88
|
+
|
88
89
|
extensions: []
|
90
|
+
|
89
91
|
extra_rdoc_files: []
|
90
|
-
|
91
|
-
|
92
|
-
- lib/execjs
|
93
|
-
- lib/execjs/
|
94
|
-
- lib/execjs/
|
95
|
-
- lib/execjs/
|
96
|
-
- lib/execjs/
|
97
|
-
- lib/execjs/
|
98
|
-
- lib/execjs/
|
99
|
-
- lib/execjs/
|
100
|
-
- lib/execjs/
|
101
|
-
- lib/execjs/support/
|
102
|
-
- lib/execjs/support/
|
103
|
-
- lib/execjs/support/
|
104
|
-
- lib/execjs/support/
|
105
|
-
-
|
106
|
-
-
|
92
|
+
|
93
|
+
files:
|
94
|
+
- lib/execjs.rb
|
95
|
+
- lib/execjs/external_runtime.rb
|
96
|
+
- lib/execjs/johnson_runtime.rb
|
97
|
+
- lib/execjs/module.rb
|
98
|
+
- lib/execjs/version.rb
|
99
|
+
- lib/execjs/mustang_runtime.rb
|
100
|
+
- lib/execjs/ruby_racer_runtime.rb
|
101
|
+
- lib/execjs/ruby_rhino_runtime.rb
|
102
|
+
- lib/execjs/runtimes.rb
|
103
|
+
- lib/execjs/support/basic_runner.js
|
104
|
+
- lib/execjs/support/jscript_runner.js
|
105
|
+
- lib/execjs/support/json2.js
|
106
|
+
- lib/execjs/support/node_runner.js
|
107
|
+
- lib/execjs/support/which.bat
|
108
|
+
- LICENSE
|
109
|
+
- README.md
|
110
|
+
has_rdoc: true
|
107
111
|
homepage: https://github.com/sstephenson/execjs
|
108
112
|
licenses: []
|
113
|
+
|
109
114
|
post_install_message:
|
110
115
|
rdoc_options: []
|
111
|
-
|
112
|
-
|
113
|
-
|
116
|
+
|
117
|
+
require_paths:
|
118
|
+
- lib
|
119
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
120
|
none: false
|
115
|
-
requirements:
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: "0"
|
125
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
126
|
none: false
|
121
|
-
requirements:
|
122
|
-
|
123
|
-
|
124
|
-
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: "0"
|
125
131
|
requirements: []
|
132
|
+
|
126
133
|
rubyforge_project:
|
127
|
-
rubygems_version: 1.
|
134
|
+
rubygems_version: 1.5.1
|
128
135
|
signing_key:
|
129
136
|
specification_version: 3
|
130
137
|
summary: Run JavaScript code from Ruby
|
131
138
|
test_files: []
|
139
|
+
|