execjs 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -123,7 +123,7 @@ module ExecJS
123
123
  result = if ExecJS.windows?
124
124
  `#{ExecJS.root}/support/which.bat #{name}`
125
125
  else
126
- `which #{name} 2>/dev/null`
126
+ `command -v #{name} 2>/dev/null`
127
127
  end
128
128
 
129
129
  if path = result.strip.split("\n").first
@@ -1,3 +1,3 @@
1
1
  module ExecJS
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: execjs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 2
9
- - 0
10
- version: 1.2.0
8
+ - 1
9
+ version: 1.2.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - Sam Stephenson
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2011-06-18 00:00:00 -05:00
18
+ date: 2011-07-28 00:00:00 -05:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -27,7 +26,6 @@ dependencies:
27
26
  requirements:
28
27
  - - ~>
29
28
  - !ruby/object:Gem::Version
30
- hash: 15
31
29
  segments:
32
30
  - 1
33
31
  - 0
@@ -42,7 +40,6 @@ dependencies:
42
40
  requirements:
43
41
  - - ">="
44
42
  - !ruby/object:Gem::Version
45
- hash: 3
46
43
  segments:
47
44
  - 0
48
45
  version: "0"
@@ -56,7 +53,6 @@ dependencies:
56
53
  requirements:
57
54
  - - ">="
58
55
  - !ruby/object:Gem::Version
59
- hash: 3
60
56
  segments:
61
57
  - 0
62
58
  version: "0"
@@ -70,7 +66,6 @@ dependencies:
70
66
  requirements:
71
67
  - - ">="
72
68
  - !ruby/object:Gem::Version
73
- hash: 3
74
69
  segments:
75
70
  - 0
76
71
  version: "0"
@@ -84,7 +79,6 @@ dependencies:
84
79
  requirements:
85
80
  - - ">="
86
81
  - !ruby/object:Gem::Version
87
- hash: 3
88
82
  segments:
89
83
  - 0
90
84
  version: "0"
@@ -98,7 +92,6 @@ dependencies:
98
92
  requirements:
99
93
  - - ">="
100
94
  - !ruby/object:Gem::Version
101
- hash: 3
102
95
  segments:
103
96
  - 0
104
97
  version: "0"
@@ -145,7 +138,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
138
  requirements:
146
139
  - - ">="
147
140
  - !ruby/object:Gem::Version
148
- hash: 3
149
141
  segments:
150
142
  - 0
151
143
  version: "0"
@@ -154,14 +146,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
146
  requirements:
155
147
  - - ">="
156
148
  - !ruby/object:Gem::Version
157
- hash: 3
158
149
  segments:
159
150
  - 0
160
151
  version: "0"
161
152
  requirements: []
162
153
 
163
154
  rubyforge_project:
164
- rubygems_version: 1.5.0
155
+ rubygems_version: 1.3.7
165
156
  signing_key:
166
157
  specification_version: 3
167
158
  summary: Run JavaScript code from Ruby