libv8 3.16.14.7-arm-linux → 3.16.14.19.1-arm-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- Y2Y5ZGVkZDM0MmFmMjZmNWVhNDQzMGQxMDZmNzI4OWZmYWJlOWY4YQ==
5
- data.tar.gz: !binary |-
6
- Y2RiN2YyZDQ3ZDhjMzMxNTc0MzIyNDIwMjI1YzczOTA2NWYxN2E3OQ==
2
+ SHA256:
3
+ metadata.gz: 44eea195b194eac7c3ecc442703c2922ddd74bbccfd1d7357dfd704fbb262cb3
4
+ data.tar.gz: 23abfe5d7486bbc21e4a67fd31f3c42436258e7b0b7f796d5f7225f8082342bd
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZWUzOWI2YjIxYTJmOGU2NjRjODZmMmE2N2M5ZGM2NjY3ZTE4MWFkYzMyZjQx
10
- ZDAyYzUwZDQyMzZkZWY3NTJmOWYwOTViMzRlMGIwNzY5YTk2OTRhNmQ2YWYz
11
- MTllYzZhM2RkMjIyMmQ1ZDQ0YzdhYTEyMjg1M2FhZWI4YTI3ZjU=
12
- data.tar.gz: !binary |-
13
- ODk2OGY5YjBlZWFlMTI4YjY0NWVlMThlYWUwY2FmM2FmNThjMjE4MTQyMTVi
14
- YzU1OGJkOTIyNDFiMzk2ZWZmMzljNzJjZDcxOGFlYTFjNGEzNjE1YTU1NzBh
15
- NmJkMTBmYTcyMmRlNGU1MmUzNmE0NDZkMmU5Yzc5MWE2MWM3ZDY=
6
+ metadata.gz: 4d8c5831571947d2f68c76ac816e29fc62e8323927d76cc036942c8bacb4e1cfca4900c4b8d5e31be8baa331c41eced7c37d4851f5c4c4f750d47a1db3e608ed
7
+ data.tar.gz: 4d1a43f9d16cb05e6f282b568d4bd6eff9acde20ef42ed9fd692bbd4b482e5c6cd184556583b8c0a63967744211c1bb316757540747dae9b8dba6b841f87398c
@@ -13,7 +13,7 @@ module Libv8
13
13
 
14
14
  def self.load!
15
15
  File.open(Pathname(__FILE__).dirname.join('.location.yml')) do |f|
16
- YAML.load f
16
+ YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(f) : YAML.load(f) # rubocop:disable Security/YAMLLoad
17
17
  end
18
18
  end
19
19
 
@@ -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
- You have chosen to use the version of V8 found on your system
57
- and *not* the one that is bundle with the libv8 rubygem. However,
58
- it could not be located. please make sure you have a version of
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
- thanks,
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
data/lib/libv8/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Libv8
2
- VERSION = "3.16.14.7"
2
+ VERSION = "3.16.14.19.1"
3
3
  end
metadata CHANGED
@@ -1,85 +1,80 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libv8
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.16.14.7
4
+ version: 3.16.14.19.1
5
+ prerelease:
5
6
  platform: arm-linux
6
7
  authors:
7
8
  - Charles Lowell
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-11-19 00:00:00.000000000 Z
12
+ date: 2017-03-08 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rake
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ! '>='
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
- version: '0'
21
+ version: '10'
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ! '>='
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
- version: '0'
29
+ version: '10'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake-compiler
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - ! '>='
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - ! '>='
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rspec
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ! '>='
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
- version: '0'
53
+ version: '2'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ! '>='
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
- version: '0'
61
+ version: '2'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rspec-spies
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - ! '>='
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
- version: '0'
69
+ version: '2'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - ! '>='
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: vulcan
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ! '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ! '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
77
+ version: '2'
83
78
  description: Distributes the V8 JavaScript engine in binary and source forms in order
84
79
  to support fast builds of The Ruby Racer
85
80
  email:
@@ -88,45 +83,52 @@ executables: []
88
83
  extensions: []
89
84
  extra_rdoc_files: []
90
85
  files:
91
- - ext/libv8/.location.yml
86
+ - lib/libv8.rb
87
+ - lib/libv8/version.rb
92
88
  - ext/libv8/arch.rb
93
89
  - ext/libv8/location.rb
94
90
  - ext/libv8/paths.rb
95
- - lib/libv8.rb
96
- - lib/libv8/version.rb
97
- - vendor/v8/include/v8-debug.h
98
- - vendor/v8/include/v8-preparser.h
99
- - vendor/v8/include/v8-profiler.h
91
+ - ext/libv8/.location.yml
100
92
  - vendor/v8/include/v8-testing.h
93
+ - vendor/v8/include/v8-preparser.h
101
94
  - vendor/v8/include/v8.h
95
+ - vendor/v8/include/v8-debug.h
96
+ - vendor/v8/include/v8-profiler.h
102
97
  - vendor/v8/include/v8stdint.h
103
98
  - vendor/v8/out/arm.release/obj.target/tools/gyp/libpreparser_lib.a
104
- - vendor/v8/out/arm.release/obj.target/tools/gyp/libv8_base.a
105
- - vendor/v8/out/arm.release/obj.target/tools/gyp/libv8_nosnapshot.a
106
99
  - vendor/v8/out/arm.release/obj.target/tools/gyp/libv8_snapshot.a
100
+ - vendor/v8/out/arm.release/obj.target/tools/gyp/libv8_nosnapshot.a
101
+ - vendor/v8/out/arm.release/obj.target/tools/gyp/libv8_base.a
107
102
  homepage: http://github.com/cowboyd/libv8
108
103
  licenses:
109
104
  - MIT
110
- metadata: {}
111
105
  post_install_message:
112
106
  rdoc_options: []
113
107
  require_paths:
114
108
  - lib
115
109
  - ext
116
110
  required_ruby_version: !ruby/object:Gem::Requirement
111
+ none: false
117
112
  requirements:
118
113
  - - ! '>='
119
114
  - !ruby/object:Gem::Version
120
115
  version: '0'
116
+ segments:
117
+ - 0
118
+ hash: 768511887
121
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
+ none: false
122
121
  requirements:
123
122
  - - ! '>='
124
123
  - !ruby/object:Gem::Version
125
124
  version: '0'
125
+ segments:
126
+ - 0
127
+ hash: 768511887
126
128
  requirements: []
127
129
  rubyforge_project: libv8
128
- rubygems_version: 2.4.4
130
+ rubygems_version: 1.8.23
129
131
  signing_key:
130
- specification_version: 4
132
+ specification_version: 3
131
133
  summary: Distribution of the V8 JavaScript engine
132
134
  test_files: []