libv8 3.11.8.9 → 3.11.8.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/ext/libv8/location.rb +2 -2
- data/lib/libv8/version.rb +1 -1
- metadata +4 -4
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ end
|
|
9
9
|
require 'rspec/core/rake_task'
|
10
10
|
RSpec::Core::RakeTask.new(:spec)
|
11
11
|
|
12
|
-
V8_Version = Libv8::VERSION.gsub(/\.\d
|
12
|
+
V8_Version = Libv8::VERSION.gsub(/\.\d+$/,'')
|
13
13
|
V8_Source = File.expand_path '../vendor/v8', __FILE__
|
14
14
|
|
15
15
|
require File.expand_path '../ext/libv8/make.rb', __FILE__
|
@@ -78,7 +78,7 @@ desc "clean up artifacts of the build"
|
|
78
78
|
task :clean do
|
79
79
|
sh "rm -rf pkg"
|
80
80
|
sh "git clean -df"
|
81
|
-
sh "cd #{V8_Source} && git
|
81
|
+
sh "cd #{V8_Source} && git checkout -f && git clean -dxf"
|
82
82
|
end
|
83
83
|
|
84
84
|
task :default => [:checkout, :compile, :spec]
|
data/ext/libv8/location.rb
CHANGED
@@ -46,8 +46,8 @@ module Libv8
|
|
46
46
|
|
47
47
|
class System < Location
|
48
48
|
def configure(context = MkmfContext.new)
|
49
|
-
context.dir_config
|
50
|
-
context.find_header
|
49
|
+
context.send(:dir_config, 'v8')
|
50
|
+
context.send(:find_header, 'v8.h') or fail NotFoundError
|
51
51
|
end
|
52
52
|
|
53
53
|
class NotFoundError < StandardError
|
data/lib/libv8/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libv8
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.11.8.
|
4
|
+
version: 3.11.8.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -2534,7 +2534,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2534
2534
|
version: '0'
|
2535
2535
|
segments:
|
2536
2536
|
- 0
|
2537
|
-
hash:
|
2537
|
+
hash: 1625654292506665800
|
2538
2538
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2539
2539
|
none: false
|
2540
2540
|
requirements:
|
@@ -2543,7 +2543,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2543
2543
|
version: '0'
|
2544
2544
|
segments:
|
2545
2545
|
- 0
|
2546
|
-
hash:
|
2546
|
+
hash: 1625654292506665800
|
2547
2547
|
requirements: []
|
2548
2548
|
rubyforge_project: libv8
|
2549
2549
|
rubygems_version: 1.8.24
|