libv8 3.16.14.7-amd64-freebsd-10 → 3.16.14.15-amd64-freebsd-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/ext/libv8/location.rb +9 -9
- data/ext/libv8/paths.rb +7 -4
- data/lib/libv8/version.rb +1 -1
- data/vendor/v8/out/x64.release/obj.target/tools/gyp/libpreparser_lib.a +0 -0
- data/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a +0 -0
- data/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_nosnapshot.a +0 -0
- data/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_snapshot.a +0 -0
- metadata +22 -54
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d7ea96eeddd59733a0d272d173fa60b444e1f3ad
|
4
|
+
data.tar.gz: 33fcc9081f154b516f32a8418b8dc470152332c8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 957d97af2f95f9f2bb422b8f03dd4cc7b24d2d62f17d7245cece53fc86ea7b07fc19e72e5066ccb978a1263cfe9d2f2ff1b5dbf364f787de1afc753a09ce74cd
|
7
|
+
data.tar.gz: 4e71c52c97a37a2aa34d59c86009f0486f021bac21a54f9b72b7a66691c2f6fe8cb18621d00726661cc2e20b85846b2b9942c247192f4e00a49a508509e70155
|
data/ext/libv8/location.rb
CHANGED
@@ -33,7 +33,7 @@ module Libv8
|
|
33
33
|
|
34
34
|
def verify_installation!
|
35
35
|
Libv8::Paths.object_paths.each do |p|
|
36
|
-
fail ArchiveNotFound, p unless File.
|
36
|
+
fail ArchiveNotFound, p unless File.exist? p
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
@@ -48,21 +48,21 @@ module Libv8
|
|
48
48
|
def configure(context = MkmfContext.new)
|
49
49
|
context.send(:dir_config, 'v8')
|
50
50
|
context.send(:find_header, 'v8.h') or fail NotFoundError
|
51
|
+
context.send(:have_library, 'v8') or fail NotFoundError
|
51
52
|
end
|
52
53
|
|
53
54
|
class NotFoundError < StandardError
|
54
55
|
def initialize(*args)
|
55
56
|
super(<<-EOS)
|
56
|
-
|
57
|
-
and *not* the one that is
|
58
|
-
|
59
|
-
v8 that is compatible with #{Libv8::VERSION} installed. You may
|
60
|
-
need to special --with-v8-dir options if it is in a non-standard
|
61
|
-
location
|
57
|
+
By using --with-system-v8, you have chosen to use the version
|
58
|
+
of V8 found on your system and *not* the one that is bundled with
|
59
|
+
the libv8 rubygem.
|
62
60
|
|
63
|
-
|
64
|
-
The Mgmt
|
61
|
+
However, your system version of v8 could not be located.
|
65
62
|
|
63
|
+
Please make sure your system version of v8 that is compatible
|
64
|
+
with #{Libv8::VERSION} installed. You may need to use the
|
65
|
+
--with-v8-dir option if it is installed in a non-standard location
|
66
66
|
EOS
|
67
67
|
end
|
68
68
|
end
|
data/ext/libv8/paths.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'rbconfig'
|
2
|
+
require 'shellwords'
|
2
3
|
require File.expand_path '../arch', __FILE__
|
3
4
|
|
4
5
|
module Libv8
|
@@ -6,11 +7,13 @@ module Libv8
|
|
6
7
|
module_function
|
7
8
|
|
8
9
|
def include_paths
|
9
|
-
["#{vendored_source_path}/include"]
|
10
|
+
[Shellwords.escape("#{vendored_source_path}/include")]
|
10
11
|
end
|
11
12
|
|
12
13
|
def object_paths
|
13
|
-
[libv8_object(:base), libv8_object(:snapshot)]
|
14
|
+
[libv8_object(:base), libv8_object(:snapshot)].map do |path|
|
15
|
+
Shellwords.escape path
|
16
|
+
end
|
14
17
|
end
|
15
18
|
|
16
19
|
def config
|
@@ -19,7 +22,7 @@ module Libv8
|
|
19
22
|
|
20
23
|
def libv8_object(name)
|
21
24
|
filename = "#{libv8_profile}/libv8_#{name}.#{config['LIBEXT']}"
|
22
|
-
unless File.
|
25
|
+
unless File.exist? filename
|
23
26
|
filename = "#{libv8_profile}/obj.target/tools/gyp/libv8_#{name}.#{config['LIBEXT']}"
|
24
27
|
end
|
25
28
|
return filename
|
@@ -28,7 +31,7 @@ module Libv8
|
|
28
31
|
def libv8_profile
|
29
32
|
base = "#{vendored_source_path}/out/#{Libv8::Arch.libv8_arch}"
|
30
33
|
debug = "#{base}.debug"
|
31
|
-
File.
|
34
|
+
File.exist?(debug) ? debug : "#{base}.release"
|
32
35
|
end
|
33
36
|
|
34
37
|
def vendored_source_path
|
data/lib/libv8/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,96 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libv8
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.16.14.
|
5
|
-
prerelease:
|
4
|
+
version: 3.16.14.15
|
6
5
|
platform: amd64-freebsd-10
|
7
6
|
authors:
|
8
7
|
- Charles Lowell
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - "
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '10'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - "
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
26
|
+
version: '10'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake-compiler
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - "
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - "
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - "
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
47
|
+
version: '2'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - "
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
54
|
+
version: '2'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rspec-spies
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- - "
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
61
|
+
version: '2'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: vulcan
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
65
|
requirements:
|
83
|
-
- - "
|
66
|
+
- - "~>"
|
84
67
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ">="
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
68
|
+
version: '2'
|
94
69
|
description: Distributes the V8 JavaScript engine in binary and source forms in order
|
95
70
|
to support fast builds of The Ruby Racer
|
96
71
|
email:
|
@@ -99,12 +74,12 @@ executables: []
|
|
99
74
|
extensions: []
|
100
75
|
extra_rdoc_files: []
|
101
76
|
files:
|
102
|
-
-
|
103
|
-
- lib/libv8/version.rb
|
77
|
+
- ext/libv8/.location.yml
|
104
78
|
- ext/libv8/arch.rb
|
105
79
|
- ext/libv8/location.rb
|
106
80
|
- ext/libv8/paths.rb
|
107
|
-
-
|
81
|
+
- lib/libv8.rb
|
82
|
+
- lib/libv8/version.rb
|
108
83
|
- vendor/v8/include/v8-debug.h
|
109
84
|
- vendor/v8/include/v8-preparser.h
|
110
85
|
- vendor/v8/include/v8-profiler.h
|
@@ -118,33 +93,26 @@ files:
|
|
118
93
|
homepage: http://github.com/cowboyd/libv8
|
119
94
|
licenses:
|
120
95
|
- MIT
|
96
|
+
metadata: {}
|
121
97
|
post_install_message:
|
122
98
|
rdoc_options: []
|
123
99
|
require_paths:
|
124
100
|
- lib
|
125
101
|
- ext
|
126
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
-
none: false
|
128
103
|
requirements:
|
129
104
|
- - ">="
|
130
105
|
- !ruby/object:Gem::Version
|
131
106
|
version: '0'
|
132
|
-
segments:
|
133
|
-
- 0
|
134
|
-
hash: -3600092702856055148
|
135
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
108
|
requirements:
|
138
109
|
- - ">="
|
139
110
|
- !ruby/object:Gem::Version
|
140
111
|
version: '0'
|
141
|
-
segments:
|
142
|
-
- 0
|
143
|
-
hash: -3600092702856055148
|
144
112
|
requirements: []
|
145
113
|
rubyforge_project: libv8
|
146
|
-
rubygems_version:
|
114
|
+
rubygems_version: 2.5.1
|
147
115
|
signing_key:
|
148
|
-
specification_version:
|
116
|
+
specification_version: 4
|
149
117
|
summary: Distribution of the V8 JavaScript engine
|
150
118
|
test_files: []
|