Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 2da1921

Browse files
committed
White space fixes
1 parent cbaa8ca commit 2da1921

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

ext/libv8/location.rb

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ def install!
2626
verify_installation!
2727
return exit_status
2828
end
29+
2930
def configure(context = MkmfContext.new)
30-
context.incflags.insert 0, Libv8::Paths.include_paths.map{|p| "-I#{p}"}.join(" ") + " "
31+
context.incflags.insert 0, Libv8::Paths.include_paths.map{ |p| "-I#{p}" }.join(" ") + " "
3132
context.ldflags.insert 0, Libv8::Paths.object_paths.join(" ") + " "
3233
end
3334

@@ -40,7 +41,9 @@ def verify_installation!
4041
fail ArchiveNotFound, p unless File.exist? p
4142
end
4243
end
44+
4345
class HeaderNotFound < StandardError; end
46+
4447
class ArchiveNotFound < StandardError
4548
def initialize(filename)
4649
super "libv8 did not install properly, expected binary v8 archive '#{filename}'to exist, but it was not found"
@@ -59,14 +62,14 @@ def configure(context = MkmfContext.new)
5962
class NotFoundError < StandardError
6063
def initialize(*args)
6164
super(<<-EOS)
62-
By using --with-system-v8, you have chosen to use the version
63-
of V8 found on your system and *not* the one that is bundled with
64-
the libv8 rubygem.
65+
By using --with-system-v8, you have chosen to use the version
66+
of V8 found on your system and *not* the one that is bundled with
67+
the libv8 rubygem.
6568
66-
However, your system version of v8 could not be located.
69+
However, your system version of v8 could not be located.
6770
68-
Please make sure your system version of v8 that is compatible
69-
with #{Libv8::VERSION} installed. You may need to use the
71+
Please make sure your system version of v8 that is compatible
72+
with #{Libv8::VERSION} installed. You may need to use the
7073
--with-v8-dir option if it is installed in a non-standard location
7174
EOS
7275
end

0 commit comments

Comments
 (0)