nokogiri 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- data/History.txt +7 -0
- data/ext/nokogiri/extconf.rb +8 -4
- data/lib/nokogiri/version.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/ext/nokogiri/extconf.rb
CHANGED
@@ -3,6 +3,8 @@ ENV["ARCHFLAGS"] = "-arch #{`uname -p` =~ /powerpc/ ? 'ppc' : 'i386'}"
|
|
3
3
|
require 'mkmf'
|
4
4
|
|
5
5
|
ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
|
6
|
+
LIBDIR = Config::CONFIG['libdir']
|
7
|
+
INCLUDEDIR = Config::CONFIG['includedir']
|
6
8
|
|
7
9
|
$CFLAGS << " #{ENV["CFLAGS"]}"
|
8
10
|
if Config::CONFIG['target_os'] == 'mingw32'
|
@@ -19,8 +21,8 @@ if Config::CONFIG['target_os'] == 'mingw32'
|
|
19
21
|
find_library('xslt', 'xsltParseStylesheetDoc',
|
20
22
|
File.join(ROOT, 'cross', 'libxslt-1.1.24.win32', 'bin'))
|
21
23
|
else
|
22
|
-
find_library('xml2', 'xmlParseDoc')
|
23
|
-
find_library('xslt', 'xsltParseStylesheetDoc')
|
24
|
+
find_library('xml2', 'xmlParseDoc', LIBDIR)
|
25
|
+
find_library('xslt', 'xsltParseStylesheetDoc', LIBDIR)
|
24
26
|
end
|
25
27
|
|
26
28
|
|
@@ -40,10 +42,12 @@ if Config::CONFIG['target_os'] == 'mingw32'
|
|
40
42
|
abort "need iconv"
|
41
43
|
end
|
42
44
|
else
|
43
|
-
unless find_header('libxml/xmlversion.h',
|
45
|
+
unless find_header('libxml/xmlversion.h',
|
46
|
+
File.join(INCLUDEDIR, "libxml2"), '/usr/include/libxml2'
|
47
|
+
)
|
44
48
|
abort "need libxml"
|
45
49
|
end
|
46
|
-
unless find_header('libxslt/xslt.h', '/usr/include')
|
50
|
+
unless find_header('libxslt/xslt.h', INCLUDEDIR, '/usr/include')
|
47
51
|
abort "need libxslt"
|
48
52
|
end
|
49
53
|
end
|
data/lib/nokogiri/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Patterson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-10-
|
12
|
+
date: 2008-10-31 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|