libv8 3.16.14.8.rc1-armv7l-linux → 3.16.14.19.1-armv7l-linux

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 02d9e44e44765ac5ec58a1a8baf5a48145b18e97
4
- data.tar.gz: 37c235532aa3569afe10877c955911c031ad636a
2
+ SHA256:
3
+ metadata.gz: 7e0251fdff0ec2cd25daa294eb0e63c7b5e9e7a6f4ea837848822578b80e7bf7
4
+ data.tar.gz: daa72ef4060bea8555294470284dec2ef2f6ff5669348b05535d0a8c7fdd4c57
5
5
  SHA512:
6
- metadata.gz: db8834dcec7526c9cbb3cc4ed48a1f09f1151c59de434342939892e8498ff05bd512a13ca7041fb8086e8ab059cecb4a57cb3fd2fc2111f018e956c73808698d
7
- data.tar.gz: 1f2e69a289526092f36f2fa4cd12d4bdc007d505222c047bb43b7d10fa365ab0bdfab6ab4628ffcd56c4349ea3b91072ac74a76842be4c196aa5201c299ff5fd
6
+ metadata.gz: 1c7af35391f167908786546f40ab2003d1bb8294a7b830d195bc0ca3b549ee20d40f634411b10f6f116fe2ee58420864dc94bf72aee067546e040be17d8e2632
7
+ data.tar.gz: a8867e321fe6b0c4f414cc6ecf8264ff7fe418ba10048c3cefec8c28887648767ff78c8b732b772092df39eadd676d9f01c5171bc391c4f92476178d3f20ee30
@@ -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.8.rc1"
2
+ VERSION = "3.16.14.19.1"
3
3
  end
metadata CHANGED
@@ -1,71 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libv8
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.16.14.8.rc1
4
+ version: 3.16.14.19.1
5
5
  platform: armv7l-linux
6
6
  authors:
7
7
  - Charles Lowell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-27 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '10'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake-compiler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '2'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-spies
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '2'
69
69
  description: Distributes the V8 JavaScript engine in binary and source forms in order
70
70
  to support fast builds of The Ruby Racer
71
71
  email:
@@ -101,17 +101,17 @@ require_paths:
101
101
  - ext
102
102
  required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - '>='
104
+ - - ">="
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>'
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
- version: 1.3.1
111
+ version: '0'
112
112
  requirements: []
113
113
  rubyforge_project: libv8
114
- rubygems_version: 2.2.2
114
+ rubygems_version: 2.6.8
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Distribution of the V8 JavaScript engine